Parallel Vertex Diffusion for Unified Visual Grounding

Zesen Cheng, Kehan Li, Peng Jin, Siheng Li, Xiangyang Ji, Li Yuan, Chang Liu, Jie Chen

Abstract

Visual grounding aims to associate natural language descriptions with specific image regions. While Unified Visual Grounding (UVG) has emerged as a powerful framework for both Referring Expression Comprehension (REC) and Referring Image Segmentation (RIS), existing sequential vertex generation methods suffer from error accumulation and high latency. We present Parallel Vertex Diffusion (PVD), a novel approach that refines all polygon vertices simultaneously through a diffusion process. By incorporating geometric constraints like the Center Anchor Mechanism and Angle Summation Loss, PVD achieves state-of-the-art performance with significantly improved inference speeds.

Introduction

Visual grounding is a fundamental task in computer vision, bridging the gap between vision and language. It encompasses Referring Expression Comprehension (REC), which identifies objects via bounding boxes, and Referring Image Segmentation (RIS), which provides precise pixel-level masks.

Recent advancements in Unified Visual Grounding (UVG) represent both boxes and masks as sequences of coordinates (vertices). However, the standard approach—Sequential Vertex Generation (SVG)—is inherently limited. Because SVG predicts vertices autoregressively, small errors in early predictions compound, causing the final shape to "drift" away from the target object. Furthermore, as object complexity increases, the linear growth in inference time makes SVG impractical for high-fidelity segmentation.

Methodology: Parallel Vertex Diffusion

To overcome the limitations of sequential models, we introduce Parallel Vertex Diffusion (PVD). Instead of an autoregressive sequence, PVD treats vertex generation as a denoising task. Starting from a set of noisy initial coordinates, the model refines all vertices in parallel over a few diffusion steps.

Comparison between (a) Sequential Vertex Generation and (b) Parallel Vertex Diffusion. PVD refines the entire shape simultaneously, avoiding the drift and latency issues of sequential methods.

Key Components

  • Center Anchor Mechanism (CAM): To stabilize the diffusion process across varying image scales, CAM predicts a central anchor point for the target object. Vertices are then predicted as normalized offsets from this center, reducing coordinate variance and accelerating convergence.
  • Angle Summation Loss (ASL): Traditional point-to-point distance losses often ignore the global structure of a polygon. ASL leverages the "point-in-polygon" principle from computational geometry, calculating the sum of angles from internal points to the polygon's edges. This provides a differentiable geometric constraint that ensures the predicted vertices form a coherent, closed shape.

Experimental Results

PVD was evaluated on the RefCOCO, RefCOCO+, and RefCOCOg datasets, which are the gold standard for testing the relationship between natural language and visual objects.

Performance and Scalability

PVD established new state-of-the-art (SOTA) results across all benchmarks. Notably, on RefCOCO+ (test A), PVD significantly outperformed previous leaders like SeqTR in mask Intersection over Union (IoU).

The most dramatic improvement is in inference efficiency. For a complex mask requiring 36 vertices, PVD achieved a 5.2x speedup over sequential models, reducing inference time from 394ms to just 75ms. Unlike sequential models, PVD's latency remains nearly constant regardless of vertex count, making it uniquely suited for high-fidelity segmentation of complex objects.

Ablation Studies

Ablation experiments confirmed the necessity of the proposed geometric constraints. Removing either the Center Anchor Mechanism or the Angle Summation Loss led to a noticeable drop in accuracy (roughly 2-3%), proving that specialized geometric constraints are vital for applying diffusion to vertex generation.

Conclusion and Future Work

Parallel Vertex Diffusion represents a significant shift in unified visual grounding. By moving from sequential to parallel refinement, PVD solves the dual problems of error accumulation and computational bottleneck. While the current model uses a multi-step diffusion process, future work could involve integrating PVD into multi-modal universal models to handle broader tasks like visual question answering (VQA) and image captioning within a single architecture.

Summary updated

BibTeX
@inproceedings{cheng2024parallel,
  author = {Zesen Cheng and Kehan Li and Peng Jin and Siheng Li and Xiangyang Ji and Li Yuan and Chang Liu and Jie Chen},
  title = {{Parallel Vertex Diffusion for Unified Visual Grounding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i2.27896},
}
Figure