scimeatlas

Research map / Large language models / Agents, code and math

The Magic of IF: Investigating Causal Reasoning Abilities in Large Language Models of Code

Xiao Liu, Da Yin, Chen Zhang, Yansong Feng, Dongyan Zhao

ACL 2023Large language models › Agents, code and mathapproach: Inductive and abstract reasoning evaluationopen problems in this approach34 citations (OpenAlex)

Peking University · University of California, Los Angeles · State Key Laboratory of Media Convergence Production Technology and Systems · Beijing Institute for General Artificial Intelligence

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

14measured effects
10improved
2no clear effect
2hurt

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 Codex with code prompt instead of Davinci002 text promptCodex · ART abductiveBLEU-4: 4.9 -> 13.7Improved
use Codex with code prompt instead of Davinci002 text promptCodex · TimeTravel counterfactualBLEU-4: 49.0 -> 66.8Improved
use code prompt instead of text prompt (ablation)Codex · ART abductiveBLEU-4: 11.7 -> 13.7Improved
use code prompt instead of text prompt (ablation)Codex · TimeTravel counterfactualBLEU-4: 55.1 -> 66.8Improved
use code prompt instead of text prompt (ablation)Davinci002 · ART abductiveBLEU-4: 4.9 -> 6.7Improved
use code prompt instead of text prompt (ablation)Davinci002 · TimeTravel counterfactualBLEU-4: 49.0 -> 40.4Hurt
keep conditional structure rather than sequential structure (ablation)Codex code prompt · ART abductiveBLEU-4: 9.6 -> 13.7Improved
keep correct conditional structure rather than disrupted (ablation)Codex code prompt · TimeTravel counterfactualBLEU-4: 16.0 -> 66.8Improved
include task instruction (ablation)Codex code prompt · ART abductiveBLEU-4: 12.1 -> 13.7Improved
use meaningful rather than anonymous function names (ablation)Codex code prompt · ART abductiveBLEU-4: 15.1 vs 13.7No clear effect
change code format (class, print, return) or language (Java, C) (ablation)Codex code prompt · ART abductiveBLEU-4: 13.0 to 16.5No clear effect
use Java instead of Python (ablation)Codex code prompt · ART abductiveBLEU-4: 13.7 -> 16.5Improved

Open problems in inductive and abstract reasoning evaluation

Do LLM reasoning methods stay cheap and general outside synthetic, English, text-only tests?

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