Papers › Text Summarization with Pretrained Encoders

Text Summarization with Pretrained Encoders

22 Aug 2019IJCNLP 2019 11arXiv:1908.08345archive 2025-07-28

Yang Liu, Mirella Lapata

Bidirectional Encoder Representations from Transformers (BERT) represents the latest incarnation of pretrained language models which have recently advanced a wide range of natural language processing tasks. In this paper, we showcase how BERT can be usefully applied in text summarization and propose a general framework for both extractive and abstractive models. We introduce a novel document-level encoder based on BERT which is able to express the semantics of a document and obtain representations for its sentences. Our extractive model is built on top of this encoder by stacking several inter-sentence Transformer layers. For abstractive summarization, we propose a new fine-tuning schedule which adopts different optimizers for the encoder and the decoder as a means of alleviating the mismatch between the two (the former is pretrained while the latter is not). We also demonstrate that a two-staged fine-tuning approach can further boost the quality of the generated summaries. Experiments on three datasets show that our model achieves state-of-the-art results across the board in both extractive and abstractive settings. Our code is available at https://github.com/nlpyang/PreSumm

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="1908.08345")

Code

Syntology Ran 7 of 21 code samples harvested from 4 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 5 ran with no contract checked.

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

19 repositories listed; official and paper-mentioned ones first.

nlpyang/PreSumm officialmentioned in papermentioned on GitHubpytorchMIT report
BonanKou/ASSORT-Automatic-Summarization-of-Stack-Overflow-Posts mentioned on GitHubpytorchnot reachable when probed 2026-09-17 — repositories for recent papers often appear after camera-ready report
aikawasho/BertSum mentioned on GitHubpytorchApache-2.0 report
alebryvas/berk266 mentioned on GitHubpytorch report
buschmo/Simple-German-Corpus mentioned on GitHubMIT report
chesterdu/contrastive_summary mentioned on GitHubpytorch report
ionnoant/DS8008-final-project mentioned on GitHubpytorch report
manshri/tesum mentioned on GitHubpytorch report
nachotp/BertCommentSum mentioned on GitHubpytorchMIT report
nakhunchumpolsathien/TR-TPBS mentioned on GitHubMIT report
nguyenphamvan/BertSum-master mentioned on GitHubpytorchApache-2.0 report
olivia-fsm/p2mcq mentioned on GitHubpytorch report
raqoon886/KoBertSum mentioned on GitHubpytorchApache-2.0 report
raqoon886/KorBertSum mentioned on GitHubpytorchApache-2.0 report
thangarani/bertsum mentioned on GitHubpytorchApache-2.0 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

21 samples harvested; 7 ran; 0 honoured the contract we drafted; 14 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 · violated contract
1ran · our draft was wrong
5ran
14unverified

Licence: 0 of the 21 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 4 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.

