Combining graph networks and early exits speeds up LLM recommendations significantly.
This paper introduces a dual-speed optimization for LLM recommender systems using GCN retrieval and early exit strategies to balance speed and accuracy.
-----
https://arxiv.org/abs/2501.02173
π€ Original Problem:
RAG-enhanced LLM recommenders face two major bottlenecks: slow retrieval times and computational overhead from processing long input sequences. These issues limit real-time applications.
-----
π§ Solution in this Paper:
β The system employs GCN-Retriever to generate user embeddings by analyzing interaction graphs, replacing slower LLM-based retrieval.
β Multi-head early exit architecture allows model inference to terminate at intermediate layers when confidence thresholds are met.
β Layer-specific learning rates optimize training, with shallower layers getting higher rates for capturing generic features.
β A probability-based exit criterion monitors prediction consistency across layers to determine optimal termination points.
-----
π‘ Key Insights:
β Averaging embeddings from multiple GCN layers provides better user representations than using just the final layer
β Early exit strategies work best when combined with efficient retrieval mechanisms
β Layer-specific training improves model stability and convergence
-----
π Results:
β AUC improvements: BookCrossing (4.72%), Beauty (27.16%), Video Games (16.71%)
β GCN-retriever achieves 72.51 AUC vs LLM-retriever's 69.05 AUC on BookCrossing
β System maintains accuracy while improving RPS from 3.83 to 4.57 on Video Games dataset










