Method and apparatus for training few-shot event detection model based on multilingual prompt learning
US12299584B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jul 16, 2024 |
| Grant date | May 13, 2025 |
| Priority date | — |
| Expiry date | Jul 16, 2044 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N3/08
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and apparatus for training a few-shot event detection model based on multilingual prompt learning are provided, which includes: acquiring a training data set, applying a multilingual prompt model to any instance to obtain a predicted probability distribution of a trigger tag, so as to obtain a first loss; generating a contrastive instance and a bilingual instance, and performing multilingual prompt and cross-lingual encoding according to the input instance and the bilingual instance by applying the multilingual prompt model to obtain joint event characterization; performing event tag prediction on the joint event characterization by applying a two-level hierarchical prototype network model, and calculating a second loss; performing contrastive learning on respective instances by applying a quaternary contrastive learning module to obtain a third loss; determining a total loss of the few-shot event detection model according to respective losses, and performing model training optimization based on the total loss.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.