Abstract
This paper proposes a reinforcement learning method called Fuzzy Q-learning, which integrates fuzzy logic to determine agent actions in continuous environments. The method is applied to a soccer agent learning to intercept a ball passed by another agent. The state space is defined by the relative velocity and position of the ball with respect to the learning agent. By partitioning the state space into fuzzy subspaces, the agent learns to acquire complex ball interception skills through repeated trials, guided by rewards based on proximity and successful capture. Results indicate that the agent can successfully learn smooth, effective movement strategies despite the presence of sensor noise.
The Challenge of Ball Interception
In dynamic environments like a soccer match, agents must make real-time decisions in continuous space. Standard reinforcement learning, such as Q-learning, often struggles with the "curse of dimensionality" when continuous fields are discretized into rigid grids. Furthermore, hard boundaries between grid cells can lead to "jittery" or unstable behavior.
The specific task addressed is ball interception: an agent must calculate a trajectory to meet a ball passed by a teammate. This requires managing high-dimensional inputs, including the relative positions $(x_a, y_a)$ and $(x_b, y_b)$ and the relative velocities of both the agent and the ball in real-time.
The Fuzzy Q-Learning Approach
To overcome the limitations of discrete Q-learning, the authors fuse Fuzzy Inference Systems with the Q-learning update rule. This approach offers several key advantages for robotics:
- Fuzzy State Partitioning: Instead of a rigid grid, the state space is divided using triangular fuzzy membership functions (e.g., Negative, Zero, Positive). This allows the agent to be "partially" in multiple states at once, creating smooth transitions between behaviors.
- Fuzzy If-Then Rules: The agent’s knowledge is stored as a set of 81 rules (e.g., "If the ball is far to the right and moving fast toward me, then move right").
- Action Selection: The agent selects velocity vectors to navigate the field. The paper utilizes a deterministic fuzzy inference method to select the best velocity vector from four primary directions (Up, Down, Left, Right).
To accelerate the learning process, the authors employ a dual reward structure. A large Task Reward is given for successfully catching the ball, while smaller Intermediate Rewards are provided for reducing the distance to the ball, guiding the agent toward the goal even before a full success is achieved.
Experimental Results
The method was evaluated using the RoboCup Soccer Server (ver. 7.09), a simulation environment that mimics soccer physics including momentum, friction, and sensor noise.
- Learning Curve: The success rate of ball interception started near 0% and reached a peak of approximately 70-80% within 300 trials.
- Robustness: Despite the success rate fluctuating due to the inherent randomness and noise in the RoboCup server, the agent demonstrated a clear upward trend in skill acquisition.
- Emergent Behavior: The agent successfully learned to map its four basic velocity vectors into complex diagonal and curved paths to meet the ball at the optimal intercept point.
Conclusion and Future Work
The fusion of fuzzy logic and Q-learning provides a robust framework for agents operating in continuous, noisy environments. While the current deterministic action selection is computationally efficient, it may occasionally lead to local optima. Future research will focus on scaling this approach to full multi-agent team environments where agents must coordinate with teammates and account for opponents, significantly increasing the complexity of the state space.
Reference: Nakashima, T., Udo, M., & Ishibuchi, H. (2003). Fuzzy Q-learning for Acquiring the Behavior of a Soccer Agent. Knowledge and Information (Journal of Japan Society for Fuzzy Theory and Intelligent Informatics), 15(6), 702-707.
Summary updated