NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Representation Learning in Continuous-Time Dynamic Signed Networks

Kartik Sharma, Mohit Raghavendra, Yeon-Chang Lee, Anand Kumar M, Srijan Kumar

TL;DR

SEMBA is a novel Graph Neural Network (GNN) framework designed to learn representations for dynamic signed networks, where relationships like "friend/enemy" evolve over time. By combining dual memory modules with structural balance theory, SEMBA achieves up to an 80% improvement in predicting the signs of future links, particularly excelling at identifying the often-elusive negative interactions.

What Problem Does This Paper Address?

Most existing graph learning models are specialized for either static signed networks (which capture "friend/enemy" labels but ignore time) or dynamic unsigned networks (which capture temporal evolution but ignore relationship types). However, real-world social interactions—from Bitcoin trust networks to Wikipedia admin voting—are both signed and dynamic.

The authors identify three primary challenges in this domain:

  1. Temporal-Awareness (C1): Static models ignore the sequential order of interactions, which is vital for understanding how polarization grows.
  2. Staleness (C2): In sparse networks, nodes that haven't interacted recently end up with "stale" representations.
  3. Sign-Awareness (C3): Standard dynamic GNNs assume homophily (like-links-with-like), failing to model the heterophilic nature of negative links (e.g., polarized communities).
Visualizing how signed networks evolve over time, with new links and signs appearing at different timestamps.

Methods

The authors propose SEMBA (Signed link’s Evolution using Memory modules and Balanced Aggregation). The architecture consists of four main steps:

  1. Signed Memories: Each node maintains two separate memory vectors—one for positive interactions and one for negative ones. This allows the model to distinctly track a node's "friends" and "enemies."
  2. Balanced Aggregation: When a new link $(u, v)$ appears, SEMBA updates the memories of $u$ and $v$ using principles from Structural Balance Theory. For example, if $u$ forms a negative link with $v$, $u$’s positive memory is updated using $v$’s negative memory (the "enemy of my enemy is my friend" logic).
  3. Memory Update: These aggregated messages are passed through an LSTM to update the node's long-term memory state.
  4. Long-term Propagation: To solve the staleness problem, SEMBA uses a Graph Transformer to aggregate memories from a node's entire historical neighborhood, not just its most recent contacts. This ensures that even "long-tailed" nodes with infrequent interactions maintain relevant embeddings.
Structural balance theory defines balanced and unbalanced triads, providing the mathematical intuition for SEMBA's aggregation rules.
The SEMBA pipeline: from message generation based on balance theory to final embedding generation via a Graph Transformer.

Datasets

The model was evaluated on four real-world temporal signed datasets:

  • BTC-Otc & BTC-Alpha: Who-trusts-whom networks of Bitcoin traders, including weighted links (-10 to +10).
  • WikiRfA: A voting network where Wikipedia members support or oppose candidates for adminship.
  • Epinions: A trust/distrust network from a consumer review site.

All datasets are characterized by a significant class imbalance, with positive links far outnumbering negative ones.

Key Insights and Ideas

  • Balance Theory as a Dynamic Prior: The researchers proved that structural balance theory isn't just a static observation; it's a powerful inductive bias for predicting how networks will evolve.
  • The Importance of the Minority Class: Most models perform well on positive links because they are the majority. SEMBA’s real strength lies in its ability to correctly identify negative links, which are often the most critical for detecting toxicity or conflict.
  • Mitigating Staleness: By attentively aggregating over the entire past neighborhood rather than just the current batch of events, SEMBA creates much more robust embeddings for nodes that interact sporadically.

Key Results

SEMBA was tested across four tasks: predicting link existence, link sign, signed existence (3-class), and signed weight.

  • Sign Prediction: SEMBA outperformed all baselines (including TGN and SiGAT) by up to 80% in F1-score on sign prediction tasks.
  • Link Existence: It matched the state-of-the-art performance of TGN, proving that adding sign-awareness doesn't compromise the model's ability to predict if a link will form.
  • Ablation Study: Removing the memory modules caused the largest drop in performance, confirming that dual-signed memories are the "secret sauce" of the architecture.

Limitations and Future Work

  • Computational Overhead: SEMBA is more complex than its predecessors. On the large Epinions dataset, it took roughly twice as long to train per epoch compared to TGN and required significant GPU memory (12.9 GB).
  • Link Removals: The current work only considers link additions. Real-world networks also involve links being broken or removed, which the authors suggest as a direction for future research.
  • Weight Distribution: While SEMBA handles sign prediction excellently, the authors noted that predicting the exact continuous weight of a link (e.g., a rating of -7 vs -8) remains a difficult regression task for all current models.

Summary updated

BibTeX
@inproceedings{sharma2023representation,
  author = {Kartik Sharma and Mohit Raghavendra and Yeon-Chang Lee and Anand Kumar M and Srijan Kumar},
  title = {{Representation Learning in Continuous-Time Dynamic Signed Networks}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
  doi = {10.1145/3583780.3615032},
}
Figure