@article{saxena-etal-2025-end,
title = "End-to-End Long Document Summarization using Gradient Caching",
author = "Saxena, Rohit and
Tang, Hao and
Keller, Frank",
journal = "Transactions of the Association for Computational Linguistics",
volume = "13",
year = "2025",
address = "Cambridge, MA",
publisher = "MIT Press",
url = "https://preview.aclanthology.org/ingest-eacl/2025.tacl-1.58/",
doi = "10.1162/tacl.a.40",
pages = "1271--1297",
abstract = "Training transformer-based encoder-decoder models for long document summarization poses a significant challenge due to the quadratic memory consumption during training. Several approaches have been proposed to extend the input length at test time, but training with these approaches is still difficult, requiring truncation of input documents and causing a mismatch between training and test conditions. In this work, we propose CachED (Gradient Caching for Encoder-Decoder models), an approach that enables end-to-end training of existing transformer-based encoder-decoder models, using the entire document without truncation. Specifically, we apply non-overlapping sliding windows to input documents, followed by fusion in decoder. During backpropagation, the gradients are cached at the decoder and are passed through the encoder in chunks by re-computing the hidden vectors, similar to gradient checkpointing. In the experiments on long document summarization, we extend BART to CachED BART, processing more than 500K tokens during training and achieving superior performance without using any additional parameters."
}Markdown (Informal)
[End-to-End Long Document Summarization using Gradient Caching](https://preview.aclanthology.org/ingest-eacl/2025.tacl-1.58/) (Saxena et al., TACL 2025)
ACL