显式表示句法可提升意外场景下的句子到布局预测性能
Explicitly Representing Syntax Improves Sentence-to-layout Prediction of Unexpected Situations
AI总结:
该研究通过比较隐式与显式编码句法的语言表示在布局预测中的表现,发现当前模型在训练未见过的实体关系组合时性能大幅下降,进而提出一种结构损失函数,显著提升了意外场景下的句子到布局预测性能。
摘要:
在自然语言句子中识别视觉实体并将其排列成二维空间布局,需要对语言和空间进行组合式理解。这种布局预测任务在文本到图像合成中具有价值,因为它允许对图像进行局部化和可控的修复。在这项比较研究中,研究表明,如果句子提及的实体关系与训练期间所见的类似,我们可以从隐式或显式编码句子句法的语言表示中预测布局。为了测试组合式理解能力,研究人员收集了一个测试集,其中包含语法正确的句子和布局,描述实体和关系的组合,而这些组合在训练期间不太可能被看到。该测试集上的性能大幅下降,表明当前模型依赖于训练数据中的相关性,难以理解输入句子的结构。研究提出了一种新颖的结构损失函数,该函数能更好地强化输入句子的句法结构,并在以文本为条件的二维空间布局预测任务中显示出显著的性能提升。这种损失函数有可能被用于其他生成任务,其中条件模态下存在树状结构。代码、训练模型和USCOCO评估集可通过github获取。
英文摘要:
Recognizing visual entities in a natural language sentence and arranging them in a 2D spatial layout require a compositional understanding of language and space. This task of layout prediction is valuable in text-to-image synthesis as it allows localized and controlled in-painting of the image. In this comparative study it is shown that we can predict layouts from language representations that implicitly or explicitly encode sentence syntax, if the sentences mention similar entity-relationships to the ones seen during training. To test compositional understanding, we collect a test set of grammatically correct sentences and layouts describing compositions of entities and relations that unlikely have been seen during training. Performance on this test set substantially drops, showing that current models rely on correlations in the training data and have difficulties in understanding the structure of the input sentences. We propose a novel structural loss function that better enforces the syntactic structure of the input sentence and show large performance gains in the task of 2D spatial layout prediction conditioned on text. The loss has the potential to be used in other generation tasks where a tree-like structure underlies the conditioning modality. Code, trained models and the USCOCO evaluation set are available via github.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。