Abstract
SonOpt is an open-source framework designed for the real-time monitoring of bi-objective optimization algorithms through sonification. By mapping the evolving geometry of the Pareto front and the recurrence of solutions to distinct audio synthesis paths, SonOpt enables researchers to "hear" algorithmic behaviors such as convergence, stagnation, and exploration. This system provides a peripheral monitoring alternative to traditional visual scatter plots, allowing for the detection of subtle search dynamics that might be overlooked in visual representations.
Introduction
Evaluating and monitoring the performance of population-based multi-objective optimization algorithms (MOAs) is traditionally a visual task. Researchers typically rely on scatter plots to observe how an approximation set—the current set of non-dominated solutions—evolves over time. However, visual methods can be suboptimal for tracking high-frequency time-series data or for "peripheral monitoring," where a researcher needs to keep tabs on a long-running process while focusing on other tasks.
While sonification (representing data as sound) has been applied to single-objective optimization, its application to multi-objective optimization remains largely unexplored. SonOpt addresses this gap by translating the complex, multi-dimensional search behavior of bi-objective algorithms into intuitive audio streams.
System Architecture and Methods
SonOpt interfaces a Python-based optimization library (pymoo) with Max/MSP, a visual programming environment for audio, via the Open Sound Control (OSC) protocol. At each generation, the algorithm transmits the objective values of its non-dominated solutions to SonOpt. The system then processes these values through two distinct sonification paths to represent different aspects of the search process.
Sonification Path 1: Wavetable Synthesis
This path maps the 2D shape of the approximation set directly into an audio buffer, treating the spatial distribution of points as a single-cycle waveform. A scanning oscillator plays this buffer at a user-defined frequency. The resulting timbre is highly dependent on the front's geometry: a smooth, convex front produces a clean, bassy sine-like tone, while a discontinuous or jagged front results in a harsh, harmonically rich sound.
Sonification Path 2: Additive Synthesis
Path 2 tracks the "recurrence" of solutions across consecutive generations. Recurring objective values are mapped to the harmonic partials of a fundamental frequency. As a specific solution recurs more frequently—indicating convergence or stagnation—its corresponding harmonic increases in amplitude. To prevent sensory overload, Path 1 naturally decays as the algorithm stabilizes, while Path 2 intensifies as solutions begin to settle.
Experimental Evaluation and Key Insights
The authors evaluated SonOpt using standard bi-objective test problems (ZDT1, ZDT4, Kursawe, and Tanaka) and two fundamentally different algorithms: NSGA-II (dominance-based) and MOEA/D (decomposition-based).
Key findings include:
- Distinct Sonic Signatures: Algorithms exhibit unique audio profiles. For instance, MOEA/D's decomposition approach often creates sporadic "bumps" in the approximation set, resulting in a "buzzier" sound compared to the smoother output of NSGA-II.
- Exploration vs. Exploitation: Rapidly shifting timbres in Path 1 indicate active exploration. Once the timbre stabilizes, the listener can hear the algorithm shift into exploitation.
- Sensitivity to Outliers: SonOpt is remarkably sensitive to visual anomalies. A single distant outlier drastically alters the audio waveform, producing a noticeable "sawtooth" buzz that might be missed on a cluttered visual plot.
Conclusion and Future Work
Currently, SonOpt is limited to bi-objective problems and requires Max/MSP. Future work aims to extend the system to many-objective problems (3+ objectives), which are notoriously difficult to visualize. The authors also plan to develop a native Python version to increase accessibility and explore the tool's potential for algorithmic music composition.
Summary updated