AI Assessment and Implementation Resources

Technical Resources

Benchmarks and Evaluation Frameworks

Resources for evaluating ML and generative AI systems, covering safety, fairness, factuality, robustness, efficiency, and agent behavior. Evaluation frameworks, benchmarks, catalogues, and historical references are grouped below; results depend on the task, benchmark version, and evaluation setup.

Evaluation Frameworks and Benchmark Implementations

Resource Description
EleutherAI, Language Model Evaluation Harness Framework for reproducible language-model evaluation, with configurable benchmark tasks, metrics, and support for multiple model backends.
HELM Framework and benchmark suites for reproducible evaluation of language and multimodal foundation models across multiple scenarios and metrics.
Hugging Face, evaluate "Evaluate: A library for easily evaluating machine learning models and datasets."
Inspect AI Framework for evaluating language and multimodal models and agents, with reusable tasks, tools, scorers, sandboxing, and result analysis.
Inspect Evals Benchmark implementations and an evaluation register for Inspect AI, covering model capabilities, safeguards, and agent tasks.
Lighteval Toolkit for running language-model benchmarks across multiple local and hosted backends, including multilingual benchmark tasks.

Safety and Fairness Benchmarks

Resource Description
Bias Benchmark for QA dataset-BBQ "Repository for the Bias Benchmark for QA dataset."
DecodingTrust "A Comprehensive Assessment of Trustworthiness in GPT Models."
i-gallegos, Fair-LLM-Benchmark Benchmark from "Bias and Fairness in Large Language Models: A Survey"
JailbreakBench Benchmark datasets and evaluation infrastructure for comparing jailbreak attacks and defenses, including harmful behaviors and matched benign requests.
MLCommons AILuminate Family of generative-AI safety and security benchmarks, including multilingual text-safety and text/image jailbreak assessments.
ModelSlant.com "How politically slanted are Large Language Models?"
RealToxicityPrompts Prompt dataset for measuring toxic continuations produced by language models.
StrongREJECT Jailbreak benchmark with rubric-based and fine-tuned evaluators for assessing the harmfulness of model responses.
Trust-LLM-Benchmark Leaderboard A series of sortable leaderboards of LLMs based on different trustworthiness criteria.
TrustLLM-Benchmark "A Comprehensive Study of Trustworthiness in Large Language Models."
Winogender Schemas "Data for evaluating gender bias in coreference resolution systems."
XSTest Test suite for detecting exaggerated refusals of safe requests, with contrasting unsafe prompts and response-evaluation scripts.

Factuality and Answer Quality Benchmarks

Resource Description
GEM "GEM is a benchmark environment for Natural Language Generation with a focus on its Evaluation, both through human annotations and automated Metrics."
LongFact and SAFE Long-form factuality prompts and SAFE, a search-assisted evaluator that checks individual factual claims in model responses.
SimpleQA Verified Revised short-form factuality benchmark based on SimpleQA, with curated questions, reference answers, and automated grading.
TruthfulQA "TruthfulQA: Measuring How Models Imitate Human Falsehoods."

Agent and Application Benchmarks

Resource Description
AgentDojo Dynamic environments for evaluating prompt-injection attacks and defenses against LLM agents performing tool-based tasks.
AgentHarm Benchmark of harmful multi-step requests and benign controls for evaluating tool-using LLM agents. Use is restricted to improving AI safety and security.
OSWorld Benchmark and execution environment for evaluating multimodal agents on desktop tasks spanning applications and operating systems.
SWE-bench Benchmark family for evaluating software agents on repository issue resolution, with Verified, multilingual, and multimodal variants.
tau-bench Simulated customer-service tasks for evaluating agents' tool use, policy adherence, and interaction with users, with text and voice benchmark tracks.

Robustness, Tabular ML, and Efficiency

Resource Description
benchm-ml "A minimal benchmark for scalability, speed and accuracy of commonly used open source implementations (R packages, Python scikit-learn, H2O, xgboost, Spark MLlib etc.) of the top machine learning algorithms for binary classification (random forests, gradient boosted trees, deep neural networks etc.)."
ML.ENERGY Leaderboard "Large language models (LLMs), especially the instruction-tuned ones, can generate human-like responses to chat prompts. Using Zeus for energy measurement, we created a leaderboard for LLM chat energy consumption."
MLPerf (MLCommons) MLCommons benchmarks for comparing training and inference performance across machine-learning hardware and software configurations.
OpenML Benchmarking Suites Curated collections of datasets and evaluation tasks for reproducible comparisons of machine-learning methods.
RobustBench Benchmark and model zoo for evaluating image classifiers under adversarial perturbations and common corruptions.
Shifts Datasets and reference implementations for evaluating prediction quality and uncertainty under real distribution shifts across multiple tasks. Some datasets have noncommercial license terms.
WAVES: Benchmarking the Robustness of Image Watermarks "This paper investigates the weaknesses of image watermarking techniques."
Wild-Time: A Benchmark of in-the-Wild Distribution Shifts over Time "Benchmark for Natural Temporal Distribution Shift (NeurIPS 2022)."
yandex-research - tabred "A Benchmark of Tabular Machine Learning in-the-Wild with real-world industry-grade tabular datasets."

Catalogues and Reference Materials

