mlsanityData to 7 Oct 2026

Functional Overlap Reranking for Neural Code Generation

arXiv 2311.03366 ↗First posted 16 Oct 2023cs.SE cs.AI cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Code Large Language Models (CodeLLMs) have ushered in a new era in code generation advancements. However, selecting the best code solutions from all possible CodeLLM outputs remains a challenge. Previous methods often overlooked the intricate functional similarities and interactions between solution clusters. We introduce SRank, a novel reranking strategy for selecting the best solutions from code generation, focusing on modeling the relationships between clusters of solutions. By quantifying the functional overlap between solution clusters, our approach provides a better ranking strategy for code solutions. Empirical results show that our method achieves remarkable results on the pass@1 score. For instance, on the Human-Eval benchmark, we achieve 69.66% in pass@1 with Codex002, 75.31% with WizardCoder, 53.99% with StarCoder, and 60.55% with CodeGen, surpassing state-of-the-art code generation reranking methods such as CodeT and Coder-Reviewer on the same CodeLLM by a significant margin (approximately 6.1% improvement on average). Even in scenarios with a limited number of sampled solutions and test cases, our approach demonstrates robustness and superiority, marking a new benchmark in code generation reranking. Our implementation can be found at https://github.com/FSoft-AI4Code/SRank-CodeRanker.

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

Builds on

27 of 45 references.

References · 27

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2020Scaling Laws for Neural Language Modelscited by 6,411
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  9. 2018Hierarchical Neural Story Generationcited by 1,182
  10. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  11. 2021Measuring Coding Challenge Competence With APPScited by 879
  12. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
15 more
  1. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  2. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  3. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
  4. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  5. 2022CodeT: Code Generation with Generated Testscited by 369
  6. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  7. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  8. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
  9. 2022Natural Language to Code Translation with Executioncited by 122
  10. 2022Coder Reviewer Reranking for Code Generationcited by 83
  11. 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
  12. 2022SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representationscited by 35
  13. 2021How could Neural Networks understand Programs?cited by 26
  14. 2023CodeTF: One-stop Transformer Library for State-of-the-art Code LLMscited by 21
  15. 2023Better Language Models of Code through Self-Improvementcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 3.

9 papers.