NODE-Adapter: Neural Ordinary Differential Equations for Better Vision-Language Reasoning
Yi Zhang, Chun-Wun Cheng, Ke Yu, Zhihai He, Carola-Bibiane Schönlieb, Angelica I. Aviles-Rivero
TL;DR
NODE-Adapter introduces Neural Ordinary Differential Equations to refine cross-modal prototypes for vision-language reasoning in few-shot settings. It first constructs a cross-modal prototype by adaptively blending CLIP-based textual and visual prototypes, then optimizes this prototype as a continuous-time gradient flow via a Neural ODE, guided by a gradient-flow estimation module. The approach achieves state-of-the-art results in few-shot classification, domain generalization, and HOI visual reasoning while remaining parameter-efficient and computationally lean due to adjoint-based backpropagation and an efficient ODE solver. This continuous-depth refinement enables more accurate prototypes under data scarcity, improving downstream decision boundaries without heavy retraining of the entire VLM. The work underscores the potential of continuous-time dynamics for robust cross-modal adaptation and paves the way for extending Neural ODEs to broader vision-language tasks.
Abstract
In this paper, we consider the problem of prototype-based vision-language reasoning problem. We observe that existing methods encounter three major challenges: 1) escalating resource demands and prolonging training times, 2) contending with excessive learnable parameters, and 3) fine-tuning based only on a single modality. These challenges will hinder their capability to adapt Vision-Language Models (VLMs) to downstream tasks. Motivated by this critical observation, we propose a novel method called NODE-Adapter, which utilizes Neural Ordinary Differential Equations for better vision-language reasoning. To fully leverage both visual and textual modalities and estimate class prototypes more effectively and accurately, we divide our method into two stages: cross-modal prototype construction and cross-modal prototype optimization using neural ordinary differential equations. Specifically, we exploit VLM to encode hand-crafted prompts into textual features and few-shot support images into visual features. Then, we estimate the textual prototype and visual prototype by averaging the textual features and visual features, respectively, and adaptively combine the textual prototype and visual prototype to construct the cross-modal prototype. To alleviate the prototype bias, we then model the prototype optimization process as an initial value problem with Neural ODEs to estimate the continuous gradient flow. Our extensive experimental results, which cover few-shot classification, domain generalization, and visual reasoning on human-object interaction, demonstrate that the proposed method significantly outperforms existing state-of-the-art approaches.
