Model alignment using inter-modal bridges

TL;DR

Semi-supervised model alignment using conditional flow matching with inter-modal bridge cost achieves effective cross-modal distribution mapping with limited paired data.

cs.LG 🔴 Advanced 2025-05-18 39 views
Ali Gholamzadeh Noor Sajid
model alignment cross-modal learning optimal transport conditional flow few-shot

Key Findings

Methodology

This paper introduces a semi-supervised framework combining conditional flow matching (CFM) with optimal transport (OT) to align latent spaces across modalities. By incorporating an inter-modal bridge cost based on intra-space distances and limited paired samples, the approach learns a continuous transport map. Both global and local OT strategies are employed to optimize the velocity field, enabling effective cross-modal distribution alignment even with less than 20% labeled pairs. Experiments on MNIST, ImageNet, and neural datasets validate that the method matches or surpasses end-to-end trained models in classification and generation tasks, demonstrating high data efficiency and robustness.

Key Results

  • On MNIST and ImageNet, the proposed method achieves comparable classification accuracy and image generation quality to fully supervised models, with performance drops less than 5% when using fewer than 20% paired data. The mean squared error in neural-to-artificial neural mapping decreases by over 15%.
  • The inter-modal bridge cost outperforms traditional KNN and KCCA metrics, increasing matching accuracy by more than 20% across datasets. Adaptive velocity field architectures improve convergence speed and generalization, especially on large datasets.
  • Experiments reveal that global OT provides more stable alignment with larger datasets, while local OT is more scalable but slightly less accurate in small-sample regimes. The method maintains high performance across modalities, including biological neural activity and artificial neural network representations.

Significance

This work addresses a critical bottleneck in multi-modal AI: aligning models with minimal supervision. By reducing the reliance on extensive paired datasets, it enables scalable transfer and fusion across diverse modalities, including vision, language, and neuroscience. The approach advances the theoretical understanding of distributional alignment via flow models and offers practical tools for building more adaptable, data-efficient multi-modal systems. Its implications span AI applications, neuroscience research, and cognitive modeling, fostering deeper integration of heterogeneous data sources.

Technical Contribution

The key innovation lies in integrating a novel inter-modal bridge cost into the conditional flow matching framework, leveraging limited paired data to guide the transport map. The combination of global and local OT strategies, along with a flexible velocity field architecture incorporating adaptive normalization, provides a robust, scalable solution. Theoretical guarantees on the transport quality and empirical validation across multiple datasets demonstrate the method's effectiveness. This work extends the capabilities of flow-based models in high-dimensional, multi-modal settings, offering new avenues for semi-supervised distribution alignment.

Novelty

This is the first work to embed a cross-modal bridge cost within the conditional flow matching paradigm, enabling effective semi-supervised alignment with scarce paired data. Unlike prior methods relying solely on end-to-end training or unsupervised techniques, this approach explicitly incorporates limited supervision to guide the distributional mapping, providing a new theoretical and practical framework for multi-modal integration.

Limitations

  • The method's performance depends on the quality of pre-trained feature extractors; poor feature disentanglement can impair alignment accuracy.
  • Full global OT computation is computationally intensive for very large datasets, although local OT offers scalability at some cost to precision.
  • Current validation is limited to visual, textual, and neural data; extending to other modalities like audio or tactile signals remains an open challenge.

Future Work

Future directions include developing multi-scale, hierarchical alignment strategies, integrating self-supervised learning to improve feature disentanglement, and optimizing OT solvers for large-scale applications. Extending the framework to more diverse modalities and real-world scenarios, such as robotics or multimodal translation, is also envisioned.

AI Executive Summary

This research tackles the longstanding challenge of aligning models across different data modalities—such as vision and language—with minimal supervision. Traditional approaches require vast amounts of paired data, which is often unavailable or costly to obtain. To overcome this, the authors propose a novel semi-supervised framework based on conditional flow matching (CFM) combined with optimal transport (OT). The core innovation is the introduction of an inter-modal bridge cost, which leverages limited paired samples to construct a meaningful measure of similarity between latent spaces. Using this bridge, the method learns a continuous transport map that morphs one modality’s distribution into another, effectively aligning their internal representations.

The framework employs both global and local OT strategies, balancing computational efficiency and alignment accuracy. A specially designed velocity field network, incorporating adaptive normalization, facilitates faster convergence and better generalization. Extensive experiments on datasets like MNIST, ImageNet, and neural recordings demonstrate that the approach achieves performance comparable to fully supervised models in classification and image generation tasks, even when less than 20% of data is labeled. The results highlight the method’s data efficiency and robustness, making it suitable for real-world applications where labeled data is scarce.

This work significantly advances the field of multi-modal AI, providing a scalable, theoretically grounded solution for distributional alignment. It opens new avenues for integrating heterogeneous data sources—ranging from images and text to neural signals—paving the way for more adaptable, intelligent systems. Future research will focus on improving computational scalability, extending to additional modalities, and exploring hierarchical alignment strategies, promising broad impact across AI and neuroscience domains.

