scimeatlas

Research map / Large language models / Retrieval and knowledge

KnowCoder: Coding Structured Knowledge into LLMs for Universal Information Extraction

Zixuan Li, Yutao Zeng, Yuxin Zuo, Weicheng Ren, Wenxuan Liu, Miao Su, Yucan Guo, Yantao Liu, Xiang Li, Zhilei Hu, Long Bai, Wei Li and 5 more

ACL 2024Large language models › Retrieval and knowledgeapproach: Knowledge editing in LLMsopen problems in this approach123 citations (OpenAlex)

Chinese Academy of Sciences

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

14measured effects
9improved
2no clear effect
1hurt
2mixed

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 schema understanding phase (code pretraining)Llama-2-7B · NER few-shot (7-dataset average)F1: 30.9 -> 46.3 (+49.8% relative)Improved
add schema following (instruction tuning) phase (ablation)KnowCoder-7B · NER zero-shot (7 datasets)F1: w.o. SF drops by 46.1 to 70.8 F1 per datasetImproved
add schema understanding phase (ablation)KnowCoder-7B · NER zero-shot (7 datasets)F1: w.o. SU: -4.5 (AI), -3.1 (Music) but +1.6 (Movie), +0.6 (Litera.)Mixed
add negative class sampling (ablation)KnowCoder-7B · NER zero-shot (macro avg)F1: 50.4 -> 57.8 (-7.4 when removed)Improved
add fully negative sample construction (ablation)KnowCoder-7B · NER zero-shot (macro avg)F1: 55.7 -> 57.8 (-2.1 when removed)Improved
place import clause after the sentence (Sentence-First) instead of before or with whole definitions (ablation)KnowCoder schema understanding data · NER zero-shot (7 datasets)F1Improved
align dataset concept names to KnowCoder schema names (ablation)KnowCoder-7B · NER per-type F1F1: 81.35 -> 81.37No clear effect
add class methods for post-processing (ablation)KnowCoder-7B · NER (5 datasets)F1: 83.5 average, +1.0 F1Improved
use code-style prompt instead of IE-style prompt (ablation)KnowCoder-7B · ACE05 NERF1: 81.6 -> 82.4No clear effect
compare KnowCoder to UIE at 1% low-resource dataKnowCoder-7B · Low-resource 1% (average)F1: 42.0 -> 52.8Improved
fine-tune on more training data: KnowCoder gain over LLaMA2 shrinksKnowCoder-7B · Low-resource averageF1: +9.5 (1%), +6.3 (5%), +2.6 (10%) vs LLaMA2-7BMixed
apply KnowCoder zero-shot to REKnowCoder-7B · GIDS zero-shot REF1: 9.9 -> 25.5Improved

Later papers that compared with this method

2 later accepted papers report KnowCoder (7B) as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

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.

Open problems in knowledge editing in LLMs

Do knowledge editing and factuality methods hold up on larger models, closed models and real-world editing?

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