- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper proposes ASTOR, a framework for multi-task reinforcement learning for code models. Its central idea is to use a unified notion of task utility to coordinate two decisions: what data to train on and how strongly to regularize each task. Task utility combines reward variance, intended to represent remaining learning potential, with cross-task gradient similarity, intended to represent task synergy. ASTOR then allocates task-level training quotas, prioritizes prompts within each task, and dynamically adjusts task-specific KL coefficients. Experiments cover four coding tasks and two Qwen-based models, with reported improvements over single-task specialists and multi-task baselines.
Strengths and weaknesses
Strengths:
- Training one model for code understanding, generation, testing, and documentation has clear practical value compared with deploying multiple task-specific specialists.
- The high-level motivation, system diagram, and distinction between “what to learn” and “how to learn” are easy to follow.
Weaknesses:
- The paper compresses each task gradient by summing over all dimensions except the last before computing cosine similarity. This operation discards substantial directional information, yet no theoretical or empirical evidence is provided that the resulting similarity still reflects the true relationships between tasks. Since this signal directly affects task allocation, its validity is important to establish.
- Equation (13) gives high-utility tasks both larger sampling quotas and stronger KL regularization. These effects work in opposite directions, yet the paper does not explain why this coupling is preferable. Moreover, low utility may indicate saturation, persistent failure, or task conflict, which do not all justify weaker regularization.
- The related-work discussion remains too high-level. Although Appendix F briefly contrasts ASTOR with several methods, it does not clearly position the utility-based scheduler and adaptive KL mechanism against the closest prior coordination strategies, nor are such methods included as baselines. Therefore, the paper does not sufficiently establish the novelty and advantage of ASTOR over existing approaches.
Questions
Please see Weaknesses.
Limitations
Yes
Paper formatting concerns
None
Final justification
Thank you for the detailed response. The response substantially addresses my concerns, and I will raise my score.
Q1: The paper compresses each task gradient by summing over all dimensions except the last before computing cosine similarity. This operation discards substantial directional information, yet no theoretical or empirical evidence is provided that the resulting similarity still reflects the true relationships between tasks. Since this signal directly affects task allocation, its validity is important to establish.
A1: Thanks for raising this important concern. To validate the approximation, we compare cosine similarities computed from compressed and full gradients on Qwen2.5-Coder-7B. Since full-gradient computation is very time-consuming, we evaluate the first 80 training iterations, yielding 480 paired measurements across six task pairs per iteration. The two measures are highly consistent: they agree in sign for 443 of 480 comparisons (92.3%), with a Spearman correlation of 0.91. Thus, the compressed gradients produce nearly the same task-relationship signal as the full gradients while requiring substantially less computation. We will clarify that gradient compression is used as an efficient proxy for task similarity, rather than as an exact preservation of gradient direction, and will include this comparison in the paper.
Q2: Equation (13) gives high-utility tasks both larger sampling quotas and stronger KL regularization. These effects work in opposite directions, yet the paper does not explain why this coupling is preferable. Moreover, low utility may indicate saturation, persistent failure, or task conflict, which do not all justify weaker regularization.
A2: Thanks for raising this question. High utility indicates that a task is currently more valuable for training, so ASTOR assigns it a larger sampling quota. However, this does not mean that the shared policy should become more specialized for that task. ASTOR therefore applies stronger KL regularization to avoid shifting the shared policy too far toward a single task. Together, these two effects make greater use of high-utility tasks while limiting excessive task-specific updates.
When low utility results from saturation, persistent failure, or task conflict, the smaller sampling quota already reduces the task's contribution to the shared policy update. Yet the remaining data may still contain useful learning signals, so ASTOR applies weaker KL regularization to avoid further restricting this remaining learning opportunity. In this way, ASTOR reduces the contribution of low-utility tasks without completely preventing further learning. We will clarify these complementary roles of the sampling quota and KL coefficient in the paper.
Q3: The related-work discussion remains too high-level. Although Appendix F briefly contrasts ASTOR with several methods, it does not clearly position the utility-based scheduler and adaptive KL mechanism against the closest prior coordination strategies, nor are such methods included as baselines. Therefore, the paper does not sufficiently establish the novelty and advantage of ASTOR over existing approaches.
A3: Thanks for pointing out this gap in our related work discussion.
Positioning against the closest methods.
For utility-based scheduling, the closest prior work is Wu et al. and OMNI-THINKER. Wu et al. study gradient-proportional sampling against uniform sampling for multi-task RL post-training and find no consistent advantage, since large gradients do not reliably indicate larger learning gains. OMNI-THINKER estimates a backward-transfer matrix from single-task results and uses it to fix a task order before multi-task training begins. ASTOR instead operates at two levels: it uses reward variance and cross-task synergy to set task quotas, then prioritizes which prompts to train on, so both the task mix and the prompt mix keep adapting together as task relationships change during training.
For adaptive regularization, Distral is the closest related method, but it addresses a different coordination problem. Distral maintains a separate trainable policy for each task and a shared policy, using KL divergence to distill the task-specific policies into the shared one. ASTOR instead trains only one shared policy for all tasks, using task-specific adaptive KL coefficients to regulate each task's influence, so it adapts to task heterogeneity without the per-task policies and deployment cost Distral still requires.
Empirical comparison.
We address each of the three closest strategies above in turn.
(1) For Wu et al., Joint Learning follows their uniform task-sampling setting, which outperforms gradient-proportional scheduling in their experiments. We therefore use it as the corresponding baseline.
(2) For OMNI-THINKER, we add a BWT-guided curriculum on Qwen2.5-Coder-7B. We estimate a backward-transfer matrix from our single-task checkpoints and their cross-task evaluation results, then order tasks by greedy BWT-based linear ordering, giving the order Unit Test Generation, Code I/O, Code Generation, Commit Message Generation. All other training settings match our original Curriculum Learning baseline.
BWT-guided Curriculum performs similarly to the fixed order overall, 33.95 versus 33.10, differing on some tasks, for example, improving Code Generation but slightly lowering Unit Test Generation. This shows that a better task order shifts the cross-task trade-off rather than improving every task uniformly. It still remains far below ASTOR's 38.65, showing that a fixed order, however well chosen, cannot adapt to task relationships as they change during training.
(3) For Distral, a direct baseline is not applicable in our setting because it requires maintaining separate task-specific policies rather than a single shared policy. We therefore treat Distral as related work rather than a directly comparable baseline. Our ablation study on task-adaptive KL regularization in Section 3.3 demonstrates its effectiveness, since removing either the dynamic adjustment or the task-specific base coefficients degrades performance.
Methodological novelty and advantage.
ASTOR's contribution is not a single sampling rule or KL adjustment considered in isolation. It couples what to learn, which tasks and prompts to select for the next policy update, with how to learn, how to update the shared policy on the scheduled data. One online utility signal drives both decisions. The BWT-guided curriculum shows that a better fixed order is not enough on its own, and the KL ablations show that adapting regularization to task state adds further gains beyond that. Together they support that coordinating both decisions, rather than addressing either alone, is what drives ASTOR's improvement over the closest prior strategies.