Lune

EMNLP Findings2020

Guiding Attention for Self-Supervised Learning with Transformers

Ameet Deshpande, Karthik Narasimhan

Abstract

In this paper, we propose a simple and effective technique to allow for efficient selfsupervised learning with bi-directional Transformers. Our approach is motivated by recent studies demonstrating that self-attention patterns in trained models contain a majority of non-linguistic regularities. We propose a computationally efficient auxiliary loss function to guide attention heads to conform to such patterns. Our method is agnostic to the actual pretraining objective and results in faster convergence of models as well as better performance on downstream tasks compared to the baselines, achieving state of the art results in lowresource settings. Surprisingly, we also find that linguistic properties of attention heads are not necessarily correlated with language modeling performance. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Blockwise Self-Attention for Long Document Understanding cites Reformer: The Efficient Transformer
  • Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
  • Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models cites On Layer Normalization in the Transformer Architecture
  • Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problems cites On Layer Normalization in the Transformer Architecture
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Transformers Get Stable: An End-to-End Signal Propagation Theory for Language ModelsAkhil Kedia, Mohd Abbas Zaidi, Sushil Khyalia, Jungho Jung et al.ICML 2024 · 16 citations
  2. Retroformer: Pushing the Limits of End-to-end Retrosynthesis TransformerYue Wan, Chang-Yu Hsieh, Ben Liao, Shengyu ZhangICML 2022 · 13 citations
  3. Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization ProblemsDavid T. Hoffmann, Simon Schrodi, Jelena Bratulic, Nadine Behrmann et al.ICML 2024 · 11 citations
  4. Pushdown Layers: Encoding Recursive Structure in Transformer Language ModelsShikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. ManningEMNLP 2023
  5. PADA-Coder: Improving Plan-Following Code Generation via Perturbation-Verified Attention Distillation and Dynamic AlignmentYihong Huang, KE QIN, Rongzheng Wang, Muquan Li et al.ICML 2026

Builds on7

  1. Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations
  2. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng et al.ICML 2020 · 1,388 citations
  3. ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
  4. Blockwise Self-Attention for Long Document UnderstandingJiezhong Qiu, Hao Ma, Omer Levy, Wen-tau Yih et al.EMNLP Findings 2020 · 165 citations
  5. Extending Multilingual BERT to Low-Resource LanguagesZihan Wang, Karthikeyan K, Stephen Mayhew, Dan RothEMNLP Findings 2020 · 90 citations

Related papers

  1. Look Both Ways and No Sink: Converting LLMs into Text Encoders without TrainingZiyong Lin, Haoyi Wu, Shu Wang, Kewei Tu et al.ACL 2025 · 5 citations
  2. Fixed Encoder Self-Attention Patterns in Transformer-Based Machine TranslationAlessandro Raganato, Yves Scherrer, Jörg TiedemannEMNLP Findings 2020 · 88 citations
  3. Adversarial Self-Attention for Language UnderstandingHongqiu Wu, Ruixue Ding, Hai Zhao, Pengjun Xie et al.AAAI 2023 · 19 citations
  4. Symmetric Dot-Product Attention for Efficient Training of BERT Language ModelsMartin Courtois, Malte Ostendorff, Leonhard Hennig, Georg RehmACL Findings 2024 · 3 citations
  5. The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that MatterAjay Jaiswal, Shiwei Liu, Tianlong Chen, Zhangyang WangNeurIPS 2023 · 57 citations
Dusk over the sea between two cliffs drawn in fine vertical lines