Papers › PRIMERA: Pyramid-based Masked Sentence Pre-training for Multi-document Summarization

PRIMERA: Pyramid-based Masked Sentence Pre-training for Multi-document Summarization

16 Oct 2021ACL 2022 5arXiv:2110.08499archive 2025-07-28

Wen Xiao, Iz Beltagy, Giuseppe Carenini, Arman Cohan

We introduce PRIMERA, a pre-trained model for multi-document representation with a focus on summarization that reduces the need for dataset-specific architectures and large amounts of fine-tuning labeled data. PRIMERA uses our newly proposed pre-training objective designed to teach the model to connect and aggregate information across documents. It also uses efficient encoder-decoder transformers to simplify the processing of concatenated input documents. With extensive experiments on 6 multi-document summarization datasets from 3 different domains on zero-shot, few-shot and full-supervised settings, PRIMERA outperforms current state-of-the-art dataset-specific and pre-trained models on most of these settings with large margins. The code and pre-trained models can be found at \url{https://github.com/allenai/PRIMER}.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2110.08499")

Code

Syntology Ran 4 of 7 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 4 samples from 1 repository, 4 ran; community (archive-listed): 3 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

allenai/primer officialmentioned in paperpytorch report
allenai/open-mds mentioned on GitHubpytorchApache-2.0 report
pwc-1/Paper-9 mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

7 samples harvested; 4 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
3unverified

Licence: 0 of the 7 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_src_tgt_with_mask allenai/primer/utils/pretrain_preprocess.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 84f33e1d3d0467ca · report
label_smoothed_nll_loss allenai/primer/script/primer_main.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 5e9a5fc2ab282ff2 · report
preprocessing_entities allenai/primer/utils/pretrain_preprocess.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 6585a560bafdc923 · report
select_sent_with_entities allenai/primer/utils/pretrain_preprocess.py official repository ran · honoured contract Apache-2.0 (permissive) · d91287c5691fce6c · report
sanitize_text allenai/open-mds/src/open_mds/common/util.py community (archive-listed) unverified Apache-2.0 (permissive) · 31e3adacd2841d84 · report
split_docs allenai/open-mds/src/open_mds/common/util.py community (archive-listed) unverified Apache-2.0 (permissive) · 94d3056000ccbb34 · report
unflatten allenai/open-mds/src/open_mds/common/util.py community (archive-listed) unverified Apache-2.0 (permissive) · bd497b6193ae78a7 · report

Tasks

Abstractive Text SummarizationDecoderDocument SummarizationMulti-Document SummarizationSentenceText Summarization

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Multi-Document Summarization Multi-News PRIMER ROUGE-1 49.9 #1 of 6 Archive leaderboard report
Multi-Document Summarization Multi-News PRIMER ROUGE-2 21.1 #1 of 6 Archive leaderboard report
Multi-Document Summarization Multi-News PRIMER ROUGE-L 25.9 #1 of 6 Archive leaderboard report
Multi-Document Summarization WCEP PRIMER ROUGE-1 46.1 #1 of 1 Archive leaderboard report
Multi-Document Summarization WCEP PRIMER ROUGE-2 25.2 #1 of 1 Archive leaderboard report
Multi-Document Summarization WCEP PRIMER ROUGE-L 37.9 #1 of 1 Archive leaderboard report
Text Summarization arXiv Summarization Dataset PRIMER ROUGE-1 47.6 #1 of 4 Archive leaderboard report
Text Summarization arXiv Summarization Dataset PRIMER ROUGE-2 20.8 #1 of 4 Archive leaderboard report
Text Summarization arXiv Summarization Dataset PRIMER ROUGE-L 42.6 #1 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamWAttentionAttention DropoutDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayLongformerMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections