Vision transformers inference acceleration based on adaptive layer normalization

规范化(社会学) 计算机科学 推论 变压器 人工智能 人工神经网络 机器学习 统计推断 模式识别(心理学) 数据挖掘 电压 数学 社会学 人类学 统计 物理 量子力学
作者
Fekhr Eddine Keddous,Arcadi Llanza,Nadiya Shvai,Amir Nakib
出处
期刊:Neurocomputing [Elsevier]
卷期号:610: 128524-128524
标识
DOI:10.1016/j.neucom.2024.128524
摘要

Over the past decade, deep neural networks (DNNs) have been widely used due to their remarkable accuracy in real-world applications. However, this increase in accuracy often results in computationally expensive models and high memory usage, leading to longer prediction latencies and exorbitant release costs. In this paper, we propose a new adaptive layer normalization (ALN) algorithm for transformer models, which tackles the computational, and memory problems encountered by traditional layer normalization (LN) techniques. The proposed method computes and stores statistical moments during the training and uses them directly during the inference phase, allowing the normalization layer to be merged with the nearest linear layer. The result is a significant acceleration in inference time, by up to 29%. In classification tasks, our evaluations on the ImageNet dataset show an improvement in accuracy of 0.1%, while maintaining comparable accuracy in object detection tasks on the COCO reference dataset. The proposed ALN algorithm is a simple and effective solution for improving the inference time of pre-trained transformer models, making it a valuable tool for natural language processing and computer vision tasks.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
自由的过客完成签到,获得积分10
1秒前
转角一起走完成签到,获得积分20
1秒前
22完成签到,获得积分10
1秒前
1秒前
Zn应助伊丽莎白打工采纳,获得10
2秒前
江月渡完成签到,获得积分10
3秒前
研友_RLN0vZ发布了新的文献求助10
3秒前
虾仁发布了新的文献求助10
3秒前
mmx发布了新的文献求助10
3秒前
4秒前
ff发布了新的文献求助10
5秒前
图南完成签到,获得积分20
5秒前
zhl发布了新的文献求助10
5秒前
今后应助喜洋洋采纳,获得10
6秒前
赘婿应助yin采纳,获得10
6秒前
7秒前
7秒前
8秒前
邢夏之发布了新的文献求助10
8秒前
8秒前
欣喜书桃完成签到,获得积分10
9秒前
9秒前
陈木木完成签到,获得积分10
9秒前
刘旭阳发布了新的文献求助10
9秒前
9秒前
hhhhhhh发布了新的文献求助10
9秒前
长情洙完成签到,获得积分10
10秒前
Lilac完成签到 ,获得积分10
10秒前
10秒前
10秒前
MissXia完成签到,获得积分10
10秒前
NUNKI完成签到,获得积分10
10秒前
迅速星星完成签到,获得积分10
10秒前
科研废物发布了新的文献求助10
11秒前
ltc完成签到,获得积分10
11秒前
科研通AI5应助诚c采纳,获得10
11秒前
Mrrr发布了新的文献求助10
11秒前
sganthem完成签到,获得积分10
11秒前
12秒前
哦吼完成签到,获得积分10
12秒前
高分求助中
Continuum Thermodynamics and Material Modelling 3000
Production Logging: Theoretical and Interpretive Elements 2700
Social media impact on athlete mental health: #RealityCheck 1020
Ensartinib (Ensacove) for Non-Small Cell Lung Cancer 1000
Unseen Mendieta: The Unpublished Works of Ana Mendieta 1000
Bacterial collagenases and their clinical applications 800
El viaje de una vida: Memorias de María Lecea 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 基因 遗传学 物理化学 催化作用 量子力学 光电子学 冶金
热门帖子
关注 科研通微信公众号,转发送积分 3527699
求助须知:如何正确求助?哪些是违规求助? 3107752
关于积分的说明 9286499
捐赠科研通 2805513
什么是DOI,文献DOI怎么找? 1539954
邀请新用户注册赠送积分活动 716878
科研通“疑难数据库(出版商)”最低求助积分说明 709759