Dynamic Latent Routing
Fangyuan Yu, Xin Su, Amir Abdullah
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Reinforcement Learning & Games › Temporal Logic Planning · Type: new method · Keywords: dynamic latent routing, low-data fine-tuning, discrete latent codes, routing policies, language model post-training, mechanistic interpretability
Areas: RL for LLMs & Agents › Language Model Reinforcement Learning › Reward Specification
Summary
Dynamic Latent Routing (DLR) is a language-model post-training method that jointly learns discrete latent codes and routing policies through dynamic search, achieving strong performance in low-data fine-tuning.
Explained to a 5-year-old
The researchers made a new way to help a computer learn from very little information. They gave the computer small secret codes that tell it which part of the job to do. By using these codes, the computer can finish tasks almost as well as when it is taught a lot. This helps when you only have a few examples to teach. It also helps the computer understand how it thinks.
Explained to a 5-year-old, longer
A computer program called a language model can learn to do many things, but it usually needs a lot of examples. Sometimes you only have a few examples, and the computer struggles. The researchers created a new idea where the computer can split its work into small steps. They gave the computer simple codes that act like tiny directions. These codes help the computer decide which step to take next. The computer learns these codes together with how it works, all at once. This way, the computer can finish tasks even when there are only a few examples. It works as well as when it is taught a lot, and sometimes even better. The researchers tested it on many different tasks and it performed well. They also looked at how the computer thinks and saw that the codes helped it solve puzzles. The new method is easy to use and can be applied to many kinds of language tasks. It makes learning faster and more efficient.
For a technical reader
The system learns discrete routing tokens that guide sub-tasks within a language model during post-training. By integrating a search-select-update loop, it adapts the model efficiently with few examples. This yields performance comparable to or better than supervised fine-tuning across multiple datasets and models. The routing tokens also expose algorithmic reasoning steps, aiding interpretability. Overall, it provides a parameter-efficient, single-stage fine-tuning solution.
Problem
Adapting large language models to new tasks with limited data is challenging, and existing discrete latent routing approaches often underperform supervised fine-tuning.
Method
The approach learns discrete latent codes and routing policies jointly with model parameters through a dynamic search process that mimics a search-select-update cycle, enabling efficient adaptation in a single training stage.
Results
In low-data fine-tuning, DLR matches or outperforms supervised fine-tuning across four datasets and six models, achieving a mean gain of +6.6 percentage points, and on the six-digit arithmetic benchmark it externalizes algorithmic subtasks into discrete routing tokens.
Contributions
The paper introduces a dynamic search-based post-training framework that jointly learns discrete latent codes and routing policies, and demonstrates its effectiveness on multiple datasets and a mechanistic interpretability benchmark.
Research questions this paper is counted under
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