Joint Learning with Keywords: Bridging Interpretability and Performance in Social Media Event Detection
Joint Learning with Keyword Extraction for Event Detection in Social Media
This paper introduces EDJKE, a novel online social media event detection framework that integrates deep neural networks with reinforcement learning-based keyword extraction. By jointly learning to cluster messages and identify descriptive keywords, it achieves state-of-the-art performance on Twitter datasets, significantly outperforming traditional clustering and metric learning baselines.
TL;DR
Social media event detection is often a trade-off between the high performance of "black-box" deep learning and the interpretability of traditional "bag-of-words" models. EDJKE (Event Detection with Joint Keyword Extraction) breaks this dichotomy. By combining Bi-GRU encoders with a Reinforcement Learning-based keyword extractor, it delivers SOTA detection results (NMI 0.744) while providing clear, human-readable summaries for every event.
Problem & Motivation: The Distortion of Averages
In the context of Twitter, events are fast-moving and noisy. Previous neural methods (like NSMED) typically represent an "event" as the mathematical average of all tweets associated with it. However, this approach has two fatal flaws:
- Noise Sensitivity: A single off-topic tweet can "pull" the average vector away from the true event cluster.
- Lack of Semantics: A vector of floats in a latent space tells a security analyst nothing about what is actually happening (e.g., a flood in Nigeria vs. an election in Ukraine).
The authors' insight is to treat event membership and keyword extraction as a joint optimization problem. If a model can identify the defining words of an event, it can create a more robust "anchor" in the hidden space.
Methodology: Gated Memories and RL Actors
The EDJKE architecture moves away from static averages toward a dynamic state-machine approach.
1. The Encoder and Memory Module
The system uses a Bidirectional GRU with Attention to process individual tweets, ensuring that the word order and context are preserved—a step up from traditional Bag-of-Words (BoW) assumptions. The Memory Module stores the evolving state of each event, represented by a vector and a set of keywords.
2. Gated Updates
Instead of averaging, EDJKE uses a Gated Update Mechanism similar to the logic found in LSTM or GRU cells. When a new tweet is assigned to an event, a gate decides how much of the old event representation to keep and how much of the new tweet's information to integrate.

3. The Reinforcement Learning Twist
The most innovative part of the methodology is the keyword selection. Selecting discrete words from a vocabulary is a combinatorial, non-differentiable operation—meaning standard backpropagation won't work. The authors employ Proximal Policy Optimization (PPO). The "Actor" selects keywords, and the "Reward" is the actual clustering performance (NMI) on the dataset.
Experiments & Results: Surpassing the State-of-the-Art
The model was tested on a massive dataset of 120 million tweets. The results clearly show that the "Joint Learning" approach (EDJKE) provides a significant edge over traditional and purely neural baselines.
Performance Comparison
| Method | NMI | B-cubed |
|---|---|---|
| UMASS (Classical) | 0.709 | 0.270 |
| NSMED (Neural Baseline) | 0.710 | 0.358 |
| EDJKE (Proposed) | 0.744 | 0.380 |
Crucially, the version of the model with keyword extraction performed better than the version without it, proving that the constraints of interpretability actually serve as a powerful inductive bias for the model.

Deep Insight: Why Keywords Change the Game
The Case Study provided in the paper illustrates the qualitative power of this method. For an event regarding "Floods in Nigeria," the model successfully extracted "Nigeria, flood, kill".
This does more than provide an label; it assists the detection mechanism. By forcing the model to attend to these high-value terms via the reinforcement learning reward, the hidden event representation becomes more concentrated on the event's core semantics, effectively filtering out the inevitable slang, abbreviations, and noise found in social media streams.
Conclusion & Future Look
EDJKE demonstrates that the future of social media analytics isn't just about bigger models, but about smarter architectures that reconcile the interpretability humans need with the performance deep learning can provide.
Limitations to address:
- Keyword Count: The model currently uses a fixed number of keywords (e.g., 3), which might be too few for complex multifaceted events.
- Acronyms: The current encoder struggles with social-media specific acronyms (e.g., "ASEM").
Future research might look into dynamic keyword counts or multi-modal memories that store images alongside these semantic anchors.
