101

Kastor: Fine-tuned Small Language Models for Shape-based Active Relation Extraction

Extended Semantic Web Conference (ESWC), 2025
Main:15 Pages
7 Figures
Bibliography:4 Pages
7 Tables
Appendix:3 Pages
Abstract

RDF pattern-based extraction is a compelling approach for fine-tuning small language models (SLMs) by focusing a relation extraction task on a specified SHACL shape. This technique enables the development of efficient models trained on limited text and RDF data. In this article, we introduce Kastor, a framework that advances this approach to meet the demands for completing and refining knowledge bases in specialized domains. Kastor reformulates the traditional validation task, shifting from single SHACL shape validation to evaluating all possible combinations of properties derived from the shape. By selecting the optimal combination for each training example, the framework significantly enhances model generalization and performance. Additionally, Kastor employs an iterative learning process to refine noisy knowledge bases, enabling the creation of robust models capable of uncovering new, relevant facts

View on arXiv
Comments on this paper