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

用于问答的测试时自适应小型语言模型

Test-Time Self-Adaptive Small Language Models for Question Answering

Korea Advanced Institute of Science Technology(韩国科学技术院)

Soyeong Jeong, Jinheon Baek, Sukmin Cho, Sung Ju Hwang, Jong C. Park

AI总结:

研究仅用无标签测试数据让小型语言模型自适应问答任务的方法,通过随机生成多答案并集成过滤低质量样本,显著提升了模型在基准数据集上的性能与鲁棒性。

摘要:

最近的指令微调大型语言模型(LMs)在各种任务中取得了显著的性能,例如问答(QA)。然而,尽管它们能够记忆跨多种任务的大量通用知识,但由于其将知识迁移和适应到目标任务的能力有限,它们在特定任务上可能并非最优。此外,由于带标签数据集的缺失,使用带标签数据集进一步微调LMs通常不可行,但能否仅利用无标签测试数据来迁移知识有限的小型LMs也存有疑问。在这项工作中,我们展示并研究了仅利用无标签测试数据的小型自适应LMs的能力。具体而言,我们首先随机生成多个答案,然后对它们进行集成,同时过滤掉低质量样本,以减轻来自不准确标签的噪声。我们提出的自适应策略在基准QA数据集上展现出显著的性能提升,并在多种提示下具有更高的鲁棒性,使LMs保持稳定。代码可在以下网址获取:https://github.com/starsuzi/T-SAS。

英文摘要:

Recent instruction-finetuned large language models (LMs) have achieved notable performances in various tasks, such as question-answering (QA). However, despite their ability to memorize a vast amount of general knowledge across diverse tasks, they might be suboptimal on specific tasks due to their limited capacity to transfer and adapt knowledge to target tasks. Moreover, further finetuning LMs with labeled datasets is often infeasible due to their absence, but it is also questionable if we can transfer smaller LMs having limited knowledge only with unlabeled test data. In this work, we show and investigate the capabilities of smaller self-adaptive LMs, only with unlabeled test data. In particular, we first stochastically generate multiple answers, and then ensemble them while filtering out low-quality samples to mitigate noise from inaccurate labels. Our proposed self-adaption strategy demonstrates significant performance improvements on benchmark QA datasets with higher robustness across diverse prompts, enabling LMs to stay stable. Code is available at: https://github.com/starsuzi/T-SAS.

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

↑