Self Organizing Classifiers and Niched Fitness

Danilo Vasconcellos Vargas, Hirotaka Takano, Junichi Murata

Introduction

Learning Classifier Systems (LCS) often struggle to balance the pressure to find high-reward solutions (fitness) with the need to maintain diverse, specialized solutions (niching). This paper introduces Self Organizing Classifiers (SOC), a novel algorithm that completely separates these competing pressures by using a Self Organizing Map (SOM) to dynamically divide the input space into distinct niches, each with its own localized "niched fitness." This approach successfully solves complex continuous reinforcement learning problems with a remarkably small population size.

The Challenge: Balancing Fitness and Niching

In reinforcement learning and evolutionary computation, LCS evolve rules (classifiers) to maximize rewards in an environment. A persistent, historical challenge is balancing fitness pressure—favoring rules that get the highest reward—and niching pressure—ensuring rules specialize to cover different, distinct parts of the state space.

If fitness pressure is too high, over-general, high-payoff classifiers dominate the population, wiping out niche solutions. If niching pressure is too high, the system struggles to generalize. While modern accuracy-based systems (like XCS) attempt to find a middle ground, balancing these forces remains notoriously difficult. The authors tackle this dilemma by completely separating the niching problem from the fitness problem.

Methods: The SOC Architecture

The authors propose two major novel concepts to achieve this separation:

  1. SOM Population: Instead of a single global pool of classifiers, the population is structured using a Self Organizing Map (SOM)—a 2D grid where each cell represents a specific region of the input space. As the agent explores, the SOM dynamically adjusts its weights to map the topological features of the environment. Each cell acts as an isolated "island," containing its own small subpopulation of classifiers.
  2. Niched Fitness: Fitness is evaluated locally within each SOM cell rather than globally. Because the SOM automatically handles the niching (dividing the state space), the evolutionary algorithm inside each cell only needs to focus on maximizing reward (strength-based fitness) for that specific niche.
The SOC architecture separates niching (via SOM) from fitness optimization (via local action sets).

When a cell accumulates enough experience, a local evolutionary cycle is triggered using Differential Evolution (DE) to create new classifiers by recombining existing ones, replacing the worst-performing classifiers in that specific local cell.

Key Results and Insights

The paper evaluates SOC on continuous reinforcement learning environments, including an "Empty Room" and a "One-Wall Maze."

Learned routing behavior in a continuous environment, illustrating the system's ability to find optimal paths toward the goal.

Successful Navigation and Efficiency

SOC successfully learned optimal, stable routing behaviors in both environments. Notably, the algorithm requires a surprisingly small population size. In the One-Wall Maze, the active population stabilized at around 1,100 individuals. For context, previous neural-based LCS required up to 16,000 individuals to solve similar continuous problems.

Dynamic Topology Mapping

The SOM doesn't just statically divide the space; it dynamically adapts to the input distribution. This means computational resources naturally cluster around frequently visited or complex areas of the state space, ignoring unreachable areas (like the inside of a wall).

Robustness

When the maximum allowed population was artificially restricted (e.g., to ~700 individuals by reducing the SOM grid to 7x7), the algorithm still successfully solved the maze. It converged faster, albeit with slight deviations from the absolute optimal path, demonstrating significant robustness to parameter reduction.

Conclusion

The SOC framework demonstrates that "separation of concerns" works effectively in LCS. By offloading the niching responsibility entirely to an unsupervised learning algorithm (the SOM), the evolutionary algorithm is freed to focus purely on optimizing reward within isolated local regions. This prevents highly rewarding tasks in one part of the environment from wiping out necessary classifiers in other regions, providing a scalable path toward solving high-dimensional continuous problems.

Summary updated

BibTeX
@inproceedings{vargas2013self,
  author = {Danilo Vasconcellos Vargas and Hirotaka Takano and Junichi Murata},
  title = {{Self Organizing Classifiers and Niched Fitness}},
  booktitle = {GECCO},
  year = {2013},
  doi = {10.1145/2463372.2463501},
}
Figure