Learning to Reason as Action Abstractions with Scalable Mid-Training RL

· Source: Apple Machine Learning Research · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, quick

Summary

A new theoretical framework and algorithm, Reasoning as Action Abstractions (RA3), addresses the challenge of effectively integrating reinforcement learning (RL) into large language model (LLM) training via a mid-training stage. This approach formalizes how mid-training shapes post-training by characterizing an action subspace that minimizes both value approximation error from pruning and RL error during subsequent planning. The analysis highlights pruning efficiency and its impact on RL convergence as key determinants, suggesting optimal effectiveness when decision spaces are compact and effective horizons are short. RA3, a scalable mid-training algorithm, optimizes a sequential variational lower bound by iteratively discovering temporally-consistent latent structures via RL and then fine-tuning on bootstrapped data. Experiments on code generation tasks show RA3 improves average performance on HumanEval and MBPP by 8 and 4 points, respectively, over base models and next-token prediction baselines, while achieving faster convergence and higher asymptotic performance in RLVR benchmarks.

Key takeaway

For research scientists integrating RL into large language model workflows, understanding the theoretical underpinnings of mid-training is crucial. You should consider implementing action abstraction techniques like RA3 to achieve significant performance gains and faster convergence in tasks such as code generation, as it demonstrably improves metrics like HumanEval and MBPP scores by 8 and 4 points respectively.

Key insights

Mid-training with action abstractions optimizes LLM performance by minimizing RL and approximation errors.

Principles

Method

RA3 derives a sequential variational lower bound, optimizing it by iteratively discovering temporally-consistent latent structures via RL, followed by fine-tuning on bootstrapped data.

In practice

Topics

Best for: Research Scientist, AI Researcher, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Apple Machine Learning Research.