Task Specialization Fine-Tuning for Contextual Reinforcement Learning
On the map: Deep reinforcement learning methods → RL training of language and agent models
Abstract (arXiv)
Contextual Reinforcement Learning (CRL) seeks to generalize classical RL by maximizing task coverage across a context space of related tasks. While prior works often train from scratch and rely on either multi-task learning for a single policy or strategically training multiple policies, we advocate for a unified alternative: pretraining a single policy with good initial performance, followed by fine-tuning multiple policies for task specialization. This new paradigm, however, introduces unique challenges, such as heterogeneous marginal returns and sample inefficiency. This raises a critical research question: given a pretrained policy and a constrained budget, how much fine-tuning should each task region receive to enable sample-efficient CRL? To this end, we propose Task Specialization Fine-Tuning (TSFT), an online framework that predicts fine-tuning performance with a simple parametric model and exactly solves the resulting discrete budget allocation problem via integer linear programming. Extensive experiments across diverse decision domains, including combinatorial optimization, continuous control, and LLM fine-tuning, demonstrate that TSFT significantly outperforms baselines in task coverage and approaches oracle performance. Our work charts a new direction for model-based CRL, aligning with the modern pretrain-finetune era.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 50 of its 65 references that are in the map. First posted on arXiv 17 Aug 2026.
Builds on
50 of 65 references.
References · 50
- 2023GPT-4 Technical Reportcited by 18,396
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2023Let's Verify Step by Stepcited by 3,789
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
38 more
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2019Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learningcited by 1,204
- 2017A Survey on Multi-Task Learningcited by 840
- 2018Diversity is All You Need: Learning Skills without a Reward Functioncited by 752
- 2020AWAC: Accelerating Online Reinforcement Learning with Offline Datasetscited by 671
- 2018Attention, Learn to Solve Routing Problems!cited by 656
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2015Policy Distillationcited by 440
- 2019Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variablescited by 389
- 2019Which Tasks Should Be Learned Together in Multi-task Learning?cited by 375
- 2023Efficient Online Reinforcement Learning with Offline Datacited by 363
- 2020POMO: Policy Optimization with Multiple Optima for Reinforcement Learningcited by 348
- 2017Smart "Predict, then Optimize"cited by 339
- 2023Cal-QL: Calibrated Offline RL Pre-Training for Efficient Online Fine-Tuningcited by 237
- 2017Distral: Robust Multitask Reinforcement Learningcited by 233
- 2015Contextual Markov Decision Processescited by 220
- 2021Multi-Task Reinforcement Learning with Context-based Representationscited by 174
- 2023Foundation Models for Decision Making: Problems, Methods, and Opportunitiescited by 164
- 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 130
- 2020Hybrid Genetic Search for the CVRP: Open-Source Implementation and SWAP* Neighborhoodcited by 125
- 2017Markov Decision Processes with Continuous Side Informationcited by 56
- 2023Multi-Task Reinforcement Learning with Mixture of Orthogonal Expertscited by 49
- 2022Contextualize Me -- The Case for Context in Reinforcement Learningcited by 46
- 2022PaCo: Parameter-Compositional Multi-Task Reinforcement Learningcited by 46
- 2025CodeContests+: High-Quality Test Case Generation for Competitive Programmingcited by 46
- 2023SMART: Self-supervised Multi-task pretrAining with contRol Transformerscited by 44
- 2023Learning to Modulate pre-trained Models in RLcited by 28
- 2025Bigger, Regularized, Categorical: High-Capacity Value Functions are Efficient Multi-Task Learnerscited by 23
- 2022On the Effectiveness of Fine-tuning Versus Meta-reinforcement Learningcited by 19
- 2026SFT-then-RL Outperforms Mixed-Policy Methods for LLM Reasoningcited by 9
- 2024Model-Based Transfer Learning for Contextual Reinforcement Learningcited by 7
- 2023Temporal Transfer Learning for Traffic Optimization with Coarse-grained Advisory Autonomycited by 6
- 2025Out-of-Distribution Generalization with a SPARC: Racing 100 Unseen Vehicles with a Single Policycited by 5
- 2024Personalized Reinforcement Learning with a Budget of Policiescited by 4
- 2025Learning Policy Committees for Effective Personalization in MDPs with Diverse Taskscited by 4
- 2026Learning-guided Prioritized Planning for Lifelong Multi-Agent Path Finding in Warehouse Automationcited by 3
- 2026Structure Detection for Contextual Reinforcement Learningcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Can RL Improve Generalization of LLM Agents? An Empirical Study
- 2024AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformers
- 2025Multi-Task Reinforcement Learning Enables Parameter Scaling
- 2026Supervised Fine-Tuning versus Reinforcement Learning: A Study of Post-Training Methods for Large Language Models
- 2024Scrutinize What We Ignore: Reining In Task Representation Shift Of Context-Based Offline Meta Reinforcement Learning
- 2025Zero-Shot Context Generalization in Reinforcement Learning from Few Training Contexts
- 2025On the Generalization of SFT: A Reinforcement Learning Perspective with Reward Rectification
- 2026SFT Conflicts, RL Coexists: A Theoretical and Empirical Analysis of Multi-Task Learning for LLMs