Knowing Your Uncertainty -- On the application of LLM in social sciences
cs.CY, cs.AI, cs.HC
Submitted: 2025-12-05
Updated: 2026-09-06
Comments: 56 pages, 13 figures
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Large language models (LLMs) are rapidly being integrated into computational social science research, yet their blackboxed training and designed stochastic elements in inference pose unique
Terminology
Abstract
Large language models (LLMs) are rapidly being integrated into computational social science research, yet their blackboxed training and designed stochastic elements in inference pose unique challenges for scientific inquiry. This article argues that applying LLMs to social scientific tasks requires explicit assessment of uncertainty -- an expectation long established in both quantitative methodology in the social sciences and machine learning. We introduce a unified framework for evaluating LLM uncertainty based on Hill numbers, a family of diversity measures. By transforming existing uncertainty quantification (UQ) metrics into Hill numbers, the framework provides a common and intuitive scale for interpreting variation in LLM outputs while accommodating different notions of semantic similarity and different sensitivities to output distributions. We show how it might help the application of LLMs in social sciences through four empirical applications.
Sources
- GPT-4 Technical Report
- Qwen Technical Report
- Analyzing Transformers in Embedding Space
- Controlling Linguistic Style Aspects in Neural Language Generation
- The Curious Case of Neural Text Degeneration
- DeepSeek-V3 Technical Report
- SemEval-2017 Task 4: Sentiment Analysis in Twitter
- Gemini: A Family of Highly Capable Multimodal Models
- Gemma: Open Models Based on Gemini Research and Technology
- Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small
Related papers
- Reasoning Enhances Robustness to Prompt Injection in LLM-Based Consensus
- Generative AI Purpose-built for Social and Mental Health: A Real-World Pilot
- PersonaMem-v3: Toward Omni-Platform Personal Intelligence for Holistic User Understanding, Recommendation, and Agentic Tasks
- What is an intelligent system?
- AI University: An LLM-Powered Learning Assistant for Engineering---A Finite Element Method Case Study
- Generative AI Use in Entrepreneurship: An Integrative Review and an Empowerment-Entrapment Framework