The Pursuit of Diversity: Multi-Objective Testing of Deep Reinforcement Learning Agents
Antony Bartlett, Cynthia Liem, Annibale Panichella
TL;DR
This work tackles the challenge of safely testing DRL agents by moving beyond single-objective failure induction to a multi-objective framework that also optimizes scenario diversity. INDAGO-Nexus combines surrogate-guided failure likelihood with two diversity metrics, evaluated via two MOEAs and knee-point Pareto selection across three DRL domains, achieving up to 83% more unique failures and up to 67% faster time-to-failure than the baseline INDAGO. Key contributions include empirical demonstrations of improved failure coverage and diversity, detailed methodological adaptations for DRL testing, and a replication-ready package. The approach has broad practical impact for robust DRL safety testing and lays groundwork for many-objective extensions and adaptive diversity in future work.
Abstract
Testing deep reinforcement learning (DRL) agents in safety-critical domains requires discovering diverse failure scenarios. Existing tools such as INDAGO rely on single-objective optimization focused solely on maximizing failure counts, but this does not ensure discovered scenarios are diverse or reveal distinct error types. We introduce INDAGO-Nexus, a multi-objective search approach that jointly optimizes for failure likelihood and test scenario diversity using multi-objective evolutionary algorithms with multiple diversity metrics and Pareto front selection strategies. We evaluated INDAGO-Nexus on three DRL agents: humanoid walker, self-driving car, and parking agent. On average, INDAGO-Nexus discovers up to 83% and 40% more unique failures (test effectiveness) than INDAGO in the SDC and Parking scenarios, respectively, while reducing time-to-failure by up to 67% across all agents.
