LLM experimentation through knowledge graphs: Towards improved management, repeatability, and verification
Generative large language models (LLMs) have transformed AI by enabling rapid, human-like text generation, but they face challenges, including managing inaccurate information generation. Strategies such as prompt engineering, Retrieval-Augmented Generation (RAG), and incorporating domain-specific Knowledge Graphs (KGs) aim to address their issues. However, challenges remain in achieving the desired levels of management, repeatability, and verification of experiments, especially for developers using closed-access LLMs via web APIs, complicating integration with external tools. To tackle this, we are exploring a software architecture to enhance LLM workflows by prioritizing flexibility and traceability while promoting more accurate and explainable outputs. We describe our approach and provide a nutrition case study demonstrating its ability to integrate LLMs with RAG and KGs for more robust AI solutions.
Authors
- Henrique Santos (ORCID: https://orcid.org/0000-0002-2110-6416)
- Jamie P. McCusker (ORCID: https://orcid.org/0000-0003-1085-6059)
- Deborah L. McGuinness (ORCID: https://orcid.org/0000-0001-7037-4567)
- Vlάdia Pinheiro (ORCID: https://orcid.org/0000-0002-9851-8304)
- John Erickson (ORCID: https://orcid.org/0000-0003-3078-4566)
Institutions
- Rensselaer Polytechnic Institute (US)
- Universidade de Fortaleza (BR)
Publication Details
- Journal
- Journal of Web Semantics
- Published
- 2024-12-31
- DOI
- https://doi.org/10.1016/j.websem.2024.100853
- Citations
- 4
- Primary Topic
- Scientific Computing and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 4.20