Why does explainability matter?
DARPA, the US Department of Defense research agency, built its XAI programme around a specific gap: machine learning systems could not explain their decisions and actions to human users. The programme aimed to produce more explainable models while keeping prediction accuracy high, and to let users understand, appropriately trust and effectively manage these systems. The programme is now complete [1].
What makes a good explanation?
NIST's 2021 report NISTIR 8312 sets out four principles [2]. Explanation: the system delivers evidence or reasons for its outputs or processes. Meaningful: those explanations are understandable to the people they are meant for. Explanation accuracy: the explanation correctly reflects why the output was produced, or how the system works. Knowledge limits: the system only operates under the conditions it was designed for and when it is confident enough in its output [2]. The report also stresses that needs differ by audience; an AI developer may want a very different explanation from a policy maker [2].
Which techniques are used?
NIST's Generative AI Profile recommends building XAI techniques into ongoing improvement work to reduce the risks of unexplainable systems. Its examples include analysing embeddings, model compression and distillation, gradient-based attributions, occlusion and counterfactual prompts [3]. A counterfactual prompt might work like this: change only the applicant's gender in a loan application text and see whether the model's answer changes. If it does, you have learned something about what the decision rests on.