Abstract
Multimodal learning involving tabular and image data often suffers from two primary challenges: the absence of pretrained tabular encoders and the prevalence of missing values in real-world datasets. We present the TabPFN-Integrated Multimodal Engine (TIME), a framework that leverages TabPFN—a transformer-based tabular foundation model—as a frozen encoder to generate robust embeddings. Our results demonstrate that TIME consistently outperforms traditional methods, particularly in medical contexts, by natively handling missing data without the need for distortive imputation techniques.
Introduction
In critical fields such as healthcare, diagnostic models must synthesize information from diverse sources, including medical imaging (e.g., X-rays, mammograms) and structured clinical data (e.g., lab results, patient history). While vision and natural language processing have benefited immensely from foundation models like ResNet or BERT, tabular data has remained a challenge. Most multimodal architectures require training tabular encoders from scratch for every new task.
Furthermore, real-world data is rarely complete. Medical records are frequently riddled with missing values. The standard approach—imputation—fills these gaps with statistical averages or medians, which can inadvertently mask important clinical patterns or distort the underlying data distribution. The TIME framework was developed to provide a pretrained tabular "backbone" that handles missing data natively and efficiently.
Methodology
The TIME architecture is designed for modularity and robustness, consisting of four primary components:
- Tabular Encoder (TabPFN): Instead of a standard Multi-Layer Perceptron (MLP), TIME utilizes TabPFN (v2). This transformer model is pretrained on millions of synthetic datasets to perform Bayesian inference. By keeping this encoder frozen, the framework leverages TabPFN’s ability to handle missing values and outliers right out of the box, producing high-quality embeddings without task-specific tabular training.
- Vision Encoder: A standard ResNet-50 is employed to extract features from image data. The framework supports both "frozen" (linear probing) and "fully fine-tuned" modes for the vision backbone.
- Multimodal Fusion: The engine experiments with several fusion strategies to combine tabular and image features:
- Concatenation: Simple vector joining.
- Element-wise Sum/Max: Mathematical aggregation of feature vectors.
- DAFT (Dynamic Affine Feature Map Transform): A sophisticated method where tabular features dynamically scale and shift image feature maps.
- Predictor: A final linear layer that maps the fused features to the target output for classification or regression.
Experimental Setup
The framework was evaluated across five diverse datasets to test its versatility:
- Adoption: Predicting pet adoption speed using natural images and pet attributes.
- Breast Cancer: Predicting cancer stages using mammograms and clinical variables.
- Covid-19: Identifying respiratory disease from chest X-rays and patient vitals.
- Skin Cancer: Categorizing skin lesions using dermoscopic images and medical history.
- Painting: A regression task predicting painting prices based on the image and metadata.
The medical datasets (Breast Cancer, Covid-19, and Skin Cancer) were specifically chosen for their high frequency of missing tabular data.
Key Insights and Results
The Imputation Trap
A significant finding of this research is that traditional imputation is often counterproductive. Models trained on "raw" incomplete data using the TabPFN encoder consistently outperformed those using median-imputed data. This suggests that the pattern of missingness itself is a feature that TabPFN can capture and utilize for more accurate predictions.
Performance Benchmarks
TIME demonstrated superior performance over competitive baselines, including MLPs and Neural Classification and Regression Trees (NCART). On the Covid-19 dataset, the TIME-Cat (concatenation) model achieved an accuracy of 92.56%, significantly outperforming vision-only models and standard multimodal approaches.
Robustness to Data Sparsity
Sensitivity testing revealed that TIME remains remarkably stable even when 50% of the tabular features are randomly masked. This robustness makes it highly suitable for "in-the-wild" deployment where data collection may be inconsistent or incomplete.
Vision Backbone Dynamics
Interestingly, on natural image datasets like Adoption, a frozen ResNet-50 often outperformed a fine-tuned one. This suggests that general-purpose vision features can be more robust than those overfitted to the specific, often smaller, datasets used in multimodal tabular-image tasks.
Limitations and Future Work
While TIME represents a significant step forward, it is subject to the current constraints of the TabPFN architecture, which is optimized for datasets with fewer than 10,000 samples, 500 features, and 10 classes. While ideal for clinical studies, future iterations would need to scale for massive "Big Data" applications. Additionally, while concatenation and DAFT are effective, future research could explore attention-based fusion mechanisms to further improve the alignment between tabular and visual modalities.
Conclusion
The TIME framework proves that tabular foundation models are not only viable but essential for robust multimodal learning. By treating tabular data with the same architectural respect as vision or language, and by embracing the "messiness" of real-world data rather than masking it through imputation, TIME sets a new standard for integrated data analysis.
Summary updated