arXiv:2609.31470stat.MLSep 2026

Manuscript Offprint

arXiv:2609.31470

Beyond Empirical Support: Structured Outlier Generation via Sinkhorn Optimal Transport

Haixiang Sun, Andrew L. Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Outliers are essential for evaluating and improving the robustness of machine learning systems, especially when future distributions may differ significantly from historical training data. In high-stakes applications, robustness often depends on rare cases that finite datasets fail to capture, making simple resampling or perturbation insufficient for stress scenario generation. Existing outlier synthesis methods typically rely on sparse neighborhoods, low support latent regions, or classifier boundary crossings, which can be heuristic, unstable, and tied to specific modalities or architectures. We therefore propose Sinkhorn Boundary Outlier Generation (SBOG), a structured framework for latent-space outlier generation that couples Sinkhorn optimal transport geometry with distributionally robust boundary modeling. The resulting Sinkhorn-induced support cost guides the sampler toward weakly supported boundary regions, while semantic constraints prevent uncontrolled drift from the intended context, yielding controlled deviations from the in-distribution reference measure rather than arbitrary sparse-region samples. Experiments on time series anomaly generation and image outlier synthesis show that our framework produces informative, semantically controlled outliers and improves downstream robustness evaluation across modalities, providing a foundation for stress scenario generation beyond empirical support.

1 Introduction

Outliers play an important role in building reliable machine learning systems. In many real-world applications, rare or atypical cases are often precisely the ones that determine whether a model behaves robustly under deployment. Yet such outliers are inherently difficult to study since they occur infrequently, can vary substantially in form, and therefore are poorly covered by finite training datasets. Consequently, most existing work treats outliers primarily as anomalies to be detected, monitored, and mitigated [44, 37]. Although this line of work is indispensable, it leaves open a complementary question of equal importance: how to model and generate outliers themselves. Addressing this question is important for understanding the structure and mechanisms underlying rare events. It also enables systematic construction of informative training and evaluation cases beyond standard data collection, which can strengthen model robustness, reveal failure modes before deployment, and support safer decision-making under uncertainty.

However, dedicated work on outlier generation remains relatively scarce. Existing approaches typically first learn a representation space and then identify candidate boundary samples using empirical support criteria, such as sparse nearest-neighbor neighborhoods [55], low-likelihood latent regions [12], or classifier-boundary crossing rules [35]. These candidates are then perturbed, sampled, or decoded back to the input space to produce synthetic outliers. Although effective in practice, such criteria often treat low support as the primary signal of outlyingness. Low support alone,

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

however, is not sufficient for useful outlier generation. A point may be sparse because it lies near an informative class boundary, but it may also be sparse because it drifts off the semantic manifold, moves toward another class, or becomes difficult for the generator to decode into a meaningful sample. Therefore, for outlier generation, the relevant objective is not merely to find low-density feature points, but to find weakly supported candidates that remain semantically anchored and generatively valid. Moreover, existing synthesis pipelines are often tailored to a specific modality or generator, with many methods designed primarily for time-series anomaly generation [9, 25, 8] or image outlier synthesis [12, 16, 64]. As a result, these modality-specific designs may not generalize well when the underlying data distribution or modality changes.

Motivated by this perspective, we use Sinkhorn optimal transport [7] as a support-aware geometry for structured outlier generation in latent space. Given an in-distribution reference measure and a ground cost induced by the learned representation, the entropic transport geometry provides a smooth way to measure how much in-distribution mass can support a candidate latent point. This support cost guides generation toward weakly supported boundary regions, while semantic constraints ensure that the generated candidates remain aligned with the intended context rather than drifting into arbitrary sparse regions. Since the construction only requires a latent reference measure and a ground cost, the same principle can be instantiated across different underlying distributions and modalities, including time series and images, without relying on modality-specific neighborhood rules.

Based on this principle, we propose Sinkhorn Boundary Outlier Generation (SBOG), a structured boundary-generation framework that combines transport-based support scoring, boundary-anchor selection and semantic feasibility. The key component of SBOG is Sinkhorn Outlier Energy (SOE), which measures the transport cost of supporting a candidate point from the in-distribution reference measure. Notably, under the empirical Euclidean case, SOE recovers a smooth kernel-support form closely related to Gaussian Kernel Density Estimation (KDE). However, here SOE is not to introduce a standalone density estimator. Rather, SBOG uses SOE as a transport-based boundary score: SOE identifies smooth boundary regions for anchor selection and candidate acceptance, while semantic constraints keep the generated outliers controlled and class-consistent. This use differs from purely statistical sparsity or density-rejection rules, which often yield unstable low-support scores.

Beyond this geometric view, the corresponding Sinkhorn Distributionally Robust Optimization (DRO) formulation provides an optimization-consistent interpretation of the boundary decisions made by SBOG [29]. The one-dimensional dual [59] exposes the same Gibbs normalizer that appears in SOE, linking high-energy candidates to deviations that are expensive to support under the transport uncertainty geometry. We use this connection to justify SBOG as a model-agnostic boundary-generation procedure: SOE selects transport-expensive candidates, while semantic constraints restrict them to meaningful class-consistent deviations. When a downstream loss is available, the same dual can be used to derive task-aware variants. As a result, SBOG provides a unified sampling framework that can be evaluated through both generation-quality diagnostics and downstream robustness performance. Our main contributions are summarized as follows:

• We formulate structured outlier generation as constrained latent boundary generation, where candidates must be weakly supported by the in-distribution reference measure while remaining semantically anchored and generatively valid. This reframes outlier synthesis beyond low-density or sparse-neighborhood search.

• We develop Sinkhorn Boundary Outlier Generation (SBOG), an algorithm that uses Sinkhorn Outlier Energy (SOE) to select boundary anchors, accept weakly supported candidates under the Sinkhorn transport geometry, enforce semantic feasibility, and decode synthetic outliers. While SOE reduces to a kernel-support score in the empirical Euclidean case, SBOG uses it as a transport-based boundary criterion rather than as a standalone density score.

• We show that the SOE boundary rule appears as Gibbs-normalization term in the Sinkhorn-DRO dual, linking SBOG’s thresholding and energy-maximizing candidate selection to boundary decisions. Across time-series and image benchmarks, SBOG generates informative, semantically controlled outliers and improves downstream robustness evaluation.

References (72)