Who Writes the Codebook? An Eight-Step Framework for Auditing LLM-Generated Category Systems

Thilo Tamme, Anton Hantel, Jakob ScheppersarXiv 2026

TL;DR

As researchers increasingly use Large Language Models (LLMs) to categorize qualitative data, a critical question arises: how much of the resulting "theory" comes from the data, and how much is just a byproduct of the specific model chosen? This paper introduces the Qualitative Variance Audit Framework (QVAF), an eight-step method to diagnose model dependency by comparing how different LLMs create and apply category systems (codebooks) to the same text.

What Problem Does This Paper Address?

In qualitative research, "coding" is the process of labeling segments of text to identify themes. Traditionally, humans developed these "codebooks." Today, LLMs are performing inductive coding, where the model both creates the categories and assigns the data to them.

The challenge is "model dependency." If you use GPT-4 to analyze employee interviews, you might get a different set of themes than if you used Claude or Gemini. Existing benchmarks usually test how well models apply fixed categories, but they ignore the variance introduced when models invent the categories themselves. The authors argue that without a systematic audit, researchers risk treating a model’s idiosyncratic "representational choices" as objective scientific findings.

Methods

The authors propose the Qualitative Variance Audit Framework (QVAF), which standardizes the comparison of LLM-generated category systems through eight operational steps:

  1. Fix the audit corpus: Standardize text units so models aren't disagreeing simply because they sliced the sentences differently.
  2. Match elicitation inputs: Use the same sample of data to prompt each model to create its codebook.
  3. Generate and validate codebooks: Force models to produce structured, two-level category systems with definitions and examples.
  4. Set comparison conditions: Test models in two ways: using their own-codebook (the full pipeline) and a shared-reference codebook (testing how different models apply the same set of rules).
  5. Repeat corpus coding: Run the process multiple times to check for internal consistency.
  6. Assess representation and agreement: Compare granularity (number of codes) and inter-coder reliability using metrics like Krippendorff’s $\alpha$.
  7. Measure conditional dispersion: Analyze how "spread out" the assignments are across categories (entropy).
  8. Interpret and document: Connect these technical discrepancies to the actual substantive claims a researcher might make.

Datasets

The study applied the QVAF to a proprietary corpus of 668 organizational interviews (13,166 text units) conducted on a conversational-survey platform. The data covered six distinct themes, including AI Assessment, Teaming Check-ins, and Employee Engagement (the latter conducted in German to test multi-lingual capabilities).

The "panel" of auditors included eight models from five vendors:

  • Anthropic: Claude 3 Opus, Sonnet, Haiku, and Fable.
  • OpenAI: GPT-4.1.
  • Google: Gemini 1.5 Pro.
  • xAI: Grok 1.5.
  • DeepSeek: v2-pro.

Key Insights and Ideas

  • Consistency $\neq$ Agreement: Models are remarkably good at agreeing with themselves (within-model reliability ranged from .76 to .92). However, they frequently disagree with each other on the same data (~.69 agreement). This suggests that a model can be confidently wrong or uniquely biased while remaining perfectly consistent.
  • The Granularity Gap: Models have different "resolutions." For example, GPT-4.1 tended to be lumpier (averaging 15 subcodes), while DeepSeek and Fable were splitters (averaging 25 subcodes). This changes the fundamental "vocabulary" available for the analysis.
  • Arbitrary Ordinality: Models disagree on whether a category is just a label (nominal) or a scale (ordinal). One model might see "Workload" as a simple topic, while another insists on measuring it from "Low" to "High." Accepting these defaults without an audit imports unverified measurement assumptions into the research.
  • Vendor "Dialects": Models from the same vendor (e.g., the Anthropic family) agreed with each other slightly more than with models from other vendors, but not enough to guarantee independent perspectives.

Key Results

  • Reliability: Within-model reliability (how much a model agrees with its own repeated runs) was high, but between-model agreement on a shared codebook was significantly lower (dropping to .66 in some themes).
  • Coverage: Models left between 25% and 40% of text units uncoded when using their own generated codebooks, highlighting that "automated" doesn't mean "exhaustive."
  • Structural Variance: The application yielded 48 different codebooks. The authors found that more subcodes (higher granularity) did not necessarily lead to better coverage of the data.

Limitations and Future Work

  • No Human "Ground Truth": The authors explicitly state they did not conduct a human reference analysis. The QVAF identifies differences between models, but it cannot tell you which model is "correct" or which codebook is "better" for building theory.
  • Prompt Sensitivity: The study used a single, fixed prompt for codebook creation. Future work could explore how different prompting strategies (e.g., few-shot vs. zero-shot) interact with model choice.
  • Stochastic Creation: Codebook generation was performed only once per model. Since LLMs are probabilistic, repeating the creation step might reveal even more variance in the category structures.
  • Context Stripping: To ensure a fair comparison, the models were given respondent text without the interviewer's questions. The authors note this might remove context that a human researcher would normally use.

Summary updated

Abstract

Large language models (LLMs) increasingly create the categories through which qualitative evidence is interpreted. Existing coding benchmarks often hold these categories fixed. We propose the Qualitative Variance Audit Framework, an eight-step method that compares codebook creation, repeated application and code distributions under controlled inputs. It combines model-owned and shared-reference codebooks to distinguish variation in the overall pipeline from application differences within a common category system. An application to 668 organisational interviews, 13,166 text units and eight models from five vendors yields 48 codebooks and 270 coding runs. Models create markedly different category structures; mean within-model reliability ranges from .76 to .92, whereas between-model agreement on the shared codebook is about .69. The framework complements LLM-assisted grounded theory by exposing model dependencies before substantive interpretation. It assesses reliability and representational consequences, not interpretive validity or the quality of resulting theory.
BibTeX
@misc{tamme2026who,
  author = {Thilo Tamme and Anton Hantel and Jakob Scheppers},
  title = {{Who Writes the Codebook? An Eight-Step Framework for Auditing LLM-Generated Category Systems}},
  year = {2026},
  eprint = {2611.19872},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19872},
}
Figure