arXiv:2609.00093cs.LGAug 2026

Manuscript Offprint

arXiv:2609.00093

Local Reference Geometry Residual Augmentation for Imbalanced Time Series Classification

Chuanhang Qiu, Yanran Xu, Yue Wang, Anthony Bagnall

Chuanhang Qiu, Yanran Xu, Yue Wang, Anthony Bagnall

School of Electronics and Computer Science

University of Southampton

Southampton, United Kingdom

Emails: C.Qiu@soton.ac.uk, Y.Xu@soton.ac.uk, Yue.Wang@soton.ac.uk, A.J.Bagnall@soton.ac.uk

Abstract—Imbalanced time series classification is often addressed by changing the training distribution, objective, logits, or final threshold. These interventions address important biases, yet leave a representation-level question unmeasured: after minority support is reduced, does a learned feature space remain locally reliable around minority regions? We identify a training-local geometry failure: under imbalance, minority cases can lie in sparse, rest-dominated, or mixed feature-space neighborhoods, even when the representation retains useful global class structure. To diagnose and repair this failure, we propose Local Reference Geometry (LRG), a lightweight post-hoc feature augmentation module applied between a fixed feature extractor and the classifier head. Using training features only, LRG measures local exposure and class-mixture risk, then augments each fixed feature with a standardized signed displacement from nearby training geometry and an LDA-projected residual summary. On controlled UCR/Bake Off Redux imbalance benchmarks, paired raw-versus-LRG comparisons show gains for learned, pretrained, and fixed representations, including when LRG is combined with training-level interventions and post-encoder classifier corrections. Ablations show that the gain comes from the signed local residual appended to the original feature, rather than from generic prototype distances, affinity features, scalar statistics, or VLAD-style codes. Further analyses support the proposed local-geometry failure hypothesis: minority neighborhoods become increasingly rest-exposed under imbalance, training-local risk identifies error-prone regions, and LRG gains concentrate in those high-risk regions.

Index Terms—imbalanced time series classification, representation learning

I. INTRODUCTION

Many labeled time series datasets include rare classes that correspond to practically important events, such as equipment faults, medical abnormalities, or other safety-critical anomalies. The resulting class imbalance limits minority support during training and can make rare-event recognition unreliable. Existing approaches address this problem at different stages of the pipeline. Data-level methods alter the training distribution, but require access to the input series and rely on assumptions about temporal similarity [1]. Training-level methods change the sampler, objective, or training procedure, and usually require retraining the encoder [2]. Post-encoder methods adjust the final decision rule while leaving the feature space fixed [3]. These interventions address important parts of the imbalance problem, but they do not test whether the learned representation remains locally reliable for recognizing minority samples when training support is scarce.

Long-tailed recognition [4] separates classifier-level correction from representation-level effects in computer vision: decoupling studies show that classifier correction can be effective after a representation has been learned [5], while representation-learning studies show that imbalance can also distort tail-class feature geometry [6]. This raises the corresponding question for imbalanced TSC: given an existing time-series representation, can we identify and correct local minority unreliability without retraining the encoder?

In this post-hoc setting, the relevant unreliability is local to the learned representation. A minority sample may lie in a region where nearby training support is sparse, mixed across classes, or dominated by non-minority samples, even when the feature space still separates classes at a coarser scale. A reweighted or calibrated classifier can adjust priors or thresholds, but it still operates on the features already available from the representation. We study this missing local information as a training-local geometry failure. It can be measured from the training set alone by comparing minority exposure with the training class distribution and by estimating class mixing in local regions.

To address this training-local failure after feature extraction, we propose Local Reference Geometry (LRG), a residual augmentation method for fixed representations. LRG is a supervised post-hoc feature augmentation method that uses training features and labels while leaving the encoder or transform unchanged. It builds local reference regions in the training representation, then augments each feature vector with a signed local residual and a compact supervised residual summary. These added features provide information about local training support that may not be explicit in the original representation. The same reference regions also provide diagnostics of local exposure and class-mixture risk. LRG is therefore useful when features have already been produced by a learned encoder, a pretrained model, or a fixed transform, and retraining the feature extractor is costly or impractical.

Our contributions are:

  • We define and measure training-local geometry failure for imbalanced TSC using minority-neighborhood exposure and training-local class-mixture risk.

  • We propose LRG, a supervised post-hoc residual augmentation method fitted from training features and labels. LRG augments each fixed feature vector with a signed

local residual and an LDA-projected residual summary, while leaving the encoder or transform unchanged.

  • We evaluate LRG on controlled UCR/Bake Off Redux multi-ratio tasks, showing paired gains across learned, pretrained, and fixed representations, compatibility with imbalance interventions and post-encoder corrections, and larger gains in regions identified as high risk by training-only diagnostics.

Code and reproducibility files are provided in the associated repository 1^{1}.

References (34)