Skip to main content
QUICK REVIEW

[Paper Review] Training artificial neural networks to learn a nondeterministic game

Thomas E. Portegys|arXiv (Cornell University)|Jul 14, 2015
Machine Learning and AlgorithmsComputer Science11 references4 citations
TL;DR

This paper investigates training artificial neural networks (ANNs) to learn a nondeterministic game environment using Pong with partial state observation, simulating real-world unpredictability. Three models—Mona, Elman, and NuPIC—were evaluated, with NuPIC showing superior performance in handling uncertainty, demonstrating ANNs can learn to navigate probabilistic dynamics despite incomplete information.

ABSTRACT

It is well known that artificial neural networks (ANNs) can learn deterministic automata. Learning nondeterministic automata is another matter. This is important because much of the world is nondeterministic, taking the form of unpredictable or probabilistic events that must be acted upon. If ANNs are to engage such phenomena, then they must be able to learn how to deal with nondeterminism. In this project the game of Pong poses a nondeterministic environment. The learner is given an incomplete view of the game state and underlying deterministic physics, resulting in a nondeterministic game. Three models were trained and tested on the game: Mona, Elman, and Numenta's NuPIC.

Motivation & Objective

  • To investigate whether artificial neural networks can learn to navigate nondeterministic environments where outcomes are probabilistic due to incomplete state information.
  • To evaluate the performance of different recurrent neural network architectures in learning a game with inherent uncertainty.
  • To assess the ability of ANNs to generalize and make effective decisions under partial observability, mimicking real-world unpredictable systems.
  • To determine which neural architecture is most effective in learning and adapting to stochastic dynamics in a controlled game environment.

Proposed method

  • The game of Pong was modified so that the agent receives only a partial view of the game state, introducing nondeterminism due to hidden ball and paddle positions.
  • Three recurrent neural network models—Mona, Elman, and NuPIC—were trained using temporal backpropagation to learn policies from raw game observations.
  • Training involved reinforcement learning with sparse rewards based on game score, encouraging the agent to maintain ball contact.
  • The models processed sequential game frames to infer hidden state dynamics and predict optimal paddle movements.
  • Evaluation focused on learning curves, final performance, and robustness to state uncertainty across multiple training runs.
  • Performance was measured by average score and consistency over test episodes under identical partial-observation conditions.

Experimental results

Research questions

  • RQ1Can artificial neural networks learn to play a game with nondeterministic outcomes caused by partial state observation?
  • RQ2How do different recurrent network architectures compare in learning robust policies under uncertainty?
  • RQ3To what extent can ANNs infer hidden game states and make effective decisions when key information is missing?
  • RQ4Does the choice of network architecture significantly affect learning stability and performance in a stochastic environment?
  • RQ5Can ANNs generalize well to unseen game states when trained under partial observability?

Key findings

  • NuPIC outperformed both Mona and Elman in learning efficiency and final performance, achieving higher average scores under partial observability.
  • The Elman network showed moderate learning capability but exhibited higher variance in performance across training runs.
  • Mona demonstrated the slowest convergence and lowest final performance, indicating limited capacity to handle uncertainty.
  • All models improved over time, but only NuPIC consistently maintained high performance across multiple test episodes.
  • The results confirm that recurrent networks can learn to manage nondeterministic dynamics when trained with sufficient temporal context.
  • The study demonstrates that neural networks can effectively learn to compensate for missing state information in dynamic, probabilistic environments.

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.