SlideShare a Scribd company logo
1 of 19
Translating Embeddings for
Modeling Multi-relational Data
Tien-Bach-Thanh Do
Network Science Lab
Dept. of Artificial Intelligence
The Catholic University of Korea
E-mail: osfa19730@catholic.ac.kr
2024/03/11
Antoine Bordes et al.
NIPS 2013
2
Introduction
• Multi-relational data refers to directed graphs whose nodes correspond to entities and edges of the form
(head, label, tail) (denoted (h, l, t)), each of which indicates that there exists a relationship of name label
between the entities head and tail
• Models of multi-relational data play a pivotal role in many areas
○ Friendship/social relationship links
○ Recommender systems where entities are users and products and relationships are buying, rating,
reviewing or searching for a product
○ Knowledge bases like
■ Freebase
■ Google Knowledge Graph
■ GeneOntology
3
TransE
Method
4
TransE
Scoring function
5
TransE
Algorithm
6
TransE
Connectivity Patterns in KG
● Relations in heterogeneous KG have different properties
○ Symmetry: If the edge (h, “Roommate”, t) exists in KG, then the edge (t, “Roommate”, h) should
also exist
○ Inverse relation: If the edge (h, “Advisor”, t) exists in KG, then the edge (t, “Advisee”, h) should
also exist
● Can we categorize these relation patterns?
● Are KG embedding methods expressive enough to model these patterns?
7
TransE
Relation Patterns
● Symmetric (Antisymmetric) Relations:
● Symmetric: Family, Roommate
● Antisymmetric: Hypernym
● Inverse Relations:
● Example: Advisor, Advisee
● Composition (Transitive) Relations:
● Example: My mother’s husband is my father
● 1-to-N relations:
● Example: r is StudentsOf
8
Antisymmetric Relations in TransE
● Antisymmetric Relations:
● TransE can model antisymmetric relations
9
Inverse Relations in TransE
• Inverse Relations:
○ Example: (Advisor, Advisee)
• TransE can model inverse relations
10
Composition in TransE
• Composition (Transitive) Relations
○ Example: My mother’s husband is my father
• TransE can model composition relations
11
Limitation: Symmetric Relations
● Symmetric Relations:
○ Example: Family, Roommate
● TransE cannot model symmetric relations
12
Limitation: 1-to-N relations
● 1-to-N Relations:
○ Example: (h, r, t1) and (h, r, t2) both exist in the knowledge graph, eg r is StudentsOf
● TransE cannot model 1-to-N relations
○ t1 and t2 will map to the same vector, although they are different entities
13
Datasets
Wordnet
• Designed to produce an intuitively usable dictionary and thesaurus, and support automatic text analysis
• Entities correspond to word senses, relationships define lexical relations between them
14
Datasets
Freebase
• A huge and growing KB of general facts
• 1.2 billion triplets and more than 80 million entities
• 2 dataset with Freebase
○ FB15K
○ FB1M has most frequently occurring 1 million entities => 25k relationships and more than 17 millions
training triplets
15
Results
Link prediction
16
Results
17
Results
18
Results
19
Conclusion
• TransE has proven effective in modeling multi-relational data by capturing complex relationships.
• While demonstrating superior performance in certain scenarios, ongoing research is crucial for refining its
capabilities and adapting to diverse datasets and real-world applications.

More Related Content

Similar to 240311_Thanh_LabSeminar[Translating Embeddings for Modeling Multi-relational Data].pptx

Pennants for Descriptors
Pennants for DescriptorsPennants for Descriptors
Pennants for Descriptors
GESIS
 

Similar to 240311_Thanh_LabSeminar[Translating Embeddings for Modeling Multi-relational Data].pptx (20)

Semiotics and conceptual modeling gv 2015
Semiotics and conceptual modeling   gv 2015Semiotics and conceptual modeling   gv 2015
Semiotics and conceptual modeling gv 2015
 
Pennants for Descriptors
Pennants for DescriptorsPennants for Descriptors
Pennants for Descriptors
 
Latent Relational Model for Relation Extraction
Latent Relational Model for Relation ExtractionLatent Relational Model for Relation Extraction
Latent Relational Model for Relation Extraction
 
Rules for inducing hierarchies from social tagging data
Rules for inducing hierarchies from social tagging dataRules for inducing hierarchies from social tagging data
Rules for inducing hierarchies from social tagging data
 
