Skip to main content
QUICK REVIEW

[Paper Review] A Survey on Long Text Modeling with Transformers

Zican Dong, Tianyi Tang|arXiv (Cornell University)|Feb 28, 2023
Topic ModelingComputer Science14 citations
TL;DR

This survey reviews Transformer-based long text modeling, covering formal definitions, preprocessing, architectures that extend context, and applications.

ABSTRACT

Modeling long texts has been an essential technique in the field of natural language processing (NLP). With the ever-growing number of long documents, it is important to develop effective modeling methods that can process and analyze such texts. However, long texts pose important research challenges for existing text models, with more complex semantics and special characteristics. In this paper, we provide an overview of the recent advances on long texts modeling based on Transformer models. Firstly, we introduce the formal definition of long text modeling. Then, as the core content, we discuss how to process long input to satisfy the length limitation and design improved Transformer architectures to effectively extend the maximum context length. Following this, we discuss how to adapt Transformer models to capture the special characteristics of long texts. Finally, we describe four typical applications involving long text modeling and conclude this paper with a discussion of future directions. Our survey intends to provide researchers with a synthesis and pointer to related work on long text modeling.

Motivation & Objective

  • Provide a formal definition of long text modeling and its tasks.
  • Summarize preprocessing techniques to adapt long texts to PLMs.
  • Review Transformer architectures that scale context length and maintain efficiency.
  • Discuss special long-text characteristics (long-term dependency, inter-sentence relations, discourse) and modeling strategies.
  • Outline common applications and future directions in long text modeling.

Proposed method

  • Define long text modeling as Y = f(g(X); C, M) with preprocessing g, characteristics C, and Transformer model M.
  • Classify tasks by output type: sequence (extraction/generation) and label (classification).
  • Detail preprocessing methods: truncation, chunking, and content selection with their formulations and trade-offs.
  • Survey efficient Transformer variants (fixed/learnable attention, kernels, memory-based recurrent transformers) and encoder–decoder attention strategies.
  • Discuss long-text pretraining objectives (MLM, sentence-level objectives, document-aware ordering) for long sequences.
  • Describe methods to handle long-text characteristics through architectures (hierarchy, graphs, discourse-aware designs).

Experimental results

Research questions

  • RQ1How can long texts be effectively processed given maximum context length of PLMs?
  • RQ2Which Transformer architectures and attention strategies best extend context with acceptable compute/memory costs?
  • RQ3How should models be adapted to capture long-term dependencies, inter-sentence relations, and discourse structure in long documents?
  • RQ4What are the typical applications and potential future directions for long-text modeling with Transformers.

Key findings

  • Truncation can be a strong baseline when crucial info lies within the truncated portion but risks information loss.
  • Chunking preserves full content but may break long-range dependencies across segments; context fusion strategies are essential.
  • Content selection reduces input size but depends on retriever quality and may require joint or RL-based training to align stages.
  • Efficient attention variants and memory-based recurrent transformers extend context with varying trade-offs between speed, memory, and accuracy.
  • Pretraining and specialized objectives (sentence-level, document-level) improve long-text representations beyond standard MLM.
  • Graph-based and hierarchical approaches effectively model inter-sentence relations and discourse structure in long documents.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.