Research map / Large language models / Retrieval and knowledge
Example Quality Matters: Multi-Aspects Example Augmentation for Private Library Programming
Yuhao Li, Haifeng Sun, Xuesong Zhang, Shu Yao, Haoyu Zheng, Yuchuan Wang, Huazheng Wang, Zirui Zhuang, Qi Qi, Jianxin Liao, Jingyu Wang
Beijing University of Posts and Telecommunications · Shanghai Jiao Tong 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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add ComboPrompt-augmented examples instead of raw documentation examples | ChatGPT RAG · MonkeyEval | Pass@10 (%): 55.4 -> 60.4 | Improved |
| add ComboPrompt examples instead of Evor-code | ChatGPT RAG · MonkeyEval | Pass@1 (%): 27.9 -> 39.6 | Improved |
| add ComboPrompt examples | ChatGPT RAG · Ring | Pass@10 (%): 10.3 -> 23.2 | Improved |
| add ComboPrompt examples instead of DocPrompt | DeepSeek-R1 RAG · MonkeyEval | Pass@10 (%): 61.9 -> 61.9 | No clear effect |
| add ComboPrompt examples instead of DocPrompt | GPT-4o RAG · MonkeyEval | Pass@10 (%): 58.7 -> 54.6 | Hurt |
| add functional grouping for API selection (ablation) | ComboPrompt (ChatGPT) · MonkeyEval | Pass@10 (%): 50.5 -> 60.4 | Improved |
| add execution validation (correctness filter) (ablation) | ComboPrompt (ChatGPT) · MonkeyEval | Pass@10 (%): 53.4 -> 60.4 | Improved |
| add NOA complexity filter (ablation) | ComboPrompt (ChatGPT) · MonkeyEval | Pass@10 (%): 58.4 -> 60.4 | Improved |
| add code style refinement (ablation) | ComboPrompt (ChatGPT) · MonkeyEval | Pass@10 (%): 55.5 -> 60.4 | Improved |
| use moderate-complexity examples (NOA >= 3) over single-call examples (ablation) | ChatGPT/CodeGeex RAG · MonkeyEval / BeatNumEval | Pass@10 (%): +7.3-14.7% | Improved |
| use examples with NOA > 6 instead of NOA 5-6 (ablation) | RAG with example pool · MonkeyEval / BeatNumEval | Pass@10 (%): -2.2 to -5.2% | Hurt |
| add code comments to simple examples (ablation) | ChatGPT RAG · MonkeyEval | Pass@10 (%): 47.5 -> 55.4 | Improved |
Open problems in RAG robustness and evaluation
When does retrieval help a language model, and when does it mislead it?
- Only one answer-bearing document is handled. · 6 papers state it
- String-match metrics misjudge long or rephrased answers. · 6 papers state it
- Verbalized graph triples distort or drop facts. · 5 papers state it
Closest papers by meaning
- When Language Model Meets Private Library (EMNLP 2022 · similarity 0.88)
- SRACG: A Code Generation Framework with Selective Retrieval Augmentation (AAAI 2026 · similarity 0.87)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.85)
- Can LLM Replace Stack Overflow? A Study on Robustness and Reliability of Large Language Model Code Generation (AAAI 2024 · similarity 0.85)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.84)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.84)
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.