AlphaCode | 11A: Local explanations

yellow header bar

AlphaCode, a code generator by DeepMind, makes clear why the system did what it did (Guideline 11) by providing token probabilities in the generated code solution (Pattern 11A).

The techniques used in this example have the potential to foster appropriate reliance on AI, by reducing overreliance. Keep in mind that overreliance mitigations can backfire. Be sure to test such mitigations in context, with your AI system’s actual users. Learn more about overreliance on AI and appropriate reliance on generative AI.

Alphacode attention visualization interface showing a a coding problem description and generated solution. Token probabilities highlighted in solution for underlined token const.
Image captured February 2024