Lune

DAC2022顶会

NN-LUT: neural approximation of non-linear operations for efficient transformer inference

Joonsang Yu, Junki Park, Seongmin Park, Minsoo Kim, Sihwa Lee, Dong Hyun Lee, Jungwook Choi

摘要

Non-linear operations such as GELU, Layer normalization, and Soft-max are essential yet costly building blocks of Transformer models. Several prior works simplified these operations with look-up tables or integer computations, but such approximations suffer inferior accuracy or considerable hardware cost with long latency. This paper proposes an accurate and hardware-friendly approximation framework for efficient Transformer inference. Our framework employs a simple neural network as a universal approximator with its structure equivalently transformed into a Look-up table(LUT). The proposed framework called Neural network generated LUT(NN-LUT) can accurately replace all the non-linear operations in popular BERT models with significant reductions in area, power consumption, and latency.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning Accelerator 引用了 Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformers
  • PICACHU: Plug-In CGRA Handling Upcoming Nonlinear Operations in LLMs 引用了 SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • PICACHU: Plug-In CGRA Handling Upcoming Nonlinear Operations in LLMs 引用了 Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformers
  • Genetic Quantization-Aware Approximation for Non-Linear Operations in Transformers 引用了 Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformers
  • IANUS: Integrated Accelerator based on NPU-PIM Unified Memory System 引用了 SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. IANUS: Integrated Accelerator based on NPU-PIM Unified Memory SystemMinseok Seo, Xuan Truong Nguyen, Seok Joong Hwang, Yongkee Kwon 等ASPLOS 2024 · 57 次引用
  2. PICACHU: Plug-In CGRA Handling Upcoming Nonlinear Operations in LLMsJiajun Qin, Tianhua Xia, Cheng Tan, Jeff Zhang 等ASPLOS 2025 · 17 次引用
  3. Genetic Quantization-Aware Approximation for Non-Linear Operations in TransformersPingcheng Dong, Yonghao Tan, Dong Zhang, Tianwei Ni 等DAC 2024 · 12 次引用
  4. LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning AcceleratorGuoyu Li, Shengyu Ye, Chunyun Chen, Yang Wang 等HPCA 2025 · 7 次引用
  5. VITA: ViT Acceleration for Efficient 3D Human Mesh Recovery via Hardware-Algorithm Co-DesignShilin Tian, Chase Szafranski, Ce Zheng, Fan Yao 等DAC 2024 · 5 次引用

它引用的 Paper3

  1. MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu 等ACL 2020 · 660 次引用
  2. SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head PruningHanrui Wang, Zhekai Zhang, Song HanHPCA 2021 · 412 次引用
  3. Softermax: Hardware/Software Co-Design of an Efficient Softmax for TransformersJacob R. Stevens, Rangharajan Venkatesan, Steve Dai, Brucek Khailany 等DAC 2021 · 143 次引用

相关 Paper

  1. MA-BERT: Towards Matrix Arithmetic-only BERT Inference by Eliminating Complex Non-Linear FunctionsNeo Wei Ming, Zhehui Wang, Cheng Liu, Rick Siow Mong Goh 等ICLR 2023
  2. Range-Invariant Approximation of Non-Linear Operations for Efficient BERT Fine-TuningJanghyeon Kim, Janghwan Lee, Jungwook Choi, JeongHo Han 等DAC 2023 · 9 次引用
  3. I-BERT: Integer-only BERT QuantizationSehoon Kim, Amir Gholami, Zhewei Yao, Michael W. Mahoney 等ICML 2021 · 439 次引用
  4. Look-Up Table based Energy Efficient Processing in Cache Support for Neural Network AccelerationAkshay Krishna Ramanathan, Gurpreet S. Kalsi, Srivatsa Srinivasa, Tarun Makesh Chandran 等MICRO 2020 · 50 次引用
  5. Plug-and-Play Spiking Operators: Breaking the Nonlinearity Bottleneck in Spiking TransformersXinzhe Yuan, Xiang Peng, Bin Gu, Huan XiongICML 2026
黄昏的海面,两侧是细线勾勒的悬崖