scimeatlas

Research map / Large language models / Retrieval and knowledge

Rewriting the Code: A Simple Method for Large Language Model Augmented Code Search

Haochen Li, Xin Zhou, Zhiqi Shen

ACL 2024Large language models › Retrieval and knowledgeapproach: Retrieval-augmented reasoningopen problems in this approach43 citations (OpenAlex)

Nanyang Technological University

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
5improved
1no clear effect
5hurt

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 changedWhereMeasuredEffect
Add code rewriting in the codebase (ReCo) on top of GARBM25 with GPT3.5 · MBPPMRR: 35.1 -> 70.8Improved
Add ReCo on top of GARUniXcoder fine-tuned · APPSMRR: 34.5 -> 58.1Improved
Add ReCo on top of GARCodeBERT fine-tuned · CoNaLaMRR: 88.6 -> 85.0Hurt
Add ReCo on top of GARUniXcoder zero-shot · APPSMRR: 13.2 -> 28.8Improved
Use only LLM-generated codes (drop original query and code) (ablation)UniXcoder + ReCo · APPS (fine-tuned)MRR: 48.8 -> 39.0Hurt
Use only LLM-generated codes (ablation)UniXcoder + ReCo · MBJP (zero-shot)MRR: 83.4 -> 78.1Hurt
Use Code Llama-7B instead of GPT3.5 as the LLM (ablation)BM25 + ReCo · CoNaLaMRR: 75.8 -> 14.2Hurt
Use Code Llama-34B instead of Code Llama-13B (ablation)BM25 + ReCo · CoNaLaMRR: 29.8 -> 20.4Hurt
Select the best exemplar code by CSSim instead of randomly (ablation)BM25 + GAR (Code Llama-7B) · MBPPMRR: 24.0 -> 26.8Improved
Select the best exemplar code by CodeBLEU/ROUGE-L/BLEU instead of randomly (ablation)BM25 + GAR (Code Llama-7B) · CoNaLa/MBPP/APPSMRR: MBPP 24.0 -> 25.1 / 23.7 / 24.0No clear effect
Generate more exemplar and rewritten codes (ablation)BM25 + ReCo · CoNaLa/MBPPMRRImproved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy