TL;DR
This paper explores how knowledge engineers (KEs) are using generative AI, specifically Large Language Models (LLMs), in their work. They found that while LLMs can boost efficiency in tasks like knowledge graph construction, they also introduce new challenges related to prompting, evaluation, and responsible AI use. The authors propose "KG Cards" as a way to enhance transparency and trustworthiness in LLM-assisted knowledge engineering.
What Problem Does This Paper Address?
Knowledge engineering (KE) is the process of building and maintaining knowledge bases, often in the form of knowledge graphs (KGs). While KGs are powerful, their creation and maintenance can be complex and time-consuming, especially at scale. The recent emergence of Large Language Models (LLMs) like GPT offers exciting possibilities to automate and streamline these KE tasks. However, there's a gap in understanding how KEs are actually integrating these powerful new tools into their workflows, what challenges they face, and what new skills are needed. This paper aims to bridge that gap by investigating the practical use of generative AI in KE, focusing on the human-AI interaction.
Methods
The researchers employed a multi-method approach, combining:
- Ethnographic Observation: Two researchers observed knowledge engineers and AI researchers working in groups during a four-day hackathon. This provided a real-time, in-depth look at their interactions and decision-making processes.
- Document Analysis: They collected and analyzed research output from the hackathon, including group reports and presentations.
- Semi-structured Interviews: Following the hackathon, 14 participants were interviewed to gather more detailed insights into their experiences, challenges, and opinions.
The data was then analyzed using thematic analysis, both inductively (identifying emerging themes) and deductively (applying pre-defined codes).
Datasets
The paper does not explicitly list specific datasets used for training LLMs. However, it mentions that participants used various datasets for their KE tasks, including:
- Wikidata: Used for tasks like ontology alignment.
- Scientific Papers: Used as a source for knowledge extraction and KG construction.
- Real-world data: Participants emphasized the importance of having relevant datasets to test their pipelines and evaluate LLM outputs.
The paper also proposes "KG Cards" as a new documentation framework, drawing inspiration from existing "Data Cards" and "Model Cards," but tailored for KGs.
Key Insights and Ideas
- Prompting is a Skill, Not Just a Command: While LLMs are powerful, effectively eliciting knowledge from them requires skill, particularly "prompt engineering." This is a new skill that KEs may need to develop, especially those without a strong NLP background.
- Evaluation is a Major Hurdle: Evaluating the output of LLMs in KE tasks is challenging. Current metrics are often insufficient, and manual evaluation is frequently required, which can be time-consuming and subjective.
- Generative AI as a Co-pilot, Not a Replacement: KEs generally see generative AI as a supportive tool that can enhance efficiency and assist with tasks, rather than a complete replacement for human expertise. The "human-in-the-loop" remains crucial.
- Bias is a Persistent Concern, but Awareness Varies: While participants acknowledged the potential for bias in LLMs and KGs, there was a notable variation in their awareness and understanding of how to mitigate it. Many felt ethical issues were the responsibility of others.
- Transparency is Key for Trust: To foster trust and responsible adoption of generative AI in KE, there's a strong need for transparency. The proposed "KG Cards" aim to address this by providing structured documentation about KGs.
Key Results
- Challenges Identified: The primary challenges faced by KEs using generative AI were:
- Identifying appropriate datasets for testing.
- Efficiently prompting LLMs.
- Evaluating the quality of LLM outputs.
- Skills Needed: Beyond technical KE skills, KEs need strong communication, conceptual thinking, and organizational abilities. Prompting skills and an understanding of LLM capabilities are becoming increasingly important.
- Responsible AI Awareness: While participants were aware of AI safety concerns, their engagement with bias mitigation and ethical considerations was often limited, with a perception that these issues were separate from core engineering tasks.
- Trust and Uptake: KEs expressed mixed opinions on generative AI. Some saw it as promising for supporting KE activities and reducing time spent on tasks, while others were more skeptical due to concerns about LLM up-to-dateness, hallucination, and the lack of robust evaluation methods.
Limitations and Future Work
Limitations:
- The study participants were primarily from European research labs with a strong KE profile, potentially limiting the generalizability of findings to broader KE communities.
- The hackathon format, while insightful, was a short, intensive experience.
- The opinions of researchers with over 10 years of experience were not fully captured.
- There's a time lag between data collection and publication, which could impact the contemporaneity of findings, though the core insights are expected to remain relevant.
Future Work:
- Explore how generative AI can assist less experienced users in KE tasks.
- Conduct more comprehensive studies to identify practical strategies for detecting and mitigating biases in LLM-assisted KGs.
- Further investigate whether the barrier to addressing safety issues is a lack of knowledge or obstacles to implementation.
- Develop and validate the proposed "KG Cards" framework to enhance transparency and explainability in KGs.
- Investigate the potential for LLMs to automate other KE tasks and assist in building new KE tools.
Summary updated