arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.06787cs.CL
收藏

FLAME:赋能冻结的大语言模型进行知识图谱补全

FLAME: Empowering Frozen LLMs for Knowledge Graph Completion

School of Computer Science, Shanghai Jiaotong University, China LMU Munich \& Munich Center for Machine Learning, Germany

Bo Xue, Yi Xu, Bolei Ma, Yunchong Song, Jiaxin Ding, Luoyi Fu, Xinbing Wang

AI总结:

FLAME通过提取冻结LLM中间层的上下文感知隐藏状态,实现高效的知识图谱补全,取得47%的性能提升并达到微调效果,同时显著降低内存和计算成本。

摘要:

传统知识图谱补全(KGC)方法仅依赖结构信息,难以应对稀疏性问题,而大型语言模型(LLMs)通过丰富的世界知识和强大的上下文建模能力解决了这些限制。微调LLMs效果显著但成本高昂,而非微调的LLMs则效率高但效果欠佳。为解决这一权衡问题,我们提出了FLAME框架,该框架从冻结LLMs的中间层中提取上下文感知的隐藏状态以训练数据高效的KGC分类器。我们通过基于子图的实体描述弥合LLM-KG语义鸿沟,并利用切片互信息(SMI)量化表示中的任务相关信息。实验表明,FLAME在非微调LLM基线上实现了47%的提升,并且据我们所知,是首个在188倍内存效率和26.11倍加速下达到微调性能的方法。

英文摘要:

Traditional knowledge graph completion (KGC) methods rely solely on structural information and struggle with sparsity, while Large Language Models (LLMs) address these limitations through rich world knowledge and strong context modeling. Fine-tuning LLMs is effective but costly, while non-fine-tuned LLMs are efficient but suboptimal. To address this trade-off, we propose \textbf{FLAME}, a framework that extracts context-aware hidden states from intermediate layers of frozen LLMs to train data-efficient KGC classifiers. We bridge LLM-KG semantic gaps via subgraph-based entity descriptions and employ sliced mutual information (SMI) to quantify task-relevant information in representations. Experiments demonstrate that FLAME achieves 47\% improvement over non-fine-tuned LLM baselines and, to our knowledge, is the first to achieve fine-tuned performance with $188\times$ memory efficiency and $26.11\times$ speedup.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