{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/end-to-end-long-document-summarization-using","title":"End-to-End Long Document Summarization using Gradient Caching","arxiv_id":"2501.01805","date":"2025-01-03","proceeding":null,"authors":["Rohit Saxena","Hao Tang","Frank Keller"],"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 $\\textbf{Cach}$ing for $\\textbf{E}$ncoder-$\\textbf{D}$ecoder 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.","url_abs":"https://arxiv.org/abs/2501.01805v1","url_pdf":"https://arxiv.org/pdf/2501.01805v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"document-summarization","task_name":"Document Summarization"},{"task_slug":"long-form-narrative-summarization","task_name":"Long-Form Narrative Summarization"}],"methods":[{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bart","method_name":"BART"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/long-form-narrative-summarization-on-booksum","task":"Long-Form Narrative Summarization","dataset":"BookSum","model":"CachED (BART Large)","rank_in_archive_order":2,"of":10,"metrics":{"BERTScore (F1)":"54.4"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-booksum","task":"Long-Form Narrative Summarization","dataset":"BookSum","model":"SLED (BART Large)","rank_in_archive_order":3,"of":10,"metrics":{"BERTScore (F1)":"52.4"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-booksum","task":"Long-Form Narrative Summarization","dataset":"BookSum","model":"Unlimiformer (BART Base)","rank_in_archive_order":4,"of":10,"metrics":{"BERTScore (F1)":"51.5"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-booksum","task":"Long-Form Narrative Summarization","dataset":"BookSum","model":"Zero-Shot (GPT-4o)","rank_in_archive_order":5,"of":10,"metrics":{"BERTScore (F1)":"47.24","ROUGE-1":"20.3","ROUGE-2":"3.5","ROUGE-L":"17.68"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-mensa","task":"Long-Form Narrative Summarization","dataset":"MENSA","model":"CachED (BART Large)","rank_in_archive_order":2,"of":10,"metrics":{"BERTScore (F1)":"64.6"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-mensa","task":"Long-Form Narrative Summarization","dataset":"MENSA","model":"Unlimiformer (BART Base)","rank_in_archive_order":4,"of":10,"metrics":{"BERTScore (F1)":"58.7"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-mensa","task":"Long-Form Narrative Summarization","dataset":"MENSA","model":"SLED (BART Large)","rank_in_archive_order":5,"of":10,"metrics":{"BERTScore (F1)":"58.3"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on-mensa","task":"Long-Form Narrative Summarization","dataset":"MENSA","model":"Zero-Shot (GPT-4o)","rank_in_archive_order":9,"of":10,"metrics":{"BERTScore (F1)":"52.8"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on","task":"Long-Form Narrative Summarization","dataset":"SummScreen","model":"CachED (BART Large)","rank_in_archive_order":2,"of":5,"metrics":{"BERTScore (F1)":"61.59"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on","task":"Long-Form Narrative Summarization","dataset":"SummScreen","model":"SLED (BART Large)","rank_in_archive_order":3,"of":5,"metrics":{"BERTScore (F1)":"59.9"},"uses_additional_data":false},{"leaderboard":"/sota/long-form-narrative-summarization-on","task":"Long-Form Narrative Summarization","dataset":"SummScreen","model":"Unlimiformer (BART Base)","rank_in_archive_order":4,"of":5,"metrics":{"BERTScore (F1)":"58.5"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"arxiv_id_not_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"by_repo":[],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":"the archive holds no code link for this paper","arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"b4319a565e8e766ada85e951ea0fd85d6f8e3031edfff96b416104dd736cfe7a","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}