Fact Finder -- Enhancing Domain Expertise of Large Language Models by Incorporating Knowledge Graphs
Fraunhofer IAIS(弗劳恩霍夫智能分析与信息系统研究所);Bayer AG(拜耳公司)
Daniel Steinigen, Roman Teucher, Timm Heine Ruland, Max Rudat, Nicolas Flores-Herr, Peter Fischer, Nikola Milosevic, Christopher Schymura, Angelo Ziletti
Recent advancements in Large Language Models (LLMs) have showcased their proficiency in answering natural language queries. However, their effectiveness is hindered by limited domain-specific knowledge, raising concerns about the reliability of their responses. We introduce a hybrid system that augments LLMs with domain-specific knowledge graphs (KGs), thereby aiming to enhance factual correctness using a KG-based retrieval approach. We focus on a medical KG to demonstrate our methodology, which includes (1) pre-processing, (2) Cypher query generation, (3) Cypher query processing, (4) KG retrieval, and (5) LLM-enhanced response generation. We evaluate our system on a curated dataset of 69 samples, achieving a precision of 78\% in retrieving correct KG nodes. Our findings indicate that the hybrid system surpasses a standalone LLM in accuracy and completeness, as verified by an LLM-as-a-Judge evaluation method. This positions the system as a promising tool for applications that demand factual correctness and completeness, such as target identification -- a critical process in pinpointing biological entities for disease treatment or crop enhancement. Moreover, its intuitive search interface and ability to provide accurate responses within seconds make it well-suited for time-sensitive, precision-focused research contexts. We publish the source code together with the dataset and the prompt templates used.
Few-Shot Fairness: Unveiling LLM's Potential for Fairness-Aware Classification
Indian Institute of Technology Delhi(印度德里理工学院);Delhi Technological University(德里理工大学);Indian Institute of Science Education and Research Kolkata(印度加尔各答科学教育与研究学院)
Insight Centre for Data Analytics(洞察数据分析中心);Aylien Ltd.(Aylien有限公司);National University of Ireland, Galway(爱尔兰国立大学戈尔韦分校)
领域自适应在训练数据的分布不同于测试数据的分布的许多实际应用中是至关重要的。以前基于深度学习的领域自适应方法需要在源和目标领域数据上进行联合训练,因此在模型需要适应大量领域或领域不断发展的情况下没有吸引力,例如攻击者不断改变策略的垃圾邮件检测。为了填补这一空白,我们提出了知识适应,知识蒸馏的扩展(Bucilua et al.,2006; Hinton等人,2015)到领域自适应场景。我们展示了学生模型如何通过考虑多位教师的特定领域专业知识及其领域之间的相似性,在标准情感分析基准上从多个来源获得最先进的无监督领域自适应结果。当从一个老师那里学习时,使用领域相似性来衡量可信度是不够的。为此,我们提出了一个简单的度量,以及相关的教师在目标域的准确性。我们证明,结合高置信度的例子选择这个指标,使学生模型,以实现最先进的性能在单源场景。