LLMs are not generally able to adjust the length of their outputs based on strict length requirements, a capability that would improve their usefulness in applications that require adherence to diverse user and system requirements. We present an approach to train LLMs to acquire this capability by augmenting existing data and applying existing fine-tuning techniques, which we compare based on the trained models' adherence to the length requirement and overall response quality relative to the baseline model. Our results demonstrate that these techniques can be successfully applied to train LLMs to adhere to length requirements, with the trained models generating texts which better align to the length requirements. Our results indicate that our method may change the response quality when using training data that was not generated by the baseline model. This allows simultaneous alignment to another training objective in certain scenarios, but is undesirable otherwise. Training on a dataset containing the model's own responses eliminates this issue.
Patients With Personality: Realistic Patient Simulation through Controlled Diversity and Selective Disclosure
Technical University of Munich(慕尼黑技术大学);Munich Center for Machine Learning(慕尼黑机器学习中心);TUM University Hospital(慕尼黑技术大学医院);Google DeepMind(谷歌DeepMind);Google Research(谷歌研究);Imperial College London(伦敦帝国学院)
Paraphrase Generation as Zero-Shot Multilingual Translation: Disentangling Semantic Similarity from Lexical and Syntactic Diversity
Johns Hopkins University(约翰斯·霍普金斯大学)
最近的研究表明,多语言神经机器翻译(NMT)模型可以用来判断一个句子对同一语言中另一个句子的释义程度(Thompson and Post,2020);然而,试图使用标准束搜索从这样的模型中生成释义会产生微不足道的副本或近似副本。我们引入了一个简单的释义生成算法,该算法不鼓励在输入中产生n元语法。我们的方法可以从一个单一的多语言NMT模型中生成多种语言的释义。此外,输入和输出之间的词汇多样性的量可以在生成时控制。我们进行了一次人工评估,将我们的方法与在大型英语合成释义数据库ParaBank 2上训练的释义器进行比较(Hu等人,2019 c),并发现我们的方法产生的释义,更好地保留意义,更符合语法,为同一水平的词汇多样性。其他较小的人类评估表明,我们的方法也适用于两种非英语语言。