mlsanityData to 7 Oct 2026

Curriculum Learning for Small Code Language Models

arXiv 2407.10194 ↗First posted 14 Jul 2024cs.LG cs.AI cs.PLcited by 22

Not on the map. Why?

Abstract (arXiv)

Code language models have emerged as useful tools for various programming tasks, yet they often struggle when it comes to complex ones. In this paper, we explore the potential of curriculum learning in enhancing the performance of these models. While prior research has suggested that curriculum learning does not necessarily help in improving the performance of language models, our results surprisingly show that this may not be the case for code language models. We demonstrate that a well-designed curriculum learning approach significantly improves the accuracy of small decoder-only code language models on the task of code execution, while its effect on code completion is less significant. To explore the potential of curriculum learning, we train multiple GPT models with 1 million parameters each to predict the next token and evaluate them on code completion and execution tasks. Our contributions include proposing a novel code difficulty assessment metric by combining software code measures, investigating the effectiveness of Curriculum Learning for code language models, and introducing a Novel Curriculum Learning schedule that enhances the performance of small decoder-only language models in code execution tasks. The results of this paper open the door for more research on the use of curriculum learning for code language models.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 17 of its 30 references that are in the map. First posted on arXiv 14 Jul 2024.

Builds on

17 of 30 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  8. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  9. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  10. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  11. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  12. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
5 more
  1. 2020Shortformer: Better Language Modeling using Shorter Inputscited by 76
  2. 2021The Stability-Efficiency Dilemma: Investigating Sequence Length Warmup for Training GPT Modelscited by 36
  3. 2020Exploring Software Naturalness through Neural Language Modelscited by 32
  4. 2021Curriculum learning for language modelingcited by 32
  5. 2023Honey, I Shrunk the Language: Language Model Behavior at Reduced Scalecited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 15; 2026: 7.

22 papers.

Sort:

By area:

  1. 2025Online Difficulty Filtering for Reasoning Oriented Reinforcement Learningcited by 100
  2. 2025SPEED-RL: Faster Training of Reasoning Models via Online Curriculum Learningcited by 27
  3. 2025DeepRTL: Bridging Verilog Understanding and Generation with a Unified Representation Modelcited by 23
  4. 2025Mid-Training of Large Language Models: A Surveycited by 18
  5. 2025A Survey on LLM Mid-Trainingcited by 18
  6. 2025Bottom-up Domain-specific Superintelligence: A Reliable Knowledge Graph is What We Needcited by 12
  7. 2026CoBA-RL: Capability-Oriented Budget Allocation for Reinforcement Learning in LLMscited by 11
  8. 2025Revisiting Multilingual Data Mixtures in Language Model Pretrainingcited by 10
  9. 2025Fast Quiet-STaR: Thinking Without Thought Tokenscited by 5
  10. 2025Your Pretrained Model Tells the Difficulty Itself: A Self-Adaptive Curriculum Learning Paradigm for Natural Language Understandingcited by 3
  11. 2025Should Code Models Learn Pedagogically? A Preliminary Evaluation of Curriculum Learning for Real-World Software Engineering Taskscited by 1
  12. 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generationcited by 1
10 more
  1. 2026TAROT: Test-driven and Capability-adaptive Curriculum Reinforcement Fine-tuning for Code Generation with Large Language Modelscited by 1
  2. 2026Smooth Scaling Laws Hide Stepwise Token Learningcited by 1
  3. 2025SOAEsV2-7B/72B: Full-Pipeline Optimization for State-Owned Enterprise LLMs via Continual Pre-Training, Domain-Progressive SFT and Distillation-Enhanced Speculative Decodingcited by 0
  4. 2025Estimating the Effects of Sample Training Orders for Large Language Models without Retrainingcited by 0
  5. 2025Beyond Repetition: Text Simplification and Curriculum Learning for Data-Constrained Pretrainingcited by 0
  6. 2025Bandit Guided Submodular Curriculum for Adaptive Subset Selectioncited by 0
  7. 2026Learning to Solve Complex Problems via Dataset Decompositioncited by 0
  8. 2026Improving LLM Code Generation via Requirement-Aware Curriculum Reinforcement Learningcited by 0
  9. 2026FormulaSPIN: Self-Play Fine-Tuning for Natural Language to Spreadsheet Formula Generationcited by 0
  10. 2026DHRCL:Training Code LLMs with Dense Hierarchical Rewards and Curriculum Learningcited by 0