Skip to main content
QUICK REVIEW

[Paper Review] Flatland: a Lightweight First-Person 2-D Environment for Reinforcement Learning

Hugo Caselles-Dupré, Louis Annabi|arXiv (Cornell University)|Sep 3, 2018
Reinforcement Learning in RoboticsComputer Science13 references10 citations
TL;DR

Flatland is a lightweight, 2D first-person reinforcement learning environment designed to bridge the gap between simple grid-worlds and complex 3D simulators. It enables fast prototyping and extensive experimentation by offering partially observable, physics-based navigation tasks with 1D visual observations, achieving convergence two orders of magnitude faster than similar tasks in VizDoom.

ABSTRACT

Flatland is a simple, lightweight environment for fast prototyping and testing of reinforcement learning agents. It is of lower complexity compared to similar 3D platforms (e.g. DeepMind Lab or VizDoom), but emulates physical properties of the real world, such as continuity, multi-modal partially-observable states with first-person view and coherent physics. We propose to use it as an intermediary benchmark for problems related to Lifelong Learning. Flatland is highly customizable and offers a wide range of task difficulty to extensively evaluate the properties of artificial agents. We experiment with three reinforcement learning baseline agents and show that they can rapidly solve a navigation task in Flatland. A video of an agent acting in Flatland is available here: https://youtu.be/I5y6Y2ZypdA.

Motivation & Objective

  • To address the lack of intermediate benchmarks between simple grid-worlds and complex 3D RL environments for Lifelong Learning research.
  • To provide a fast, customizable, and computationally efficient environment that retains key real-world features like partial observability and first-person view.
  • To enable rapid experimentation and statistical significance in RL research by reducing training time and computational cost.
  • To serve as a scalable platform for evaluating RL agents on increasingly complex navigation tasks with minimal sensory input.
  • To support future extensions for multi-agent interactions, object manipulation, and multi-modal sensing.

Proposed method

  • Flatland is a 2D, first-person, partially-observable environment with continuous physics and discrete actions, simulating real-world sensorimotor dynamics.
  • It uses 1D visual observations (instead of 2D images) to reduce sensory dimensionality and accelerate training.
  • The environment is built with OpenAI Gym API compatibility for seamless integration with existing RL frameworks.
  • It supports customizable physical properties for obstacles, objects, and agents, enabling diverse task configurations.
  • The simulator is designed to be extensible, with planned support for multi-agent interactions, object manipulation, and additional sensors.
  • Three standard RL algorithms—DQN, A3C, and DFP—were evaluated using 1D convolutional networks on a navigation task with fruits and poisons.

Experimental results

Research questions

  • RQ1Can a lightweight 2D first-person environment with 1D visual observations enable faster and more efficient training of RL agents compared to 3D simulators?
  • RQ2To what extent can a simplified sensory stream preserve the complexity of real-world navigation tasks while reducing computational cost?
  • RQ3Can standard RL algorithms achieve rapid convergence in a partially observable, physics-based 2D environment with minimal state information?
  • RQ4How does the performance of RL agents in Flatland compare to similar tasks in more complex 3D environments like VizDoom?
  • RQ5What is the potential of Flatland as a benchmark for Lifelong Learning and future multi-agent or multi-modal RL research?

Key findings

  • All three baseline RL algorithms—DQN, A3C, and DFP—rapidly learned to navigate the environment and achieve near-human performance (≈300 reward) on the navigation task.
  • Convergence was achieved in approximately 200,000 timesteps, representing a two-order-of-magnitude reduction in training steps compared to a similar experiment in VizDoom.
  • Training DQN on a CPU took less than one hour, demonstrating low computational cost due to 1D convolutions and reduced sensory input.
  • The 1D visual stream reduced both the number of network parameters and the training time per step, enabling faster optimization and more efficient experimentation.
  • The results confirm that lower-dimensional sensory input can maintain task complexity while drastically improving training speed and scalability.
  • The environment supports fast, reproducible experiments with 30 independent seeds, meeting best practices for statistical significance in RL evaluation.

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.