Hyper-CL: Conditioning Sentence Representations with Hypernetworks
Young Hyun Yoo, Jii Cha, Changhyeon Kim, Taeuk Kim
Abstract
While the introduction of contrastive learning frameworks in sentence representation learning has significantly contributed to advancements in the field, it still remains unclear whether state-of-the-art sentence embeddings can capture the fine-grained semantics of sentences, particularly when conditioned on specific perspectives. In this paper, we introduce Hyper-CL, an efficient methodology that integrates hypernetworks with contrastive learning to compute conditioned sentence representations. In our proposed approach, the hypernetwork is responsible for transforming pre-computed condition embeddings into corresponding projection layers. This enables the same sentence embeddings to be projected differently according to various conditions. Evaluation of two representative conditioning benchmarks, namely conditional semantic text similarity and knowledge graph completion, demonstrates that Hyper-CL is effective in flexibly conditioning sentence representations, showcasing its computational efficiency at the same time. We also provide a comprehensive analysis of the inner workings of our approach, leading to a better interpretation of its mechanisms. Our code is available at https://github.com/HYU-NLP/Hyper-CL .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- PoLi-RL: A Point-to-List Reinforcement Learning Framework for Conditional Semantic Textual Similarity cites C-STS: Conditional Semantic Textual Similarity
- PoLi-RL: A Point-to-List Reinforcement Learning Framework for Conditional Semantic Textual Similarity cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- C-STS: Conditional Semantic Textual Similarity cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- InstEmb: Instruction-Following Embeddings through Glimpses of the Future cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMs cites C-STS: Conditional Semantic Textual Similarity
- Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMs cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
Cited by top-tier papers3
- PoLi-RL: A Point-to-List Reinforcement Learning Framework for Conditional Semantic Textual SimilarityZixin Song, Bowen Zhang, Qian-Wen Zhang, Di Yin et al.ICLR 2026 · 1 citation
- InstEmb: Instruction-Following Embeddings through Glimpses of the FutureTianhao Gao, Jun Fang, Xiaohui Zhang, Zhiyuan Liu et al.ICML 2026
- Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMsZifeng Cheng, Lingyun Qian, Zhiwei Jiang, Cong Wang et al.ACL 2026
Builds on7
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- Structure-Augmented Text Representation Learning for Efficient Knowledge Graph CompletionBo Wang, Tao Shen, Guodong Long, Tianyi Zhou et al.WWW 2021 · 322 citations
- On the Modularity of HypernetworksTomer Galanti, Lior WolfNeurIPS 2020 · 79 citations
- C-STS: Conditional Semantic Textual SimilarityAmeet Deshpande, Carlos E. Jimenez, Howard Chen, Vishvak Murahari et al.EMNLP 2023 · 9 citations
Related papers
- 3R: Enhancing Sentence Representation Learning via Redundant Representation ReductionLongxuan Ma, Xiao Wu, Yuxin Huang, Shengxiang Gao et al.EMNLP 2025
- InfoCSE: Information-aggregated Contrastive Learning of Sentence EmbeddingsXing Wu, Chaochen Gao, Zijia Lin, Jizhong Han et al.EMNLP Findings 2022 · 24 citations
- HyperCL: A Contrastive Learning Framework for Hyper-Relational Knowledge Graph Embedding with Hierarchical OntologyYuhuan Lu, Weijian Yu, Xin Jing, Dingqi YangACL Findings 2024 · 7 citations
- Improving Knowledge Graph Completion with Generative Hard Negative MiningZile Qiao, Wei Ye, Dingyao Yu, Tong Mo et al.ACL Findings 2023 · 18 citations
- Improving Contrastive Learning of Sentence Embeddings from AI FeedbackQinyuan Cheng, Xiaogui Yang, Tianxiang Sun, Linyang Li et al.ACL Findings 2023 · 24 citations
