scimeatlas

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

CodeIE: Large Code Generation Models are Better Few-Shot Information Extractors

Peng Li, Tianxiang Sun, Qiong Tang, Hang Yan, Yuanbin Wu, Xuanjing Huang, Xipeng Qiu

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

Fudan University · East China Normal University

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

11measured effects
7improved
2no clear effect
1hurt
1mixed

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 code prompt instead of text promptCodex · 7 NER/RE benchmarks averageF1: 37.03 -> 42.78Improved
use code prompt instead of text promptGPT-3 · 7 NER/RE benchmarks averageF1: 32.65 -> 40.08Improved
use Codex instead of GPT-3 with code promptCodeIE · 7 NER/RE benchmarks averageF1: 40.08 -> 42.78Improved
prompt Codex with code instead of fine-tuning UIE-largeCodex · CoNLL03 (5-shot)Entity F1: 70.62 -> 82.32Improved
prompt Codex with code instead of fine-tuning UIE-large (ablation)Codex · SciERC (2-shot)Relation Strict F1: 7.30 -> 7.74Mixed
use func exec prompt design instead of func def (ablation)Codex · CoNLL03 (5-shot)Entity F1: 82.32 -> 84.05Improved
use class init prompt design instead of func def (ablation)Codex · CoNLL03 (5-shot)Entity F1: 82.32 -> 81.29No clear effect
use natural language prompt instead of structured language (ablation)GPT-3 · CoNLL03 (5-shot)Entity F1: 68.84 -> 46.36Hurt
use natural language prompt instead of structured language (ablation)GPT-3 · CoNLL04 (5-shot)Relation F1: 39.67 -> 40.90No clear effect
use code-style output format (measured via perplexity with CodeT5 vs T5)IE samples · perplexity on 7 datasetsperplexityImproved
use code prompt instead of text promptGPT-3 and Codex · structural error ratestructural error rateImproved

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