TL;DR
EvoRec is an autonomous, multi-agent framework that automates the optimization of recommender systems without human intervention. Unlike standard LLM-based approaches that act as simple code translators, EvoRec co-evolves both the recommendation model and its own optimization methodologies over time by distilling lessons from a persistent memory of past successes and failures.
What Problem Does This Paper Address?
Modern recommender systems rely on complex multi-stage pipelines that require continuous tuning—from feature engineering and architecture design to hyperparameter optimization. Traditionally, this iterative process is driven manually by human engineers, making it slow, inefficient, and heavily bounded by individual expertise.
While Large Language Model (LLM) agents offer a path toward automation, existing solutions suffer from three major flaws:
- Shallow Agent Involvement: Agents are often relegated to mere code generation, while humans still have to dictate the optimization direction.
- Static Experience Modules: Their internal "skills" or memory components remain frozen after deployment, meaning they repeat the same mistakes and fail to reuse successful strategies.
- Confined Search Spaces: They are typically restricted to hyperparameter tuning within a narrow, predefined range, making them incapable of introducing structurally novel algorithmic ideas.
Methods
EvoRec introduces a dual-track self-evolution mechanism driven by four collaborating LLM agents (powered by Claude Opus 4.6). The framework consists of three core components: an evolvable Model, a dynamic Skill Library, and a structured Persistent Memory.
The four agents operate as follows:
- Orchestrator Agent: The central manager that coordinates the global state, activates the optimization loop, and logs trajectories into memory.
- Research Agent: Generates optimization hypotheses each round by retrieving external knowledge (e.g., from arXiv or technical blogs) and combining it with existing skills and historical data.
- Code Agent: Translates the Research Agent's hypotheses into actual code modifications (diff patches), executes the training pipeline, and returns evaluation metrics.
- Skill Evolver: Every $N$ rounds, this agent reviews the persistent memory to distill abstract, reusable methodologies (e.g., "Hard Negative Mining" strategies). It updates the Skill Library using three operators: Merge (consolidating similar skills), Refine (updating existing skills), and Create (expanding the library with novel skills).
Datasets
The authors evaluated EvoRec on two distinct datasets:
- Amazon Books: A widely used public benchmark dataset, filtered to include users with at least 5 interactions.
- Industrial Dataset: A massive, large-scale dataset sampled from the internal interaction logs of a major Southeast Asian e-commerce platform. It contains approximately 2.95 billion user-item interactions, 14.7 million users, and 20.1 million items.
Key Insights and Ideas
- Co-Evolution of Model and Method: EvoRec doesn't just search for a better model configuration; it learns how to optimize. By abstracting local experiment trajectories into declarative natural language "Skills," the system's optimization strategy becomes increasingly refined over time.
- The Value of Remembering Failures: Unlike traditional search algorithms that discard failed runs, EvoRec stores failed trajectories as negative examples. This explicitly prevents the Research Agent from repeating past mistakes, accelerating convergence.
- Open-Domain Exploration: By allowing the Research Agent to query external knowledge sources, EvoRec can break out of rigid parameter spaces to introduce entirely new structural changes, such as switching from a standard Binary Cross-Entropy (BCE) loss to an InfoNCE loss.
Key Results
EvoRec was evaluated against both traditional ID-based and modern generative recommendation baselines, as well as AutoML variants.
- Offline Performance: EvoRec consistently outperformed all baselines, delivering up to a 5.54% relative improvement in offline metrics (Recall@K and NDCG@K). It significantly beat AutoML, proving that open-domain code evolution yields better results than searching within a fixed configuration space.
- Ablation Studies: Removing any core component led to performance drops. Eliminating the Skill Evolution track caused a 2.10% drop in Recall@10, while removing Persistent Memory caused a 3.50% drop, confirming that learning from history is vital.
- Online Production Gains: In a 7-day live A/B test on the Southeast Asian e-commerce platform, EvoRec achieved a 1.85% lift in advertising revenue and a 1.02% gain in Click-Through Rate (CTR) compared to the production model, demonstrating its real-world commercial viability.
Limitations and Future Work
While EvoRec marks a major step toward fully autonomous recommendation engineering, the authors note a few areas for future development:
- Multi-Stage Optimization: Extending the framework from single-stage model tuning to optimizing complex, multi-stage cascade recommendation pipelines (e.g., matching, pre-ranking, and ranking working in tandem).
- Cross-Task Skill Transfer: Enabling the Skill Evolver to transfer distilled methodologies across entirely different recommendation scenarios or datasets, allowing the system to start with a warm-started library of engineering wisdom.
Summary updated