Understanding of Feature Representation in Convolutional Neural Networks and Vision Transformer

Hiroaki Minoura, Tsubasa Hirakawa, Takayoshi Yamashita, Hironobu Fujiyoshi

2023

Abstract

Understanding a feature representation (e.g., object shape and texture) of an image is an important clue for image classification tasks using deep learning models, it is important to us humans. Transformer-based architectures such as Vision Transformer (ViT) have outperformed higher accuracy than Convolutional Neural Networks (CNNs) on such tasks. To capture a feature representation, ViT tends to focus on the object shape more than the classic CNNs as shown in prior work. Subsequently, the derivative methods based on self-attention and those not based on self-attention have also been proposed. In this paper, we investigate the feature representations captured by the derivative methods of ViT in an image classification task. Specifically, we investigate the following using a publicly available ImageNet pre-trained model, i ) a feature representation of either an object’s shape or texture using the derivative methods with the SIN dataset, ii ) a classification without relying on object texture using the edge image made by the edge detection network, and iii ) the robustness of a different feature representation with a common perturbation and corrupted image. Our results indicate that the network which focused more on shapes had an effect captured feature representations more accurately in almost all the experiments.

Download


Paper Citation


in Harvard Style

Minoura H., Hirakawa T., Yamashita T. and Fujiyoshi H. (2023). Understanding of Feature Representation in Convolutional Neural Networks and Vision Transformer. In Proceedings of the 18th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2023) - Volume 5: VISAPP; ISBN 978-989-758-634-7, SciTePress, pages 429-436. DOI: 10.5220/0011621300003417


in Bibtex Style

@conference{visapp23,
author={Hiroaki Minoura and Tsubasa Hirakawa and Takayoshi Yamashita and Hironobu Fujiyoshi},
title={Understanding of Feature Representation in Convolutional Neural Networks and Vision Transformer},
booktitle={Proceedings of the 18th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2023) - Volume 5: VISAPP},
year={2023},
pages={429-436},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011621300003417},
isbn={978-989-758-634-7},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 18th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2023) - Volume 5: VISAPP
TI - Understanding of Feature Representation in Convolutional Neural Networks and Vision Transformer
SN - 978-989-758-634-7
AU - Minoura H.
AU - Hirakawa T.
AU - Yamashita T.
AU - Fujiyoshi H.
PY - 2023
SP - 429
EP - 436
DO - 10.5220/0011621300003417
PB - SciTePress