scimeatlas

Research map / Large language models / Retrieval and knowledge

RAR: Retrieval-augmented retrieval for code generation in low resource languages

Avik Dutta, Mukul Singh, Sumit Gulwani, Vu Le, Gust Verbruggen

EMNLP 2024Large language models › Retrieval and knowledgeapproach: RAG robustness and evaluationopen problems in this approach20 citations (OpenAlex)

Microsoft

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

13measured effects
7improved
1no clear effect
2hurt
3mixed

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
use RAR (dependent) grammar retrieval instead of CAPIR/best baselineRARD · OfficeScriptexecution match: 26.14% gain over best baseline (text); 70.49 vs 44.35 for M-FTImproved
use RAR dependent grammar retrieval instead of CAPIRRARD · Power Query M / Excelexecution match: +2.81% (M), +2% (Excel)Improved
use RARE example retrieval instead of TST/TSTR/MPTRARE · OfficeScript, M, Excelexecution match: 70.32 vs 69.04 (OS); 54.72 vs 50.94 (M); 46.00 vs 44.00 (Excel)Improved
fine-tune embeddings on documentation-only data (TST, TSTR vs MPT)TST/TSTR · OfficeScript, M, Excelexecution match: MPT 69.04 vs TST 52.95 / TSTR 60.37 (OfficeScript)Hurt
retrieve grammar via examples (RAR) instead of independentlyRetD · OfficeScript, M, Excelexecution match: -25% OS, -15% M, -4% Excel for independentImproved
combine grammar and examples in the promptRAR · OfficeScript, Mexecution match: +6% OfficeScript, +2% MImproved
add grammar to examplesRARE · Excel formulasexecution match: 46.00 -> 42.00 (RARE->D); 39.00 (RARD->E)Hurt
use RARD instead of RetD for grammar retrievalRARD · Grammar recall (OS, M, Excel)recall: 50.04 -> 76.36; 24.83 -> 67.16; 16.53 -> 82.86Improved
use both positive and negative influence (D+ and D-) instead of one (ablation)RARE→D · OfficeScriptexecution match: D+ 64.01, D- 69.98 -> D++D- 76.40Improved
use both positive and negative influence instead of one (ablation)RAR · Power Query Msketch vs execution match: sketch better for D-/E-, execution better for D+/E+Mixed
increase prompt token length (ablation)RAR · OfficeScript, Msketch/execution match: best around ~3000 tokensNo clear effect
use RAR with pre-trained or fine-tuned embeddings for the driver (ablation)RARD→E · OfficeScript, M, Excelexecution match: OS 71.67 -> 73.48 (pre-trained), 72.34 -> 76.01 (fine-tuned); Excel 38.00 -> 39.00Mixed

Open problems in RAG robustness and evaluation

When does retrieval help a language model, and when does it mislead it?

All 4 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