Vision transformers inference acceleration based on adaptive layer normalization

规范化(社会学) 计算机科学 推论 变压器 人工智能 人工神经网络 机器学习 统计推断 模式识别(心理学) 数据挖掘 电压 数学 社会学 人类学 统计 物理 量子力学
作者
Fekhr Eddine Keddous,Arcadi Llanza,Nadiya Shvai,Amir Nakib
出处
期刊:Neurocomputing [Elsevier BV]
卷期号: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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
yangyangyang完成签到,获得积分10
1秒前
ads发布了新的文献求助10
1秒前
三更完成签到 ,获得积分10
2秒前
林子发布了新的文献求助10
2秒前
lion22完成签到,获得积分10
2秒前
SEM小菜鸡发布了新的文献求助30
2秒前
2秒前
xiao_chi完成签到,获得积分10
2秒前
高大抽屉发布了新的文献求助10
2秒前
粱踏歌发布了新的文献求助10
3秒前
3秒前
二胡完成签到,获得积分10
4秒前
量子星尘发布了新的文献求助10
4秒前
4秒前
zhaoray完成签到 ,获得积分10
4秒前
joy完成签到,获得积分20
4秒前
dolphin完成签到,获得积分10
4秒前
5秒前
5秒前
传奇3应助高山我梦采纳,获得10
5秒前
苦哈哈发布了新的文献求助10
5秒前
在水一方应助翻似烂柯人采纳,获得10
6秒前
轩轩发布了新的文献求助10
6秒前
丘比特应助拉长的南松采纳,获得10
6秒前
CipherSage应助阳光代容采纳,获得30
6秒前
萧水白应助浣憍采纳,获得10
7秒前
7秒前
7秒前
天天快乐应助123456采纳,获得30
7秒前
8秒前
kecheng应助wfy采纳,获得10
8秒前
kyt发布了新的文献求助10
8秒前
123完成签到,获得积分10
9秒前
粱踏歌完成签到,获得积分20
9秒前
研友_Y59785应助jiajia采纳,获得10
10秒前
SYLH应助轩轩采纳,获得10
10秒前
ads完成签到,获得积分10
11秒前
円桑发布了新的文献求助10
11秒前
传统的平彤完成签到,获得积分20
12秒前
高分求助中
Picture Books with Same-sex Parented Families: Unintentional Censorship 1000
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
Nucleophilic substitution in azasydnone-modified dinitroanisoles 500
不知道标题是什么 500
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3978978
求助须知:如何正确求助?哪些是违规求助? 3522830
关于积分的说明 11215177
捐赠科研通 3260355
什么是DOI,文献DOI怎么找? 1799883
邀请新用户注册赠送积分活动 878713
科研通“疑难数据库(出版商)”最低求助积分说明 807060