Litcius/Paper detail

NPE: An FPGA-based Overlay Processor for Natural Language Processing

Hamza Khan, Asma Khan, Zainab Khan, Lun Bin Huang, Kun Wang, Lei He

202171 citationsDOIOpen Access PDF

Abstract

In recent years, transformer-based models have shown state-of-the-art results for Natural Language Processing (NLP). In particular, the introduction of the BERT language model brought with it breakthroughs in tasks such as question answering and natural language inference, advancing applications that allow humans to interact naturally with embedded devices. FPGA-based overlay processors have been shown as effective solutions for edge image and video processing applications, which mostly rely on low precision linear matrix operations. In contrast, transformer-based NLP techniques employ a variety of higher precision nonlinear operations with significantly higher frequency. We present NPE, an FPGA-based overlay processor that can efficiently execute a variety of NLP models. NPE offers software-like programmability to the end user and, unlike FPGA designs that implement specialized accelerators for each nonlinear function, can be upgraded for future NLP models without requiring reconfiguration. NPE can meet real-time conversational AI latency targets for the BERT language model with 4x lower power than CPUs and 6x lower power than GPUs. We also show NPE uses 3x fewer FPGA resources relative to comparable BERT network-specific accelerators in the literature. NPE provides a cost-effective and power-efficient FPGA-based solution for Natural Language Processing at the edge.

Topics & Concepts

Computer scienceOverlayField-programmable gate arrayVariety (cybernetics)Latency (audio)Natural languageLanguage modelArtificial intelligenceEdge deviceComputer architectureNatural language processingEnhanced Data Rates for GSM EvolutionProgramming languageEmbedded systemNatural language understandingPower (physics)High-level programming languageNonlinear systemComputer hardwareQuestion answeringExpressive powerNatural language programmingLow latency (capital markets)ChipMatrix multiplicationFerroelectric and Negative Capacitance DevicesTopic ModelingNetwork Packet Processing and Optimization
NPE: An FPGA-based Overlay Processor for Natural Language Processing | Litcius