mlsanityData to 7 Oct 2026

Beyond 512 Tokens: Siamese Multi-depth Transformer-based Hierarchical Encoder for Long-Form Document Matching

arXiv 2004.12297 ↗First posted 26 Apr 2020cs.IR cs.CLcited by 35

Not on the map. Why?

Abstract (arXiv)

Many natural language processing and information retrieval problems can be formalized as the task of semantic matching. Existing work in this area has been largely focused on matching between short texts (e.g., question answering), or between a short and a long text (e.g., ad-hoc retrieval). Semantic matching between long-form documents, which has many important applications like news recommendation, related article recommendation and document clustering, is relatively less explored and needs more research effort. In recent years, self-attention based models like Transformers and BERT have achieved state-of-the-art performance in the task of text matching. These models, however, are still limited to short text like a few sentences or one paragraph due to the quadratic computational complexity of self-attention with respect to input text length. In this paper, we address the issue by proposing the Siamese Multi-depth Transformer-based Hierarchical (SMITH) Encoder for long-form document matching. Our model contains several innovations to adapt self-attention models for longer text input. In order to better capture sentence level semantic relations within a document, we pre-train the model with a novel masked sentence block language modeling task in addition to the masked word language modeling task used by BERT. Our experimental results on several benchmark datasets for long-form document matching show that our proposed SMITH model outperforms the previous state-of-the-art models including hierarchical attention, multi-depth attention-based hierarchical recurrent neural network, and BERT. Comparing to BERT based baselines, our model is able to increase maximum input text length from 512 to 2048. We will open source a Wikipedia based benchmark dataset, code and a pre-trained checkpoint to accelerate future research on long-form document matching.

Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Apr 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 8; 2022: 9; 2023: 11; 2024: 3; 2025: 2; 2026: 2.

35 papers.

Sort:

By area:

  1. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  2. 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
  3. 2022Revisiting Transformer-based Models for Long Document Classificationcited by 48
  4. 2023A Survey on Long Text Modeling with Transformerscited by 47
  5. 2022EUR-Lex-Sum: A Multi- and Cross-lingual Dataset for Long-form Summarization in the Legal Domaincited by 39
  6. 2022An Exploration of Hierarchical Attention Transformers for Efficient Long Document Classificationcited by 38
  7. 2021Hi-Transformer: Hierarchical Interactive Transformer for Efficient and Effective Long Document Modelingcited by 35
  8. 2022WebFormer: The Web-page Transformer for Structure Information Extractioncited by 34
  9. 2021VILA: Improving Structured Content Extraction from Scientific PDFs Using Visual Layout Groupscited by 27
  10. 2022Processing Long Legal Documents with Pre-trained Transformers: Modding LegalBERT and Longformercited by 20
  11. 2021CDLM: Cross-Document Language Modelingcited by 17
  12. 2021RoR: Read-over-Read for Long Document Machine Reading Comprehensioncited by 15
23 more
  1. 2022Spectral, Probabilistic, and Deep Metric Learning: Tutorial and Surveycited by 9
  2. 2023Finding the Law: Enhancing Statutory Article Retrieval via Graph Neural Networkscited by 9
  3. 2023LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interactioncited by 7
  4. 2024Focus on the Core: Efficient Attention via Pruned Token Compression for Document Classificationcited by 7
  5. 2021Three-level Hierarchical Transformer Networks for Long-sequence and Multiple Clinical Documents Classificationcited by 6
  6. 2023Breaking the Token Barrier: Chunking and Convolution for Efficient Long Text Classification with BERTcited by 6
  7. 2024Multi-view Content-aware Indexing for Long Document Retrievalcited by 4
  8. 2023Enhancing Keyphrase Extraction from Long Scientific Documents using Graph Embeddingscited by 3
  9. 2021Can Deep Neural Networks Predict Data Correlations from Column Names?cited by 2
  10. 2022Machine Learning for Violence Risk Assessment Using Dutch Clinical Notescited by 2
  11. 2023Attention over pre-trained Sentence Embeddings for Long Document Classificationcited by 2
  12. 2023Enhancing Pre-Trained Language Models with Sentence Position Embeddings for Rhetorical Roles Recognition in Legal Opinionscited by 2
  13. 2024Generalization in Healthcare AI: Evaluation of a Clinical Large Language Modelcited by 2
  14. 2022FETILDA: An Effective Framework For Fin-tuned Embeddings For Long Financial Text Documentscited by 1
  15. 2022Legal Element-oriented Modeling with Multi-view Contrastive Learning for Legal Case Retrievalcited by 1
  16. 2023HiCL: Hierarchical Contrastive Learning of Unsupervised Sentence Embeddingscited by 1
  17. 2023Reinforcement Replaces Supervision: Query focused Summarization using Deep Reinforcement Learningcited by 1
  18. 2025SAE-FiRE: Enhancing Earnings Surprise Predictions Through Sparse Autoencoder Feature Selectioncited by 1
  19. 2023Transformer-based Models for Long-Form Document Matching: Challenges and Empirical Analysiscited by 0
  20. 2023A General-Purpose Multilingual Document Encodercited by 0
  21. 2025Context-Aware Language Models for Forecasting Market Impact from Sequences of Financial Newscited by 0
  22. 2026FinAnchor: Aligned Multi-Model Representations for Financial Predictioncited by 0
  23. 2026REIGN: Refurbished Embeddings with Integrated Guidance Networks for Efficient Context-Length Scalingcited by 0