Источник
ACL
Дата публикации
15.08.2024
Авторы
Михаил Бурцев Юрий Куратов Айдар Булатов Алла Чепурова
Поделиться

Prompt Me One More Time: A Two-Step Knowledge Extraction Pipeline with Ontology-Based Verification, Workshop TextGraphs-17: Graph-based Methods for Natural Language Processing

Аннотация

This study explores a method for extending real-world knowledge graphs (specifically, Wikidata) by extracting triplets from texts with the aid of Large Language Models (LLMs). We propose a two-step pipeline that includes the initial extraction of entity candidates, followed by their refinement and linkage to the canonical entities and relations of the knowledge graph. Finally, we utilize Wikidata relation constraints to select only verified triplets. We compare our approach to a model that was fine-tuned on a machine-generated dataset and demonstrate that it performs better on natural data. Our results suggest that LLM-based triplet extraction from texts, with subsequent verification, is a viable method for real-world applications.

Присоединяйтесь к AIRI в соцсетях