InFillmore:框架引导的双向上下文语言生成
InFillmore: Frame-Guided Language Generation with Bidirectional Context
摘要:
我们提出了一个结构化的扩展双向上下文条件语言生成,或“填充”,框架语义理论(Fillmore,1976)的启发。通过两种方法提供指导:(1)模型微调,直接对观察到的符号框架进行调节,以及(2)利用框架语义词汇单元的析取词汇约束解码的新扩展。自动和人工评估证实,框架引导的生成允许显式操纵预期的填充语义,与人类生成的文本的可扩展性损失最小。我们的方法灵活地适用于各种使用场景,我们提供了一个代码库和互动演示,可从https://nlp.jhu.edu/demos/infillmore获得。
英文摘要:
We propose a structured extension to bidirectional-context conditional language generation, or "infilling," inspired by Frame Semantic theory (Fillmore, 1976). Guidance is provided through two approaches: (1) model fine-tuning, conditioning directly on observed symbolic frames, and (2) a novel extension to disjunctive lexically constrained decoding that leverages frame semantic lexical units. Automatic and human evaluations confirm that frame-guided generation allows for explicit manipulation of intended infill semantics, with minimal loss in distinguishability from human-generated text. Our methods flexibly apply to a variety of use scenarios, and we provide a codebase and interactive demo available from https://nlp.jhu.edu/demos/infillmore.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。