Research map / Large language models / Retrieval and knowledge
Beyond the Surface: A Solution-Aware Retrieval Model for Competition-level Code Generation
Shiwen Zhang, Lingxiang Wang, Hainan Zhang, Ziwei Wang, Sijia Wen, Zhiming Zheng
Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing · Beihang University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- APPS leaderboard pass@1 26.1 · rank 7 of 14 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| retrieve reference problems and code with SolveRank | GPT-4o · xCodeEval D>2000 | Pass@1 (%): 13.89 -> 16.67 | Improved |
| retrieve reference problems and code with SolveRank | GPT-3.5 · xCodeEval D>2000 | Pass@1 (%): 5.56 -> 11.11 | Improved |
| retrieve with SolveRank on easy problems | GPT-4o · xCodeEval D<=1400 | Pass@1 (%): 80.18 -> 77.03 | Hurt |
| retrieve with SolveRank on easy problems | GPT-3.5 · xCodeEval D<=1400 | Pass@1 (%): 49.77 -> 40.54 | Hurt |
| retrieve with SolveRank on medium problems | GPT-4o · xCodeEval 1400<D<=2000 | Pass@1 (%): 36.90 -> 44.05 | Improved |
| retrieve with SolveRank on medium problems | GPT-3.5 · xCodeEval 1400<D<=2000 | Pass@1 (%): 10.71 -> 13.10 | Improved |
| use SolveRank instead of DPR for retrieval | GPT-4o · xCodeEval D>2000 | Pass@1 (%): 11.11 -> 16.67 | Improved |
| train retriever on synthetic solution-equivalent problems (SolveRank) instead of BM25 | retrieval ranking · synthetic solution-relevant problems, xCodeEval-python | MRR: 0.186 -> 0.755 | Improved |
| use SolveRank instead of DPR | retrieval ranking · synthetic solution-relevant problems, xCodeEval-python | MRR: 0.057 -> 0.755 | Improved |
| add SolveRank retrieval on a dataset with short, weakly narrative problems | code generation · APPS | Pass@1 (%): 24.3 -> 26.1 | Improved |
| retrieve reference code (RAG) for difficult problems | code generation LLM · xCodeEval difficult problems (>1400) | pass@1 (%): 30.00 -> 35.84 | Improved |
Open problems in retrieval-augmented reasoning
How can retrieval-augmented reasoning cut its extra LLM calls, storage and dependence on retrieval and LLM-built structures?
- Multi-step retrieval needs extra LLM calls and slows inference. · 22 papers state it
- Tested on English, or English and one other language, only. · 15 papers state it
- Graphs, trees and memories built by LLMs or parsers pass on their errors. · 12 papers state it
Closest papers by meaning
- CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming (NeurIPS 2025 · similarity 0.90)
- Idea First, Code Later: Disentangling Problem Solving from Code Generation in Evaluating LLMs for Competitive Programming (ACL 2026 · similarity 0.89)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.87)
- Planning in Natural Language Improves LLM Search for Code Generation (ICLR 2025 · similarity 0.86)
- CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval (CVPR 2026 · similarity 0.86)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.