Abstract
Traditional multimodal models often fail when the data modalities available during inference differ from those used during training. We present TAMML (Text-centric Alignment for Multi-Modality Supervised Learning), a framework that leverages text as a universal semantic bridge. By converting diverse inputs—such as images, tables, and audio—into a unified text format and employing Large Language Models (LLMs) for style alignment and reasoning, TAMML achieves robust performance across unseen modality combinations. Our experiments demonstrate significant improvements in accuracy and error reduction over state-of-the-art embedding-based methods.
Introduction: The Modality Mismatch Problem
In ideal machine learning scenarios, training and inference data share the same structure. However, real-world applications often face "modality mismatch." For instance, a medical diagnostic tool might be trained on high-resolution X-rays and structured reports, yet a user in a remote area might only be able to provide a verbal description or a smartphone photo.
Standard multimodal frameworks are typically "fixed-modality." Feeding audio embeddings into a model trained on image embeddings results in failure because their mathematical representations reside in fundamentally different spaces. Bridging these gaps usually requires massive, paired datasets for every possible combination or complex transfer learning techniques that often struggle with significant domain shifts.
Methodology: TAMML
TAMML addresses these challenges by treating human language as a universal semantic bridge. Instead of attempting to align raw mathematical vectors, the system aligns linguistic descriptions. The pipeline follows four key stages:
- Text Transformation: Raw inputs (images, tables, audio) are converted into text using foundation models. Images are transformed into captions via models like GPT-4V, while tables are serialized into "Column: Value" strings.
- Text-style Translation: Recognizing that a serialized table "reads" differently than an image caption, TAMML uses LLMs with in-context learning (ICL) to translate the inference modality's style to match the training modality's style, effectively closing the distribution gap.
- Modality Summarization & Reasoning: Multiple text inputs are concatenated and processed by an LLM. Using Chain-of-Thought (CoT) prompting, the model adds external knowledge and reasoning to enrich the data.
- Downstream Prediction: The final unified text is processed by a Longformer and a simple Multi-Layer Perceptron (MLP) to generate the final prediction.
Experimental Evaluation
The researchers evaluated TAMML across three real-world datasets, simulating modality mismatches by training on one set of modalities and testing on another:
- PetFinder.my Adoption Prediction: A classification task predicting pet adoption speed using text, images, and tabular data.
- Airbnb Pricing Prediction: A regression task for homestay prices.
- Avito Demand Prediction: A regression task predicting the likelihood of an advertisement's success.
Key Insights
- Text as a Lingua Franca: Unlike "black box" embeddings, text is a structured semantic space. Moving alignment to the text domain allows the system to leverage the vast pre-existing knowledge of LLMs.
- Style as Distribution Shift: The paper identifies that simple text conversion is insufficient. The "linguistic style" difference between a caption and a table represents a distribution shift that LLMs can mitigate through zero-shot domain adaptation.
- Robustness: Text representations proved more resilient than embedding-based methods (e.g., GANs or Diffusion models) when encountering unpredictable modality combinations.
Results and Discussion
TAMML demonstrated superior performance compared to state-of-the-art embedding-based alignment methods like SDEdit and DDRM:
- Accuracy Gains: On the PetFinder dataset, TAMML improved accuracy by an average of 21% in mismatch scenarios.
- Error Reduction: In the Airbnb pricing task, it achieved a 54% reduction in Mean Squared Error (MSE).
- Zero-Shot Success: The model successfully handled scenarios (e.g., "User 1" with audio and video) involving modalities it had never encountered during the training phase.
Limitations and Future Work
While effective, TAMML faces several challenges. Converting high-dimensional data like video or high-resolution images into text inevitably creates an information bottleneck. Furthermore, the reliance on LLM APIs introduces significant inference latency and computational costs. Future research will focus on refining modality-to-text conversion to preserve more detail and improving the system's robustness to prompt variations.
Summary updated