Papers
Topics
Authors
Recent
Search
2000 character limit reached

Large language models as oracles for instantiating ontologies with domain-specific knowledge

Published 5 Apr 2024 in cs.AI, cs.CL, cs.IR, cs.LG, and cs.LO | (2404.04108v2)

Abstract: Background. Endowing intelligent systems with semantic data commonly requires designing and instantiating ontologies with domain-specific knowledge. Especially in the early phases, those activities are typically performed manually by human experts possibly leveraging on their own experience. The resulting process is therefore time-consuming, error-prone, and often biased by the personal background of the ontology designer. Objective. To mitigate that issue, we propose a novel domain-independent approach to automatically instantiate ontologies with domain-specific knowledge, by leveraging on LLMs as oracles. Method. Starting from (i) an initial schema composed by inter-related classes and properties and (ii) a set of query templates, our method queries the LLM multiple times, and generates instances for both classes and properties from its replies. Thus, the ontology is automatically filled with domain-specific knowledge, compliant to the initial schema. As a result, the ontology is quickly and automatically enriched with manifold instances, which experts may consider to keep, adjust, discard, or complement according to their own needs and expertise. Contribution. We formalise our method in general way and instantiate it over various LLMs, as well as on a concrete case study. We report experiments rooted in the nutritional domain where an ontology of food meals and their ingredients is automatically instantiated from scratch, starting from a categorisation of meals and their relationships. There, we analyse the quality of the generated ontologies and compare ontologies attained by exploiting different LLMs. Experimentally, our approach achieves a quality metric that is up to five times higher than the state-of-the-art, while reducing erroneous entities and relations by up to ten times. Finally, we provide a SWOT analysis of the proposed method.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (31)
  1. doi:10.1007/978-3-642-02788-8_6.
  2. doi:10.1145/3645103.
  3. doi:10.1007/978-3-642-20795-2_6.
  4. doi:10.1016/S1574-6526(07)03003-9.
  5. doi:10.1145/2757001.2757003.
  6. doi:10.1016/J.ARTMED.2017.07.002.
  7. doi:10.1177/0165551518801819.
  8. doi:10.1016/j.cosrev.2020.100339.
  9. doi:10.1007/s10462-019-09782-9.
  10. doi:10.1109/ALPIT.2007.30.
  11. doi:10.1016/j.artint.2005.03.001.
  12. doi:10.1136/amiajnl-2011-000163.
  13. doi:10.1007/978-3-642-53917-6_21.
  14. doi:10.1016/j.procs.2019.09.212.
  15. doi:10.18653/v1/n19-1423.
  16. doi:10.1145/3605943.
  17. doi:10.1109/ICCV.2015.11.
  18. doi:10.48550/ARXIV.2302.13971.
  19. doi:10.48550/ARXIV.2307.09288.
  20. doi:10.48550/arXiv.2309.01219.
  21. doi:10.48550/ARXIV.2309.03409.
  22. doi:10.48550/ARXIV.2304.15004.
  23. doi:10.48550/ARXIV.2307.02477.
  24. doi:10.1007/978-3-030-82017-6_20.
  25. doi:10.1016/j.cmpb.2023.107536.
  26. doi:10.48550/ARXIV.2310.06825.
  27. doi:10.48550/ARXIV.2312.11805.
  28. doi:10.48550/ARXIV.2401.04088.
  29. doi:10.48550/ARXIV.2303.08774.
  30. arXiv:2309.09898.
  31. doi:10.48550/ARXIV.2307.09009.
Citations (3)

Summary

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.