Modeling Complex Semantics Relation with Contrastively Fine-Tuned Relational Encoders
Naïm Es-Sebbani, Esteban Marquer, Zied Bouraoui
Abstract
Modeling relationships between concepts and entities is essential for many applications. While Large Language Models (LLMs) capture relational and commonsense knowledge effectively, they are computationally expensive and often underperform in tasks requiring efficient relational encoding, such as relation induction, extraction, and information retrieval. Despite advancements in learning relational embeddings, existing methods often fail to capture nuanced representations and the rich semantics needed for high-quality embeddings. In this work, we propose different relational encoders designed to capture diverse relational aspects and semantic properties of entity pairs. Although several datasets exist for training such encoders, they often rely on structured knowledge bases or predefined schemas, which primarily encode simple and static relations. To overcome this limitation, we also introduce a novel dataset generation method leveraging LLMs to create a diverse spectrum of relationships. Our experiments demonstrate the effectiveness of our proposed encoders and the benefits of our generated dataset.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on6
- Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
- Inducing Relational Knowledge from BERTZied Bouraoui, José Camacho-Collados, Steven SchockaertAAAI 2020 · 183 citations
- VASR: Visual Analogies of Situation RecognitionYonatan Bitton, Ron Yosef, Eliyahu Strugo, Dafna Shahaf et al.AAAI 2023 · 27 citations
- Distilling Semantic Concept Embeddings from Contrastively Fine-Tuned Language ModelsNa Li, Hanane Kteich, Zied Bouraoui, Steven SchockaertSIGIR 2023 · 3 citations
Related papers
- Distilling Relation Embeddings from Pretrained Language ModelsAsahi Ushio, José Camacho-Collados, Steven SchockaertEMNLP 2021 · 13 citations
- Large Language Models are Good Relational LearnersFang Wu, Vijay Prakash Dwivedi, Jure LeskovecACL 2025 · 10 citations
- M-BRe: Discovering Training Samples for Relation Extraction from Unlabeled Texts with Large Language ModelsZexuan Li, Hongliang Dai, Piji LiEMNLP 2025
- Generating Diverse Training Samples for Relation Extraction with Large Language ModelsZexuan Li, Hongliang Dai, Piji LiACL 2025
- Grasping the Essentials: Tailoring Large Language Models for Zero-Shot Relation ExtractionSizhe Zhou, Yu Meng, Bowen Jin, Jiawei HanEMNLP 2024 · 6 citations
