Few-shot training LLMs for project-specific code-summarization
Not on the map. Why?
Abstract (arXiv)
Very large language models (LLMs), such as GPT-3 and Codex have achieved state-of-the-art performance on several natural-language tasks, and show great promise also for code. A particularly exciting aspect of LLMs is their knack for few-shot and zero-shot learning: they can learn to perform a task with very few examples. Few-shotting has particular synergies in software engineering, where there are a lot of phenomena (identifier names, APIs, terminology, coding patterns) that are known to be highly project-specific. However, project-specific data can be quite limited, especially early in the history of a project; thus the few-shot learning capacity of LLMs might be very relevant. In this paper, we investigate the use few-shot training with the very large GPT (Generative Pre-trained Transformer) Codex model, and find evidence suggesting that one can significantly surpass state-of-the-art models for code-summarization, leveraging project-specific training.
Key facts. Cited by 128 papers in the map (data through 7 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 9 Jul 2022.
Builds on
17 of 25 references.
References · 17
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
5 more
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2021On the Evaluation of Neural Code Summarizationcited by 47
- 2021Multilingual training for Software Engineeringcited by 43
Built on by
Citing papers per year: 2022: 2; 2023: 29; 2024: 53; 2025: 28; 2026: 16.
128 papers.
Sort:
By area:
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Servingcited by 199
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 67
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2024A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Modelscited by 52
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 40
38 more
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
- 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 38
- 2024Can Large Language Models Understand Symbolic Graphics Programs?cited by 32
- 2024INMS: Memory Sharing for Large Language Model based Agentscited by 31
- 2024Source Code Summarization in the Era of Large Language Modelscited by 30
- 2023Better patching using LLM prompting, via Self-Consistencycited by 29
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
- 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 28
- 2024RMCBench: Benchmarking Large Language Models' Resistance to Malicious Codecited by 27
- 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generationcited by 25
- 2023A Comparative Analysis of Large Language Models for Code Documentation Generationcited by 24
- 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Codecited by 24
- 2024Applicability of Large Language Models and Generative Models for Legal Case Judgement Summarizationcited by 23
- 2024MECD: Unlocking Multi-Event Causal Discovery in Video Reasoningcited by 23
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
- 2024X-lifecycle Learning for Cloud Incident Management using LLMscited by 19
- 2024NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Promptscited by 19
- 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
- 2024Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Modelscited by 16
- 2023CADTalk: An Algorithm and Benchmark for Semantic Commenting of CAD Programscited by 15
- 2024DrugLLM: Open Large Language Model for Few-shot Molecule Generationcited by 15
- 2024EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuningcited by 15
- 2022Psychologically-informed chain-of-thought prompts for metaphor understanding in large language modelscited by 14
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
- 2023SecureFalcon: Are We There Yet in Automated Software Vulnerability Detection with LLMs?cited by 13
- 2023Unit Test Generation using Generative AI : A Comparative Performance Analysis of Autogeneration Toolscited by 13
- 2024Calibration of Large Language Models on Code Summarizationcited by 12
- 2023The potential of LLMs for coding with low-resource and domain-specific programming languagescited by 11
- 2024Studying LLM Performance on Closed- and Open-source Datacited by 11
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Taskscited by 11
- 2024Integrating Chemistry Knowledge in Large Language Models via Prompt Engineeringcited by 10
- 2024RepoMasterEval: Evaluating Code Completion via Real-World Repositoriescited by 10
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
- 2023Multilingual Code Co-Evolution Using Large Language Modelscited by 9
- 2023A Prompt Learning Framework for Source Code Summarizationcited by 9
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Eracited by 9
- 2024Measuring the Influence of Incorrect Code on Test Generationcited by 9
- 2025Zero-shot Meta-learning for Tabular Prediction Tasks with Adversarially Pre-trained Transformercited by 8
50 most cited of 128 All 128 (JSON)
- 2026CoSTAR: Data Synthesis-Driven Constraint-Aware COBOL Section Summarization for Legacy System Modernization10 Sep 2026
- 2026A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis7 Sep 2026
- 2026Transformer-Assisted LLM-Based Source Code Summarisation: to Enable More Secure Software Development23 Jul 2026
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generation15 Jul 2026
- 2026An Exploratory Study on LLM-Generated Code and Comments in Code Repositories2 Jul 2026
- 2026Agent4cs: A Multi-agent System for Code Summarization in Large Hierarchical Codebases1 Jul 2026
- 2026When Prompts Become Payloads: A Framework for Mitigating SQL Injection Attacks in Large Language Model-Driven Applications11 May 2026
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery27 Apr 2026
- 2026SpecPylot: Python Specification Generation using Large Language Models17 Apr 2026
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review16 Apr 2026
- 2026Does Pass Rate Tell the Whole Story? Evaluating Design Constraint Compliance in LLM-based Issue Resolution7 Apr 2026
- 2026AI-Driven Modular Services for Accessible Multilingual Education in Immersive Extended Reality Settings: Integrating Speech Processing, Translation, and Sign Language Rendering7 Apr 2026
38 more
- 2026AutoReSpec: A Framework for Generating Specification using Large Language Models4 Apr 2026
- 2026Precision in Practice: Knowledge Guided Code Summarizing Grounded in Industrial Expectations3 Feb 2026
- 2026SMc2f: Robust Scenario Mining for Robotic Autonomy from Coarse to Fine17 Jan 2026
- 2026SWaRL: Safeguard Code Watermarking via Reinforcement Learning5 Jan 2026
- 2025Toward Explaining Large Language Models in Software Engineering Tasks23 Dec 2025
- 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmap4 Dec 2025
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generation1 Nov 2025
- 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Execution9 Oct 2025
- 2025Multi Language Models for On-the-Fly Syntax Highlighting5 Oct 2025
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement4 Oct 2025
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Framework3 Oct 2025
- 2025Meta-RAG on Large Codebases Using Code Summarization4 Aug 2025
- 2025Evaluating LLMs on Sequential API Call Through Automated Test Generation13 Jul 2025
- 2025Synthetic Heuristic Evaluation: A Comparison between AI- and Human-Powered Usability Evaluation3 Jul 2025
- 2025Issue Retrieval and Verification Enhanced Supplementary Code Comment Generation17 Jun 2025
- 2025Advances in LLMs with Focus on Reasoning, Adaptability, Efficiency and Ethics14 Jun 2025
- 2025Contamination Means Overestimation? A Fine-Grained Empirical Study in Code Intelligence3 Jun 2025
- 2025SwiftEval: Developing a Language-Specific Benchmark for LLM-generated Code Evaluation30 May 2025
- 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code19 May 2025
- 2025MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versions13 Apr 2025
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarios16 Mar 2025
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Tasks15 Mar 2025
- 2025Commenting Higher-level Code Unit: Full Code, Reduced Code, or Hierarchical Code Summarization13 Mar 2025
- 2025ThrowBench: Benchmarking LLMs by Predicting Runtime Exceptions6 Mar 2025
- 2025Beyond Natural Language Perplexity: Detecting Dead Code Poisoning in Code Generation Datasets27 Feb 2025
- 2025Zero-shot Meta-learning for Tabular Prediction Tasks with Adversarially Pre-trained Transformer6 Feb 2025
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysis5 Feb 2025
- 2025An Analysis of LLM Fine-Tuning and Few-Shot Learning for Flaky Test Detection and Classification4 Feb 2025
- 2025Analysis of Student-LLM Interaction in a Software Engineering Project3 Feb 2025
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Traces29 Jan 2025
- 2025How well can LLMs Grade Essays in Arabic?27 Jan 2025
- 2025Towards Multimodal Metaphor Understanding: A Chinese Dataset and Model for Metaphor Mapping Identification5 Jan 2025
- 2024Enabling New HDLs with Agents31 Dec 2024
- 2024How Propense Are Large Language Models at Producing Code Smells? A Benchmarking Study25 Dec 2024
- 2024Selective Shot Learning for Code Explanation17 Dec 2024
- 2024MageBench: Bridging Large Multimodal Models to Agents5 Dec 2024
- 2024A Preliminary Study of Multilingual Code Language Models for Code Generation Task Using Translated Benchmarks23 Nov 2024
- 2024Prompting and Fine-tuning Large Language Models for Automated Code Review Comment Generation15 Nov 2024
50 newest of 128 All 128 (JSON)
- 2024INMS: Memory Sharing for Large Language Model based Agentscited by 31
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Taskscited by 11
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinementcited by 6
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Frameworkcited by 4
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generationcited by 4
- 2023Towards A Natural Language Interface for Flexible Multi-Agent Task Assignmentcited by 2
- 2025Evaluating LLMs on Sequential API Call Through Automated Test Generationcited by 2
- 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Executioncited by 2
- 2026Does Pass Rate Tell the Whole Story? Evaluating Design Constraint Compliance in LLM-based Issue Resolutioncited by 2
- 2026Agent4cs: A Multi-agent System for Code Summarization in Large Hierarchical Codebasescited by 1
- 2024Enabling New HDLs with Agentscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Agent4cs: A Multi-agent System for Code Summarization in Large Hierarchical Codebases1 Jul 2026
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery27 Apr 2026
- 2026Does Pass Rate Tell the Whole Story? Evaluating Design Constraint Compliance in LLM-based Issue Resolution7 Apr 2026
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generation1 Nov 2025
- 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Execution9 Oct 2025
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement4 Oct 2025
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Framework3 Oct 2025
- 2025Evaluating LLMs on Sequential API Call Through Automated Test Generation13 Jul 2025
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarios16 Mar 2025
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Tasks15 Mar 2025
- 2024Enabling New HDLs with Agents31 Dec 2024
- 2024INMS: Memory Sharing for Large Language Model based Agents15 Apr 2024
12 newest of 13 All 13 (JSON)
- 2023Better patching using LLM prompting, via Self-Consistencycited by 29
- 2024MECD: Unlocking Multi-Event Causal Discovery in Video Reasoningcited by 23
- 2022Psychologically-informed chain-of-thought prompts for metaphor understanding in large language modelscited by 14
- 2024AHP-Powered LLM Reasoning for Multi-Criteria Evaluation of Open-Ended Responsescited by 6
- 2024Exploring the Limits of Fine-grained LLM-based Physics Inference via Premise Removal Interventionscited by 3
- 2025Advances in LLMs with Focus on Reasoning, Adaptability, Efficiency and Ethicscited by 2
- 2025Advances in LLMs with Focus on Reasoning, Adaptability, Efficiency and Ethics14 Jun 2025
- 2024AHP-Powered LLM Reasoning for Multi-Criteria Evaluation of Open-Ended Responses2 Oct 2024
- 2024MECD: Unlocking Multi-Event Causal Discovery in Video Reasoning26 Sep 2024
- 2024Exploring the Limits of Fine-grained LLM-based Physics Inference via Premise Removal Interventions29 Apr 2024
- 2023Better patching using LLM prompting, via Self-Consistency31 May 2023
- 2022Psychologically-informed chain-of-thought prompts for metaphor understanding in large language models16 Sep 2022
- 2024MageBench: Bridging Large Multimodal Models to Agentscited by 6
- 2024MageBench: Bridging Large Multimodal Models to Agents5 Dec 2024
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 67
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2024A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Modelscited by 52
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 40
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
12 most cited of 103 All 103 (JSON)
- 2026A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis7 Sep 2026
- 2026Transformer-Assisted LLM-Based Source Code Summarisation: to Enable More Secure Software Development23 Jul 2026
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generation15 Jul 2026
- 2026An Exploratory Study on LLM-Generated Code and Comments in Code Repositories2 Jul 2026
- 2026SpecPylot: Python Specification Generation using Large Language Models17 Apr 2026
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review16 Apr 2026
- 2026AI-Driven Modular Services for Accessible Multilingual Education in Immersive Extended Reality Settings: Integrating Speech Processing, Translation, and Sign Language Rendering7 Apr 2026
- 2026AutoReSpec: A Framework for Generating Specification using Large Language Models4 Apr 2026
- 2026Precision in Practice: Knowledge Guided Code Summarizing Grounded in Industrial Expectations3 Feb 2026
- 2026SMc2f: Robust Scenario Mining for Robotic Autonomy from Coarse to Fine17 Jan 2026
- 2026SWaRL: Safeguard Code Watermarking via Reinforcement Learning5 Jan 2026
- 2025Toward Explaining Large Language Models in Software Engineering Tasks23 Dec 2025
12 newest of 103 All 103 (JSON)