Test-Time Augmentation for Tabular-to-Image Classifiers under Distribution Shifts

TL;DR

Test-time augmentation improves robustness of tabular-to-image classifiers under distribution shifts; composite strategies perform best.

cs.CV 🟡 Intermediate 2026-08-04 1 views
Malena Loza Felipe Grijalva Eva Milara Luis Bote-Curiel Francisco J. Lara-Abelenda David Chushig-Muzo
tabular-to-image test-time augmentation distribution shift deep learning image classification

Key Findings

Methodology

This study evaluates the impact of test-time augmentation (TTA) techniques on predictive performance under distribution shifts for images generated by tabular-to-image methods. Six encoding methods were considered: TINTO, IGTD, DeepInsight, BIE, DistanceMatrix, and Fotomics. Twenty-five TTA techniques were used, categorized into six types: Geometric, Photometric, Structural, Frequency/Encoding, Mixup, and Composite. Two datasets from the TableShift benchmark (HELOC and Voting) were employed.

Key Results

  • In the HELOC dataset, composite and photometric strategies showed better robustness and lower variance in OOD tests, with AUC improvements of about 5%.
  • Frequency-domain transformations like histogram equalization and solarization consistently degrade performance, with AUC drops of about 10%.
  • In the Voting dataset, the ID and OOD performance gap was small, with AUC values between 0.80 and 0.90.

Significance

The study demonstrates that TTA techniques can significantly enhance the robustness and generalization of tabular-to-image classifiers under distribution shifts. Composite strategies maintain high AUC while reducing prediction variance, especially in the HELOC dataset. This provides new insights for applying tabular-to-image methods in real-world scenarios, particularly under distribution shifts.

Technical Contribution

This paper is the first to systematically evaluate the effectiveness of TTA techniques on tabular-to-image methods, particularly under distribution shifts. It shows that composite strategies and photometric adjustments have significant advantages in improving model robustness, providing a new technical pathway for tabular data image processing.

Novelty

This is the first systematic evaluation of TTA techniques on tabular-to-image methods under distribution shifts. Unlike previous studies, it focuses on the impact of different TTA strategies on model robustness.

Limitations

  • In the HELOC dataset, certain frequency/encoding transformations lead to significant performance drops, indicating these transformations are not suitable for all scenarios.
  • The study is limited to two datasets, which may not comprehensively represent all application scenarios.

Future Work

Future research can expand to more datasets and explore adaptive prediction aggregation methods. Developing encoder-aware augmentation selection strategies is also a crucial direction.

AI Executive Summary

In the realm of deep learning applications, tabular-to-image methods have gained attention for leveraging the high performance of deep learning models. However, the robustness of these methods under distribution shifts remains underexplored. This paper proposes using test-time augmentation (TTA) techniques to enhance model generalization. The study employs six tabular-to-image encoding methods and 25 TTA techniques, evaluating their performance on the HELOC and Voting datasets. Results indicate that composite and photometric strategies provide the best balance of robustness and variance under distribution shifts. Conversely, frequency-domain transformations degrade performance. This suggests TTA as a promising approach, particularly in distribution shift scenarios. Future research can explore more datasets and adaptive augmentation selection strategies.

Deep Analysis

Background

Deep learning has made significant advances in computer vision, but challenges remain in processing tabular data. Tabular-to-image methods convert tabular data into image representations, leveraging the strengths of convolutional neural networks (CNNs) and vision transformers (ViTs). While these methods have excelled in applications like disease classification and indoor localization, their robustness under distribution shifts requires further study.

Core Problem

In real-world applications, training and test data often differ in distribution, leading to degraded model performance. In tabular-to-image methods, distribution shifts can significantly impact prediction accuracy. Therefore, improving model robustness under distribution shifts is a critical issue.

Innovation

The innovation of this paper lies in the first systematic evaluation of TTA techniques on tabular-to-image methods. By experimenting with six encoding methods and 25 TTA techniques, the study finds that composite and photometric strategies effectively enhance model robustness, providing a new technical path for tabular data image processing.

Methodology

  • �� Convert tabular data to images using six encoding methods like TINTO and IGTD.

  • �� Apply 25 TTA techniques, including geometric and photometric transformations.

  • �� Evaluate ID and OOD performance on HELOC and Voting datasets.

  • �� Use EfficientNet-B0 as the classifier, calculating AUC values.

