亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
5秒前
打打应助玫玫采纳,获得10
5秒前
11秒前
情怀应助豆花牛肉面采纳,获得10
13秒前
17秒前
why完成签到 ,获得积分10
18秒前
19秒前
26秒前
27秒前
MR_芝欧发布了新的文献求助10
32秒前
李爱国应助李玉博采纳,获得10
36秒前
36秒前
思源应助MR_芝欧采纳,获得10
38秒前
42秒前
wangye发布了新的文献求助30
49秒前
lufier完成签到 ,获得积分10
51秒前
跳跃的鹏飞完成签到 ,获得积分0
51秒前
852应助故居采纳,获得10
59秒前
雪中完成签到 ,获得积分10
1分钟前
1分钟前
jinmuna完成签到,获得积分10
1分钟前
Xiaojiu发布了新的文献求助10
1分钟前
Youx完成签到 ,获得积分10
1分钟前
伊丽莎白居易完成签到,获得积分10
1分钟前
冷酷的水壶完成签到,获得积分10
1分钟前
无花果应助科研通管家采纳,获得10
1分钟前
风趣雪一应助mrrrlu采纳,获得10
1分钟前
李忆梦完成签到 ,获得积分10
1分钟前
大个应助神勇尔蓝采纳,获得10
1分钟前
故居完成签到,获得积分10
1分钟前
beiwei完成签到 ,获得积分10
1分钟前
1分钟前
1分钟前
故居发布了新的文献求助10
1分钟前
神勇尔蓝发布了新的文献求助10
2分钟前
2分钟前
2分钟前
伶俐鸿完成签到,获得积分20
2分钟前
2分钟前
慕青应助wangye采纳,获得10
2分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Cronologia da história de Macau 1600
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 1000
BRITTLE FRACTURE IN WELDED SHIPS 1000
Intentional optical interference with precision weapons (in Russian) Преднамеренные оптические помехи высокоточному оружию 1000
Atlas of Anatomy 5th original digital 2025的PDF高清电子版(非压缩版,大小约400-600兆,能更大就更好了) 1000
Current concept for improving treatment of prostate cancer based on combination of LH-RH agonists with other agents 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 纳米技术 计算机科学 化学工程 生物化学 物理 复合材料 内科学 催化作用 物理化学 光电子学 细胞生物学 基因 电极 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6181914
求助须知:如何正确求助?哪些是违规求助? 8009200
关于积分的说明 16658930
捐赠科研通 5282683
什么是DOI,文献DOI怎么找? 2816185
邀请新用户注册赠送积分活动 1795963
关于科研通互助平台的介绍 1660694