Skip to main content
QUICK REVIEW

[Paper Review] Re-understanding Finite-State Representations of Recurrent Policy Networks

Mohamad H. Danesh, Anurag Koul|arXiv (Cornell University)|Jun 6, 2020
Social Policy and Reform StudiesSocial Sciences5 citations
TL;DR

This paper proposes a new interpretability method for recurrent policy networks by analyzing unminimized finite-state machines (FSMs) derived from quantized RNNs, preserving semantically meaningful decision points. Unlike prior work that minimized FSMs and obscured strategic insights, the approach uses interpretable reductions, differential attention, and functional pruning to reveal that Atari policies are effectively pruned open-loop controllers, relying minimally on observations for strategic decisions.

ABSTRACT

We introduce an approach for understanding control policies represented as recurrent neural networks. Recent work has approached this problem by transforming such recurrent policy networks into finite-state machines (FSM) and then analyzing the equivalent minimized FSM. While this led to interesting insights, the minimization process can obscure a deeper understanding of a machine's operation by merging states that are semantically distinct. To address this issue, we introduce an analysis approach that starts with an unminimized FSM and applies more-interpretable reductions that preserve the key decision points of the policy. We also contribute an attention tool to attain a deeper understanding of the role of observations in the decisions. Our case studies on 7 Atari games and 3 control benchmarks demonstrate that the approach can reveal insights that have not been previously noticed.

Motivation & Objective

  • Address the limitation of minimal finite-state machines (FSMs) in interpreting recurrent policy networks, as minimization merges semantically distinct states.
  • Overcome the subjectivity and potential misinterpretation in attention-based analysis by introducing a more structured, interpretable FSM-based framework.
  • Develop techniques to preserve decision logic and strategic meaning in FSM representations of RNN policies, especially for complex control tasks.
  • Investigate whether observations play strategically meaningful roles in policy decisions or are merely artifacts of non-compact policy learning.
  • Demonstrate that functional pruning can test the necessity of observation-conditioned branching, revealing whether policies are truly reactive or effectively open-loop.

Proposed method

  • Quantize observations and memory of trained recurrent policy networks (RNNs) into discrete states, forming an unminimized Moore Machine (MM) representation.
  • Apply interpretable reductions to compress the FSM visualization while preserving branching states and decision logic, such as replacing non-branching state sequences with abstract transitions.
  • Introduce a differential attention mechanism to identify which input features most influence decisions at branching states, providing insight into observation relevance.
  • Perform functional pruning by removing all but one branch at each decision point to test whether observation-based branching is strategically necessary.
  • Use the resulting simplified FSMs to analyze policy behavior and assess whether performance is maintained without observation-dependent branching.
  • Validate the approach across 7 deterministic Atari games and 3 continuous control benchmarks, comparing results to prior attention-based methods.

Experimental results

Research questions

  • RQ1To what extent do observations play a strategic role in recurrent policy networks trained on Atari games, as revealed by FSM analysis?
  • RQ2Can unminimized FSM representations preserve semantically meaningful decision points that are obscured in minimized FSMs?
  • RQ3Are attention maps over observations reliable indicators of strategic importance, or can they mislead due to non-intuitive feature weighting?
  • RQ4Do recurrent policies in deterministic environments learn observation-dependent strategies, or do they effectively reduce to open-loop controllers?
  • RQ5Can functional pruning identify whether observation-conditioned branching is essential or merely an artifact of non-compact policy learning?

Key findings

  • All analyzed Atari policies were found to be pruned open-loop controllers, as removing all but one branch at each decision point preserved performance.
  • The differential attention mechanism revealed that in Atari games, observations were often not used for strategically meaningful decisions, with attention focusing on non-intuitive or redundant features.
  • In continuous control tasks like Acrobot and Lunar Lander, the FSMs revealed interpretable decision logic, such as velocity-based thresholds for action selection.
  • For Lunar Lander, the initial decision point used velocity features to select engine firing actions, while ignoring position and leg state, indicating a strategic early stabilization phase.
  • The approach uncovered that in stochastic environments, FSMs became large and fragmented, suggesting either limitations in current quantization or that policies may encode behavior in a nearest-neighbor-like manner.
  • Functional pruning was ineffective in complex, stochastic environments like Lunar Lander, indicating that observations play a strong strategic role in such tasks, unlike in deterministic Atari games.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.