scimeatlas

Research map / Large language models / Language, safety and interpretability

The impact of lexical and grammatical processing on generating code from natural language

Nathanaël Beau, Benoît Crabbé

ACL 2022Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach23 citations (OpenAlex)

Université de Paris · onepoint

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

13measured effects
10improved
2no clear effect
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 variable/list substitution (ablation)bi-LSTM, no grammar, no PN · CoNaLa devBLEU: 21.05 -> 31.17Improved
add variable/list substitution (ablation)bi-LSTM, no grammar, no PN · Django devBLEU: 42.58 -> 70.4Improved
add list replacement (ablation)full model · CoNaLa devBLEU: 30.66 -> 37.99Improved
use BERT encoder instead of bi-LSTM (ablation)models with substitution · CoNaLa devBLEU: about +6 marginal BLEUImproved
add BERT encoder (ablation)full model with grammar, PN · CoNaLa devBLEU: 32.86 -> 37.99Improved
add grammatical constraints (ablation)models with substitution · Django devBLEU: about equal (76.97 vs 76.32 with BERT)No clear effect
add grammatical constraints without substitution (ablation)models without substitution · CoNaLa devBLEU: 30.83 -> 25.88Hurt
add grammatical constraints (ablation)BERT + substitution + PN · CoNaLa devexact match accuracy: 5 -> 7.5Improved
add pointer network (ablation)models without substitution · Django devexact match accuracy: 26.86 -> 62.85Improved
add pointer network (ablation)models with substitution, no grammar · CoNaLa devBLEU: 31.17 -> 32.10No clear effect
add grammar (ablation)BERT + substitution · syntactic validity of outputpercent valid: 92% -> 100%Improved
add 100k mined examplesBERT + grammar + substitution + PN · CoNaLa devBLEU: 37.99 -> 39.01Improved

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

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