Eliciting Chain-of-Thought in Base LLMs via Gradient-Based Representation Optimization

Zijian Wang, Yanxiang Ma, Chang Xu
11/24/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Chain-of-Thought (CoT) reasoning is a critical capability for large language models (LLMs), enabling them to tackle com- plex multi-step tasks. While base LLMs, pre-trained on general text corpora, often struggle with reasoning due to a lack of specialized training, recent studies reveal their latent reason- ing potential tied to hidden states. However, existing hidden state manipulation methods, such as linear activation steering, suffer from limitations due to their rigid and unconstrained nature, often leading to distribution shifts and degraded text quality. In this work, we propose a novel approach for elic- iting CoT reasoning from base LLMs through hidden state manipulation grounded in probabilistic conditional generation. By reformulating the challenge as an optimization problem with a balanced likelihood and prior regularization framework, our method guides hidden states toward reasoning-oriented trajectories while preserving linguistic coherence. Extensive evaluations across mathematical, commonsense, and logical reasoning benchmarks demonstrate that our approach con- sistently outperforms existing steering methods, offering a theoretically principled and effective solution for enhancing reasoning capabilities in base LLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025eliciting,
  title  = {Eliciting Chain-of-Thought in Base LLMs via Gradient-Based Representation Optimization},
  author = {Zijian Wang and Yanxiang Ma and Chang Xu},
  year   = {2025},
  eprint = {2511.19131},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.19131v1}
}

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/2511.19131.svg)](https://codeofpaper.com/paper/2511.19131)

Discussion