2022 · 12 citations · 12 references
ComputingComputer EngineeringComputer ScienceArtificial IntelligenceMachine LearningNatural Language ProcessingDeep LearningHardware AccelerationMachine TranslationNatural Language UnderstandingSpeech RecognitionStream ProcessingDeep Learning AcceleratorsEnd-to-end LatencyEnd-to-end Latency GuaranteesMatrix MultiplicationTail LatencyTail Latency ReductionTransformer Models
Transformers have become a predominant machine learning workload, they are not only the de-facto standard for natural language processing tasks, but they are also being deployed in other domains such as vision and speech recognition. Many of the transformer-based applications are real-time systems such as machine translation and web search. These real time systems often come with strict end-to-end inference latency requirements. Unfortunately, while the majority of the transformer computation comes from matrix multiplications, transformers also include several non-linear components that tend to become the bottleneck during an inference. In this work, we accelerate the inference of BERT models on the tensor streaming processor. By carefully fusing all the nonlinear components with the matrix multiplication components, we are able to efficiently utilize the on-chip matrix multiplication units resulting in a deterministic tail latency of 130 μs for a batch-1 inference through BERT-base, which is 6× faster than the current state-of-the-art.
12
Advances in Neural Information Processing Systems 29
Onur Teymur, Kostas Zygalakis, Ben Calderhead · 2016 · 13.5K citations
Proceedings of the 24th international conference on Machine learning
2007 · 11.7K citations
Gaussian Error Linear Units (GELUs)
Dan Hendrycks, Kevin Gimpel · arXiv (Cornell University) · 2016 · 3.2K citations · Full text
Know What You Don’t Know: Unanswerable Questions for SQuAD
Pranav Rajpurkar, Robin Jia, Percy Liang · 2018 · 2.2K citations · Full text