Skip to main content
QUICK REVIEW

[Paper Review] The PlayStation Reinforcement Learning Environment (PSXLE)

Carlos Purves, Cătălina Cangea|arXiv (Cornell University)|Dec 12, 2019
Artificial Intelligence in GamesComputer Science14 references8 citations
TL;DR

This paper introduces PSXLE, a reinforcement learning environment built on a modified PlayStation 1 emulator that exposes rich state representations including raw audio, RAM, and display outputs. It enables training agents on complex games like Kula World using OpenAI Gym-compatible interfaces, demonstrating that audio-enhanced state spaces improve learning efficiency and algorithm evaluation in RL research beyond traditional Atari-based benchmarks.

ABSTRACT

We propose a new benchmark environment for evaluating Reinforcement Learning (RL) algorithms: the PlayStation Learning Environment (PSXLE), a PlayStation emulator modified to expose a simple control API that enables rich game-state representations. We argue that the PlayStation serves as a suitable progression for agent evaluation and propose a framework for such an evaluation. We build an action-driven abstraction for a PlayStation game with support for the OpenAI Gym interface and demonstrate its use by running OpenAI Baselines.

Motivation & Objective

  • To address the limitations of existing RL benchmarks by introducing a more complex, realistic environment with richer state representations.
  • To explore the integration of audio as a first-class state modality in RL, which has been underutilized despite advances in audio processing.
  • To extend the OpenAI Gym ecosystem to support PlayStation 1 games with enhanced state space fidelity.
  • To provide a scalable, game-agnostic framework for training and evaluating RL agents on more complex, visually and acoustically rich environments.
  • To demonstrate that richer state encodings, including audio, can improve learning efficiency and agent performance in complex game environments.

Proposed method

  • Extends the PCSX-R emulator with Inter-Process Communication (IPC) mechanisms to expose real-time console state, including audio, RAM, and display outputs.
  • Designs a game-agnostic abstraction layer that maps console states to a standardized interface compatible with OpenAI Gym.
  • Implements an action-driven state replay mechanism using save_state and load_state functions to allow agents to revisit and re-execute actions from prior states.
  • Introduces audio state encoding by capturing raw waveforms and extracting MFCCs for use in state representations.
  • Uses OpenAI Baselines (Deep Q-Network and PPO2) to train and evaluate agents on Kula World with visual and audio state inputs.
  • Applies a moving average over 10 episodes to smooth training curves and evaluate agent proficiency across multiple levels.

Experimental results

Research questions

  • RQ1Can a PlayStation 1-based RL environment with access to raw audio, RAM, and display outputs serve as a viable benchmark for evaluating advanced RL algorithms?
  • RQ2How does the inclusion of audio as a state modality affect learning efficiency and agent performance compared to visual-only state representations?
  • RQ3To what extent can existing RL algorithms like DQN and PPO2 generalize to more complex, visually and acoustically rich game environments?
  • RQ4Can action-driven state replay mechanisms reduce training time and improve sample efficiency in complex game environments?
  • RQ5Does the increased complexity of PlayStation 1 games compared to Atari-2600 games lead to more meaningful evaluations of RL agent generalization and robustness?

Key findings

  • The DQN and PPO2 baselines achieved stable learning curves on Kula World, with PPO2 showing superior sample efficiency and final performance compared to DQN.
  • The agent trained with visual state encoding reached a cumulative reward of approximately 1,200 after 1,600 training episodes, indicating effective learning across multiple levels.
  • Evaluation on reserved start locations showed consistent performance, with a moving average over 5 validation episodes confirming stable policy learning.
  • Audio waveforms and MFCCs were successfully captured and processed, demonstrating the feasibility of integrating audio into RL state representations.
  • The use of action-driven state replay via save_state and load_state methods was shown to be trivially implementable and potentially beneficial for reducing training time.
  • The PSXLE framework successfully enabled integration with OpenAI Gym, allowing off-the-shelf RL algorithms to be applied to PlayStation 1 games with minimal modification.

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.