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

约束优先:一种基于多值决策图的新模型,用于在约束条件下生成句子

Constraints First: A New MDD-based Model to Generate Sentences Under Constraints

Université Côte d’Azur(蔚蓝海岸大学);Inria(法国国家信息与自动化研究所);CNRS(法国国家科学研究中心);Université Aix-Marseille(艾克斯-马赛大学)

Alexandre Bonlarron, Aurélie Calabrèse, Pierre Kornprobst, Jean-Charles Régin

AI总结:

本文将标准化句子生成形式化为离散组合优化问题,利用多值决策图(MDD)无需搜索即可完备枚举满足约束的句子,再结合 GPT-2 筛选最优候选,在 MNREAD 视力筛查测试中实现了从几十句到数百句的突破,并验证了该方法在英语和法语中的有效性。

摘要:

本文提出了一种生成强约束文本的新方法。我们以视力筛查这一典型应用中的标准化句子生成为研究对象。为解决该问题,我们将其形式化为一个离散组合优化问题,并利用多值决策图(MDD)这一处理约束的著名数据结构。在我们的应用场景中,MDD 的一个关键优势在于无需执行任何搜索即可计算出完备的解集。获得句子后,我们应用语言模型(GPT-2)保留最优的句子。我们针对英语以及法语详细阐述了该方法,其中法语的性数配合和动词变位规则更为复杂。最后,借助 GPT-2,我们获得了数百个真实可靠的候选句子。与众所周知的视力筛查测试(MNREAD)中通常可用的几十个句子相比,这在标准化句子生成领域带来了重大突破。此外,由于该方法可以轻松适配其他语言,它有望使 MNREAD 测试更具价值且更易使用。更广泛地说,本文凸显了 MDD 作为约束文本生成的一种有说服力的替代方案,尤其是在约束难以满足的情况下,同时也适用于许多其他应用前景。

英文摘要:

This paper introduces a new approach to generating strongly constrained texts. We consider standardized sentence generation for the typical application of vision screening. To solve this problem, we formalize it as a discrete combinatorial optimization problem and utilize multivalued decision diagrams (MDD), a well-known data structure to deal with constraints. In our context, one key strength of MDD is to compute an exhaustive set of solutions without performing any search. Once the sentences are obtained, we apply a language model (GPT-2) to keep the best ones. We detail this for English and also for French where the agreement and conjugation rules are known to be more complex. Finally, with the help of GPT-2, we get hundreds of bona-fide candidate sentences. When compared with the few dozen sentences usually available in the well-known vision screening test (MNREAD), this brings a major breakthrough in the field of standardized sentence generation. Also, as it can be easily adapted for other languages, it has the potential to make the MNREAD test even more valuable and usable. More generally, this paper highlights MDD as a convincing alternative for constrained text generation, especially when the constraints are hard to satisfy, but also for many other prospects.

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

↑