aiqbench analysis
This research presents HALC, a systematic pipeline designed to standardize prompt engineering for LLM-based content analysis in computational social sciences. By evaluating over three million requests across diverse datasets and models, the study offers a transparent method to improve reliability and reduce trial-and-error practices in automated coding tasks. The work addresses critical reproducibility challenges by providing a generalizable framework for constructing robust prompts specific to various AI models and task settings.
Introducing HALC: A general pipeline for the systematic and reliable construction of prompts for automated coding with LLMs in the computational social sciences
From arXiv
Full textLLMs are seeing widespread use for task automation, including automated coding in the social sciences. However, even though researchers have proposed different prompting strategies, their effectiveness varies across LLMs and tasks. Often trial and error practices are still widespread. Our study aims to fill this gap and evaluate how LLMs can be used in a systematic and transparent way to produce reliable codings in content analyses. We propose HALC-a general pipeline that allows for the systematic and reliable construction of prompts for any given coding task and model.
We develop this pipeline based on current literature and findings of a prestudy investigating consistency and influencing factors of LLM codings. We also apply HALC on two other datasets covering different thematic contexts, document types, languages, and coding units to test its applicability. Based on more than three million LLM requests, our results demonstrate that the pipeline is capable of identifying prompts for reliable codings in different settings. We also discuss shortcomings and further potential for development.
Full text under the publisher's open licence · 165 words