News Deja Vu:用语义搜索连接过去与现在
News Deja Vu: Connecting Past and Present with Semantic Search
AI总结:
本研究提出News Deja Vu,一种基于transformer和双编码器的语义搜索工具,通过实体掩蔽和对比训练检索历史新闻,帮助社会科学家发现现代事件的历史先例。
摘要:
社会科学家和公众经常通过与过去作类比来分析当代事件,但历史文本庞大、嘈杂且非结构化的特性使这一过程变得复杂。例如,数以亿计的历史报纸页面扫描件已被嘈杂地转录。传统的稀疏方法(如使用关键词)在这些庞大的语料库中搜索相关材料时,面对复杂的词汇和OCR噪声往往显得脆弱。本研究引入了News Deja Vu,一种新颖的语义搜索工具,它利用transformer大型语言模型和双编码器方法来识别与现代新闻查询最相似的历史新闻文章。News Deja Vu首先识别并掩蔽实体,以关注更广泛的类比,而不是正在讨论的具体命名实体。然后,一个经过对比训练的轻量级双编码器检索在语义上与现代查询最相似的历史文章,展示了看似当下独有的现象如何具有多样的历史先例。面向社会科学家的、用户友好的News Deja Vu包专为缺乏深度学习丰富经验的人设计,易于使用。它可以处理大型文本数据集,我们展示了如何将其部署到一个大规模的历史开源新闻文章语料库中。尽管人类专业知识对于获得更深层洞察仍然重要,News Deja Vu仍为探索人们如何看待过去与现在的类比提供了一个强大的工具。
英文摘要:
Social scientists and the general public often analyze contemporary events by drawing parallels with the past, a process complicated by the vast, noisy, and unstructured nature of historical texts. For example, hundreds of millions of page scans from historical newspapers have been noisily transcribed. Traditional sparse methods for searching for relevant material in these vast corpora, e.g., with keywords, can be brittle given complex vocabularies and OCR noise. This study introduces News Deja Vu, a novel semantic search tool that leverages transformer large language models and a bi-encoder approach to identify historical news articles that are most similar to modern news queries. News Deja Vu first recognizes and masks entities, in order to focus on broader parallels rather than the specific named entities being discussed. Then, a contrastively trained, lightweight bi-encoder retrieves historical articles that are most similar semantically to a modern query, illustrating how phenomena that might seem unique to the present have varied historical precedents. Aimed at social scientists, the user-friendly News Deja Vu package is designed to be accessible for those who lack extensive familiarity with deep learning. It works with large text datasets, and we show how it can be deployed to a massive scale corpus of historical, open-source news articles. While human expertise remains important for drawing deeper insights, News Deja Vu provides a powerful tool for exploring parallels in how people have perceived past and present.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。