Structure-Aware Oversampling for Imbalanced Streams with Drifting Relations

When the class you care about is rare (a fraudulent transaction, an equipment failure, a user's explicit "thumbs up"), the usual fix is to invent extra training examples for it. SMOTE does this by drawing new points between pairs of nearby rare-class examples. When the data also changes over time, this fix can backfire. Interpolating between a rare example from last month and one from today produces a point that belongs to neither regime, and the classifier is then trained on a world that no longer exists. The standard defense is to sample only from recent rare examples. Under severe imbalance, though, that leaves a handful of points to work with.

This note proposes a middle path. We would track, window by window, how features influence one another, with uncertainty bounds on each influence. Old rare-class examples are not discarded because they are old. They are kept, adjusted, or excluded depending on which of their relations have actually changed. The machinery for "how features influence one another, with uncertainty bounds" comes from rough DEMATEL, a decision-analysis method that turns pairwise influence judgments into total direct-plus-indirect influence scores and into interval bounds that reflect disagreement among sources. Here we feed it data windows instead of human experts.

Core Claim

Recency weighting, as in Right Now, Wrong Then: Non-Stationary Direct Preference Optimization under Preference Drift, discounts each training sample by its age through a factor $\gamma^{T-t-1}$. That paper itself identifies the limitation: age-based discounting cannot tell a still-valid old sample from a stale one, and the right $\gamma$ depends on an unknown drift budget. Our claim is that this matters most when the rare class is very rare and drift is local, meaning only some feature relations change. In that regime, an oversampler that checks validity at the level of individual feature relations should beat both age-based and window-based oversamplers. It should also lose nothing when drift is global.

The oversampler splits features into "driver" features and "dependent" features. Driver features are interpolated across temporally admissible rare-class examples. Dependent features are recomputed from the current window's estimated relations, which re-expresses old rare-class examples in today's relation regime.

Research Program

Per-window influence estimates with rough intervals. For each window $t$, we estimate a signed direct-influence matrix among the $n$ features. Each entry is a standardized partial regression coefficient of feature $j$ on feature $i$, fitted on all classes pooled, because the majority class supplies most of the data. Rather than polling experts, we fit the matrix on $K$ bootstrap resamples within the window. We then apply the rough-number construction of Modeling Enablers of Environmentally Conscious Manufacturing Strategy: An Integrated Method to the $K$ estimates, which gives a lower and upper limit $[d^L_{ij,t}, d^U_{ij,t}]$ per entry without assuming a distribution. That paper aggregates static judgments from a panel of 12 experts. We reuse its interval algebra and swap the panel for resamples.

We also depart from standard DEMATEL on purpose. We keep the signs of the influences, which addresses the missing-polarity limitation Ma and Song name, because generating samples requires signed coefficients. Following the usual pipeline, we normalize, compute the total-relation matrix $T = D(I-D)^{-1}$ on the de-roughed matrix, and use the sign of row sum minus column sum to label features as drivers or dependents. The direct use of time-series data echoes Modified DEMATEL Method Based on Objective Data Grey Relational Analysis for Time Series, which applied DEMATEL to industrial signals and attached no generator.

A relation-level drift test. An influence from feature $i$ to feature $j$ is declared drifted between an earlier window $s$ and the current window $t$ when the two rough intervals do not overlap:

$$[d^L_{ij,s}, d^U_{ij,s}] \cap [d^L_{ij,t}, d^U_{ij,t}] = \emptyset .$$

Separately, we test each driver feature's marginal distribution between windows. A rare-class example from window $s$ is then handled in one of three ways. If the marginals of its driver features have drifted, it is excluded. If only the relations feeding its dependent features have drifted, it is adjusted. If nothing has drifted, it is used unchanged.

The generator. Following Simplicial SMOTE: Oversampling Solution to the Imbalanced Learning Problem, we build a nearest-neighbor graph over admissible rare-class examples, sample cliques (fully connected groups of neighbors), and draw Dirichlet barycentric weights $w_1,\dots,w_{p+1}$, which are random mixing weights that sum to one. For a clique with vertices $x_j=(c_j,e_j)$, where $c$ denotes driver features and $e$ denotes dependent features, and where each vertex comes from window $\tau(j)$, the synthetic point is

$$c_{\text{new}} = \sum_j w_j c_j, \qquad e_{\text{new}} = B_t\, c_{\text{new}} + \sum_j w_j \big(e_j - B_{\tau(j)} c_j\big).$$

Here $B_t$ is the current window's linear map from drivers to dependents, read from the signed influence estimates. The second sum carries each vertex's own residual, measured under the relations of its own window. Old examples therefore contribute their idiosyncratic variation but obey today's relations.

The design also partly addresses a limitation of Simplicial SMOTE. Its blind interpolation in Euclidean space can produce feature combinations that violate dependencies. Here, the dependent coordinates are recomputed from the drivers instead of being interpolated.

Honest scope. Whether the driver/dependent split reflects true causation is not essential. Mechanically, it decides which coordinates are interpolated and which are recomputed. We will test whether a random split or a reversed split erases the gains. If neither does, the DEMATEL ordering is decoration, and we will report that.

Baselines

The naive reference point trains the same incremental classifier on the raw stream with no oversampling and no reweighting. It shows how much any intervention buys.

The first strong competitor is Simplicial SMOTE over all history (Simplicial SMOTE). On static data it reports an average F1 improvement of 4.5% for k-nearest-neighbor classifiers and 5% for gradient boosting across 21 UCI/LIBSVM datasets, plus a 29.3% F1 gain on car_eval_4. It is the strongest published oversampler in the file, and our generator is built on it, so it isolates what temporal admissibility and relation re-mapping add.

The second competitor is sliding-window Simplicial SMOTE, which samples only from the last $W$ rare-class examples. It is the obvious fix for stale data and the most likely threat to the proposal.

The third is recency-weighted Simplicial SMOTE. Clique vertices are sampled with probability proportional to $\gamma^{T-t-1}$, which carries the NS-DPO discounting idea over to oversampling.

The fourth is a cost-sensitive loss reweighted by the effective number of samples per class, the skew-insensitive device used in Concept Drift Detection from Multi-Class Imbalanced Data Streams. It requires no synthetic data at all.

The strongest existing pipeline pairs RBM-IM drift detection with a reset: when a drift is flagged, the rare-class pool is cleared, and Simplicial SMOTE runs on what remains. The file reports that RBM-IM beats WSTD, RDDM, FHDDM, PerfSim and DDM-OCI on pmAUC and pmGM across 24 streams and stays reliable at imbalance ratios above 400. No reported pmAUC or pmGM value for RBM-IM on any individual stream was found on Lacuna, so we will rerun it ourselves rather than quote a number.

For fairness, every method uses the same base classifiers (an incremental k-nearest-neighbor classifier and an incremental tree ensemble), the same stream order, and the same synthetic-sample budget per window. Each method also gets the same hyperparameter-search budget over its own knobs: window $W$, discount $\gamma$, clique dimension $p$, and our bootstrap count $K$. Tuning is done on held-out prefixes of each stream.

Ablations isolate the key ingredients. One drops the residual re-mapping, so that old admissible vertices are interpolated as-is. One replaces rough-interval overlap with a single point estimate and a fixed threshold. One uses a random driver/dependent split. One uses only the global exclusion rule, so that any drift excludes all older vertices.

Our criterion for "beating" a baseline is a statistically significant gain in prequential pmAUC and pmGM, averaged across streams over the tuned sliding-window and RBM-IM-reset baselines. Prequential evaluation tests each example before training on it. We will use a Wilcoxon signed-rank test over streams and seeds. We additionally require no significant loss on streams with only global drift.

Why not just…?

Why not just use a sliding window with Simplicial SMOTE? This is the real threat. When drift is global or the rare class is not extremely rare, we expect it to match our method, and we will say so if it does. Its weakness is structural. At imbalance ratios in the hundreds, as in the RBM-IM streams, a window short enough to avoid stale data holds too few rare examples to form cliques at all, and a longer window reintroduces stale ones. The decisive experiment sweeps imbalance ratio against drift locality. We predict our method's advantage grows with both, and is near zero for mild imbalance with global drift.

Why not just reweight by recency, as NS-DPO does? NS-DPO shows that recency weighting rescues accuracy from roughly 50–55% to 60–70% after a preference flip on TV-HH. Its own authors note that it cannot separate valid old data from stale old data. The ablation that keeps admissibility but sets all relations as unchanged, compared against $\gamma$-weighted sampling under local drift, directly tests whether relation-level validity beats age.

Why not just use cost-sensitive reweighting instead of generating data? Reweighting cannot fill in the rare-class region, and the Simplicial SMOTE results suggest that coverage matters. Reweighting is also cheap and immune to stale-interpolation artifacts, so it may win under abrupt drift. It is a full baseline, and the evaluation reports results separately for abrupt and gradual drift.

Why not just fit a conditional generator or a standard linear structural model instead of rough DEMATEL? Mathematically, the de-roughed total-relation matrix is the total effect of a linear structural model. What rough DEMATEL contributes here is the distribution-free interval used for the drift test, not a better point estimate. The point-estimate-with-threshold ablation tests exactly this. If that ablation matches the full method, the rough-interval component should be dropped in favor of the simpler model.

Proposed Experiments

The main benchmark is the 24-stream suite used by RBM-IM: 12 real streams, including Covertype and EEG, and 12 synthetic MOA streams. We add controlled synthetic streams in which we inject drift into a chosen fraction of driver-to-dependent relations, into driver marginals, or into both, at imbalance ratios from 10 to 400. The controlled streams give ground truth for the relation-level drift test, so we can report its detection precision and recall against RBM-IM's per-class detection. They also let us run the locality-by-imbalance sweep described above.

A static sanity check runs the generator, with a single window, on the 21 UCI/LIBSVM datasets. It should match Simplicial SMOTE's F1 within noise. If it falls short there, the re-mapping step is hurting.

As a stretch, preference-flavored setting, we would treat the rare positive feedback described in DRIFT: Learning from Abundant User Dissatisfaction in Real-World Preference Learning, where only 1–3% of interactions are explicit positives, as the minority class. The task would be to predict it from tabular session features under drift. We would do this only if a dataset with such features is available. KuaiRand appears in the file, but its fields are not described, so this remains secondary.

Three outcomes would decide the question. Gains over tuned sliding-window sampling must concentrate where locality and imbalance are both high. The random-split and point-estimate ablations must each cost measurable accuracy. Performance on global-drift streams must show no loss. If the first outcome fails, the proposal is wrong. If the second fails, the method should shrink to a simpler structural-model version without the DEMATEL and rough-interval machinery.