awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
meta-pytorch avatar

meta-pytorch/captum

0
View on GitHub↗

Captum

Captum is a model interpretability library for PyTorch that explains why neural networks make the predictions they do. It provides a unified set of attribution and explanation algorithms covering input features, internal layers, individual neurons, and human-understandable concepts, and it also serves as a research framework for building and comparing new interpretability methods.

Feature attribution is the central capability: gradient-based and perturbation-based methods such as Integrated Gradients and DeepLift score how strongly each input feature pushed a prediction up or down, often relative to a baseline input. The same approach extends to layers and neurons to show which parts of a network matter most. Concept-based explanation uses concept vectors to test how higher-level concepts contribute to predictions. A separate training data influence area uses influence functions and similarity comparisons to identify which training examples most shaped a model's behavior on test inputs.

Around these core methods, the library reports a convergence delta so users can judge attribution approximation error, and it can average results over noise-perturbed inputs to produce cleaner attribution maps. Evaluation metrics for infidelity and sensitivity allow different algorithms to be compared on shared models. Visualization tools render attribution scores as plots, and counterfactual and adversarial perturbation tools show how small input edits change a model's output.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
captum.ai
↗

Features

  • Model Interpretability - Offers a unified set of interpretability methods that help researchers understand and attribute the outputs of PyTorch neural networks.
  • PyTorch Libraries - Provides a PyTorch-native library of attribution and explanation algorithms that reveal why neural networks make their predictions, across input features, layers, neurons and concepts.
  • Feature Attribution Methods - Scores each input feature's push on a prediction using gradient and perturbation methods, often relative to a baseline input.
  • Input Feature Attributions - Collects gradient-based and perturbation-based methods such as Integrated Gradients and DeepLift that score each input feature's effect on a model's output.
  • Model Explainability - Explains neural network outputs by attributing them to the input features and internal neurons that influenced them.
  • Neural Network Explainability Frameworks - Provides a research framework for comparing interpretability algorithms on shared models, with metrics for attribution accuracy, infidelity and sensitivity.
  • Attribution Algorithm Benchmarks - Lets researchers implement new attribution methods and benchmark them against a shared library of existing algorithms on the same models.
  • Concept-Based Explanations - Uses concept vectors to test how higher-level, human-understandable concepts contribute to a model's predictions.
  • Neuron Importance Attribution - Measures how much individual neurons and internal layers contribute to a prediction using gradient, activation and conductance-based attribution methods.
  • Training Data Influence Analysis - Traces which training examples most shaped a model's predictions on test inputs using influence functions and similarity comparisons between training and test samples.
  • Explanation Fidelity Evaluation - Provides infidelity and sensitivity metrics for scoring how faithful and stable attribution explanations are across algorithms.
5,720 stars·574 forks·Python·BSD-3-Clause·1 view

Star history

Star history chart for meta-pytorch/captumStar history chart for meta-pytorch/captum

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does meta-pytorch/captum do?

Captum is a model interpretability library for PyTorch that explains why neural networks make the predictions they do. It provides a unified set of attribution and explanation algorithms covering input features, internal layers, individual neurons, and human-understandable concepts, and it also serves as a research framework for building and comparing new interpretability methods.

What are the main features of meta-pytorch/captum?

The main features of meta-pytorch/captum are: Model Interpretability, PyTorch Libraries, Feature Attribution Methods, Input Feature Attributions, Model Explainability, Neural Network Explainability Frameworks, Attribution Algorithm Benchmarks, Concept-Based Explanations.

Which projects share features with meta-pytorch/captum?

Projects with overlapping indexed features include: pytorch/captum — Captum is an open-source library for explaining model predictions by attributing them to input features, neurons, and… pair-code/lit — Lit is a machine learning interpretability framework and model debugging tool designed to analyze model behavior and… interpretml/interpret — Interpret is an interpretable machine learning library and glassbox model framework. It provides toolkits for training… jacobgil/pytorch-grad-cam — This project is a computer vision explainable AI library and framework for PyTorch, providing a suite of tools to… christophm/interpretable-ml-book — This project is a comprehensive educational resource and technical manual focused on interpretable machine learning… slundberg/shap — SHAP is a machine learning explainer that uses a game-theoretic framework to estimate the contribution of each feature…

Projects sharing features with Captum

These projects share indexed features with Captum. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • pytorch/captumpytorch avatar

    pytorch/captum

    5,652View on GitHub↗

    Captum is an open-source library for explaining model predictions by attributing them to input features, neurons, and layers using gradient-based and perturbation-based methods. It provides a modular framework for implementing, evaluating, and combining a range of explanation techniques, including gradient-based attribution, perturbation-based analysis, game-theoretic Shapley value approximation, and surrogate model explanations, with support for parallelization and noise stabilization. The library distinguishes itself through its breadth of attribution methods and its support for advanced in

    Python
    View on GitHub↗5,652
  • pair-code/litPAIR-code avatar

    PAIR-code/lit

    3,636View on GitHub↗

    Lit is a machine learning interpretability framework and model debugging tool designed to analyze model behavior and performance. It serves as an interpretability dashboard for large language models and a general performance analyzer for text, image, and tabular datasets. The project distinguishes itself through a comprehensive suite of interpretability tools, including salience map generation for feature attribution, the creation of synthetic and counterfactual examples to test robustness, and the projection of high-dimensional embeddings into visual spaces via UMAP or PCA. It further enable

    TypeScriptmachine-learningnatural-language-processingvisualization
    View on GitHub↗3,636
  • interpretml/interpretinterpretml avatar

    interpretml/interpret

    6,881View on GitHub↗

    Interpret is an interpretable machine learning library and glassbox model framework. It provides toolkits for training inherently transparent models and applying post-hoc explanation techniques to make machine learning predictions human-understandable. The framework distinguishes itself by integrating differential privacy into the training of interpretable models to prevent sensitive data from leaking through explanations. It also features a visualization tool for rendering interactive decision paths and model behavior. The library covers model explainability through feature importance calcu

    C++
    View on GitHub↗6,881
  • jacobgil/pytorch-grad-camjacobgil avatar

    jacobgil/pytorch-grad-cam

    12,893View on 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
    View on GitHub↗12,893
Compare all 30 related projects→