awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jacobgil avatar

jacobgil/vit-explain

0
View on GitHub↗
1,090 星标·108 分支·Python·MIT·5 次浏览

Vit Explain

Vit-explain 是一个诊断框架,旨在解释视觉 Transformer(Vision Transformer)模型的决策过程。它作为一个用于检查内部模型状态的工具包,允许用户映射视觉注意力并分析特定图像特征如何影响分类结果。

该项目通过提供事后(post-hoc)模型解释脱颖而出,无需架构修改或重新训练即可分析训练好的神经网络。它采用诸如基于 Hook 的特征提取等技术在正向传递期间拦截内部激活,并结合 Transformer 注意力展开(attention rollout)和层级相关性传播(layer-wise relevance propagation)等方法,追踪信息从输入到输出的流动。

通过生成追踪注意力流和权重分布的热力图,该框架可视化了哪些特定像素和模式驱动了模型的预测。它通过使用目标类梯度过滤注意力图来支持类特定的解释,为调试深度学习模型和识别导致分类结果的视觉元素提供了诊断实用程序。

Features

  • Deep Learning Interpretability - Analyzes neural network decision-making processes by mapping visual attention weights and gradients to input image regions.
  • Transformer Explainability - Analyzes how vision transformer models process visual data by generating heatmaps that track attention flow across image regions.
  • Attention Rollout Techniques - Aggregates attention maps across multiple layers by recursively multiplying weight matrices to trace the flow of information.
  • Attention Visualizations - Generates heatmaps that track the flow of attention across image regions to reveal model processing priorities.
  • Computer Vision Model Debugging - Visualizes internal decision-making processes by highlighting specific pixels and patterns that drive classification results.
  • Internal Activation Hooks - Intercepts internal tensor activations during the forward pass to capture intermediate attention maps without modifying model architecture.
  • Attribution Gradients - Calculates feature importance by backpropagating gradients from target classification outputs to input image patches.
  • Relevance Propagation Methods - Distributes classification scores backward through network layers to identify which specific input pixels contributed most to the final prediction.
  • Class-Specific Explainers - Filters attention maps with target class gradients to isolate visual elements contributing to specific classification outcomes.
  • Transformer Explainability Tools - Provides diagnostic utilities for visualizing attention maps and gradients to interpret vision transformer classification features.
  • Architecture Interpretation - Analyzes trained model weights and gradients to provide visual explanations without requiring retraining or architectural changes.

Star 历史

jacobgil/vit-explain 的 Star 历史图表jacobgil/vit-explain 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Vit Explain 的精选搜索

收录 Vit Explain 的精选合集。
  • 机器学习模型可解释性工具

Vit Explain 的开源替代方案

相似的开源项目,按与 Vit Explain 的功能重合度排序。
  • cdpierse/transformers-interpretcdpierse 的头像

    cdpierse/transformers-interpret

    1,412在 GitHub 上查看↗

    Transformers-interpret is a diagnostic library designed for the interpretability of transformer-based machine learning models. It functions as an attribution framework that quantifies the contribution of individual input tokens to a model's final predictions, allowing users to audit decision patterns and debug natural language processing tasks. The library utilizes gradient-based analysis and hook-based introspection to trace how specific input features influence model outputs. By mapping abstract numerical attribution scores back to human-readable linguistic units, it provides a clear view o

    Jupyter Notebookcaptumcomputer-visiondeep-learning
    在 GitHub 上查看↗1,412
  • jacobgil/pytorch-grad-camjacobgil 的头像

    jacobgil/pytorch-grad-cam

    12,893在 GitHub 上查看↗

    This project is a computer vision explainable AI library and framework for PyTorch, providing a suite of tools to visualize and audit the internal decision-making processes of deep neural networks. It serves as a neural network attribution tool and debugging utility to identify which image regions drive model predictions. The library is distinguished by its support for both gradient-based and gradient-free attribution methods, allowing for the generation of visual heatmaps and attribution maps without requiring modifications to the original model source code. It further differentiates itself

    Python
    在 GitHub 上查看↗12,893
  • transformerlensorg/transformerlensTransformerLensOrg 的头像

    TransformerLensOrg/TransformerLens

    3,098在 GitHub 上查看↗

    TransformerLens is a library for mechanistic interpretability research designed to reverse engineer the learned algorithms within large language models. It provides a standardized framework for wrapping diverse transformer architectures, allowing researchers to extract, manipulate, and analyze internal activations and weights through a consistent interface. The project distinguishes itself through a comprehensive system of activation hooks that can capture, patch, and ablate internal tensors during the forward pass. It includes specialized utilities for decomposing fused projections, material

    Python
    在 GitHub 上查看↗3,098
  • christophm/interpretable-ml-bookchristophM 的头像

    christophM/interpretable-ml-book

    5,317在 GitHub 上查看↗

    This project is a comprehensive educational resource and technical manual focused on interpretable machine learning and explainable AI. It serves as a textbook and reference for implementing techniques that make complex machine learning models transparent and understandable to humans. The resource provides guidance on both building inherently transparent models, such as decision trees and sparse linear models, and applying post-hoc explanation methods to black-box systems. It details specific methodologies for quantifying feature importance, generating rationales for individual predictions, a

    Jupyter Notebook
    在 GitHub 上查看↗5,317
查看 Vit Explain 的所有 20 个替代方案→

常见问题解答

jacobgil/vit-explain 是做什么的?

Vit-explain 是一个诊断框架,旨在解释视觉 Transformer(Vision Transformer)模型的决策过程。它作为一个用于检查内部模型状态的工具包,允许用户映射视觉注意力并分析特定图像特征如何影响分类结果。

jacobgil/vit-explain 的主要功能有哪些?

jacobgil/vit-explain 的主要功能包括:Deep Learning Interpretability, Transformer Explainability, Attention Rollout Techniques, Attention Visualizations, Computer Vision Model Debugging, Internal Activation Hooks, Attribution Gradients, Relevance Propagation Methods。

jacobgil/vit-explain 有哪些开源替代品?

jacobgil/vit-explain 的开源替代品包括: cdpierse/transformers-interpret — Transformers-interpret is a diagnostic library designed for the interpretability of transformer-based machine learning… jacobgil/pytorch-grad-cam — This project is a computer vision explainable AI library and framework for PyTorch, providing a suite of tools to… transformerlensorg/transformerlens — TransformerLens is a library for mechanistic interpretability research designed to reverse engineer the learned… christophm/interpretable-ml-book — This project is a comprehensive educational resource and technical manual focused on interpretable machine learning… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… tingsongyu/pytorch-tutorial-2nd — This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It…