arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.02170

DMRL: Document-Mediated Reinforcement Learning for Skill Optimization in Advertising Recommendation

Wei Zhang, Hongji Li, Song Sun, Peng Yu, Xue Yang, Lei Zhao, Peng Jiang

Abstract

Advertising recommendation requires continuously tuning complex system parameters while balancing commercial returns and user experience. Recent work has introduced large language models (LLMs) with skill documents to assist this labor-intensive process, but skill optimization remains largely prompt-driven, lacking a principled mechanism to attribute rewards to specific document edits. To address this limitation, we propose Document-Mediated Reinforcement Learning (DMRL), a skill self-evolution framework that models skill document optimization as a sequence of structured editing actions. In DMRL, an upper-level agent performs controlled document edits, while a frozen lower-level task agent evaluates their effects through A/B testing. To address credit assignment and long-term outcomes, we introduce two key components: (1) Dual-Relative Policy Optimization (DRPO), a post-training policy optimization method for robust and risk-aware advantage estimation; and (2) Long-term Reward Predictor (LRP), which estimates long-term outcomes by modeling population heterogeneity with disentangled representation learning and cross-attention transfer. DMRL was deployed on a large-scale short-video ads platform and extensive empirical evaluation shows that DMRL outperforms state-of-the-art baselines across key advertising metrics.

Date: September 3, 2026

1 Introduction

Online advertising recommendation depends on continuously balancing commercial returns and user experience [39]. As illustrated in Figure 2(a), manual-based method requires substantial human effort and computational resources. Although hyperparameter optimization (HPO) provides a general framework [3], this process still relies heavily on domain experts with empirical intuition and iterative experimentation. Despite providing incremental gains, it suffers from three fundamental limitations. First, the human effort required scales linearly with the number of parameters, creating a significant operational bottleneck. Second, tuning experience is difficult to formalize and transfer across practitioners. Third, the trial-and-error process cannot guarantee systematic exploration of the parameter space, converging to locally optimal configurations.

The emergence of LLM-based agents offers a potential remedy to limitations above. Recent work has shown that large language models can assist with complex operational workflows by externalizing domain expertise into reusable skill documents [13, 15], which specify task procedures, decision rules, and tool usage patterns. In advertising recommendation systems, such skill documents provide a promising interface for encoding tuning knowledge in a form continuously that is both executable by agents and reusable across scenarios.

Figure

Figure 1 Substantial population heterogeneity in advertising. (a) Different user segments exhibit substantially different mappings from short-term signals to long-term outcomes. Short-term signals are measured within 1 day after intervention, while long-term outcomes are defined within 7 days. (b) Different user segments exhibit distinct temporal dynamics of normalized cumulative outcomes after intervention.

Figure

Figure 2 Comparison of the different parameter tuning paradigms in advertising recommendation system.

However, as illustrated in Figure 2(b), existing approaches still optimize such skills primarily through textual refinement or prompt-like updates [1, 23, 35, 40, 48], without a principled mechanism for attributing observed rewards to specific document edits. We refer to this paradigm as skill-guided method.

Beyond edit-level credit assignment, a more fundamental challenge arises from the long-term outcomes. In advertising parameter tuning, the ultimate objective typically unfolds after days [4], making it impractical to directly optimize the upper-level policy. Prior studies on long-term outcomes [20, 45] offer partial solutions, but they do not explicitly address the pronounced population heterogeneity in advertising recommendation systems. As shown in Figure 1(a), the relationship between short-term signals and long-term outcomes differs substantially across user segments. Consequently, a predictor trained on aggregated data is dominated by majority populations, leading to biased estimation and poor generalization for underrepresented groups. Furthermore, Figure 1(b) reveals that outcomes trajectories after intervention also exhibit distinct temporal patterns across populations. Together, these observations suggest that long-term outcomes modeling should be population-aware rather than relying on a single predictor.

As illustrated in Figure 2(c), we propose DMRL, which moves beyond manual-based and skill-guided method by explicitly decomposing skill optimization into long-term outcomes estimation and edit-level reward attribution.

We refer to this paradigm as skill-optimizing method. Specifically, DMRL's core consists of three synergistic modules: (1) a structural decoupling mechanism that separates an upper-level skill optimizer responsible for document modification from a lower-level task agent responsible for parameter intervention, with the skill document serving as the semantic interface between the two levels. (2) Dual-Relative Policy Optimization (DRPO), a post-training policy optimization method for robust and risk-aware advantage estimation that handles outcomes outliers, exploits treatment-control experimental structure, and regularizes edits with edit cost. (3) Long-term Reward Predictor (LRP), a prediction module that estimates long-term outcomes from short-term signals, using disentangled representation learning and cross-attention based historical transfer. These modules are optimized through a two-stage training strategy, designed to stabilize long-term outcomes prediction and ensure accurate advantage estimation. By combining structural decoupling of long-term outcomes prediction with robust advantage estimation, DMRL provides a principled and industrially viable solution for skill optimization on advertising recommendation platforms.

Our contributions are summarized as follows:

  • We propose DMRL, a novel skill optimization framework that connects skill document editing to downstream parameter optimization through structured semantic interfaces.
  • We propose DRPO, a post-training policy optimization algorithm that extends GRPO by introducing a dual-relative advantage estimator and LRP, a long-term reward prediction module that mitigates high latency and population heterogeneity.
  • We deploy the framework on a real-world advertising platform and demonstrate significant online improvements.

References (49)