The cascade transformer: An application for efficient answer sentence selection

30Citations
Citations of this article
130Readers
Mendeley users who have this article in their library.

Abstract

Large transformer-based language models have been shown to be very effective in many classification tasks. However, their computational complexity prevents their use in applications requiring the classification of a large set of candidates. While previous works have investigated approaches to reduce model size, relatively little attention has been paid to techniques to improve batch throughput during inference. In this paper, we introduce the Cascade Transformer, a simple yet effective technique to adapt transformer-based models into a cascade of rankers. Each ranker is used to prune a subset of candidates in a batch, thus dramatically increasing throughput at inference time. Partial encodings from the transformer model are shared among rerankers, providing further speed-up. When compared to a state-of-the-art transformer model, our approach reduces computation by 37% with almost no impact on accuracy, as measured on two English Question Answering datasets.

Cite

CITATION STYLE

APA

Soldaini, L., & Moschitti, A. (2020). The cascade transformer: An application for efficient answer sentence selection. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 5697–5708). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2020.acl-main.504

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free