Abstract
Much of artificial intelligence research is focused on devising optimal solutions for challenging and well-defined but highly constrained problems. However, as we begin creating autonomous agents to operate in the rich environments of modern videogames and computer simulations, it becomes important to devise agent behaviors that display the visible attributes of intelligence, rather than simply performing optimally. Such visibly intelligent behavior is difficult to specify with rules or characterize in terms of quantifiable objective functions, but it is possible to utilize human intuitions to directly guide a learning system toward the desired sorts of behavior. Policy induction from human-generated examples is a promising approach to training such agents. In this paper, such a method is developed and tested using Lamarckian neuroevolution. Artificial neural networks are evolved to control autonomous agents in a strategy game. The evolution is guided by human-generated examples of play, and the system effectively learns the policies that were used by the player to generate the examples. I.e., the agents learn visibly intelligent behavior. In the future, such methods are likely to play a central rule in creating autonomous agents for complex environments, making it possible to generate rich behaviors derived from nothing more formal than the intuitively generated example, of designers, players, or subject-matter experts.
The Challenge of Believable Agency
In traditional AI research, the primary objective is typically optimality—finding the shortest path, the highest score, or the most efficient resource allocation. However, in the context of video games and interactive simulations, "optimal" behavior often appears robotic, predictable, or fundamentally "wrong" to a human observer.
This paper argues for the importance of visibly intelligent behavior. For instance, a guard in a game should not simply teleport to a mathematically efficient coordinate; they should patrol in a manner that "looks right" to a player. Because "looking right" is nearly impossible to define via a mathematical reward function, it is far more effective for a human expert to demonstrate the desired behavior than to attempt to code it. This research addresses the gap between subjective human intuition and objective machine learning.
Methodology: Example-Guided Neuroevolution
To bridge this gap, the authors present a method called Example-Guided Neuroevolution. This approach uses human-generated play to steer the evolution of neural network controllers.
The system utilizes two primary techniques:
- Neuroevolution with Enforced Sub-Populations (ESP): Rather than evolving entire networks, ESP evolves individual neurons in separate pools. Networks are constructed by selecting one neuron from each pool, and the resulting fitness is attributed back to the participating neurons.
- Lamarckian Adaptation: Unlike Darwinian evolution, where acquired traits are not inherited, Lamarckian neuroevolution allows an agent to "learn" during its evaluation. In this system, agents undergo a step of backpropagation using human-generated state-action examples. These updated weights are then written back into the "genome" for the next generation.
By integrating human examples into the evolutionary loop, the system searches for high-performing agents that specifically adhere to a human-like behavioral policy.
Experimental Testbed: Legion II
The researchers used a custom strategy game called Legion II to evaluate their approach. In this environment, legions must defend cities from encroaching barbarians on a hexagonal grid.
The study utilized a dataset generated by a human player following specific "doctrines" (stylistic rulesets for garrison behavior). The dataset consisted of 12 games totaling approximately 12,000 contextual moves. The authors compared their guided approach against two benchmarks: Unguided Evolution (standard fitness-based) and Pure Backpropagation (standard supervised learning).
Key Insights and Results
- Policy vs. Optimization: The results demonstrated that high game scores are not always the ultimate goal. If a human plays sub-optimally for stylistic reasons, a successful "visibly intelligent" AI should replicate that sub-optimality. Guided neuroevolution produced agents significantly closer to the human target in behavioral phase space than unguided evolution.
- Rule Induction: The AI was never given mathematical definitions of the doctrines (e.g., "stay within 1 hex of the city"). Instead, it induced these rules implicitly from the examples, effectively reverse-engineering the human's mental model.
- Generalization and Conformance: The Lamarckian approach reached near-zero "safety violations" (breaches of the human's implicit rules) much faster than pure backpropagation. Furthermore, it outperformed pure backpropagation on 5 out of 6 rule-induction tests, suggesting that the evolutionary component helps the network generalize human policy to novel game states.
Limitations and Future Work
The authors identified several challenges for future research. Legion II operates on a discrete hex-grid with discrete time steps; moving to continuous 3D environments presents a greater challenge for egocentric controllers. Additionally, the discrepancy between the human's global view of the map and the agent's local "radar" sensors can lead to noisy examples. Finally, while the current networks are feed-forward, the authors suggest that recurrent neural networks (RNNs) will be necessary for complex behaviors requiring memory of past events.
This work serves as a foundational example of how "Human-in-the-Loop" systems can successfully bridge the gap between raw machine performance and believable, human-like agency.
Summary updated