ReadOnce Transformers: Reusable Representations of Text for Transformers
Shih-Ting Lin, Ashish Sabharwal, Tushar Khot
Abstract
We present ReadOnce Transformers, an approach to convert a transformer-based model into one that can build an information-capturing, task-independent, and compressed representation of text. The resulting representation is reusable across different examples and tasks, thereby requiring a document shared across many examples or tasks to only be read once. This leads to faster training and evaluation of models. Additionally, we extend standard text-to-text transformer models to Representation+Text-to-text models, and evaluate on multiple downstream tasks: multi-hop QA, abstractive QA, and long-document summarization. Our one-time computed representation results in a 2x-5x speedup compared to standard text-to-text models, while the compression also allows existing language models to handle longer documents without the need for designing new pre-trained models.
BibTeX
@inproceedings{lin-etal-2021-readonce,
title = "{R}ead{O}nce Transformers: Reusable Representations of Text for Transformers",
author = "Lin, Shih-Ting and
Sabharwal, Ashish and
Khot, Tushar",
editor = "Zong, Chengqing and
Xia, Fei and
Li, Wenjie and
Navigli, Roberto",
booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
month = aug,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.acl-long.554/",
doi = "10.18653/v1/2021.acl-long.554",
pages = "7129--7141"
}