Fidelity
A local explanation can be simple, readable, and... totally wrong about the black box! Fidelity measures how closely the explanation reproduces the model behavior it claims to summarize.
For LIME, that means agreement in the local neighborhood. For a surrogate tree, it may mean agreement across a broader dataset.
Agreement with the target model
For surrogate and black box , local fidelity can be measured with weighted loss:
The metric must use the same scope claimed by the explanation.
Compare Black-Box and Surrogate Decisions Point by Point
The star is the loan applicant the explanation is written for. Each dot is a nearby applicant. Drag the radius to change how far 'nearby' reaches, and raise the surrogate's terms to let its straight-line rule bend toward the model's real, curved boundary.
Weighted fidelity
0.89
Neighbors in scope
6 of 18
Disagreements in scope
1
3 more disagreements sit outside the radius — invisible to this fidelity score, but real if anyone applies the explanation out there.
High fidelity does not guarantee usefulness. A 200-rule surrogate can mimic the model and fail every human reader. Low fidelity makes the explanation factually weak regardless of presentation quality.
Report fidelity alongside complexity and the evaluation region.
Can a globally low-fidelity surrogate still be useful?