TL;DR
In open-ended environments, identical inputs can have conflicting labels because they originate from different, unannotated domains or contexts (e.g., an image labeled by color in one context and by shape in another). This paper introduces Open-ended Supervised Learning (OSL), a framework that maintains a bank of candidate models and a "subjective function" to automatically route conflicting data batches without explicit domain labels. Grounded in hard Expectation-Maximization (EM) and statistical learning theory, OSL effectively learns multiple underlying functions where conventional single-model empirical risk minimization fails.
What Problem Does This Paper Address?
Standard supervised learning relies on a core assumption: data is sampled from a stationary distribution with a single ground-truth target function. In real-world, open-ended environments, this assumption breaks down. The same input $x$ may correspond to different outputs $y$ depending on latent contexts, preferences, or tasks (for example, web images labeled inconsistently as "red" vs. "sphere", or conflicting user feedback in recommender systems).
Directly applying Empirical Risk Minimization (ERM) on such data leads to contradictory gradients—often causing models to predict an uninformative average (e.g., predicting "50% red, 50% sphere" or the mean across regression curves). The authors formalize this difficulty by defining the mapping rank $R(Z)$: the minimum number of deterministic functions needed to fully express all input-output mappings in a dataset $Z$. Traditional supervised learning has $R = 1$, whereas open-ended data exhibits $R > 1$. When domain labels or metadata are unavailable, allocating data to avoid conflict becomes non-trivial.
Methods
OSL models data as coming from $N$ unknown domains via an episodic, bilevel sampling process: in each episode, a mini-batch of size $n$ is sampled from a single domain.
- Architecture: The learner maintains a hypothesis set $\mathcal{H} = \{h_1, \dots, h_K\}$ of $K$ candidate models (parameterized as deep neural networks).
- The Subjective Function: To bypass the absence of an oracle domain label, OSL introduces an empirical subjective function $\hat{g}$. In each episode $i$, given a mini-batch $Z^i = \{(x^{ij}, y^{ij})\}_{j=1}^n$, $\hat{g}$ assigns the batch to the hypothesis that yields the lowest empirical loss: $$\hat{g}(\mathcal{H}, Z^i) = \arg\min_{h \in \mathcal{H}} \sum_{j=1}^n \ell(h(x^{ij}), y^{ij})$$
- Optimization (Hard EM Connection): The authors demonstrate that this selection step is equivalent to the E-step of a "hard" Expectation-Maximization algorithm maximizing the conditional log-likelihood under a uniform prior. The M-step then updates only the selected model using stochastic gradient descent (SGD).
- Theoretical Guarantees:
- PAC Learnability: A necessary condition for PAC learnability is $K \ge R$ (the number of models must at least match the dataset's mapping rank).
- Generalization Bounds: The error bound decomposes cleanly into:
- Domain estimation error ($\mathcal{O}(1/\sqrt{m})$, controlled by total episodes $m$),
- Instance estimation error ($\mathcal{O}(1/\sqrt{mn})$, controlled by total samples $mn$),
- Subjective estimation error ($\mathcal{O}(1/\sqrt{n})$, controlled specifically by the episodic batch size $n$).
Datasets
The authors evaluated OSL on synthetic and benchmark-derived datasets designed to simulate $R > 1$:
- Synthetic 1D Regression: Points sampled uniformly from three distinct functions: absolute value, sinusoidal, and logarithmic ($R = 3$).
- Colored MNIST: Digits randomly colored with 8 colors; labels correspond either to the digit value or the color ($R = 2$).
- Fashion Product Images: E-commerce apparel images with labels randomly drawn across 3 parallel attribute domains: gender, category, and color ($R = 3$). Also evaluated in a simulated concept-shift setting with identical label spaces.
- CIFAR-100: Evaluated in a hierarchical setup where images receive either their "fine" label (100 classes) or "coarse" superclass label (20 classes) ($R = 2$).
- Gas Sensor Array (UCI Repository): A real-world multidimensional regression dataset predicting dynamic chemical concentrations across two distinct gas mixtures ($R = 2$).
Key Insights and Ideas
- Inherent conflict drives clustering: You do not need explicit clustering penalties or meta-labels. The simple fact that a single model incurs high loss on conflicting batches naturally drives the subjective function to assign different domains to distinct models.
- Local consistency ($n > 1$) is theoretically essential: The generalization bound reveals that the allocation error of the subjective function is bounded by $\mathcal{O}(1/\sqrt{n})$. Setting $n = 1$ (pure online streaming) degrades domain identification, causing models to partially swap target functions. However, surprisingly small batches (e.g., $n = 2$) are often sufficient in practice.
- Graceful handling of over-parameterization ($K > R$): When given more models than the true mapping rank (e.g., $K = 4$ for $R = 3$), OSL converges by fitting the true functions with $R$ models and automatically abandoning the redundant network without destabilizing training.
Key Results
- Regression: On 1D synthetic functions, standard ERM collapsed to the mean, and meta-learning baselines (MAML, Modular Meta-Learning) failed to capture sharp, fine-grained variations. OSL with $K \ge 3$ reconstructed all three functions near-perfectly. On the real-world Gas Sensor dataset, OSL achieved a macro-average RMSE of 53.3, closely approaching the supervised oracle (49.4) and vastly outperforming the single-model baseline (83.1).
- Classification: Across Colored MNIST, Fashion Product Images, and CIFAR-100, OSL significantly outperformed semi-supervised multi-label baselines (Pseudo-label, Label Propagation) and probabilistic modeling (ProbCon).
- On Fashion Product Images, OSL achieved 0.00% subjective error (perfect domain allocation) and model errors of 7.87% (Gender), 1.93% (Category), and 12.85% (Color)—rivaling the full-task oracle (7.14%, 1.90%, 11.04%).
- Baselines like Pseudo-label suffered much higher error rates (e.g., 33.69%, 20.04%, 34.06% on Fashion Product Images).
- Efficiency: In wall-clock benchmarks, OSL's routing adds negligible overhead (580s training time vs. 833s for Pseudo-label and 915s for Label Propagation on Fashion Products) because forward routing passes do not require backpropagation.
Limitations and Future Work
- Deterministic / Fully-Informative Assumption: The theoretical framework assumes deterministic target functions within each domain ($y = c_i(x)$). Extending OSL to inherently noisy or stochastic labels remains open.
- Local Consistency Requirement: The algorithm requires data to arrive in locally consistent batches ($n \ge 2$ samples from the same domain per episode) to guarantee accurate model selection. Fully online mixtures ($n = 1$) remain difficult to control without additional priors.
- Fixed $K$: The number of models $K$ must be set in advance to satisfy $K \ge R$; dynamic adaptation of $K$ in continuous, lifelong learning setups is left for future exploration.
Summary updated