mlsanityData to 14 Oct 2026

Should Code Models Learn Pedagogically? A Preliminary Evaluation of Curriculum Learning for Real-World Software Engineering Tasks

arXiv 2502.03806 ↗First posted 6 Feb 2025cs.SE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Learning-based techniques, especially advanced pre-trained models for code have demonstrated capabilities in code understanding and generation, solving diverse software engineering (SE) tasks. Despite the promising results, current training approaches may not fully optimize model performance, as they typically involve learning from randomly shuffled training data. Recent work shows that Curriculum Learning (CL) can improve performance on code-related tasks through incremental learning based on the difficulty of synthetic code. Yet, the effectiveness of CL with conventional difficulty measures in SE tasks remains largely unexplored. In this study, we explore two conventional code metrics: code length and cyclomatic complexity to determine the difficulty levels. We investigate how the pre-trained code model (CodeT5) learns under CL, through the tasks of code clone detection and code summarization. Our empirical study on the CodeXGLUE benchmark showed contrasting results to prior studies, where the model exhibited signs of catastrophic forgetting and shortcut learning. Surprisingly, model performance saturates after only the first quartile of training, potentially indicating a limit in the model's representation capacity and/or the task's inherent difficulty. Future work should further explore various CL strategies with different code models across a wider range of SE tasks for a more holistic understanding.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 29 references that are in the map. First posted on arXiv 6 Feb 2025.

Builds on

16 of 29 references.

References · 16

  1. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  5. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  6. 2017Automated Curriculum Learning for Neural Networkscited by 257
  7. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
  8. 2019Competence-based Curriculum Learning for Neural Machine Translationcited by 202
  9. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
  10. 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 108
  11. 2022Shortcut Learning of Large Language Models in Natural Language Understandingcited by 85
  12. 2019Toward Understanding Catastrophic Forgetting in Continual Learningcited by 68
4 more
  1. 2023Code Execution with Pre-trained Language Modelscited by 34
  2. 2021Bridging Pre-trained Models and Downstream Tasks for Source Code Understandingcited by 28
  3. 2024Curriculum Learning for Small Code Language Modelscited by 22
  4. 2024Investigating the Efficacy of Large Language Models for Code Clone Detectioncited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.