CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillation
원문 초록
Chain-of-Thought (CoT) reasoning enhances Large Language Models (LLMs) by encouraging step-by-step reasoning in natural language. However, leveraging a latent continuous space for reasoning may offer benefits in terms of both efficiency and robustness. Prior implicit CoT methods attempt to bypass language completely by reasoning in continuous space but have consistently underperformed compared to the standard explicit CoT approach. We introduce CODI (Continuous Chain-of-Thought via Self-Distillation), a novel training framework that effectively compresses natural language CoT into continuous space. CODI jointly trains a teacher task (Explicit CoT) and a student task (Implicit CoT), distilling the reasoning ability from language into continuous space by aligning the hidden states of a designated token. Our experiments show that CODI is the first implicit CoT approach to match the performance of explicit CoT on GSM8k at the GPT-2 scale, achieving a 3.1x compression rate and outperforming the previous state-of-the-art by 28.2% in accuracy. CODI also demonstrates robustness, generalizable to complex datasets, and interpretability. These results validate that LLMs can reason effectively not only in natural language, but also in a latent continuous space.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression
any4: Learned 4-bit Numeric Representation for LLMs
IRanker: Towards Ranking Foundation Model
CommVQ: Commutative Vector Quantization for KV Cache Compression
AgentGroupChat-V2: Divide-and-Conquer Is What LLM-Based Multi-Agent System Need
Re-Initialization Token Learning for Tool-Augmented Large Language Models
토론
이 논문과 연결된 포럼 글이 아직 없습니다.