Drifting distributions? Possibilities and risks of using distributional seman...
Drifting distributions? Possibilities and risks of using distributional seman...Drifting distributions? Possibilities and risks of using distributional seman...
Drifting distributions? Possibilities and risks of using distributional seman...
 
DBMS unit-2.pdf
DBMS unit-2.pdfDBMS unit-2.pdf
DBMS unit-2.pdf
 
Understanding knowledge network, learning and connectivism
Understanding knowledge network, learning and connectivismUnderstanding knowledge network, learning and connectivism
Understanding knowledge network, learning and connectivism
 
FINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCES
FINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCESFINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCES
FINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCES
 
Finding out Noisy Patterns for Relation Extraction of Bangla Sentences
Finding out Noisy Patterns for Relation Extraction of Bangla SentencesFinding out Noisy Patterns for Relation Extraction of Bangla Sentences
Finding out Noisy Patterns for Relation Extraction of Bangla Sentences
 
Disambiguating Polysemous Queries For Document Retrieval
Disambiguating Polysemous Queries For Document RetrievalDisambiguating Polysemous Queries For Document Retrieval
Disambiguating Polysemous Queries For Document Retrieval
 
Contextual Ontology Alignment - ESWC 2011
Contextual Ontology Alignment - ESWC 2011Contextual Ontology Alignment - ESWC 2011
Contextual Ontology Alignment - ESWC 2011
 
Ontology matching
Ontology matchingOntology matching
Ontology matching
 
Concept Visualisation over Multiple Taxonomic Hierarchies
Concept Visualisation over Multiple Taxonomic HierarchiesConcept Visualisation over Multiple Taxonomic Hierarchies
Concept Visualisation over Multiple Taxonomic Hierarchies
 
FINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCES
FINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCESFINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCES
FINDING OUT NOISY PATTERNS FOR RELATION EXTRACTION OF BANGLA SENTENCES
 
What Are Links in Linked Open Data? A Characterization and Evaluation of Link...
What Are Links in Linked Open Data? A Characterization and Evaluation of Link...What Are Links in Linked Open Data? A Characterization and Evaluation of Link...
What Are Links in Linked Open Data? A Characterization and Evaluation of Link...
 
Effective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsEffective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP Systems
 
Componential Analysis of Meaning.pptx
Componential Analysis of Meaning.pptxComponential Analysis of Meaning.pptx
Componential Analysis of Meaning.pptx
 
NS-CUK Seminar: J.H.Lee, Review on "Abstract Meaning Representation for Semb...
NS-CUK Seminar: J.H.Lee,  Review on "Abstract Meaning Representation for Semb...NS-CUK Seminar: J.H.Lee,  Review on "Abstract Meaning Representation for Semb...
NS-CUK Seminar: J.H.Lee, Review on "Abstract Meaning Representation for Semb...
 
SMART Seminar Series: "Data is the new water in the digital age"
SMART Seminar Series: "Data is the new water in the digital age"SMART Seminar Series: "Data is the new water in the digital age"
SMART Seminar Series: "Data is the new water in the digital age"
 
Semantic_properties-BlackboxNLP
Semantic_properties-BlackboxNLPSemantic_properties-BlackboxNLP
Semantic_properties-BlackboxNLP
 

More from thanhdowork

More from thanhdowork (20)

240506_JW_labseminar[Structural Deep Network Embedding].pptx
240506_JW_labseminar[Structural Deep Network Embedding].pptx240506_JW_labseminar[Structural Deep Network Embedding].pptx
240506_JW_labseminar[Structural Deep Network Embedding].pptx
 
[20240506_LabSeminar_Huy]Conditional Local Convolution for Spatio-Temporal Me...
[20240506_LabSeminar_Huy]Conditional Local Convolution for Spatio-Temporal Me...[20240506_LabSeminar_Huy]Conditional Local Convolution for Spatio-Temporal Me...
[20240506_LabSeminar_Huy]Conditional Local Convolution for Spatio-Temporal Me...
 
240506_Thanh_LabSeminar[ASG2Caption].pptx
240506_Thanh_LabSeminar[ASG2Caption].pptx240506_Thanh_LabSeminar[ASG2Caption].pptx
240506_Thanh_LabSeminar[ASG2Caption].pptx
 
