Hyper-CL: Conditioning Sentence Representations with Hypernetworks

  • Yoo, Young Hyun
  • Cha, Jii
  • Kim, Changhyeon
  • Kim, Taeuk
Citations

SCOPUS

8

초록

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.

키워드

Adversarial machine learningBenchmarkingComputational linguisticsFederated learningGraph embeddingsHypertext systemsKnowledge graphSemantics
제목
Hyper-CL: Conditioning Sentence Representations with Hypernetworks
저자
Yoo, Young HyunCha, JiiKim, ChanghyeonKim, Taeuk
DOI
10.48550/arXiv.2403.09490
발행일
2024-08
유형
Conference paper
저널명
Association for Computational Linguistics (ACL). Annual Meeting Conference Proceedings
1
페이지
700 ~ 711