Abstract: Graph-based recommender systems often struggle with the "static world" assumption, requiring expensive full retraining to incorporate new streaming data. We present Lightweight Compositional Embedding (LCE), a novel framework that enables efficient incremental updates. By maintaining explicit embeddings for stable nodes (users) and deriving compositional embeddings for dynamic nodes (items) via graph aggregations, LCE achieves state-of-the-art performance with significantly reduced parameter overhead and near-instant update capabilities.
Introduction
In the fast-paced world of online platforms, a recommender system is only as good as its last update. If a user joins a new community or a new product goes viral, a model that only knows about yesterday’s data is already obsolete. However, most state-of-the-art graph-based models are "static"—to learn from new data, they typically require stopping the system to retrain the entire model from scratch. This creates a significant lag between user behavior and model response.
Researchers from Purdue University and Microsoft have introduced LCE (Lightweight Compositional Embedding) to bypass this bottleneck. LCE allows for near-instant updates as data streams in, all while using significantly fewer parameters than traditional models.
Methodology
The core innovation of LCE is its partially compositional architecture. In a standard model, every user and every item is assigned its own dedicated explicit embedding. LCE optimizes this by recognizing that we do not need to store both.
Instead, the model learns and stores explicit embeddings for the node type that is more "static" (usually users). For the more "dynamic" node type (usually items), the model calculates representations on the fly by aggregating the embeddings of the users who have interacted with them. LCE uses a stack of Graph Convolutional Network (GCN) layers to propagate this information across the graph. When a new interaction occurs, the model only needs to perform a quick calculation to update the item's representation, requiring no backpropagation or gradient descent during the streaming phase.
This approach is partially inductive, meaning it can handle "cold-start" items—items the model has never seen before—simply by looking at which existing users are interacting with them.
Experimental Evaluation
The authors evaluated LCE on three large-scale public datasets (Yelp, Epinions, and LibraryThing) and one internal production dataset from Microsoft Teams (224K users, 65M interactions).
Key Insights
- The Stationarity Assumption: Experiments showed that items are generally more "non-stationary" than users; their popularity and context change faster. Representing users explicitly and items compositionally yielded the best results.
- Parameter Efficiency: By storing embeddings for only one side of the bipartite graph, LCE is incredibly lightweight. On the Epinions dataset, LCE used roughly 5x fewer parameters than LightGCN while delivering superior performance.
- Closing the "Skyline" Gap: The "skyline" represents the performance of a model that is perfectly retrained on all available data at every step. LCE's incremental updates perform remarkably close to this theoretical maximum.
Results
LCE consistently outperformed strong baselines like SLIM, ALS, and LightGCN in streaming scenarios. On the Yelp dataset, LCE showed a 15.22% improvement in Recall@20 over the best baseline. In the Microsoft Teams production environment, LCE outperformed LightGCN by 6.42% in Precision@3 while using 80% fewer parameters.
Furthermore, LCE significantly outperformed baselines when recommending "cold-start" items. While retraining a full model might take hours or days, an incremental update in LCE takes only a few seconds, drastically reducing the latency of the recommendation pipeline.
Conclusion and Future Work
LCE represents a major step forward in making graph-based recommenders viable for real-time streaming applications. While the current model is "partially inductive," future work aims to develop a "fully inductive" version that handles both new users and new items simultaneously by integrating node attributes like text or image features. Additionally, determining the optimal frequency for "major" updates to refresh explicit embeddings remains an open research question.
Summary updated