Vision transformers (ViTs) have demonstrated remarkable performance across various visual tasks. However, ViT models suffer from substantial computational and memory requirements, making it challenging to deploy them on resource-constrained platforms. Quantization is a popular approach for reducing model size, but most studies mainly focus on equal bit-width quantization for the entire network, resulting in sub-optimal solutions. While there are few works on mixed precision quantization (MPQ) for ViTs, they typically rely on search space-based methods or employ mixed precision arbitrarily. In this paper, we introduce LRP-QViT, an explainability-based method for assigning mixed-precision bit allocations to different layers based on their importance during classification. Specifically, to measure the contribution score of each layer in predicting the target class, we employ the Layer-wise Relevance Propagation (LRP) method. LRP assigns local relevance at the output layer and propagates it through all layers, distributing the relevance until it reaches the input layers. These relevance scores serve as indicators for computing the layer contribution score. Additionally, we have introduced a clipped channel-wise quantization aimed at eliminating outliers from post-LayerNorm activations to alleviate severe inter-channel variations. To validate and assess our approach, we employ LRP-QViT across ViT, DeiT, and Swin transformer models on various datasets. Our experimental findings demonstrate that both our fixed-bit and mixed-bit post-training quantization methods surpass existing models in the context of 4-bit and 6-bit quantization.
Faster ISNet for Background Bias Mitigation on Deep Neural Networks
Alma Mater Studiorum - University of Bologna(博洛尼亚大学);Center for Biomolecular Nanotechnologies(生物分子纳米技术中心);Istituto Italiano di Tecnologia(意大利技术研究院);Centre Européen de Calcul Atomique et Moléculaire (CECAM)(欧洲原子与分子计算中心);Ecole Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)
Uncovering convolutional neural network decisions for diagnosing multiple sclerosis on conventional MRI using layer-wise relevance propagation
Charité – Universitätsmedizin Berlin(柏林夏里特医学院);Freie Universität Berlin(柏林自由大学);Humboldt-Universität zu Berlin(柏林洪堡大学);Berlin Institute of Health(柏林健康研究所)
Controlling Explanatory Heatmap Resolution and Semantics via Decomposition Depth
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);Singapore University of Technology(新加坡科技设计大学);Berlin Institute of Technology(柏林工业大学);Korea University(高丽大学)
Value bounds and Convergence Analysis for Averages of LRP attributions
ScaDS.AI & Faculty of Math and CS University of Leipzig, Germany(ScaDS.AI及数学与计算机科学学院莱比锡大学,德国);OvGU Magdeburg, Germany(马格德堡奥格斯堡大学,德国);Microsoft Research, USA(微软研究院,美国)
Explainable AI for Time Series via Virtual Inspection Layers
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);Technische Universität Berlin(柏林工业大学);Freie Universität Berlin(柏林自由大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(BIFOLD——柏林学习与数据基础研究所)
AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
Fraunhofer Heinrich-Hertz-Institute(弗劳恩霍夫海因茨·赫兹研究所);Technische Universität Berlin(柏林工业大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所(BIFOLD))
Improving deep neural network generalization and robustness to background bias via layer-wise relevance propagation optimization
Alma Mater Studiorum - University of Bologna(博洛尼亚大学);Center for Biomolecular Nanotechnologies, Istituto Italiano di Tecnologia(意大利技术研究院生物分子纳米技术中心);School of Medical Sciences, University of Campinas (UNICAMP)(坎皮纳斯大学(UNICAMP)医学院);Istituto Italiano di Tecnologia(意大利技术研究院)
Methodological Explainability Evaluation of an Interpretable Deep Learning Model for Post-Hepatectomy Liver Failure Prediction Incorporating Counterfactual Explanations and Layerwise Relevance Propagation: A Prospective In Silico Trial
Maastricht University(马斯特里赫特大学);Maastricht University Medical Center+(马斯特里赫特大学医学中心+);The First Affiliated Hospital of Sun Yat-sen University(中山大学附属第一医院);Guizhou University(贵州大学);Université Libre de Bruxelles(布鲁塞尔自由大学)
ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);DSC ScaDS.AI, Leipzig University(莱比锡大学DSC ScaDS.AI);ICT Cluster, Singapore Institute of Technology(新加坡理工大学ICT集群);Institute for Cancer Genetics and Informatics (ICGI), Oslo, Norway(奥斯陆癌症遗传学与信息学研究所);Technische Universität Berlin(柏林工业大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(BIFOLD – 柏林学习与数据基础研究所)
HiLRP: Toward One Trustworthy Explanation for Vision Transformer: Conservation-Valid Attribution via Attention Primitives
Faculty of Engineering, University of Peradeniya(佩拉德尼亚大学工程学院);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院);School of Engineering & Digital Technologies, University of Southern Queensland(南昆士兰大学工程与数字技术学院);School of Engineering & Technologies, UNSW(新南威尔士大学工程与技术学院);Faculty of Science and Technology, Charles Darwin University(查尔斯达尔文大学科学技术学院)