# A Study of State Aliasing in Structured Prediction with RNNs

**Authors:** Layla El Asri, Adam Trischler

arXiv: 1906.09310 · 2019-06-25

## TL;DR

This paper investigates how RNN-based reinforcement learning agents often fail to distinguish between different states due to state aliasing, especially when trained with policy gradient methods, affecting optimal policy learning.

## Contribution

The study identifies and characterizes state aliasing in RNNs trained with policy gradient, providing insights into its causes and implications for reinforcement learning.

## Key findings

- State aliasing occurs when multiple states share the same optimal action.
- Policy gradient training often leads to state aliasing in RNNs.
- State aliasing impairs the agent's ability to learn optimal policies.

## Abstract

End-to-end reinforcement learning agents learn a state representation and a policy at the same time. Recurrent neural networks (RNNs) have been trained successfully as reinforcement learning agents in settings like dialogue that require structured prediction. In this paper, we investigate the representations learned by RNN-based agents when trained with both policy gradient and value-based methods. We show through extensive experiments and analysis that, when trained with policy gradient, recurrent neural networks often fail to learn a state representation that leads to an optimal policy in settings where the same action should be taken at different states. To explain this failure, we highlight the problem of state aliasing, which entails conflating two or more distinct states in the representation space. We demonstrate that state aliasing occurs when several states share the same optimal action and the agent is trained via policy gradient. We characterize this phenomenon through experiments on a simple maze setting and a more complex text-based game, and make recommendations for training RNNs with reinforcement learning.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.09310/full.md

## Figures

20 figures with captions in the complete paper: https://tomesphere.com/paper/1906.09310/full.md

## References

19 references — full list in the complete paper: https://tomesphere.com/paper/1906.09310/full.md

---
Source: https://tomesphere.com/paper/1906.09310