Preprint
Reinforcement Learning

Optimizing test-time compute via meta reinforcement fine-tuning

Yuxiao Qu, Matthew Y. R. Yang, Amrith Setlur, Lewis Tunstall, Edward Emanuel Beeching, Ruslan Salakhutdinov, Aviral Kumar
January 1, 2025

0

Citations

0

Influential Citations

Venue

2025

Year

Abstract

… test-time compute by generating long reasoning chains via outcomereward RL has been promising, for continued gains from scaling test-time compute… efficiently use test-time compute? …

Analysis

Why This Paper Matters

Scaling test-time compute has emerged as a promising direction for improving LLM reasoning, but naive approaches waste resources on unnecessary computation. This paper tackles the critical problem of efficiently allocating test-time compute by learning when and how to generate reasoning chains. The meta reinforcement fine-tuning framework directly addresses the inefficiency of fixed-length or heuristic-based reasoning, making it highly relevant for practitioners deploying models under latency or cost constraints.

The significance lies in bridging meta-learning and reinforcement learning for reasoning optimization. By treating the reasoning chain generation as a sequential decision process, the method can adapt to problem difficulty, potentially reducing compute usage on easy queries while allocating more for hard ones. This aligns with real-world needs where query difficulty varies unpredictably.

Technical Contributions

  • Meta Reinforcement Fine-Tuning: Combines meta-learning with outcome-reward RL to train a policy that generates reasoning chains of variable length, optimizing for both accuracy and compute efficiency.
  • Outcome-Reward RL: Uses final answer correctness as the reward signal, avoiding the need for dense process rewards and simplifying training.
  • Scaling Analysis: Provides empirical evidence that the learned policy continues to benefit from additional test-time compute, unlike fixed-length baselines that plateau.

Results

The paper reports that the proposed method achieves higher accuracy than baselines at equivalent compute budgets. For example, at a fixed compute budget, the meta-RL fine-tuned model outperforms standard RL fine-tuning by several percentage points. Scaling curves show that the method maintains a positive slope even at high compute allocations, whereas baselines saturate.

Significance

This work has broad implications for AI deployment, particularly in applications requiring real-time reasoning (e.g., chatbots, coding assistants). By making test-time compute scaling more efficient, it reduces operational costs and enables smaller models to compete with larger ones on reasoning tasks. The meta-learning perspective also opens avenues for continual adaptation to new task distributions without full retraining.