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

面向开放域对话生成的上下文长度实证研究

An Empirical Study on Context Length for Open-Domain Dialog Generation

Xinyi Shen, Zuoquan Lin

AI总结:

本文通过从粗到细的三个实验,实证研究了开放域对话生成中上下文长度对Transformer模型训练与性能的影响,发现这一常被忽视的设置值得重视。

摘要:

近年来,基于Transformer的开放域对话模型日益流行。这些模型通常将上下文表示为对话历史的拼接。然而,目前尚无准则来决定上下文中应保留多少条话语才足够。我们试图探究上下文长度的选择如何影响模型。我们从粗到细对三个问题进行了实验:(i)更长的上下文是否有助于模型训练?(ii)在处理不同上下文长度的对话时,是否有必要改变训练上下文长度?(iii)不同的对话样本对上下文长度是否具有相同的偏好?我们的实验结果表明,上下文长度这一常被忽视的设置,在实现基于Transformer的对话模型时值得关注。

英文摘要:

Transformer-based open-domain dialog models have become increasingly popular in recent years. These models typically represent context as a concatenation of a dialog history. However, there is no criterion to decide how many utterances should be kept adequate in a context. We try to figure out how the choice of context length affects the model. We experiment on three questions from coarse to fine: (i) Does longer context help model training? (ii) Is it necessary to change the training context length when dealing with dialogs of different context lengths? (iii) Do different dialog samples have the same preference for context length? Our experimental results show that context length, an often overlooked setting, deserves attention when implementing Transformer-based dialog models.

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

↑