Resource Description
Cataloguing LLM Evaluations "This repository stems from our paper, 'Cataloguing LLM Evaluations,' and serves as a living, collaborative catalogue of LLM evaluation frameworks, benchmarks and papers."
Evidently LLM Benchmark Catalogue "A database of LLM benchmarks and datasets to evaluate the performance of language models."
jphall663, Generative AI Risk Management Resources "A place for ideas and drafts related to GAI risk management."
MLCommons AI Safety Benchmark v0.5: 2024 Paper (Historical) Historical proof-of-concept paper documenting methodology and limitations; its authors advise against using v0.5 to assess system safety.
MLCommons AI Safety v0.5: 2024 Proof of Concept (Historical) Historical launch announcement describing the early proof of concept and its development toward later safety benchmarks.
SafetyPrompts.com "A Living Catalogue of Open Datasets for LLM Safety."
Sociotechnical Safety Evaluation Repository An extensive spreadsheet of sociotechnical safety evaluations in a spreadsheet.

For related datasets and testing tools, see Common or Useful Datasets, AI Red-Teaming Resources, ML Lifecycle Management, Monitoring, and Observability, and Open Source/Access Responsible AI Software Packages.

Common or Useful Datasets

This section contains datasets commonly used in responsible ML evaluations, along with repositories of important or useful data sources.

Data Repositories

Domain-specific Software

This section curates specialized software tools aimed at responsible ML within specific domains, such as in healthcare, finance, or social sciences.

Health care and clinical AI

Financial services

Autonomous and safety-critical systems

Environmental accountability

Cybersecurity

ML Lifecycle Management, Monitoring, and Observability

This section contains open-source and source-available software for tracking data and models, reproducing workflows, validating changes, and observing deployed ML, LLM, and agent systems. Resources are grouped by their main function; many tools support more than one stage of the lifecycle. Material license qualifications are identified in the relevant entries.

Data and Model Versioning, Experiment Tracking, and Lineage

Resource Description
Aim Self-hosted experiment tracking for recording and comparing metrics, hyperparameters, and other metadata across training runs.
ClearML Experiment management and orchestration for recording code, parameters, environments, metrics, and artifacts and reproducing ML workloads.
DVC Version control for datasets, pipelines, and experiments, linking reproducible data and workflow states to a project's development history.
lakeFS Git-like branching, versioning, and rollback for data lakes, supporting reproducible datasets and testing of data changes. Source-available under BUSL-1.1.
ML Metadata (MLMD) A library for recording and retrieving metadata associated with ML developer and data-scientist workflows.
MLflow A lifecycle platform for experiment tracking, model packaging and registry workflows, and evaluation, tracing, and monitoring of ML and generative-AI applications.
ModelDB A system for versioning ML models and their code, data, configuration, and environments and tracking experiment metadata.
OpenLineage An open standard and integration ecosystem for collecting job, run, and dataset lineage metadata across data-processing workflows.

Reproducible Pipelines and Environments

Resource Description
Flyte Workflow orchestration for executing ML pipelines, model workloads, and agent applications as structured, repeatable tasks.
Gigantum "Building a better way to create, collaborate, and share data-driven science."
Kedro A Python framework for modular, reproducible data and ML pipelines, with a data catalog and structured project conventions.
Kubeflow Pipelines A platform and SDK for composing, executing, and reusing end-to-end ML workflows on Kubernetes.
Metaflow A framework for developing and operating ML and AI workflows, with versioned runs, dependency management, and deployment to workflow orchestrators.
ZenML A framework for defining ML and AI pipelines, tracking their runs and artifacts, and executing them across infrastructure backends.

Data Quality, Drift Detection, and Production Monitoring

Resource Description
Alibi Detect A Python library for outlier, adversarial, and drift detection across several data modalities. Source-available under BUSL-1.1.
Evidently A framework for evaluating, testing, and monitoring ML and LLM systems, including data quality, distribution drift, model performance, and output-quality checks.
Great Expectations (GX Core) A data-validation framework for expressing expectations, running data-quality checks, and generating documentation from validation results.
NannyML Post-deployment monitoring for tabular models, including data-drift detection, realized performance, and performance estimation when target labels are unavailable under the methods' assumptions.
River A Python library for learning from data streams, including online evaluation and drift-detection algorithms.
TensorFlow Data Validation Tools for exploring and validating ML data through summary statistics, schema generation, distribution comparisons, and anomaly detection.
whylogs A data-profiling library that creates mergeable statistical summaries for examining data quality and changes in distributions over time.

LLM and Agent Tracing, Evaluation, and Observability

Resource Description
Arize Phoenix A platform for tracing, evaluating, and debugging LLM applications and agents, with datasets and experiments. Source-available under Elastic License 2.0.
Helicone An LLM observability platform and AI gateway for examining requests, agent traces, latency, costs, and application behavior.
Langfuse An LLM engineering platform for tracing, prompt management, datasets, feedback, evaluation, and debugging. The core is MIT-licensed; enterprise components have separate terms.
OpenInference Conventions and instrumentation for tracing AI applications, including model calls, retrieval, and tool use, with OpenTelemetry-compatible backends.
OpenLLMetry OpenTelemetry-based instrumentation and SDKs for observing LLM applications and connecting their traces to existing observability backends.
Opik A platform for tracing, evaluating, debugging, and monitoring LLM applications, RAG systems, and agent workflows.
TruLens Instrumentation and evaluation for LLM applications and agents, combining application traces with feedback functions and comparison of experiments.

Operational Testing and Regression Evaluation

