先说结论
Re3用全局计划约束逐段写作,再通过候选重排和事实编辑修正故事。消融主要支持规划与重排;编辑模块对整体质量的增益有限。 (原文:PDF p.3, Section 3;PDF p.4, Rewrite; Edit;PDF p.8, experimental setup;PDF p.8, Table 4;PDF p.8, Section 5.1–5.2; Table 5)
指标:Re3希望改善长篇故事对初始设定和整体情节的偏离。单纯把最近一段交给模型继续写,容易忘记早期人物与计划。它把生成拆成规划、起草、重排和编辑,把全局目标反复带回局部写作。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
entirely in natural language space; however, we 2022), a version of GPT3 finetuned to better follow focus on fully automatic generation in this work. human instructions. Next, we use GPT3-Instruct- 175B to generate up to three character names and Prompting. Numerous works have demonstrated then descriptions, conditioned on the premise and general-purpose language models’ strong zero-shot setting. For names, we do rejection sampling using ability on a wide variety of tasks via prompt- simple heuristics to filter out malformed outputs ing (Brown et al., 2020; Zhong et al., 2021; Sanh (Appendix A). Finally, we prompt GPT3-Instruct- et al., 2021; Ouyang et al., 2022; Wu et al., 175B to write a numbered outline of the story and 2022). Careful prompt design can yield further parse the output into a list of outline points, re- gains (Lee et al., 2021; Liu et al., 2021; Kojima sampling until the list is well-formed. et al., 2022). However, most prompting methods These plan components, themselves generated focus on shorter-answer tasks rather than long-form by prompting, will be repeatedly reused to compose generation. Instead of generating the output in one prompts for generating story passages in the Draft shot, our recursive reprompting procedure treats module; hence recursive reprompting. prompting as a subroutine to generate the final output in conjunction with our planning and revi- 3.2 Draft Module sion infrastructure. Compared to chain-of-thought prompting approaches like Kojima et al. (2022), Relevant context: Relevant Re3 goes a step further by repeatedly re-composing Context Liza Turner is a 22-year-old woman. Peyton Turner is Liza’s older sister. the prompt in modular fashion, dynamically recom- Previous Previous story summary: bining the most contextually relevant parts of both Sections’ Liza Turner graduates from law school. Outlines the high-level plan and the story thus far. Immediately before current passage: Recent Draft Liza Turner returns home to her small 3 Recursive Reprompting and Revision Story town, feeling both familiar and Summary unsafe. She is unsure if she wants to live there, but hesitant to leave. We now describe our Recursive Reprompting and Upcoming Revision framework (Re3 ), which decomposes Section In the upcoming passage, She moves back to her hometown to Outline start her career. the human writing process into our Plan, Draft, Rewrite, and Edit modules. See Appendix K for Auto- Full text below: She locked up the car and carried her concrete examples of each component in practice. regressive things into the house through the back Context door in case Peyton was home still. 3.1 Plan Module Figure 3: Illustration of the prompt constructed in Re3 ’s Draft module to generate each next story continuation. Our recursive Premise: A new law grad returns home reprompting approach combines pieces of the plan (blue) and Premise to start her career, but struggles with the broken justice system. previously generated story (grey) into a single prompt by concatenating the depicted components in order. Setting: The story is set in Setting a small town in the United States. For each point of the outline, we will generate 1. Character Portrait: Liza Turner is a 22-year-old woman. several story passages before moving on to the Plan Characters 2. Character Portrait: Peyton Turner is Liza’s older sister. next outline point. Each passage is generated as a Outline the main plot points of the fixed-length continuation from a structured prompt, story. 1. Liza Turner graduates from law which is composed by our recursive reprompting school. Outline 2. She moves back to her hometown to procedure as shown in Figure 3. start her career. The prompt begins with a selection of “Rel- 3. She struggles with the reality of the broken justice system. evant Context” shown at the top of Figure 3. As the story progresses, we dynamically update Figure 2: Illustration of Re3 ’s Plan module, which prompts a the list of character descriptions using a named- language model to generate a setting, characters, and outline based on the premise. Highlighting indicates generated text. entity-recognition-based pipeline, which identifies new entities from each new story passage using The Plan module augments a story premise with Flair (Akbik et al., 2018) and writes descriptions a setting, characters, and outline (Figure 2). using GPT3-Instruct-175B. Thus “Relevant Con- The setting is a simple one-sentence extension of text” initially contains all of the premise, setting, the premise, obtained by using The story is set and characters shown in Figure 2, but subsequently in to prompt GPT3-Instruct-175B (Ouyang et al., selects only what is most relevant to the most recent
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:系统先生成设定、人物和大纲。起草时,把计划中的相关内容与最近故事文本组合到下一次提示中,递归生成后续段落。这样,模型不必只依靠有限窗口里的最后几句猜测故事方向;但这只是提供信息,不保证模型一定遵守计划。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
entirely in natural language space; however, we 2022), a version of GPT3 finetuned to better follow focus on fully automatic generation in this work. human instructions. Next, we use GPT3-Instruct- 175B to generate up to three character names and Prompting. Numerous works have demonstrated then descriptions, conditioned on the premise and general-purpose language models’ strong zero-shot setting. For names, we do rejection sampling using ability on a wide variety of tasks via prompt- simple heuristics to filter out malformed outputs ing (Brown et al., 2020; Zhong et al., 2021; Sanh (Appendix A). Finally, we prompt GPT3-Instruct- et al., 2021; Ouyang et al., 2022; Wu et al., 175B to write a numbered outline of the story and 2022). Careful prompt design can yield further parse the output into a list of outline points, re- gains (Lee et al., 2021; Liu et al., 2021; Kojima sampling until the list is well-formed. et al., 2022). However, most prompting methods These plan components, themselves generated focus on shorter-answer tasks rather than long-form by prompting, will be repeatedly reused to compose generation. Instead of generating the output in one prompts for generating story passages in the Draft shot, our recursive reprompting procedure treats module; hence recursive reprompting. prompting as a subroutine to generate the final output in conjunction with our planning and revi- 3.2 Draft Module sion infrastructure. Compared to chain-of-thought prompting approaches like Kojima et al. (2022), Relevant context: Relevant Re3 goes a step further by repeatedly re-composing Context Liza Turner is a 22-year-old woman. Peyton Turner is Liza’s older sister. the prompt in modular fashion, dynamically recom- Previous Previous story summary: bining the most contextually relevant parts of both Sections’ Liza Turner graduates from law school. Outlines the high-level plan and the story thus far. Immediately before current passage: Recent Draft Liza Turner returns home to her small 3 Recursive Reprompting and Revision Story town, feeling both familiar and Summary unsafe. She is unsure if she wants to live there, but hesitant to leave. We now describe our Recursive Reprompting and Upcoming Revision framework (Re3 ), which decomposes Section In the upcoming passage, She moves back to her hometown to Outline start her career. the human writing process into our Plan, Draft, Rewrite, and Edit modules. See Appendix K for Auto- Full text below: She locked up the car and carried her concrete examples of each component in practice. regressive things into the house through the back Context door in case Peyton was home still. 3.1 Plan Module Figure 3: Illustration of the prompt constructed in Re3 ’s Draft module to generate each next story continuation. Our recursive Premise: A new law grad returns home reprompting approach combines pieces of the plan (blue) and Premise to start her career, but struggles with the broken justice system. previously generated story (grey) into a single prompt by concatenating the depicted components in order. Setting: The story is set in Setting a small town in the United States. For each point of the outline, we will generate 1. Character Portrait: Liza Turner is a 22-year-old woman. several story passages before moving on to the Plan Characters 2. Character Portrait: Peyton Turner is Liza’s older sister. next outline point. Each passage is generated as a Outline the main plot points of the fixed-length continuation from a structured prompt, story. 1. Liza Turner graduates from law which is composed by our recursive reprompting school. Outline 2. She moves back to her hometown to procedure as shown in Figure 3. start her career. The prompt begins with a selection of “Rel- 3. She struggles with the reality of the broken justice system. evant Context” shown at the top of Figure 3. As the story progresses, we dynamically update Figure 2: Illustration of Re3 ’s Plan module, which prompts a the list of character descriptions using a named- language model to generate a setting, characters, and outline based on the premise. Highlighting indicates generated text. entity-recognition-based pipeline, which identifies new entities from each new story passage using The Plan module augments a story premise with Flair (Akbik et al., 2018) and writes descriptions a setting, characters, and outline (Figure 2). using GPT3-Instruct-175B. Thus “Relevant Con- The setting is a simple one-sentence extension of text” initially contains all of the premise, setting, the premise, obtained by using The story is set and characters shown in Figure 2, but subsequently in to prompt GPT3-Instruct-175B (Ouyang et al., selects only what is most relevant to the most recent
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:Rewrite利用学习到的相关性与连贯性判断对候选续写进行重排;Edit则处理文本与人物事实的矛盾。冻结语言生成模型不等于整个系统没有训练,因为用于重排的分类器仍要学习。重排负责选哪段,编辑负责改掉什么,不能把二者当成同一个一致性打分器。
条件:仅限本地原始PDF的 Rewrite; Edit;不同表格与实验不合并
PDF p.4, Rewrite; Edit · PDF p.4
story passage using a pretrained Dense Passage Re- by reranking Draft module outputs based on coher- trieval (DPR) model (Karpukhin et al., 2020). ence with the previous passage and relevance to the The remainder of the prompt can be viewed as current outline point (Figure 4). a coarse-to-fine description of the previous story, We note that this Rewrite module is the only following the intuition that an author needs detailed part of Re3 which uses prior story data. All of the information about the most recent passage but per- modules which actually generate text (Plan, Draft, haps only higher-level information about much and to some extent Edit) do not require prior data. earlier passages. As shown in Figure 3, we in- Coherence Reranker. We train a discriminative clude “Previous Sections’ Outlines” as a very high- model to predict whether a continuation is coherent level summary of previous larger story sections, with the previous story. As data, we split stories followed by a “Recent Story Summary” written by from the WritingPrompts dataset (Fan et al., 2018) GPT3-Instruct-13B3 of a few penultimate passages. into passages up to 1000 tokens long, labeling the At the end we repeat verbatim the immediately pre- ending up to 200 tokens as the gold continuation. ceding passage as “Autoregressive Context” from Inspired by the contrastive learning setup of Wang which point the story should continue. Finally, to et al. (2020) and Guan et al. (2020), we obtain neg- enforce relevance to the current outline point, we ative examples by replacing the gold continuation include the “Current Section Outline” in the prompt with a random other continuation from either the just before “Autoregressive Context.” same story or a different one. We then finetune a Finally, the full prompt is fed to GPT3-175B to pretrained Longformer-Base (Beltagy et al., 2020) generate the next story passage.4 to classify whether a continuation is the true con- 3.3 Rewrite Module tinuation for a given passage. Relevance Reranker. We train a relevance model All the lights were off Coherence with the same architecture as our coherence model and there was no sign of Draft Peyton. She shrugged and + to predict whether a continuation is relevant to the Continuation decided to go out and Relevance 1 spend the rest of her current outline point. We construct a dataset of Rewrite evening at one of New -1.7 2000 training examples, where each example con- York City’s many bars. sists of a 200-token story passage from Writing- She knew Peyton was Coherence Draft probably working late at + Prompts and a brief summary written by GPT3- his restaurant so he Continuation wouldn't come home early Relevance Instruct-13B. Negative examples are constructed 2 to see her, but she wouldn't put it past him 2.0 ✓ by selecting the summary of a different passage, to do it anyway. whether in the same story or a different one. Figure 4: Re3 ’s Rewrite module reranks the Draft module’s Additional Heuristics. Finally, we filter out con- continuations for coherence and relevance. tinuations with some writing problems which are easy to detect via rule-based heuristics. For exam- The generator’s first output continuation is often ple, we check for repetition issues, e.g., repeating low-quality, even with the planning and recursive chunks of the structured prompt. Similarly, to main- reprompting in the Plan and Draft modules. Hu- tain consistent narration, we filter out first person mans may encounter a similar problem after a first continuations to enforce a consistent third person draft, particularly upon receiving feedback from perspective. Full details in Appendix B. others, and be forced to rewrite a passage altogether. Our Rewrite module models this rewriting process 3.4 Edit Module 3 As economical usage of large language models is becom- In contrast to the Rewrite module which reranks ing increasingly important (Strubell et al., 2019), we use the complete alternate continuations, the Edit module 13B model where we observe it is not substantially worse. 4 This step does not use GPT3-Instruct-175B, as we ob- makes local edits to further refine a passage pro- served in preliminary experiments that an earlier version of duced by careful planning, drafting, and rewriting. GPT3-Instruct-175B would frequently repeat sections of the Specifically, we aim to remove long-range fac- prompt. Generators other than GPT3-175B are also possible in principle: for example, retrieval-augmented architectures tual inconsistencies. When a human detects a small like RAG (Lewis et al., 2020) or architectures designed for factual discontinuity upon proofreading, he or she long-range dependencies like S4 (Gu et al., 2021). However, might simply edit the offending detail, rather than it is critical to use a sufficiently high-quality language model: even scaling down to GPT3-13B resulted in noticeably less making major changes to the high-level plan or do- coherent outputs in our preliminary experiments. ing substantial rewriting. Our Edit module mimics
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:消融把完整系统与分别删除Plan、Rewrite、Edit的版本成对比较,由人类判断故事的连贯、相关、有趣和自然程度。每组比较有自己的评分结果,不能把不同组的完整系统分数当成一把固定绝对尺子。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.8, experimental setup · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:消融表中,去掉Edit的版本连贯性为60.3,与之配对比较的完整Re3为57.3,差异未标为显著。相反,Plan和Rewrite在对应对照中更关键。因此,论文支持规划与重排的作用,却不支持“每个模块都被证明不可缺少”。不同消融的成对评审不能混成同一固定绝对评分。
条件:仅限本地原始PDF的 Table 4;不同表格与实验不合并
PDF p.8, Table 4 · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:作者发现编辑后仍有非人物事实、随时间变化的事实,以及遗漏大纲事件等连续性问题。结构化检测在受控人物矛盾任务中的ROC-AUC为0.684;这个局部检测实验不等于完整故事质量提升,也不能证明已经解决长篇的一切记忆和一致性问题。
条件:仅限本地原始PDF的 Section 5.1–5.2; Table 5;不同表格与实验不合并
PDF p.8, Section 5.1–5.2; Table 5 · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
论文为什么要做这件事
Re3希望改善长篇故事对初始设定和整体情节的偏离。单纯把最近一段交给模型继续写,容易忘记早期人物与计划。它把生成拆成规划、起草、重排和编辑,把全局目标反复带回局部写作。 (原文:PDF p.3, Section 3)
指标:Re3希望改善长篇故事对初始设定和整体情节的偏离。单纯把最近一段交给模型继续写,容易忘记早期人物与计划。它把生成拆成规划、起草、重排和编辑,把全局目标反复带回局部写作。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
entirely in natural language space; however, we 2022), a version of GPT3 finetuned to better follow focus on fully automatic generation in this work. human instructions. Next, we use GPT3-Instruct- 175B to generate up to three character names and Prompting. Numerous works have demonstrated then descriptions, conditioned on the premise and general-purpose language models’ strong zero-shot setting. For names, we do rejection sampling using ability on a wide variety of tasks via prompt- simple heuristics to filter out malformed outputs ing (Brown et al., 2020; Zhong et al., 2021; Sanh (Appendix A). Finally, we prompt GPT3-Instruct- et al., 2021; Ouyang et al., 2022; Wu et al., 175B to write a numbered outline of the story and 2022). Careful prompt design can yield further parse the output into a list of outline points, re- gains (Lee et al., 2021; Liu et al., 2021; Kojima sampling until the list is well-formed. et al., 2022). However, most prompting methods These plan components, themselves generated focus on shorter-answer tasks rather than long-form by prompting, will be repeatedly reused to compose generation. Instead of generating the output in one prompts for generating story passages in the Draft shot, our recursive reprompting procedure treats module; hence recursive reprompting. prompting as a subroutine to generate the final output in conjunction with our planning and revi- 3.2 Draft Module sion infrastructure. Compared to chain-of-thought prompting approaches like Kojima et al. (2022), Relevant context: Relevant Re3 goes a step further by repeatedly re-composing Context Liza Turner is a 22-year-old woman. Peyton Turner is Liza’s older sister. the prompt in modular fashion, dynamically recom- Previous Previous story summary: bining the most contextually relevant parts of both Sections’ Liza Turner graduates from law school. Outlines the high-level plan and the story thus far. Immediately before current passage: Recent Draft Liza Turner returns home to her small 3 Recursive Reprompting and Revision Story town, feeling both familiar and Summary unsafe. She is unsure if she wants to live there, but hesitant to leave. We now describe our Recursive Reprompting and Upcoming Revision framework (Re3 ), which decomposes Section In the upcoming passage, She moves back to her hometown to Outline start her career. the human writing process into our Plan, Draft, Rewrite, and Edit modules. See Appendix K for Auto- Full text below: She locked up the car and carried her concrete examples of each component in practice. regressive things into the house through the back Context door in case Peyton was home still. 3.1 Plan Module Figure 3: Illustration of the prompt constructed in Re3 ’s Draft module to generate each next story continuation. Our recursive Premise: A new law grad returns home reprompting approach combines pieces of the plan (blue) and Premise to start her career, but struggles with the broken justice system. previously generated story (grey) into a single prompt by concatenating the depicted components in order. Setting: The story is set in Setting a small town in the United States. For each point of the outline, we will generate 1. Character Portrait: Liza Turner is a 22-year-old woman. several story passages before moving on to the Plan Characters 2. Character Portrait: Peyton Turner is Liza’s older sister. next outline point. Each passage is generated as a Outline the main plot points of the fixed-length continuation from a structured prompt, story. 1. Liza Turner graduates from law which is composed by our recursive reprompting school. Outline 2. She moves back to her hometown to procedure as shown in Figure 3. start her career. The prompt begins with a selection of “Rel- 3. She struggles with the reality of the broken justice system. evant Context” shown at the top of Figure 3. As the story progresses, we dynamically update Figure 2: Illustration of Re3 ’s Plan module, which prompts a the list of character descriptions using a named- language model to generate a setting, characters, and outline based on the premise. Highlighting indicates generated text. entity-recognition-based pipeline, which identifies new entities from each new story passage using The Plan module augments a story premise with Flair (Akbik et al., 2018) and writes descriptions a setting, characters, and outline (Figure 2). using GPT3-Instruct-175B. Thus “Relevant Con- The setting is a simple one-sentence extension of text” initially contains all of the premise, setting, the premise, obtained by using The story is set and characters shown in Figure 2, but subsequently in to prompt GPT3-Instruct-175B (Ouyang et al., selects only what is most relevant to the most recent
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
核心方法到底怎么运转
系统先生成设定、人物和大纲。起草时,把计划中的相关内容与最近故事文本组合到下一次提示中,递归生成后续段落。这样,模型不必只依靠有限窗口里的最后几句猜测故事方向;但这只是提供信息,不保证模型一定遵守计划。 (原文:PDF p.3, Section 3)
指标:系统先生成设定、人物和大纲。起草时,把计划中的相关内容与最近故事文本组合到下一次提示中,递归生成后续段落。这样,模型不必只依靠有限窗口里的最后几句猜测故事方向;但这只是提供信息,不保证模型一定遵守计划。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
entirely in natural language space; however, we 2022), a version of GPT3 finetuned to better follow focus on fully automatic generation in this work. human instructions. Next, we use GPT3-Instruct- 175B to generate up to three character names and Prompting. Numerous works have demonstrated then descriptions, conditioned on the premise and general-purpose language models’ strong zero-shot setting. For names, we do rejection sampling using ability on a wide variety of tasks via prompt- simple heuristics to filter out malformed outputs ing (Brown et al., 2020; Zhong et al., 2021; Sanh (Appendix A). Finally, we prompt GPT3-Instruct- et al., 2021; Ouyang et al., 2022; Wu et al., 175B to write a numbered outline of the story and 2022). Careful prompt design can yield further parse the output into a list of outline points, re- gains (Lee et al., 2021; Liu et al., 2021; Kojima sampling until the list is well-formed. et al., 2022). However, most prompting methods These plan components, themselves generated focus on shorter-answer tasks rather than long-form by prompting, will be repeatedly reused to compose generation. Instead of generating the output in one prompts for generating story passages in the Draft shot, our recursive reprompting procedure treats module; hence recursive reprompting. prompting as a subroutine to generate the final output in conjunction with our planning and revi- 3.2 Draft Module sion infrastructure. Compared to chain-of-thought prompting approaches like Kojima et al. (2022), Relevant context: Relevant Re3 goes a step further by repeatedly re-composing Context Liza Turner is a 22-year-old woman. Peyton Turner is Liza’s older sister. the prompt in modular fashion, dynamically recom- Previous Previous story summary: bining the most contextually relevant parts of both Sections’ Liza Turner graduates from law school. Outlines the high-level plan and the story thus far. Immediately before current passage: Recent Draft Liza Turner returns home to her small 3 Recursive Reprompting and Revision Story town, feeling both familiar and Summary unsafe. She is unsure if she wants to live there, but hesitant to leave. We now describe our Recursive Reprompting and Upcoming Revision framework (Re3 ), which decomposes Section In the upcoming passage, She moves back to her hometown to Outline start her career. the human writing process into our Plan, Draft, Rewrite, and Edit modules. See Appendix K for Auto- Full text below: She locked up the car and carried her concrete examples of each component in practice. regressive things into the house through the back Context door in case Peyton was home still. 3.1 Plan Module Figure 3: Illustration of the prompt constructed in Re3 ’s Draft module to generate each next story continuation. Our recursive Premise: A new law grad returns home reprompting approach combines pieces of the plan (blue) and Premise to start her career, but struggles with the broken justice system. previously generated story (grey) into a single prompt by concatenating the depicted components in order. Setting: The story is set in Setting a small town in the United States. For each point of the outline, we will generate 1. Character Portrait: Liza Turner is a 22-year-old woman. several story passages before moving on to the Plan Characters 2. Character Portrait: Peyton Turner is Liza’s older sister. next outline point. Each passage is generated as a Outline the main plot points of the fixed-length continuation from a structured prompt, story. 1. Liza Turner graduates from law which is composed by our recursive reprompting school. Outline 2. She moves back to her hometown to procedure as shown in Figure 3. start her career. The prompt begins with a selection of “Rel- 3. She struggles with the reality of the broken justice system. evant Context” shown at the top of Figure 3. As the story progresses, we dynamically update Figure 2: Illustration of Re3 ’s Plan module, which prompts a the list of character descriptions using a named- language model to generate a setting, characters, and outline based on the premise. Highlighting indicates generated text. entity-recognition-based pipeline, which identifies new entities from each new story passage using The Plan module augments a story premise with Flair (Akbik et al., 2018) and writes descriptions a setting, characters, and outline (Figure 2). using GPT3-Instruct-175B. Thus “Relevant Con- The setting is a simple one-sentence extension of text” initially contains all of the premise, setting, the premise, obtained by using The story is set and characters shown in Figure 2, but subsequently in to prompt GPT3-Instruct-175B (Ouyang et al., selects only what is most relevant to the most recent
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
重排候选与改写事实是两个模块
Rewrite利用学习到的相关性与连贯性判断对候选续写进行重排;Edit则处理文本与人物事实的矛盾。冻结语言生成模型不等于整个系统没有训练,因为用于重排的分类器仍要学习。重排负责选哪段,编辑负责改掉什么,不能把二者当成同一个一致性打分器。 (原文:PDF p.4, Rewrite; Edit)
指标:Rewrite利用学习到的相关性与连贯性判断对候选续写进行重排;Edit则处理文本与人物事实的矛盾。冻结语言生成模型不等于整个系统没有训练,因为用于重排的分类器仍要学习。重排负责选哪段,编辑负责改掉什么,不能把二者当成同一个一致性打分器。
条件:仅限本地原始PDF的 Rewrite; Edit;不同表格与实验不合并
PDF p.4, Rewrite; Edit · PDF p.4
story passage using a pretrained Dense Passage Re- by reranking Draft module outputs based on coher- trieval (DPR) model (Karpukhin et al., 2020). ence with the previous passage and relevance to the The remainder of the prompt can be viewed as current outline point (Figure 4). a coarse-to-fine description of the previous story, We note that this Rewrite module is the only following the intuition that an author needs detailed part of Re3 which uses prior story data. All of the information about the most recent passage but per- modules which actually generate text (Plan, Draft, haps only higher-level information about much and to some extent Edit) do not require prior data. earlier passages. As shown in Figure 3, we in- Coherence Reranker. We train a discriminative clude “Previous Sections’ Outlines” as a very high- model to predict whether a continuation is coherent level summary of previous larger story sections, with the previous story. As data, we split stories followed by a “Recent Story Summary” written by from the WritingPrompts dataset (Fan et al., 2018) GPT3-Instruct-13B3 of a few penultimate passages. into passages up to 1000 tokens long, labeling the At the end we repeat verbatim the immediately pre- ending up to 200 tokens as the gold continuation. ceding passage as “Autoregressive Context” from Inspired by the contrastive learning setup of Wang which point the story should continue. Finally, to et al. (2020) and Guan et al. (2020), we obtain neg- enforce relevance to the current outline point, we ative examples by replacing the gold continuation include the “Current Section Outline” in the prompt with a random other continuation from either the just before “Autoregressive Context.” same story or a different one. We then finetune a Finally, the full prompt is fed to GPT3-175B to pretrained Longformer-Base (Beltagy et al., 2020) generate the next story passage.4 to classify whether a continuation is the true con- 3.3 Rewrite Module tinuation for a given passage. Relevance Reranker. We train a relevance model All the lights were off Coherence with the same architecture as our coherence model and there was no sign of Draft Peyton. She shrugged and + to predict whether a continuation is relevant to the Continuation decided to go out and Relevance 1 spend the rest of her current outline point. We construct a dataset of Rewrite evening at one of New -1.7 2000 training examples, where each example con- York City’s many bars. sists of a 200-token story passage from Writing- She knew Peyton was Coherence Draft probably working late at + Prompts and a brief summary written by GPT3- his restaurant so he Continuation wouldn't come home early Relevance Instruct-13B. Negative examples are constructed 2 to see her, but she wouldn't put it past him 2.0 ✓ by selecting the summary of a different passage, to do it anyway. whether in the same story or a different one. Figure 4: Re3 ’s Rewrite module reranks the Draft module’s Additional Heuristics. Finally, we filter out con- continuations for coherence and relevance. tinuations with some writing problems which are easy to detect via rule-based heuristics. For exam- The generator’s first output continuation is often ple, we check for repetition issues, e.g., repeating low-quality, even with the planning and recursive chunks of the structured prompt. Similarly, to main- reprompting in the Plan and Draft modules. Hu- tain consistent narration, we filter out first person mans may encounter a similar problem after a first continuations to enforce a consistent third person draft, particularly upon receiving feedback from perspective. Full details in Appendix B. others, and be forced to rewrite a passage altogether. Our Rewrite module models this rewriting process 3.4 Edit Module 3 As economical usage of large language models is becom- In contrast to the Rewrite module which reranks ing increasingly important (Strubell et al., 2019), we use the complete alternate continuations, the Edit module 13B model where we observe it is not substantially worse. 4 This step does not use GPT3-Instruct-175B, as we ob- makes local edits to further refine a passage pro- served in preliminary experiments that an earlier version of duced by careful planning, drafting, and rewriting. GPT3-Instruct-175B would frequently repeat sections of the Specifically, we aim to remove long-range fac- prompt. Generators other than GPT3-175B are also possible in principle: for example, retrieval-augmented architectures tual inconsistencies. When a human detects a small like RAG (Lewis et al., 2020) or architectures designed for factual discontinuity upon proofreading, he or she long-range dependencies like S4 (Gu et al., 2021). However, might simply edit the offending detail, rather than it is critical to use a sufficiently high-quality language model: even scaling down to GPT3-13B resulted in noticeably less making major changes to the high-level plan or do- coherent outputs in our preliminary experiments. ing substantial rewriting. Our Edit module mimics
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验怎样检验这个方法
消融把完整系统与分别删除Plan、Rewrite、Edit的版本成对比较,由人类判断故事的连贯、相关、有趣和自然程度。每组比较有自己的评分结果,不能把不同组的完整系统分数当成一把固定绝对尺子。 (原文:PDF p.8, experimental setup)
指标:消融把完整系统与分别删除Plan、Rewrite、Edit的版本成对比较,由人类判断故事的连贯、相关、有趣和自然程度。每组比较有自己的评分结果,不能把不同组的完整系统分数当成一把固定绝对尺子。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.8, experimental setup · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
结果说明了什么
消融表中,去掉Edit的版本连贯性为60.3,与之配对比较的完整Re3为57.3,差异未标为显著。相反,Plan和Rewrite在对应对照中更关键。因此,论文支持规划与重排的作用,却不支持“每个模块都被证明不可缺少”。不同消融的成对评审不能混成同一固定绝对评分。 (原文:PDF p.8, Table 4)
指标:消融表中,去掉Edit的版本连贯性为60.3,与之配对比较的完整Re3为57.3,差异未标为显著。相反,Plan和Rewrite在对应对照中更关键。因此,论文支持规划与重排的作用,却不支持“每个模块都被证明不可缺少”。不同消融的成对评审不能混成同一固定绝对评分。
条件:仅限本地原始PDF的 Table 4;不同表格与实验不合并
PDF p.8, Table 4 · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
这篇论文哪里最强,哪里最危险
作者发现编辑后仍有非人物事实、随时间变化的事实,以及遗漏大纲事件等连续性问题。结构化检测在受控人物矛盾任务中的ROC-AUC为0.684;这个局部检测实验不等于完整故事质量提升,也不能证明已经解决长篇的一切记忆和一致性问题。 (原文:PDF p.8, Section 5.1–5.2; Table 5)
指标:作者发现编辑后仍有非人物事实、随时间变化的事实,以及遗漏大纲事件等连续性问题。结构化检测在受控人物矛盾任务中的ROC-AUC为0.684;这个局部检测实验不等于完整故事质量提升,也不能证明已经解决长篇的一切记忆和一致性问题。
条件:仅限本地原始PDF的 Section 5.1–5.2; Table 5;不同表格与实验不合并
PDF p.8, Section 5.1–5.2; Table 5 · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
读完后记住这三件事
计划反复回到写作提示。重排与事实编辑分工不同。局部矛盾检测不等于整篇一致性解决。 (原文:PDF p.3, Section 3;PDF p.4, Rewrite; Edit;PDF p.8, experimental setup;PDF p.8, Table 4;PDF p.8, Section 5.1–5.2; Table 5)
指标:Re3希望改善长篇故事对初始设定和整体情节的偏离。单纯把最近一段交给模型继续写,容易忘记早期人物与计划。它把生成拆成规划、起草、重排和编辑,把全局目标反复带回局部写作。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
entirely in natural language space; however, we 2022), a version of GPT3 finetuned to better follow focus on fully automatic generation in this work. human instructions. Next, we use GPT3-Instruct- 175B to generate up to three character names and Prompting. Numerous works have demonstrated then descriptions, conditioned on the premise and general-purpose language models’ strong zero-shot setting. For names, we do rejection sampling using ability on a wide variety of tasks via prompt- simple heuristics to filter out malformed outputs ing (Brown et al., 2020; Zhong et al., 2021; Sanh (Appendix A). Finally, we prompt GPT3-Instruct- et al., 2021; Ouyang et al., 2022; Wu et al., 175B to write a numbered outline of the story and 2022). Careful prompt design can yield further parse the output into a list of outline points, re- gains (Lee et al., 2021; Liu et al., 2021; Kojima sampling until the list is well-formed. et al., 2022). However, most prompting methods These plan components, themselves generated focus on shorter-answer tasks rather than long-form by prompting, will be repeatedly reused to compose generation. Instead of generating the output in one prompts for generating story passages in the Draft shot, our recursive reprompting procedure treats module; hence recursive reprompting. prompting as a subroutine to generate the final output in conjunction with our planning and revi- 3.2 Draft Module sion infrastructure. Compared to chain-of-thought prompting approaches like Kojima et al. (2022), Relevant context: Relevant Re3 goes a step further by repeatedly re-composing Context Liza Turner is a 22-year-old woman. Peyton Turner is Liza’s older sister. the prompt in modular fashion, dynamically recom- Previous Previous story summary: bining the most contextually relevant parts of both Sections’ Liza Turner graduates from law school. Outlines the high-level plan and the story thus far. Immediately before current passage: Recent Draft Liza Turner returns home to her small 3 Recursive Reprompting and Revision Story town, feeling both familiar and Summary unsafe. She is unsure if she wants to live there, but hesitant to leave. We now describe our Recursive Reprompting and Upcoming Revision framework (Re3 ), which decomposes Section In the upcoming passage, She moves back to her hometown to Outline start her career. the human writing process into our Plan, Draft, Rewrite, and Edit modules. See Appendix K for Auto- Full text below: She locked up the car and carried her concrete examples of each component in practice. regressive things into the house through the back Context door in case Peyton was home still. 3.1 Plan Module Figure 3: Illustration of the prompt constructed in Re3 ’s Draft module to generate each next story continuation. Our recursive Premise: A new law grad returns home reprompting approach combines pieces of the plan (blue) and Premise to start her career, but struggles with the broken justice system. previously generated story (grey) into a single prompt by concatenating the depicted components in order. Setting: The story is set in Setting a small town in the United States. For each point of the outline, we will generate 1. Character Portrait: Liza Turner is a 22-year-old woman. several story passages before moving on to the Plan Characters 2. Character Portrait: Peyton Turner is Liza’s older sister. next outline point. Each passage is generated as a Outline the main plot points of the fixed-length continuation from a structured prompt, story. 1. Liza Turner graduates from law which is composed by our recursive reprompting school. Outline 2. She moves back to her hometown to procedure as shown in Figure 3. start her career. The prompt begins with a selection of “Rel- 3. She struggles with the reality of the broken justice system. evant Context” shown at the top of Figure 3. As the story progresses, we dynamically update Figure 2: Illustration of Re3 ’s Plan module, which prompts a the list of character descriptions using a named- language model to generate a setting, characters, and outline based on the premise. Highlighting indicates generated text. entity-recognition-based pipeline, which identifies new entities from each new story passage using The Plan module augments a story premise with Flair (Akbik et al., 2018) and writes descriptions a setting, characters, and outline (Figure 2). using GPT3-Instruct-175B. Thus “Relevant Con- The setting is a simple one-sentence extension of text” initially contains all of the premise, setting, the premise, obtained by using The story is set and characters shown in Figure 2, but subsequently in to prompt GPT3-Instruct-175B (Ouyang et al., selects only what is most relevant to the most recent
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:系统先生成设定、人物和大纲。起草时,把计划中的相关内容与最近故事文本组合到下一次提示中,递归生成后续段落。这样,模型不必只依靠有限窗口里的最后几句猜测故事方向;但这只是提供信息,不保证模型一定遵守计划。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
entirely in natural language space; however, we 2022), a version of GPT3 finetuned to better follow focus on fully automatic generation in this work. human instructions. Next, we use GPT3-Instruct- 175B to generate up to three character names and Prompting. Numerous works have demonstrated then descriptions, conditioned on the premise and general-purpose language models’ strong zero-shot setting. For names, we do rejection sampling using ability on a wide variety of tasks via prompt- simple heuristics to filter out malformed outputs ing (Brown et al., 2020; Zhong et al., 2021; Sanh (Appendix A). Finally, we prompt GPT3-Instruct- et al., 2021; Ouyang et al., 2022; Wu et al., 175B to write a numbered outline of the story and 2022). Careful prompt design can yield further parse the output into a list of outline points, re- gains (Lee et al., 2021; Liu et al., 2021; Kojima sampling until the list is well-formed. et al., 2022). However, most prompting methods These plan components, themselves generated focus on shorter-answer tasks rather than long-form by prompting, will be repeatedly reused to compose generation. Instead of generating the output in one prompts for generating story passages in the Draft shot, our recursive reprompting procedure treats module; hence recursive reprompting. prompting as a subroutine to generate the final output in conjunction with our planning and revi- 3.2 Draft Module sion infrastructure. Compared to chain-of-thought prompting approaches like Kojima et al. (2022), Relevant context: Relevant Re3 goes a step further by repeatedly re-composing Context Liza Turner is a 22-year-old woman. Peyton Turner is Liza’s older sister. the prompt in modular fashion, dynamically recom- Previous Previous story summary: bining the most contextually relevant parts of both Sections’ Liza Turner graduates from law school. Outlines the high-level plan and the story thus far. Immediately before current passage: Recent Draft Liza Turner returns home to her small 3 Recursive Reprompting and Revision Story town, feeling both familiar and Summary unsafe. She is unsure if she wants to live there, but hesitant to leave. We now describe our Recursive Reprompting and Upcoming Revision framework (Re3 ), which decomposes Section In the upcoming passage, She moves back to her hometown to Outline start her career. the human writing process into our Plan, Draft, Rewrite, and Edit modules. See Appendix K for Auto- Full text below: She locked up the car and carried her concrete examples of each component in practice. regressive things into the house through the back Context door in case Peyton was home still. 3.1 Plan Module Figure 3: Illustration of the prompt constructed in Re3 ’s Draft module to generate each next story continuation. Our recursive Premise: A new law grad returns home reprompting approach combines pieces of the plan (blue) and Premise to start her career, but struggles with the broken justice system. previously generated story (grey) into a single prompt by concatenating the depicted components in order. Setting: The story is set in Setting a small town in the United States. For each point of the outline, we will generate 1. Character Portrait: Liza Turner is a 22-year-old woman. several story passages before moving on to the Plan Characters 2. Character Portrait: Peyton Turner is Liza’s older sister. next outline point. Each passage is generated as a Outline the main plot points of the fixed-length continuation from a structured prompt, story. 1. Liza Turner graduates from law which is composed by our recursive reprompting school. Outline 2. She moves back to her hometown to procedure as shown in Figure 3. start her career. The prompt begins with a selection of “Rel- 3. She struggles with the reality of the broken justice system. evant Context” shown at the top of Figure 3. As the story progresses, we dynamically update Figure 2: Illustration of Re3 ’s Plan module, which prompts a the list of character descriptions using a named- language model to generate a setting, characters, and outline based on the premise. Highlighting indicates generated text. entity-recognition-based pipeline, which identifies new entities from each new story passage using The Plan module augments a story premise with Flair (Akbik et al., 2018) and writes descriptions a setting, characters, and outline (Figure 2). using GPT3-Instruct-175B. Thus “Relevant Con- The setting is a simple one-sentence extension of text” initially contains all of the premise, setting, the premise, obtained by using The story is set and characters shown in Figure 2, but subsequently in to prompt GPT3-Instruct-175B (Ouyang et al., selects only what is most relevant to the most recent
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:Rewrite利用学习到的相关性与连贯性判断对候选续写进行重排;Edit则处理文本与人物事实的矛盾。冻结语言生成模型不等于整个系统没有训练,因为用于重排的分类器仍要学习。重排负责选哪段,编辑负责改掉什么,不能把二者当成同一个一致性打分器。
条件:仅限本地原始PDF的 Rewrite; Edit;不同表格与实验不合并
PDF p.4, Rewrite; Edit · PDF p.4
story passage using a pretrained Dense Passage Re- by reranking Draft module outputs based on coher- trieval (DPR) model (Karpukhin et al., 2020). ence with the previous passage and relevance to the The remainder of the prompt can be viewed as current outline point (Figure 4). a coarse-to-fine description of the previous story, We note that this Rewrite module is the only following the intuition that an author needs detailed part of Re3 which uses prior story data. All of the information about the most recent passage but per- modules which actually generate text (Plan, Draft, haps only higher-level information about much and to some extent Edit) do not require prior data. earlier passages. As shown in Figure 3, we in- Coherence Reranker. We train a discriminative clude “Previous Sections’ Outlines” as a very high- model to predict whether a continuation is coherent level summary of previous larger story sections, with the previous story. As data, we split stories followed by a “Recent Story Summary” written by from the WritingPrompts dataset (Fan et al., 2018) GPT3-Instruct-13B3 of a few penultimate passages. into passages up to 1000 tokens long, labeling the At the end we repeat verbatim the immediately pre- ending up to 200 tokens as the gold continuation. ceding passage as “Autoregressive Context” from Inspired by the contrastive learning setup of Wang which point the story should continue. Finally, to et al. (2020) and Guan et al. (2020), we obtain neg- enforce relevance to the current outline point, we ative examples by replacing the gold continuation include the “Current Section Outline” in the prompt with a random other continuation from either the just before “Autoregressive Context.” same story or a different one. We then finetune a Finally, the full prompt is fed to GPT3-175B to pretrained Longformer-Base (Beltagy et al., 2020) generate the next story passage.4 to classify whether a continuation is the true con- 3.3 Rewrite Module tinuation for a given passage. Relevance Reranker. We train a relevance model All the lights were off Coherence with the same architecture as our coherence model and there was no sign of Draft Peyton. She shrugged and + to predict whether a continuation is relevant to the Continuation decided to go out and Relevance 1 spend the rest of her current outline point. We construct a dataset of Rewrite evening at one of New -1.7 2000 training examples, where each example con- York City’s many bars. sists of a 200-token story passage from Writing- She knew Peyton was Coherence Draft probably working late at + Prompts and a brief summary written by GPT3- his restaurant so he Continuation wouldn't come home early Relevance Instruct-13B. Negative examples are constructed 2 to see her, but she wouldn't put it past him 2.0 ✓ by selecting the summary of a different passage, to do it anyway. whether in the same story or a different one. Figure 4: Re3 ’s Rewrite module reranks the Draft module’s Additional Heuristics. Finally, we filter out con- continuations for coherence and relevance. tinuations with some writing problems which are easy to detect via rule-based heuristics. For exam- The generator’s first output continuation is often ple, we check for repetition issues, e.g., repeating low-quality, even with the planning and recursive chunks of the structured prompt. Similarly, to main- reprompting in the Plan and Draft modules. Hu- tain consistent narration, we filter out first person mans may encounter a similar problem after a first continuations to enforce a consistent third person draft, particularly upon receiving feedback from perspective. Full details in Appendix B. others, and be forced to rewrite a passage altogether. Our Rewrite module models this rewriting process 3.4 Edit Module 3 As economical usage of large language models is becom- In contrast to the Rewrite module which reranks ing increasingly important (Strubell et al., 2019), we use the complete alternate continuations, the Edit module 13B model where we observe it is not substantially worse. 4 This step does not use GPT3-Instruct-175B, as we ob- makes local edits to further refine a passage pro- served in preliminary experiments that an earlier version of duced by careful planning, drafting, and rewriting. GPT3-Instruct-175B would frequently repeat sections of the Specifically, we aim to remove long-range fac- prompt. Generators other than GPT3-175B are also possible in principle: for example, retrieval-augmented architectures tual inconsistencies. When a human detects a small like RAG (Lewis et al., 2020) or architectures designed for factual discontinuity upon proofreading, he or she long-range dependencies like S4 (Gu et al., 2021). However, might simply edit the offending detail, rather than it is critical to use a sufficiently high-quality language model: even scaling down to GPT3-13B resulted in noticeably less making major changes to the high-level plan or do- coherent outputs in our preliminary experiments. ing substantial rewriting. Our Edit module mimics
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:消融把完整系统与分别删除Plan、Rewrite、Edit的版本成对比较,由人类判断故事的连贯、相关、有趣和自然程度。每组比较有自己的评分结果,不能把不同组的完整系统分数当成一把固定绝对尺子。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.8, experimental setup · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:消融表中,去掉Edit的版本连贯性为60.3,与之配对比较的完整Re3为57.3,差异未标为显著。相反,Plan和Rewrite在对应对照中更关键。因此,论文支持规划与重排的作用,却不支持“每个模块都被证明不可缺少”。不同消融的成对评审不能混成同一固定绝对评分。
条件:仅限本地原始PDF的 Table 4;不同表格与实验不合并
PDF p.8, Table 4 · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:作者发现编辑后仍有非人物事实、随时间变化的事实,以及遗漏大纲事件等连续性问题。结构化检测在受控人物矛盾任务中的ROC-AUC为0.684;这个局部检测实验不等于完整故事质量提升,也不能证明已经解决长篇的一切记忆和一致性问题。
条件:仅限本地原始PDF的 Section 5.1–5.2; Table 5;不同表格与实验不合并
PDF p.8, Section 5.1–5.2; Table 5 · PDF p.8
Method Interesting ↑ Coherent ↑ Relevant ↑ Humanlike ↑ Misc. Problems ↓ DRAFT- REWRITE - EDIT 50.3 46.7 50.7 70.0 1.33 3 RE 59.7 63.3 63.7 80.0 1.25 PLAN - DRAFT- EDIT 46.3 42.3 42.7 59.7 1.48 3 RE 56.7 56.0 63.3 67.3 1.17 PLAN - DRAFT- REWRITE 55.0 60.3 59.3 87.7 1.10 3 RE 57.0 57.3 59.3 87.0 1.12 Table 4: Ablations on individual components of RE3 , removing the Plan, Rewrite, and Edit modules respectively. Each two rows show a pairwise comparison experiment between RE3 and the corresponding ablation. Bolding indicates significant differences with p < 0.05. Both the Plan and Rewrite module are critical to performance, but the Edit module makes little difference. Table 3 illustrates this interesting capability. as STRUCTURED - DETECT to avoid conflation with See Appendix J for additional complete, i.i.d. the Edit module as a whole. examples of stories from both RE3 and baselines. Task Setup. We construct an evaluation dataset 5 Analysis as follows. First we generate setups following our Plan module, up to but not including the outline. 5.1 Ablation Study For each setup s we randomly resample a char- Ablated Modules. We investigate the relative con- acter’s description until we manually observe a tribution of the individual modules of Re3 : Plan, contradiction with the original, yielding a contra- Draft, Rewrite, and Edit. We ablate each module dictory setup s0 . For each of s and s0 , we generate in turn as follows, except the Draft module as it is a story (t and t0 ), resampling until the contradicted unclear how our system would operate without it. attribute appears in the story. If the resampling 1. DRAFT- REWRITE - EDIT, a version of RE3 fails after 5 attempts we restart the whole proce- without the Plan module. Accordingly, we dure. We generate 50 (s, s0 , t, t0 ) tuples in total; remove the recursive reprompting in Draft. see Appendix L for an example. Thus DRAFT- REWRITE - EDIT generates text The task is then framed as classification: the identically to the ROLLING baseline, but is method should judge (s, t) and (s0 , t0 ) as consistent revised by our Rewrite and Edit modules. and (s, t0 ) and (s0 , t0 ) as contradictory. Thus the 50 2. PLAN - DRAFT- EDIT, a version of RE3 without (s, s0 , t, t0 ) tuples yield 200 input pairs. the Rewrite module reranking. Baselines. We construct two simple baselines us- 3. PLAN - DRAFT- REWRITE, a version of RE3 ing the same BART-Large-MNLI entailment model which no longer edits using the Edit module. used in STRUCTURED - DETECT. Given a (s, t) pair, the first baseline, ENTAILMENT, simply checks Results. Table 4 shows that both the Plan and each sentence of s pairwise against each sentence Rewrite modules, mimicking the human planning of t, and returns the maximum probability of and rewriting processes, are critical for overall plot contradiction across all pairs. The second base- coherence and premise relevance. However, the line, ENTAILMENT- DPR, checks each sentence of t Edit module contributes little to these metrics. We against only one sentence of s based on relevance also observe qualitatively that there remain many judged by DPR (Karpukhin et al., 2020). continuity issues in RE3 ’s final stories which are not resolved by our Edit module, but which could be Results. As shown in Table 5, when detect- fixed by an attentive human editor. Such continuity ing character-based inconsistencies, STRUCTURED - issues range from non-character-centric inconsis- DETECT outperforms the two baselines according tencies, to facts which change over time, to outline plot points which were omitted in the story. Method ROC-AUC ↑ 5.2 Further Analysis of Edit Module ENTAILMENT 0.528 ENTAILMENT- DPR 0.610 We use a controlled setting to investigate if the STRUCTURED - DETECT 0.684 Edit module can at least detect the character- based factual inconsistencies for which it is de- Table 5: ROC-AUC score of predicted contradiction probabili- ties for different methods on our evaluation set. STRUCTURED - signed. We will refer to our detection subsystem DETECT outperforms our two entailment-based baselines.
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
代码从哪里读
原始来源入口。已打开与论文对应的作者仓库或项目页。先对照原文的方法模块与README使用说明;仓库后续更新不自动等于论文实验版本。本轮没有安装依赖、调用模型或复现论文结果。