Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

A Neural Attention Model for Abstractive Sentence Summarization

A neural attention model learns to write abstractive sentence summaries

  • Problem Abstractive sentence summarization, which may use wording absent from the input, was hard to build. Earlier systems relied on hand-built linguistic rules or syntactic transformations.
  • Method ABS trains a feed-forward neural language model with an attention-based input encoder on Gigaword headline pairs. Instead of a noisy-channel decomposition, it models each summary word directly given the input.
  • Results On DUC-2004, ABS shows significant gains over several strong baselines, reaching 26.55 ROUGE-1 against 25.12 for TOPIARY.

Abstractive sentence summarization as a scoring problem

Abstractive sentence summarization asks for a short sentence that may use wording absent from its input, rather than selecting spans of that input. Earlier systems handled this with linguistically inspired constraints or with syntactic transformations of the input, which ties them to hand-built linguistic structure. The question here is whether a neural model learned directly from article and summary pairs can produce abstractive headlines that score well against human references.

The task is treated as choosing an output sequence y of fixed length N that maximizes a score s(x, y) for the input x, and the output length is known before generation starts. To keep the search tractable, the score is factored into a sum of local terms, each depending on the input and on a window of previous summary words. \( s(x,y) \approx \sum_{i=0}^{N-1} g(y_{i+1}, x, y_c) \) Here y_c is the window of the C most recent summary words ending at position i.

Taking the score to be the log-probability of the summary given the input turns each local term into a conditional language model. The rest of the method is the parameterization of that local conditional distribution, which the model section defines with a neural network.

How the language model and the input encoder combine

The local distribution is a feed-forward neural language model with an extra encoder term that reads the input sentence. \( p(y_{i+1} \mid y_c, x; \theta) \propto \exp(Vh + W\,\mathrm{enc}(x, y_c)) \), where \( h = \tanh(U\tilde{y}_c) \) and \( \tilde{y}_c \) stacks the embeddings of the context words.

Without the encoder term the model is an ordinary language model, so the encoder is the only route by which the input reaches the output distribution. Training the encoder and the language model jointly is what lets the input shape the generated words. The parameters are E, U, V and W, where E is the word embedding matrix with D rows per vocabulary entry, and the hidden layer has size H.

The approach departs from the noisy-channel decomposition used in earlier summarization work and instead parameterizes the conditional distribution directly as a network.

Encoders that read the input

The simplest encoder averages learned embeddings of all input words with uniform weights, so it ignores word order and neighbouring words. Its form is \( \mathrm{enc}_1(x, y_c) = p^\top \tilde{x} \), with \( p \) uniform at \( 1/M \) and \( \tilde{x} = [Fx_1, \ldots, Fx_M] \).

A convolutional encoder addresses that by applying a time-delay network that alternates temporal convolutions with two-element max pooling and ends with a max over time. This lets the encoder capture local interactions between neighbouring input words without reading the generation context. The authors set L to 3 and Q to 2 on the validation set.

