What explains the success of cross-modal fine-tuning with ORCA?

Paloma Garcia De Herreros, Vagrant Gautam, Philipp Slusallek, Dietrich Klakow, Marius Mosbach

Abstract

ORCA (Shen et al., 2023) is a recent technique for cross-modal fine-tuning, i.e., applying pretrained transformer models to modalities beyond their training data. The technique consists primarily of training an embedder and finetuning the embedder and model. Despite its high performance on a variety of downstream tasks, we do not understand precisely how each of these components contribute to ORCA's success. Therefore, we run a series of ablations and find that embedder training does not help 2D tasks at all, contrary to what the original paper posits. In 1D tasks, some amount of embedder training is necessary but more is not better. In 4 out of 6 datasets we experiment with, it is model fine-tuning that makes the biggest difference. Through our ablations and baselines, we contribute a better understanding of the individual components of ORCA.

Introduction

In the rapidly evolving landscape of artificial intelligence, the ability to repurpose massive pre-trained models for diverse downstream tasks is a holy grail. Cross-modal fine-tuning explores whether a model trained on one modality (e.g., natural language) can be effectively adapted to entirely different data types, such as genomic sequences, fluid dynamics, or medical sensor data.

ORCA (Shen et al., 2023) emerged as a state-of-the-art solution for this challenge. It proposed a sophisticated pipeline designed to bridge the gap between a pre-trained model's original domain and a novel target domain. However, the underlying reasons for ORCA's success remained opaque. This paper investigates the "secret sauce" of ORCA, questioning whether its heavily marketed alignment phase is truly the driver of performance.

The ORCA Framework

To understand the investigation, one must first understand the ORCA architecture. As illustrated in Figure 1, the process involves three distinct stages:

  1. Stage 1: Initialization. A task-specific embedder and predictor are attached to a pre-trained backbone (like RoBERTa).
  2. Stage 2: Embedder Training (Alignment). The embedder is trained to map the target dataset into an embedding space that resembles a "proxy dataset" (a modality the model already understands, like CIFAR-10 for images). This is done using Optimal Transport Dataset Distance (OTDD).
  3. Stage 3: Fine-tuning. The entire system—embedder, model, and predictor—is fine-tuned on the actual target task.
The three-stage ORCA pipeline: (1) Component creation, (2) Embedder alignment using a proxy dataset, and (3) Full fine-tuning of all components.

Methodology: Deconstructing the Pipeline

The authors performed a series of "ablations" to isolate the contribution of each stage. They specifically targeted the assumption that Stage 2 alignment is critical. Their experiments included:

  • Proxy Swapping: Replacing meaningful proxy datasets with "fake data" (randomly classified white noise) to see if the semantic content of the alignment phase matters.
  • Component Freezing: Systematically freezing parts of the model during Stage 3 to determine where the actual learning occurs.
  • Scaling Analysis: Testing models with varying amounts of pre-training to see if the model is truly leveraging its "knowledge" or just acting as a well-initialized architecture.

Key Findings

The "Proxy" is a Placebo for 2D Tasks

For 2D tasks (like CIFAR-100 or Darcy Flow), the choice of proxy dataset in Stage 2 was found to be irrelevant. Models aligned to random noise performed identically to those aligned to high-quality image datasets. In fact, skipping Stage 2 entirely resulted in no performance degradation for these tasks. This suggests that for 2D data, the alignment phase might simply be performing a form of weight scaling rather than meaningful feature mapping.

Nuance in 1D Tasks

In 1D sequence-like tasks (Satellite, DeepSEA, ECG), the results were more nuanced. Unlike 2D tasks, skipping embedder training entirely led to a significant drop in performance. However, the "more is better" philosophy did not hold; training the embedder for too long in Stage 2 often hurt the final results in Stage 3. Furthermore, the OTDD metric—used by ORCA to measure alignment quality—showed poor correlation with final task accuracy.

Performance curves for 1D tasks (Satellite, DeepSEA, ECG) comparing no embedder training, fake data proxies, and meaningful proxies. While some training is necessary for 1D, the specific proxy content is often less critical than the fine-tuning phase.

The Dominance of Model Fine-tuning

In 4 out of 6 datasets, the most significant performance gains were attributed to Stage 3—the fine-tuning of the pre-trained model weights. When the model weights were frozen and only the embedder/predictor were trained, performance plummeted. This indicates that the pre-trained transformer is not just a static feature extractor but a dynamic component that must adapt to the new modality.

Conclusion

This study clarifies that ORCA's success is not primarily due to the cross-modal alignment phase (Stage 2), as previously thought. Instead, the heavy lifting is done by standard model fine-tuning and the inherent flexibility of large-scale pre-trained transformers. For practitioners, this suggests that the complex alignment process can often be simplified or even bypassed, especially for 2D data, without sacrificing state-of-the-art performance. Future work should focus on understanding exactly what "knowledge" is transferred during these cross-modal shifts and whether parameter-efficient methods like LoRA can achieve similar results with less computational overhead.

Summary updated

BibTeX
@misc{herreros2024what,
  author = {Paloma Garcia De Herreros and Vagrant Gautam and Philipp Slusallek and Dietrich Klakow and Marius Mosbach},
  title = {{What explains the success of cross-modal fine-tuning with ORCA?}},
  year = {2024},
  eprint = {2403.13537},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.13537},
}
Figure