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

LinkTransformer:一个用于记录链接与Transformer语言模型的统一软件包

LinkTransformer: A Unified Package for Record Linkage with Transformer Language Models

Harvard University(哈佛大学)

Abhishek Arora, Melissa Dell

AI总结:

LinkTransformer是一个开源软件包,将Transformer语言模型应用于记录链接,提供简洁API、预训练模型库及调优工具,旨在向非深度学习用户普及LLM优势。

摘要:

跨来源的信息链接是社会科学、商业和政府中各种分析的基础。虽然大型语言模型(LLMs)为改进嘈杂数据集中的记录链接提供了巨大潜力,但在许多领域中,R和Stata等流行软件中的近似字符串匹配软件包仍然占主导地位。这些软件包具有简洁、简单的接口,并且可以轻松扩展到多种语言。我们的开源软件包LinkTransformer旨在将流行的字符串匹配方法的熟悉性和易用性扩展到深度学习。它是一个用于记录链接的通用软件包,使用Transformer LLMs,将记录链接视为文本检索问题。其核心是一个现成的工具包,只需四行代码即可将Transformer模型应用于记录链接。LinkTransformer包含一个丰富的预训练Transformer语义相似性模型库,支持多种语言,并支持轻松集成来自Hugging Face或OpenAI的任何Transformer语言模型。它支持标准功能,如对多个嘈杂字段进行阻塞和链接。LinkTransformer API还执行其他常见的文本数据处理任务,例如聚合、嘈杂去重和无翻译的跨语言链接。重要的是,LinkTransformer还包含用于高效模型调优的综合工具,以在现成模型无法提供所需精度时促进不同级别的定制。最后,为了促进可重用性、可复现性和可扩展性,LinkTransformer使用户能够轻松地将其自定义训练的模型贡献到其模型中心。通过将Transformer语言模型与许多流行字符串匹配软件包用户熟悉的直观API相结合,LinkTransformer旨在向那些可能不太熟悉深度学习框架的用户普及LLMs的好处。

英文摘要:

Linking information across sources is fundamental to a variety of analyses in social science, business, and government. While large language models (LLMs) offer enormous promise for improving record linkage in noisy datasets, in many domains approximate string matching packages in popular softwares such as R and Stata remain predominant. These packages have clean, simple interfaces and can be easily extended to a diversity of languages. Our open-source package LinkTransformer aims to extend the familiarity and ease-of-use of popular string matching methods to deep learning. It is a general purpose package for record linkage with transformer LLMs that treats record linkage as a text retrieval problem. At its core is an off-the-shelf toolkit for applying transformer models to record linkage with four lines of code. LinkTransformer contains a rich repository of pre-trained transformer semantic similarity models for multiple languages and supports easy integration of any transformer language model from Hugging Face or OpenAI. It supports standard functionality such as blocking and linking on multiple noisy fields. LinkTransformer APIs also perform other common text data processing tasks, e.g., aggregation, noisy de-duplication, and translation-free cross-lingual linkage. Importantly, LinkTransformer also contains comprehensive tools for efficient model tuning, to facilitate different levels of customization when off-the-shelf models do not provide the required accuracy. Finally, to promote reusability, reproducibility, and extensibility, LinkTransformer makes it easy for users to contribute their custom-trained models to its model hub. By combining transformer language models with intuitive APIs that will be familiar to many users of popular string matching packages, LinkTransformer aims to democratize the benefits of LLMs among those who may be less familiar with deep learning frameworks.

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

↑