Pith. sign in

REVIEW 2 cited by

LightSeq2: Accelerated Training for Transformer-based Models on GPUs

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 2110.05722 v3 pith:4XOFMGAH submitted 2021-10-12 cs.CL cs.MS

classification cs.CLcs.MS
keywords modelstransformerlightseq2traininggpussystemscomputationexisting
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Transformer-based neural models are used in many AI applications. Training these models is expensive, as it takes huge GPU resources and long duration. It is challenging because typical data like sentences have variable lengths, and Transformer's computation patterns are more complex than convolutional neural networks. Existing systems either only focus on model inference or optimization for only BERT-like encoder models. In this paper, we present LightSeq2, a system to accelerate training for a general family of Transformer models on GPUs. We propose a series of GPU optimization techniques tailored to the specific computation flow and memory access patterns of Transformer models. LightSeq2 supports many model architectures, including BERT (encoder-only), GPT (decoder-only), Transformer (encoder-decoder), and vision Transformer. Our experiments for a variety of models and benchmarks show that LightSeq2 is consistently faster (1.4-3.5x) than previous systems on different GPUs. In particular, it gains 308% training speedup compared with existing systems on a large public machine translation benchmark (WMT14 English-German).

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Two Heads Are Better than One: Simulating Large Transformers with Small Ones

    cs.LG 2025-06 conditional novelty 7.0 of 10

    A large transformer with input length N can be simulated by O((N/M)^2) calls to a transformer of input length M, and O(N/M) calls suffice under average-case, sliding-window, or attention-sink assumptions.

  2. Combining the Best of Both Worlds: A Method for Hybrid NMT and LLM Translation

    cs.CL 2025-05 conditional novelty 6.0 of 10

    A learned source-feature decider routes each sentence to either an NMT model or an LLM, improving average translation quality over both single systems and a QE-based baseline while using the LLM for only about 20-30% ...

Pith tools