The increasing use of text as data in social science research necessitates the development of valid, consistent, reproducible, and efficient methods for generating text-based concept measures. This paper presents a novel method that leverages the internal hidden states of large language models (LLMs) to generate these concept measures. Specifically, the proposed method learns a concept vector that captures how the LLM internally represents the target concept, then estimates the concept value for text data by projecting the text's LLM hidden states onto the concept vector. Three replication studies demonstrate the method's effectiveness in producing highly valid, consistent, and reproducible text-based measures across various social science research contexts, highlighting its potential as a valuable tool for the research community.
Selecting Language Models for Social Science: Start Small, Start Open, and Validate
Department of Sociology and Anthropology, Lehigh University(社会学与人类学系,莱恩大学);Department of Sociology, New Mexico State University(社会学系,新墨西哥州立大学);Department of Computer Science, New Mexico State University(计算机科学系,新墨西哥州立大学)
The Illinois Social Attitudes Aggregate Corpus (ISAAC): An Open Tool and Reproducible Pipeline for Analyzing Social Group Discourse at Scale
AI Innovation Institute, Stony Brook University(石溪大学人工智能创新研究院);University of Chicago(芝加哥大学);University of Illinois Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校);Social & Behavioral Science Institute, University of Illinois Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校社会与行为科学研究院)
A Reproducible Framework for Neural Topic Modeling in Focus Group Analysis
National Engineering School of Tunis, University of Tunis El Manar(突尼斯国家工程学院,突尼斯El Manar大学);Pasteur Institute of Tunis, University of Tunis El Manar(突尼斯巴斯德研究所,突尼斯El Manar大学);Mediterranean Institute of Technology, South Mediterranean University(地中海技术研究所,南地中海大学)
LLaSO: A Foundational Framework for Reproducible Research in Large Language and Speech Model
Ningbo Key Laboratory of Spatial Intelligence and Digital Derivative, Institute of Digital Twin, EIT(宁波空间智能与数字衍生关键实验室,数字孪生研究院,EIT);Logic Intelligence Technology(逻辑智能技术);BUPT(北京邮电大学);Xiamen University(厦门大学)