EUVIMEDEUVIMED entdecken
Crossref

From Codebooks to Promptbooks: Extracting Information from Text with Generative Large Language Models

Oscar Stuhler, Cat Dang Ton, Etienne Ollion

Sociological Methods & Research · 2025-08 · 54 (3) · 794-848

DOI: 10.1177/00491241251336794 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Sociological Methods & Research, online erschienen am 07.05.2025. Verfasst von Oscar Stuhler und 2 weiteren Autor:innen. Die Arbeit wurde bisher 18-mal zitiert (Crossref) und nennt 97 Literaturangaben. Gefördert von: Svenska Vetenskapsrådet, Agence Nationale de la Recherche Labex.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Generative AI (GenAI) is quickly becoming a valuable tool for sociological research. Already, sociologists employ GenAI for tasks like classifying text and simulating human agents. We point to another major use case: the extraction of structured information from unstructured text. Information Extraction (IE) is an established branch of Natural Language Processing, but leveraging the affordances of this paradigm has thus far required familiarity with specialized models. GenAI changes this by allowing researchers to define their own IE tasks and execute them via targeted prompts. This article explores the potential of open-source large language models for IE by extracting and encoding biographical information (e.g., age, occupation, origin) from a corpus of newspaper obituaries. As we proceed, we discuss how sociologists can develop and evaluate prompt architectures for such tasks, turning codebooks into “promptbooks.” We also evaluate models of different sizes and prompting techniques. Our analysis showcases the potential of GenAI as a flexible and accessible tool for IE while also underscoring risks like non-random error patterns that can bias downstream analyses.

Förderung

  • Svenska Vetenskapsrådet
  • Agence Nationale de la Recherche Labex

Zitieren

APA

Stuhler, O., Ton, C. D., & Ollion, E. (2025). From Codebooks to Promptbooks: Extracting Information from Text with Generative Large Language Models. Sociological Methods & Research, 54(3), 794-848. https://doi.org/10.1177/00491241251336794

Vancouver

Stuhler O, Ton CD, Ollion E. From Codebooks to Promptbooks: Extracting Information from Text with Generative Large Language Models. Sociological Methods & Research. 2025;54(3):794-848. doi:10.1177/00491241251336794

BibTeX
@article{Stuhler2025,
  author = {Stuhler, Oscar and Ton, Cat Dang and Ollion, Etienne},
  title = {From Codebooks to Promptbooks: Extracting Information from Text with Generative Large Language Models},
  journal = {Sociological Methods & Research},
  year = {2025},
  volume = {54},
  number = {3},
  pages = {794--848},
  doi = {10.1177/00491241251336794}
}
Kostenlos starten →