Abstract
In the domain of streaming recommender systems, conventional methods for addressing new user IDs or item IDs typically involve assigning initial ID embeddings randomly. However, this practice results in two practical challenges: (i) Items or users with limited interactive data may yield suboptimal prediction performance. (ii) Embedding new IDs or low-frequency IDs necessitates consistently expanding the embedding table, leading to unnecessary memory consumption. In light of these concerns, we introduce a reinforcement learning-driven framework, namely AutoAssign+, that facilitates Automatic Shared Embedding Assignment Plus. To be specific, AutoAssign+ utilizes an Identity Agent as an actor network, which plays a dual role: (i) representing low-frequency IDs field-wise with a small set of shared embeddings to enhance the embedding initialization and (ii) dynamically determining which ID features should be retained or eliminated in the embedding table. The policy of the agent is optimized with the guidance of a critic network. To evaluate the effectiveness of our approach, we perform extensive experiments on three commonly used benchmark datasets. Our experiment results demonstrate that AutoAssign+ is capable of significantly enhancing recommendation performance by mitigating the cold-start problem. Furthermore, our framework yields a reduction in memory usage of approximately 20–30%, verifying its practical effectiveness and efficiency for streaming recommender systems.
Introduction
Streaming recommendation systems, which power modern news feeds and e-commerce platforms, must handle a continuous influx of data. This environment presents two significant challenges. First, the cold-start problem: new users or items (IDs) lack sufficient interaction history, and traditional random initialization of their embeddings leads to poor prediction accuracy. Second, memory bloat: as the number of unique IDs grows, embedding tables expand indefinitely, often storing "one-hit wonder" IDs that consume excessive RAM.
While traditional "Low-Frequency Filters" (LFF) use fixed thresholds to manage these IDs, they lack the flexibility to adapt to shifting data distributions. AutoAssign+ addresses these issues by using reinforcement learning to automate embedding assignment dynamically.
The AutoAssign+ Framework
AutoAssign+ is built on an Actor-Critic reinforcement learning architecture designed to manage the lifecycle of ID embeddings automatically.
The Identity Agent (Actor)
The core of the system is the Identity Agent, which acts as the policy network. For any given ID, the agent observes its current frequency and its position within a hierarchical structure. It then selects one of three actions:
- Ascend: Move the ID toward a more specific, unique representation as it gains more data.
- Unchanged: Maintain the current embedding assignment.
- Descend: Move the ID back toward a shared, generalized embedding, effectively reclaiming memory from inactive or low-utility IDs.
Hierarchical Shared Embeddings
Instead of a binary choice between a unique embedding and a single global "unknown" embedding, AutoAssign+ utilizes a set of shared embeddings. These act as a buffer, allowing IDs to "warm up" gradually as they gain more interaction data.
Optimization via Critic Network
The Critic Network guides the Identity Agent by evaluating the impact of its decisions on the recommendation model's performance. Using Temporal Difference (TD) error, the system optimizes the agent's policy based on a reward function tied to the reduction in prediction loss. This ensures that assignments are driven by actual model performance rather than just raw frequency counts.
Experimental Evaluation
The framework was tested on three benchmark datasets: MovieLens 25M, MovieLens Latest (highly sparse), and the Netflix Prize dataset.
Key Results
- Improved Accuracy: AutoAssign+ consistently outperformed fixed-threshold baselines, showing up to a 3.85% relative improvement in accuracy and AUC.
- Memory Efficiency: The framework achieved a 20% to 30% reduction in embedding layer parameters. In the MovieLens Latest dataset, movie parameter usage was reduced by 44%.
- Cold-Start Mitigation: By providing a structured "warm-up" path through shared embeddings, the model reached stable performance for new IDs much faster than traditional methods.
Conclusion
AutoAssign+ offers a robust solution for streaming recommendation systems by balancing predictive performance with memory efficiency. By treating embedding assignment as a dynamic reinforcement learning task, it eliminates the need for manual threshold tuning and proactively manages memory. Future research will focus on improving the interpretability of the Identity Agent's decision-making process to provide better insights for system engineers.
Summary updated