Track T23
Evaluation & Explainability
Metrics, calibration, comparison and explanations.
Unit 1Reading a score
- 1Regression metrics: RMSE, MAE and R²Each metric answers a different question about errors. Learn what RMSE, MAE, R² and MAPE reward, and why the metric and the loss should match.
- 2Accuracy, precision, recall and friendsStart with four counts. Every threshold metric is a different ratio of them, built for a different question. Read Pima's glucose rule through each one.
- 3ROC and precision–recall curvesSweep every threshold at once. See what AUC really measures, why it ignores prevalence, and when the precision–recall curve tells you what ROC hides.
- 4Scoring probabilities: log loss and BrierA prediction is more than a yes or no. Proper scoring rules reward honest probabilities, and punish confident mistakes. Learn what each one measures.
- 5Rare classes: stratify, weigh, resample or move the thresholdFour tools with different effects on probabilities. Choose the right metric first, resample only inside folds, and see why moving the threshold is often enough.
- 19Ranking quality and detection errorsSome models are judged by the order they put things in, others by the two kinds of error at a threshold. Score rankings query by query with nDCG, MAP and MRR, and read a detector's DET curve, equal error rate and detection cost.
- 20Scoring boxes, masks and time segmentsScore boxes with COCO average precision, masks with IoU and Dice, and time segments with segment F1 and mAP, and know which convention each number hides.
- 21Verification scores: EER, detection cost and the DET curveA verification system answers "same source or not?" for pairs of things. Score its trials with the equal error rate, the detection cost at the prior and costs you care about, and the DET curve, and know when the numbers are optimistic.
Unit 2From scores to decisions
- 6Thresholds, costs and liftA probability isn't a decision until you set a threshold. Derive it from costs, compare the rules the app offers, and use lift when you have a budget.
- 7Calibration and recalibrationWhen a model says 70%, does the event happen 70% of the time? Read a reliability curve, see why AUC can't tell you, and fix probabilities without retraining.
Unit 3Comparing models
- 8Is one model really better? Paired comparisonsA leaderboard's order isn't evidence of a difference. Compare fold by fold, correct for overlapping training rows, and ask what gap would matter in practice.
- 9Comparing many models at onceRank each model per fold, test the ranks with Friedman, and read which models the critical difference can separate. Know what these tests can claim, and what they can't.
- 10Conformal prediction: intervals with a promiseTurn any model's held-out errors into prediction intervals or sets with stated coverage. Learn what the promise covers, and the kind of coverage it doesn't.
- 18Evaluating saved predictionsPredictions made elsewhere still deserve an honest check. Compare two models on the same rows, audit intervals and prediction sets, score whole distributions, and test an out-of-distribution score.
Unit 4Explaining models
- 11Feature importance: three numbers, three questionsImpurity, coefficients and permutation answer different questions, and each fails in its own way. Learn to read them, and what none of them says about cause.
- 12Partial dependence, ICE and ALESweep one feature and watch predictions move. The average hides interactions, ICE lines reveal them, and ALE stays honest when features are correlated.
- 13SHAP: dividing a prediction fairlyShapley values share a prediction's gap from a baseline among the features. Build one by hand, read the beeswarm and waterfall, and resist reading it as cause.
- 14Any model: KernelSHAP, LIME, surrogate trees, H and counterfactualsExplanations that only need a model's predictions. Each answers a different question, each has its own quality check, and none of them turns a model into a cause.
- 17Explain a saved model in Analyze, and see what a network learns about categoriesThe explainers run as Analyze methods on any registered model version, with checks that say when an explanation leaves the data. Entity embeddings show which category levels a network treats alike.
- 22Exact Shapley, anchors, diverse counterfactuals, influence and the auditExact Shapley values for small models, rules that hold a prediction in place, several ways to change it, the training rows behind it, and a check of whether an explanation is faithful to the model at all.
- 23Gradient attributions: Integrated Gradients, DeepLIFT and what a network looks atWhen the model is a network or a linear model, attributions can read its gradients instead of probing it with altered rows. Learn what the baseline means, why the shares add up, and what attention rollout, Grad-CAM and concept tests add.
- 24Anchors in Analyze: rules that hold a prediction, found by samplingAn anchor is a short rule on a row's own values that almost always keeps a model's prediction. Read its precision, confidence bound, coverage and budget, and keep counterfactuals to feasible changes.
- 25TracIn in Analyze: the training rows behind a network's predictionsTracIn follows a network's training through its checkpoints to find the training rows that pushed a prediction's loss down or up. Read proponents, opponents and self-influence, and spot rankings driven by gradient size.
- 26Concept tests in Analyze: does the network use your concept?TCAV asks whether a network's prediction rises along the direction that separates concept rows from random rows. Define a concept by a condition or a set of rows, and read the test against random directions.
- 27Counterfactuals in Analyze: what would change the prediction?A counterfactual is a small change to a row that moves a saved model's prediction across its target. Find several with DiCE, keep them to changes a person could make, and read the card.
Unit 5Trust
- 15Robustness checks and the last lookBefore the final test score, pressure-test the model against seeds, fold schemes, leaks and weak slices. Then take the one honest look, and decide what to do with it.
- 16Fairness across groupsMeasure how a model treats groups on several definitions, see why you can't satisfy them all, and read what a fair threshold costs. Then decide with the people affected.
- 28Labels you can trust: label issues and which rows to label nextSome labels in every real dataset are wrong. Find the rows a model confidently disagrees with, review them yourself, and spend new labeling effort on the rows that teach the model most.
- 29Stable, private, fair to every group: certification, privacy audits, worst groupThree questions a model faces once people rely on it. Can a small change flip a prediction? Does the model give away who was in its training data? Which group does it serve worst? Robustness has a check for each.
- 30Certify a saved classifier in AnalyzeRandomized smoothing turns a saved classifier into one whose predictions come with a certified radius. Run it from Analyze on a registered version, read certified accuracy and abstentions, and pick a noise level.
Unit 6Explanations in depth
- 31LIME and KernelSHAP in depth: the neighborhood and the gameLIME fits a small model near one row; KernelSHAP solves a weighted regression over feature subsets. Learn the choices hidden in each, and the checks that say whether an explanation is faithful.
- 32TreeSHAP and its two games: path-dependent and interventionalTreeSHAP computes exact Shapley values for tree ensembles in polynomial time by walking the trees. Learn the two value functions it can use, why they disagree under correlation, and how to aggregate local values honestly.
- 33Integrated Gradients in depth: paths, baselines and completenessIntegrated Gradients sums a network's gradients along a path from a baseline to the row. Learn the formula and its completeness property, check the numerical integration, and see why the baseline and the path are part of the question.
- 34DeepLIFT and Grad-CAM: reference differences and coarse mapsDeepLIFT propagates differences from a reference through a network in one backward pass; Grad-CAM weights a convolutional layer's maps by their gradients. Learn the rule behind each and what each picture can and can't show.
Unit 7Concepts and prototypes
- 35Concepts: testing them after training, or building them inAsk a trained network whether it is sensitive to a human concept (TCAV), or train a network that has to predict named concepts first (a concept bottleneck). Learn what each can show, and the leaks and artifacts that fool both.
- 36"This looks like that": prototype networksProtoPNet classifies an image by how closely its parts match learned prototype patches, so the evidence is part of the computation. Learn the similarity score, the projection step, and why a readable prototype can still be a shortcut.
Unit 8Training data and recourse
- 37Which training rows taught this? Influence functions, TracIn and TRAKTrace a prediction back to training rows three ways: a derivative at the optimum (influence functions), gradient alignment during training (TracIn), and projected gradients over many models (TRAK).
- 38Rules and recourse: anchors and diverse counterfactualsTwo explanations you can read as rules: an anchor (conditions that keep a prediction) and counterfactuals (changes that flip it). Learn the bounds behind anchors, the objective behind DiCE, and why neither is advice.
Unit 9Inside the network
- 39Attention rollout: following attention through the layersOne layer's attention weights say little about what a deep transformer used. Attention rollout multiplies residual-adjusted attention matrices through the layers. Learn to compute it, and why even rollout is mixing, not explanation.
- 40Activation patching: causal experiments inside a networkSwap one internal activation from a clean run into a corrupted run and measure how much behavior comes back. Learn the recovery score, the design choices that dominate it, and why restoring a behavior doesn't prove you found the mechanism.