Description

ANCHOR generates high-precision if-then rules that explain individual predictions by identifying the minimal set of feature conditions that guarantee a specific prediction with high confidence. It searches for 'anchor' conditions (e.g., 'age > 30 AND income < £50k') that ensure the model gives the same prediction at least 95% of the time when those conditions are met. This creates human-readable rules that users can trust as sufficient conditions for understanding why a particular decision was made.

Example Use Cases

Explainability

Explaining loan application decisions with rules like 'IF credit_score > 650 AND debt_ratio < 0.4 THEN approval = 95% likely', giving applicants clear, actionable conditions they can understand and potentially improve.

Generating diagnostic rules for medical predictions such as 'IF fever > 38.5°C AND white_blood_cells > 12,000 THEN infection = 92% likely', helping clinicians validate automated diagnoses with trusted clinical indicators.

Transparency

Creating transparent hiring decisions with rules like 'IF experience >= 3_years AND degree = relevant THEN hire = 89% likely', providing clear justification for recruitment decisions that can be audited for fairness.

Limitations

  • Limited to local explanations for individual instances, cannot provide global insights about overall model behaviour.
  • Requires discretisation of continuous features, which can lose important nuanced information and create arbitrary thresholds.
  • May fail to find suitable anchor rules if precision requirements are too strict or if the prediction space is highly complex.
  • Computationally expensive as it requires extensive sampling to validate rule precision, especially for high-dimensional data.

Resources

Anchors: High-Precision Model-Agnostic Explanations
Research PaperMarco Tulio Ribeiro, Sameer Singh, and Carlos GuestrinJan 1, 2018
marcotcr/anchor
Software Package
alibi/alibi
Software Package
Interpretable Machine Learning - Anchors
Documentation

Tags

Applicable Models:
Data Requirements:
Data Type:
Evidence Type:
Expertise Needed:
Explanatory Scope:
Lifecycle Stage:
Technique Type: