Abstract
Standard Transformer encoders often treat all tokens with uniform importance, leading to redundancy and difficulty in distinguishing core "backbone" information from peripheral details. This paper proposes Explicit and Implicit Text Compression (ETC and ITC) modules to help Transformers identify and focus on the most salient words. By integrating a "backbone" representation, these models achieve significant performance improvements in Machine Translation and Reading Comprehension tasks. We demonstrate that these methods not only improve accuracy but also enhance the model's resistance to shallow heuristics.
Introduction
While Transformers have revolutionized natural language processing through self-attention, they tend to treat all tokens with a relatively "flat" level of importance. In contrast, human readers naturally identify a "backbone"—the essential subject-verb-object structure—and use it as an anchor to understand complex sentences. Current encoders suffer from redundancy because semantically dominant words are treated similarly to less significant ones. This research addresses the challenge of explicitly teaching a neural network to "summarize" a sentence internally to improve downstream performance in tasks like translation and question answering.
Methodology
The researchers propose two primary frameworks for integrating text compression into the Transformer architecture: Explicit Text Compression (ETC) and Implicit Text Compression (ITC).
Explicit and Implicit Compression
- Explicit Text Compression (ETC): This approach utilizes a dedicated sequence-to-sequence model to generate a shortened, human-readable version of the input text. It can be implemented in a Pipeline manner (using a pre-trained summarizer) or a Joint manner (training the summarizer and the main model together).
- Implicit Text Compression (ITC): This novel approach uses a Fertility Predictor to identify important words and a Non-Autoregressive Transformer (NAT) decoder to create a compressed latent representation. Unlike ETC, ITC is fully differentiable and much faster due to its non-autoregressive nature, allowing for smoother end-to-end training.
Integration Strategies
The authors explored three fusion strategies to integrate the extracted "backbone" information:
- BEF (Encoder-side): Merging backbone features into the encoder.
- BDF (Decoder-side): Providing the backbone as additional context for the decoder.
- BBF (Both-side): Integrating features into both the encoder and decoder.
Experimental Setup
The models were evaluated across several high-profile benchmarks:
- Compression Training: Annotated Gigaword (sentence-level) and CNN/DailyMail (paragraph-level).
- Neural Machine Translation (NMT): WMT14 English-to-German (EN-DE) and English-to-French (EN-FR).
- Machine Reading Comprehension (MRC): SQuAD 2.0 and RACE.
- Analysis: MNLI and the HANS dataset, the latter specifically used to check if the model relies on shallow heuristics.
Key Results
The integration of text compression yielded substantial gains across all tasks:
- Machine Translation: On WMT14 EN-DE, the
+ITC Joint BBFmodel achieved 29.60 BLEU, significantly outperforming the base Transformer (27.3) and the Transformer-big baseline. - Reading Comprehension: Adding ETC/ITC to a BERT-base model improved the SQuAD 2.0 F1 score from 81.84 to 83.54. On the RACE dataset, it provided a consistent accuracy boost of approximately 1% across BERT and ALBERT baselines.
- Heuristic Resistance: Models aided by text compression showed improved performance on the HANS dataset, suggesting they were less likely to be "tricked" by simple lexical overlaps and instead relied on a deeper understanding of sentence structure.
Discussion and Conclusion
The paper formalizes the intuition that "backbone" words are underutilized by standard Transformers. By forcing the model to compress text, it learns a more robust hierarchy of importance. The ITC approach proved particularly effective for downstream tasks due to its differentiability and efficiency ($O(1)$ time complexity for the compression module).
Future work may explore applying these backbone-focused encodings to long-document tasks where identifying salient information is even more critical. While these methods add parameters (e.g., ~40M for the ITC module), the performance-to-cost ratio remains favorable for high-stakes NLP applications.
Summary updated