DiscoLoop: Looping Discrete Embeddings and Continuous Hidden States for Multi-hop Reasoning
Hengyu Fu, Tianyu Guo, Zixuan Wang, Hanlin Zhu, Jason Lee, Jiantao Jiao, Stuart J Russell, Song Mei
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Chain-of-Thought Reasoning · Type: new method · Keywords: multi-hop reasoning, looped transformers, representational alignment, discrete embeddings, continuous hidden states, language model reasoning
Areas: LLM Reasoning › Reasoning Mechanisms › Looped Reasoning; Model Architectures & Sequence Modeling › Language Model Architectures › Latent Reasoning
Summary
DiscoLoop introduces a looping architecture that carries both discrete embeddings and continuous hidden states to improve multi-hop reasoning, achieving near-perfect accuracy with less training and better performance on pretraining benchmarks.
Explained to a 5-year-old
Computers sometimes need to answer questions that need two steps. The old way of making computers think in loops doesn't work well when the question is new. The researchers noticed that the computer's memory gets mixed up between two kinds of information. They made a new way where the computer keeps one part of the answer as clear words and another part as smooth numbers, helping it think better. This helps computers solve tricky questions more reliably.
Explained to a 5-year-old, longer
Imagine a computer that tries to answer a question by thinking step by step. It needs to remember what it learned in the first step to use it in the second step. Some computers that loop their thinking work okay for familiar questions but get confused for new ones. The researchers looked at why this happens and found that the computer's memory is a bit messy. They saw that the answer from the first step can be seen in the computer's signals, but the numbers it stores are noisy. This mismatch makes the second step wrong. To fix this, they designed a new kind of looping computer that keeps two kinds of memory. One kind stores the answer as clear words, and the other keeps smooth numbers. By keeping these two together, the computer can line up the information better. This helps it answer tricky questions almost perfectly. They also tried it on bigger language models and saw it works better than the old looping method. The new design needs less training time and works in real-world language tasks. Overall, this makes computers smarter at solving multi-step problems.
For a technical reader
The paper observes that looped transformers suffer from a representational mismatch between continuous hidden states and discrete answer embeddings, causing poor OOD generalization. It proposes a looping architecture that maintains both a discrete embedding channel and a continuous hidden-state channel, aligning them to improve multi-hop reasoning. Experiments show near-perfect accuracy on symbolic and synthetic tasks with less training, and the design transfers to standard pretraining, yielding lower loss and better benchmark performance. The key insight is that mixed-channel recurrence can mitigate the bottleneck identified in prior looping models.
Problem
Multi-hop reasoning-composing multiple pieces of parametric knowledge within a single forward pass-is challenging for language models, with vanilla transformers failing and looped transformers generalizing poorly, especially out-of-distribution.
Method
The approach uses a looping architecture that maintains both a discrete embedding channel and a continuous hidden-state channel, aligning them to reduce representational mismatch and improve reasoning performance.
Results
The approach reaches near-perfect two-hop accuracy with far less training and yields lower training loss and better performance on pretraining benchmarks compared to looped-transformer baselines.
Contributions
The paper identifies a representational misalignment bottleneck in looped transformers and proposes a mixed-channel looping design that carries both discrete embeddings and continuous hidden states, enabling improved multi-hop reasoning with reduced training requirements.
Practical relevance
The mixed-channel design can be applied to standard pretraining, improving language models' reasoning capabilities in practical settings.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction