Abstract
Transferring knowledge across modalities has garnered significant attention in the field of machine learning as it enables the utilization of expert knowledge from diverse domains. In particular, the representation of expert knowledge in tabular form, commonly found in fields such as medicine, can greatly enhance the comprehensiveness and accuracy of image-based learning. However, the transfer of knowledge from tabular to image data presents unique challenges due to the distinct characteristics of these data types, making it challenging to determine "how to reuse" and "which subset to reuse". To address this, we propose a novel method called CHannel tAbulaR alignment with optiMal tranSport (CHARMS) that automatically and effectively transfers relevant tabular knowledge. Specifically, by maximizing the mutual information between a group of channels and tabular features, our method modifies the visual embedding and captures the semantics of tabular knowledge. The alignment between channels and attributes helps select the subset of tabular data which contains knowledge to images. Experimental results demonstrate that CHARMS effectively reuses tabular knowledge to improve the performance and interpretability of visual classifiers.
Introduction
In specialized domains such as medicine or insurance, data often exists in pairs: images (e.g., MRIs) and corresponding expert-annotated tabular data (e.g., tumor metrics). While multimodal fusion typically yields superior performance, tabular data is often expensive to collect and frequently unavailable during real-world deployment. This necessitates effective "crossmodal transfer," where an image-only model is trained to incorporate the intelligence of the tabular modality.
Transferring knowledge from tabular data is uniquely challenging compared to text. Tabular data is highly structured, with each column carrying specific semantic weight. Furthermore, not all attributes in a table are visually represented in the paired image. Existing methods like CLIP or standard Knowledge Distillation often treat these modalities as "black boxes," failing to capture the fine-grained, attribute-level information that makes tabular data valuable.
Methods: The CHARMS Framework
To address these challenges, we introduce CHARMS (CHannel tAbulaR alignment with optiMal tranSport). The framework focuses on two primary questions: how to reuse the data and which subset to reuse.
The CHARMS architecture consists of three core components:
- Channel-Tabular Alignment: Instead of global embedding comparisons, CHARMS aligns the feature channels of a Convolutional Neural Network (CNN) with tabular attributes. Since channels often encode specific visual concepts, they are ideal candidates for matching with structured expert knowledge.
- Optimal Transport (OT): To manage the mapping between hundreds of image channels and dozens of tabular columns, we utilize the Partial Optimal Transport algorithm. This determines optimal correspondences while allowing the model to ignore non-visual or "noisy" attributes.
- Auxiliary Supervision: The visual model is trained with an auxiliary loss that encourages aligned channels to predict the values of their corresponding tabular attributes, effectively "instructing" the model to focus on expert-level features.
Experimental Results
We evaluated CHARMS across four diverse datasets: DVM (car marketing), SUNAttribute (scene recognition), CelebA (facial attributes), and PetFinder-adoption (pet metadata).
As shown in the results table, CHARMS consistently outperforms baselines including standard ResNet, Knowledge Distillation (KD), and Multimodal Contrastive Learning (MMCL). Notable highlights include:
- Accuracy Gains: On the DVM car classification task, CHARMS achieved 91.75% accuracy, significantly surpassing the ResNet baseline (87.43%) and MMCL (82.03%).
- Surpassing the Teacher: On the SUNAttribute dataset, the image model trained with CHARMS (86.61%) outperformed a model trained solely on tabular data (85.63%), suggesting that cross-modal alignment uncovers features latent in both modalities.
- Interpretability: Qualitative analysis via t-SNE visualizations indicates that CHARMS creates tighter, more distinct clusters, proving that expert knowledge effectively regularizes visual representations.
Conclusion
CHARMS demonstrates that aligning specific visual channels with tabular attributes provides a robust mechanism for transferring expert knowledge. By leveraging Partial Optimal Transport, the model selectively incorporates relevant information, enhancing both performance and interpretability. Future work will explore extending this alignment to Vision Transformer (ViT) architectures and further bridging the modality gap.
Summary updated