AI Paper Atlas

Research map / Large language models / Retrieval and knowledge

Syntax-Aware Retrieval Augmented Code Generation

Xiangyu Zhang, Yu Zhou, Guang Yang, Taolue Chen

EMNLP 2023Large language models › Retrieval and knowledgeapproach: Retrieval-augmented reasoning30 citations (OpenAlex)

Nanjing University of Aeronautics and Astronautics · University of London

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

12measured effects
11improved
1hurt

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 syntax-aware token-level kNN retrievalBertranX · CoNaLa testBLEU: 34.18 -> 37.29Improved
add syntax-aware token-level kNN retrievalBertranX · CoNaLa testexact match: 5.8 -> 7.4Improved
add syntax-aware token-level kNN retrievalBertranX · Django testBLEU: 79.86 -> 83.20Improved
add retrieval noise filtering with syntax (ASDL) rules (ablation)kNN-TRANX · CoNaLa testBLEU: 36.51 -> 37.29Improved
add the confidence network (ablation)kNN-TRANX · CoNaLa testexact match: 5.8 -> 7.4Improved
use separate syntactic and semantic datastores (ablation)kNN-TRANX · CoNaLa testBLEU: 35.62 -> 37.29Improved
use separate syntactic and semantic datastores (ablation)kNN-TRANX · Django testBLEU: 80.74 -> 83.20Improved
use Krule=4, Kpri=64 instead of Krule=1, Kpri=1 (ablation)kNN-TRANX · CoNaLa testBLEU: 35.76 -> 37.29Improved
increase the datastore size (ablation)kNN-TRANX · CoNaLa and DjangoBLEU/CodeBLEUImproved
update datastore with 95k external mined data without changing model parameterskNN-TRANX† (both datastores) · CoNaLa incremental adaptationBLEU: 32.25 -> 34.04Improved
update only the semantic datastore instead of both (ablation)kNN-TRANX† with 95k data · CoNaLa incremental adaptationBLEU: 34.04 -> 33.89Hurt
use kNN-TRANX retrieval instead of kNN-MT-style retrievaldecoding · CoNaLa test decoding timems/code: 1258.4 -> 722.2Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

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