Attention Map Guided Transformer Pruning for Occluded Person Re-Identification on Edge Device

计算机科学 安全性令牌 人工智能 熵(时间箭头) 变压器 推论 关联数组 边缘设备 修剪 内存占用 机器学习 数据挖掘 模式识别(心理学) 云计算 物理 计算机安全 量子力学 电压 农学 生物 操作系统
作者
Junzhu Mao,Yazhou Yao,Zeren Sun,Xingguo Huang,Fumin Shen,Heng Tao Shen
出处
期刊:IEEE Transactions on Multimedia [Institute of Electrical and Electronics Engineers]
卷期号:25: 1592-1599 被引量:22
标识
DOI:10.1109/tmm.2023.3265159
摘要

Due to its significant capability of modeling long-range dependencies, vision transformer (ViT) has achieved promising success in both holistic and occluded person re-identification (Re-ID) tasks. However, the inherent problems of transformers such as the huge computational cost and memory footprint are still two unsolved issues that will block the deployment of ViT based person Re-ID models on resource-limited edge devices. Our goal is to reduce both the inference complexity and model size without sacrificing the comparable accuracy on person Re-ID, especially for tasks with occlusion. To this end, we propose a novel attention map guided (AMG) transformer pruning method, which removes both redundant tokens and heads with the guidance of the attention map in a hardware-friendly way. We first calculate the entropy in the key dimension and sum it up for the whole map, and the corresponding head parameters of maps with high entropy will be removed for model size reduction. Then we combine the similarity and first-order gradients of key tokens along the query dimension for token importance estimation and remove redundant key and value tokens to further reduce the inference complexity. Comprehensive experiments on Occluded DukeMTMC and Market-1501 demonstrate the effectiveness of our proposals. For example, our proposed pruning strategy on ViT-Base enjoys 29.4% FLOPs savings with 0.2% drop on Rank-1 and 0.4% improvement on mAP, respectively. Code and models have been made available at https://github.com/NUST-Machine-Intelligence-Laboratory/AMG .
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
clone2012发布了新的文献求助20
刚刚
烟花的应助被科研通管家采纳,获得10
1秒前
共享精神的应助被科研通管家采纳,获得10
1秒前
1秒前
如意的手套完成签到,获得积分10
2秒前
Akim的应助被科研通管家采纳,获得10
2秒前
aaaa的应助被科研通管家采纳,获得30
2秒前
2秒前
华仔的应助被科研通管家采纳,获得10
2秒前
汉堡包的应助被愤怒的茉莉采纳,获得30
2秒前
coolru的应助被科研通管家采纳,获得30
2秒前
科目三的应助被科研通管家采纳,获得10
2秒前
2秒前
2秒前
FashionBoy的应助被科研通管家采纳,获得30
3秒前
wy.he的应助被科研通管家采纳,获得40
3秒前
何嘉欣发布了新的文献求助10
3秒前
打打的应助被科研通管家采纳,获得10
3秒前
彭于晏的应助被科研通管家采纳,获得10
3秒前
赘婿的应助被科研通管家采纳,获得10
3秒前
所所的应助被科研通管家采纳,获得10
3秒前
超级天磊完成签到,获得积分10
3秒前
xiaoxiao的应助被科研通管家采纳,获得10
3秒前
所所的应助被科研通管家采纳,获得10
4秒前
4秒前
隐形曼青的应助被科研通管家采纳,获得10
4秒前
爆米花的应助被科研通管家采纳,获得10
4秒前
汉堡包的应助被科研通管家采纳,获得30
4秒前
DW的应助被科研通管家采纳,获得10
4秒前
英姑的应助被科研通管家采纳,获得10
4秒前
脑洞疼的应助被科研通管家采纳,获得10
4秒前
郢儿的应助被科研通管家采纳,获得10
5秒前
大个的应助被科研通管家采纳,获得10
5秒前
慕青的应助被科研通管家采纳,获得10
5秒前
文献发布了新的文献求助10
5秒前
领导范儿的应助被科研通管家采纳,获得10
5秒前
酷波er的应助被科研通管家采纳,获得10
5秒前
汉堡包的应助被科研通管家采纳,获得10
5秒前
隐形曼青的应助被活泼飞飞采纳,获得20
6秒前
搜集达人的应助被小熊跺跺脚采纳,获得10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Issues in Task-Based Language Teaching 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7783638
求助须知:如何正确求助?哪些是违规求助? 9322927
关于积分的说明 20392349
捐赠科研通 7372274
什么是DOI,文献DOI怎么找? 3320727
关于科研通互助平台的介绍 2468728
邀请新用户注册赠送积分活动 2336951