all_gather_list aikawasho/BertSum/src/distributed.py community (archive-listed) ran Apache-2.0 (permissive) · 66575e439195e14f · report
gelu aikawasho/BertSum/src/models/neural.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 8d23fbe2b99b840b · report
has_repeat nachotp/BertCommentSum/src/post_stats.py community (archive-listed) ran fingerprinted MIT (permissive) · 7b7669755eae20fe · report
is_master aikawasho/BertSum/src/distributed.py community (archive-listed) ran Apache-2.0 (permissive) · b80220994c939e73 · report
n_grams nachotp/BertCommentSum/src/post_stats.py community (archive-listed) ran MIT (permissive) · c3fcc4e906d8ecbd · report
rouge_results_to_str nachotp/BertCommentSum/src/cal_rouge.py community (archive-listed) ran MIT (permissive) · 14b39c4dc7a42e40 · report
str2bool aikawasho/BertSum/src/preprocess.py community (archive-listed) ran · violated contract Apache-2.0 (permissive) · f017532fc389cbfe · report
abs_batch_size_fn nachotp/BertCommentSum/src/models/data_loader.py community (archive-listed) unverified MIT (permissive) · cb2c65cc6a650510 · report
build_optim aikawasho/BertSum/src/models/optimizers.py community (archive-listed) unverified Apache-2.0 (permissive) · 89e1b4954fded05b · report
do_lang raqoon886/KoBertSum/etri_api_scraper.py community (archive-listed) unverified Apache-2.0 (permissive) · fb387cc02110edc9 · report
ext_batch_size_fn nachotp/BertCommentSum/src/models/data_loader.py community (archive-listed) unverified MIT (permissive) · 4edda4f9c7e44864 · report
filter_block buschmo/Simple-German-Corpus/crawler/behindertenbeauftragter.py community (archive-listed) unverified MIT (permissive) · 6bc82fffb9e77ab0 · report
filter_block buschmo/Simple-German-Corpus/crawler/lebenshilfe-main-taunus.py community (archive-listed) unverified MIT (permissive) · df8c172aa741302c · report
filter_block buschmo/Simple-German-Corpus/crawler/mdr.py community (archive-listed) unverified MIT (permissive) · e74356a89322313d · report
filter_tags buschmo/Simple-German-Corpus/crawler/apotheken-umschau.py community (archive-listed) unverified MIT (permissive) · a6651b36de04cfe7 · report
filter_tags buschmo/Simple-German-Corpus/crawler/behindertenbeauftragter.py community (archive-listed) unverified MIT (permissive) · b963a35f0560927f · report
filter_tags buschmo/Simple-German-Corpus/crawler/lebenshilfe-main-taunus.py community (archive-listed) unverified MIT (permissive) · 2a94402defe535b8 · report
filter_tags buschmo/Simple-German-Corpus/crawler/mdr.py community (archive-listed) unverified MIT (permissive) · b2aea9aceaec6cbf · report
init_logger aikawasho/BertSum/src/others/logging.py community (archive-listed) unverified Apache-2.0 (permissive) · e317b188410c9032 · report
simple_batch_size_fn aikawasho/BertSum/src/models/data_loader.py community (archive-listed) unverified Apache-2.0 (permissive) · ab84694a81d67283 · report
use_gpu aikawasho/BertSum/src/models/optimizers.py community (archive-listed) unverified Apache-2.0 (permissive) · 9f20e41fbfe40651 · report

Tasks

Abstractive Text SummarizationDecoderDocument SummarizationExtractive Document SummarizationExtractive Text SummarizationSentenceText Summarization

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Abstractive Text Summarization CNN / Daily Mail BertSumExtAbs ROUGE-1 42.13 #27 of 53 Archive leaderboard report
Abstractive Text Summarization CNN / Daily Mail BertSumExtAbs ROUGE-2 19.6 #27 of 53 Archive leaderboard report
Abstractive Text Summarization CNN / Daily Mail BertSumExtAbs ROUGE-L 39.18 #27 of 53 Archive leaderboard report
Document Summarization CNN / Daily Mail BertSumExt ROUGE-1 43.85 #9 of 26 Archive leaderboard report
Document Summarization CNN / Daily Mail BertSumExt ROUGE-2 20.34 #9 of 26 Archive leaderboard report
Document Summarization CNN / Daily Mail BertSumExt ROUGE-L 39.9 #9 of 26 Archive leaderboard report
Text Summarization X-Sum BertSumExtAbs ROUGE-1 38.81 #8 of 18 Archive leaderboard report
Text Summarization X-Sum BertSumExtAbs ROUGE-2 16.50 #8 of 18 Archive leaderboard report
Text Summarization X-Sum BertSumExtAbs ROUGE-3 31.27 #8 of 18 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

Absolute Position EncodingsAdamAttentionAttention DropoutBERTBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionPosition-Wise Feed-Forward LayerReLUResidual ConnectionSoftmaxTransformerWeight 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