Abstract
Recent advances in diffusion models have achieved remarkable success in isolated computer vision tasks such as text-to-image generation, depth estimation, and optical flow. However, these models are often restricted by a "single-task-single-model" paradigm, severely limiting their generalizability and scalability in multi-task scenarios. Motivated by the cross-domain generalization ability of large language models, we propose a universal visual perception framework based on flow matching that can generate diverse visual representations across multiple tasks. Our approach formulates the process as a universal flow-matching problem from image patch tokens to task-specific representations rather than an independent generation or regression problem. By leveraging a strong self-supervised foundation model as the anchor and introducing a multi-scale, circular task embedding mechanism, our method learns a universal velocity field to bridge the gap between heterogeneous tasks, supporting efficient and flexible representation transfer. Extensive experiments on classification, detection, segmentation, depth estimation, and image-text retrieval demonstrate that our model achieves competitive performance in both zero-shot and fine-tuned settings, outperforming prior generalist and several specialist models. Ablation studies further validate the robustness, scalability, and generalization of our framework. Our work marks a significant step towards general-purpose visual perception, providing a solid foundation for future research in universal vision modeling.
Introduction
In the current artificial intelligence landscape, a significant divide exists between natural language processing and computer vision. Large Language Models (LLMs) have successfully transitioned into "generalists," utilizing unified architectures to solve a vast array of problems. Conversely, computer vision remains largely dominated by "specialists"—individual models meticulously tuned for specific tasks like object detection, semantic segmentation, or depth estimation.
While recent diffusion-based generative models have attempted to bridge this gap, they often treat perception as a pixel-level reconstruction problem. This approach, while effective for image generation, often fails in discriminative tasks that require abstract semantic understanding. Visual Bridge addresses this by formulating visual perception as a generative flow-matching problem that bridges the latent spaces of general foundation models and task-specific experts.
The Visual Bridge Framework
The core innovation of Visual Bridge is the conceptualization of multi-task learning as a Universal Flow-Matching problem. Rather than starting from Gaussian noise, the framework utilizes image patch tokens from a powerful self-supervised foundation model, specifically DINOv2, as a semantic anchor ($r_0$).
The system learns a "velocity field" ($f_\theta$) using a Diffusion Transformer (DiT). This field defines the optimal path to transform general-purpose tokens into task-specific representations ($r_t$). To manage the diversity of tasks, the authors introduce Circular Task Embeddings, which map discrete task IDs onto a continuous unit circle. This creates a smooth manifold that allows the model to effectively interpolate between different task requirements. Furthermore, a multi-scale token mechanism ensures the framework can handle tasks requiring varying spatial resolutions, from global classification to dense, pixel-level segmentation.
Experimental Evaluation
The framework was evaluated across a comprehensive suite of standard vision benchmarks, including ImageNet-1K (classification), COCO (detection and retrieval), ADE20K (segmentation), and NYUv2/KITTI (depth estimation).
Key results indicate that Visual Bridge can compete directly with task-specific specialists:
- Classification: Achieved 81.5% zero-shot accuracy on ImageNet-1K, rising to 82.1% after fine-tuning.
- Detection: Reached 42.8 mAP on COCO, surpassing the original DETR baseline.
- Depth Estimation: Demonstrated superior performance over other generalist models like OneDiffusion, particularly in maintaining geometric structure.
- Efficiency: By sharing a core "bridge" architecture, the model significantly reduces the architectural redundancy typically required for multi-task systems.
Conclusion
Visual Bridge demonstrates that perception is more than just reconstruction; it is about bridging semantic gaps. By operating in the latent space rather than the pixel space, the model avoids common generative hallucinations while maintaining the flexibility of flow-based modeling. While the current iteration relies on task-specific encoders for training supervision, it represents a major step toward a truly autonomous, universal visual perceiver. Future research will focus on reducing this dependency to move toward a fully end-to-end universal vision model.
Summary updated