atlas

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

SAIL: Sample-Centric In-Context Learning for Document Information Extraction

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Data and evaluation methodology · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SAIL, a training-free sample-centric in-context learning method for document information extraction that selects per-sample layout-similar, entity-level text-similar, and document-level text-similar examples and fills a unified prompt template.

Problem

Training-free document information extraction from visually rich documents struggles with understanding layout-text relationships and with giving precise, model-agnostic guidance to LLMs via fixed in-context examples.

Approach

Select tailored demonstrations for each test sample using three similarity signals (document-level text via Sentence-BERT, entity-level text via nearest-neighbor entity search, and layout similarity via MSE on rendered box images), and place them in a unified ICL prompt template with an LLM-generated layout analysis step.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SAIL instead of ICL-D3IEGPT-3.5 DIE · CORDF1: 87.13 -> 95.80Helped
Use adaptive rather than fixed examples (ablation)GPT-3.5 SAIL · CORDF1: 82.35 -> 95.80Helped
Add layout-similar examples to document-level examples (ablation)GPT-3.5 SAIL · CORDF1: 92.13 -> 92.97Helped
Add entity-level similar examples to document-level examples (ablation)GPT-3.5 SAIL · CORDF1: 92.13 -> 92.51Helped
Add entity-level similar examples to document-level and layout examples (ablation)GPT-3.5 SAIL · FUNSDF1: 73.13 -> 83.48Helped
Add layout-similar examples to document-level and entity-level examples (ablation)GPT-3.5 SAIL · CORDF1: 92.51 -> 95.80Helped
Sort layout and text examples consistently, highest similarity first (ablation)GPT-3.5 SAIL · CORDF1: 94.73 -> 95.80Helped
Replace cosine layout comparison with MSE (ablation)GPT-3.5 SAIL · CORDF1: 94.73 -> 95.80Helped
Use cropped-image box coordinates instead of original-image boxes (ablation)GPT-3.5 SAIL · CORDF1: 95.11 -> 95.42Helped
Include box coordinates in entity-level demonstrations (ablation)GPT-3.5 SAIL · FUNSDF1: 79.43 -> 82.20Helped
Increase entity-level text examples from two to four (ablation)GPT-3.5 SAIL · FUNSDF1: 82.20 -> 83.48Helped
Reduce the example pool to 30 examples (ablation)GPT-3.5 SAIL · CORDF1: 95.80 -> 84.57Hurt

Surprising findings

Limitations

Experimental setup

Datasets: FUNSD CORD SROIE

Benchmarks: FUNSD CORD SROIE

Metrics: entity-level F1 precision recall

Baselines: ICL-D3IE Standard ICL BERT LiLT BROS XYLayoutLM LayoutLM LayoutLMv2 LayoutLMv3 GPT-4o LLaVA-v1.5-7B

Builds on: ICL-D3IE Sentence-BERT in-context learning

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