Technical Summary: A/B Agent for Industrial Strategy Iteration
1. Problem Statement
Industrial recommendation systems rely heavily on large-scale A/B testing to iterate strategies, a process that is currently labor-intensive and time-consuming. It requires human experts to repeatedly design strategies, configure experiments, analyze results, and adjust parameters. A critical bottleneck is the fragmentation of historical knowledge; valuable insights from past experiments are scattered across heterogeneous sources (documents, code, logs) without a unified abstraction, making systematic reuse difficult.
While Retrieval-Augmented Generation (RAG) agents have been proposed to assist, existing approaches suffer from two main limitations:
- Flat Knowledge Organization: Traditional RAG systems retrieve text chunks based on semantic similarity, failing to model the hierarchical relationships between business scenarios, recommendation stages, optimization objectives, and experimental contexts. This leads to mismatched retrieval and poor cross-scenario transfer.
- Lack of Self-Evolution: Current agents typically provide one-shot recommendations without a long-horizon optimization framework. They cannot autonomously refine strategies based on sequential A/B feedback or progressively consolidate successful practices into a knowledge base.
Consequently, the industry lacks an automated system capable of transforming fragmented historical records into structured, transferable experiences and continuously refining strategies through online feedback loops.
2. Methodology
The paper proposes A/B Agent, a closed-loop framework designed for industrial recommendation strategy optimization. The framework consists of three tightly coupled components:
2.1 Historical Strategy Knowledge Organization
To address knowledge fragmentation, the system structures historical experiment records into a Hierarchical Experience Tree.
- Record Structuring: Raw experiment reports are converted into a unified schema covering business background, scenario, stage, objective, strategy description, parameters, metrics, and risks.
- Agentic Extraction: A strategy agent decomposes records into atomic, self-contained "strategy chunks" from multiple perspectives (problem, scenario, mechanism).
- Tree Construction: These chunks are organized into a tree TE=(VE,EE) where nodes represent categories (domain, scenario, stage, objective) and leaves store specific strategy details. This structure allows for precise retrieval within matched branches and knowledge transfer across related branches.
2.2 Autonomous Target-Aware Strategy Generation
Given a new optimization request, the agent generates executable strategies using a Multi-Path Tree-RAG approach:
- Multi-Path Retrieval: The system maps the request to a semantic path in the experience tree and retrieves candidates using both sparse (exact terms) and dense (semantic) retrieval.
- Context-Aware Boosting: Unlike flat RAG, this module boosts candidates that structurally match the request's scenario, stage, and objective. It calculates a tree-path relevance score based on the shortest-path distance between nodes in the hierarchy.
- Reranking and Generation: A reranker (Qwen-Reranker) performs fine-grained scoring based on mechanism and constraints. The strategy generator then adapts transferable mechanisms to the target task, considering engineering constraints and deployment conditions.
- Judging: Generated candidates are evaluated by agent-based judges for contextual relevance, evidence consistency, and safety before being converted into an executable A/B test configuration.
2.3 Experiment-Guided Strategy Self-Evolution
Post-deployment, the system enters a self-evolution loop:
- Experiment Tree Construction: Successive experiment versions are organized into an Experiment Tree (TA∗), where nodes represent strategy variants and edges represent modifications.
- Utility Evaluation: The system defines a utility function U(v) that balances core metric gains against guardrail metric degradation (penalizing negative impacts on user experience or platform stability).
- Iterative Tuning: The agent compares parent-child and sibling nodes to identify effective modifications. If a branch saturates or violates guardrails, it retrieves alternative mechanisms from the experience tree to create new branches. Validated outcomes are distilled back into the experience tree, closing the loop for continuous knowledge accumulation.
3. Key Contributions
The paper outlines the following contributions:
- A/B Agent Framework: A closed-loop agent for mining historical strategies, enabling cross-scenario transfer, analyzing A/B results, and optimizing parameters in industrial recommender systems.
- Hierarchical Experience Tree: A novel structure that decomposes historical strategies into transferable skills, supporting structured, target-aware retrieval and generation.
- Self-Evolution Mechanism: An experiment-tree-guided approach for A/B tuning that enables joint metric analysis, parameter optimization, and continuous knowledge updates without manual intervention.
- Industrial Dataset: The construction of a dataset containing 310 historical recommendation strategies across three e-commerce scenarios, including configurations, outcomes, and multidimensional metrics.
- Empirical Validation: Extensive offline and online evaluations demonstrating the framework's effectiveness.
4. Experimental Results
The paper evaluates A/B Agent across three industrial e-commerce scenarios on the Kuaishou platform.
Offline Performance:
- A/B Agent achieved the highest average overall score of 7.244, outperforming the strongest general-purpose LLM (Claude-Sonnet-4.6, 7.151) by 1.3%.
- Compared to the strongest RAG baseline in each scenario, A/B Agent improved the overall score by 25.0%, 31.7%, and 23.5%, respectively.
- It surpassed GPT-5.5 in correctness and Claude-Sonnet-4.6 in novelty, demonstrating that structured industrial knowledge and transferability-aware retrieval yield superior results.
Online A/B Testing:
- In a real-world deployment for short-video e-commerce recommendations, A/B Agent achieved a 4.829% improvement in Cart GMV.
- Crucially, it maintained positive gains across all guardrail metrics (including Live GMV, Watch Time, and Platform Orders), whereas earlier experimental iterations by the agent showed trade-offs that were subsequently resolved through self-evolution.
- The agent successfully navigated the Pareto frontier, moving from initial configurations with guardrail risks to a final state that improved both business metrics and platform safety.
Ablation Study:
- Removing the knowledge base caused an absolute score decline of 0.238 (approximately 3.3% of the total score), highlighting the importance of historical experience.
- Replacing the hierarchical Tree-RAG with Flat RAG resulted in an absolute decline of 0.015 (approximately 0.2% of the total), confirming the value of hierarchical organization.
- Removing retrieval enhancements (e.g., scenario-aware boosting) led to absolute declines ranging from 0.070 to 0.122 (approximately 1.0% to 1.7% of the total).
5. Significance and Claims
The paper claims that A/B Agent addresses the gap between general LLM agents and the specific, complex requirements of industrial strategy iteration. Its significance lies in:
- Systematizing Fragmented Knowledge: By organizing unstructured historical data into a hierarchical tree, the system enables reliable knowledge transfer across different business contexts, which flat RAG systems fail to achieve.
- Autonomous Continuous Improvement: The framework moves beyond one-shot generation to a self-evolving loop where the agent learns from online feedback, refining strategies and parameters autonomously.
- Balancing Optimization and Safety: The experiment-guided self-evolution mechanism explicitly models the trade-off between core metric gains and guardrail constraints, allowing the agent to navigate toward Pareto-optimal solutions that human experts might struggle to find manually.
The authors conclude that A/B Agent effectively translates historical strategy knowledge into measurable online business improvements, offering a scalable solution for industrial strategy optimization while maintaining system health. Future work is noted to focus on stronger requirement alignment and automated engineering-feasibility verification.