240506_Thuy_Labseminar[GraphPrompt: Unifying Pre-Training and Downstream Task...
240506_Thuy_Labseminar[GraphPrompt: Unifying Pre-Training and Downstream Task...240506_Thuy_Labseminar[GraphPrompt: Unifying Pre-Training and Downstream Task...
240506_Thuy_Labseminar[GraphPrompt: Unifying Pre-Training and Downstream Task...
 
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
 
240429_Thanh_LabSeminar[TranSG: Transformer-Based Skeleton Graph Prototype Co...
240429_Thanh_LabSeminar[TranSG: Transformer-Based Skeleton Graph Prototype Co...240429_Thanh_LabSeminar[TranSG: Transformer-Based Skeleton Graph Prototype Co...
240429_Thanh_LabSeminar[TranSG: Transformer-Based Skeleton Graph Prototype Co...
 
240429_Thuy_Labseminar[Simplifying and Empowering Transformers for Large-Grap...
240429_Thuy_Labseminar[Simplifying and Empowering Transformers for Large-Grap...240429_Thuy_Labseminar[Simplifying and Empowering Transformers for Large-Grap...
240429_Thuy_Labseminar[Simplifying and Empowering Transformers for Large-Grap...
 
240422_Thanh_LabSeminar[Dynamic Graph Enhanced Contrastive Learning for Chest...
240422_Thanh_LabSeminar[Dynamic Graph Enhanced Contrastive Learning for Chest...240422_Thanh_LabSeminar[Dynamic Graph Enhanced Contrastive Learning for Chest...
240422_Thanh_LabSeminar[Dynamic Graph Enhanced Contrastive Learning for Chest...
 
[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx
 
240422_Thuy_Labseminar[Large Graph Property Prediction via Graph Segment Trai...
240422_Thuy_Labseminar[Large Graph Property Prediction via Graph Segment Trai...240422_Thuy_Labseminar[Large Graph Property Prediction via Graph Segment Trai...
240422_Thuy_Labseminar[Large Graph Property Prediction via Graph Segment Trai...
 
[20240415_LabSeminar_Huy]Deciphering Spatio-Temporal Graph Forecasting: A Cau...
[20240415_LabSeminar_Huy]Deciphering Spatio-Temporal Graph Forecasting: A Cau...[20240415_LabSeminar_Huy]Deciphering Spatio-Temporal Graph Forecasting: A Cau...
[20240415_LabSeminar_Huy]Deciphering Spatio-Temporal Graph Forecasting: A Cau...
 
240315_Thanh_LabSeminar[G-TAD: Sub-Graph Localization for Temporal Action Det...
240315_Thanh_LabSeminar[G-TAD: Sub-Graph Localization for Temporal Action Det...240315_Thanh_LabSeminar[G-TAD: Sub-Graph Localization for Temporal Action Det...
240315_Thanh_LabSeminar[G-TAD: Sub-Graph Localization for Temporal Action Det...
 
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
 
240115_Attention Is All You Need (2017 NIPS).pptx
240115_Attention Is All You Need (2017 NIPS).pptx240115_Attention Is All You Need (2017 NIPS).pptx
240115_Attention Is All You Need (2017 NIPS).pptx
 
240115_Thanh_LabSeminar[Don't walk, skip! online learning of multi-scale netw...
240115_Thanh_LabSeminar[Don't walk, skip! online learning of multi-scale netw...240115_Thanh_LabSeminar[Don't walk, skip! online learning of multi-scale netw...
240115_Thanh_LabSeminar[Don't walk, skip! online learning of multi-scale netw...
 
240122_Attention Is All You Need (2017 NIPS)2.pptx
240122_Attention Is All You Need (2017 NIPS)2.pptx240122_Attention Is All You Need (2017 NIPS)2.pptx
240122_Attention Is All You Need (2017 NIPS)2.pptx
 
240226_Thanh_LabSeminar[Structure-Aware Transformer for Graph Representation ...
240226_Thanh_LabSeminar[Structure-Aware Transformer for Graph Representation ...240226_Thanh_LabSeminar[Structure-Aware Transformer for Graph Representation ...
240226_Thanh_LabSeminar[Structure-Aware Transformer for Graph Representation ...
 
[20240304_LabSeminar_Huy]DeepWalk: Online Learning of Social Representations....
[20240304_LabSeminar_Huy]DeepWalk: Online Learning of Social Representations....[20240304_LabSeminar_Huy]DeepWalk: Online Learning of Social Representations....
[20240304_LabSeminar_Huy]DeepWalk: Online Learning of Social Representations....
 
240304_Thanh_LabSeminar[Pure Transformers are Powerful Graph Learners].pptx
240304_Thanh_LabSeminar[Pure Transformers are Powerful Graph Learners].pptx240304_Thanh_LabSeminar[Pure Transformers are Powerful Graph Learners].pptx
240304_Thanh_LabSeminar[Pure Transformers are Powerful Graph Learners].pptx
 
240304_Thuy_Labseminar[SimGRACE: A Simple Framework for Graph Contrastive Lea...
240304_Thuy_Labseminar[SimGRACE: A Simple Framework for Graph Contrastive Lea...240304_Thuy_Labseminar[SimGRACE: A Simple Framework for Graph Contrastive Lea...
240304_Thuy_Labseminar[SimGRACE: A Simple Framework for Graph Contrastive Lea...
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

240311_Thanh_LabSeminar[Translating Embeddings for Modeling Multi-relational Data].pptx

  • 1. Translating Embeddings for Modeling Multi-relational Data Tien-Bach-Thanh Do Network Science Lab Dept. of Artificial Intelligence The Catholic University of Korea E-mail: osfa19730@catholic.ac.kr 2024/03/11 Antoine Bordes et al. NIPS 2013
  • 2. 2 Introduction • Multi-relational data refers to directed graphs whose nodes correspond to entities and edges of the form (head, label, tail) (denoted (h, l, t)), each of which indicates that there exists a relationship of name label between the entities head and tail • Models of multi-relational data play a pivotal role in many areas ○ Friendship/social relationship links ○ Recommender systems where entities are users and products and relationships are buying, rating, reviewing or searching for a product ○ Knowledge bases like ■ Freebase ■ Google Knowledge Graph ■ GeneOntology
  • 6. 6 TransE Connectivity Patterns in KG ● Relations in heterogeneous KG have different properties ○ Symmetry: If the edge (h, “Roommate”, t) exists in KG, then the edge (t, “Roommate”, h) should also exist ○ Inverse relation: If the edge (h, “Advisor”, t) exists in KG, then the edge (t, “Advisee”, h) should also exist ● Can we categorize these relation patterns? ● Are KG embedding methods expressive enough to model these patterns?
  • 7. 7 TransE Relation Patterns ● Symmetric (Antisymmetric) Relations: ● Symmetric: Family, Roommate ● Antisymmetric: Hypernym ● Inverse Relations: ● Example: Advisor, Advisee ● Composition (Transitive) Relations: ● Example: My mother’s husband is my father ● 1-to-N relations: ● Example: r is StudentsOf
  • 8. 8 Antisymmetric Relations in TransE ● Antisymmetric Relations: ● TransE can model antisymmetric relations
  • 9. 9 Inverse Relations in TransE • Inverse Relations: ○ Example: (Advisor, Advisee) • TransE can model inverse relations
  • 10. 10 Composition in TransE • Composition (Transitive) Relations ○ Example: My mother’s husband is my father • TransE can model composition relations
  • 11. 11 Limitation: Symmetric Relations ● Symmetric Relations: ○ Example: Family, Roommate ● TransE cannot model symmetric relations
  • 12. 12 Limitation: 1-to-N relations ● 1-to-N Relations: ○ Example: (h, r, t1) and (h, r, t2) both exist in the knowledge graph, eg r is StudentsOf ● TransE cannot model 1-to-N relations ○ t1 and t2 will map to the same vector, although they are different entities
  • 13. 13 Datasets Wordnet • Designed to produce an intuitively usable dictionary and thesaurus, and support automatic text analysis • Entities correspond to word senses, relationships define lexical relations between them
  • 14. 14 Datasets Freebase • A huge and growing KB of general facts • 1.2 billion triplets and more than 80 million entities • 2 dataset with Freebase ○ FB15K ○ FB1M has most frequently occurring 1 million entities => 25k relationships and more than 17 millions training triplets
  • 19. 19 Conclusion • TransE has proven effective in modeling multi-relational data by capturing complex relationships. • While demonstrating superior performance in certain scenarios, ongoing research is crucial for refining its capabilities and adapting to diverse datasets and real-world applications.