Introduction
In the field of robotics, defining "optimal" behavior is often a significant challenge. While tasks like minimizing energy consumption or maximizing speed are straightforward to quantify, more nuanced behaviors—such as navigating "politely" through a crowd or achieving high-fidelity depth sensing—lack clear mathematical definitions. Traditionally, engineers attempt to capture these nuances through complex, hand-tuned reward functions. However, these functions often fail to capture the subtleties of human social norms and are prone to "reward hacking," where the system optimizes for the metric rather than the intended behavior.
Researchers at Carnegie Mellon University have introduced SortCMA, a novel optimization framework designed to bridge this gap. By leveraging pairwise human preferences instead of explicit numerical scores, SortCMA allows for the tuning of high-dimensional algorithm parameters in a way that aligns more closely with human judgment.
The SortCMA Methodology
SortCMA is built upon the Covariance Matrix Adaptation Evolution Strategy (CMA-ES), a robust black-box optimization algorithm. Standard CMA-ES typically requires a numerical fitness value for each candidate solution. SortCMA replaces this requirement with a human-driven ranking process.
The Optimization Loop
The algorithm operates through an iterative process:
- Distribution Maintenance: The system maintains a multivariate Gaussian distribution over the parameter space, representing the current best estimate of the optimal configuration.
- Sampling: In each generation, the algorithm samples a set of candidate parameter configurations from this distribution.
- Human Sorting: Rather than assigning a score to each candidate, a human user performs a series of pairwise (A vs. B) comparisons to sort the candidates from best to worst.
- Rank-Based Update: The algorithm assigns weights based on the resulting rank of each candidate. It then updates the Gaussian distribution—adjusting both the mean and the covariance—to shift toward the higher-ranked parameters.
By relying on ranking rather than scoring, SortCMA capitalizes on a known psychological phenomenon: humans are significantly more consistent and accurate when making relative comparisons than when providing absolute numerical ratings.
Addressing Cognitive Load and Noise
Human-in-the-loop optimization faces two primary hurdles: voter fatigue and human error. To mitigate these, the researchers implemented several key strategies.
Heuristic Deferral
As the optimization converges, the differences between candidate configurations become increasingly subtle, making human comparison difficult and tiring. To address this, SortCMA includes a "heuristic deferral" option. When candidates appear nearly identical, the user can defer the decision to a simple automated heuristic (e.g., "maximize depth density"). In later stages of tuning, users utilized this option nearly 50% of the time, significantly accelerating the convergence process without sacrificing quality.
Robustness to Inconsistency
The derivative-free nature of SortCMA makes it inherently robust to "noisy" input. Testing on synthetic benchmarks (such as the Ackley and Rosenbrock functions) demonstrated that the algorithm can still converge even if the human user makes an incorrect selection up to 25% of the time. While errors increase the number of iterations required, they do not derail the optimization process entirely.
Experimental Evaluation
The effectiveness of SortCMA was validated across three distinct domains: synthetic benchmarks, hardware parameter tuning, and social navigation.
Hardware Tuning: Intel RealSense D435
The researchers applied SortCMA to tune 35 hardware parameters of a commercial Intel RealSense depth sensor. This is a high-dimensional space where traditional Bayesian Optimization often struggles. After only 30 minutes of human interaction, SortCMA identified parameter sets that significantly outperformed factory defaults. The optimized settings were particularly effective at resolving sharp edges and complex geometries that the default settings failed to capture.
Social Navigation: SocNavBench
In the context of social navigation, the algorithm was tested using SocNavBench, which utilizes real-world pedestrian data from the ETH and UCY datasets. The goal was to tune a navigation stack to move "socially." In a user study involving 113 participants, trajectories generated by SortCMA-tuned parameters were consistently rated as safer and more "competent" than those tuned using standard, hand-designed metrics.
Discussion and Future Work
SortCMA demonstrates that high-dimensional robotic parameters can be effectively optimized using simple human preferences. By bypassing the need for a perfectly modeled reward function, the method avoids common pitfalls in reinforcement learning and provides a more intuitive interface for algorithm tuning.
The primary limitation remains the bottleneck of human interaction. Sorting $N$ candidates requires $O(N \log N)$ comparisons, which may limit scalability for even higher-dimensional problems. Future research may explore Federated Optimization, aggregating preferences from multiple users to create universal parameter sets, or developing more sophisticated methods for transitioning from human sorting to automated heuristics as the optimization matures.
Conclusion
SortCMA offers a powerful alternative to traditional reward-based optimization. By placing the human at the center of the ranking process, it enables the development of robotic behaviors that are not only functional but also aligned with human expectations and social norms.
Summary updated