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

临床研究原理对NLP模型泛化的启示

Principles from Clinical Research for NLP Model Generalization

The University of Melbourne(墨尔本大学);RMIT University(皇家墨尔本理工大学)

Aparna Elangovan, Jiayuan He, Yuan Li, Karin Verspoor

AI总结:

本文借鉴临床研究的内部效度与外部效度概念,分析NLP模型泛化失败的原因,指出虚假相关性会损害内部效度,并提出在NLP评估中引入匹配思想以测量因果关系。

摘要:

NLP领域通常依赖模型在留出测试集上的表现来评估泛化能力。在官方测试集之外的数据集上观察到的性能下降,通常被归因于“分布外”效应。本文探讨了泛化性的基础,并研究影响泛化性的因素,阐述来自临床研究的经验教训。在临床研究中,泛化是一种推理行为,它依赖于(a)实验的内部效度,以确保对因果关系的受控测量,以及(b)外部效度或结果向更广泛人群的可迁移性。我们展示了学习虚假相关性(例如关系抽取任务中实体之间的距离)如何影响模型的内部效度,并进而对泛化产生不利影响。因此,我们提出在NLP中构建机器学习模型时需要确保内部效度。我们的建议同样适用于生成式大语言模型,因为已知它们对即使是很小的语义保持性改动也很敏感。我们还提出将随机对照试验和观察性研究中的匹配思想引入NLP评估,以测量因果关系。

英文摘要:

The NLP community typically relies on performance of a model on a held-out test set to assess generalization. Performance drops observed in datasets outside of official test sets are generally attributed to "out-of-distribution" effects. Here, we explore the foundations of generalizability and study the factors that affect it, articulating lessons from clinical studies. In clinical research, generalizability is an act of reasoning that depends on (a) internal validity of experiments to ensure controlled measurement of cause and effect, and (b) external validity or transportability of the results to the wider population. We demonstrate how learning spurious correlations, such as the distance between entities in relation extraction tasks, can affect a model's internal validity and in turn adversely impact generalization. We, therefore, present the need to ensure internal validity when building machine learning models in NLP. Our recommendations also apply to generative large language models, as they are known to be sensitive to even minor semantic preserving alterations. We also propose adapting the idea of matching in randomized controlled trials and observational studies to NLP evaluation to measure causation.

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

↑