Sequence prediction method and device based on large language model and time knowledge graph
By constructing a temporal knowledge graph and using temporal random walks and a large language model to generate prompt templates, the problem of insufficient generalization ability of the temporal knowledge graph in complex scenarios is solved, and more accurate prediction of future events is achieved.
Patent Information
- Application Number
- CN202510704210.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-19
AI Technical Summary
Existing temporal knowledge graph methods lack cross-domain and cross-time generalization capabilities when processing complex temporal relationship data. Especially in scenarios such as property insurance and intelligent diagnosis and treatment, traditional methods ignore the semantic information of events, resulting in insufficient prediction performance.
By constructing a temporal knowledge graph and applying the transition distribution formula of temporal random walk to generate paths with time information, the paths are analyzed to obtain temporal patterns and converted into temporal logic rules, and combined with a large language model to generate prompt templates to predict future events.
The cross-domain and cross-time generalization capabilities of the temporal knowledge graph are improved, and the generated results are more accurate and suitable for prediction tasks in different data sets and fields.