The attention-based encoder keeps the averaging form but replaces the uniform weights with weights computed from the embeddings of the summary context. \( p \propto \exp(\tilde{x} P \tilde{y}'_c) \), where \( \tilde{y}'_c \) stacks embeddings of the context words through a matrix G and P maps the context into the input embedding space. Input embeddings are first smoothed over a window controlled by Q before they are averaged with these weights.

Because the weights are recomputed at every summary position, the input representation follows the words generated so far, which is what the learned soft alignment provides.

Training on article-headline pairs

Training minimizes the negative log-likelihood of the training summaries given their inputs, summed over the training pairs and over summary positions. \( \mathrm{NLL}(\theta) = -\sum_{j=1}^{J} \sum_{i=1}^{N-1} \log p(y^{(j)}_{i+1} \mid x^{(j)}, y^{(j)}_c; \theta) \) The objective uses the gold-standard context at each position, and the authors mention predicting the context inside the objective only as an alternative.

Each training pair takes a Gigaword headline and the first sentence of its article, after filtering out pairs with no shared non-stop-words, bylines or extraneous editing marks, and titles with a question mark or colon. This leaves about 4 million title-article pairs. Words seen fewer than 5 times are replaced by UNK, and the input vocabulary has 110K word types against 69K in the headlines.

Mini-batch stochastic gradient descent with a learning rate of 0.05 and batches of 64 is used, with the learning rate halved when validation log-likelihood does not improve for an epoch. Minibatches are grouped by input length and the embedding tables are renormalized after each epoch. The hyperparameters D = 200, H = 400, C = 5, L = 3 and Q = 2 were set from the validation set, and the best validation accuracy came after 15 epochs, about 4 days of training on GPUs.

Beam search over the full vocabulary

Since the scoring has no hard alignment constraint, Viterbi decoding could find the exact optimum in \( O(NVC) \) time, but the vocabulary is large enough to make this impractical. A strictly greedy decoder is cheaper but picks locally.

The beam search keeps the full vocabulary and retains K hypotheses at each summary position, extending each hypothesis with every candidate word. Hypotheses whose context windows match are recombined so that only the higher-scoring one survives, and the K best are then kept. Because nothing forces each input word to be used exactly once, the search only moves left to right and needs no coverage bookkeeping.

The beam search runs in \( O(KNV) \) time, and the K hypotheses at each step are scored together as one mini-batch, which reduces the cost of the factor K in practice.

Extractive tuning after training

The abstractive model lacks a direct way to copy rare or unseen proper noun phrases from the input, which human references sometimes contain.

A log-linear score is defined over five features: the log-probability from the neural model, and indicators for unigram, bigram and trigram matches with the input together with an indicator for reordering of input words.

The neural parameters are fixed and α is tuned with minimum-error rate training against the summarization metric on tuning data, and the same tuning step is used for the phrase-based baseline. Setting α to the first unit vector recovers the standard ABS model, and the tuning data is DUC-2003.

Evaluation data and baselines

The DUC-2004 set has 500 news articles, each with four human reference summaries capped at 75 bytes, and it is used only for evaluation. The similarly sized DUC-2003 set was made available for tuning. Scores are ROUGE-1, ROUGE-2 and ROUGE-L.

Other baselines are the COMPRESS sentence compression model, the IR baseline that returns the title of the closest training article under BM-25, and MOSES+, a phrase-based system tuned against the capped ROUGE score. The W&L system is also reported, though the authors could not train the T3 system at scale. The REFERENCE row averages the agreement between human summarizers, whose best evaluator scores 31.7 ROUGE-1.

DUC-2004 and Gigaword results

ABS reached 26.55, 7.06 and 22.05, against 26.50, 8.13 and 22.85 for MOSES+ and 25.12, 6.46 and 20.12 for TOPIARY. ABS is therefore below MOSES+ on ROUGE-2 and ROUGE-L in this set, and the authors place the gain over TOPIARY mainly on those two metrics.

The authors report that ABS+ is significantly better than TOPIARY on all metrics at the default ROUGE confidence level, and better than MOSES+ on ROUGE-1 on DUC.

The authors report that ABS+ is significantly better than MOSES+ on ROUGE-1 and ROUGE-L on Gigaword.

On Gigaword the Ext % column is 91.5 for ABS+, 85.4 for ABS and 70.5 for MOSES+. The authors note that the extractive features bias the system toward keeping more input words, which helps the underlying metric.

Encoder and decoding ablations

Table 2 compares language models on the Gigaword validation set with context size C = 5, with perplexities of 183.2 for the KN-smoothed 5-gram, 145.9 for the feed-forward NNLM without an encoder, 43.6 for bag-of-words, 35.9 for the convolutional encoder and 27.1 for the attention-based encoder. Adding even the bag-of-words encoder brings perplexity below 50, and the attention-based encoder lowers it further.

These are language model perplexities, not summary scores, so the ablation isolates the encoders as language models.

The authors say the encoder choice and beam search have the largest effects, and that pure extraction is also effective on ROUGE.

Example outputs show the models picking out key names and places, but they sometimes reorder words so the subject is wrong, and the more inventive rewording of ABS can attach phrases incorrectly.

Limitations

Grammaticality is a weak point, because word reordering can produce syntactically incorrect output, and the authors name improving it in a data-driven way as future work. Output is far from human performance on this task.

The experiments cover only sentence-level summaries, and paragraph-level summaries are left to future work. A recurrent language model was not tried and is planned for future work.

The DUC-2004 comparison uses 500 articles, the Gigaword comparison uses one reference per article, and the extractive weights were tuned only on DUC-2003. The perplexity ablation uses validation data and the decoding ablation uses DUC-2003 development data.

Training conditions on gold-standard context, so the objective does not account for errors in the context the model generates at run time.

Paper info

Authors
Alexander M. Rush, Sumit Chopra, Jason Weston
Venue
arXiv · Preprint
First published
2015-9-2
Added
2026-11-12
Updated
2015-9-3
Version
v2
arXiv
1509.00685
Category
cs.CL · cs.AI
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Alexander M. Rush, Sumit Chopra, Jason Weston (2015). A Neural Attention Model for Abstractive Sentence Summarization. arXiv:1509.00685v2. https://arxiv.org/abs/1509.00685v2

BibTeX
@misc{rush2015neural,
  title = {{A Neural Attention Model for Abstractive Sentence Summarization}},
  author = {Alexander M. Rush and Sumit Chopra and Jason Weston},
  year = {2015},
  eprint = {1509.00685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1509.00685v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up