ReasonOps: 大语言模型推理轨迹的算子分割
ReasonOps: Operator Segmentation for LLM Reasoning Traces
AI总结:
提出无监督方法ReasonOps,从思维链轨迹中提取7种通用推理算子,揭示模型推理结构并用于模型识别与正确性预测。
摘要:
大型推理模型的思维链轨迹可长达数万token,但我们缺乏描述其内部结构的词汇。以往用于分析思维链轨迹的方法要么过于僵化,要么表达能力不足,无法捕捉跨领域和跨模型的特征。为解决此问题,我们开发了ReasonOps,一种无监督、表达力强的方法,用于注释思维链轨迹,提供简洁的通用算子。利用ReasonOps,我们分析了来自12个思考型LLM(涵盖6个家族、8个推理基准)的44,662条轨迹,发现它们共享一个共同的组合结构:7个反复出现的推理算子——语篇层面的动作,如回溯、推理和假设——这些算子从句子开头的3-token枢轴的无监督聚类中涌现。这些算子出现在每个模型家族和基准领域,由三个独立的LLM评判员对留出样本进行分类,准确率达70-76%。我们分析了算子在简单与困难问题上的结构,发现反思性算子在困难问题上更有帮助,而在简单问题上则损害性能。算子序列具有高度的模型识别性:仅基于算子分布训练的分类器能以宏AUC恢复源模型,揭示每个模型家族具有独特的推理指纹。结构化的算子特征在问题内答案正确性预测上远高于基线。基于这些算子构建的分类器在WP-AUC上达到,特别是在AIME上。ReasonOps还能够在轨迹完成前进行早期质量估计:我们仅用50%的轨迹就能在WP-AUC上进行预测。ReasonOps流程是无监督且无需标注的,能够深入洞察LLM推理轨迹,并在模型识别和正确性预测方面取得强大的下游结果。
英文摘要:
Chain-of-thought traces from large reasoning models can span tens of thousands of tokens, yet we lack a vocabulary for describing their internal structure. Previous methods developed to analyze chain-of-thought traces are either too rigid or not expressive enough, failing to capture features across domains and models. To remedy this, we develop ReasonOps, an unsupervised, expressive method for annotating chain-of-thought traces, providing succinct universal operators. Using ReasonOps, we analyze 44,662 traces from 12 thinking LLMs spanning 6 families across 8 reasoning benchmarks and discover that they share a common compositional structure: 7 recurring reasoning operators -- discourse-level moves such as backtracking, inferring, and hypothesizing -- that emerge from unsupervised clustering of sentence-initial 3-token pivots. These operators appear across every model family and benchmark domain, confirmed by three independent LLM judges who classify held-out samples at 70 -76% accuracy. We analyze the structure of operators on easy vs. hard problems, revealing that reflective operators are more helpful on hard problems and harm performance on easy problems. Operator sequences are highly model-identifying: a classifier trained on operator distributions alone recovers the source model with macro-AUC, revealing that each model family has a distinctive reasoning fingerprint. Structural operator features predict within-problem answer correctness well above baselines. Classifiers built on these operators reach WP-AUC and on AIME specifically. ReasonOps further enables early quality estimation well before the trace completes: we predict at WP-AUC for only 50% of the trace. The ReasonOps pipeline is unsupervised and annotation-free, enabling deep insights into LLM reasoning traces as well as strong downstream results on model identification and correctness prediction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。