mlsanityData to 7 Oct 2026

CrossCodeBench: Benchmarking Cross-Task Generalization of Source Code Models

arXiv 2302.04030 ↗First posted 8 Feb 2023cs.SE cs.AIcited by 16

Not on the map. Why?

Abstract (arXiv)

Despite the recent advances showing that a model pre-trained on large-scale source code data is able to gain appreciable generalization capability, it still requires a sizeable amount of data on the target task for fine-tuning. And the effectiveness of the model generalization is largely affected by the size and quality of the fine-tuning data, which is detrimental for target tasks with limited or unavailable resources. Therefore, cross-task generalization, with the goal of improving the generalization of the model to unseen tasks that have not been seen before, is of strong research and application value. In this paper, we propose a large-scale benchmark that includes 216 existing code-related tasks. Then, we annotate each task with the corresponding meta information such as task description and instruction, which contains detailed information about the task and a solution guide. This also helps us to easily create a wide variety of ``training/evaluation'' task splits to evaluate the various cross-task generalization capabilities of the model. Then we perform some preliminary experiments to demonstrate that the cross-task generalization of models can be largely improved by in-context learning methods such as few-shot learning and learning from task instructions, which shows the promising prospects of conducting cross-task learning research on our benchmark. We hope that the collection of the datasets and our benchmark will facilitate future work that is not limited to cross-task generalization.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 59 of its 76 references that are in the map. First posted on arXiv 8 Feb 2023.

Builds on

59 of 76 references.

References · 59

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2021Program Synthesis with Large Language Modelscited by 3,509
  9. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  10. 2016Matching Networks for One Shot Learningcited by 2,246
  11. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  12. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
38 more
  1. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  2. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  3. 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  5. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  6. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  7. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  8. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
  9. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  10. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  11. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  12. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  13. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  14. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  15. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  16. 2019Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examplescited by 312
  17. 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
  18. 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
  19. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  20. 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
  21. 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
  22. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  23. 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 106
  24. 2018Meta-Learning for Low-Resource Neural Machine Translationcited by 105
  25. 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
  26. 2021Language Models are Few-shot Multilingual Learnerscited by 92
  27. 2020The Turking Test: Can Language Models Understand Instructions?cited by 82
  28. 2020Learning from Task Descriptionscited by 78
  29. 2021Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Taskscited by 70
  30. 2022Is GitHub's Copilot as Bad as Humans at Introducing Vulnerabilities in Code?cited by 63
  31. 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
  32. 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 54
  33. 2019Few-Shot NLG with Pre-Trained Language Modelcited by 52
  34. 2019Investigating Meta-Learning Algorithms for Low-Resource Natural Language Understanding Taskscited by 48
  35. 2020Meta-learning for Few-shot Natural Language Processing: A Surveycited by 42
  36. 2020Language Models as Few-Shot Learner for Task-Oriented Dialogue Systemscited by 41
  37. 2021What do pre-trained code models know about code?cited by 36
  38. 2022SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representationscited by 35

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 1; 2025: 6; 2026: 5.

16 papers.

Sort:

By area:

  1. 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
  2. 2023Fully Autonomous Programming with Large Language Modelscited by 31
  3. 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agentscited by 25
  4. 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
  5. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  6. 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
  7. 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
  8. 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 4
  9. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  10. 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Modelscited by 3
  11. 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Taskscited by 3
  12. 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptationcited by 1
4 more
  1. 2026Autoregressive, Yet Revisable: In Decoding Revision for Secure Code Generationcited by 1
  2. 2026Neurosymbolic Repo-level Code Localizationcited by 1
  3. 2025MetaLint: Easy-to-Hard Generalization for Code Lintingcited by 0
  4. 2026Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineeringcited by 0