mlsanityData to 13 Oct 2026

Extend and Explain: Interpreting Very Long Language Models

arXiv 2209.01174 ↗First posted 2 Sep 2022cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

While Transformer language models (LMs) are state-of-the-art for information extraction, long text introduces computational challenges requiring suboptimal preprocessing steps or alternative model architectures. Sparse attention LMs can represent longer sequences, overcoming performance hurdles. However, it remains unclear how to explain predictions from these models, as not all tokens attend to each other in the self-attention layers, and long sequences pose computational challenges for explainability algorithms when runtime depends on document length. These challenges are severe in the medical context where documents can be very long, and machine learning (ML) models must be auditable and trustworthy. We introduce a novel Masked Sampling Procedure (MSP) to identify the text blocks that contribute to a prediction, apply MSP in the context of predicting diagnoses from medical text, and validate our approach with a blind review by two clinicians. Our method identifies about 1.7x more clinically informative text blocks than the previous state-of-the-art, runs up to 100x faster, and is tractable for generating important phrase pairs. MSP is particularly well-suited to long LMs but can be applied to any text classifier. We provide a general implementation of MSP.

Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 30 of its 51 references that are in the map. First posted on arXiv 2 Sep 2022.

Builds on

30 of 51 references.

References · 30

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  5. 2017A Unified Approach to Interpreting Model Predictionscited by 6,515
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,360
  7. 2020Longformer: The Long-Document Transformercited by 3,393
  8. 2017Axiomatic Attribution for Deep Networkscited by 3,368
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,910
  10. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,472
  11. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,440
  12. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,942
18 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,681
  2. 2020Rethinking Attention with Performerscited by 1,594
  3. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,126
  4. 2019Publicly Available Clinical BERT Embeddingscited by 999
  5. 2019Attention is not Explanationcited by 922
  6. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 697
  7. 2015Cyclical Learning Rates for Training Neural Networkscited by 627
  8. 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 490
  9. 2019How to Fine-Tune BERT for Text Classification?cited by 411
  10. 2020Self-Alignment Pretraining for Biomedical Entity Representationscited by 234
  11. 2018Explainable Prediction of Medical Codes from Clinical Textcited by 233
  12. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 158
  13. 2018emrQA: A Large Corpus for Question Answering on Electronic Medical Recordscited by 134
  14. 2022Interpreting Language Models with Contrastive Explanationscited by 92
  15. 2019ICD Coding from Clinical Text Using Multi-Filter Residual Convolutional Neural Networkcited by 73
  16. 2022Clinical-Longformer and Clinical-BigBird: Transformers for long clinical sequencescited by 68
  17. 2021An Explainable CNN Approach for Medical Codes Prediction from Clinical Textcited by 9
  18. 2020Predicting Multiple ICD-10 Codes from Brazilian-Portuguese Clinical Notescited by 3

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 1; 2025: 1.

4 papers.