mlsanityData to 7 Oct 2026

Selective Left-Shift: Turning Test-Time Compute and Difficulty-based Curation into Training Data for Low-Resource Code Generation

arXiv 2607.07748 ↗First posted 8 Jul 2026cs.LGcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Large Language Models achieve strong code generation for high resource languages like Python and Java but suffer sharp performance drops on Low-Resource Programming Languages~(LRPLs) such as Julia. Improving Small Language Models~(SLMs) for these languages faces a trilemma: Supervised Fine-Tuning~(SFT) is bottlenecked by data scarcity, inference-time scaling is too expensive for deployment, and Reinforcement Learning from scratch yields near zero advantages. We propose a three-phase pipeline that resolves this trilemma by decoupling syntax acquisition from algorithmic reasoning. First, we left-shift inference-time compute to an offline data synthesis engine that uses iterative compiler and test feedback to generate verified training examples. Second, we fine-tune an SLM on this synthetic, verified data to embed strong syntactic priors. Third, we apply Reinforcement Learning with Verifiable Reward~(RLVR) grounded by language-agnostic Input/Output tests, where the SFT prior constrains exploration away from syntax errors. Applied to Qwen3-8B, our pipeline improves pass@1 by up to +7.6 points on MultiPL-E and +14.2 points on the Agnostics LiveCodeBench for Julia compared to SOTA results. Furthermore, the pipeline only used frac13 data and frac16 cost over the previous state-of-the-art. We further demonstrate that the pipeline generalizes to Ballerina achieving 49.7% MultiPL-E Pass@1, a language with near-zero pretraining representation. Ablations confirm that both the SFT phase and execution-grounded rewards are necessary for stable training.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 18 of its 34 references that are in the map. First posted on arXiv 8 Jul 2026.

Builds on

18 of 34 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer1 Oct
  2. 2025CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learning23 Jul
  3. 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Coding4 Mar
  4. 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings2 Jan
  5. 2024ReflectionCoder: Learning from Reflection Sequence for Enhanced One-off Code Generation27 May
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar

Other references · 12

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  5. 2022CodeT: Code Generation with Generated Testscited by 369
  6. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  7. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
  8. 2025Pangu Embedded: An Efficient Dual-system LLM Reasoner with Metacognitioncited by 61
  9. 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisationcited by 31
  10. 2025Hard Examples Are All You Need: Maximizing GRPO Post-Training Under Annotation Budgetscited by 16
  11. 2025Enhancing Code Generation for Low-Resource Languages: No Silver Bulletcited by 9
  12. 2025Bridging VLMs and Embodied Intelligence with Deliberate Practice Policy Optimizationcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Models
  2. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
  3. 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMs
  4. 2026CodeForge-MA: Execution-Verified Multi-Agent Learning with Language-Conditioned LoRA for Multilingual Code Generation
  5. 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
  6. 2025Replacing thinking with tool usage enables reasoning in small language models
  7. 2026Improving Small Language Models for Code Generation with Reinforcement Learning from Verification Feedback
  8. 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification