Introduction
Language models often struggle to generate diverse logical preconditions for events, typically outputting minor lexical variations of the exact same idea. This paper introduces DiP (Diverse Preconditions), a novel three-stage pipeline that dynamically generates event "trigger words" to use as control codes. This approach guides the model to produce a wide variety of logically sound preconditions without requiring new, heavily annotated training data.
The Challenge of Semantic Redundancy
In natural language understanding, identifying the logical connections between events is crucial. However, real-world events usually have multiple preconditions. For example, to "open a door," one must first "approach the door," "turn a key," and "push the door."
When researchers train standard sequence-to-sequence models (like GPT-2) to generate preconditions, the models suffer from severe redundancy. Because existing training datasets typically only annotate a single precondition per target event, models learn to "play it safe." If you ask a model for five preconditions using standard beam search, it will likely give you five nearly identical sentences (e.g., "The Senate voted on Thursday," "The Senate voted on Wednesday," etc.). While repetition penalties can force lexical diversity, they often lead to hallucinations or irrelevant information. The authors tackle the challenge of forcing a model to generate semantically diverse preconditions while maintaining high logical quality.
The DiP Framework
To solve this, the authors propose DiP, a generative pipeline consisting of three distinct modules:
- Event Sampler (The "Idea" Generator): Instead of asking a model to generate a full sentence immediately, DiP first uses a GPT-2 model to generate just a precondition trigger word (usually a verb, like "approach" or "turn"). Crucially, this sampler is fed a reduced context of the target event (e.g., just the target verb and a few neighboring words). Stripping away specific context forces the model to learn a more general mapping of event relationships, yielding a diverse set of starting points.
- Candidate Generator (The "Sentence" Builder): A second GPT-2 model takes the full target event description, plus the trigger word generated in step 1 appended as a control code (e.g.,
<E> approach). This forces the model to construct a full precondition sentence anchored around that specific trigger word. - Post-Processor (The "Quality" Filter): Finally, a BERT-based classifier scores how likely the generated sentences are to be true preconditions, re-ranking them. An Iterative Redundancy Filter then uses cosine similarity on the BERT embeddings to weed out any remaining semantic duplicates.
Experimental Results
The models were fine-tuned on the PeKo dataset. To improve the models' grasp of temporal ordering, the authors performed Domain Adaptive Pre-Training (DAPT) using 1.1 million event pairs extracted from the NYT Corpus.
DiP vastly outperformed standard Beam Search on diversity metrics. On the Self-BLEU metric (where lower means more diverse), Beam Search scored 0.234, while DiP scored a highly diverse 0.038.
In head-to-head human evaluations against the strong Repetition Penalized Sampling (RPS) baseline, DiP won 56 out of 96 matchups. Annotators graded generated preconditions on a 0-2 scale; DiP achieved an average score of 1.101, significantly beating the RPS baseline's 0.954. Furthermore, nearly 40% of DiP's outputs were rated as "Definitely a Precondition," compared to 34.1% for RPS.
Conclusion
The authors highlight that "reduced context breeds diversity." By feeding the Event Sampler only the core trigger of the target event, it is forced to sample from a much wider distribution of possible preceding actions. While limitations exist—such as syntactic conflicts and re-ranker precision—this multi-stage, dynamic control-code approach could be generalized as a broader framework for controllable, diverse output generation in other conditional language modeling tasks.
Summary updated