paper-with-me

홈 › Papers

Expediting and Elevating Large Language Model Reasoning via Hidden Chain-of-Thought Decoding

2024-09-13 · Tianqiao Liu, Zui Chen, Zitao Liu, Mi Tian, Weiqi Luo

Large language models (LLMs) have demonstrated remarkable capabilities in tasks requiring reasoning and multi-step problem-solving through the use of chain-of-thought (CoT) prompting. However, generating the full CoT process results in significantly longer output sequences, leading to increased computational costs and latency during inference. To address this challenge, we propose a novel approach to compress the CoT process through semantic alignment, enabling more efficient decoding while preserving the benefits of CoT reasoning. Our method introduces an auxiliary CoT model that learns to generate and compress the full thought process into a compact special token representation semantically aligned with the original CoT output. This compressed representation is then integrated into the input of the Hidden Chain-of-Thought (HCoT) model. The training process follows a two-stage procedure: First, the CoT model is optimized to generate the compressed token representations aligned with the ground-truth CoT outputs using a contrastive loss. Subsequently, with the CoT model parameters frozen, the HCoT model is fine-tuned to generate accurate subsequent predictions conditioned on the prefix instruction and the compressed CoT representations from the CoT model. Extensive experiments across three challenging domains - mathematical reasoning, agent invocation, and question answering - demonstrate that our semantic compression approach achieves competitive or improved performance compared to the full CoT baseline, while providing significant speedups of at least 1.5x in decoding time. Moreover, incorporating contrastive learning objectives further enhances the quality of the compressed representations, leading to better CoT prompting and improved task accuracy. Our work paves the way for more efficient exploitation of multi-step reasoning capabilities in LLMs across a wide range of applications.

📄 PDF Abstract BibTeX arXiv:2409.08561

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive LearningLanguage ModelingLanguage ModellingLarge Language ModelMathematical ReasoningQuestion AnsweringSemantic Compression

Methods 이 논문이 사용한 방법론

CoT Prompting Chain-of-thought prompts contain a series of intermediate reasoning steps, and they are shown to significantly improve the ability of large language models to perform certain…
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Beyond Dense States: Elevating Sparse Transcoders to Active Operators for Latent Reasoning

2026-02-02 · Yadong Wang, Haodong Chen, Yu Tian, Chuanxing Geng 외 arxiv

Latent reasoning compresses the chain-of-thought (CoT) into continuous hidden states, yet existing methods rely on dense latent transitions that remain difficult to interpret and control. Meanwhile, sparse representation…

Expediting Contrastive Language-Image Pretraining via Self-distilled Encoders

2023-12-19 · Bumsoo Kim, Jinhyung Kim, Yeonsik Jo, Seung Hwan Kim

Recent advances in vision language pretraining (VLP) have been largely attributed to the large-scale data collected from the web. However, uncurated dataset contains weakly correlated image-text pairs, causing data ineff…

Knowledge Distillation

CuriousLLM: Elevating Multi-Document QA with Reasoning-Infused Knowledge Graph Prompting

2024-04-13 · Zukang Yang, Zixuan Zhu

In the field of Question Answering (QA), unifying large language models (LLMs) with external databases has shown great success. However, these methods often fall short in providing the advanced reasoning needed for compl…

HallucinationKnowledge GraphsNavigateQuestion Answering

Can LVLMs Uncover the Truth Behind Visual Illusions? An Analysis of Perceptual and Reasoning Capabilities

2026-07-30 · Liangjie Zhao, Jiaqing Lyu, Kexin Tang, Zecheng Fang 외 arxiv

Large Vision Language Models have integrated reasoning capabilities, elevating cognitive performance to new levels. However, existing evaluations either focus solely on perception or rely on specific domains such as math…

Efficient Reasoning with Hidden Thinking

2025-01-31 · Xuan Shen, Yizhou Wang, Xiangxi Shi, Yanzhi Wang 외

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…

DecoderMultimodal Reasoning