Paired Completion: Flexible Quantification of Issue-framing at Scale with LLMs
<|reference_start|>Paired Completion: Flexible Quantification of Issue-framing at Scale with LLMs: Detecting and quantifying issue framing in textual discourse - the perspective one takes to a given topic (e.g. climate science vs. denialism, misogyny vs. gender equality) - is highly valuable to a range of end-users from social and political scientists to program evaluators and policy analysts. However, conceptual framing is notoriously challenging for automated natural language processing (NLP) methods since the words and phrases used by either `side' of an issue are often held in common, with only subtle stylistic flourishes separating their use. Here we develop and rigorously evaluate new detection methods for issue framing and narrative analysis within large text datasets. By introducing a novel application of next-token log probabilities derived from generative large language models (LLMs) we show that issue framing can be reliably and efficiently detected in large corpora with only a few examples of either perspective on a given issue, a method we call `paired completion'. Through 192 independent experiments over three novel, synthetic datasets, we evaluate paired completion against prompt-based LLM methods and labelled methods using traditional NLP and recent LLM contextual embeddings. We additionally conduct a cost-based analysis to mark out the feasible set of performant methods at production-level scales, and a model bias analysis. Together, our work demonstrates a feasible path to scalable, accurate and low-bias issue-framing in large corpora.<|reference_end|>
@article{angus2024paired,
    title={Paired Completion: Flexible Quantification of Issue-framing at Scale
  with LLMs},
    author={Simon D Angus and Lachlan O'Neill},
    journal={arXiv preprint arXiv:2408.09742},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.09742},
    primaryClass={cs.CL cs.AI econ.GN q-fin.EC}
}