BinaryFormer: A Hierarchical-Adaptive Binary Vision Transformer (ViT) for Efficient Computing

计算机科学 变压器 二进制数 计算 人工智能 水准点(测量) 目标检测 计算机工程 模式识别(心理学) 算法 工程类 大地测量学 电压 地理 电气工程 算术 数学
作者
Miaohui Wang,Zhuowei Xu,Bin Zheng,Wuyuan Xie
出处
期刊:IEEE Transactions on Industrial Informatics [Institute of Electrical and Electronics Engineers]
卷期号:20 (8): 10657-10668 被引量:1
标识
DOI:10.1109/tii.2024.3396520
摘要

Vision Transformer (ViT) has recently demonstrated impressive nonlinear modeling capabilities and achieved state-of-the-art performance in various industrial applications, such as object recognition, anomaly detection, and robot control. However, their practical deployment can be hindered by high storage requirements and computational intensity. To alleviate these challenges, we propose a binary transformer called BinaryFormer, which quantizes the learned weights of the ViT module from 32-b precision to 1 b. Furthermore, we propose a hierarchical-adaptive architecture that replaces expensive matrix operations with more affordable addition and bit operations by switching between two attention modes. As a result, BinaryFormer is able to effectively compress the model size as well as reduce the computation cost of ViT. Experimental results on the ImageNet-1K benchmark datasets show that BinaryFormer reduces the size of a typical ViT model by an average of 27.7× and converts over 99% of multiplication operations into bit operations while maintaining reasonable accuracy.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
称心曼安发布了新的文献求助10
1秒前
科研通AI5应助动听从寒采纳,获得10
1秒前
宋心茹发布了新的文献求助10
1秒前
一站到底完成签到 ,获得积分10
1秒前
啊啊发布了新的文献求助10
2秒前
斯文败类应助bzlish采纳,获得10
2秒前
2秒前
Missing发布了新的文献求助10
2秒前
3秒前
彭于晏应助陈陈采纳,获得10
3秒前
苹果寻菱完成签到,获得积分20
4秒前
肥猫发布了新的文献求助10
5秒前
6秒前
艺骞完成签到 ,获得积分10
6秒前
我是老大应助Transition采纳,获得10
6秒前
小雨完成签到,获得积分10
6秒前
糖果色完成签到,获得积分10
7秒前
7秒前
田様应助称心曼安采纳,获得10
7秒前
张佳明发布了新的文献求助10
7秒前
王科发布了新的文献求助30
7秒前
7秒前
8秒前
山谷与花发布了新的文献求助10
8秒前
8秒前
记得早睡早起bbh完成签到 ,获得积分10
9秒前
10秒前
10秒前
偷懒会被吃掉的完成签到,获得积分10
11秒前
科研通AI5应助笑面客采纳,获得10
11秒前
南北发布了新的文献求助30
11秒前
ZM发布了新的文献求助10
12秒前
展会恩发布了新的文献求助10
12秒前
莫三颜发布了新的文献求助10
12秒前
孙文杰完成签到 ,获得积分10
12秒前
稳重依云发布了新的文献求助10
14秒前
英俊白莲发布了新的文献求助10
14秒前
赘婿应助阿拉丁神灯采纳,获得10
14秒前
14秒前
高分求助中
【此为提示信息,请勿应助】请按要求发布求助,避免被关 20000
Continuum Thermodynamics and Material Modelling 2000
105th Edition CRC Handbook of Chemistry and Physics 1600
ISCN 2024 – An International System for Human Cytogenomic Nomenclature (2024) 1000
CRC Handbook of Chemistry and Physics 104th edition 1000
Izeltabart tapatansine - AdisInsight 600
Maneuvering of a Damaged Navy Combatant 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3769859
求助须知:如何正确求助?哪些是违规求助? 3314919
关于积分的说明 10174140
捐赠科研通 3030186
什么是DOI,文献DOI怎么找? 1662685
邀请新用户注册赠送积分活动 795067
科研通“疑难数据库(出版商)”最低求助积分说明 756560