Introduction
Predicting the logical steps to achieve a goal—such as "How to bake a cake"—is a fundamental reasoning task for artificial intelligence. This task, known as event sequence prediction, requires generating a chronological series of actions (e.g., Determine brand $\rightarrow$ Determine price $\rightarrow$ Select series $\rightarrow$ Pay) to reach a high-level objective. Traditional approaches often treat this as a statistical induction problem, stitching together sequences from similar goals in a database. However, these methods suffer from limited diversity and significant knowledge gaps, as they lack the common-sense reasoning required for novel or creative tasks.
Methodology: The Three-Stage Pipeline
To address these limitations, we propose a three-stage "Augmentation, Retrieval, Generation" framework. This approach moves beyond simple induction by integrating external common-sense knowledge and reference-based generation to produce more accurate and diverse sequences.
1. Augmentation
The first stage embeds common-sense knowledge into a T5 (Text-to-Text Transfer Transformer) model by pre-training it on the ATOMIC knowledge base. Two specific tasks are used to teach the model event relationships:
- Tail Event Generation (TG): Predicting a related tail event from a head event (e.g., "move towards door" $\rightarrow$ "run out of room").
- Order Recovery (OR): Chronologically ordering two related events provided in a random sequence.
2. Retrieval
When presented with a new goal, the system retrieves relevant "reference" sequences from a database of known events in two steps:
- Lexical Retriever: A fast keyword-based search identifying sequences with overlapping verbs or objects.
- Scoring Retriever: A BERT-based model that ranks candidates to select the $k$ most relevant sequences, providing a structural "sketch" for the final output.
3. Generation
The final stage uses the augmented T5 model to generate a coherent event sequence. It takes the original goal and the retrieved reference sequences as input, leveraging its pre-trained common-sense knowledge to produce linguistically flexible and accurate steps.
Experimental Results
The framework was evaluated using the WikiHow dataset, which contains over 12,000 training sequences. Performance was measured using E-ROUGE, a metric quantifying the match between predicted events and ground truth.
Our model demonstrated massive performance gains. In the "Basic Setting" (evaluating based on verbs), the proposed model achieved an E-ROUGE1 of 24.95, nearly doubling the performance of the previous state-of-the-art model, APSI (14.80). While a gap remains compared to human performance (29.01), our approach significantly narrows it. Ablation studies, visualized in the performance charts, confirmed that all three stages—Augmentation, Retrieval, and Generation—are critical to the model's success, with the scoring retriever providing the highest accuracy gains.
Conclusion
By combining common-sense pre-training with example-based retrieval, our three-stage framework significantly advances the state-of-the-art in event sequence prediction. Future work will explore incorporating more specialized knowledge bases and optimizing the scoring retriever to further enhance the relevance of reference sequences.
Summary updated