Alternatives for Classifier System Credit Assignment

Gunar E. Liepins, Mike R. Hilliard, Mark R. Palmer, Gita Rangarajan

Introduction

In the late 1980s, researchers explored a fundamental challenge in reinforcement learning: efficiently rewarding early actions in long sequences that eventually lead to a goal. This is known as the credit assignment problem. In a Classifier System (CS)—a rule-based system using genetic algorithms—the system must determine which "if-then" rules are valuable. When rewards are sparse and only delivered at the end of a chain (e.g., solving a maze), distributing that reward back to the initial rules is difficult.

The standard approach at the time, the bucket brigade algorithm, involves local payments where rules "pay" their predecessors. While elegant, this process is slow as the reward trickles back one step at a time. This paper investigates methods to "draw the reward back" more rapidly.

Methods of Credit Assignment

The authors compare the traditional bucket brigade against three primary alternatives designed to accelerate learning:

  1. Backwards Averaging: Instead of step-by-step local payments, the system records all rules fired during a trial. Upon reaching the goal, the reward is passed back to all rules in the chain simultaneously, attenuated by a factor based on their distance from the goal.
  2. Classifier Chunking: This technique "short-circuits" the chain. Once a rule near the goal stabilizes, it passes the full reward back to its predecessors without attenuation, effectively treating a sub-sequence of rules as a single "chunk."
  3. Hybrid Combination: A method integrating both local bucket brigade payments and global backwards averaging/chunking.
Comparison of credit assignment mechanisms: Bucket Brigade, Reward Chunking, and Backwards Averaging, including their respective update logic.

Experimental Setup

These methods were evaluated using synthetic spatial environments:

  • 8x8 Mazes: 1D, 2D, and 3D configurations with 64 states.
  • Barriers: Mazes containing "barrier" states that penalized entry.
  • Barriers with Holes: Complex environments where a single "hole" in a barrier provided the only low-penalty path, testing the system's ability to avoid local minima.

The systems operated in two modes: Enumerated (pre-defined rules) and Discovery (rules evolved via a Genetic Algorithm).

Key Results and Insights

The experiments revealed a critical speed-exploration trade-off. While backwards averaging provided faster feedback, it often led the system to settle on sub-optimal, longer paths because it reinforced rules so quickly that exploration of shorter alternatives ceased.

Learning performance in the barrier environment, showing cycle steps required to reach the goal as a function of distance.

Other key findings include:

  • Linearity of Reinforcement: In the bucket brigade, the time required to reinforce a rule is a linear function of its distance from the reward.
  • The Power of Generalization: In Discovery mode, the system often learned faster than in Enumerated mode. The Genetic Algorithm discovered "general" rules (using "don't care" bits) that applied to multiple states, effectively shortening the functional distance the reward had to travel.
  • Robustness of Bucket Brigade: Despite its slowness, the bucket brigade was superior at finding "holes" in barriers. It naturally fostered a hierarchy where specific rules handled obstacles while general rules managed open spaces.

Conclusion

The study concludes that while accelerated credit assignment methods like backwards averaging offer significant speedups in simple environments, they can compromise the discovery of optimal solutions in complex landscapes. The authors noted that navigating "punishment" landscapes remains a significant challenge.

Ultimately, this work pointed toward the integration of Classifier Systems with the more mathematically rigorous frameworks of Temporal Difference (TD) learning and the Adaptive Heuristic Critic (AHC), a direction that has since defined much of modern reinforcement learning research.

Summary updated

BibTeX
@inproceedings{liepins1989alternatives,
  author = {Gunar E. Liepins and Mike R. Hilliard and Mark R. Palmer and Gita Rangarajan},
  title = {{Alternatives for Classifier System Credit Assignment}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure