Motivated Agents

Kathryn Kasmarik, William T. B. Uther, Mary Lou MaherIJCAI 2005

Introduction

Traditional reinforcement learning (RL) often relies on externally defined reward functions, which can be brittle and difficult to design for complex environments. This paper introduces a model for "motivated agents" that autonomously identify interesting events and learn behaviors to master them without external rewards.

Problem Statement

In dynamic environments, pre-programmed goals can quickly become obsolete. The challenge of intrinsic motivation is enabling an agent to decide what is worth learning on its own. By removing the need for an external teacher, agents can become more autonomous, discovering useful behaviors like navigation simply because they find environmental changes "interesting."

The Sensation-Motivation-Action Architecture

The authors propose a three-part loop to drive autonomous discovery:

  1. Sensation: Raw sensor data is converted into "events," defined as recognizable changes in state variables.
  2. Motivation: This component identifies interesting events based on their frequency. Infrequent changes are prioritized, prompting the agent to create goals to repeat them.
  3. Action (TDQL with Masking): The agent employs Temporal Difference Q-Learning (TDQL) to master self-generated goals. A masking mechanism filters out high-frequency noise, allowing the agent to focus on the target rare event.
The Sensation-Motivation-Action loop architecture.

Once an event is mastered, it is encapsulated as a Behaviour, serving as a building block for higher-level tasks, similar to options in hierarchical RL.

Experimental Setup: The Robot Guide Domain

The model was evaluated in a simulated "Robot Guide" domain. The environment features a virtual world where an agent must guide "avatars" (NPCs) between sources and destinations. The agent controls a robot with 12 effectors for leg movement and sensors for spatial coordinates.

Results and Discussion

The motivated agent was compared against a "Flat TDQL" agent—a standard RL agent with a pre-programmed reward for the final goal.

Performance comparison between the Motivated Agent and a standard Flat TDQL agent.

The results demonstrate significant improvements in learning efficiency:

  • Learning Speed: The motivated agent reached a stable solution in approximately 2.5 million primitive actions. In contrast, the flat TDQL agent required nearly 10 million actions to achieve comparable performance.
  • Abstraction: This performance boost stems from the agent's ability to use learned behaviors (e.g., walking) as abstract primitives for more complex navigation tasks.

Conclusion

By defining "interest" as the rarity of environmental changes, the proposed model enables agents to build a hierarchy of behaviors autonomously. While the heuristic of "infrequent equals interesting" is effective in the tested domain, future work will explore its scalability to high-dimensional inputs like raw video and its robustness in environments with many irrelevant rare events.

Summary updated

BibTeX
@inproceedings{kasmarik2005motivated,
  author = {Kathryn Kasmarik and William T. B. Uther and Mary Lou Maher},
  title = {{Motivated Agents}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
}
Figure