DH-Set: Improving Vision-Language Alignment with Diverse and Hybrid Set-Embeddings Learning

Kun Zhang, Jingyu Li, Zhe Li, S. Kevin ZhouCVPR 2025

Introduction

Vision-Language (VL) alignment is the cornerstone of tasks like cross-modal retrieval. However, a persistent challenge in this field is semantic ambiguity. A single image or text snippet often contains multiple semantic layers. For instance, the word "apple" can denote a fruit or a tech brand; an image of a park might focus on the "trees," "people," or "sunlight."

Traditional "one-embedding-based" methods project inputs into a single vector, which often collapses these distinct meanings into a generic average. While "set-embedding" methods attempt to solve this by using multiple vectors, they frequently suffer from high computational overhead and "coarse diversity"—where they differentiate entire subspaces rather than the specific dimensions that actually carry meaning.

Comparison of embedding methods and the concept of semantic dissecting.

The DH-Set Framework

To address these limitations, the authors propose Diverse and Hybrid Set-embeddings (DH-Set). This framework shifts the focus from global subspace diversity to fine-grained, dimensional importance through three core innovations:

1. Intra-subspace Semantic Importance Dissecting

At the heart of DH-Set is the Adaptive Sparse Dimensional Bottleneck. This layer identifies "key dimensions" within a representation space that are most relevant to a specific semantic concept. By enforcing sparsity via a learnable matrix, the model learns to "dissect" a vector, isolating the local dimensions that represent specific meanings (e.g., identifying which specific parts of a vector represent the concept of a "man" versus a "dog").

2. Inter-subspace Diversity and Discriminability

Rather than forcing entire embedding sets to be different, DH-Set applies diversity constraints (via KL divergence) specifically to the key dimensions identified during the dissecting phase. This ensures that each embedding in the set captures a unique, non-overlapping semantic facet, preventing the model from learning redundant information across its multiple subspaces.

3. Hybrid Set-Embeddings Inference

To solve the efficiency problem, DH-Set employs a "hybridization" strategy. During training, the model learns a set of $k$ embeddings to capture diversity. For deployment (inference), these are mathematically combined into a single hybrid embedding. Because the visual extractors share parameters, the similarity calculation between a set and a single vector satisfies the associative law, allowing it to be simplified into a standard dot product between two single vectors. This allows the model to maintain the representational power of a set while using the simple efficiency of a single vector.

The complete DH-Set architecture, including feature extraction, semantic dissecting, and diversity constraints.

Key Insights and Results

  • Semantics are Local: A major finding of the paper is that specific meanings are not spread evenly across a vector; they are concentrated in subsets of dimensions. By focusing on these local dimensions, DH-Set achieves more precise alignment.
  • Efficiency Gains: The hybrid inference mechanism allows DH-Set to operate with $O(d)$ complexity, identical to single-embedding models. This represents a 3x or greater reduction in storage and computational costs compared to prior set-based methods.
  • State-of-the-Art Performance: Evaluated on Flickr30K and MS-COCO across various backbones (ResNet, Swin, ViT, BERT), DH-Set achieved a relative rSum improvement of 2.3% to 14.7%. It proved particularly effective at capturing fine-grained details that baseline models often overlooked.

Conclusion

DH-Set demonstrates that vision-language alignment can be both nuanced and efficient. By focusing on local dimensional importance and utilizing a hybrid inference strategy, it overcomes the traditional trade-off between semantic richness and deployment speed, offering a scalable solution for complex cross-modal retrieval tasks.

Summary updated

BibTeX
@inproceedings{zhang2025dh,
  author = {Kun Zhang and Jingyu Li and Zhe Li and S. Kevin Zhou},
  title = {{DH-Set: Improving Vision-Language Alignment with Diverse and Hybrid Set-Embeddings Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02327},
}
Figure