Lune

ACL2025Top-tier venue

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 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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts cites Inducing Relational Knowledge from BERT
  • BertNet: Harvesting Knowledge Graphs with Arbitrary Relations from Pretrained Language Models cites Inducing Relational Knowledge from BERT
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
  2. 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
  3. Inducing Relational Knowledge from BERTZied Bouraoui, José Camacho-Collados, Steven SchockaertAAAI 2020 · 183 citations
  4. BertNet: Harvesting Knowledge Graphs with Arbitrary Relations from Pretrained Language ModelsShibo Hao, Bowen Tan, Kaiwen Tang, Bin Ni et al.ACL Findings 2023 · 44 citations
  5. VASR: Visual Analogies of Situation RecognitionYonatan Bitton, Ron Yosef, Eliyahu Strugo, Dafna Shahaf et al.AAAI 2023 · 27 citations

Related papers

  1. Distilling Relation Embeddings from Pretrained Language ModelsAsahi Ushio, José Camacho-Collados, Steven SchockaertEMNLP 2021 · 13 citations
  2. Large Language Models are Good Relational LearnersFang Wu, Vijay Prakash Dwivedi, Jure LeskovecACL 2025 · 10 citations
  3. M-BRe: Discovering Training Samples for Relation Extraction from Unlabeled Texts with Large Language ModelsZexuan Li, Hongliang Dai, Piji LiEMNLP 2025
  4. Generating Diverse Training Samples for Relation Extraction with Large Language ModelsZexuan Li, Hongliang Dai, Piji LiACL 2025
  5. Open Relation Modeling: Learning to Define Relations between EntitiesJie Huang, Kevin Chang, Jinjun Xiong, Wen-Mei HwuACL Findings 2022 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines