Unlocking General Long Chain-of-Thought Reasoning Capabilities of Large Language Models via Representation Engineering

Xinyu Tang, Xiaolei Wang, Zhihao Lv, Yingqian Min, Wayne Xin Zhao +3 more
3/14/2025
cs.CL

No official code found. Best implementation: txy77/GLoRE (11 stars, last commit 2025-06-20).

Abstract

Recent advancements in long chain-of-thoughts(long CoTs) have significantly improved the reasoning capabilities of large language models(LLMs). Existing work finds that the capability of long CoT reasoning can be efficiently elicited by tuning on only a few examples and can easily transfer to other tasks. This motivates us to investigate whether long CoT reasoning is a general capability for LLMs. In this work, we conduct an empirical analysis for this question from the perspective of representation. We find that LLMs do encode long CoT reasoning as a general capability, with a clear distinction from vanilla CoTs. Furthermore, domain-specific representations are also required for the effective transfer of long CoT reasoning. Inspired by these findings, we propose GLoRE, a novel representation engineering method to unleash the general long CoT reasoning capabilities of LLMs. Extensive experiments demonstrate the effectiveness and efficiency of GLoRE in both in-domain and cross-domain scenarios.

View on arXivView PDF

Code Implementations(1)

txy77/GLoRECommunity100%

About The official GitHub page for ''Unlocking General Long Chain-of-Thought Reasoning Capabilities of Large Language Models via Representation Engineering'' Resources

113PythonMar 13, 20251 years ago

Similar Papers

Cite this paper

@article{tang2025unlocking,
  title  = {Unlocking General Long Chain-of-Thought Reasoning Capabilities of Large Language Models via Representation Engineering},
  author = {Xinyu Tang and Xiaolei Wang and Zhihao Lv and Yingqian Min and Wayne Xin Zhao and Binbin Hu and Ziqi Liu and Zhiqiang Zhang},
  year   = {2025},
  eprint = {2503.11314},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.11314v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.11314.svg)](https://codeofpaper.com/paper/2503.11314)

Discussion