arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04455cs.CLcs.DL
收藏

利用大型语言模型从 GitHub 检测隐藏实体

Hidden Entity Detection from GitHub Leveraging Large Language Models

GESIS – Leibniz Institute for the Social Sciences(GESIS——莱布尼茨社会科学研究所);Heinrich Heine University Düsseldorf(杜塞尔多夫海因里希·海涅大学);University of Trier(特里尔大学)

Lu Gan, Martin Blum, Danilo Dessi, Brigitte Mathiak, Ralf Schenkel, Stefan Dietze

AI总结:

本文研究在缺乏大规模训练数据的 GitHub 场景下,利用 LLM 的少样本提示学习自动检测文本中的数据集、软件及 URL 表示的仓库资源。

摘要:

命名实体识别是从非结构化数据源构建知识库时的一项重要任务。实体检测方法大多依赖大量训练数据,而大型语言模型(LLM)利用其在预训练期间获得的能力,为依赖零样本学习(ZSL)或少样本学习(FSL)的方法铺平了道路。具体而言,在无法获得大规模训练数据的高度专业化场景中,ZSL/FSL 带来了新的机遇。本文遵循这一最新趋势,研究在此类场景中利用大型语言模型(LLM)从 GitHub 仓库的文本内容中自动检测数据集和软件的潜力。现有方法仅关注命名实体,而本研究旨在扩大范围,将仓库和在线中心等资源纳入其中,在这些资源中实体也通过 URL 表示。本研究探索了不同的 FSL 提示学习方法,以增强 LLM 识别仓库文本中数据集和软件提及的能力。通过分析 LLM 的有效性和学习策略,本文为先进语言模型在自动化实体检测方面的潜力提供了见解。

英文摘要:

Named entity recognition is an important task when constructing knowledge bases from unstructured data sources. Whereas entity detection methods mostly rely on extensive training data, Large Language Models (LLMs) have paved the way towards approaches that rely on zero-shot learning (ZSL) or few-shot learning (FSL) by taking advantage of the capabilities LLMs acquired during pretraining. Specifically, in very specialized scenarios where large-scale training data is not available, ZSL / FSL opens new opportunities. This paper follows this recent trend and investigates the potential of leveraging Large Language Models (LLMs) in such scenarios to automatically detect datasets and software within textual content from GitHub repositories. While existing methods focused solely on named entities, this study aims to broaden the scope by incorporating resources such as repositories and online hubs where entities are also represented by URLs. The study explores different FSL prompt learning approaches to enhance the LLMs' ability to identify dataset and software mentions within repository texts. Through analyses of LLM effectiveness and learning strategies, this paper offers insights into the potential of advanced language models for automated entity detection.

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

↑