先说结论
DOC 的贡献是把详细大纲与生成控制配合起来,而非承诺无条件遵循计划。它提高了实验中的部分质量与大纲忠实度,但控制不是百分之百成功,也有模型接口要求。 (原文:PDF p.3, §3;PDF p.5, §3; controller;PDF p.6, experimental setup;PDF p.6, Table 1;PDF p.8, Table 6;PDF p.8, Table 5)
指标:DOC 希望长故事既有详细计划,又能在实际续写中跟住计划。单有大纲并不够:生成模型可能越写越偏离当前情节。作者因此把详细大纲生成器与控制器结合,让一个模块规划要写什么,另一个模块在生成时促进对当前大纲点的遵循。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.3, §3 · PDF p.3
Structured Prompt For Drafting However, prompting and reranking approaches are 1. Daisy is a kind-hearted old woman. limited in the strength of control they can exert Characters She has cancer. Bill is her husband. 2. Lisa is Daisy’s daughter. over the model distribution, which is especially Summary Daisy is diagnosed with cancer. Lisa problematic for systems like Re3 which rely on (Far Past) is trying to find a viable treatment. complex constraints and long context in a struc- Summary Lisa has been stressed out lately, and tured prompt. Indeed, Yang et al. (2022) observe (Near Past) Daisy expresses her concern. that many of Re3 ’s stories already omit parts of Lisa tirelessly continues her research. Upcoming even their brief three-point outline—and DOC’s Lisa finally finds a cure. Events Setting: Lisa’s laboratory. outline will impose far more detailed constraints. Verbatim Lisa looked back at Daisy, her eyes Preceding clear and full of determination. Therefore, we design DOC’s detailed controller Passage “I’ve got this, mom. Hang in there.” to more strongly enforce the complex natural lan- guage constraints set by the outline. Our detailed Figure 2: Stylized example showing the main components of the structured prompt used to draft new story passages in controller, an adaptation of FUDGE (Yang and Re3 and DOC. Leveraging our detailed outline and detailed Klein, 2021), will operate token-by-token through- controller, new elements of DOC’s prompt include character out generation instead of relying on only an initial development over time (red), more detailed events based on outline leaf nodes (orange), future context (green), and im- prompt or post-hoc rejection sampling. proved setting and character information (purple). Outline Yang et al. (2022), though we remove the time- 1. Sue flies to Italy. consuming editing step, which they find does not Breadth-First Expansion 2. … significantly affect final story quality. However, Yang et al. (2022) note that despite Event Candidate Setting + Character Generation Detection greatly outperforming simple rolling-window base- 1. Sue flies to Italy. 1. Sue flies to Italy. lines, Re3 still makes frequent errors in long-range a. a. Sue calls her agent. Filtering, coherence: some stories still contain lengthy pas- a. Sue goes home. Reranking Setting: Sue’s home sages which seem not to fit the surrounding context, a. Sue calls her agent. Characters: Sue, Anna or deviate heavily from the initial outline. DOC a. Dave waves goodbye. aims to address these shortcomings via two major innovations: more detailed planning via our de- Figure 3: Diagram of new entry creation in the detailed out- line. Our detailed outliner recursively expands outline items tailed outliner, and correspondingly fine-grained in breadth-first order. To create each new entry, it proposes control during drafting via our detailed controller. candidate events and selects the best via filtering and rerank- ing, and then detects the setting and relevant characters. Detailed Outliner Motivation. While Re3 ’s out- lines are plausible, they are insufficiently concrete, 3.2 Detailed Outliner and do not scale to longer stories. A human author would not write a novel given just a three-sentence Our detailed outliner recursively generates a hi- beginning, middle, and end. Not only can a more erarchical detailed outline at arbitrary granularity. detailed outline empirically result in improved plot Figure 3 summarizes the individual components. coherence (Section 4), but it can enable greater Breadth-First Expansion. Viewing the outline control in human interaction as well (Section 4.1). as a tree T initialized as just a root node r, we Therefore, DOC constructs a detailed outline generate children in breadth-first expansion order. (e.g., Figure 1 “Detailed Outline”) with depth ad- Starting from the items of the initial top-level out- justable according to the desired length of the final line (depth 1), we generate all of their children story. The detailed outline shifts creative burden (depth 2), then all childrens’ children (depth 3), from drafting to planning, reducing the need to and so forth. For each parent node p, we gener- improvise plot points on the fly during drafting. ate children one by one, stopping when a child c’s Detailed Controller Motivation. The greater level event description ends with the end-of-text token. of detail in our outline makes it much harder to stay We restart and resample for a given p if there are faithful to that outline. To work with large language too few or too many children, although empirically models such as GPT3-175B during drafting, prior this procedure almost always results in just two works such as Re3 have relied on clever prompt- or three children. We terminate outline generation ing together with rejection sampling or reranking. after reaching a pre-specified depth. 3380
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:控制器不是一句额外提示。它对候选延续作与大纲相关的判别,并通过 FUDGE 式控制影响生成。这个设计依赖生成侧的概率信息和专门训练的判别器;不能把它描述成对任意黑盒聊天接口都能直接使用的通用包装。
条件:仅限本地原始PDF的 §3; controller;不同表格与实验不合并
PDF p.5, §3; controller · PDF p.5
ing InstructGPT3-13B to summarize story passages not appear in the previous outline item, we from the WritingPrompts dataset (Fan et al., 2018); construct an input “summary” stating as such, these summaries can then be viewed as outline again using lower control strength. events corresponding to the original passages. We Control Strength. In practice, we must balance train the FUDGE discriminator contrastively by control strength: too low strength risks deviating finetuning OPT-350m to predict whether a passage from the constraint, while too high strength risks prefix matches a given summary. In particular, we narrowly-focused, repetitive generations which sac- construct hard negatives by matching passages with rifice creativity. We aim to strike this balance summaries from elsewhere in the same story. dynamically during drafting by using a control The result is a computationally lightweight de- strength of 0 initially for each outline item, incre- tailed controller which can guide passage genera- menting it with each subsequent drafting step, until tion according to a short natural language descrip- satisfying our early stopping criteria for moving to tion, with adjustable control strength. the next outline item and resetting back to 0. Training to Maintain Relevance. In our training Future Context in Generation. Context from fu- data, passages are either entirely correct or entirely ture parts of the outline can help generated passages wrong for a given summary—even for “hard” neg- transition better to subsequent story events. How- atives from the same story—so the discriminator ever, including future plot points in the prompt risks learns to predict high probabilities for any roughly premature generation of future events in the ab- aligned passage at test time. The resulting con- sence of proper control, which we observed when troller allows longer passages to quickly stray off trying to include such context in Re3 . Our detailed topic after starting out on topic. controller remedies this issue to some degree by Thus we construct even harder training negatives. controlling more strongly toward the current out- Given a positive passage-summary pair, we split line item. Therefore, when drafting for a given the passage at a sentence boundary, and replace outline item, we include the next outline item as the text after the sentence boundary with text from future context in the prompt (Figure 2, green text). another passage in the same story (beginning at a sentence boundary). We thus obtain grammatically- 4 Evaluation fluent corrupted passages which begin correctly for a given summary, but eventually stray off topic. Experiment Setup. Our setup is similar to Yang Prefixes of such passages ending after the sentence et al. (2022). The input is just a brief (English) boundary can then be given the negative label dur- premise, typically 30-60 words, sampled from ing training. Thus our detailed controller learns to InstructGPT3-175B. The output is a complete story. maintain high relevance to the input description. We do not impose further rule-based constraints, Using the same methodology, we also construct as it is unclear how to define a “story,” let alone “harder positives” by mixing negative prefixes with a “good” story. Instead, quality will be judged via positive completions, improving the controller’s human-annotated metrics. ability to get back on track should it go astray. Metrics. To decrease noise, we compare 1000- 3.3.1 Drafting With Detailed Control to 1500-word passages corresponding to the same top-level outline item, rather than complete stories. During drafting, we illustrate the flexibility of our We use three main metrics, similar to those from detailed controller by controlling passages accord- Yang et al. (2022) (Appendix C), adapted for com- ing to three different types of constraints imposed paring passages instead of complete stories: by our detailed outline, as follows. 1. Event. We feed the event description (Figure 1. Coherent. Percentage of passages judged plot- 2, orange text) verbatim to the controller. coherent by human annotators. 2. Setting. If the setting changed from the previ- 2. Relevant. Percentage judged faithful to the ous outline item, we construct an input “sum- corresponding outline item. mary” stating that the characters move to the 3. Interesting. Percentage judged interesting. new setting, using lower control strength com- Annotators are shown two passages side-by-side pared to the event description. (Appendix K.1); for each metric we ask them to an- 3. Character. If a character appears who did notate which passage is better, or possibly both or 3382
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:实验将 DOC 与 RE3、ROLLING-OPT 比较,并让评审针对对应大纲片段评价连贯性、相关性和趣味性。基线共享部分计划信息,不能把比较简化成“有大纲战胜没有大纲”。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.6, experimental setup · PDF p.6
neither. Thus all numbers are meaningful only rela- Method Coherent Relevant Interesting tive to the method being compared against. Each RE 3 45.1 37.1 39.4 pairwise comparison is labeled by three annotators. DOC 67.6 65.3 60.1 We use Surge AI for annotation due to observing ROLLING - OPT 38.0 25.4 25.4 higher-quality results compared to Amazon Me- DOC 80.8 78.9 69.5 chanical Turk. We find higher agreement compared Table 1: Pairwise comparisons of DOC against baselines on to Yang et al. (2022) (Appendix I), likely due to passages corresponding to top-level outline items from 20 sto- Surge AI and our more focused annotation task. ries. Bold indicates significance with p < 0.05. DOC stories are rated substantially more plot-coherent, outline-relevant, Method Instantiation. We henceforth refer to the and interesting compared to RE3 and ROLLING - OPT. concrete instantiation of our DOC framework as DOC . In particular, we set outline depth to 3 and PREMISE: A young woman is determined to never get married and live her life alone, but when limit the branching factor to be between 2 and 5, she meets a man who seems perfect for her, she resulting in stories averaging roughly 3500 words begins to rethink her decision. in length. We limit the model context window to GENERATED OUTLINE: 1024 tokens as in Yang et al. (2022), so final stories 1. Jenna Adams meets Brian Johnson and immediately feels drawn to him. are substantially longer than the visible context at a. Jenna Adams meets Brian Johnson and feels any step. The base generator used during draft- an instant connection to him. ing is OPT-175B (Zhang et al., 2022), due to the b. The two of them start dating and Jenna Adams begins to fall in love with Brian practical issue of requiring deeper model access Johnson. than the GPT3 API supports (specifically, efficient 2. Jenna Adams starts to think that maybe marriage isn’t so bad after all when Brian token-level access to logits). See Appendix D for Johnson seems like the perfect man for her. further discussion, and Appendix E for complete a. Jenna Adams starts to think that maybe hyperparameters. marriage isn’t so bad when Brian Johnson seems like the perfect man for her. Baselines. We run two baselines. b. After much soul searching, Jenna Adams decides that she wants to marry Brian Johnson. 1. RE3 : Our main baseline is based on Re3 (Yang 3. However, when Brian Johnson’s ex-girlfriend shows up and tries to win him back, Jenna et al., 2022), the only previous system we are Adams realizes that marriage isn’t for her aware of that automatically generates stories after all and that it’s better to be alone of comparable length. For fair comparison, than with someone who doesn’t truly love you. a. Jenna Adams overhears a conversation we modify Re3 to also use OPT-175B dur- between Brian Johnson and his ex-girlfriend, ing drafting. Hyperparameters are set to their Teresa Campbell. paper values, except for the number of genera- b. Jenna Adams confronts Brian Johnson about the conversation and Brian Johnson tion steps per outline item, which we increase confesses that he still has feelings for slightly to match average story length with Teresa Campbell. DOC . We reuse the setting, characters, and c. Jenna Adams breaks up with Brian Johnson. d. Jenna Adams decides that it’s better to top-level outline from DOC for RE3 , as the be alone than with someone who doesn’t truly planning differs only slightly up to here (DOC love you. only uses more characters, and generates the Table 2: Example of a premise and heavily abridged DOC outline item-by-item instead of in one shot). outline (settings, characters, and depth-3 items omitted; see 2. ROLLING - OPT: A sanity check using OPT- Appendix M, Table 28 for complete plan). 175B with the same context window as DOC and RE 3 . The prompt contains the intuition that plot coherence and outline relevance premise and top-level outline item (Appendix should benefit from shifting creative work from F), followed by a rolling window on the planning to drafting, together with improved con- previously-generated story as fits in the trol. Perhaps surprisingly, annotators also judged prompt. ROLLING - OPT generates the same DOC ’s passages to be significantly more interest- length of text per outline item as RE3 . ing, which ablations suggest is a result of our more Results. As shown in Table 1, DOC passages detailed (and more eventful) outline (Section 5.1). are judged dramatically more plot-coherent and Of course, qualitative inspection reveals room outline-relevant compared to RE3 , not to mention for improvement. While DOC usually does not de- the weak ROLLING - OPT. The results confirm our viate heavily from the top-level outline—unlike 3383
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:Table 1 中,相比 RE3,DOC 的连贯性、相关性、趣味性偏好比例为 67.6%、65.3%、60.1%。评审允许选择双方或都不选择,所以这些不是必然互补的二选一胜负率。比较另一基线时也不能说 ROLLING-OPT 完全没有规划:它同样使用前提与顶层大纲。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.6, Table 1 · PDF p.6
neither. Thus all numbers are meaningful only rela- Method Coherent Relevant Interesting tive to the method being compared against. Each RE 3 45.1 37.1 39.4 pairwise comparison is labeled by three annotators. DOC 67.6 65.3 60.1 We use Surge AI for annotation due to observing ROLLING - OPT 38.0 25.4 25.4 higher-quality results compared to Amazon Me- DOC 80.8 78.9 69.5 chanical Turk. We find higher agreement compared Table 1: Pairwise comparisons of DOC against baselines on to Yang et al. (2022) (Appendix I), likely due to passages corresponding to top-level outline items from 20 sto- Surge AI and our more focused annotation task. ries. Bold indicates significance with p < 0.05. DOC stories are rated substantially more plot-coherent, outline-relevant, Method Instantiation. We henceforth refer to the and interesting compared to RE3 and ROLLING - OPT. concrete instantiation of our DOC framework as DOC . In particular, we set outline depth to 3 and PREMISE: A young woman is determined to never get married and live her life alone, but when limit the branching factor to be between 2 and 5, she meets a man who seems perfect for her, she resulting in stories averaging roughly 3500 words begins to rethink her decision. in length. We limit the model context window to GENERATED OUTLINE: 1024 tokens as in Yang et al. (2022), so final stories 1. Jenna Adams meets Brian Johnson and immediately feels drawn to him. are substantially longer than the visible context at a. Jenna Adams meets Brian Johnson and feels any step. The base generator used during draft- an instant connection to him. ing is OPT-175B (Zhang et al., 2022), due to the b. The two of them start dating and Jenna Adams begins to fall in love with Brian practical issue of requiring deeper model access Johnson. than the GPT3 API supports (specifically, efficient 2. Jenna Adams starts to think that maybe marriage isn’t so bad after all when Brian token-level access to logits). See Appendix D for Johnson seems like the perfect man for her. further discussion, and Appendix E for complete a. Jenna Adams starts to think that maybe hyperparameters. marriage isn’t so bad when Brian Johnson seems like the perfect man for her. Baselines. We run two baselines. b. After much soul searching, Jenna Adams decides that she wants to marry Brian Johnson. 1. RE3 : Our main baseline is based on Re3 (Yang 3. However, when Brian Johnson’s ex-girlfriend shows up and tries to win him back, Jenna et al., 2022), the only previous system we are Adams realizes that marriage isn’t for her aware of that automatically generates stories after all and that it’s better to be alone of comparable length. For fair comparison, than with someone who doesn’t truly love you. a. Jenna Adams overhears a conversation we modify Re3 to also use OPT-175B dur- between Brian Johnson and his ex-girlfriend, ing drafting. Hyperparameters are set to their Teresa Campbell. paper values, except for the number of genera- b. Jenna Adams confronts Brian Johnson about the conversation and Brian Johnson tion steps per outline item, which we increase confesses that he still has feelings for slightly to match average story length with Teresa Campbell. DOC . We reuse the setting, characters, and c. Jenna Adams breaks up with Brian Johnson. d. Jenna Adams decides that it’s better to top-level outline from DOC for RE3 , as the be alone than with someone who doesn’t truly planning differs only slightly up to here (DOC love you. only uses more characters, and generates the Table 2: Example of a premise and heavily abridged DOC outline item-by-item instead of in one shot). outline (settings, characters, and depth-3 items omitted; see 2. ROLLING - OPT: A sanity check using OPT- Appendix M, Table 28 for complete plan). 175B with the same context window as DOC and RE 3 . The prompt contains the intuition that plot coherence and outline relevance premise and top-level outline item (Appendix should benefit from shifting creative work from F), followed by a rolling window on the planning to drafting, together with improved con- previously-generated story as fits in the trol. Perhaps surprisingly, annotators also judged prompt. ROLLING - OPT generates the same DOC ’s passages to be significantly more interest- length of text per outline item as RE3 . ing, which ablations suggest is a result of our more Results. As shown in Table 1, DOC passages detailed (and more eventful) outline (Section 5.1). are judged dramatically more plot-coherent and Of course, qualitative inspection reveals room outline-relevant compared to RE3 , not to mention for improvement. While DOC usually does not de- the weak ROLLING - OPT. The results confirm our viate heavily from the top-level outline—unlike 3383
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:大纲忠实度中,DOC 为 58.5%,NoControl 为 37.8%。控制器有帮助,但离完美遵循仍有距离;这张表直接反驳“百分之百服从大纲”的说法。
条件:仅限本地原始PDF的 Table 6;不同表格与实验不合并
PDF p.8, Table 6 · PDF p.8
1. DOC - NOOUTLINE, which generates only ac- Method Detailed-Relevant cording to the top-level outline instead of DOC - NOCONTROL 37.8 the full detailed outline, using fixed passage DOC 58.5 length per outline item (instead of early stop- Table 6: Percentage of short passages that are faithful to cor- ping) and a fixed-strength detailed controller. responding outline leaf nodes, ablating the detailed controller. 2. DOC - NOCONTROL, which is identical to DOC Bold indicates significance with p < 0.05. The detailed con- except the detailed controller is turned off. troller greatly improves relevance to leaf nodes. We reuse the same coherence, relevance, and overly vague. Second, the detailed controller may interestingness metrics from Table 1. be unable to sufficiently steer the generation with- Method Coherent Relevant Interesting out further increasing control strength (which may sacrifice fluency). Thus, while DOC is substantially DOC - NOOUTLINE 61.8 41.2 57.8 DOC 73.5 64.7 66.7 more faithful to the outline compared to baselines, DOC - NOCONTROL 62.7 52.0 58.8 a good deal of headroom remains. DOC 70.6 73.5 50.0 6 Discussion Table 5: Pairwise comparisons of DOC vs. ablations without the detailed outliner and detailed controller, respectively, on We have presented the DOC framework for im- passages from 10 stories. Bold indicates significance with proving long-range coherence in long-form story p < 0.05. Although the results on plot-coherence and in- terestingness are inconclusive, both the detailed outliner and generation. DOC uses a detailed outliner to shift detailed controller are important for outline relevance. creative work from drafting to planning, and em- ploys a detailed controller to maintain faithfulness Results. As shown in Table 5, compared to both to the detailed outline during drafting. Compared ablations, DOC maintains significantly higher rel- to the prior state-of-the-art, Re3 , DOC dramatically evance to top-level outline items. Thus both the improves the plot-coherence, outline relevance, and detailed outliner and detailed controller meaning- even interestingness of generated stories according fully contribute to our method’s ability to follow to human annotators. Nevertheless, there remain the high-level outline. Although the gaps in plot many interesting future directions. coherence and interestingness are not statistically Other Text Domains. We have focused on creative significant, the ablations suggest that DOC’s gain in stories in this work, but we believe many of our interestingness compared to prior work is mainly high-level ideas could be applicable to other long- due to the more detailed outline; if anything, the de- form text generation settings, such as Wikipedia ar- tailed controller may slightly hurt interestingness. ticles or movie scripts. Generation in such settings Indeed—perhaps unsurprisingly—we observe qual- could potentially benefit from detailed planning itatively that further increasing control strength via an outline, combined with additional control to yields increasingly narrowly-focused, repetitive maintain faithfulness to the initial plan. Of course, outputs at the expense of creativity. many of our specific prompts would require sub- 5.2 Detailed Relevance Evaluation stantial modification to adapt to a new domain. We now examine DOC’s faithfulness to the out- Improved Human Interaction. In Section 4.1 we line at the leaves instead of at the top level. For experimented with DOC in a human-interactive set- each leaf-node outline item, we ask one annotator ting, enabling the human to interact with DOC at a whether the event specified in the leaf occurred in high-level planning stage, in contrast to previous either the corresponding passage or in the immedi- works which operated at the drafting level (Coenen ately preceding and following passages (Appendix et al., 2021; Lee et al., 2022). We are excited to K.3). We do the same for DOC - NOCONTROL. continue exploring novel forms of human interac- tion that become possible as automated generation Results. Table 6 confirms that the detailed con- capabilities continue to improve. troller substantially improves DOC’s ability to fol- low low-level outline details during drafting. Scaling to Longer Texts. While our stories (ex- However, the overall numbers remain low, point- ceeding 3500 words on average) are lengthy by ing to two issues. First, the outline leaf itself may neural text generation standards, they remain rel- be problematic: it may be unexpected in context, or atively short by human authors’ standards. We 3385
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:消融中相关性的差异有显著性支持,连贯性与趣味性的差异不能同样当作确定改善。最小结论是详细规划加生成控制在论文设置下改善部分质量与忠实度,而不是所有指标都稳胜、所有模型都适用。
条件:仅限本地原始PDF的 Table 5;不同表格与实验不合并
PDF p.8, Table 5 · PDF p.8
1. DOC - NOOUTLINE, which generates only ac- Method Detailed-Relevant cording to the top-level outline instead of DOC - NOCONTROL 37.8 the full detailed outline, using fixed passage DOC 58.5 length per outline item (instead of early stop- Table 6: Percentage of short passages that are faithful to cor- ping) and a fixed-strength detailed controller. responding outline leaf nodes, ablating the detailed controller. 2. DOC - NOCONTROL, which is identical to DOC Bold indicates significance with p < 0.05. The detailed con- except the detailed controller is turned off. troller greatly improves relevance to leaf nodes. We reuse the same coherence, relevance, and overly vague. Second, the detailed controller may interestingness metrics from Table 1. be unable to sufficiently steer the generation with- Method Coherent Relevant Interesting out further increasing control strength (which may sacrifice fluency). Thus, while DOC is substantially DOC - NOOUTLINE 61.8 41.2 57.8 DOC 73.5 64.7 66.7 more faithful to the outline compared to baselines, DOC - NOCONTROL 62.7 52.0 58.8 a good deal of headroom remains. DOC 70.6 73.5 50.0 6 Discussion Table 5: Pairwise comparisons of DOC vs. ablations without the detailed outliner and detailed controller, respectively, on We have presented the DOC framework for im- passages from 10 stories. Bold indicates significance with proving long-range coherence in long-form story p < 0.05. Although the results on plot-coherence and in- terestingness are inconclusive, both the detailed outliner and generation. DOC uses a detailed outliner to shift detailed controller are important for outline relevance. creative work from drafting to planning, and em- ploys a detailed controller to maintain faithfulness Results. As shown in Table 5, compared to both to the detailed outline during drafting. Compared ablations, DOC maintains significantly higher rel- to the prior state-of-the-art, Re3 , DOC dramatically evance to top-level outline items. Thus both the improves the plot-coherence, outline relevance, and detailed outliner and detailed controller meaning- even interestingness of generated stories according fully contribute to our method’s ability to follow to human annotators. Nevertheless, there remain the high-level outline. Although the gaps in plot many interesting future directions. coherence and interestingness are not statistically Other Text Domains. We have focused on creative significant, the ablations suggest that DOC’s gain in stories in this work, but we believe many of our interestingness compared to prior work is mainly high-level ideas could be applicable to other long- due to the more detailed outline; if anything, the de- form text generation settings, such as Wikipedia ar- tailed controller may slightly hurt interestingness. ticles or movie scripts. Generation in such settings Indeed—perhaps unsurprisingly—we observe qual- could potentially benefit from detailed planning itatively that further increasing control strength via an outline, combined with additional control to yields increasingly narrowly-focused, repetitive maintain faithfulness to the initial plan. Of course, outputs at the expense of creativity. many of our specific prompts would require sub- 5.2 Detailed Relevance Evaluation stantial modification to adapt to a new domain. We now examine DOC’s faithfulness to the out- Improved Human Interaction. In Section 4.1 we line at the leaves instead of at the top level. For experimented with DOC in a human-interactive set- each leaf-node outline item, we ask one annotator ting, enabling the human to interact with DOC at a whether the event specified in the leaf occurred in high-level planning stage, in contrast to previous either the corresponding passage or in the immedi- works which operated at the drafting level (Coenen ately preceding and following passages (Appendix et al., 2021; Lee et al., 2022). We are excited to K.3). We do the same for DOC - NOCONTROL. continue exploring novel forms of human interac- tion that become possible as automated generation Results. Table 6 confirms that the detailed con- capabilities continue to improve. troller substantially improves DOC’s ability to fol- low low-level outline details during drafting. Scaling to Longer Texts. While our stories (ex- However, the overall numbers remain low, point- ceeding 3500 words on average) are lengthy by ing to two issues. First, the outline leaf itself may neural text generation standards, they remain rel- be problematic: it may be unexpected in context, or atively short by human authors’ standards. We 3385
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
论文为什么要做这件事
DOC 希望长故事既有详细计划,又能在实际续写中跟住计划。单有大纲并不够:生成模型可能越写越偏离当前情节。作者因此把详细大纲生成器与控制器结合,让一个模块规划要写什么,另一个模块在生成时促进对当前大纲点的遵循。 (原文:PDF p.3, §3)
指标:DOC 希望长故事既有详细计划,又能在实际续写中跟住计划。单有大纲并不够:生成模型可能越写越偏离当前情节。作者因此把详细大纲生成器与控制器结合,让一个模块规划要写什么,另一个模块在生成时促进对当前大纲点的遵循。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.3, §3 · PDF p.3
Structured Prompt For Drafting However, prompting and reranking approaches are 1. Daisy is a kind-hearted old woman. limited in the strength of control they can exert Characters She has cancer. Bill is her husband. 2. Lisa is Daisy’s daughter. over the model distribution, which is especially Summary Daisy is diagnosed with cancer. Lisa problematic for systems like Re3 which rely on (Far Past) is trying to find a viable treatment. complex constraints and long context in a struc- Summary Lisa has been stressed out lately, and tured prompt. Indeed, Yang et al. (2022) observe (Near Past) Daisy expresses her concern. that many of Re3 ’s stories already omit parts of Lisa tirelessly continues her research. Upcoming even their brief three-point outline—and DOC’s Lisa finally finds a cure. Events Setting: Lisa’s laboratory. outline will impose far more detailed constraints. Verbatim Lisa looked back at Daisy, her eyes Preceding clear and full of determination. Therefore, we design DOC’s detailed controller Passage “I’ve got this, mom. Hang in there.” to more strongly enforce the complex natural lan- guage constraints set by the outline. Our detailed Figure 2: Stylized example showing the main components of the structured prompt used to draft new story passages in controller, an adaptation of FUDGE (Yang and Re3 and DOC. Leveraging our detailed outline and detailed Klein, 2021), will operate token-by-token through- controller, new elements of DOC’s prompt include character out generation instead of relying on only an initial development over time (red), more detailed events based on outline leaf nodes (orange), future context (green), and im- prompt or post-hoc rejection sampling. proved setting and character information (purple). Outline Yang et al. (2022), though we remove the time- 1. Sue flies to Italy. consuming editing step, which they find does not Breadth-First Expansion 2. … significantly affect final story quality. However, Yang et al. (2022) note that despite Event Candidate Setting + Character Generation Detection greatly outperforming simple rolling-window base- 1. Sue flies to Italy. 1. Sue flies to Italy. lines, Re3 still makes frequent errors in long-range a. a. Sue calls her agent. Filtering, coherence: some stories still contain lengthy pas- a. Sue goes home. Reranking Setting: Sue’s home sages which seem not to fit the surrounding context, a. Sue calls her agent. Characters: Sue, Anna or deviate heavily from the initial outline. DOC a. Dave waves goodbye. aims to address these shortcomings via two major innovations: more detailed planning via our de- Figure 3: Diagram of new entry creation in the detailed out- line. Our detailed outliner recursively expands outline items tailed outliner, and correspondingly fine-grained in breadth-first order. To create each new entry, it proposes control during drafting via our detailed controller. candidate events and selects the best via filtering and rerank- ing, and then detects the setting and relevant characters. Detailed Outliner Motivation. While Re3 ’s out- lines are plausible, they are insufficiently concrete, 3.2 Detailed Outliner and do not scale to longer stories. A human author would not write a novel given just a three-sentence Our detailed outliner recursively generates a hi- beginning, middle, and end. Not only can a more erarchical detailed outline at arbitrary granularity. detailed outline empirically result in improved plot Figure 3 summarizes the individual components. coherence (Section 4), but it can enable greater Breadth-First Expansion. Viewing the outline control in human interaction as well (Section 4.1). as a tree T initialized as just a root node r, we Therefore, DOC constructs a detailed outline generate children in breadth-first expansion order. (e.g., Figure 1 “Detailed Outline”) with depth ad- Starting from the items of the initial top-level out- justable according to the desired length of the final line (depth 1), we generate all of their children story. The detailed outline shifts creative burden (depth 2), then all childrens’ children (depth 3), from drafting to planning, reducing the need to and so forth. For each parent node p, we gener- improvise plot points on the fly during drafting. ate children one by one, stopping when a child c’s Detailed Controller Motivation. The greater level event description ends with the end-of-text token. of detail in our outline makes it much harder to stay We restart and resample for a given p if there are faithful to that outline. To work with large language too few or too many children, although empirically models such as GPT3-175B during drafting, prior this procedure almost always results in just two works such as Re3 have relied on clever prompt- or three children. We terminate outline generation ing together with rejection sampling or reranking. after reaching a pre-specified depth. 3380
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
核心方法到底怎么运转
控制器不是一句额外提示。它对候选延续作与大纲相关的判别,并通过 FUDGE 式控制影响生成。这个设计依赖生成侧的概率信息和专门训练的判别器;不能把它描述成对任意黑盒聊天接口都能直接使用的通用包装。 (原文:PDF p.5, §3; controller)
指标:控制器不是一句额外提示。它对候选延续作与大纲相关的判别,并通过 FUDGE 式控制影响生成。这个设计依赖生成侧的概率信息和专门训练的判别器;不能把它描述成对任意黑盒聊天接口都能直接使用的通用包装。
条件:仅限本地原始PDF的 §3; controller;不同表格与实验不合并
PDF p.5, §3; controller · PDF p.5
ing InstructGPT3-13B to summarize story passages not appear in the previous outline item, we from the WritingPrompts dataset (Fan et al., 2018); construct an input “summary” stating as such, these summaries can then be viewed as outline again using lower control strength. events corresponding to the original passages. We Control Strength. In practice, we must balance train the FUDGE discriminator contrastively by control strength: too low strength risks deviating finetuning OPT-350m to predict whether a passage from the constraint, while too high strength risks prefix matches a given summary. In particular, we narrowly-focused, repetitive generations which sac- construct hard negatives by matching passages with rifice creativity. We aim to strike this balance summaries from elsewhere in the same story. dynamically during drafting by using a control The result is a computationally lightweight de- strength of 0 initially for each outline item, incre- tailed controller which can guide passage genera- menting it with each subsequent drafting step, until tion according to a short natural language descrip- satisfying our early stopping criteria for moving to tion, with adjustable control strength. the next outline item and resetting back to 0. Training to Maintain Relevance. In our training Future Context in Generation. Context from fu- data, passages are either entirely correct or entirely ture parts of the outline can help generated passages wrong for a given summary—even for “hard” neg- transition better to subsequent story events. How- atives from the same story—so the discriminator ever, including future plot points in the prompt risks learns to predict high probabilities for any roughly premature generation of future events in the ab- aligned passage at test time. The resulting con- sence of proper control, which we observed when troller allows longer passages to quickly stray off trying to include such context in Re3 . Our detailed topic after starting out on topic. controller remedies this issue to some degree by Thus we construct even harder training negatives. controlling more strongly toward the current out- Given a positive passage-summary pair, we split line item. Therefore, when drafting for a given the passage at a sentence boundary, and replace outline item, we include the next outline item as the text after the sentence boundary with text from future context in the prompt (Figure 2, green text). another passage in the same story (beginning at a sentence boundary). We thus obtain grammatically- 4 Evaluation fluent corrupted passages which begin correctly for a given summary, but eventually stray off topic. Experiment Setup. Our setup is similar to Yang Prefixes of such passages ending after the sentence et al. (2022). The input is just a brief (English) boundary can then be given the negative label dur- premise, typically 30-60 words, sampled from ing training. Thus our detailed controller learns to InstructGPT3-175B. The output is a complete story. maintain high relevance to the input description. We do not impose further rule-based constraints, Using the same methodology, we also construct as it is unclear how to define a “story,” let alone “harder positives” by mixing negative prefixes with a “good” story. Instead, quality will be judged via positive completions, improving the controller’s human-annotated metrics. ability to get back on track should it go astray. Metrics. To decrease noise, we compare 1000- 3.3.1 Drafting With Detailed Control to 1500-word passages corresponding to the same top-level outline item, rather than complete stories. During drafting, we illustrate the flexibility of our We use three main metrics, similar to those from detailed controller by controlling passages accord- Yang et al. (2022) (Appendix C), adapted for com- ing to three different types of constraints imposed paring passages instead of complete stories: by our detailed outline, as follows. 1. Event. We feed the event description (Figure 1. Coherent. Percentage of passages judged plot- 2, orange text) verbatim to the controller. coherent by human annotators. 2. Setting. If the setting changed from the previ- 2. Relevant. Percentage judged faithful to the ous outline item, we construct an input “sum- corresponding outline item. mary” stating that the characters move to the 3. Interesting. Percentage judged interesting. new setting, using lower control strength com- Annotators are shown two passages side-by-side pared to the event description. (Appendix K.1); for each metric we ask them to an- 3. Character. If a character appears who did notate which passage is better, or possibly both or 3382
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验怎样检验这个方法
实验将 DOC 与 RE3、ROLLING-OPT 比较,并让评审针对对应大纲片段评价连贯性、相关性和趣味性。基线共享部分计划信息,不能把比较简化成“有大纲战胜没有大纲”。 (原文:PDF p.6, experimental setup)
指标:实验将 DOC 与 RE3、ROLLING-OPT 比较,并让评审针对对应大纲片段评价连贯性、相关性和趣味性。基线共享部分计划信息,不能把比较简化成“有大纲战胜没有大纲”。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.6, experimental setup · PDF p.6
neither. Thus all numbers are meaningful only rela- Method Coherent Relevant Interesting tive to the method being compared against. Each RE 3 45.1 37.1 39.4 pairwise comparison is labeled by three annotators. DOC 67.6 65.3 60.1 We use Surge AI for annotation due to observing ROLLING - OPT 38.0 25.4 25.4 higher-quality results compared to Amazon Me- DOC 80.8 78.9 69.5 chanical Turk. We find higher agreement compared Table 1: Pairwise comparisons of DOC against baselines on to Yang et al. (2022) (Appendix I), likely due to passages corresponding to top-level outline items from 20 sto- Surge AI and our more focused annotation task. ries. Bold indicates significance with p < 0.05. DOC stories are rated substantially more plot-coherent, outline-relevant, Method Instantiation. We henceforth refer to the and interesting compared to RE3 and ROLLING - OPT. concrete instantiation of our DOC framework as DOC . In particular, we set outline depth to 3 and PREMISE: A young woman is determined to never get married and live her life alone, but when limit the branching factor to be between 2 and 5, she meets a man who seems perfect for her, she resulting in stories averaging roughly 3500 words begins to rethink her decision. in length. We limit the model context window to GENERATED OUTLINE: 1024 tokens as in Yang et al. (2022), so final stories 1. Jenna Adams meets Brian Johnson and immediately feels drawn to him. are substantially longer than the visible context at a. Jenna Adams meets Brian Johnson and feels any step. The base generator used during draft- an instant connection to him. ing is OPT-175B (Zhang et al., 2022), due to the b. The two of them start dating and Jenna Adams begins to fall in love with Brian practical issue of requiring deeper model access Johnson. than the GPT3 API supports (specifically, efficient 2. Jenna Adams starts to think that maybe marriage isn’t so bad after all when Brian token-level access to logits). See Appendix D for Johnson seems like the perfect man for her. further discussion, and Appendix E for complete a. Jenna Adams starts to think that maybe hyperparameters. marriage isn’t so bad when Brian Johnson seems like the perfect man for her. Baselines. We run two baselines. b. After much soul searching, Jenna Adams decides that she wants to marry Brian Johnson. 1. RE3 : Our main baseline is based on Re3 (Yang 3. However, when Brian Johnson’s ex-girlfriend shows up and tries to win him back, Jenna et al., 2022), the only previous system we are Adams realizes that marriage isn’t for her aware of that automatically generates stories after all and that it’s better to be alone of comparable length. For fair comparison, than with someone who doesn’t truly love you. a. Jenna Adams overhears a conversation we modify Re3 to also use OPT-175B dur- between Brian Johnson and his ex-girlfriend, ing drafting. Hyperparameters are set to their Teresa Campbell. paper values, except for the number of genera- b. Jenna Adams confronts Brian Johnson about the conversation and Brian Johnson tion steps per outline item, which we increase confesses that he still has feelings for slightly to match average story length with Teresa Campbell. DOC . We reuse the setting, characters, and c. Jenna Adams breaks up with Brian Johnson. d. Jenna Adams decides that it’s better to top-level outline from DOC for RE3 , as the be alone than with someone who doesn’t truly planning differs only slightly up to here (DOC love you. only uses more characters, and generates the Table 2: Example of a premise and heavily abridged DOC outline item-by-item instead of in one shot). outline (settings, characters, and depth-3 items omitted; see 2. ROLLING - OPT: A sanity check using OPT- Appendix M, Table 28 for complete plan). 175B with the same context window as DOC and RE 3 . The prompt contains the intuition that plot coherence and outline relevance premise and top-level outline item (Appendix should benefit from shifting creative work from F), followed by a rolling window on the planning to drafting, together with improved con- previously-generated story as fits in the trol. Perhaps surprisingly, annotators also judged prompt. ROLLING - OPT generates the same DOC ’s passages to be significantly more interest- length of text per outline item as RE3 . ing, which ablations suggest is a result of our more Results. As shown in Table 1, DOC passages detailed (and more eventful) outline (Section 5.1). are judged dramatically more plot-coherent and Of course, qualitative inspection reveals room outline-relevant compared to RE3 , not to mention for improvement. While DOC usually does not de- the weak ROLLING - OPT. The results confirm our viate heavily from the top-level outline—unlike 3383
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
结果说明了什么
Table 1 中,相比 RE3,DOC 的连贯性、相关性、趣味性偏好比例为 67.6%、65.3%、60.1%。评审允许选择双方或都不选择,所以这些不是必然互补的二选一胜负率。比较另一基线时也不能说 ROLLING-OPT 完全没有规划:它同样使用前提与顶层大纲。 (原文:PDF p.6, Table 1)
指标:Table 1 中,相比 RE3,DOC 的连贯性、相关性、趣味性偏好比例为 67.6%、65.3%、60.1%。评审允许选择双方或都不选择,所以这些不是必然互补的二选一胜负率。比较另一基线时也不能说 ROLLING-OPT 完全没有规划:它同样使用前提与顶层大纲。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.6, Table 1 · PDF p.6
neither. Thus all numbers are meaningful only rela- Method Coherent Relevant Interesting tive to the method being compared against. Each RE 3 45.1 37.1 39.4 pairwise comparison is labeled by three annotators. DOC 67.6 65.3 60.1 We use Surge AI for annotation due to observing ROLLING - OPT 38.0 25.4 25.4 higher-quality results compared to Amazon Me- DOC 80.8 78.9 69.5 chanical Turk. We find higher agreement compared Table 1: Pairwise comparisons of DOC against baselines on to Yang et al. (2022) (Appendix I), likely due to passages corresponding to top-level outline items from 20 sto- Surge AI and our more focused annotation task. ries. Bold indicates significance with p < 0.05. DOC stories are rated substantially more plot-coherent, outline-relevant, Method Instantiation. We henceforth refer to the and interesting compared to RE3 and ROLLING - OPT. concrete instantiation of our DOC framework as DOC . In particular, we set outline depth to 3 and PREMISE: A young woman is determined to never get married and live her life alone, but when limit the branching factor to be between 2 and 5, she meets a man who seems perfect for her, she resulting in stories averaging roughly 3500 words begins to rethink her decision. in length. We limit the model context window to GENERATED OUTLINE: 1024 tokens as in Yang et al. (2022), so final stories 1. Jenna Adams meets Brian Johnson and immediately feels drawn to him. are substantially longer than the visible context at a. Jenna Adams meets Brian Johnson and feels any step. The base generator used during draft- an instant connection to him. ing is OPT-175B (Zhang et al., 2022), due to the b. The two of them start dating and Jenna Adams begins to fall in love with Brian practical issue of requiring deeper model access Johnson. than the GPT3 API supports (specifically, efficient 2. Jenna Adams starts to think that maybe marriage isn’t so bad after all when Brian token-level access to logits). See Appendix D for Johnson seems like the perfect man for her. further discussion, and Appendix E for complete a. Jenna Adams starts to think that maybe hyperparameters. marriage isn’t so bad when Brian Johnson seems like the perfect man for her. Baselines. We run two baselines. b. After much soul searching, Jenna Adams decides that she wants to marry Brian Johnson. 1. RE3 : Our main baseline is based on Re3 (Yang 3. However, when Brian Johnson’s ex-girlfriend shows up and tries to win him back, Jenna et al., 2022), the only previous system we are Adams realizes that marriage isn’t for her aware of that automatically generates stories after all and that it’s better to be alone of comparable length. For fair comparison, than with someone who doesn’t truly love you. a. Jenna Adams overhears a conversation we modify Re3 to also use OPT-175B dur- between Brian Johnson and his ex-girlfriend, ing drafting. Hyperparameters are set to their Teresa Campbell. paper values, except for the number of genera- b. Jenna Adams confronts Brian Johnson about the conversation and Brian Johnson tion steps per outline item, which we increase confesses that he still has feelings for slightly to match average story length with Teresa Campbell. DOC . We reuse the setting, characters, and c. Jenna Adams breaks up with Brian Johnson. d. Jenna Adams decides that it’s better to top-level outline from DOC for RE3 , as the be alone than with someone who doesn’t truly planning differs only slightly up to here (DOC love you. only uses more characters, and generates the Table 2: Example of a premise and heavily abridged DOC outline item-by-item instead of in one shot). outline (settings, characters, and depth-3 items omitted; see 2. ROLLING - OPT: A sanity check using OPT- Appendix M, Table 28 for complete plan). 175B with the same context window as DOC and RE 3 . The prompt contains the intuition that plot coherence and outline relevance premise and top-level outline item (Appendix should benefit from shifting creative work from F), followed by a rolling window on the planning to drafting, together with improved con- previously-generated story as fits in the trol. Perhaps surprisingly, annotators also judged prompt. ROLLING - OPT generates the same DOC ’s passages to be significantly more interest- length of text per outline item as RE3 . ing, which ablations suggest is a result of our more Results. As shown in Table 1, DOC passages detailed (and more eventful) outline (Section 5.1). are judged dramatically more plot-coherent and Of course, qualitative inspection reveals room outline-relevant compared to RE3 , not to mention for improvement. While DOC usually does not de- the weak ROLLING - OPT. The results confirm our viate heavily from the top-level outline—unlike 3383
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
控制不等于保证
大纲忠实度中,DOC 为 58.5%,NoControl 为 37.8%。控制器有帮助,但离完美遵循仍有距离;这张表直接反驳“百分之百服从大纲”的说法。 (原文:PDF p.8, Table 6)
指标:大纲忠实度中,DOC 为 58.5%,NoControl 为 37.8%。控制器有帮助,但离完美遵循仍有距离;这张表直接反驳“百分之百服从大纲”的说法。
条件:仅限本地原始PDF的 Table 6;不同表格与实验不合并
PDF p.8, Table 6 · PDF p.8
1. DOC - NOOUTLINE, which generates only ac- Method Detailed-Relevant cording to the top-level outline instead of DOC - NOCONTROL 37.8 the full detailed outline, using fixed passage DOC 58.5 length per outline item (instead of early stop- Table 6: Percentage of short passages that are faithful to cor- ping) and a fixed-strength detailed controller. responding outline leaf nodes, ablating the detailed controller. 2. DOC - NOCONTROL, which is identical to DOC Bold indicates significance with p < 0.05. The detailed con- except the detailed controller is turned off. troller greatly improves relevance to leaf nodes. We reuse the same coherence, relevance, and overly vague. Second, the detailed controller may interestingness metrics from Table 1. be unable to sufficiently steer the generation with- Method Coherent Relevant Interesting out further increasing control strength (which may sacrifice fluency). Thus, while DOC is substantially DOC - NOOUTLINE 61.8 41.2 57.8 DOC 73.5 64.7 66.7 more faithful to the outline compared to baselines, DOC - NOCONTROL 62.7 52.0 58.8 a good deal of headroom remains. DOC 70.6 73.5 50.0 6 Discussion Table 5: Pairwise comparisons of DOC vs. ablations without the detailed outliner and detailed controller, respectively, on We have presented the DOC framework for im- passages from 10 stories. Bold indicates significance with proving long-range coherence in long-form story p < 0.05. Although the results on plot-coherence and in- terestingness are inconclusive, both the detailed outliner and generation. DOC uses a detailed outliner to shift detailed controller are important for outline relevance. creative work from drafting to planning, and em- ploys a detailed controller to maintain faithfulness Results. As shown in Table 5, compared to both to the detailed outline during drafting. Compared ablations, DOC maintains significantly higher rel- to the prior state-of-the-art, Re3 , DOC dramatically evance to top-level outline items. Thus both the improves the plot-coherence, outline relevance, and detailed outliner and detailed controller meaning- even interestingness of generated stories according fully contribute to our method’s ability to follow to human annotators. Nevertheless, there remain the high-level outline. Although the gaps in plot many interesting future directions. coherence and interestingness are not statistically Other Text Domains. We have focused on creative significant, the ablations suggest that DOC’s gain in stories in this work, but we believe many of our interestingness compared to prior work is mainly high-level ideas could be applicable to other long- due to the more detailed outline; if anything, the de- form text generation settings, such as Wikipedia ar- tailed controller may slightly hurt interestingness. ticles or movie scripts. Generation in such settings Indeed—perhaps unsurprisingly—we observe qual- could potentially benefit from detailed planning itatively that further increasing control strength via an outline, combined with additional control to yields increasingly narrowly-focused, repetitive maintain faithfulness to the initial plan. Of course, outputs at the expense of creativity. many of our specific prompts would require sub- 5.2 Detailed Relevance Evaluation stantial modification to adapt to a new domain. We now examine DOC’s faithfulness to the out- Improved Human Interaction. In Section 4.1 we line at the leaves instead of at the top level. For experimented with DOC in a human-interactive set- each leaf-node outline item, we ask one annotator ting, enabling the human to interact with DOC at a whether the event specified in the leaf occurred in high-level planning stage, in contrast to previous either the corresponding passage or in the immedi- works which operated at the drafting level (Coenen ately preceding and following passages (Appendix et al., 2021; Lee et al., 2022). We are excited to K.3). We do the same for DOC - NOCONTROL. continue exploring novel forms of human interac- tion that become possible as automated generation Results. Table 6 confirms that the detailed con- capabilities continue to improve. troller substantially improves DOC’s ability to fol- low low-level outline details during drafting. Scaling to Longer Texts. While our stories (ex- However, the overall numbers remain low, point- ceeding 3500 words on average) are lengthy by ing to two issues. First, the outline leaf itself may neural text generation standards, they remain rel- be problematic: it may be unexpected in context, or atively short by human authors’ standards. We 3385
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
这篇论文哪里最强,哪里最危险
消融中相关性的差异有显著性支持,连贯性与趣味性的差异不能同样当作确定改善。最小结论是详细规划加生成控制在论文设置下改善部分质量与忠实度,而不是所有指标都稳胜、所有模型都适用。 (原文:PDF p.8, Table 5)
指标:消融中相关性的差异有显著性支持,连贯性与趣味性的差异不能同样当作确定改善。最小结论是详细规划加生成控制在论文设置下改善部分质量与忠实度,而不是所有指标都稳胜、所有模型都适用。
条件:仅限本地原始PDF的 Table 5;不同表格与实验不合并
PDF p.8, Table 5 · PDF p.8
1. DOC - NOOUTLINE, which generates only ac- Method Detailed-Relevant cording to the top-level outline instead of DOC - NOCONTROL 37.8 the full detailed outline, using fixed passage DOC 58.5 length per outline item (instead of early stop- Table 6: Percentage of short passages that are faithful to cor- ping) and a fixed-strength detailed controller. responding outline leaf nodes, ablating the detailed controller. 2. DOC - NOCONTROL, which is identical to DOC Bold indicates significance with p < 0.05. The detailed con- except the detailed controller is turned off. troller greatly improves relevance to leaf nodes. We reuse the same coherence, relevance, and overly vague. Second, the detailed controller may interestingness metrics from Table 1. be unable to sufficiently steer the generation with- Method Coherent Relevant Interesting out further increasing control strength (which may sacrifice fluency). Thus, while DOC is substantially DOC - NOOUTLINE 61.8 41.2 57.8 DOC 73.5 64.7 66.7 more faithful to the outline compared to baselines, DOC - NOCONTROL 62.7 52.0 58.8 a good deal of headroom remains. DOC 70.6 73.5 50.0 6 Discussion Table 5: Pairwise comparisons of DOC vs. ablations without the detailed outliner and detailed controller, respectively, on We have presented the DOC framework for im- passages from 10 stories. Bold indicates significance with proving long-range coherence in long-form story p < 0.05. Although the results on plot-coherence and in- terestingness are inconclusive, both the detailed outliner and generation. DOC uses a detailed outliner to shift detailed controller are important for outline relevance. creative work from drafting to planning, and em- ploys a detailed controller to maintain faithfulness Results. As shown in Table 5, compared to both to the detailed outline during drafting. Compared ablations, DOC maintains significantly higher rel- to the prior state-of-the-art, Re3 , DOC dramatically evance to top-level outline items. Thus both the improves the plot-coherence, outline relevance, and detailed outliner and detailed controller meaning- even interestingness of generated stories according fully contribute to our method’s ability to follow to human annotators. Nevertheless, there remain the high-level outline. Although the gaps in plot many interesting future directions. coherence and interestingness are not statistically Other Text Domains. We have focused on creative significant, the ablations suggest that DOC’s gain in stories in this work, but we believe many of our interestingness compared to prior work is mainly high-level ideas could be applicable to other long- due to the more detailed outline; if anything, the de- form text generation settings, such as Wikipedia ar- tailed controller may slightly hurt interestingness. ticles or movie scripts. Generation in such settings Indeed—perhaps unsurprisingly—we observe qual- could potentially benefit from detailed planning itatively that further increasing control strength via an outline, combined with additional control to yields increasingly narrowly-focused, repetitive maintain faithfulness to the initial plan. Of course, outputs at the expense of creativity. many of our specific prompts would require sub- 5.2 Detailed Relevance Evaluation stantial modification to adapt to a new domain. We now examine DOC’s faithfulness to the out- Improved Human Interaction. In Section 4.1 we line at the leaves instead of at the top level. For experimented with DOC in a human-interactive set- each leaf-node outline item, we ask one annotator ting, enabling the human to interact with DOC at a whether the event specified in the leaf occurred in high-level planning stage, in contrast to previous either the corresponding passage or in the immedi- works which operated at the drafting level (Coenen ately preceding and following passages (Appendix et al., 2021; Lee et al., 2022). We are excited to K.3). We do the same for DOC - NOCONTROL. continue exploring novel forms of human interac- tion that become possible as automated generation Results. Table 6 confirms that the detailed con- capabilities continue to improve. troller substantially improves DOC’s ability to fol- low low-level outline details during drafting. Scaling to Longer Texts. While our stories (ex- However, the overall numbers remain low, point- ceeding 3500 words on average) are lengthy by ing to two issues. First, the outline leaf itself may neural text generation standards, they remain rel- be problematic: it may be unexpected in context, or atively short by human authors’ standards. We 3385
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
读完后记住这三件事
记住三个条件:大纲要足够详细;生成时需要实际控制而不只是提示;控制效果仍须用忠实度验证。对照已有的规划信息也属于公平比较的一部分。 (原文:PDF p.3, §3;PDF p.5, §3; controller;PDF p.6, experimental setup;PDF p.6, Table 1;PDF p.8, Table 6;PDF p.8, Table 5)
指标:DOC 希望长故事既有详细计划,又能在实际续写中跟住计划。单有大纲并不够:生成模型可能越写越偏离当前情节。作者因此把详细大纲生成器与控制器结合,让一个模块规划要写什么,另一个模块在生成时促进对当前大纲点的遵循。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.3, §3 · PDF p.3
Structured Prompt For Drafting However, prompting and reranking approaches are 1. Daisy is a kind-hearted old woman. limited in the strength of control they can exert Characters She has cancer. Bill is her husband. 2. Lisa is Daisy’s daughter. over the model distribution, which is especially Summary Daisy is diagnosed with cancer. Lisa problematic for systems like Re3 which rely on (Far Past) is trying to find a viable treatment. complex constraints and long context in a struc- Summary Lisa has been stressed out lately, and tured prompt. Indeed, Yang et al. (2022) observe (Near Past) Daisy expresses her concern. that many of Re3 ’s stories already omit parts of Lisa tirelessly continues her research. Upcoming even their brief three-point outline—and DOC’s Lisa finally finds a cure. Events Setting: Lisa’s laboratory. outline will impose far more detailed constraints. Verbatim Lisa looked back at Daisy, her eyes Preceding clear and full of determination. Therefore, we design DOC’s detailed controller Passage “I’ve got this, mom. Hang in there.” to more strongly enforce the complex natural lan- guage constraints set by the outline. Our detailed Figure 2: Stylized example showing the main components of the structured prompt used to draft new story passages in controller, an adaptation of FUDGE (Yang and Re3 and DOC. Leveraging our detailed outline and detailed Klein, 2021), will operate token-by-token through- controller, new elements of DOC’s prompt include character out generation instead of relying on only an initial development over time (red), more detailed events based on outline leaf nodes (orange), future context (green), and im- prompt or post-hoc rejection sampling. proved setting and character information (purple). Outline Yang et al. (2022), though we remove the time- 1. Sue flies to Italy. consuming editing step, which they find does not Breadth-First Expansion 2. … significantly affect final story quality. However, Yang et al. (2022) note that despite Event Candidate Setting + Character Generation Detection greatly outperforming simple rolling-window base- 1. Sue flies to Italy. 1. Sue flies to Italy. lines, Re3 still makes frequent errors in long-range a. a. Sue calls her agent. Filtering, coherence: some stories still contain lengthy pas- a. Sue goes home. Reranking Setting: Sue’s home sages which seem not to fit the surrounding context, a. Sue calls her agent. Characters: Sue, Anna or deviate heavily from the initial outline. DOC a. Dave waves goodbye. aims to address these shortcomings via two major innovations: more detailed planning via our de- Figure 3: Diagram of new entry creation in the detailed out- line. Our detailed outliner recursively expands outline items tailed outliner, and correspondingly fine-grained in breadth-first order. To create each new entry, it proposes control during drafting via our detailed controller. candidate events and selects the best via filtering and rerank- ing, and then detects the setting and relevant characters. Detailed Outliner Motivation. While Re3 ’s out- lines are plausible, they are insufficiently concrete, 3.2 Detailed Outliner and do not scale to longer stories. A human author would not write a novel given just a three-sentence Our detailed outliner recursively generates a hi- beginning, middle, and end. Not only can a more erarchical detailed outline at arbitrary granularity. detailed outline empirically result in improved plot Figure 3 summarizes the individual components. coherence (Section 4), but it can enable greater Breadth-First Expansion. Viewing the outline control in human interaction as well (Section 4.1). as a tree T initialized as just a root node r, we Therefore, DOC constructs a detailed outline generate children in breadth-first expansion order. (e.g., Figure 1 “Detailed Outline”) with depth ad- Starting from the items of the initial top-level out- justable according to the desired length of the final line (depth 1), we generate all of their children story. The detailed outline shifts creative burden (depth 2), then all childrens’ children (depth 3), from drafting to planning, reducing the need to and so forth. For each parent node p, we gener- improvise plot points on the fly during drafting. ate children one by one, stopping when a child c’s Detailed Controller Motivation. The greater level event description ends with the end-of-text token. of detail in our outline makes it much harder to stay We restart and resample for a given p if there are faithful to that outline. To work with large language too few or too many children, although empirically models such as GPT3-175B during drafting, prior this procedure almost always results in just two works such as Re3 have relied on clever prompt- or three children. We terminate outline generation ing together with rejection sampling or reranking. after reaching a pre-specified depth. 3380
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:控制器不是一句额外提示。它对候选延续作与大纲相关的判别,并通过 FUDGE 式控制影响生成。这个设计依赖生成侧的概率信息和专门训练的判别器;不能把它描述成对任意黑盒聊天接口都能直接使用的通用包装。
条件:仅限本地原始PDF的 §3; controller;不同表格与实验不合并
PDF p.5, §3; controller · PDF p.5
ing InstructGPT3-13B to summarize story passages not appear in the previous outline item, we from the WritingPrompts dataset (Fan et al., 2018); construct an input “summary” stating as such, these summaries can then be viewed as outline again using lower control strength. events corresponding to the original passages. We Control Strength. In practice, we must balance train the FUDGE discriminator contrastively by control strength: too low strength risks deviating finetuning OPT-350m to predict whether a passage from the constraint, while too high strength risks prefix matches a given summary. In particular, we narrowly-focused, repetitive generations which sac- construct hard negatives by matching passages with rifice creativity. We aim to strike this balance summaries from elsewhere in the same story. dynamically during drafting by using a control The result is a computationally lightweight de- strength of 0 initially for each outline item, incre- tailed controller which can guide passage genera- menting it with each subsequent drafting step, until tion according to a short natural language descrip- satisfying our early stopping criteria for moving to tion, with adjustable control strength. the next outline item and resetting back to 0. Training to Maintain Relevance. In our training Future Context in Generation. Context from fu- data, passages are either entirely correct or entirely ture parts of the outline can help generated passages wrong for a given summary—even for “hard” neg- transition better to subsequent story events. How- atives from the same story—so the discriminator ever, including future plot points in the prompt risks learns to predict high probabilities for any roughly premature generation of future events in the ab- aligned passage at test time. The resulting con- sence of proper control, which we observed when troller allows longer passages to quickly stray off trying to include such context in Re3 . Our detailed topic after starting out on topic. controller remedies this issue to some degree by Thus we construct even harder training negatives. controlling more strongly toward the current out- Given a positive passage-summary pair, we split line item. Therefore, when drafting for a given the passage at a sentence boundary, and replace outline item, we include the next outline item as the text after the sentence boundary with text from future context in the prompt (Figure 2, green text). another passage in the same story (beginning at a sentence boundary). We thus obtain grammatically- 4 Evaluation fluent corrupted passages which begin correctly for a given summary, but eventually stray off topic. Experiment Setup. Our setup is similar to Yang Prefixes of such passages ending after the sentence et al. (2022). The input is just a brief (English) boundary can then be given the negative label dur- premise, typically 30-60 words, sampled from ing training. Thus our detailed controller learns to InstructGPT3-175B. The output is a complete story. maintain high relevance to the input description. We do not impose further rule-based constraints, Using the same methodology, we also construct as it is unclear how to define a “story,” let alone “harder positives” by mixing negative prefixes with a “good” story. Instead, quality will be judged via positive completions, improving the controller’s human-annotated metrics. ability to get back on track should it go astray. Metrics. To decrease noise, we compare 1000- 3.3.1 Drafting With Detailed Control to 1500-word passages corresponding to the same top-level outline item, rather than complete stories. During drafting, we illustrate the flexibility of our We use three main metrics, similar to those from detailed controller by controlling passages accord- Yang et al. (2022) (Appendix C), adapted for com- ing to three different types of constraints imposed paring passages instead of complete stories: by our detailed outline, as follows. 1. Event. We feed the event description (Figure 1. Coherent. Percentage of passages judged plot- 2, orange text) verbatim to the controller. coherent by human annotators. 2. Setting. If the setting changed from the previ- 2. Relevant. Percentage judged faithful to the ous outline item, we construct an input “sum- corresponding outline item. mary” stating that the characters move to the 3. Interesting. Percentage judged interesting. new setting, using lower control strength com- Annotators are shown two passages side-by-side pared to the event description. (Appendix K.1); for each metric we ask them to an- 3. Character. If a character appears who did notate which passage is better, or possibly both or 3382
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:实验将 DOC 与 RE3、ROLLING-OPT 比较,并让评审针对对应大纲片段评价连贯性、相关性和趣味性。基线共享部分计划信息,不能把比较简化成“有大纲战胜没有大纲”。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.6, experimental setup · PDF p.6
neither. Thus all numbers are meaningful only rela- Method Coherent Relevant Interesting tive to the method being compared against. Each RE 3 45.1 37.1 39.4 pairwise comparison is labeled by three annotators. DOC 67.6 65.3 60.1 We use Surge AI for annotation due to observing ROLLING - OPT 38.0 25.4 25.4 higher-quality results compared to Amazon Me- DOC 80.8 78.9 69.5 chanical Turk. We find higher agreement compared Table 1: Pairwise comparisons of DOC against baselines on to Yang et al. (2022) (Appendix I), likely due to passages corresponding to top-level outline items from 20 sto- Surge AI and our more focused annotation task. ries. Bold indicates significance with p < 0.05. DOC stories are rated substantially more plot-coherent, outline-relevant, Method Instantiation. We henceforth refer to the and interesting compared to RE3 and ROLLING - OPT. concrete instantiation of our DOC framework as DOC . In particular, we set outline depth to 3 and PREMISE: A young woman is determined to never get married and live her life alone, but when limit the branching factor to be between 2 and 5, she meets a man who seems perfect for her, she resulting in stories averaging roughly 3500 words begins to rethink her decision. in length. We limit the model context window to GENERATED OUTLINE: 1024 tokens as in Yang et al. (2022), so final stories 1. Jenna Adams meets Brian Johnson and immediately feels drawn to him. are substantially longer than the visible context at a. Jenna Adams meets Brian Johnson and feels any step. The base generator used during draft- an instant connection to him. ing is OPT-175B (Zhang et al., 2022), due to the b. The two of them start dating and Jenna Adams begins to fall in love with Brian practical issue of requiring deeper model access Johnson. than the GPT3 API supports (specifically, efficient 2. Jenna Adams starts to think that maybe marriage isn’t so bad after all when Brian token-level access to logits). See Appendix D for Johnson seems like the perfect man for her. further discussion, and Appendix E for complete a. Jenna Adams starts to think that maybe hyperparameters. marriage isn’t so bad when Brian Johnson seems like the perfect man for her. Baselines. We run two baselines. b. After much soul searching, Jenna Adams decides that she wants to marry Brian Johnson. 1. RE3 : Our main baseline is based on Re3 (Yang 3. However, when Brian Johnson’s ex-girlfriend shows up and tries to win him back, Jenna et al., 2022), the only previous system we are Adams realizes that marriage isn’t for her aware of that automatically generates stories after all and that it’s better to be alone of comparable length. For fair comparison, than with someone who doesn’t truly love you. a. Jenna Adams overhears a conversation we modify Re3 to also use OPT-175B dur- between Brian Johnson and his ex-girlfriend, ing drafting. Hyperparameters are set to their Teresa Campbell. paper values, except for the number of genera- b. Jenna Adams confronts Brian Johnson about the conversation and Brian Johnson tion steps per outline item, which we increase confesses that he still has feelings for slightly to match average story length with Teresa Campbell. DOC . We reuse the setting, characters, and c. Jenna Adams breaks up with Brian Johnson. d. Jenna Adams decides that it’s better to top-level outline from DOC for RE3 , as the be alone than with someone who doesn’t truly planning differs only slightly up to here (DOC love you. only uses more characters, and generates the Table 2: Example of a premise and heavily abridged DOC outline item-by-item instead of in one shot). outline (settings, characters, and depth-3 items omitted; see 2. ROLLING - OPT: A sanity check using OPT- Appendix M, Table 28 for complete plan). 175B with the same context window as DOC and RE 3 . The prompt contains the intuition that plot coherence and outline relevance premise and top-level outline item (Appendix should benefit from shifting creative work from F), followed by a rolling window on the planning to drafting, together with improved con- previously-generated story as fits in the trol. Perhaps surprisingly, annotators also judged prompt. ROLLING - OPT generates the same DOC ’s passages to be significantly more interest- length of text per outline item as RE3 . ing, which ablations suggest is a result of our more Results. As shown in Table 1, DOC passages detailed (and more eventful) outline (Section 5.1). are judged dramatically more plot-coherent and Of course, qualitative inspection reveals room outline-relevant compared to RE3 , not to mention for improvement. While DOC usually does not de- the weak ROLLING - OPT. The results confirm our viate heavily from the top-level outline—unlike 3383
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:Table 1 中,相比 RE3,DOC 的连贯性、相关性、趣味性偏好比例为 67.6%、65.3%、60.1%。评审允许选择双方或都不选择,所以这些不是必然互补的二选一胜负率。比较另一基线时也不能说 ROLLING-OPT 完全没有规划:它同样使用前提与顶层大纲。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.6, Table 1 · PDF p.6
neither. Thus all numbers are meaningful only rela- Method Coherent Relevant Interesting tive to the method being compared against. Each RE 3 45.1 37.1 39.4 pairwise comparison is labeled by three annotators. DOC 67.6 65.3 60.1 We use Surge AI for annotation due to observing ROLLING - OPT 38.0 25.4 25.4 higher-quality results compared to Amazon Me- DOC 80.8 78.9 69.5 chanical Turk. We find higher agreement compared Table 1: Pairwise comparisons of DOC against baselines on to Yang et al. (2022) (Appendix I), likely due to passages corresponding to top-level outline items from 20 sto- Surge AI and our more focused annotation task. ries. Bold indicates significance with p < 0.05. DOC stories are rated substantially more plot-coherent, outline-relevant, Method Instantiation. We henceforth refer to the and interesting compared to RE3 and ROLLING - OPT. concrete instantiation of our DOC framework as DOC . In particular, we set outline depth to 3 and PREMISE: A young woman is determined to never get married and live her life alone, but when limit the branching factor to be between 2 and 5, she meets a man who seems perfect for her, she resulting in stories averaging roughly 3500 words begins to rethink her decision. in length. We limit the model context window to GENERATED OUTLINE: 1024 tokens as in Yang et al. (2022), so final stories 1. Jenna Adams meets Brian Johnson and immediately feels drawn to him. are substantially longer than the visible context at a. Jenna Adams meets Brian Johnson and feels any step. The base generator used during draft- an instant connection to him. ing is OPT-175B (Zhang et al., 2022), due to the b. The two of them start dating and Jenna Adams begins to fall in love with Brian practical issue of requiring deeper model access Johnson. than the GPT3 API supports (specifically, efficient 2. Jenna Adams starts to think that maybe marriage isn’t so bad after all when Brian token-level access to logits). See Appendix D for Johnson seems like the perfect man for her. further discussion, and Appendix E for complete a. Jenna Adams starts to think that maybe hyperparameters. marriage isn’t so bad when Brian Johnson seems like the perfect man for her. Baselines. We run two baselines. b. After much soul searching, Jenna Adams decides that she wants to marry Brian Johnson. 1. RE3 : Our main baseline is based on Re3 (Yang 3. However, when Brian Johnson’s ex-girlfriend shows up and tries to win him back, Jenna et al., 2022), the only previous system we are Adams realizes that marriage isn’t for her aware of that automatically generates stories after all and that it’s better to be alone of comparable length. For fair comparison, than with someone who doesn’t truly love you. a. Jenna Adams overhears a conversation we modify Re3 to also use OPT-175B dur- between Brian Johnson and his ex-girlfriend, ing drafting. Hyperparameters are set to their Teresa Campbell. paper values, except for the number of genera- b. Jenna Adams confronts Brian Johnson about the conversation and Brian Johnson tion steps per outline item, which we increase confesses that he still has feelings for slightly to match average story length with Teresa Campbell. DOC . We reuse the setting, characters, and c. Jenna Adams breaks up with Brian Johnson. d. Jenna Adams decides that it’s better to top-level outline from DOC for RE3 , as the be alone than with someone who doesn’t truly planning differs only slightly up to here (DOC love you. only uses more characters, and generates the Table 2: Example of a premise and heavily abridged DOC outline item-by-item instead of in one shot). outline (settings, characters, and depth-3 items omitted; see 2. ROLLING - OPT: A sanity check using OPT- Appendix M, Table 28 for complete plan). 175B with the same context window as DOC and RE 3 . The prompt contains the intuition that plot coherence and outline relevance premise and top-level outline item (Appendix should benefit from shifting creative work from F), followed by a rolling window on the planning to drafting, together with improved con- previously-generated story as fits in the trol. Perhaps surprisingly, annotators also judged prompt. ROLLING - OPT generates the same DOC ’s passages to be significantly more interest- length of text per outline item as RE3 . ing, which ablations suggest is a result of our more Results. As shown in Table 1, DOC passages detailed (and more eventful) outline (Section 5.1). are judged dramatically more plot-coherent and Of course, qualitative inspection reveals room outline-relevant compared to RE3 , not to mention for improvement. While DOC usually does not de- the weak ROLLING - OPT. The results confirm our viate heavily from the top-level outline—unlike 3383
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:大纲忠实度中,DOC 为 58.5%,NoControl 为 37.8%。控制器有帮助,但离完美遵循仍有距离;这张表直接反驳“百分之百服从大纲”的说法。
条件:仅限本地原始PDF的 Table 6;不同表格与实验不合并
PDF p.8, Table 6 · PDF p.8
1. DOC - NOOUTLINE, which generates only ac- Method Detailed-Relevant cording to the top-level outline instead of DOC - NOCONTROL 37.8 the full detailed outline, using fixed passage DOC 58.5 length per outline item (instead of early stop- Table 6: Percentage of short passages that are faithful to cor- ping) and a fixed-strength detailed controller. responding outline leaf nodes, ablating the detailed controller. 2. DOC - NOCONTROL, which is identical to DOC Bold indicates significance with p < 0.05. The detailed con- except the detailed controller is turned off. troller greatly improves relevance to leaf nodes. We reuse the same coherence, relevance, and overly vague. Second, the detailed controller may interestingness metrics from Table 1. be unable to sufficiently steer the generation with- Method Coherent Relevant Interesting out further increasing control strength (which may sacrifice fluency). Thus, while DOC is substantially DOC - NOOUTLINE 61.8 41.2 57.8 DOC 73.5 64.7 66.7 more faithful to the outline compared to baselines, DOC - NOCONTROL 62.7 52.0 58.8 a good deal of headroom remains. DOC 70.6 73.5 50.0 6 Discussion Table 5: Pairwise comparisons of DOC vs. ablations without the detailed outliner and detailed controller, respectively, on We have presented the DOC framework for im- passages from 10 stories. Bold indicates significance with proving long-range coherence in long-form story p < 0.05. Although the results on plot-coherence and in- terestingness are inconclusive, both the detailed outliner and generation. DOC uses a detailed outliner to shift detailed controller are important for outline relevance. creative work from drafting to planning, and em- ploys a detailed controller to maintain faithfulness Results. As shown in Table 5, compared to both to the detailed outline during drafting. Compared ablations, DOC maintains significantly higher rel- to the prior state-of-the-art, Re3 , DOC dramatically evance to top-level outline items. Thus both the improves the plot-coherence, outline relevance, and detailed outliner and detailed controller meaning- even interestingness of generated stories according fully contribute to our method’s ability to follow to human annotators. Nevertheless, there remain the high-level outline. Although the gaps in plot many interesting future directions. coherence and interestingness are not statistically Other Text Domains. We have focused on creative significant, the ablations suggest that DOC’s gain in stories in this work, but we believe many of our interestingness compared to prior work is mainly high-level ideas could be applicable to other long- due to the more detailed outline; if anything, the de- form text generation settings, such as Wikipedia ar- tailed controller may slightly hurt interestingness. ticles or movie scripts. Generation in such settings Indeed—perhaps unsurprisingly—we observe qual- could potentially benefit from detailed planning itatively that further increasing control strength via an outline, combined with additional control to yields increasingly narrowly-focused, repetitive maintain faithfulness to the initial plan. Of course, outputs at the expense of creativity. many of our specific prompts would require sub- 5.2 Detailed Relevance Evaluation stantial modification to adapt to a new domain. We now examine DOC’s faithfulness to the out- Improved Human Interaction. In Section 4.1 we line at the leaves instead of at the top level. For experimented with DOC in a human-interactive set- each leaf-node outline item, we ask one annotator ting, enabling the human to interact with DOC at a whether the event specified in the leaf occurred in high-level planning stage, in contrast to previous either the corresponding passage or in the immedi- works which operated at the drafting level (Coenen ately preceding and following passages (Appendix et al., 2021; Lee et al., 2022). We are excited to K.3). We do the same for DOC - NOCONTROL. continue exploring novel forms of human interac- tion that become possible as automated generation Results. Table 6 confirms that the detailed con- capabilities continue to improve. troller substantially improves DOC’s ability to fol- low low-level outline details during drafting. Scaling to Longer Texts. While our stories (ex- However, the overall numbers remain low, point- ceeding 3500 words on average) are lengthy by ing to two issues. First, the outline leaf itself may neural text generation standards, they remain rel- be problematic: it may be unexpected in context, or atively short by human authors’ standards. We 3385
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:消融中相关性的差异有显著性支持,连贯性与趣味性的差异不能同样当作确定改善。最小结论是详细规划加生成控制在论文设置下改善部分质量与忠实度,而不是所有指标都稳胜、所有模型都适用。
条件:仅限本地原始PDF的 Table 5;不同表格与实验不合并
PDF p.8, Table 5 · PDF p.8
1. DOC - NOOUTLINE, which generates only ac- Method Detailed-Relevant cording to the top-level outline instead of DOC - NOCONTROL 37.8 the full detailed outline, using fixed passage DOC 58.5 length per outline item (instead of early stop- Table 6: Percentage of short passages that are faithful to cor- ping) and a fixed-strength detailed controller. responding outline leaf nodes, ablating the detailed controller. 2. DOC - NOCONTROL, which is identical to DOC Bold indicates significance with p < 0.05. The detailed con- except the detailed controller is turned off. troller greatly improves relevance to leaf nodes. We reuse the same coherence, relevance, and overly vague. Second, the detailed controller may interestingness metrics from Table 1. be unable to sufficiently steer the generation with- Method Coherent Relevant Interesting out further increasing control strength (which may sacrifice fluency). Thus, while DOC is substantially DOC - NOOUTLINE 61.8 41.2 57.8 DOC 73.5 64.7 66.7 more faithful to the outline compared to baselines, DOC - NOCONTROL 62.7 52.0 58.8 a good deal of headroom remains. DOC 70.6 73.5 50.0 6 Discussion Table 5: Pairwise comparisons of DOC vs. ablations without the detailed outliner and detailed controller, respectively, on We have presented the DOC framework for im- passages from 10 stories. Bold indicates significance with proving long-range coherence in long-form story p < 0.05. Although the results on plot-coherence and in- terestingness are inconclusive, both the detailed outliner and generation. DOC uses a detailed outliner to shift detailed controller are important for outline relevance. creative work from drafting to planning, and em- ploys a detailed controller to maintain faithfulness Results. As shown in Table 5, compared to both to the detailed outline during drafting. Compared ablations, DOC maintains significantly higher rel- to the prior state-of-the-art, Re3 , DOC dramatically evance to top-level outline items. Thus both the improves the plot-coherence, outline relevance, and detailed outliner and detailed controller meaning- even interestingness of generated stories according fully contribute to our method’s ability to follow to human annotators. Nevertheless, there remain the high-level outline. Although the gaps in plot many interesting future directions. coherence and interestingness are not statistically Other Text Domains. We have focused on creative significant, the ablations suggest that DOC’s gain in stories in this work, but we believe many of our interestingness compared to prior work is mainly high-level ideas could be applicable to other long- due to the more detailed outline; if anything, the de- form text generation settings, such as Wikipedia ar- tailed controller may slightly hurt interestingness. ticles or movie scripts. Generation in such settings Indeed—perhaps unsurprisingly—we observe qual- could potentially benefit from detailed planning itatively that further increasing control strength via an outline, combined with additional control to yields increasingly narrowly-focused, repetitive maintain faithfulness to the initial plan. Of course, outputs at the expense of creativity. many of our specific prompts would require sub- 5.2 Detailed Relevance Evaluation stantial modification to adapt to a new domain. We now examine DOC’s faithfulness to the out- Improved Human Interaction. In Section 4.1 we line at the leaves instead of at the top level. For experimented with DOC in a human-interactive set- each leaf-node outline item, we ask one annotator ting, enabling the human to interact with DOC at a whether the event specified in the leaf occurred in high-level planning stage, in contrast to previous either the corresponding passage or in the immedi- works which operated at the drafting level (Coenen ately preceding and following passages (Appendix et al., 2021; Lee et al., 2022). We are excited to K.3). We do the same for DOC - NOCONTROL. continue exploring novel forms of human interac- tion that become possible as automated generation Results. Table 6 confirms that the detailed con- capabilities continue to improve. troller substantially improves DOC’s ability to fol- low low-level outline details during drafting. Scaling to Longer Texts. While our stories (ex- However, the overall numbers remain low, point- ceeding 3500 words on average) are lengthy by ing to two issues. First, the outline leaf itself may neural text generation standards, they remain rel- be problematic: it may be unexpected in context, or atively short by human authors’ standards. We 3385
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
代码从哪里读
原始来源入口。入口可从 scripts/main.py 和 story_generation/ 追踪;不要照旧导读中未经核实的文件名寻找模块。控制器依赖也必须按代码实际接口确认。