Resource Description
Deepchecks Validation suites for ML datasets and models, including data-integrity, train/test-validation, and model-performance checks.
DeepEval An LLM evaluation and testing framework with dataset-based tests, application metrics, and integration into continuous-integration workflows.
Ragas An evaluation toolkit for LLM applications, including retrieval-augmented generation, agent workflows, and comparisons of prompts and system changes.

For additional assessment and testing resources, see Benchmarks and Evaluation Frameworks, AI Red-Teaming Resources, and Open Source/Access Responsible AI Software Packages.

Personal Data Protection Tools

This section contains open source or open access tools for detecting, protecting, auditing, and removing personal data in machine learning systems.

Name Description
Anonymeter A unified framework for quantifying privacy risk in synthetic data through singling-out, linkability, and inference attacks.
Concrete ML A privacy-preserving machine learning framework using fully homomorphic encryption, with bindings to traditional machine learning frameworks.
diffprivlib A general-purpose Python library for experimenting with, investigating, and developing applications in differential privacy.
DP Wizard A web application for creating data releases that satisfy differential privacy using the OpenDP Library.
Google Differential Privacy Google's libraries for differential privacy, including privacy accounting, statistical algorithms, and data-processing integrations.
JAX Privacy Algorithms for privacy-preserving machine learning in JAX.
LLM Dataset Inference: Did you train on my dataset? Code for testing whether a dataset was used to train a large language model.
Machine Unlearning with SISA A reference implementation of the SISA training approach for efficiently removing the influence of specified data from trained models.
ML Privacy Meter An open-source library for auditing data privacy in statistical and machine learning algorithms.
OpenAI Privacy Filter A locally deployable model and library for detecting and masking personally identifiable information in text.
OpenDP A modular library of differential privacy algorithms implemented in Rust, with Python and R bindings.
OpenPipe PII Redaction A Python package for locally detecting and redacting personally identifiable information in text and JSONL conversation datasets.
OpenUnlearning A unified framework for developing and evaluating large language model unlearning methods.
Opacus A PyTorch library for training machine learning models with differential privacy.
Presidio A framework for detecting, redacting, masking, and anonymizing sensitive data across text, images, and structured data.
SDMetrics A library of metrics for evaluating the quality, efficacy, and privacy of synthetic datasets.
SmartNoise SDK Tools and services for differentially private processing of tabular and relational data.
TensorFlow Privacy A library for training TensorFlow models with differential privacy and analyzing the privacy guarantees of training procedures.
Tumult Analytics A Python library for executing differentially private operations on data, with an emphasis on usability and scalability.

Secure and Privacy-Preserving Computation Infrastructure

This section contains open source or open access infrastructure for secure multiparty computation, homomorphic encryption, federated learning, private set operations, and privacy-preserving data analysis and machine learning.

Name Description
ABY A C++ framework for mixed-protocol secure two-party computation using arithmetic sharing, Boolean sharing, and garbled circuits.
Concrete A compiler and runtime for converting Python programs into computations that can run over fully homomorphically encrypted data.
EMP-tool A C++ toolkit providing low-level cryptographic primitives and circuit infrastructure for secure multiparty computation.
FATE A federated learning platform supporting privacy-preserving model training and serving through techniques including homomorphic encryption and secure multiparty computation.
Google Private Join and Compute An implementation of a private intersection-sum protocol for identifying overlapping records and computing aggregate values without revealing complete datasets.
Kuscia A Kubernetes-based orchestration framework for deploying and managing privacy-preserving computing tasks across organizations.
Lattigo A Go library implementing homomorphic encryption and multiparty homomorphic encryption schemes for secure distributed computation.
MOTION A modular C++ framework for mixed-protocol secure multiparty computation involving two or more parties.
MOTION2NX An extension of MOTION for hybrid secure two-party computation and privacy-preserving neural network inference.
MP-SPDZ A framework implementing numerous secure multiparty computation protocols, with support for privacy-preserving machine learning and neural network inference.
MPyC A Python framework for secure multiparty computation using threshold secret sharing, with support for secure numerical and machine learning operations.
PySyft Infrastructure for executing approved computations on private data while the data remains under the control of its owner.
SecretFlow A framework for privacy-preserving data analysis and machine learning using secure multiparty computation, federated learning, trusted execution environments, homomorphic encryption, and differential privacy.
SecretFlow PSI An implementation of private set intersection and private information retrieval protocols for privacy-preserving data collaboration.
SecretFlow SCQL A system that translates SQL queries into secure multiparty computation so organizations can jointly analyze databases without disclosing their underlying records.
SecretFlow SPU A secure computation runtime for privacy-preserving data analysis and machine learning, including private neural network inference.

Open Source/Access Responsible AI Software Packages

This section contains open source or open access software used to implement responsible ML. As much as possible, descriptions are quoted verbatim from the respective repositories themselves. In rare instances, we provide our own descriptions (unmarked by quotes).

Browser

Name Description
DiscriLens "Discrimination in Machine Learning."
Hugging Face, BiasAware: Dataset Bias Detection "BiasAware is a specialized tool for detecting and quantifying biases within datasets used for Natural Language Processing (NLP) tasks."
manifold "A model-agnostic visual debugging tool for machine learning."
PAIR-code - datacardsplaybook "The Data Cards Playbook helps dataset producers and publishers adopt a people-centered approach to transparency in dataset documentation."
PAIR-code - facets "Visualizations for machine learning datasets."
PAIR-code - knowyourdata "A tool to help researchers and product teams understand datasets with the goal of improving data quality, and mitigating fairness and bias issues."
TensorBoard Projector "Using the TensorBoard Embedding Projector, you can graphically represent high dimensional embeddings. This can be helpful in visualizing, examining, and understanding your embedding layers."
What-if Tool "Visually probe the behavior of trained machine learning models, with minimal coding."

