Despite the recent success of contextualized language models on various NLP tasks, language model itself cannot capture textual coherence of a long, multi-sentence document (e.g., a paragraph). Humans often make structural decisions on what and how to say about before making utterances. Guiding surface realization with such high-level decisions and structuring text in a coherent way is essentially called a planning process. Where can the model learn such high-level coherence? A paragraph itself contains various forms of inductive coherence signals called self-supervision in this work, such as sentence orders, topical keywords, rhetorical structures, and so on. Motivated by that, this work proposes a new paragraph completion task PARCOM; predicting masked sentences in a paragraph. However, the task suffers from predicting and selecting appropriate topical content with respect to the given context. To address that, we propose a self-supervised text planner SSPlanner that predicts what to say first (content prediction), then guides the pretrained language model (surface realization) using the predicted content. SSPlanner outperforms the baseline generation models on the paragraph completion task in both automatic and human evaluation. We also find that a combination of noun and verb types of keywords is the most effective for content selection. As more number of content keywords are provided, overall generation quality also increases.
Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Models
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Plan, Attend, Generate: Character-level Neural Machine Translation with Planning in the Decoder
University of Montreal(蒙特利尔大学);Microsoft Maluuba(微软 Maluuba)
我们研究的规划机制集成到一个编码器-解码器架构与字符级机器翻译的显式对齐。我们开发了一个模型,在计算源序列和目标序列之间的比对时提前计划,构建拟议的未来比对矩阵和控制是否遵循或重新计算计划的承诺向量。这一机制的灵感来自于策略性的专注读者和作者(StrategicAttentive Reader and Writer,缩写为ESTA)模型。我们提出的模型是端到端可训练的,具有完全可区分的操作。我们证明了它在WMT'15语料库上的三个字符级解码器神经机器翻译上的性能优于强基线。我们的分析表明,我们的模型可以计算定性直观的路线,并实现了更少的参数优越的性能。