CoT Vectors: Transferring and Probing the Reasoning Mechanisms of LLMs
School of Computer Science & Engineering, Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(计算机科学与工程学院,新一代人工智能技术及其交叉应用关键实验室(东南大学),教育部,中国);Data Science & AI Department at Faculty of IT, Monash University, Australia(信息学院数据科学与人工智能部门,墨尔本大学,澳大利亚)
Li Li, Ziyi Wang, Yongliang Wu, Jianfei Cai, Xu Yang
思维链(Chain-of-Thought, CoT)提示已成为提升大语言模型(Large Language Models, LLMs)推理能力的有效方法。然而,现有实现方式(如上下文学习和微调)成本高且效率低。为以更低成本优化CoT推理,受任务向量范式启发,我们提出CoT Vectors——一种编码通用任务多步推理知识的紧凑表示。通过提取式CoT Vectors的实验,我们观察到显著的层间不稳定性,表现为U型性能曲线,反映了LLMs中系统性的三阶段推理过程。为解决这一局限,我们提出可学习CoT Vectors,在师生框架下优化以提供更稳定鲁棒的引导。在多个基准和模型上的广泛评估表明,CoT Vectors不仅优于现有基线,性能还可与参数高效微调方法媲美,且所需可训练参数更少。此外,将CoT Vectors作为探针,我们揭示了其有效性因潜在空间结构、信息密度、获取机制和预训练差异而变化的规律,为LLMs多步推理的功能组织提供了新见解。源代码将公开发布。
英文摘要:
Chain-of-Thought (CoT) prompting has emerged as a powerful approach to enhancing the reasoning capabilities of Large Language Models (LLMs). However, existing implementations, such as in-context learning and fine-tuning, remain costly and inefficient. To improve CoT reasoning at a lower cost, and inspired by the task vector paradigm, we introduce CoT Vectors, compact representations that encode task-general, multi-step reasoning knowledge. Through experiments with Extracted CoT Vectors, we observe pronounced layer-wise instability, manifesting as a U-shaped performance curve that reflects a systematic three-stage reasoning process in LLMs. To address this limitation, we propose Learnable CoT Vectors, optimized under a teacher-student framework to provide more stable and robust guidance. Extensive evaluations across diverse benchmarks and models demonstrate that CoT Vectors not only outperform existing baselines but also achieve performance comparable to parameter-efficient fine-tuning methods, while requiring fewer trainable parameters. Moreover, by treating CoT Vectors as a probe, we uncover how their effectiveness varies due to latent space structure, information density, acquisition mechanisms, and pre-training differences, offering new insights into the functional organization of multi-step reasoning in LLMs. The source code will be released.
CoT-Driven Framework for Short Text Classification: Enhancing and Transferring Capabilities from Large to Smaller Model
Aerospace Information Research Institute, Chinese Academy of Sciences(中国科学院空天信息创新研究院);University of Chinese Academy of Sciences(中国科学院大学);School of Electronic, Electrical and Communication Engineering, University of Chinese Academy of Sciences(中国科学院大学电子电气与通信工程学院)
CoT2Align: Cross-Chain of Thought Distillation via Optimal Transport Alignment for Language Models with Different Tokenizers
Hanoi University of Science and Technology(河内理工大学);Oraichain Labs Inc.(Oraichain实验室公司);ByteDance Inc(字节跳动公司);VNU University of Engineering and Technology(越南国家大学工程技术大学);Monash University(莫纳什大学);University of Oregon(俄勒冈大学)
Improving Reasoning Capabilities in Small Models through Mixture-of-Layers Distillation with Stepwise Attention on Key Information
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
Turning Logic Against Itself : Probing Model Defenses Through Contrastive Questions
Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science and Hessian Center for AI (hessian.AI), Technical University of Darmstadt(德累斯顿技术大学计算机科学系、海斯堡人工智能中心(hessian.AI)、通用知识处理实验室(UKP Lab))
针对推理驱动的隐蔽越狱漏洞,本文提出 POATE 对比推理攻击,并设计 Intent-Aware CoT 与 Reverse Thinking CoT 以检测恶意意图、拒绝有害输出。
Beyond the Commitment Boundary: Probing Epiphenomenal Chain-of-Thought in Large Reasoning Models
CLCG, University of Groningen(格罗宁根大学CLCG);University of Milano-Bicocca(米兰-布雷拉大学);University of Trieste(特里耶大学);Khoury College of Computer Sciences, Northeastern University(东北大学Khoury计算机科学学院)
MIND: From Passive Mimicry to Active Reasoning through Capability-Aware Multi-Perspective CoT Distillation
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, National Engineering Research Center for Visual Information and Applications, and Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人机混合增强智能国家重点实验室、视觉信息与应用国家工程研究中心、人工智能与机器人研究所);Nankai University(南开大学);The Hong Kong University of Science and Technology(Guangzhou)(香港科技大学(广州));School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院)
Focus on Your Question! Interpreting and Mitigating Toxic CoT Problems in Commonsense Reasoning
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Hunan Normal University(湖南师范大学)
Bandung Fe Institute & Adjunct Science Fellow in InaAI(巴旦格Fe研究所及InaAI兼职科学研究员);AI Research Center IT Del & Bandung Fe Institute(IT Del人工智能研究中心及巴旦格Fe研究所)
Backtracking When It Strays: Mitigating Dual Exposure Biases in LLM Reasoning Distillation
College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);Key Laboratory of Symbolic Computation and Knowledge Engineering, MoE, Jilin University(吉林大学符号计算与知识工程重点实验室);Tongyi Lab, Alibaba Group(阿里集团通义实验室);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);School of Artificial Intelligence, Jilin University(吉林大学人工智能学院)
An Investigation of Robustness of LLMs in Mathematical Reasoning: Benchmarking with Mathematically-Equivalent Transformation of Advanced Mathematical Problems
Department of Computer Science University of Illinois Urbana–Champaign(计算机科学系伊利诺伊大学厄巴纳-香槟分校);Department of Computer Science Stanford University(计算机科学系斯坦福大学)
Compliance vs. Sensibility: On the Reasoning Controllability in Large Language Models
School of Computer Science, University of Sheffield(谢菲尔德大学计算机科学学院);School of EECS, Queen Mary University of London(伦敦女王学院电子工程与计算机科学学院);The Alan Turing Institute(艾伦·图灵研究所)