Designing Interesting Opponents through Online Learning in Predator–Prey Environments
Gajjala Lilly Rani, Ankatwar Gajanan, Alurwad Tripat Venkatreddy, K. Krunal Yadav, Narote Preetham
Journal of Engineering Research and Reports · pp. 306–322 · Published 9 Jun 2026
10.9734/jerr/2026/v28i61929Abstract
Predator–prey environments are widely used benchmarks for multi-agent reinforcement learning (MARL) because they capture simultaneous cooperation among predators and competition against prey, yet many deployed predator opponents rely on static or pre-trained policies that become predictable, reduce behavioural diversity, and limit long-term engagement. This study investigates how online learning can generate adaptive and interesting opponents that continuously challenge prey agents. We propose an online-learning framework that integrates reinforcement learning with dynamic opponent adaptation and opponent modelling in a discrete 20×20 grid world containing four coordinated predator agents and one evasive prey. Agents use a state representation comprising relative agent positions, Euclidean distances, velocity vectors, and historical actions. Predator learning combines temporal-difference updates (Q-learning) with PPO/MAPPO-style policy optimization for stability, while an opponent model is updated online to predict behaviours and support coordinated decision-making. Interestingness is quantified using behavioural diversity (entropy), novelty (distance between current and historical behaviours), and challenge, alongside standard performance indicators and confusion-matrix-based evaluation of action prediction (Chase, Surround, Ambush). Across 10,000 training episodes and multiple runs under identical conditions, the proposed online-learning predators achieved the highest cumulative rewards with faster convergence than random, scripted, and offline-RL baselines, and attained an 87% capture success rate (56 percentage points above the random baseline). Online learning also produced the greatest behavioural diversity (entropy=2.21) while remaining strategically effective. Opponent modelling showed strong classification performance (85% Chase, 81% Surround, 82% Ambush; precision/recall/F1=0.83), and training yielded emergent cooperative strategies including coordinated trapping, dynamic flanking, ambush positioning, and adaptive pursuit. Overall, continuous online adaptation improves robustness and engagement by preventing behavioural stagnation, though it introduces computational overhead and potential instability in non-stationary MARL settings; future work should address scalability and explore hierarchical, graph-based, transformer, and meta-learning extensions. The work was conducted entirely in simulation without human or animal data.
Cited by 0
No indexed citations yet.
Related research
- Perception of Undergraduates and Postgraduates Pertaining Online Learning during the COVID-19 Pandemic: A Cross-Sectional Study amongst Sudanese Health Professional Students — shares topic coverage
- Assessment of the Readiness of Institutions and Undergraduates’ Attitude to Online Learning Mode in Nigerian Universities — shares topic coverage
- Perceptions of Nigerian Physiotherapists Regarding Online Learning for Continuous Professional Development — shares topic coverage
- Implementation and Evaluation of a Blended Integrated Course in a Problem-based Learning Program — shares topic coverage
- The Role of Semantics in Knowledge and Learning Transfer in Online Discussion Forums — shares topic coverage
Article metrics
Real usage data collected on this platform.
0
Page views
0
PDF downloads
0
Outbound clicks
0
Citations
Views by country
Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".
No views recorded yet.
Traffic sources
Referring site, by host.
No traffic recorded yet.
Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.