paper-with-me

Papers

Efficient Long-Text Understanding with Short-Text Models

2022-08-01 · Maor Ivgi, Uri Shaham, Jonathan Berant

Transformer-based pretrained language models (LMs) are ubiquitous across natural language understanding, but cannot be applied to long sequences such as stories, scientific articles and long documents, due to their quadratic complexity. While a myriad of efficient transformer variants have been proposed, they are typically based on custom implementations that require expensive pretraining from scratch. In this work, we propose SLED: SLiding-Encoder and Decoder, a simple approach for processing long sequences that re-uses and leverages battle-tested short-text pretrained LMs. Specifically, we partition the input into overlapping chunks, encode each with a short-text LM encoder and use the pretrained decoder to fuse information across chunks (fusion-in-decoder). We illustrate through controlled experiments that SLED offers a viable strategy for long text understanding and evaluate our approach on SCROLLS, a benchmark with seven datasets across a wide range of language understanding tasks. We find that SLED is competitive with specialized models that are up to 50x larger and require a dedicated and expensive pretraining step.

📄 PDF Abstract BibTeX arXiv:2208.00748

Code (1)

mivg/sled 공식 구현 pytorch

Tasks

ArticlesDecoderLong-range modelingNatural Language Understanding

Similar Papers 제목 키워드 기반

LooGLE: Can Long-Context Language Models Understand Long Contexts?

2023-11-08 · Jiaqi Li, Mengmeng Wang, Zilong Zheng, Muhan Zhang

Large language models (LLMs), despite their impressive performance in various language tasks, are typically limited to processing texts within context-window size. This limitation has spurred significant research efforts…

In-Context LearningLong-Context UnderstandingQuestion Answering

LoTLIP: Improving Language-Image Pre-training for Long Text Understanding

2024-10-07 · Wei Wu, Kecheng Zheng, Shuailei Ma, Fan Lu 외

Understanding long text is of great demands in practice but beyond the reach of most language-image pre-training (LIP) models. In this work, we empirically confirm that the key reason causing such an issue is that the tr…

image-classificationImage ClassificationImage Retrieval

LIFT: Improving Long Context Understanding Through Long Input Fine-Tuning

2024-12-18 · Yansheng Mao, Jiaqi Li, Fanxu Meng, Jing Xiong 외

Long context understanding remains challenging for large language models due to their limited context windows. This paper introduces Long Input Fine-Tuning (LIFT) for long context modeling, a novel framework that enhance…

In-Context LearningLong-Context Understanding

LIFT: Improving Long Context Understanding of Large Language Models through Long Input Fine-Tuning

2025-02-20 · Yansheng Mao, Yufei Xu, Jiaqi Li, Fanxu Meng 외

Long context understanding remains challenging for large language models due to their limited context windows. This paper presents Long Input Fine-Tuning (LIFT), a novel framework for long-context modeling that can impro…

In-Context LearningLong-Context UnderstandingMemorization

LOT: A Story-Centric Benchmark for Evaluating Chinese Long Text Understanding and Generation

2021-08-30 · Jian Guan, Zhuoer Feng, Yamei Chen, Ruilin He 외

Standard multi-task benchmarks are essential for developing pretraining models that can generalize to various downstream tasks. Existing benchmarks for natural language processing (NLP) usually focus only on understandin…

DecoderText Infilling