arXiv:2411.00630cs.CVcs.AI2024-11被引 9

提出一种实时解释视频Transformer模型的时空注意力方法。

STAA: Spatio-Temporal Attention Attribution for Real-Time Interpreting Transformer-based Video Models

  • 从注意力值中同步提取时空解释信息,避免分步处理。
  • 在Kinetics-400上实现高精度可视化,计算开销低于传统方法3%。
  • 适合需要实时可解释性的视频分析场景,如安防与医疗监控。

基于Transformer的模型在图像与视频分析等计算机视觉任务中表现优异,但其复杂结构和黑箱特性限制了可解释性,而可解释性对实际应用与科学研究至关重要。现有可解释AI(XAI)方法仅能提供一维特征重要性(空间或时间),且计算开销大。本文提出STAA(Spatio-Temporal Attention Attribution),一种用于解释视频Transformer模型的XAI方法。不同于将图像XAI技术应用于空间特征或对时间段进行贡献分析的传统方法,STAA直接从Transformer的注意力值中同时获取空间与时间信息。研究采用Kinetics-400数据集(包含400类人类动作)进行评估,并引入量化指标衡量解释效果。通过动态阈值与注意力聚焦机制优化输出,显著提升解释信号噪声比,实现更精准的可视化与更高评价分数。相比传统方法,本方法计算开销不足3%,适用于实时视频可解释性分析。STAA为研究人员与实践者提供了分析Transformer模型的新工具。

原文摘要 · Abstract (English)

Transformer-based models have achieved state-of-the-art performance in various computer vision tasks, including image and video analysis. However, Transformer's complex architecture and black-box nature pose challenges for explainability, a crucial aspect for real-world applications and scientific inquiry. Current Explainable AI (XAI) methods can only provide one-dimensional feature importance, either spatial or temporal explanation, with significant computational complexity. This paper introduces STAA (Spatio-Temporal Attention Attribution), an XAI method for interpreting video Transformer models. Differ from traditional methods that separately apply image XAI techniques for spatial features or segment contribution analysis for temporal aspects, STAA offers both spatial and temporal information simultaneously from attention values in Transformers. The study utilizes the Kinetics-400 dataset, a benchmark collection of 400 human action classes used for action recognition research. We introduce metrics to quantify explanations. We also apply optimization to enhance STAA's raw output. By implementing dynamic thresholding and attention focusing mechanisms, we improve the signal-to-noise ratio in our explanations, resulting in more precise visualizations and better evaluation results. In terms of computational overhead, our method requires less than 3\% of the computational resources of traditional XAI methods, making it suitable for real-time video XAI analysis applications. STAA contributes to the growing field of XAI by offering a method for researchers and practitioners to analyze Transformer models.

可解释AI视频分析Transformer实时解释

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。