The Temporal-Semantic Graph: Topological Modeling of Narrative Evolution in Political Discourse

Patrick Giedemann, Pius von Däniken, Raquel Rodríguez-García, Mark Cieliebak, Gerold Schneider, Jan Milan DeriuarXiv 2026

TL;DR

Political debate isn’t just about what people talk about—it’s about how stories branch, merge, and cast heroes and villains over time. The Temporal-Semantic Graph (TSG) uses topological data analysis to turn streams of timestamped messages into a connected map of evolving discourse. Applied to U.S. Senate tweets and New York Times articles, it recovers partisan communities without any follower or voting data, discovers shared events across corpora automatically, and exposes how the exact same legislative battle triggers opposite moral framings.

What Problem Does This Paper Address?

Computational researchers usually study political discourse through one of two lenses:

  1. Interaction networks (who retweets or follows whom), which reveal partisan echo chambers but miss how the content of debate evolves—and rely on metadata that platforms increasingly restrict.
  2. Topic models (like Dynamic Topic Models or BERTopic), which track themes over time but treat documents as isolated points or straight chains.

Neither approach captures the connective shape of a story: the moments when a single news event forks into competing partisan narratives, or when separate threads merge into a shared national debate. The authors close this gap by unifying time, semantic content, user communities, and narrative framing into a single topological backbone.

Methods

The TSG framework builds a multi-layered graph in four steps:

  1. Semantic Backbone: Messages are embedded into a high-dimensional semantic space (using Jasper-Token-Compression-600M). For noisy, short-form tweets, the authors first extract explicit "inferential decompositions" (the underlying claims); for well-formed news prose, they embed the text directly.
  2. Topological Construction via Mapper: Using the Mapper algorithm from topological data analysis, the timeline is sliced into overlapping intervals (e.g., 1,000 intervals of ~4 days with 50% overlap). Within each interval, messages are clustered by semantic similarity using HDBSCAN. Clusters become nodes, and edges connect clusters in adjacent intervals that share messages. Connected components in this graph represent coherent, unfolding discourse episodes.
Nodes as clusters and edges as shared messages, showing how discourse threads merge and fork over time
  1. User Communities & Cross-Corpus Matching: Users are linked in a similarity graph based on how often their messages co-occur in the same TSG nodes (Jaccard similarity), and partitioned into communities via the Leiden algorithm. Independently, connected components from different corpora (e.g., Senate tweets vs. NYT articles) are aligned by computing TF-IDF cosine similarity over overlapping time spans.
  2. Narrative Projection: To read how events are framed, the authors project structured labels from the Narrative Policy Framework (Setting, Hero/Villain/Victim roles) and Moral Foundations Theory (Care/Harm, Fairness/Cheating, Loyalty/Betrayal, Authority/Subversion) onto the graph, using a crowdsourcing-grounded LLM pipeline (Grok and Gemini).

Datasets

  • U.S. Senate Corpus: 39,284 tweets from 120 U.S. senators (115th–117th Congresses; 50% Democrat, 47% Republican, 3% Independent), with 33 topic labels and inferential decompositions from Hoyle et al. (2023).
  • New York Times Corpus: 56,569 article abstracts from 14 relevant desks (e.g., Politics, Business, National) covering the same timeframe.
  • New Narrative Annotations: The authors release NPF and MFT annotations for the full Senate corpus, grounded in a gold-standard sample of 250 tweets annotated by crowdworkers.

Key Insights and Ideas

  • Clustering by semantics, not stance, reveals framing clashes: Because TSG nodes group messages about the same topic at the same time, opposing partisan stances co-occur inside the same node. Layering community and narrative labels on top makes it immediately visible how two parties frame the exact same event differently.
  • Moral inversion under pressure: In a case study on the 2017 Tax Cuts and Jobs Act (TCJA), both parties deviated sharply from their usual moral baselines. Democrats shifted away from their signature Care framing (−0.17) toward Cheating (+0.38) and Betrayal (+0.21) to push the #GOPTaxScam narrative. Republicans did the exact opposite: suppressing Harm (−0.35) while co-opting Care (+0.27) and Fairness (+0.35).
  • Authority and Subversion flip with the presidency: Appeals to institutional Authority vs. Subversion aren't fixed partisan traits—they track power. Under Trump, Republicans led on Authority (70.6% vs. 65.5%) and Democrats on Subversion (21.7% vs. 12.4%). Under Biden, the pattern completely inverted (Republican Subversion jumped to 31.7%).

Key Results

  • Graph Structure: The Senate TSG contains 14,438 nodes and 9,591 edges across 4,115 non-singleton components, with 398 components exhibiting branching structure (420 forks and 368 merges).
  • Recovering Partisan Structure: Without any follower, retweet, or voting data, Leiden community detection ($\gamma = 0.8$) on the induced user graph recovers the two-party split with 0.95 party purity. User similarities correlate with actual bill co-sponsorship records at $\rho = 0.59$ ($p < 10^{-4}$), outperforming both a hashtag graph ($\rho = 0.42$) and a BERTopic baseline ($\rho = 0.50$).
  • Cross-Corpus Event Discovery: Matching Senate and NYT graphs yields 54 aligned event pairs ($\text{sim} > 0.5$) without manual annotation, cleanly isolating the TCJA debate ($\text{sim} = 0.636$).
  • LLM Annotation Quality: Grok and Gemini match or exceed human inter-annotator agreement across most NPF and MFT dimensions.

Limitations and Future Work

  • Local-only continuity: Filtering on a single timeline with fixed-width intervals means that if a topic goes dormant and resurfaces months later, it fragments into disconnected components rather than reconnecting.
  • Soft episode boundaries: Discourse episodes are emergent rather than predefined, so their exact boundaries shift with the data and hyperparameters.
  • Future directions: The authors note that the filter function, embedding, and clustering algorithm are all modular. They suggest a multiscale Mapper approach—linking graphs across multiple temporal resolutions—to identify stable discourse episodes by their persistence across scales.

Summary updated

BibTeX
@misc{giedemann2026temporal,
  author = {Patrick Giedemann and Pius von Däniken and Raquel Rodríguez-García and Mark Cieliebak and Gerold Schneider and Jan Milan Deriu},
  title = {{The Temporal-Semantic Graph: Topological Modeling of Narrative Evolution in Political Discourse}},
  year = {2026},
  eprint = {2612.01877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.01877},
}
Figure