我们提出了一种利用稀疏自编码器(Sparse Autoencoders, SAEs)和聚类技术分析大语言模型(Large Language Models, LLMs)内部token表示并引导数学推理任务生成的新方法。该方法首先训练一个SAE为训练token生成稀疏向量表示,再应用k-means聚类构建图,其中顶点代表token簇,加权边捕捉token的序列转移。我们基于该图定义了一种边权重奖励函数,量化生成过程对既定推理轨迹的遵循程度,从而识别利用型推理路径;此外还通过聚类结果衡量生成多样性,评估探索的程度。研究结果表明,平衡利用与探索对在数学推理任务中取得高准确率至关重要。在生成阶段,SAE可作为可扩展的奖励模型引导生成,确保利用与探索之间的平衡权衡,避免两种方向的极端行为,最终提升LLMs的推理过程质量。
英文摘要:
We propose a novel method that leverages sparse autoencoders (SAEs) and clustering techniques to analyze the internal token representations of large language models (LLMs) and guide generations in mathematical reasoning tasks. Our approach first trains an SAE to generate sparse vector representations for training tokens, then applies k-means clustering to construct a graph where vertices represent token clusters and weighted edges capture sequential token transitions. Using this graph, we define an edge-weight based reward function to quantify adherence to established reasoning traces, thereby identifying exploitative reasoning trajectories. Additionally, we measure generation diversity from clustering to assess the extent of exploration. Our findings indicate that balancing both exploitation and exploration is crucial for achieving high accuracy in mathematical reasoning tasks. During generation, the SAE can serve as a scalable reward model to guide generations, ensuring a balanced trade-off between exploitation and exploration. This prevents extreme behaviors in either direction, ultimately fostering a higher-quality reasoning process in LLMs.
SAERec: Constructing Fine-grained Interpretable Intents Priors via Sparse Autoencoders for Recommendation
University of Georgia(佐治亚大学);Shanghai AI Laboratory(上海人工智能实验室);The Education University of Hong Kong(香港教育大学);Jilin University(吉林大学);The Hong Kong Polytechnic University(香港理工大学)
Leveraging Fine-Tuned Large Language Models for Interpretable Pancreatic Cystic Lesion Feature Extraction and Risk Categorization
New York University(纽约大学);Columbia University Irving Medical Center(哥伦比亚大学欧文医学中心);NYU Grossman School of Medicine(纽约大学格罗斯曼医学院);University of California San Diego(加州大学圣地亚哥分校)
Iteration Head: A Mechanistic Study of Chain-of-Thought
FAIR, Meta AI(FAIR,Meta人工智能公司);Datashape, INRIA(Datashape,法国国家信息与自动化研究所);Courant University and Center for Data Science, NYU(纽约大学柯朗数学科学研究所与数据科学中心);Center for Data Science, NYU(纽约大学数据科学中心);NYU(纽约大学);Courant University(柯朗大学)
ExplainableGuard: Interpretable Adversarial Defense for Large Language Models Using Chain-of-Thought Reasoning
Centre for Smart Health, School of Nursing, The Hong Kong Polytechnic University(智能健康研究中心、护理学院、香港理工大学);Department of Language Science and Technology, The Hong Kong Polytechnic University(语言科学与技术系、香港理工大学);Department of Electrical and Electronic Engineering, The Hong Kong Polytechnic University(电子与电气工程系、香港理工大学)
Streaming Hallucination Detection in Long Chain-of-Thought Reasoning
Beijing University of Posts and Telecommunications(北京邮电大学);Nanyang Technological University(南洋理工大学);Southwest Jiaotong University(西南交通大学);Renmin University of China(中国人民大学)
Less is Enough: Synthesizing Diverse Data in LLM Feature Space with Sparse Autoencoders
Department of Computing, University of Georgia, Georgia, United States(佐治亚大学计算机系);Computer Engineering, University of California San Diego, California, United States(加州大学圣地亚哥分校计算机工程系);Machine Learning Department, Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates(Mohamed bin Zayed人工智能大学机器学习系);Department of Computing, Hong Kong Polytechnic University, Hong Kong, China(香港理工大学计算机系)
IRDS: Interpretable RLVR Data Selection via Verifier-Coupled Sparse Autoencoder Coverage
The Hong Kong University of Science and Technology (Guangzhou)(香港理工大学(广州));Nanjing University of Aeronautics and Astronautics(南京航空航天大学);The 63rd Research Institute, National University of Defense Technology, Nanjing(国防科技大学第六三研究所,南京)
Compression-Driven Anomaly Detection in Brain MRI Using an Interpretable Quantum Autoencoder
Kingston University(金史密斯大学);Quantum AI (QAI) Research Group(量子人工智能研究组);School of Computer Science and Mathematics (CSM)(计算机科学与数学学院);Faculty of Engineering, Computing and the Environment (ECE)(工程、计算与环境学院)
CoTJudger: A Graph-Driven Framework for Automatic Evaluation of Chain-of-Thought Efficiency and Redundancy in LRMs
University of Science and Technology of China(科学技术大学);Shenzhen University of Advanced Technology(深圳先进技术大学);Shenzhen Institutes of Advanced Technology, CAS(深圳先进技术研究所,中国科学院);Southeast University(东南大学);Nanjing University(南京大学);Beihang University(北航);University of Manchester(曼彻斯特大学)
Symbolic Learning of Interpretable Reduced-Order Models for Jumping Quadruped Robots
Department of Cognitive Robotics, Delft University of Technology(认知机器人学系,代尔夫特理工大学);Computer Science and Artificial Intelligence Laboratory (CSAIL), Massachusetts Institute of Technology(计算机科学与人工智能实验室(CSAIL),麻省理工学院);Institute of Robotics and Mechatronics, German Aerospace Center (DLR)(机器人与机电研究所,德国航空航天中心(DLR));Department of Industrial Engineering, University of Trento(工业工程系,特伦托大学)