Research map / Architectures and efficiency / Attention and transformers
ERNIE-Doc: A Retrospective Long-Document Modeling Transformer
Siyu Ding, Junyuan Shang, Shuohuan Wang, Yu Sun, Hao Tian, Hua Wu, Haifeng Wang
Baidu
Read the paperPlace an idea next to itCheck your own paper ↗
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.
On benchmark leaderboards
- IMDB leaderboard accuracy 97.1 · rank 5 of 174 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| ERNIE-Doc enhanced recurrence in place of original recurrence | Transformer-XL Base · WikiText-103 | perplexity: 24.0 -> 21.0 | Improved |
| ERNIE-Doc enhanced recurrence in place of original recurrence | Transformer-XL Large · WikiText-103 | perplexity: 18.3 -> 16.8 | Improved |
| add segment-reordering objective (ablation) | ERNIE-Doc-Small · Hyperpartisan | F1: 84.60 -> 86.10 | Improved |
| add segment-reordering objective (ablation) | ERNIE-Doc-Small · TriviaQA | F1: 63.59 -> 64.56 | Improved |
| add retrospective feed mechanism (ablation) | ERNIE-Doc-Small · TriviaQA | F1: 63.38 -> 63.59 | Improved |
| add retrospective feed mechanism (ablation) | ERNIE-Doc-Small · Hyperpartisan | F1: 83.27 -> 84.60 | Improved |
| add enhanced recurrence mechanism (ablation) | ERNIE-Doc-Small · TriviaQA | F1: 61.09 -> 63.38 | Improved |
| add enhanced recurrence mechanism (ablation) | ERNIE-Doc-Small · Hyperpartisan | F1: 81.67 -> 83.27 | Improved |
| add segment-level recurrence (ablation) | ERNIE-Doc-Small · TriviaQA | F1: 58.35 -> 61.09 | Improved |
| add segment-level recurrence (ablation) | ERNIE-Doc-Small · Hyperpartisan | F1: 77.72 -> 81.67 | Improved |
| ERNIE-Doc instead of RoBERTa on mostly short documents | RoBERTa · IMDB | accuracy: 95.3 -> 96.1 | Improved |
| ERNIE-Doc-Large instead of XLNet-Large | XLNet-Large · IMDB | accuracy: 96.8 -> 97.1 | No clear effect |
Later papers that compared with this method
1 later accepted paper reports ERNIE-DOC-Large [640] as a baseline in their results tables; 0 of them report a better number on most of the results they share with it.
- Recurrent Memory Transformer (NeurIPS 2022 · better on 0 of 1 shared result)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.
- BigBird — Big Bird: Transformers for Longer Sequences (NeurIPS 2020) · better on 3 of 3 shared results
- Transformer-XL Base — Transformer-XL: Attentive Language Models beyond a Fixed-Length Context (ACL 2019) · better on 2 of 2 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 state space and recurrent sequence models
Do state space and recurrent models keep their efficiency and recall at large scale and long context?
- Experiments stop at small models, around 1.3B parameters or less. · 24 papers state it
- Theory covers simplified models, not the architectures used in practice. · 13 papers state it
- Kernels are naive or unoptimized, so speed gains are not realized. · 10 papers state it
Closest papers by meaning
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.88)
- In-Context Pretraining: Language Modeling Beyond Document Boundaries (ICLR 2024 · similarity 0.88)
- Adapting Pretrained Text-to-Text Models for Long Text Sequences (EMNLP 2023 · similarity 0.88)
- Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers (NeurIPS 2025 · similarity 0.88)
- NExtLong: Toward Effective Long-Context Training without Long Documents (ICML 2025 · similarity 0.87)
- Doc-to-LoRA: Learning to Instantly Internalize Contexts (ICML 2026 · similarity 0.86)
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.