Expanding automated LLM coding of question type: Tags and ‘do you know’ questions
Abstract Purpose Large language models (LLMs) are increasingly used in place of manual coding to classify questions in forensic interviews for the purposes of training and evaluation. However, models that have achieved high reliability with manual coders can generally only distinguish among broad question categories. We examined whether an automated question type coding model can reliably distinguish not only among four core prompt types (invitations, wh questions, option‐posing questions, non‐questions) but also two previously unexplored question categories associated with problematic response tendencies: tag questions and ‘do you know’ questions. Methods An LLM (RoBERTa) was trained on questions ( N = 351,920) from forensic interviews ( n = 1435) and trial testimony ( n = 416) involving 3‐ to 17‐year‐old alleged victims of child sexual abuse. Results The machine achieved high reliability with the manual codes (95% agreement; K = .94). Sensitivities for the two novel question categories (tags and ‘do you know’ questions) were 96% and 94%, respectively. Specificities approached 100% for both question types. Conclusions Automated question type coding is a highly accurate alternative to manual coding that can reliably discern among question types, even among less common question types such as tag questions and ‘do you know’ questions.
Authors
- Zsófia A. Szojka (ORCID: https://orcid.org/0000-0002-4126-1261)
- Thomas Daniel Lyon (ORCID: https://orcid.org/0000-0001-8179-759X)
- Suvimal Yashraj
Institutions
- University of Southern California (US)
- University of Greenwich (GB)
Publication Details
- Journal
- Legal and Criminological Psychology
- Published
- 2026-10-14
- DOI
- https://doi.org/10.1111/lcrp.70063
- Primary Topic
- Deception detection and forensic psychology
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Institute of Child Health and Human Development
- Eunice Kennedy Shriver National Institute of Child Health and Human Development