Introduction
Understanding "scripts"—the typical sequences of events in a situation, such as a train crash involving a collision, injuries, and a subsequent investigation—remains a core challenge in Natural Language Processing. While continuous vector embeddings can represent individual events, incorporating structured, discrete knowledge like semantic frames (e.g., [KILLING] or [IMPACT]) allows models to group similar events and capture their underlying meaning more effectively.
However, a significant hurdle is the scarcity of complete frame labels in most datasets. Existing models often either ignore this structured knowledge or require it to be fully present. This paper introduces a Sequential, Semi-Supervised Variational Autoencoder (VAE) that leverages discrete latent variables to model event sequences even when labels are only partially available.
Methodology: Semi-Supervised Latent Frames
The proposed model represents semantic frames as discrete latent variables within a VAE framework. To maintain end-to-end trainability despite the discrete nature of these variables, the authors employ the Gumbel-Softmax reparameterization trick.
Key technical innovations include:
- Semi-Supervised Guidance: When a frame label is known during training, it is injected into the encoder's logits to "nudge" the model toward the correct category. If unknown, the model relies on latent inference. This "soft" guidance allows the model to learn from available labels without being strictly constrained by noisy or incomplete data.
- Additive Attention: Inspired by neural topic modeling, the model uses an additive attention mechanism. This helps the model learn "soft clusters" of tokens that correspond to specific frames, effectively discovering "topics" within events.
- Objective Function: The loss function integrates standard VAE reconstruction and KL-divergence with a classification loss that encourages the prediction of observed frames.
Experimental Setup
The model was evaluated on two primary datasets:
- Concretely Annotated Wikipedia: A large-scale dataset of 457k English Wikipedia documents annotated with FrameNet labels using the SemaFor parser.
- New York Times (NYT): Used as an out-of-domain test set to evaluate the model's ability to generalize from encyclopedic text to news reportage.
Key Results and Insights
The model demonstrated superior performance across several metrics compared to standard RNN language models and state-of-the-art baselines like HAQAE.
Inverse Narrative Cloze (INC)
In the "pick the correct next event" task, the model outperformed all baselines. A notable finding was that performance peaked when only 40% of frames were observed (represented by $\epsilon=0.4$ in the results). The authors suggest that partial supervision forces the model to consider the entire event context, whereas full supervision might lead to "peaky" attention that focuses too narrowly on specific verbs.
Perplexity and Generalization
The model achieved significantly lower perplexity (PPL) than standard RNNLMs. When at least 70% of frames were observed, it surpassed the previous state-of-the-art. Furthermore, the model showed strong zero-shot generalization, outperforming baselines on the NYT dataset despite being trained only on Wikipedia. This indicates that the learned frame representations are robust across different domains.
Efficiency and Interpretability
The use of Gumbel-Softmax allowed for faster convergence compared to Vector Quantization (VQ-VAE) approaches. Additionally, the additive attention mechanism proved highly interpretable; for instance, the [CAUSATION] frame naturally learned to attend to causal verbs like caused, induced, and rendered.
Conclusion and Future Work
This work demonstrates that treating semantic frames as discrete latent variables in a semi-supervised framework significantly enhances event sequence modeling. By using external knowledge as a guide rather than a hard constraint, the model remains flexible and robust.
Future research directions include moving beyond linear event chains to model more complex branching or tree structures, and incorporating multiple frames per event. The authors also suggest extending this framework to include other discrete knowledge sources, such as entity information or commonsense knowledge bases.
Summary updated