TL;DR
This paper introduces TAMML, a novel training-free method that aligns diverse and unseen modalities into a unified text representation using Large Language Models (LLMs). TAMML enables multimodal models to handle dynamic combinations of inputs at test time without requiring retraining, offering a flexible and robust solution for real-world applications.
What Problem Does This Paper Address?
In real-world scenarios, the availability and combination of data modalities (like text, images, audio, etc.) can change unpredictably, especially at inference time. Traditional multimodal models are often trained for fixed combinations of modalities. When faced with unseen modalities or combinations during testing, these models struggle, requiring costly retraining or domain adaptation. This paper tackles the challenge of building multimodal systems that can gracefully adapt to these dynamic and unseen modality scenarios without needing to be retrained.
Methods
TAMML employs a "text-centric" approach, converting all input modalities into a unified text representation. This is achieved through a series of training-free steps leveraging pre-trained foundation models and LLMs:
- Text Transformation: Each input modality (image, tabular data, etc.) is converted into a textual description using specialized unimodal foundation models (e.g., image captioning for images, template-based serialization for tables).
- Text-style Translation: LLMs are used with in-context learning to translate the textual representations of different modalities into a consistent linguistic style, bridging semantic gaps.
- Modality Summarization: LLMs summarize these translated texts to further unify representations and reduce redundancy.
- LLM Reasoning Augmentation: LLMs are used to add external knowledge and reasoning traces to the input, enhancing prediction capabilities.
The core idea is to use LLMs' powerful in-context learning abilities to align modalities in a shared semantic space (text) without requiring any model fine-tuning or additional paired data for the alignment process itself.
Datasets
The paper evaluates TAMML on three real-world datasets:
- PetFinder.my Adoption Prediction: Predicts pet adoption factors using text (description), image (profile photo), and tabular (breed, gender) data.
- Airbnb Pricing Prediction: Predicts housing prices using text (description), image (homestay photos), and tabular (location, rating) data.
- Avito Demand Prediction: Predicts ad selling likelihood using text (ad title/description), image (item photo), and tabular (region, category) data.
Key Insights and Ideas
- Text as a Universal Translator: The paper strongly advocates for text as a unifying semantic space for multimodal learning, demonstrating its robustness and flexibility compared to traditional embedding-based approaches.
- In-Context Learning is Powerful: TAMML leverages LLMs' in-context learning capabilities to perform complex alignment tasks (translation, summarization, reasoning) without requiring any gradient updates or retraining of the LLM itself.
- Modality Mismatch is a Solvable Problem: The work shows that significant performance gains can be achieved even when test-time modalities are entirely unseen during training, a common issue in real-world applications.
- Smaller Foundation Models Still Work: TAMML maintains strong performance even when using smaller, open-source image captioning models, indicating its adaptability to resource-constrained settings.
Key Results
- Superior Performance: TAMML consistently outperforms state-of-the-art zero-shot cross-modality translation baselines. For instance, on the PetFinder dataset, it achieved an average accuracy improvement of approximately 21% over the best baseline. In the Airbnb dataset, it reduced Mean Squared Error by around 54%.
- Robustness: TAMML shows significant gains even when test modalities were seen during training, outperforming competitors by a large margin.
- Efficiency: The method is training-free for alignment, making it highly practical for deployment. Its latency is comparable to other advanced methods.
- Component Contributions: Ablation studies show that each component (text transformation, summarization, reasoning augmentation, text-style translation) contributes to the overall performance, with text-style translation providing the largest gains.
Limitations and Future Work
- LLM Randomness: The inherent randomness of LLM text generation means that multiple runs are needed for robust conclusions, and the authors performed only three runs per experiment due to cost constraints. Reproducing results on closed-source LLMs is also not guaranteed.
- Future Work: The authors suggest extending TAMML to broader multimodal tasks and addressing challenges like modality robustness, modality collapse, and modality competition. They also plan to explore other LLMs and foundation models.
Summary updated