arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.07775cs.CLcs.AIcs.LG
收藏

面向时间表达式归一化的话语感知上下文学习

Discourse-Aware In-Context Learning for Temporal Expression Normalization

Bosch Center for Artificial Intelligence(博世人工智能中心);Karlsruhe University of Applied Sciences(卡尔斯鲁厄应用技术大学);Saarland University(萨尔大学)

Akash Kumar Gautam, Lukas Lange, Jannik Strötgen

AI总结:

针对时间表达式归一化中规则系统场景受限、机器学习方法标注数据不足的问题,提出基于上下文学习的大语言模型方案,通过样本选择策略和窗口提示设计实现跨句子归一化,在非标准场景下取得显著性能提升。

摘要:

时间表达式(TE)归一化是一个已被广泛研究的问题。然而,目前主流使用的基于规则的系统高度受限于特定场景,而新兴的机器学习方法则面临标注数据不足的困境。本研究探索了专有及开源大语言模型(LLM)应用于TE归一化的可行性,采用上下文学习向模型注入任务、文档及示例信息。我们研究了多种样本选择策略以检索最相关的示例集合。通过基于窗口的提示设计方法,我们能够实现跨句子的TE归一化,同时无需训练模型即可利用LLM的知识。实验表明,该方法取得了与专门针对该任务设计的模型相当的结果。特别是,通过在推理过程中动态加入相关示例,我们的方法在非标准场景下实现了大幅性能提升。

英文摘要:

Temporal expression (TE) normalization is a well-studied problem. However, the predominately used rule-based systems are highly restricted to specific settings, and upcoming machine learning approaches suffer from a lack of labeled data. In this work, we explore the feasibility of proprietary and open-source large language models (LLMs) for TE normalization using in-context learning to inject task, document, and example information into the model. We explore various sample selection strategies to retrieve the most relevant set of examples. By using a window-based prompt design approach, we can perform TE normalization across sentences, while leveraging the LLM knowledge without training the model. Our experiments show competitive results to models designed for this task. In particular, our method achieves large performance improvements for non-standard settings by dynamically including relevant examples during inference.

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

↑