cs.AINov 19, 2026

Reasoning-Trace Analysis Using Large Language Models for Interpretable Q-Matrix Construction

Authors: Jihong Zhang, Zijing Jin, Mingfeng Xue

Organizations: Department of Counseling, Leadership, and Research Methods, University of Arkansas · School of Computing and Information, University of Pittsburgh · Department of Information, Library, and Research Sciences, University of North Carolina at Greensboro

Abstract

Large language models (LLMs) can generate Q-matrices for diagnostic classification models that approximate expert specifications, but evaluations have focused on the final matrices, leaving the basis of individual item-attribute assignments unexamined. This opacity limits the responsible use of AI in measurement. We propose Reasoning-Trace Analysis (RTA), a framework in which an LLM generates attribute-labeled reasoning steps through chain-of-thought (CoT) prompting and these steps are analyzed to reconstruct, compare, and inspect each assignment. RTA is intended to supplement expert review and empirical validation. In a simulation study with perturbed fraction subtraction items, four LLMs recovered the required attributes and withheld attributes the items did not require. In an empirical study with 11 fraction subtraction items, responses from 536 examinees, four LLMs, up to three temperatures, and 100 replications per condition, CoT-derived Q-matrices overlapped substantially with the reference Q-matrix (mean overlap .809) but less than directly generated Q-matrices (.877), and they varied more across replications. Inspection of the traces linked disagreements to item-type coding, labeling rules, and how operations were expressed as steps. Q-matrices with similar overlap differed in fit to examinee responses. RTA provides inspectable evidence that matrix-level agreement and fit do not.

Figures & tables

Explore similar work

CardsList
  1. A Framework for Human-AI Q-Matrix Refinement: A NeuralCDM Evaluation

    Mar 30, 2026Ying Zhang, Ningxi Cheng, Yizhu Gao +5Cognitive Diagnostic ModelsEducational Assessment

  2. Interpretable Humans, Alien LLMs: Expert Analysis of Latent Structures in Assessment Responses

    Aug 18, 2026Alona Strugatski, Licol Zeinfeld, Jason Cooper +3LLM EvaluationLLM Interpretability

  3. Probing the Trajectories of Reasoning Traces in Large Language Models

    Jan 30, 2026Marthe Ballon, Brecht F. Verbeken, Vincent Ginis +1Reasoning Trace AnalysisLanguage Model Reasoning Evaluation