mlsanityData to 14 Oct 2026

LLMs for Qualitative Data Analysis Fail on Security-specificComments in Human Experiments

arXiv 2604.10834 ↗First posted 12 Apr 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

[Background:] Thematic analysis of free-text justifications in human experiments provides significant qualitative insights. Yet, it is costly because reliable annotations require multiple domain experts. Large language models (LLMs) seem ideal candidates to replace human annotators. [Problem:] Coding security-specific aspects (code identifiers mentioned, lines-of-code mentioned, security keywords mentioned) may require deeper contextual understanding than sentiment classification. [Objective:] Explore whether LLMs can act as automated annotators for technical security comments by human subjects. [Method:] We prompt four top-performing LLMs on LiveBench to detect nine security-relevant codes in free-text comments by human subjects analyzing vulnerable code snippets. Outputs are compared to human annotators using Cohen's Kappa (chance-corrected accuracy). We test different prompts mimicking annotation best practices, including emerging codes, detailed codebooks with examples, and conflicting examples. [Negative Results:] We observed marked improvements only when using detailed code descriptions; however, these improvements are not uniform across codes and are insufficient to reliably replace a human annotator. [Limitations:] Additional studies with more LLMs and annotation tasks are needed.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 63 references that are in the map. First posted on arXiv 12 Apr 2026.

Builds on

12 of 63 references.

References · 12

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2013Visualizing and Understanding Convolutional Networkscited by 2,290
  4. 2023Supporting Qualitative Analysis with Large Language Models: Combining Codebook with GPT-3 for Deductive Codingcited by 82
  5. 2023LLM-in-the-loop: Leveraging Large Language Model for Thematic Analysiscited by 70
  6. 2024Scalable Qualitative Coding with LLMs: Chain-of-Thought Reasoning Matches Human Performance in Some Hermeneutic Taskscited by 22
  7. 2024Large Language Models in Qualitative Research: Uses, Tensions, and Intentionscited by 21
  8. 2018Predicting Usefulness of Code Review Comments using Textual Features and Developer Experiencecited by 13
  9. 2017Sentiment Polarity Detection for Software Developmentcited by 12
  10. 2017EmoTxt: A Toolkit for Emotion Recognition from Textcited by 9
  11. 2024It's Difficult to be Neutral -- Human and LLM-based Sentiment Annotation of Patient Commentscited by 4
  12. 2022On the acceptance by code reviewers of candidate security patches suggested by Automated Program Repair toolscited by 2

Built on by

Not cited yet.