C/C++

Name Description
Born-again Tree Ensembles Transforms a random forest into a single minimal-size decision tree with the same prediction function across the feature space.
Certifiably Optimal RulE ListS A discrete optimization method for constructing certifiably optimal rule lists over categorical feature spaces.
ELINA A C/C++ numerical analysis library that includes abstract domains used for neural network robustness analysis and verification.
EzPC A system for compiling and executing privacy-preserving machine learning training and inference using secure multiparty computation.
GOSDT with Guesses A C++-backed implementation for constructing globally optimized sparse decision trees.
HEIR An MLIR-based compiler toolchain for homomorphic encryption that targets privacy-preserving computation backends.
HElib A C++ library implementing homomorphic encryption schemes for computation over encrypted data.
Marabou A formal verification framework for proving properties of neural networks or identifying counterexamples.
Microsoft SEAL A modern C++ homomorphic encryption library that supports computation, including machine learning inference, over encrypted data.
OpenFHE A C++ library implementing major fully homomorphic encryption schemes for privacy-preserving computation.
Phoenix A C++ system for privacy-preserving neural network inference with reliability guarantees.
Secure-ML An implementation of secure linear regression in a semi-honest two-party setting.
TenSEAL A library for homomorphic encryption operations on tensors, with a C++ core and applications to encrypted machine learning.

JavaScript and TypeScript

Name Description
AutoEvals A TypeScript and Python library for evaluating AI model outputs using model-graded, heuristic, statistical, safety, factuality, and retrieval-augmented generation evaluators.
C2PA JavaScript JavaScript and TypeScript libraries for reading, validating, and working with C2PA content-provenance metadata in browsers and web applications.
Helicone An open-source platform for tracing, monitoring, evaluating, debugging, and experimenting with large language model applications.
Langfuse An open-source LLM engineering platform for observability, evaluation, prompt management, datasets, experimentation, and application debugging.
List of Dirty, Naughty, Obscene, and Otherwise Bad Words A collection of potentially offensive terms in multiple languages for use in content filtering and moderation systems.
Promptfoo A command-line tool and library for evaluating, comparing, red-teaming, and vulnerability-testing prompts, agents, retrieval systems, and other LLM applications.
Responsible AI Toolbox A suite of model-assessment interfaces and libraries for error analysis, interpretability, fairness assessment, causal analysis, and responsible model development.
Responsible AI Toolbox Tracker A TypeScript-based JupyterLab extension for tracking, managing, and comparing responsible-AI experiments, mitigations, models, and disaggregated evaluation results.

Python

