Mixture Experts with Test-Time Self-Supervised Aggregation for Tabular Imbalanced Regression

Yung-Chien Wang, Kuang-Da Wang, Wei-Yao Wang, Wen-Chih PengarXiv 2025 · DOI

Introduction

In machine learning, imbalanced data is a well-documented challenge, typically associated with classification tasks where certain categories are underrepresented. However, imbalanced regression—where the target variable is continuous and certain value ranges are rare—presents a more complex hurdle. For instance, in real estate valuation, mid-range property prices are abundant, while multi-million dollar luxury estates are scarce. Standard regression models often suffer from a bias toward the majority distribution, leading to significant errors in these rare but critical "long-tail" regions.

Comparison of existing imbalanced regression methods (a) versus the proposed MATI framework (b).

Existing solutions frequently rely on discretizing continuous labels into "hard bins," which can obscure the underlying data distribution. Furthermore, many models assume that test data will mirror the training distribution, an assumption that fails in real-world scenarios where test distributions can shift toward rare values. To address these limitations, we introduce MATI (Mixture Experts with Test-Time Self-Supervised Aggregation), a framework designed to be test-agnostic and robust across varying data distributions.

Methodology

MATI operates through a two-stage process: region-aware expert training followed by dynamic, self-supervised aggregation at inference time.

1. Region-Aware Mixture Expert Training

Rather than training a monolithic model, MATI partitions the label space using a Gaussian Mixture Model (GMM). This statistical approach identifies distinct "regions" within the training data more naturally than arbitrary binning. For each identified region, a synthesizer (based on SMOGN) generates a balanced, region-specific dataset. Multiple "expert" models, utilizing the TabNet architecture, are then trained on these synthetic datasets, allowing each to specialize in a specific slice of the target distribution.

2. Test-Time Self-Supervised Expert Aggregation

The primary innovation of MATI lies in its inference mechanism. Since the true label is unknown at test time, the model must determine which expert to trust dynamically. This is achieved through the Stability Principle: an expert is considered proficient if its predictions remain stable under input perturbations.

The MATI architecture detailing Gaussian synthetic data generation and the test-time weighting of experts.

For any given test sample, MATI generates a perturbed version of the input. Both the original and perturbed samples are passed through the experts. Experts that demonstrate the smallest "prediction gap" (highest stability) between the two versions are assigned higher weights. This self-supervised adaptation allows the model to adjust to the specific characteristics of the test data without requiring ground-truth labels.

Experimental Results

MATI was evaluated against four real-world tabular benchmarks: Taiwan House (CHW & KHH), Abalone, and Bike Sharing. To test robustness, the researchers utilized three distinct test distributions: Balanced (uniform), Normal (matching training skew), and Inverse (emphasizing rare regions).

  • Performance Gains: MATI achieved a 7.1% average improvement in Mean Absolute Error (MAE) over state-of-the-art baselines such as RRT+LDS and BMC.
  • Distribution Robustness: While baseline models often faltered when the test distribution shifted to the "Inverse" (rare) regions, MATI maintained consistent performance. On the CHW house pricing dataset, MATI recorded the lowest Mean Absolute Percentage Error (MAPE) across all test scenarios.
  • Expert Specialization: Ablation studies confirmed that experts indeed specialized; for example, specific experts dominated predictions in right-skewed data regions while others took precedence in left-skewed regions.

Discussion and Conclusion

MATI represents a significant step forward in tabular imbalanced regression by shifting the focus from static training-time fixes to dynamic test-time adaptation. By linking prediction stability to expertise, the framework effectively performs self-supervised adaptation to whatever distribution it encounters at runtime.

While the test-time weight calculation introduces some computational overhead compared to simple forward passes, the gains in accuracy and robustness make it a compelling choice for high-stakes regression tasks. Future work will explore extending this framework to multi-modal data and refining the perturbation strategies to further enhance stability.

Summary updated

BibTeX
@misc{wang2025mixture,
  author = {Yung-Chien Wang and Kuang-Da Wang and Wei-Yao Wang and Wen-Chih Peng},
  title = {{Mixture Experts with Test-Time Self-Supervised Aggregation for Tabular Imbalanced Regression}},
  year = {2025},
  eprint = {2506.07033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.07033},
}
Figure