[Paper Review] Hierarchical Learning for Generation with Long Source Sequences
The paper introduces HAT (Hierarchical Attention Transformer), a hierarchical attention-based seq2seq model that processes long source sequences to improve generation tasks, achieving state-of-the-art ROUGE on multiple summarization datasets and gains in document-level translation. It also analyzes hierarchical attention and explores encoder-only pre-training.
One of the challenges for current sequence to sequence (seq2seq) models is processing long sequences, such as those in summarization and document level machine translation tasks. These tasks require the model to reason at the token level as well as the sentence and paragraph level. We design and study a new Hierarchical Attention Transformer-based architecture (HAT) that outperforms standard Transformers on several sequence to sequence tasks. Furthermore, our model achieves state-of-the-art ROUGE scores on four summarization tasks, including PubMed, arXiv, CNN/DM, SAMSum, and AMI. Our model outperforms document-level machine translation baseline on the WMT20 English to German translation task. We investigate what the hierarchical layers learn by visualizing the hierarchical encoder-decoder attention. Finally, we study hierarchical learning on encoder-only pre-training and analyze its performance on classification tasks.
Motivation & Objective
- Motivate and address challenges of processing long source sequences in seq2seq tasks (summarization and document-level translation).
- Propose a Hierarchical Attention Transformer (HAT) that adds sentence-level representations via a hierarchical encoder layer.
- Demonstrate state-of-the-art performance on long-sequence summarization benchmarks and document-level MT.
- Analyze what hierarchical attention learns and explore encoder-only hierarchical pre-training for classification tasks.
Proposed method
- Extend Transformer with a hierarchical encoder that attends to sentence-level BOS tokens to build sentence representations.
- Insert BOS tokens at sentence starts during preprocessing to enable sentence-level hierarchical attention.
- Add decoder-side attention to both token-level encoder outputs and BOS-based sentence representations.
- Pre-train on BART weights for non-hierarchical parts and randomly initialize hierarchical components; fine-tune on long-sequence generation tasks.
- Evaluate on long-sequence summarization (PubMed, arXiv, CNN/DM, XSum, SAMSum, AMI, ISCI) and document-level MT (WMT20 En-De, En-Cs, TED17 Zh-En).
- Perform encoder-only hierarchical pre-training and assess on SQuAD 2.0, MNLI-m, and RACE.
Experimental results
Research questions
- RQ1Can hierarchical attention improve generation when the source sequence is long (documents or multi-sentence inputs)?
- RQ2How does the hierarchical encoder influence decoder attention and generation quality?
- RQ3Does encoder-only hierarchical pre-training help classification tasks with long inputs?
- RQ4What insights can be gained by visualizing hierarchical encoder-decoder attention patterns?
Key findings
- The hierarchical model achieves state-of-the-art ROUGE on PubMed and arXiv summarization datasets.
- HAT-BART outperforms the plain seq2seq baseline on CNN/DailyMail and XSum summarization tasks.
- On SAMSum and AMI/ISCI, HAT variants achieve competitive or improved ROUGE scores relative to baselines.
- For document-level translation (WMT20 En-De), the hierarchical model outperforms the plain model, while gains are less clear on En-Cs and Zh-En.
- Encoder-only hierarchical pre-training yields faster convergence and improvements on RACE, with mixed results on SQuAD 2.0 and MNLI-m.
- Hierarchical attention shows diverse, layer-specific focus on sentence-level BOS embeddings, indicating useful sentence-level representations at different depths.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.