Skip to main content
QUICK REVIEW

[Paper Review] Distill-and-Compare: Auditing Black-Box Models Using Transparent Model Distillation

Sarah Tan, Rich Caruana|arXiv (Cornell University)|Oct 17, 2017
Adversarial Robustness in Machine LearningComputer Science9 references24 citations
TL;DR

This paper proposes Distill-and-Compare, a method to audit black-box risk scoring models using only labeled audit data with risk scores and ground-truth outcomes, without API access. It trains a transparent mimic model to distill the black-box model's behavior and compares it to a transparent outcome model trained on true outcomes, revealing biases and missing features; key findings show the ProPublica COMPAS data likely lacks critical features, and model fidelity is more sensitive to missing features than data size.

ABSTRACT

Black-box risk scoring models permeate our lives, yet are typically proprietary or opaque. We propose Distill-and-Compare, a model distillation and comparison approach to audit such models. To gain insight into black-box models, we treat them as teachers, training transparent student models to mimic the risk scores assigned by black-box models. We compare the student model trained with distillation to a second un-distilled transparent model trained on ground-truth outcomes, and use differences between the two models to gain insight into the black-box model. Our approach can be applied in a realistic setting, without probing the black-box model API. We demonstrate the approach on four public data sets: COMPAS, Stop-and-Frisk, Chicago Police, and Lending Club. We also propose a statistical test to determine if a data set is missing key features used to train the black-box model. Our test finds that the ProPublica data is likely missing key feature(s) used in COMPAS.

Motivation & Objective

  • To develop a realistic auditing method for black-box risk scoring models when only labeled data with risk scores and outcomes is available, not API access.
  • To detect whether audit data is missing key features used in training the black-box model.
  • To compare a distantly trained mimic model (mimicking the black-box) with a transparent outcome model (trained on true outcomes) to uncover biases and model behavior.
  • To enable detection of hidden biases even when protected features like race are excluded from input, by including them in the audit process.

Proposed method

  • Train a mimic model (student) to distill the risk scores from the black-box model (teacher) using mean squared error loss between predicted and actual risk scores.
  • Train a separate transparent outcome model on the same audit data to predict ground-truth outcomes using log-likelihood loss.
  • Compare the two transparent models—mimic and outcome—by analyzing differences in feature importance and functional forms.
  • Use a statistical hypothesis test to determine if the audit data is missing key features used in the black-box model’s training.
  • Calibrate risk scores to correct for scale distortions introduced during black-box model training.
  • Apply an improved confidence interval estimate for iGAM (a transparent model) to compare model interpretability and fidelity.

Experimental results

Research questions

  • RQ1Can we audit black-box risk scoring models without access to their API or training data, using only labeled data with risk scores and outcomes?
  • RQ2Is the audit data missing key features used in the black-box model’s training process?
  • RQ3How do differences between a distantly trained mimic model and a ground-truth outcome model reveal biases or functional complexities in the black-box model?
  • RQ4To what extent does missing data or missing features degrade the fidelity of model distillation?
  • RQ5Can transparent models detect bias even when protected features like race are not used as inputs?

Key findings

  • The ProPublica COMPAS data set is likely missing key features used in the original model, as indicated by a statistical test and poor mimic model fidelity.
  • Mimic models trained on the COMPAS data achieved an RMSE of 2.0, which only marginally improved to 1.98 when additional unlabeled individuals (3,000) were included, suggesting data size is not the main issue.
  • Fidelity degradation was more severe when removing training data (RMSE rose to 2.1 with only 1,000 samples), but the primary barrier to accurate mimicry was likely missing features rather than data scarcity.
  • Linear mimic models performed nearly as well as iGAMs on several models (COMPAS, Chicago Police, Stop-and-Frisk), indicating the black-box models may have simple functional forms.
  • The approach revealed that excluding protected features like race from input does not prevent bias; instead, bias can be learned through correlated features, making detection harder.
  • Including protected features in the audit process allows detection of bias even when they are not used as inputs, showing that mimic models can reveal hidden bias propagation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.