Experiments

The experiments use HELOC and Voting datasets from the TableShift benchmark, representing label and geographic distribution shifts. Models are evaluated on ID and OOD test sets, using AUC as the primary metric. The study includes ablation research on different TTA strategies.

Results

In the HELOC dataset, composite strategies perform best in OOD tests, with AUC improvements of about 5%. In the Voting dataset, the ID and OOD performance gap is small, with AUC values between 0.80 and 0.90. Frequency-domain transformations degrade performance in some scenarios.

Applications

Tabular-to-image methods can be applied in financial risk prediction and voter behavior analysis. TTA techniques can enhance the robustness of these models under different geographic and demographic distributions.

Limitations & Outlook

The study is limited to two datasets, which may not comprehensively represent all application scenarios. Certain frequency/encoding transformations degrade performance in specific scenarios, indicating these transformations are not suitable for all cases.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. Tabular data is like various ingredients, and image representation is like a beautifully plated dish. Tabular-to-image methods are like combining these ingredients into a dish, and test-time augmentation is like adding the final seasoning and garnish before serving. Different seasoning methods (TTA strategies) can make the dish taste good in various dining environments. Some seasonings might make the dish taste off, like too much salt (frequency transformations), while appropriate seasoning (composite strategies) can make the dish delicious and appealing.

ELI14 Explained like you're 14

Imagine you're playing a game where you have to fit different shaped blocks onto a board. Tabular data is like these blocks, and image representation is the completed pattern. Tabular-to-image methods are like assembling the blocks into a pattern, and test-time augmentation is like adding different filters to the pattern after it's assembled, making it look good in different lighting. Some filters might make the pattern look bad, like making colors too bright (frequency transformations), while the right filters (composite strategies) make the pattern look great in any setting.

Glossary

Test-Time Augmentation

Applying various transformations to the input during inference and aggregating predictions to improve model robustness.

Used to enhance performance of tabular-to-image methods under distribution shifts.

Tabular-to-Image

Converting tabular data into image representations to leverage the high performance of deep learning models.

Used in applications like disease classification and indoor localization.

Distribution Shift

Statistical differences between training and test datasets that can lead to degraded model performance.

The study evaluates TTA techniques' effectiveness under distribution shifts.

Composite Strategy

Combining multiple TTA techniques to improve model robustness and stability.

Performed well in the HELOC dataset.

Frequency/Encoding Transformations

Transformations that alter the pixel value distribution, such as histogram equalization.

Can degrade performance in some scenarios.

Open Questions Unanswered questions from this research

  • 1 How to validate the effectiveness of TTA techniques on more datasets, especially under different types of distribution shifts.
  • 2 Developing adaptive augmentation selection strategies to enhance model robustness in various scenarios.

Applications

Immediate Applications

Financial Risk Prediction

Using tabular-to-image methods to improve the accuracy of financial data analysis, especially under different economic conditions.

Long-term Vision

Cross-Domain Data Analysis

Achieving cross-domain data analysis and prediction through tabular-to-image methods, promoting intelligent development across multiple fields.

Abstract

Tabular-to-image methods that convert tabular data into visual representations have emerged as a novel paradigm for leveraging the high performance of deep learning models. Despite their advantages, the robustness of these methods under distribution shifts remains under explored. Test-Time Augmentation (TTA) is an effective approach in image classification to improve model generalization and robustness, where predictions over multiple transformed views of each input are aggregated. This work evaluates the impact of TTA techniques on predictive performance under Out-Of-Distribution (OOD) for representations generated by tabular-to-image methods. Six tabular-to-image encoding methods were considered: TINTO, IGTD, DeepInsight, BIE, DistanceMatrix, Fotomics. Twenty-five TTA techniques were used, organized into six types: Geometric, Photometric, Structural, Frequency/Encoding, Mixup, and Composite. We employed two datasets from the TableShift benchmark (HELOC and Voting) that provide in-distribution and OOD test subsets designed to evaluate the effect of distribution shifts on tabular data. The results indicate that TTA improves OOD performance, with composite and photometric strategies providing the best trade-off between robustness and variance. In contrast, frequency-domain transformations that alter the encoder's feature-to-intensity mapping consistently degrade performance. These findings highlight TTA as a promising approach for improving the robustness and generalization of classifiers trained on image representations derived from tabular data, particularly under distribution shifts.

cs.CV cs.LG