CrossCodeBench: Benchmarking Cross-Task Generalization of Source Code Models
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
38 more
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2019Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examplescited by 312
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
- 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
- 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
- 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
- 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
- 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 106
- 2018Meta-Learning for Low-Resource Neural Machine Translationcited by 105
- 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
- 2021Language Models are Few-shot Multilingual Learnerscited by 92
- 2020The Turking Test: Can Language Models Understand Instructions?cited by 82
- 2020Learning from Task Descriptionscited by 78
- 2021Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Taskscited by 70
- 2022Is GitHub's Copilot as Bad as Humans at Introducing Vulnerabilities in Code?cited by 63
- 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
- 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 54
- 2019Few-Shot NLG with Pre-Trained Language Modelcited by 52
- 2019Investigating Meta-Learning Algorithms for Low-Resource Natural Language Understanding Taskscited by 48
- 2020Meta-learning for Few-shot Natural Language Processing: A Surveycited by 42
- 2020Language Models as Few-Shot Learner for Task-Oriented Dialogue Systemscited by 41
- 2021What do pre-trained code models know about code?cited by 36
- 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
Citing papers per year: 2023: 4; 2024: 1; 2025: 6; 2026: 5.
16 papers.
Sort:
By area:
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agentscited by 25
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 4
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Modelscited by 3
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Taskscited by 3
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptationcited by 1
4 more
- 2026Autoregressive, Yet Revisable: In Decoding Revision for Secure Code Generationcited by 1
- 2026Neurosymbolic Repo-level Code Localizationcited by 1
- 2025MetaLint: Easy-to-Hard Generalization for Code Lintingcited by 0
- 2026Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineeringcited by 0
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents20 May 2026
- 2026Neurosymbolic Repo-level Code Localization17 Apr 2026
- 2026Autoregressive, Yet Revisable: In Decoding Revision for Secure Code Generation1 Feb 2026
- 2026Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineering28 Jan 2026
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projects26 Sep 2025
- 2025MetaLint: Easy-to-Hard Generalization for Code Linting15 Jul 2025
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Tasks4 Jul 2025
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models10 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences14 Mar 2024
4 more
- 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understanding16 Nov 2023
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmaps8 Sep 2023
- 2023Fully Autonomous Programming with Large Language Models20 Apr 2023
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agentscited by 25
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Modelscited by 3
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents20 May 2026
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models10 Mar 2025
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 4
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Taskscited by 3
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptationcited by 1
- 2026Autoregressive, Yet Revisable: In Decoding Revision for Secure Code Generationcited by 1
- 2026Neurosymbolic Repo-level Code Localizationcited by 1
- 2025MetaLint: Easy-to-Hard Generalization for Code Lintingcited by 0
- 2026Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineeringcited by 0
- 2026Neurosymbolic Repo-level Code Localization17 Apr 2026
- 2026Autoregressive, Yet Revisable: In Decoding Revision for Secure Code Generation1 Feb 2026
- 2026Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineering28 Jan 2026
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projects26 Sep 2025
- 2025MetaLint: Easy-to-Hard Generalization for Code Linting15 Jul 2025
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Tasks4 Jul 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understanding16 Nov 2023
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmaps8 Sep 2023
- 2023Fully Autonomous Programming with Large Language Models20 Apr 2023