A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis. Paul, D., Chowdhury, A., Xiong, X., Chang, F., Carlyn, D., Stevens, S., Provost, K., Karpatne, A., Carstens, B., Rubenstein, D., Stewart, C., Berger-Wolf, T., Su, Y., & Chao, W. November, 2023. arXiv:2311.04157 [cs]
Paper abstract bibtex We present a novel usage of Transformers to make image classification interpretable. Unlike mainstream classifiers that wait until the last fully-connected layer to incorporate class information to make predictions, we investigate a proactive approach, asking each class to search for itself in an image. We realize this idea via a Transformer encoder-decoder inspired by DEtection TRansformer (DETR). We learn “class-specific” queries (one for each class) as input to the decoder, enabling each class to localize its patterns in an image via cross-attention. We name our approach INterpretable TRansformer (INTR), which is fairly easy to implement and exhibits several compelling properties. We show that INTR intrinsically encourages each class to attend distinctively; the cross-attention weights thus provide a faithful interpretation of the prediction. Interestingly, via “multi-head” cross-attention, INTR could identify different “attributes” of a class, making it particularly suitable for fine-grained classification and analysis, which we demonstrate on eight datasets. Our code and pre-trained model are publicly accessible at https://github.com/Imageomics/INTR.
@misc{paul_simple_2023,
title = {A {Simple} {Interpretable} {Transformer} for {Fine}-{Grained} {Image} {Classification} and {Analysis}},
url = {http://arxiv.org/abs/2311.04157},
abstract = {We present a novel usage of Transformers to make image classification interpretable. Unlike mainstream classifiers that wait until the last fully-connected layer to incorporate class information to make predictions, we investigate a proactive approach, asking each class to search for itself in an image. We realize this idea via a Transformer encoder-decoder inspired by DEtection TRansformer (DETR). We learn “class-specific” queries (one for each class) as input to the decoder, enabling each class to localize its patterns in an image via cross-attention. We name our approach INterpretable TRansformer (INTR), which is fairly easy to implement and exhibits several compelling properties. We show that INTR intrinsically encourages each class to attend distinctively; the cross-attention weights thus provide a faithful interpretation of the prediction. Interestingly, via “multi-head” cross-attention, INTR could identify different “attributes” of a class, making it particularly suitable for fine-grained classification and analysis, which we demonstrate on eight datasets. Our code and pre-trained model are publicly accessible at https://github.com/Imageomics/INTR.},
language = {en},
urldate = {2024-03-06},
publisher = {arXiv},
author = {Paul, Dipanjyoti and Chowdhury, Arpita and Xiong, Xinqi and Chang, Feng-Ju and Carlyn, David and Stevens, Samuel and Provost, Kaiya and Karpatne, Anuj and Carstens, Bryan and Rubenstein, Daniel and Stewart, Charles and Berger-Wolf, Tanya and Su, Yu and Chao, Wei-Lun},
month = nov,
year = {2023},
note = {arXiv:2311.04157 [cs]},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Computer Vision and Pattern Recognition},
}
Downloads: 0
{"_id":"raaDDq4quRAPudg6H","bibbaseid":"paul-chowdhury-xiong-chang-carlyn-stevens-provost-karpatne-etal-asimpleinterpretabletransformerforfinegrainedimageclassificationandanalysis-2023","author_short":["Paul, D.","Chowdhury, A.","Xiong, X.","Chang, F.","Carlyn, D.","Stevens, S.","Provost, K.","Karpatne, A.","Carstens, B.","Rubenstein, D.","Stewart, C.","Berger-Wolf, T.","Su, Y.","Chao, W."],"bibdata":{"bibtype":"misc","type":"misc","title":"A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis","url":"http://arxiv.org/abs/2311.04157","abstract":"We present a novel usage of Transformers to make image classification interpretable. Unlike mainstream classifiers that wait until the last fully-connected layer to incorporate class information to make predictions, we investigate a proactive approach, asking each class to search for itself in an image. We realize this idea via a Transformer encoder-decoder inspired by DEtection TRansformer (DETR). We learn “class-specific” queries (one for each class) as input to the decoder, enabling each class to localize its patterns in an image via cross-attention. We name our approach INterpretable TRansformer (INTR), which is fairly easy to implement and exhibits several compelling properties. We show that INTR intrinsically encourages each class to attend distinctively; the cross-attention weights thus provide a faithful interpretation of the prediction. Interestingly, via “multi-head” cross-attention, INTR could identify different “attributes” of a class, making it particularly suitable for fine-grained classification and analysis, which we demonstrate on eight datasets. Our code and pre-trained model are publicly accessible at https://github.com/Imageomics/INTR.","language":"en","urldate":"2024-03-06","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Paul"],"firstnames":["Dipanjyoti"],"suffixes":[]},{"propositions":[],"lastnames":["Chowdhury"],"firstnames":["Arpita"],"suffixes":[]},{"propositions":[],"lastnames":["Xiong"],"firstnames":["Xinqi"],"suffixes":[]},{"propositions":[],"lastnames":["Chang"],"firstnames":["Feng-Ju"],"suffixes":[]},{"propositions":[],"lastnames":["Carlyn"],"firstnames":["David"],"suffixes":[]},{"propositions":[],"lastnames":["Stevens"],"firstnames":["Samuel"],"suffixes":[]},{"propositions":[],"lastnames":["Provost"],"firstnames":["Kaiya"],"suffixes":[]},{"propositions":[],"lastnames":["Karpatne"],"firstnames":["Anuj"],"suffixes":[]},{"propositions":[],"lastnames":["Carstens"],"firstnames":["Bryan"],"suffixes":[]},{"propositions":[],"lastnames":["Rubenstein"],"firstnames":["Daniel"],"suffixes":[]},{"propositions":[],"lastnames":["Stewart"],"firstnames":["Charles"],"suffixes":[]},{"propositions":[],"lastnames":["Berger-Wolf"],"firstnames":["Tanya"],"suffixes":[]},{"propositions":[],"lastnames":["Su"],"firstnames":["Yu"],"suffixes":[]},{"propositions":[],"lastnames":["Chao"],"firstnames":["Wei-Lun"],"suffixes":[]}],"month":"November","year":"2023","note":"arXiv:2311.04157 [cs]","keywords":"Computer Science - Artificial Intelligence, Computer Science - Computer Vision and Pattern Recognition","bibtex":"@misc{paul_simple_2023,\n\ttitle = {A {Simple} {Interpretable} {Transformer} for {Fine}-{Grained} {Image} {Classification} and {Analysis}},\n\turl = {http://arxiv.org/abs/2311.04157},\n\tabstract = {We present a novel usage of Transformers to make image classification interpretable. Unlike mainstream classifiers that wait until the last fully-connected layer to incorporate class information to make predictions, we investigate a proactive approach, asking each class to search for itself in an image. We realize this idea via a Transformer encoder-decoder inspired by DEtection TRansformer (DETR). We learn “class-specific” queries (one for each class) as input to the decoder, enabling each class to localize its patterns in an image via cross-attention. We name our approach INterpretable TRansformer (INTR), which is fairly easy to implement and exhibits several compelling properties. We show that INTR intrinsically encourages each class to attend distinctively; the cross-attention weights thus provide a faithful interpretation of the prediction. Interestingly, via “multi-head” cross-attention, INTR could identify different “attributes” of a class, making it particularly suitable for fine-grained classification and analysis, which we demonstrate on eight datasets. Our code and pre-trained model are publicly accessible at https://github.com/Imageomics/INTR.},\n\tlanguage = {en},\n\turldate = {2024-03-06},\n\tpublisher = {arXiv},\n\tauthor = {Paul, Dipanjyoti and Chowdhury, Arpita and Xiong, Xinqi and Chang, Feng-Ju and Carlyn, David and Stevens, Samuel and Provost, Kaiya and Karpatne, Anuj and Carstens, Bryan and Rubenstein, Daniel and Stewart, Charles and Berger-Wolf, Tanya and Su, Yu and Chao, Wei-Lun},\n\tmonth = nov,\n\tyear = {2023},\n\tnote = {arXiv:2311.04157 [cs]},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Computer Vision and Pattern Recognition},\n}\n\n\n\n","author_short":["Paul, D.","Chowdhury, A.","Xiong, X.","Chang, F.","Carlyn, D.","Stevens, S.","Provost, K.","Karpatne, A.","Carstens, B.","Rubenstein, D.","Stewart, C.","Berger-Wolf, T.","Su, Y.","Chao, W."],"key":"paul_simple_2023","id":"paul_simple_2023","bibbaseid":"paul-chowdhury-xiong-chang-carlyn-stevens-provost-karpatne-etal-asimpleinterpretabletransformerforfinegrainedimageclassificationandanalysis-2023","role":"author","urls":{"Paper":"http://arxiv.org/abs/2311.04157"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Computer Vision and Pattern Recognition"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero-group/dianeboghrat/4794400","dataSources":["AqFiHeuEZumM3vEQ7"],"keywords":["computer science - artificial intelligence","computer science - computer vision and pattern recognition"],"search_terms":["simple","interpretable","transformer","fine","grained","image","classification","analysis","paul","chowdhury","xiong","chang","carlyn","stevens","provost","karpatne","carstens","rubenstein","stewart","berger-wolf","su","chao"],"title":"A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis","year":2023}