Leveraging Human Knowledge in Tabular Reinforcement Learning: A Study of Human Subjects

Ariel Rosenfeld, Matthew E. Taylor, Sarit Kraus

Abstract

Reinforcement Learning (RL) can be extremely effective in solving complex, real-world problems. However, injecting human knowledge into an RL agent may require extensive effort on the human designer's part. To date, human factors are generally not considered in the development and evaluation of possible approaches. In this paper, we propose and evaluate a novel method, based on human psychology literature, which we show to be both effective and efficient, for both expert and non-expert designers, in injecting human knowledge for speeding up tabular RL.

Introduction

Reinforcement Learning (RL) is a powerful paradigm for training agents to solve complex tasks through trial and error. However, a significant bottleneck in its practical application is the slow training process. Injecting human intuition to accelerate learning often requires deep expertise in specialized techniques like function approximation or complex state abstractions. This paper addresses the challenge of making RL more accessible to non-experts by introducing SASS (State Action Similarity Solutions), a framework that allows designers to provide useful inductive biases through simple similarity rules.

The Generalization Challenge

A standard "tabular" RL agent treats every state as unique, failing to recognize that similar actions in similar states should yield similar outcomes. For instance, moving right in one area of a grid should be fundamentally similar to moving right in another. Traditionally, designers overcome this by using state abstractions or function approximations, but these are difficult to tune and require significant AI expertise. SASS aims to bridge this gap by leveraging human psychological constructs.

Methods: SASS and QS-Learning

SASS is grounded in the psychological theory of constructivism, which posits that humans organize their experiences by grouping similar events into "constructs."

Instead of the standard Q-learning update, which only modifies the value of the current state-action pair, SASS employs QS-learning. When an agent gains information about an action in a specific state, it propagates that knowledge to other "similar" state-action pairs as defined by the human designer. The paper identifies three primary types of similarities:

  1. Representational Similarity: Grouping states based on shared features.
  2. Symmetry Similarity: Recognizing that mirrored or rotated states should behave identically.
  3. Transition Similarity: Recognizing that different actions might lead to the same outcome.
Figure 1: (a) Mirror symmetry in a grid world; (b) Rotational symmetry in the Pursuit (Predator/Prey) task.

Experimental Evaluation

The effectiveness of SASS was evaluated across three distinct benchmarks:

  • Simple Robotic Soccer: An 8x8 grid-based game against a hand-coded opponent.
  • Pursuit (Predator/Prey): A 20x20 grid where two predators must coordinate to catch a prey.
  • Mario AI: A high-dimensional environment with over 100 billion possible state-action pairs.
Figure 2: The Mario AI environment, representing a complex state space for RL evaluation.

Key Results

The study yielded several significant insights:

  • Expert and Non-Expert Success: In all domains, SASS-enabled agents (QS) learned significantly faster than standard Q-learning or traditional state abstraction (QA). In a study with 16 graduate students, 75% successfully improved agent performance using SASS, whereas many struggled or even degraded performance when attempting traditional abstractions.
  • Performance in Mario AI: The SASS agent surpassed human-level performance significantly faster than baseline methods used in previous literature.
  • Computational Efficiency: SASS is computationally inexpensive compared to methods like "Dyna." It achieves similar or better performance by simply updating additional cells in the Q-table, resulting in faster real-world training times.

Discussion and Future Work

While SASS demonstrates clear benefits in tabular RL, several avenues for future research remain. The current focus on tabular methods needs extension to Deep Reinforcement Learning (DeepRL). Additionally, while SASS simplifies the process, it still requires manual coding of similarity functions. Future work will explore "on-line identification" to allow agents to learn or refine these similarities autonomously. Finally, testing with non-technical users via a GUI could further democratize the use of RL.

Summary updated

BibTeX
@inproceedings{rosenfeld2017leveraging,
  author = {Ariel Rosenfeld and Matthew E. Taylor and Sarit Kraus},
  title = {{Leveraging Human Knowledge in Tabular Reinforcement Learning: A Study of Human Subjects}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=rJNwUXGdbH},
}
Figure