AI Paper Atlas

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

Language Models of Code are Few-Shot Commonsense Learners

Aman Madaan, Shuyan Zhou, Uri Alon, Yiming Yang, Graham Neubig

EMNLP 2022Large language models › Language, safety and interpretabilityapproach: Controlled text generation293 citations (OpenAlex)

Carnegie Mellon University

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

15measured effects
10improved
1no clear effect
4hurt

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 a code prompt (Python class) instead of a text prompt (ablation)Codex · ExplaGraphs evalSeCA / StCA: StCA 38.02 -> 45.20; SeCA 18.23 -> 23.74Improved
use a code prompt instead of a text prompt (ablation)Codex · ProScript edge predictionF1: 44.47 -> 56.52Improved
use a code prompt instead of a text prompt (ablation)davinci · ExplaGraphs evalSeCA: 7.14 -> 15.37 (StCA 33.16 -> 33.00)Improved
use a code prompt instead of a text prompt (ablation)davinci · ProScript edge predictionF1: 43.06 -> 49.3Improved
use a code LM (Codex) instead of NL LM (davinci) with code prompt (ablation)Python prompt · ProScript edge predictionF1: 49.3 -> 56.52Improved
use CoCoGen (15 examples) instead of fine-tuned T5 on full datascript generation · ProScript script generationBLEU: 23.80 -> 25.24Improved
use CoCoGen (15 examples) instead of T5 fine-tuned on 4kedge prediction · ProScript edge predictionF1: 75.72 (T5 4k) vs 56.24Hurt
use CoCoGen (30 examples) instead of T5 fine-tuned on 1500T5 · ExplaGraphs evalStCA: 38.19 -> 45.20Improved
use CoCoGen (30 examples) instead of T5 fine-tuned on 2500T5 · ExplaGraphs evalSeCA: 29.65 (T5 2500) vs 23.74Hurt
use CoCoGen instead of davincidavinci · ProPara 3-shotF1: 58.0 -> 63.0Improved
add knowledge-similarity tuning retriever for dynamic prompts (ablation)CoCoGen · ProScript edge predictionF1: 56.52 -> 65.71Improved
add knowledge-similarity tuning retriever for dynamic prompts (ablation)CoCoGen · ExplaGraphs evalStCA: 45.2 -> 37.47Hurt

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