SynGraph: A Dynamic Graph-LLM Synthesis Framework for Sparse Streaming User Sentiment Modeling

Xin Zhang, Qiyu Wei, Yingjie Zhu, Linhai Zhang, Deyu Zhou, Sophia Ananiadou

Introduction

Sentiment analysis has traditionally been viewed through a static lens, treating reviews as independent snapshots of user opinion. However, real-world user sentiment is inherently dynamic; a consumer's perception of a product often evolves through continued use or changing expectations. Modeling this evolution requires a streaming approach, yet researchers frequently encounter the "ghost town" problem: extreme data sparsity.

In streaming environments, most users review products infrequently (temporal sparsity) and possess few direct interactions within the data network (spatial sparsity). This lack of data points makes it nearly impossible for standard machine learning models to track sentiment trajectories accurately. To overcome this, we present SynGraph, a novel framework that combines dynamic graph modeling with Large Language Model (LLM)-powered data synthesis to bridge the gaps in sparse user histories.

The Challenge of Evolving Sentiment

The core difficulty in streaming sentiment analysis is that a user's language may not always align linearly with their numerical ratings over time. As shown in Figure 1, a user might maintain a positive linguistic tone while their underlying satisfaction—reflected in ratings—gradually declines. Capturing these subtle shifts requires a continuous stream of data that simply does not exist for the majority of users in real-world datasets.

Illustration of evolving user sentiment where language remains positive despite declining ratings over time.

Existing graph-based methods attempt to mitigate sparsity by leveraging "second-order" connections (e.g., users who bought the same items). However, in a streaming context, even these connections are often too sparse to provide a reliable signal for training deep learning architectures.

The SynGraph Framework

SynGraph employs a "decompose-and-recompose" strategy to address different flavors of sparsity through a three-stage pipeline: categorization, synthesis, and integration.

1. Categorization of Sparse Users

Rather than applying a uniform solution to all low-activity users, SynGraph segments them into three distinct tiers based on their network position and activity patterns:

  • Mid-tail Users: Those who provide reviews in inconsistent bursts.
  • Long-tail Users: Those with very few direct reviews but identifiable indirect connections through product interactions.
  • Extreme Users: The "cold start" scenario, where users have virtually no history or network connections.

2. LLM-Augmented Data Synthesis

This stage serves as the framework's engine, utilizing GPT-3.5-turbo to generate contextually relevant synthetic reviews and user profiles. For Mid-tail users, the LLM summarizes historical trends to interpolate missing periods. For Long-tail users, the system analyzes second-order relationships—inferring a profile based on what similar users said about shared products. For Extreme users, the framework generates "pseudo-data" based on global trends and popular product benchmarks to establish a baseline sentiment.

Overview of the SynGraph framework, detailing user categorization and the LLM-augmented synthesis pipeline.

3. Dynamic Graph Integration

These synthetic events are injected into a Continuous-Time Dynamic Graph (CTDG). By treating synthetic reviews as "bridge events," the framework allows graph encoders (such as DC-DGNN) to learn smoother, more accurate transitions in user sentiment rather than struggling with disjointed data points.

Experimental Evaluation and Results

The framework was evaluated using three sparse categories from the Amazon review collection: Magazine Subscriptions, Appliances, and Gift Cards. These datasets were kept in their raw, messy form to test the model's robustness against real-world noise.

SynGraph demonstrated significant performance improvements across 15 of 18 experimental configurations. Most notably, the framework achieved a 36.8% reduction in Root Mean Squared Error (RMSE) for BERT-based models on the Magazine Subscriptions dataset. Furthermore, the DC-DGNN model saw a 26.42% improvement after augmentation. Beyond raw accuracy, the synthetic data maintained high "Aspect Similarity" and "Sentiment Similarity," confirming that the LLM was generating contextually grounded content rather than random noise.

Conclusion and Future Directions

SynGraph proves that LLMs can act as powerful "contextual interpolators" in graph-based learning, transforming sparse, unusable data into a rich stream for sentiment modeling. While the current iteration relies on random neighbor sampling for computational efficiency, future work will explore more principled selection mechanisms and "hallucination-robust" synthesis to further refine the accuracy of generated profiles in massive-scale datasets.

Summary updated

BibTeX
@inproceedings{zhang2025syngraph,
  author = {Xin Zhang and Qiyu Wei and Yingjie Zhu and Linhai Zhang and Deyu Zhou and Sophia Ananiadou},
  title = {{SynGraph: A Dynamic Graph-LLM Synthesis Framework for Sparse Streaming User Sentiment Modeling}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure