meta-pytorch/captum

Model interpretability and understanding for PyTorch

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 17 minutes ago
Added to GitGenius on September 11th, 2026
Created on August 27th, 2019
Open Issues & Pull Requests: 73 (+0)
GitHub issues: Enabled
Number of forks: 565
Total Stargazers: 5,701 (+0)
Total Subscribers: 276 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 15.4 days
Mean response time: 267.0 days
90th percentile: 993.4 days
Tracked items: 224

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 4 days, while "question" waits about 8 weeks. Only 1% of issues opened in the past year have been closed. Three people close 93% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 32
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,328 days
Stale 30+ days: 31
Stale 90+ days: 28

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (133)
  • enhancement (58)
  • bug (40)
  • documentation (28)
  • new algorithm (17)
  • insights (4)
  • attribution (3)
  • design doc (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Captum is a model interpretability library for PyTorch that implements feature attribution and explanation algorithms to help developers understand model predictions.

The library addresses the challenge of understanding what drives predictions in complex machine learning models. It provides implementations of algorithms including integrated gradients, saliency maps, smoothgrad, vargrad, and testing with concept activation vectors. These methods reveal which features, training examples, or concepts contribute to a model's predictions. The tool also includes adversarial attack capabilities and minimal input perturbation methods for generating counterfactual explanations. Integration with domain-specific PyTorch libraries like torchvision and torchtext enables quick adoption into existing workflows.

Captum suits model developers seeking to improve and debug their models by identifying important features and unexpected behaviors, as well as interpretability researchers implementing and benchmarking new explanation algorithms. Application engineers deploying models in production can use it to troubleshoot issues and provide end users with explanations for model outputs. The library is designed for practitioners who need state-of-the-art interpretability methods without implementing them from scratch.

The project maintains active engagement with its community through regular updates and documentation. Development activity shows consistent attention to the codebase with ongoing refinements and feature additions. The maintainers prioritize compatibility with current PyTorch versions and provide clear installation paths through multiple package managers. The project sustains a comprehensive test suite and documentation infrastructure to support both researchers and practitioners adopting the library.