Pith. sign in

REVIEW

LazyFormer: Self Attention with Lazy Update

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2102.12702 v1 pith:FMGYNXEW submitted 2021-02-25 cs.CL cs.AI

classification cs.CLcs.AI
keywords lazyformerlazyself-attentiondistributionlayersmultipleattentionblock
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Improving the efficiency of Transformer-based language pre-training is an important task in NLP, especially for the self-attention module, which is computationally expensive. In this paper, we propose a simple but effective solution, called \emph{LazyFormer}, which computes the self-attention distribution infrequently. LazyFormer composes of multiple lazy blocks, each of which contains multiple Transformer layers. In each lazy block, the self-attention distribution is only computed once in the first layer and then is reused in all upper layers. In this way, the cost of computation could be largely saved. We also provide several training tricks for LazyFormer. Extensive experiments demonstrate the effectiveness of the proposed method.

Discussion (0). Continue with ORCID to comment.

Pith tools