Time sequence knowledge graph completion method and device based on QR decomposition and electronic equipment
The invention relates to a QR decomposition-based time sequence knowledge graph completion method and apparatus, and an electronic device. The method comprises the following steps of: acquiring initial embedding representations of a head entity, a relationship, a tail entity and a timestamp in a tim...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a QR decomposition-based time sequence knowledge graph completion method and apparatus, and an electronic device. The method comprises the following steps of: acquiring initial embedding representations of a head entity, a relationship, a tail entity and a timestamp in a time sequence knowledge graph, wherein the initial embedding representations are in a complex number form; performing QR decomposition on a real part and an imaginary part of the initial embedded representation of the timestamp by adopting Gram-Schmidt orthogonalization to obtain two orthogonal matrixes corresponding to the real part and the imaginary part of the timestamp, and fusing the initial embedded representations of the head entity, the relation and the tail entity according to the two orthogonal matrixes to obtain a fused initial embedded representation of the head entity, the relation and the tail entity. And obtaining a fusion time embedding representation of the head entity, the relationship and the tail e |
---|