Papers › HydraSum: Disentangling Stylistic Features in Text Summarization using Multi-Decoder Models

HydraSum: Disentangling Stylistic Features in Text Summarization using Multi-Decoder Models

8 Oct 2021arXiv:2110.04400archive 2025-07-28

Tanya Goyal, Nazneen Fatema Rajani, Wenhao Liu, Wojciech Kryściński

Summarization systems make numerous "decisions" about summary properties during inference, e.g. degree of copying, specificity and length of outputs, etc. However, these are implicitly encoded within model parameters and specific styles cannot be enforced. To address this, we introduce HydraSum, a new summarization architecture that extends the single decoder framework of current models to a mixture-of-experts version with multiple decoders. We show that HydraSum's multiple decoders automatically learn contrasting summary styles when trained under the standard training objective without any extra supervision. Through experiments on three summarization datasets (CNN, Newsroom and XSum), we show that HydraSum provides a simple mechanism to obtain stylistically-diverse summaries by sampling from either individual decoders or their mixtures, outperforming baseline models. Finally, we demonstrate that a small modification to the gating strategy during training can enforce an even stricter style partitioning, e.g. high- vs low-abstractiveness or high- vs low-specificity, allowing users to sample from a larger area in the generation space and vary summary styles along multiple dimensions.

PaperPDFCodeCode 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.04400")

Code

Syntology Ran 0 of 9 code samples harvested from 1 repository linked to this paper; 9 have no recorded run.

By repository: official repository: 9 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.

salesforce/hydra-sum officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause 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

9 samples harvested; 0 ran; 0 honoured the contract we drafted; 9 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.

9unverified

Licence: 0 of the 9 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 salesforce/hydra-sum. “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.

compute_accuracy_score salesforce/hydra-sum/modelling/train_seq2seq.py official repository unverified BSD-3-Clause (permissive) · 609763ac0cecc7ee · report
convert_examples_to_features salesforce/hydra-sum/modelling/train_seq2seq_utils.py official repository unverified BSD-3-Clause (permissive) · 1b019761ed7a2bd0 · report
convert_examples_to_features_pegasus salesforce/hydra-sum/modelling/train_seq2seq_utils.py official repository unverified BSD-3-Clause (permissive) · 397bbbe7fee1493e · report
get_examples salesforce/hydra-sum/modelling/train_seq2seq_utils.py official repository unverified BSD-3-Clause (permissive) · 1b2cef5d2e4a09bb · report
get_extractive_coverage salesforce/hydra-sum/postprocessing/extractive_fragments_utils.py official repository unverified BSD-3-Clause (permissive) · b61cdc748ec6ff41 · report
get_extractive_fragments salesforce/hydra-sum/postprocessing/extractive_fragments_utils.py official repository unverified BSD-3-Clause (permissive) · 94735fc7331c68ce · report
get_fragment_density salesforce/hydra-sum/postprocessing/extractive_fragments_utils.py official repository unverified BSD-3-Clause (permissive) · 0c36571d6b1304c6 · report
get_overlap salesforce/hydra-sum/postprocessing/lexical_overlap.py official repository unverified BSD-3-Clause (permissive) · be2b77546711701c · report
get_overlap_file salesforce/hydra-sum/postprocessing/lexical_overlap.py official repository unverified BSD-3-Clause (permissive) · 6ff04903ffe27357 · report

Tasks

Abstractive Text SummarizationDecoderMixture-of-ExpertsSpecificityText Summarization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionBARTBPEDense ConnectionsDropoutLayer NormalizationLinear LayerMulti-Head AttentionResidual ConnectionSoftmax

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