Abstract
Large Language Model (LLM) personalization holds great promise for tailoring responses by leveraging personal context and history. However, real-world users usually possess sparse interaction histories with limited personal context, such as cold-start users in social platforms and newly registered customers in online E-commerce platforms, compromising the LLM-based personalized generation. To address this challenge, we introduce GraSPer (Graph-based Sparse Personalized Reasoning), a novel framework for enhancing personalized text generation under sparse context. GraSPer first augments user context by predicting items that the user would likely interact with in the future. With reasoning alignment, it then generates texts for these interactions to enrich the augmented context. In the end, it generates personalized outputs conditioned on both the real and synthetic histories, ensuring alignment with user style and preferences. Extensive experiments on three benchmark personalized generation datasets show that GraSPer achieves significant performance gain, substantially improving personalization in sparse user context settings.
Introduction: The Challenge of Sparse Context
Personalizing LLM outputs—such as tailoring a product review, summarizing a text in a specific tone, or predicting a rating—relies heavily on retrieving a user's past interactions to understand their style and preferences. Most current methods assume users have a rich history (e.g., 10+ past texts).
However, real-world data follows a long-tail distribution: over 95% of users on e-commerce or social platforms have written fewer than two texts. For these "sparse" or "cold-start" users, the LLM simply doesn't have enough context to personalize effectively. While some recent approaches try to borrow history from similar users using graph-based retrieval, blindly injecting this external data often introduces noise and stylistic mismatches, confusing the LLM rather than helping it.
The GraSPer Framework
To address these limitations, we propose GraSPer (Graph-based Sparse Personalized Reasoning), a three-step framework that marries graph neural networks with LLM reasoning:
- Personal Context Expansion (Link Prediction): GraSPer models users and items as a bipartite graph. Using a GraphSAGE neural network, it predicts which new items a sparse user is most likely to interact with based on the behavior of similar users.
- Synthetic Text Generation with Reasoning Alignment: To pad the user's sparse profile, GraSPer generates "synthetic" reviews for these predicted items. To prevent this synthetic data from being noisy or out-of-character, the model is fine-tuned to generate a reasoning path first. For example, the LLM explicitly reasons: "User likes lightweight laptops; similar users praised this item's battery; therefore, the review should focus on portability." This ensures the generated synthetic history aligns with the user's actual style.
- Personalized Text Generation: Finally, when asked to generate a review or predict a rating for a target item, the LLM uses the newly augmented profile (real history + reasoning-aligned synthetic history) to produce a highly accurate, personalized final output.
Experimental Evaluation
The framework was evaluated on three benchmark datasets designed to reflect real-world data sparsity (average profile size of ~1.1 reviews per user): Amazon Reviews, Hotel Experience, and Stylized Feedback (focusing on linguistic diversity).
Key Results
- Significant Performance Gains: GraSPer achieved over 10% average gains across datasets for text generation tasks (measured via ROUGE, METEOR, and LLM-as-a-Judge metrics) compared to state-of-the-art baselines.
- Better Rating Predictions: It improved ordinal classification (rating prediction) by 15% (measured via lower RMSE and MAE).
- Beats Strong Baselines: It consistently outperformed LaMP (prompt-based personalization), PGraph (graph retrieval without reasoning), and REST-PG (reasoning without graph expansion).
- Cold-Start Success: GraSPer demonstrated meaningful improvements even for absolute "cold-start" users (0 historical reviews) by successfully leveraging contextual cues and similar-user graphs at inference time.
Discussion and Insights
Synergy of Graph Expansion and Reasoning
Graph expansion and reasoning are perfectly complementary. Expanding a user's context blindly adds noise, which hurts performance. Conversely, asking an LLM to "reason" about a user's preferences when they have no history is impossible. GraSPer shows that you need both: the graph provides the raw material, and the reasoning acts as a filter to extract only what is stylistically relevant.
Bias-Variance Trade-off
Adding synthetic data reduces variance (which disproportionately helps sparse users), but introduces bias (because the predicted items might not perfectly match the user). Explicit reasoning alignment shrinks this bias, allowing the model to safely ingest more synthetic context without degrading into noise.
Limitations and Future Work
While robust, the link prediction step inevitably introduces some noise due to imperfect edge predictions. Additionally, GraSPer requires fine-tuning the LLM to align its reasoning paths, which adds training complexity compared to purely prompt-based methods. Future work will explore extending this reasoning-enhanced paradigm to other real-world scenarios where data sparsity is the norm, potentially exploring different graph architectures or dynamic reasoning structures.
Summary updated