SubeventWriter: Iterative Sub-event Sequence Generation with Coherence Controller

Zhaowei Wang, Hongming Zhang, Tianqing Fang, Yangqiu Song, Ginny Y. Wong, Simon See

Abstract

Generating logical, step-by-step sequences for complex processes—such as "how to bake a cake"—remains a significant challenge for Large Language Models (LLMs). Standard "all-at-once" generation often results in redundant steps, logical gaps, or irrelevant hallucinations. We present SubeventWriter, a framework that decomposes process generation into an iterative task. By utilizing a "Coherence Controller" to filter candidate steps during decoding, SubeventWriter ensures both local and global coherence. Our approach significantly outperforms traditional baselines on the WikiHow dataset and demonstrates robust zero-shot transfer capabilities to new domains.

Introduction

While modern LLMs excel at creative writing, they often struggle with the rigid, sequential logic required for procedural scripts. When tasked with generating a multi-step guide, models frequently repeat themselves or introduce steps that deviate from the primary goal. Existing research typically focuses on event understanding or simple binary relations, but real-world tasks require maintaining coherence across a long sequence of sub-events.

Common challenges in sub-event generation: irrelevant and redundant candidates.

As illustrated in Figure 1, a model generating steps for a chocolate cake might propose adding carrots (irrelevant) or repeating a previous step (redundant). SubeventWriter addresses these issues by shifting from holistic generation to iterative, event-level decoding.

Methods: The SubeventWriter Framework

SubeventWriter operates through a cycle of generation and verification, ensuring each new step logically follows the preceding ones while contributing to the overall objective.

Iterative Event-level Decoding

Instead of producing a full block of text, the model generates one sub-event at a time. It uses a prompt-based template (e.g., "How to [Process]? Step 1: [Event 1]... Step n: [Mask]") to predict the next logical step. Once a step is confirmed, it is appended to the input for the next iteration, providing a clear context for subsequent generation.

The Coherence Controller

The core innovation is the Coherence Controller, a BERT-based discriminator that acts as a "critic" to the generator's "actor." During beam search, the generator produces several candidates for the next step. The Controller scores these candidates based on:

  1. Global Coherence: How well the step fits the overall process theme.
  2. Local Coherence: How well the step follows the immediate predecessor without being redundant.
The SubeventWriter architecture, showing the iterative loop between the Seq2Seq LM and the Coherence Controller.

To train this controller, the authors utilized synthetic data, creating "negative" examples by intentionally shuffling steps or inserting unrelated actions into valid sequences.

Experimental Setup and Datasets

The model was primarily trained and evaluated on WikiHow, a dataset containing over 80,000 human-annotated processes. To test the model's ability to generalize to unseen domains (zero-shot transfer), the researchers used SMILE and DeScript, which contain curated sequences for everyday activities.

Results

SubeventWriter demonstrated substantial improvements over "all-at-once" baselines across both automated and human metrics.

  • Quantitative Performance: On the WikiHow test set, the T5-3b version of SubeventWriter achieved a BLEU-1 score of 34.75, a significant jump from the 27.99 achieved by standard methods.
  • Human Evaluation: Human experts rated SubeventWriter significantly higher in relevance and conciseness. The model was notably more effective at avoiding redundant instructions.
  • Zero-Shot Generalization: SubeventWriter outperformed baselines on the SMILE and DeScript datasets without additional tuning, indicating it had learned the underlying logic of procedural generation rather than just memorizing training data.

Discussion and Limitations

Despite its success, SubeventWriter faces challenges regarding specific domain knowledge. For instance, in an error analysis involving "Strawberry Cupcakes," the model occasionally failed to include strawberries in the steps if that specific recipe was absent from its training data. This suggests that while the model understands the structure of baking, it lacks deep "world knowledge" about specific entities.

Future work will explore integrating external knowledge graphs and enhancing the model's reasoning capabilities to infer necessary tools and ingredients for niche processes.

Summary updated

BibTeX
@inproceedings{wang2022subeventwriter,
  author = {Zhaowei Wang and Hongming Zhang and Tianqing Fang and Yangqiu Song and Ginny Y. Wong and Simon See},
  title = {{SubeventWriter: Iterative Sub-event Sequence Generation with Coherence Controller}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.103},
}
Figure