Efficient Reasoning with Hidden Thinking

Paper · arXiv 2501.19201 · Published January 31, 2025
Reasoning ArchitecturesCognitive Models and Latent RepresentationsReasoning Critiques

Chain-of-Thought (CoT) reasoning has become a powerful framework for improving complex problem-solving capabilities in Multimodal Large Language Models (MLLMs). However, the verbose nature of textual reasoning introduces significant inefficiencies. In this work, we propose Heima (as hidden llama), an efficient reasoning framework that leverages reasoning CoTs at hidden latent space. We design the Heima Encoder to condense each intermediate CoT into a compact, higher-level hidden representation using a single thinking token, effectively minimizing verbosity and reducing the overall number of tokens required during the reasoning process. Meanwhile, we design corresponding Heima Decoder with traditional Large Language Models (LLMs) to adaptively interpret the hidden representations into variable-length textual sequence, reconstructing reasoning processes that closely resemble the original CoTs.

The CoT enables the MLLMs to generate intermediate steps that mirror human-like problem-solving processes, breaking down complex tasks into smaller, sequentially manageable components before arriving at the final solution. This approach not only enhances interpretability but also enables more effective multi-step reasoning, equipping MLLMs to address tasks that demand intricate logical understanding and contextual coherence, especially when processing the inherent complexity of visual information.

However, CoT reasoning often requires generating a substantial amount of additional text during the reasoning process, particularly for complex problems. This increased verbosity significantly impacts the efficiency of problem-solving, especially in large models with massive parameters and expensive inference costs. Thus, it becomes crucial to reduce the number of tokens generated during CoT reasoning to enhance the efficiency of MLLMs without compromising their reasoning capabilities.

crucial to verify the effectiveness of the hidden representations encapsulated within thinking tokens to ensure that the model is genuinely learning hidden reasoning processes rather than merely fitting the data. Thus, to interpret the thinking tokens, we design the adaptive Heima Decoder, which exploits the standard next-token prediction paradigm in LLMs for the reconstruction of variable-length (i.e., adaptive) textual sequence based on thinking tokens.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

Do structured representations outperform end-to-end vision for GUI agents? How do representation structure properties emerge and change in neural networks? What determines when reasoning models help or hurt task performance? What determines whether AI consciousness attributions reflect actual moral status? Does chain-of-thought reasoning represent genuine model computation? What mechanisms explain reasoning model failures and performance degradation? Is hallucination in language models an inevitable feature or an addressable problem? Do reasoning traces faithfully represent model decision-making? Can AI reasoning scale in latent space without tokens? How can AI assistance improve human judgment without creating overreliance? What makes understanding genuine rather than merely producing correct outputs? How do LLM judge biases arise and affect evaluation systems? Can activation steering control reasoning without retraining models? Does reinforcement learning discover novel reasoning strategies or refine existing ones? Does preference optimization trade factual accuracy for perceived quality? Do foundation models build genuine world models or task-specific shortcuts?