paper-with-me

홈 › Papers

BERT-AL: BERT for Arbitrarily Long Document Understanding

2020-01-01 · ICLR 2020 1 · Ruixuan Zhang, Zhuoyu Wei, Yu Shi, Yining Chen

Pretrained language models attract lots of attentions, and they take advantage of the two-stages training process: pretraining on huge corpus and finetuning on specific tasks. Thereinto, BERT (Devlin et al., 2019) is a Transformer (Vaswani et al., 2017) based model and has been the state-of-the-art for many kinds of Nature Language Processing (NLP) tasks. However, BERT cannot take text longer than the maximum length as input since the maximum length is predefined during pretraining. When we apply BERT to long text tasks, e.g., document-level text summarization: 1) Truncating inputs by the maximum sequence length will decrease performance, since the model cannot capture long dependency and global information ranging the whole document. 2) Extending the maximum length requires re-pretraining which will cost a mass of time and computing resources. What's even worse is that the computational complexity will increase quadratically with the length, which will result in an unacceptable training time. To resolve these problems, we propose to apply Transformer to only model local dependency and recurrently capture long dependency by inserting multi-channel LSTM into each layer of BERT. The proposed model is named as BERT-AL (BERT for Arbitrarily Long Document Understanding) and it can accept arbitrarily long input without re-pretraining from scratch. We demonstrate BERT-AL's effectiveness on text summarization by conducting experiments on the CNN/Daily Mail dataset. Furthermore, our method can be adapted to other Transformer based models, e.g., XLNet (Yang et al., 2019) and RoBERTa (Liu et al., 2019), for various NLP tasks with long text.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

document understandingText Summarization

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

Towards Understanding Large-Scale Discourse Structures in Pre-Trained and Fine-Tuned Language Models

2022-04-08 · NAACL 2022 7 · Patrick Huber, Giuseppe Carenini

With a growing number of BERTology work analyzing different components of pre-trained language models, we extend this line of research through an in-depth analysis of discourse information in pre-trained and fine-tuned l…

Hierarchical BERT for Medical Document Understanding

2022-03-11 · Ning Zhang, Maciej Jankowski

Medical document understanding has gained much attention recently. One representative task is the International Classification of Disease (ICD) diagnosis code assignment. Existing work adopts either RNN or CNN as the bac…

document understandingSentence

No Argument Left Behind: Overlapping Chunks for Faster Processing of Arbitrarily Long Legal Texts

2024-10-24 · Israel Fama, Bárbara Bueno, Alexandre Alcoforado, Thomas Palmeira Ferraz 외

In a context where the Brazilian judiciary system, the largest in the world, faces a crisis due to the slow processing of millions of cases, it becomes imperative to develop efficient methods for analyzing legal texts. W…

Blockwise Self-Attention for Long Document Understanding

2019-11-07 · Findings of the Association for Computational Linguistics 2020 · Jiezhong Qiu, Hao Ma, Omer Levy, Scott Wen-tau Yih 외

We present BlockBERT, a lightweight and efficient BERT model for better modeling long-distance dependencies. Our model extends BERT by introducing sparse block structures into the attention matrix to reduce both memory c…

document understandingLanguage ModelingLanguage ModellingQuestion Answering

DocPolarBERT: A Pre-trained Model for Document Understanding with Relative Polar Coordinate Encoding of Layout Structures

2025-07-11 · Benno Uthayasooriyar, Antoine Ly, Franck Vermet, Caio Corro arxiv

We introduce DocPolarBERT, a layout-aware BERT model for document understanding that eliminates the need for absolute 2D positional embeddings. We extend self-attention to take into account text block positions in relati…