English

An AI-Powered Research Assistant in the Lab: A Practical Guide for Text Analysis Through Iterative Collaboration with LLMs

Computation and Language 2025-05-19 v2 Artificial Intelligence Human-Computer Interaction

Abstract

Analyzing texts such as open-ended responses, headlines, or social media posts is a time- and labor-intensive process highly susceptible to bias. LLMs are promising tools for text analysis, using either a predefined (top-down) or a data-driven (bottom-up) taxonomy, without sacrificing quality. Here we present a step-by-step tutorial to efficiently develop, test, and apply taxonomies for analyzing unstructured data through an iterative and collaborative process between researchers and LLMs. Using personal goals provided by participants as an example, we demonstrate how to write prompts to review datasets and generate a taxonomy of life domains, evaluate and refine the taxonomy through prompt and direct modifications, test the taxonomy and assess intercoder agreements, and apply the taxonomy to categorize an entire dataset with high intercoder reliability. We discuss the possibilities and limitations of using LLMs for text analysis.

Keywords

Cite

@article{arxiv.2505.09724,
  title  = {An AI-Powered Research Assistant in the Lab: A Practical Guide for Text Analysis Through Iterative Collaboration with LLMs},
  author = {Gino Carmona-Díaz and William Jiménez-Leal and María Alejandra Grisales and Chandra Sripada and Santiago Amaya and Michael Inzlicht and Juan Pablo Bermúdez},
  journal= {arXiv preprint arXiv:2505.09724},
  year   = {2025}
}

Comments

31 pages, 1 figure

R2 v1 2026-06-28T23:33:36.278Z