Adaptive split-fusion transformer
Neural networks for visual content understanding have recently evolved from convolutional ones to transformers. The prior (CNN) relies on small-windowed kernels to capture the regional clues, demonstrating solid local expressiveness. On the contrary, the latter (transformer) establishes long-range g...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2023
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8263 https://ink.library.smu.edu.sg/context/sis_research/article/9266/viewcontent/Adaptive.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9266 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-92662023-11-10T08:52:55Z Adaptive split-fusion transformer SU, Zixuan CHEN, Jingjing PANG, Lei NGO, Chong-wah JIANG, Yu-Gang Neural networks for visual content understanding have recently evolved from convolutional ones to transformers. The prior (CNN) relies on small-windowed kernels to capture the regional clues, demonstrating solid local expressiveness. On the contrary, the latter (transformer) establishes long-range global connections between localities for holistic learning. Inspired by this complementary nature, there is a growing interest in designing hybrid models which utilize both techniques. Current hybrids merely replace convolutions as simple approximations of linear projection or juxtapose a convolution branch with attention without considering the importance of local/global modeling. To tackle this, we propose a new hybrid named Adaptive Split-Fusion Transformer (ASF-former) that treats convolutional and attention branches differently with adaptive weights. Specifically, an ASF-former encoder equally splits feature channels into half to fit dual-path inputs. Then, the outputs of the dual-path are fused with weights calculated from visual cues. We also design a compact convolutional path from a concern of efficiency. Extensive experiments on standard benchmarks show that our ASF-former outperforms its CNN, transformer, and hybrid counterparts in terms of accuracy (83.9% on ImageNet-1K), under similar conditions (12.9G MACs / 56.7M Params, without large-scale pre-training). The code is available at: https://github.com/szx503045266/ASF-former. 2023-07-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8263 info:doi/10.1109/ICME55011.2023.00204 https://ink.library.smu.edu.sg/context/sis_research/article/9266/viewcontent/Adaptive.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University CNN Gating; Hybrid; Transformer; Visual understanding Databases and Information Systems |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
CNN Gating; Hybrid; Transformer; Visual understanding Databases and Information Systems |
spellingShingle |
CNN Gating; Hybrid; Transformer; Visual understanding Databases and Information Systems SU, Zixuan CHEN, Jingjing PANG, Lei NGO, Chong-wah JIANG, Yu-Gang Adaptive split-fusion transformer |
description |
Neural networks for visual content understanding have recently evolved from convolutional ones to transformers. The prior (CNN) relies on small-windowed kernels to capture the regional clues, demonstrating solid local expressiveness. On the contrary, the latter (transformer) establishes long-range global connections between localities for holistic learning. Inspired by this complementary nature, there is a growing interest in designing hybrid models which utilize both techniques. Current hybrids merely replace convolutions as simple approximations of linear projection or juxtapose a convolution branch with attention without considering the importance of local/global modeling. To tackle this, we propose a new hybrid named Adaptive Split-Fusion Transformer (ASF-former) that treats convolutional and attention branches differently with adaptive weights. Specifically, an ASF-former encoder equally splits feature channels into half to fit dual-path inputs. Then, the outputs of the dual-path are fused with weights calculated from visual cues. We also design a compact convolutional path from a concern of efficiency. Extensive experiments on standard benchmarks show that our ASF-former outperforms its CNN, transformer, and hybrid counterparts in terms of accuracy (83.9% on ImageNet-1K), under similar conditions (12.9G MACs / 56.7M Params, without large-scale pre-training). The code is available at: https://github.com/szx503045266/ASF-former. |
format |
text |
author |
SU, Zixuan CHEN, Jingjing PANG, Lei NGO, Chong-wah JIANG, Yu-Gang |
author_facet |
SU, Zixuan CHEN, Jingjing PANG, Lei NGO, Chong-wah JIANG, Yu-Gang |
author_sort |
SU, Zixuan |
title |
Adaptive split-fusion transformer |
title_short |
Adaptive split-fusion transformer |
title_full |
Adaptive split-fusion transformer |
title_fullStr |
Adaptive split-fusion transformer |
title_full_unstemmed |
Adaptive split-fusion transformer |
title_sort |
adaptive split-fusion transformer |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2023 |
url |
https://ink.library.smu.edu.sg/sis_research/8263 https://ink.library.smu.edu.sg/context/sis_research/article/9266/viewcontent/Adaptive.pdf |
_version_ |
1783955660359073792 |