DEG: Efficient Hybrid Vector Search Using the Dynamic Edge Navigation Graph

Ziqi Yin, Jianyang Gao, Pasquale Balsebre, Gao Cong, Cheng Long

Hybrid Vector Search (HVS) has emerged as a critical component in multimodal retrieval systems, allowing users to combine different data representations—such as image and text embeddings—into a single query. This is typically achieved through a weighted similarity score:

$$Score = \alpha \cdot Similarity_{Modality1} + (1 - \alpha) \cdot Similarity_{Modality2}$$

However, a significant challenge arises because the weighting parameter, $\alpha$, is often dynamic. A user might prioritize visual similarity in one search and semantic text similarity in another. Traditional graph-based Approximate Nearest Neighbor Search (ANNS) indexes, like the Hierarchical Navigable Small World (HNSW) graph, are built assuming static distances. When the query-time $\alpha$ deviates from the $\alpha$ used during index construction, the graph's structural properties—specifically the Relative Neighborhood Graph (RNG) property—break down, leading to a sharp decline in search speed and accuracy.

To solve this, the Dynamic Edge Navigation Graph (DEG) introduces a novel indexing approach that maintains high efficiency and recall across the entire spectrum of possible modality weights.

Core Innovations

DEG addresses the limitations of static indexes through three primary technical innovations:

1. Greedy Pareto Frontier Search (GPS)

In a multimodal environment, a neighbor that is optimal for text might be poor for images, and vice versa. DEG treats neighbor selection as a multi-objective optimization problem. Instead of selecting neighbors based on a single fixed weight, the GPS algorithm identifies the "Pareto frontier"—the set of candidate neighbors that are the best possible choices for at least one specific value of $\alpha$. This ensures that the graph contains the necessary edges to support any weight the user might choose at query time.

2. Dynamic Edge Pruning

This is the central mechanism of DEG. Rather than permanently discarding "redundant" edges during graph construction, DEG calculates an active range for each edge. An edge is only considered "active" and used for routing during a query if the query's $\alpha$ falls within that pre-calculated range. This allows the graph to dynamically "reshape" itself into an optimized Relative Neighborhood Graph for whatever specific $\alpha$ is provided, effectively storing multiple optimized structures within a single index without significant memory overhead.

3. Edge Seed Method

Standard graph searches often begin at a fixed entry point, such as the dataset's centroid. However, the ideal starting point in a multimodal distribution shifts dramatically as $\alpha$ changes. DEG identifies "edge seeds"—nodes located at the extreme boundaries of the data distribution (e.g., highly image-centric or highly text-centric nodes). The search adaptively starts from the seed closest to the query's specific modality preference, ensuring a leaner and more direct search path.

Experimental Evaluation

The researchers evaluated DEG against five large-scale, real-world datasets: OpenImage (500K pairs), Ins-SG (1M pairs), Howto100M (1.2M pairs), CC3M (3.1M pairs), and Twitter-US (10M pairs).

Key Results

  • Superior Performance Trade-offs: In head-to-head comparisons with baseline strategies—such as "Fusion" (using a fixed $\alpha$ index) and "Merging" (maintaining separate indexes for each modality)—DEG consistently provided the best Queries Per Second (QPS) versus Recall trade-off.
  • Stability Across Weights: While baseline methods saw performance crater when the query $\alpha$ shifted away from the construction $\alpha$, DEG remained stable across the entire $[0, 1]$ range.
  • Scalability: On the 10-million-node Twitter dataset, DEG was the only method capable of being constructed within a reasonable timeframe (12 hours). Standard HNSW-based baselines either failed to complete within two days or exceeded available memory limits.

Conclusion and Future Work

DEG represents a significant step forward for multimodal search, providing a single, robust index that adapts to user preferences in real-time. Currently, the dynamic pruning strategy is optimized for bimodal data. The authors note that as more modalities are added (e.g., audio + text + image), the "active range" for edges becomes a complex hyperplane in higher-dimensional space, which is more difficult to calculate and store. Additionally, while DEG is currently an in-memory index, future research will focus on developing disk-based implementations to support billion-scale datasets in production environments.

Summary updated

BibTeX
@article{yin2025deg,
  author = {Ziqi Yin and Jianyang Gao and Pasquale Balsebre and Gao Cong and Cheng Long},
  title = {{DEG: Efficient Hybrid Vector Search Using the Dynamic Edge Navigation Graph}},
  journal = {Proc. ACM Manag. Data},
  year = {2025},
  doi = {10.1145/3709679},
}
Figure