The reviewed record of science sign in
Pith

arxiv: 2109.11745 · v1 · pith:BGAIAJ5F · submitted 2021-09-24 · cs.CL · cs.AI

DACT-BERT: Differentiable Adaptive Computation Time for an Efficient BERT Inference

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:BGAIAJ5Frecord.jsonopen to challenge →

classification cs.CL cs.AI
keywords timeadaptivecomputationdact-bertmodelsbertcomputationaldifferentiable
0
0 comments X
read the original abstract

Large-scale pre-trained language models have shown remarkable results in diverse NLP applications. Unfortunately, these performance gains have been accompanied by a significant increase in computation time and model size, stressing the need to develop new or complementary strategies to increase the efficiency of these models. In this paper we propose DACT-BERT, a differentiable adaptive computation time strategy for BERT-like models. DACT-BERT adds an adaptive computational mechanism to BERT's regular processing pipeline, which controls the number of Transformer blocks that need to be executed at inference time. By doing this, the model learns to combine the most appropriate intermediate representations for the task at hand. Our experiments demonstrate that our approach, when compared to the baselines, excels on a reduced computational regime and is competitive in other less restrictive ones.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.