Name Description
acd "Produces hierarchical interpretations for a single prediction made by a pytorch neural network. Official code for Hierarchical interpretations for neural network predictions.”
aequitas "Aequitas is an open-source bias audit toolkit for data scientists, machine learning researchers, and policymakers to audit machine learning models for discrimination and bias, and to make informed and equitable decisions around developing and deploying predictive tools.”
AI Explainability 360 "Interpretability and explainability of data and machine learning models.”
AI Fairness 360 "A comprehensive set of fairness metrics for datasets and machine learning models, explanations for these metrics, and algorithms to mitigate bias in datasets and models.”
ALEPython "Python Accumulated Local Effects package.”
Aletheia "A Python package for unwrapping ReLU DNNs.”
Alibi "Alibi is an open source Python library aimed at machine learning model inspection and interpretation. The focus of the library is to provide high-quality implementations of black-box, white-box, local and global explanation methods for classification and regression models.”
allennlp "An open-source NLP research library, built on PyTorch.”
anchor "Code for 'High-Precision Model-Agnostic Explanations' paper.”
Bayesian Ors-Of-Ands "This code implements the Bayesian or-of-and algorithm as described in the BOA paper. We include the tictactoe dataset in the correct formatting to be used by this code.”
BlackBoxAuditing "Research code for auditing and exploring black box machine-learning models.”
CalculatedContent, WeightWatcher "The WeightWatcher tool for predicting the accuracy of Deep Neural Networks."
captum "Model interpretability and understanding for PyTorch.”
casme "contains the code originally forked from the ImageNet training in PyTorch that is modified to present the performance of classifier-agnostic saliency map extraction, a practical algorithm to train a classifier-agnostic saliency mapping by simultaneously training a classifier and a saliency mapping.”
Causal Discovery Toolbox "Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.”
causalml "Uplift modeling and causal inference with machine learning algorithms.”
checklist "Beyond Accuracy: Behavioral Testing of NLP models with CheckList.”
cleverhans "An adversarial example library for constructing attacks, building defenses, and benchmarking both.”
contextual-AI "Contextual AI adds explainability across data, training, and inference stages of machine learning pipelines through a human-centered approach."
ContrastiveExplanation - Foil Trees "provides an explanation for why an instance had the current outcome (fact) rather than a targeted outcome of interest (foil). These counterfactual explanations limit the explanation to the features relevant in distinguishing fact from foil, thereby disregarding irrelevant features.”
counterfit "a CLI that provides a generic automation layer for assessing the security of ML models.”
dalex "moDel Agnostic Language for Exploration and eXplanation.”
debiaswe "Remove problematic gender bias from word embeddings.”
DeepExplain "provides a unified framework for state-of-the-art gradient and perturbation-based attribution methods. It can be used by researchers and practitioners for better undertanding the recommended existing models, as well for benchmarking other attribution methods.”
DeepLIFT "This repository implements the methods in 'Learning Important Features Through Propagating Activation Differences' by Shrikumar, Greenside & Kundaje, as well as other commonly-used methods such as gradients, gradient-times-input (equivalent to a version of Layerwise Relevance Propagation for ReLU networks), guided backprop and integrated gradients.”
deepvis "the code required to run the Deep Visualization Toolbox, as well as to generate the neuron-by-neuron visualizations using regularized optimization.”
DIANNA "DIANNA is a Python package that brings explainable AI (XAI) to your research project. It wraps carefully selected XAI methods in a simple, uniform interface. It's built by, with and for (academic) researchers and research software engineers working on machine learning projects.”
DiCE "Generate Diverse Counterfactual Explanations for any machine learning model.”
DoWhy "DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.”
dtreeviz "A python library for decision tree visualization and model interpretation.”
ecco "Explain, analyze, and visualize NLP language models. Ecco creates interactive visualizations directly in Jupyter notebooks explaining the behavior of Transformer-based language models (like GPT2, BERT, RoBERTA, T5, and T0).”
effector "eXplainable AI for Tabular Data"
eli5 "A library for debugging/inspecting machine learning classifiers and explaining their predictions.”
ERAN "The ETH Robustness Analyzer verifies robustness and other properties of feed-forward, convolutional, and residual neural networks."
explabox "aims to support data scientists and machine learning (ML) engineers in explaining, testing and documenting AI/ML models, developed in-house or acquired externally. The explabox turns your ingestibles (AI/ML model and/or dataset) into digestibles (statistics, explanations or sensitivity insights).”
ExplainaBoard "a tool that inspects your system outputs, identifies what is working and what is not working, and helps inspire you with ideas of where to go next.”
explainerdashboard "Quickly build Explainable AI dashboards that show the inner workings of so-called "blackbox" machine learning models.”
explainX "Explainable AI framework for data scientists. Explain & debug any blackbox machine learning model with a single line of code.”
fair-classification "Python code for training fair logistic regression classifiers.”
fairlearn "a Python package that empowers developers of artificial intelligence (AI) systems to assess their system's fairness and mitigate any observed unfairness issues. Fairlearn contains mitigation algorithms as well as metrics for model assessment. Besides the source code, this repository also contains Jupyter notebooks with examples of Fairlearn usage.”
fairml "a python toolbox auditing the machine learning models for bias.”
fairness_measures_code "contains implementations of measures used to quantify discrimination.”
fairness-comparison "meant to facilitate the benchmarking of fairness aware machine learning algorithms.”
Falling Rule List - FRL Rudin group at Duke falling rule list implementation
foolbox "A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX.”
Giskard "An open-source evaluation and testing library for large language models and agents."
gplearn "implements Genetic Programming in Python, with a scikit-learn inspired and compatible API.”
H2O-3 Monotonic GBM "Builds gradient boosted classification trees and gradient boosted regression trees on a parsed data set."
H2O-3 Penalized Generalized Linear Models "Fits a generalized linear model, specified by a response variable, a set of predictors, and a description of the error distribution."
H2O-3 Sparse Principal Components "Builds a generalized low rank decomposition of an H2O data frame."
h2o-LLM-eval "Large-language Model Evaluation framework with Elo Leaderboard and A-B testing."
HateCheck: Functional Tests for Hate Speech Detection Models HateCheck: A dataset and test suite from an ACL 2021 paper, offering functional tests for hate speech detection models, including extensive case annotations and testing functionalities.
imodels "Python package for concise, transparent, and accurate predictive modeling. All sklearn-compatible and easy to use.”
iNNvestigate neural nets A comprehensive Python library to analyze and interpret neural network behaviors in Keras, featuring a variety of methods like Gradient, LRP, and Deep Taylor.
Integrated-Gradients "a variation on computing the gradient of the prediction output w.r.t. features of the input. It requires no modification to the original network, is simple to implement, and is applicable to a variety of deep models (sparse and dense, text and vision).”
interpret_with_rules "induces rules to explain the predictions of a trained neural network, and optionally also to explain the patterns that the model captures from the training data, and the patterns that are present in the original dataset.”
interpret "an open-source package that incorporates state-of-the-art machine learning interpretability techniques under one roof.”
InterpretME "integrates knowledge graphs (KG) with machine learning methods to generate interesting meaningful insights. It helps to generate human- and machine-readable decisions to provide assistance to users and enhance efficiency.”
keract Keract is a tool for visualizing activations and gradients in Keras models; it's meant to support a wide range of Tensorflow versions and to offer an intuitive API with Python examples.
Keras-vis "a high-level toolkit for visualizing and debugging your trained keras neural net models.”
L2X "Code for replicating the experiments in the paper Learning to Explain: An Information-Theoretic Perspective on Model Interpretation at ICML 2018, by Jianbo Chen, Mitchell Stern, Martin J. Wainwright, Michael I. Jordan.”
LangFair "LangFair is a Python library for conducting use-case level LLM bias and fairness assessments"
langtest "LangTest: Deliver Safe & Effective Language Models"
learning-fair-representations "Python numba implementation of Zemel et al. 2013 http://www.cs.toronto.edu/~toni/Papers/icml-final.pdf"
leeky: Leakage/contamination testing for black box language models "leeky - training data contamination techniques for blackbox models"
garak, LLM vulnerability scanner "LLM vulnerability scanner"
lime "explaining what machine learning classifiers (or models) are doing. At the moment, we support explaining individual predictions for text classifiers or classifiers that act on tables (numpy arrays of numerical or categorical data) or images, with a package called lime (short for local interpretable model-agnostic explanations).”
lit "The Learning Interpretability Tool (LIT, formerly known as the Language Interpretability Tool) is a visual, interactive ML model-understanding tool that supports text, image, and tabular data. It can be run as a standalone server, or inside of notebook environments such as Colab, Jupyter, and Google Cloud Vertex AI notebooks.”
LLM Dataset Inference: Did you train on my dataset? "Official Repository for Dataset Inference for LLMs"
lofo-importance "LOFO (Leave One Feature Out) Importance calculates the importances of a set of features based on a metric of choice, for a model of choice, by iteratively removing each feature from the set, and evaluating the performance of the model, with a validation scheme of choice, based on the chosen metric.”
lrp_toolbox "The Layer-wise Relevance Propagation (LRP) algorithm explains a classifer's prediction specific to a given data point by attributing relevance scores to important components of the input by using the topology of the learned model itself.”
MindsHub "An open-source platform for connecting AI models, agents, and organizational data sources."
ml_privacy_meter "an open-source library to audit data privacy in statistical and machine learning algorithms. The tool can help in the data protection impact assessment process by providing a quantitative analysis of the fundamental privacy risks of a (machine learning) model.”
ml-fairness-gym "a set of components for building simple simulations that explore the potential long-run impacts of deploying machine learning-based decision systems in social environments.”
MLextend "Mlxtend (machine learning extensions) is a Python library of useful tools for the day-to-day data science tasks.”
mllp "This is a PyTorch implementation of Multilayer Logical Perceptrons (MLLP) and Random Binarization (RB) method to learn Concept Rule Sets (CRS) for transparent classification tasks, as described in our paper: Transparent Classification with Multilayer Logical Perceptrons and Random Binarization.”
Monotonic Constraints Guide on implementing and understanding monotonic constraints in XGBoost models to enhance predictive performance with practical Python examples.
OptBinning "a library written in Python implementing a rigorous and flexible mathematical programming formulation to solve the optimal binning problem for a binary, continuous and multiclass target type, incorporating constraints not previously addressed.”
Optimal Sparse Decision Trees "This accompanies the paper, "Optimal Sparse Decision Trees" by Xiyang Hu, Cynthia Rudin, and Margo Seltzer.”
parity-fairness "This repository contains codes that demonstrate the use of fairness metrics, bias mitigations and explainability tool.”
PDPbox "Python Partial Dependence Plot toolbox. Visualize the influence of certain features on model predictions for supervised machine learning algorithms, utilizing partial dependence plots.”
PiML-Toolbox "a new Python toolbox for interpretable machine learning model development and validation. Through low-code interface and high-code APIs, PiML supports a growing list of inherently interpretable ML models.”
pjsaelin / Cubist "A Python package for fitting Quinlan's Cubist regression model"
Privacy-Preserving-ML "Implementation of privacy-preserving SVM assuming public model private data scenario (data in encrypted but model parameters are unencrypted) using adequate partial homomorphic encryption.”
ProtoPNet "Implements the prototypical part network from the paper This Looks Like That: Deep Learning for Interpretable Image Recognition."
pyBreakDown See dalex.
PyCEbox "Python Individual Conditional Expectation Plot Toolbox.”
pyGAM "Generalized Additive Models in Python.”
PyMC "PyMC (formerly PyMC3) is a Python package for Bayesian statistical modeling focusing on advanced Markov chain Monte Carlo (MCMC) and variational inference (VI) algorithms. Its flexibility and extensibility make it applicable to a large suite of problems.”
pySS3 "The SS3 text classifier is a novel and simple supervised machine learning model for text classification which is interpretable, that is, it has the ability to naturally (self)explain its rationale.”
pytorch-grad-cam "a package with state of the art methods for Explainable AI for computer vision. This can be used for diagnosing model predictions, either in production or while developing models. The aim is also to serve as a benchmark of algorithms and metrics for research of new explainability methods.”
pytorch-innvestigate "PyTorch implementation of Keras already existing project: https://github.com/albermax/innvestigate/.”
Quantus "Quantus is an eXplainable AI toolkit for responsible evaluation of neural network explanations."
rationale "This directory contains the code and resources of the following paper: "Rationalizing Neural Predictions". Tao Lei, Regina Barzilay and Tommi Jaakkola. EMNLP 2016. PDF Slides. The method learns to provide justifications, i.e. rationales, as supporting evidence of neural networks' prediction.”
responsibly "Toolkit for Auditing and Mitigating Bias and Fairness of Machine Learning Systems.”
REVISE: REvealing VIsual biaSEs "A tool that automatically detects possible forms of bias in a visual dataset along the axes of object-based, attribute-based, and geography-based patterns, and from which next steps for mitigation are suggested.”
RISE "contains source code necessary to reproduce some of the main results in the paper: Vitali Petsiuk, Abir Das, Kate Saenko (BMVC, 2018) [and] RISE: Randomized Input Sampling for Explanation of Black-box Models.”
Risk-SLIM "a machine learning method to fit simple customized risk scores in python.”
robustness "a package we (students in the MadryLab) created to make training, evaluating, and exploring neural networks flexible and easy.”
SAGE "SAGE (Shapley Additive Global importancE) is a game-theoretic approach for understanding black-box machine learning models. It quantifies each feature's importance based on how much predictive power it contributes, and it accounts for complex feature interactions using the Shapley value.”
SALib "Python implementations of commonly used sensitivity analysis methods. Useful in systems modeling to calculate the effects of model inputs or exogenous factors on outputs of interest.”
Scikit-Explain "User-friendly Python module for machine learning explainability," featuring PD and ALE plots, LIME, SHAP, permutation importance and Friedman's H, among other methods.
Scikit-learn Decision Trees "a non-parametric supervised learning method used for classification and regression.”
Scikit-learn Generalized Linear Models "a set of methods intended for regression in which the target value is expected to be a linear combination of the features.”
Scikit-learn Sparse Principal Components "a variant of [principal component analysis, PCA], with the goal of extracting the set of sparse components that best reconstruct the data.”
scikit-multiflow "a machine learning package for streaming data in Python.”
shap "a game theoretic approach to explain the output of any machine learning model. It connects optimal credit allocation with local explanations using the classic Shapley values from game theory and their related extensions"
shapley "a Python library for evaluating binary classifiers in a machine learning ensemble.”
sklearn-expertsys "a scikit-learn compatible wrapper for the Bayesian Rule List classifier developed by Letham et al., 2015, extended by a minimum description length-based discretizer (Fayyad & Irani, 1993) for continuous data, and by an approach to subsample large datasets for better performance.”
skope-rules "a Python machine learning module built on top of scikit-learn and distributed under the 3-Clause BSD license.”
solas-ai-disparity "a collection of tools that allows modelers, compliance, and business stakeholders to test outcomes for bias or discrimination using widely accepted fairness metrics.”
Super-sparse Linear Integer models - SLIMs "a package to learn customized scoring systems for decision-making problems.”
tensorflow/fairness-indicators "designed to support teams in evaluating, improving, and comparing models for fairness concerns in partnership with the broader Tensorflow toolkit.”
tensorflow/lattice "a library that implements constrained and interpretable lattice based models. It is an implementation of Monotonic Calibrated Interpolated Look-Up Tables in TensorFlow.”
tensorflow/lucid "a collection of infrastructure and tools for research in neural network interpretability.”
tensorflow/model-analysis "a library for evaluating TensorFlow models. It allows users to evaluate their models on large amounts of data in a distributed manner, using the same metrics defined in their trainer. These metrics can be computed over different slices of data and visualized in Jupyter notebooks.”
tensorflow/model-card-toolkit "streamlines and automates generation of Model Cards, machine learning documents that provide context and transparency into a model's development and performance. Integrating the MCT into your ML pipeline enables you to share model metadata and metrics with researchers, developers, reporters, and more.”
tensorflow/model-remediation "a library that provides solutions for machine learning practitioners working to create and train models in a way that reduces or eliminates user harm resulting from underlying performance biases.”
tensorflow/privacy "the source code for TensorFlow Privacy, a Python library that includes implementations of TensorFlow optimizers for training machine learning models with differential privacy. The library comes with tutorials and analysis tools for computing the privacy guarantees provided.”
tensorflow/tcav "Testing with Concept Activation Vectors (TCAV) is a new interpretability method to understand what signals your neural networks models uses for prediction.”
tensorfuzz "a library for performing coverage guided fuzzing of neural networks.”
TensorWatch "a debugging and visualization tool designed for data science, deep learning and reinforcement learning from Microsoft Research. It works in Jupyter Notebook to show real-time visualizations of your machine learning training and perform several other key analysis tasks for your models and data.”
text_explainability "text_explainability provides a generic architecture from which well-known state-of-the-art explainability approaches for text can be composed.”
text_sensitivity "Uses the generic architecture of text_explainability to also include tests of safety (how safe it the model in production, i.e. types of inputs it can handle), robustness (how generalizable the model is in production, e.g. stability when adding typos, or the effect of adding random unrelated data) and fairness (if equal individuals are treated equally by the model, e.g. subgroup fairness on sex and nationality).”
TextFooler "A Model for Natural Language Attack on Text Classification and Inference"
tf-explain "Implements interpretability methods as Tensorflow 2.x callbacks to ease neural network's understanding.”
themis-ml "A Python library built on top of pandas and sklearnthat implements fairness-aware machine learning algorithms.”
Themis "A testing-based approach for measuring discrimination in a software system.”
TorchUncertainty "A package designed to help you leverage uncertainty quantification techniques and make your deep neural networks more reliable.”
treeinterpreter "Package for interpreting scikit-learn's decision tree and random forest predictions.”
TRIAGE "This repository contains the implementation of TRIAGE, a "Data-Centric AI" framework for data characterization tailored for regression.”
woe "Tools for WoE Transformation mostly used in ScoreCard Model for credit rating.”
xai "A Machine Learning library that is designed with AI explainability in its core.”
xdeep "An open source Python library for Interpretable Machine Learning.”
XGBoost "an optimized distributed gradient boosting library designed to be highly efficient, flexible and portable.”
xplique "A Python toolkit dedicated to explainability. The goal of this library is to gather the state of the art of Explainable AI to help you understand your complex neural network models.”
FG Data Profiling (formerly ydata-profiling) "Provides automated data-quality profiling and exploratory data analysis for pandas and Spark DataFrames."
yellowbrick "A suite of visual diagnostic tools called "Visualizers" that extend the scikit-learn API to allow human steering of the model selection process.”

