ExPairT-LLM: Exact Learning for LLM Code Selection by Pairwise Queries
Not on the map. Why?
Abstract (arXiv)
Despite recent advances in LLMs, the task of code generation is still challenging. To cope, code selection algorithms select the best program from multiple programs generated by an LLM. However, existing algorithms can fail to identify the correct program, either because they can misidentify nonequivalent programs or because they rely on an LLM and assume it always correctly determines the output for every input. We present ExPairT-LLM, an exact learning algorithm for code selection that selects a program by posing to an LLM oracle two new types of queries: pairwise membership and pairwise equivalence. These queries are simpler for LLMs and enable ExPairT-LLM to identify the correct program through a tournament, which is robust to some LLM mistakes. We evaluate ExPairT-LLM on four popular code datasets. Its pass@1 (success rate) outperforms the state-of-the-art code selection algorithm on average by +13.0% and up to +27.1%. It also improves the pass@1 of LLMs performing complex reasoning by +24.0%.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 30 of its 60 references that are in the map. First posted on arXiv 13 Nov 2025.
Builds on
30 of 60 references.
References · 30
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
18 more
- 2023StarCoder: may the source be with you!cited by 799
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2022Is GPT-3 a Good Data Annotator?cited by 208
- 2024Large Language Models for Data Annotation and Synthesis: A Surveycited by 205
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 197
- 2023AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotatorscited by 172
- 2024Aligning with Human Judgement: The Role of Pairwise Preference in Large Language Model Evaluatorscited by 149
- 2022Natural Language to Code Translation with Executioncited by 124
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 111
- 2023Wider and Deeper LLM Networks are Fairer LLM Evaluatorscited by 94
- 2023Exploring the Use of Large Language Models for Reference-Free Text Quality Evaluation: An Empirical Studycited by 85
- 2022Coder Reviewer Reranking for Code Generationcited by 84
- 2015Simple, Robust and Optimal Ranking from Pairwise Comparisonscited by 70
- 2024Efficient LLM Comparative Assessment: a Product of Experts Framework for Pairwise Comparisonscited by 22
- 2015A Theory of Formal Synthesis via Inductive Learningcited by 17
- 2022Ranking with multiple types of pairwise comparisonscited by 5
- 2014Complexity of Equivalence and Learning for Multiplicity Tree Automatacited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Reward-Free Evolving Agents via Pairwise Validatorcited by 0
- 2026Reward-Free Evolving Agents via Pairwise Validator15 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Are you Synthesizing or Recalling? Evaluating LLMs on Algorithmic Code Retrieval
- 2025rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset
- 2025Evaluating the Generalization Capabilities of Large Language Models on Code Reasoning
- 2025LeetCodeDataset: A Temporal Dataset for Robust Evaluation and Efficient Training of Code LLMs
- 2025Evaluating and Improving Large Language Models for Competitive Program Generation
- 2024Mercury: A Code Efficiency Benchmark for Code Large Language Models
- 2025LLM Program Optimization via Retrieval Augmented Search
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation