AI
New Framework Trains Single AI Model on Multiple Coding Tasks More Efficiently
Researchers propose ASTOR, a multi-task reinforcement learning system that dynamically adjusts how code models learn across different programming challenges.
A new approach to training large language models for coding tasks aims to solve a practical problem: deploying separate specialized models for different coding challenges becomes expensive and resource-intensive. Instead, researchers have developed ASTOR, a framework that teaches a single model to handle multiple coding tasks simultaneously while improving performance across the board.
The Multi-Task Challenge#
Reinforcement learning with measurable, verifiable rewards has shown promise for fine-tuning language models at coding. However, existing multi-task reinforcement learning (MTRL) methods typically treat all tasks equally, applying the same training schedule and optimization strategy regardless of how each task might benefit from different approaches. This one-size-fits-all approach limits what models can achieve when juggling several distinct coding challenges at once.
How ASTOR Works#
ASTOR introduces the concept of task utility—a measure that captures both how much a task still has to learn and how its training might benefit other tasks. Built around this signal, the framework includes two coordinated components:
- Hierarchical Utility-Routed Data Scheduling: Intelligently allocates training resources and selects which training examples are most valuable, directing the model toward high-impact learning opportunities
- Adaptive Utility-Calibrated Policy Optimization: Adjusts per-task learning constraints dynamically, ensuring each task's training updates match its current progress and needs
Performance Gains#
Testing on two different large language models across four representative coding tasks, ASTOR consistently delivered improvements. A single unified model exceeded the best task-specific specialist by 9.0%-9.5% and outperformed the strongest existing multi-task baseline by 7.5%-12.8%. These results suggest that coordinating task learning through utility signals is more effective than treating tasks uniformly or training separate specialists.