R

Name Description
ALEPlot "Visualizes the main effects of individual predictor variables and their second-order interaction effects in black-box supervised learning models."
arules "Provides the infrastructure for representing, manipulating and analyzing transaction data and patterns (frequent itemsets and association rules). Also provides C implementations of the association mining algorithms Apriori and Eclat. Hahsler, Gruen and Hornik (2005)."
Causal SVM "We present a new machine learning approach to estimate whether a treatment has an effect on an individual, in the setting of the classical potential outcomes framework with binary outcomes."
DALEX "moDel Agnostic Language for Exploration and eXplanation."
DALEXtra: Extension for 'DALEX' Package "Provides wrapper of various machine learning models."
DrWhyAI "DrWhy is [a] collection of tools for eXplainable AI (XAI). It's based on shared principles and simple grammar for exploration, explanation and visualisation of predictive models."
elasticnet "Provides functions for fitting the entire solution path of the Elastic-Net and also provides functions for doing sparse PCA."
Explainable Boosting Machine - EBM/GA2M "Package for training interpretable machine learning models."
ExplainPrediction "Generates explanations for classification and regression models and visualizes them."
fairmodels "Flexible tool for bias detection, visualization, and mitigation. Use models explained with DALEX and calculate fairness classification metrics based on confusion matrices using fairness_check() or try newly developed module for regression models using fairness_check_regression()."
fairness "Offers calculation, visualization and comparison of algorithmic fairness metrics."
fastshap "The goal of fastshap is to provide an efficient and speedy approach (at least relative to other implementations) for computing approximate Shapley values, which help explain the predictions from any machine learning model."
featureImportance "An extension for the mlr package and allows to compute the permutation feature importance in a model-agnostic manner."
flashlight "The goal of this package is [to] shed light on black box machine learning models."
forestmodel "Produces forest plots using 'ggplot2' from models produced by functions such as stats::lm(), stats::glm() and survival::coxph()."
fscaret "Automated feature selection using variety of models provided by 'caret' package."
gam "Functions for fitting and working with generalized additive models, as described in chapter 7 of "Statistical Models in S" (Chambers and Hastie (eds), 1991), and "Generalized Additive Models" (Hastie and Tibshirani, 1990)."
glm2 "Fits generalized linear models using the same model specification as glm in the stats package, but with a modified default fitting method that provides greater stability for models that may fail to converge using glm."
glmnet "Extremely efficient procedures for fitting the entire lasso or elastic-net regularization path for linear regression, logistic and multinomial regression models, Poisson regression, Cox model, multiple-response Gaussian, and the grouped multinomial regression."
H2O-3 Monotonic GBM "Builds gradient boosted classification trees and gradient boosted regression trees on a parsed data set."
H2O-3 Penalized Generalized Linear Models "Fits a generalized linear model, specified by a response variable, a set of predictors, and a description of the error distribution."
H2O-3 Sparse Principal Components "Builds a generalized low rank decomposition of an H2O data frame."
iBreakDown "A model agnostic tool for explanation of predictions from black boxes ML models."
ICEbox: Individual Conditional Expectation Plot Toolbox "Implements Individual Conditional Expectation (ICE) plots, a tool for visualizing the model estimated by any supervised learning algorithm."
iml "An R package that interprets the behavior and explains predictions of machine learning models."
ingredients "A collection of tools for assessment of feature importance and feature effects."
interpret: Fit Interpretable Machine Learning Models "Package for training interpretable machine learning models."
lightgbmExplainer "An R package that makes LightGBM models fully interpretable."
lime "R port of the Python lime package."
live "Helps to understand key factors that drive the decision made by complicated predictive model (black box model)."
mcr "An R package for Model Reliance and Model Class Reliance."
modelDown "Website generator with HTML summaries for predictive models."
modelOriented GitHub repositories of Warsaw-based MI².AI.
modelStudio "Automates the explanatory analysis of machine learning predictive models."
Monotonic XGBoost Enforces consistent, directional relationships between features and predicted outcomes, enhancing model performance by aligning with prior data expectations.
quantreg "Estimation and inference methods for models for conditional quantile functions."
rpart "Recursive partitioning for classification, regression and survival trees."
RuleFit "Implements the learning method and interpretational tools described in Predictive Learning via Rule Ensembles."
Scalable Bayesian Rule Lists -SBRL A more scalable implementation of Bayesian rule list from the Rudin group at Duke.
shapFlex Computes stochastic Shapley values for machine learning models to interpret them and evaluate fairness, including causal constraints in the feature space.
shapleyR "An R package that provides some functionality to use mlr tasks and models to generate shapley values."
shapper "Provides SHAP explanations of machine learning models."
smbinning "A set of functions to build a scoring model from beginning to end."
vip "An R package for constructing variable importance plots (VIPs)."
xgboostExplainer "An R package that makes xgboost models fully interpretable.

View the source document on GitHub · Source snapshot updated 2026-12-02 (UTC).

CC-BY-4.0. Source text is preserved; navigation and formatting are adapted for this website.