Abstract
Aligning model representations to humans has been found to improve robustness and generalization. However, such methods often focus on standard observational data. Synthetic data is proliferating and powering many advances in machine learning; yet, it is not always clear whether synthetic labels are perceptually aligned to humans – rendering it likely model representations are not human aligned. We focus on the synthetic data used in mixup: a powerful regularizer shown to improve model robustness, generalization, and calibration. We design a comprehensive series of elicitation interfaces, which we release as HILL MixE Suite, and recruit 159 participants to provide perceptual judgments along with their uncertainties, over mixup examples. We find that human perceptions do not consistently align with the labels traditionally used for synthetic points, and begin to demonstrate the applicability of these findings to potentially increase the reliability of downstream models, particularly when incorporating human uncertainty. We release all elicited judgments in a new data hub we call H-Mix.
Introduction
In modern machine learning, Mixup is a standard strategy for improving model generalization. It functions by taking two training examples (e.g., a dog and a boat) and creating a synthetic "hybrid" image through linear interpolation of their pixels. Conventionally, the labels are also linearly interpolated—meaning a 70/30 pixel blend is assigned a 70/30 label.
However, this approach relies on a significant assumption: that a linear blend of pixels corresponds to a linear blend of categories in human perception. Cognitive science suggests that human categorical perception is often non-linear, characterized by "either-or" judgments until a sharp boundary is crossed. Training models on synthetic labels that contradict human intuition may result in "brittle" representations that lack robustness and alignment with human reasoning.
Methods
The researchers decoupled the data mixing coefficient ($\lambda_f$) from the label mixing coefficient ($\lambda_g$). To investigate how humans perceive these mixtures, they developed the HILL MixE Suite (Human-in-the-Loop Mixup Elicitation Suite).
As shown in Figure 1, the study employed two primary elicitation settings:
- Midpoint Selection (Elicitation Setting I): Participants "constructed" an image representing a perfect 50/50 split between two categories by selecting from a range of interpolated images.
- Label Inference (Elicitation Setting II): Participants viewed a pre-mixed image and used a slider to estimate the mixing ratio (the label) while also providing their confidence in that judgment.
The experiments utilized the CIFAR-10 dataset, supplemented by CIFAR-10H (human labels for the test set) to account for original image ambiguity. The resulting H-Mix dataset contains perceptual judgments and uncertainty scores from 159 participants across thousands of mixup examples.
Key Insights and Results
The study revealed that human perception of mixup follows a sigmoidal (S-shaped) curve rather than a linear one. Humans tend to perceive an image as belonging almost entirely to one category until the mixture is very close to the center, where perception shifts rapidly.
Figure 2 illustrates the distribution of individual selections for the perceived 50/50 point. While the aggregate mean is near 0.5, there is significant variance, indicating that the "perceptual midpoint" is not a fixed mathematical constant across different image pairs or individuals.
Furthermore, the researchers found that human uncertainty is a critical signal. Humans are significantly less confident when labeling mixtures of images that were already ambiguous in their original form. While using average human labels alone did not improve performance, incorporating human uncertainty ($\omega$) as a weight during training yielded substantial gains:
- Adversarial Robustness: Training with human labels and uncertainty ($\text{Relabel} + \omega$) reduced error under FGSM attacks from 10.62% to 8.89%.
- Calibration: The approach improved the Expected Calibration Error (ECE) from 0.23 to 0.19, aligning model confidence more closely with actual accuracy.
Conclusion
This work demonstrates that aligning synthetic data labels with human perception can enhance model reliability. By fitting logistic functions to human data for specific category pairs, the authors showed that human-aligned labels can be generated at scale. While challenges remain regarding dataset resolution and the infinite search space of mixup, incorporating the nuance of human uncertainty provides a promising path toward more robust and trustworthy AI systems.
Summary updated