EXPOSURE: Explaining Sources of Uncertainty in Reinforcement Learning
Authors: Kiana Farhadyar, Yannick Vogt, Philipp Laur, Ayça Çelik, Iman Nematollahi, Gabriel Kalweit, Maria Kalweit
Organizations: Department of Computer Science, University of Freiburg, Freiburg, Germany · IMBIT//BrainLinks-BrainTools, Freiburg, Germany · Collaborative Research Institute Intelligent Oncology, Freiburg, Germany
Shapley values in reinforcement learning are used to explain which observation features drive an agent's behavior and expected return, but not its certainty. Explaining certainty requires understanding how observation features influence different sources of return uncertainty, and Shapley values need the agent's prediction for every subset of visible features. We propose EXPOSURE, which uses one mask-aware belief network for both action selection and Shapley explanations. It explains the variance of the return, split into an observational part due to missing features and an inherent part due to the environment's own randomness, and the entropy of its belief over the masked features. In tic-tac-toe and Minesweeper, where exact Shapley values are computable, EXPOSURE gives more accurate explanations of expected return and its uncertainty, while uniquely explaining belief uncertainty.
Figures & tables
Figure 1: Overview of EXPOSURE. An encoder maps a board with any subset of features masked to a latent belief, trained to match the belief from the full board. Blue arrows trace the masked board’s path, while the agent acts on the belief from the full board. From a belief, a Q-head predicts the mean and variance of the return, and a decoder completes the masked features. The maps show each feature’s Shapley value for the four explanation targets on the input board.
Figure 2: Tic-tac-toe, random opponent. (a–c) UMAP of the belief mean E[z∣oN] on all boards, colored by (a) exact result, (b) estimated maxaQ and (c) who holds the key center cell. (d) Exact and model Shapley values on one board (action in pink has no Shapley value). Headers give v^(∅)→v^(N) , and the model’s Shapley values sum to v^(∅)−v^(N) . Blue cells raise certainty, red ones lower it. Against the random opponent, the agent expects a win. Cells matter by the lines they lie on (center on four, a corner on three, an edge on two). In vobs , free corners and the winning edge raise certainty, while the bottom O, an edge cell, lowers it, as it makes a draw likelier. In vinh , the top X, a weak edge move by the opponent, raises certainty most. In H , each revealed cell narrows the belief.
wins (%)
ϕQ : ρ
ϕobs : ρ
ϕinh : ρ
ϕH : ρ
Tic-tac-toe random
EXPOSURE
93.5±1.3
0.67±0.01
0.64±0.05
0.69±0.01
0.76±0.00
MA-DQN
94.7±0.5
0.66±0.01
0.43±0.01
0.57±0.01
–
DQN + surr.
92.5±1.2
0.63±0.01
0.53±0.04
0.49±0.02
–
Tic-tac-toe perturbed minimax
EXPOSURE
8.8±0.7
0.67±0.01
0.42±0.02
0.85±0.00
0.56±0.01
MA-DQN
9.5±0.3
0.42±0.01
0.23±0.01
0.65±0.03
–
DQN + surr.
8.4±1.2
0.49±0.02
0.18±0.04
0.59±0.03
–
Table 1: Mean per board Spearman correlation ρ of each method’s Shapley values and the exact ones, then mean ± SD over 3 seeds. Bold marks the largest mean, EXPOSURE’s for every explanation, and only EXPOSURE gives H . Wins are greedy-policy win rates, and the optimal agent reaches 96.4 , 9.8 and 87.9% .