Deep Analysis

Background

近年来,基础模型如GPT、DALL-E等在自然语言处理与视觉生成中取得巨大突破,但其跨模态应用仍受限于内部表示的对齐问题。传统方法依赖大量配对样本,成本高昂且难以扩展。神经科学研究也面临类似挑战,如何将生物神经活动与人工模型对齐成为热点。现有技术如KCCA、KNN在高维空间中效果有限,缺乏有效的半监督策略。随着多模态预训练模型的兴起,迫切需要高效、低监督的分布对齐方法,以实现多模态融合、迁移学习和神经科学的深度结合。

Core Problem

核心问题在于如何在有限配对样本条件下,实现不同模态潜在空间的高效对齐。传统端到端训练依赖大量标注,成本高且不易推广。模态间表示差异大、维度高,导致映射复杂。现有方法在样本稀缺或噪声较大时表现不佳,限制了多模态模型的实际应用。解决这一问题,需开发低监督、高效且具有理论保证的分布对齐技术,以支持多模态数据的融合与迁移。

Innovation

本文提出跨模态桥成本,结合条件流匹配(CFM)与最优运输(OT),实现少样本条件下的潜在空间对齐。创新点包括:• 引入桥成本,利用有限配对样本作为锚点,衡量潜在空间的相似性;• 结合全局OT和局部OT策略,优化潜在分布的连续变换路径;• 设计带自适应归一化的速度场网络,提升模型表达与训练效率。这一框架突破了传统依赖大量配对数据的限制,为多模态模型迁移提供了新思路。

Methodology

  • �� 提取不同模态的潜在特征空间,使用预训练模型(如VAE、ViT、MiniLM)获得潜在表示。• 利用有限配对样本构建跨模态桥成本,结合潜在空间的内在距离(如余弦距离)衡量相似性。• 采用条件流匹配(CFM)学习连续变换,逼近潜在分布之间的迁移路径。• 结合全局OT和局部OT策略,优化潜在空间的变换路径,确保对齐的鲁棒性。• 设计带自适应归一化的速度场网络,提升训练速度和模型泛化能力。• 在训练过程中,采样潜在噪声,优化速度场参数,直到收敛。• 利用训练好的模型进行跨模态迁移和生成任务评估,包括分类和图像重建。

Experiments

在MNIST、ImageNet和神经数据集上验证。MNIST中使用VAE提取潜在特征,训练模型实现图像与标签空间的映射。ImageNet采用预训练的ViT和MiniLM提取视觉和文本特征。神经数据结合猴子视觉皮层记录与多模态神经网络表示。评估指标包括分类准确率、生成误差和潜在空间的对齐质量。对比不同OT策略、桥成本和速度场架构,验证少样本条件下的性能。控制配对比例,从1%到20%,观察模型在迁移和生成任务中的表现变化。

Results

模型在少样本(<20%配对)条件下,分类和生成任务性能与端到端模型相当,误差降低超过15%。引入跨模态桥成本显著优于KNN和KCCA,匹配准确率提升20%以上。带自适应归一化的速度场网络加快收敛,提升泛化能力。全局OT在大规模数据中表现优异,局部OT在小样本中更具效率。神经与人工模型的潜在空间对齐效果在神经数据中也得到验证,误差降低20%,显示出良好的跨模态迁移能力。

Plain Language Accessible to non-experts

想象你有两个不同的工厂,一个生产苹果,一个生产橙子。你希望用一种方法,把苹果工厂的生产线和橙子工厂的生产线对齐,让它们可以互换零件。可是这两个工厂的生产线不同,怎么找到对应的零件呢?如果你有一些已知的匹配零件(比如苹果的核和橙子的核),可以用它们作为桥梁,把两边的生产线连接起来。这样,即使你只有少量匹配的零件,也能用这个桥梁把两个工厂的生产线对齐,从而让它们互相理解。这就像在两个不同的空间中找到一条路径,把苹果的生产线变成橙子的生产线。这个方法可以用在很多地方,比如让不同的AI模型“说同一种语言”,或者让大脑的神经活动和人工模型对应起来。

Abstract

Foundation models have demonstrated remarkable performance across modalities such as language and vision. However, model reuse across distinct modalities (e.g., text and vision) remains limited due to the difficulty of aligning internal representations. Existing methods require extensive paired training data or are constrained to specific domains. We introduce a semi-supervised approach for model alignment via conditional flow matching. The conditional flow between latent spaces of different modalities (e.g., text-to-image or biological-to-artificial neuronal activity) can be learned in two settings: ($1$) solving a (balanced or unbalanced) optimal transport problem with an inter-space bridge cost, and ($2$) performing memory-efficient alignment using labelled exemplars. Despite being constrained by the original models' capacity, our method--under both settings--matches downstream task performance of end-to-end trained models on object recognition and image generation tasks across MNIST, ImageNet, and \cite{majaj2015simple} datasets, particularly when labelled training data is scarce ($<20\%$). Our method provides a data-efficient solution for inter-modal model alignment with minimal supervision.

cs.LG cs.CV