HOB: A Holistically Optimized Bidding Strategy under Heterogeneous Bidding Environments


Abstract

Optimizing a single advertising campaign across heterogeneous channels is a central challenge in industrial autobidding. Auction mechanisms vary across channels in ranking rules (pure eCPM vs. UE-augmented scoring), pricing formats (first- vs. second-price), and bidding conventions (uniform vs. non-uniform), while advertisers impose shared campaign-level constraints. We propose HOB, which makes marginal cost (MC) computable and alignable across heterogeneous channels, especially for first-price auctions (FPA) with organic–paid coexistence, where existing bidding formulations do not yield a practical aligned MC form. At the global level, HOB derives channel-specific MC forms and coordinates disparate channels through a shared MC target. At the local level, HOB models free-win probability and winning-price uncertainty with a zero-inflated exponential distribution, yielding an efficient surplus-optimal bidding strategy for non-uniform first-price auctions. We show that any interior optimum satisfies MC equalization across channels. Experiments on a controlled offline benchmark, industrial log replay, and large-scale online A/B tests demonstrate that HOB consistently delivers significant performance gains. Deployed on a large-scale commercial DSP, HOB delivers a 3.0% lift in GMV while maintaining return on advertising spend (ROAS) constraints.

<ccs2012> <concept> <concept_id>10010405.10003550.10003596</concept_id> <concept_desc>Applied computing Online auctions</concept_desc> <concept_significance> </concept_significance> </concept> <concept> <concept_id>10002951.10003227.10003447</concept_id> <concept_desc>Information systems Computational advertising</concept_desc> <concept_significance>500</concept_significance> </concept> <concept> <concept_id>10002951.10003260.10003272.10003275</concept_id> <concept_desc>Information systems Display advertising</concept_desc> <concept_significance>500</concept_significance> </concept> </ccs2012>

1 Introduction↩︎

Figure 1: Illustration of heterogeneous bidding environments.

Automated advertising systems have become a major revenue source for modern internet platforms [1][4]. Before 2018, most platforms adopted second-price auctions (SPA) with uniform bidding, where each campaign bid as \(bid_j=\eta \cdot Value_j\) by tuning a single scalar \(\eta\), and the winner paid the second-highest bid [5], [6]. Here, \(Value_j\) denotes the expected advertiser value per impression, defined toward different objectives such as expected clicks, conversions or GMV. The industry-wide shift to first-price auction (FPA) has fundamentally changed this paradigm [7][10]. FPA has gained increasing adoption because it offers higher revenue potential for publishers and reduces concerns over discriminatory treatment induced by personalized reserve prices. Since bidders now pay their own bids, optimal bidding becomes request-level and inherently non-uniform [11]. Prior work has therefore studied non-uniform bidding methods that account for the competitive landscape [12][14].

Meanwhile, modern DSPs increasingly provide auto-bidding services that enable a single campaign to bid across multiple heterogeneous channels, as illustrated in Figure 1. However, existing studies predominantly focus on per-channel optimization, leaving the cross-channel coordination across heterogeneous environments insufficiently explored. This challenge is further complicated by the integration of paid signals into allocations that were previously organic [15]. In many platform-wide marketing solutions, allocation is determined by a hybrid score combining user experience (UE) and an ad’s effective cost per mille (eCPM), i.e., \(FinalScore = UE + \alpha \cdot eCPM\). Under such a mechanism, an ad with sufficiently high UE may still win exposure even with a zero bid.

We therefore target two coupled challenges: (i) cross-channel coordination under shared budget/ROAS constraints, and (ii) within- channel optimality in FPA with organic–paid coexistence. Our contributions are: (i) Global optimality under heterogeneous channels. We formulate multi-channel autobidding with shared budget and ROAS constraints, and provide a practical update rule to adjust channel bidding parameters toward this equilibrium; (ii) Optimal FPA bidding under organic–paid coexistence. We derive request-level surplus-optimal bids by modeling free wins and conditional winning-price distributions; (iii) Production-scale effectiveness. Offline experiments and large-scale online A/B tests show significant GMV gains under the same constraints, and we report a scalable production deployment in a commercial system.

2 Related Work↩︎

2.1 Auto Bidding↩︎

The core task of an automated bidding system is to optimize an advertiser’s objectives under various constraints [1][4], [16]. Existing work broadly falls into two lines. The first studies how to bid, formulating bidding as sequential decision-making and solving it with PID control, online linear programming, reinforcement learning or conditional action generation [1], [17][20]. The second re-examines what to bid for. Instead of optimizing immediate revenue per exposure, uplift-based methods optimize incremental value to better capture causal effects [21][25]. A common limitation is that most studies assume a simplified market, neglecting the complexities of modern advertising ecosystems that feature heterogeneous bidding environments.

2.2 Bidding Across Multiple Channels↩︎

Cross-channel bid optimization has attracted growing attention. Prior work studies utility maximization under budget constraints [26] and value maximization with additional target-ROAS constraints [27]. Recent theory further suggests that, ignoring budget exhaustion, the optimal strategy equalizes marginal cost (MC) across channels [28].  [29] study the same MC equalization principle under abstract value/cost functions and propose efficient search algorithms with provable guarantees. However, our work operates at an abstraction level: we derive explicit MC forms for each auction type and provide a deployable online alignment mechanism.

2.3 Bid Shading↩︎

Bid shading is a standard approach for non-uniform bidding in FPA [30][35]. Mainstream methods fall into two categories. The first [30], [34] predicts an optimal shading factor, \(bid_{j}=shading\_factor_j*\eta*Value_j\). Due to estimation variance, even unbiased predictors can underbid and lose many auctions; asymmetric losses can penalize underbidding but provide no guarantee [36]. The other [31], [35], [37] models the win probability and searches the bid that maximizes expected surplus, \(bid_{j}= \arg\max_{b\ge 0}(\eta*Value_j-b)p_j(b)\). Related advances include leveraging second-price signals to help first-price modeling [38] and end-to-end multi-slot bid shading [39]. Crucially, these methods are all designed for a pure FPA environment and do not account for organic-paid coexistence.

3 Algorithms↩︎

For convenience, we list the notation used throughout the paper.

l@L \(\eta_i\) & control parameter of bidding strategy in channel \(i\)
\(v_{ij}(\eta_i)\) & value of impression \(j\) in channel \(i\)
\(b_{ij}(\eta_i)\) & bid price of impression \(j\) in channel \(i\)
\(wp_{ij}\) & winning price of impression \(j\) in channel \(i\)
\(p_{ij}(b)\) & win probability of impression \(j\) in channel \(i\) at bid \(b\)
\(V_i(\eta_i)\) & total value in channel \(i\)
\(C_i(\eta_i)\) & total cost in channel \(i\)
\(MC_i(\eta_i)\) & marginal cost in channel \(i\)

3.1 Problem Formulation↩︎

We consider a unified optimization problem over heterogeneous channels \(\mathcal{I} = \{su, fu, fn\}\) corresponding to SPA, uniform FPA, and non-uniform FPA, respectively. The objective is defined under either MaxReturn (\(B > 0, R = 0\)) or TargetROAS (\(B > 0, R > 0\)) objectives, subject to Budget and TargetROAS constraints: \[\label{eq:opt} \max_{\{\eta_i\}} \sum_{i \in \mathcal{I}} V_i(\eta_i) \quad \text{s.t. } \sum_{i \in \mathcal{I}} C_i(\eta_i) \le B, \quad \textstyle\frac{\sum_i V_i(\eta_i)}{\sum_i C_i(\eta_i)} \ge R.\tag{1}\] Assuming \(V_i, C_i\) are continuously differentiable, the optimal solution can be characterized via the KKT conditions [40].

Theorem 1 (Marginal Cost Equalization). For heterogeneous channels sharing a common B and R, any regular interior optimum satisfies the MC equalization condition: \[\mathrm{Marginal Cost}_{i}(\eta_i^*)\;=\frac{C_i^{'}(\eta_i^{*})}{V_i^{'}(\eta_i^{*})} =\mu, \forall i\in\{su,fu,fn\}\] where \(\mu\) is a channel-independent constant.

Proof Sketch. Let \(L(\eta, \lambda, \gamma) = \sum V_i - \lambda(R \sum C_i - \sum V_i) - \gamma(\sum C_i - B)\) be the Lagrangian. The stationarity condition \(\partial L / \partial \eta_i = 0\) implies \((1+\lambda)V_i'(\eta_i^*) = (\lambda R + \gamma)C_i'(\eta_i^*)\). Rearranging terms gives \(C_i'/V_i' = (1+\lambda)/(\lambda R + \gamma) \triangleq \mu\). The full proof is provided in the Appendix 6.1.1. ◻

Our basic idea is to optimize bidding holistically in heterogeneous bidding environments by using channel-specific bidding and aligning MC across channels. Specifically, Sections 3.2–3.4 derive the bidding formulation and MC for each channel type, while Section 3.5 shows how these channel-specific MCs can be aligned through a shared target for global coordination (see Figure 2).

3.2 Bid and MC in SPA↩︎

Under the Generalized Second-Price (GSP) auction rule, a common variant of the SPA, the winner pays the minimum amount required to maintain their rank over the next-highest bidder. Uniform bidding is optimal in this setting, so we do not consider non-uniform bidding. The cost of acquiring incremental impressions is proportional to the bid multiplier \(\eta_{su}\), and the MC equals \(\eta_{su}\):

\[\begin{align} V_{su}(\eta_{su}) &= \sum_{j\in\mathcal{J}_{su}} v_{su,j}\cdot\mathbb{I}\!\{b_{su,j}(\eta_{su})\ge wp_{su,j}\},\\ C_{su}(\eta_{su}) &= \sum_{j\in\mathcal{J}_{su}} wp_{su,j}\cdot\mathbb{I}\!\{b_{su,j}(\eta_{su})\ge wp_{su,j}\},\\ b_{su,j}(\eta_{su})&= v_{su,j}\cdot\eta_{su},\qquad MC_{su}(\eta_{su})=\eta_{su}. \label{mc95spa} \end{align}\tag{2}\]

3.3 Bid and MC in uniform FPA↩︎

In FPA channels, the winner’s payment is equal to their submitted bid. When increasing their bid multiplier from \(\eta_{fu}\) to \(\eta_{fu}+\Delta\), they not only pay for newly won impressions but also pay an additional \(\Delta \cdot V(\eta_{fu})\) for the impressions they were already won. This additional term results in a higher MC: \[\begin{align} V_{fu}(\eta_{fu}) &= \sum_{j\in\mathcal{J}_{fu}} v_{fu,j}\cdot\mathbb{I}\!\{b_{fu,j}(\eta_{fu})\ge wp_{fu,j}\},\\ C_{fu}(\eta_{fu}) &= \sum_{j\in\mathcal{J}_{fu}} b_{fu,j}(\eta_{fu})\cdot\mathbb{I}\!\{b_{fu,j}(\eta_{fu})\ge wp_{fu,j}\},\\ b_{fu,j}(\eta_{fu})&= v_{fu,j}\cdot\eta_{fu},\qquad MC_{fu}(\eta_{fu})=\eta_{fu}+\frac{V(\eta_{fu})}{V'(\eta_{fu})}. \label{eq:mc95fpa95ub} \end{align}\tag{3}\] The full derivation of \(MC_{fu}\) can be found in Appendix 6.1.2.

3.4 Bid and MC in non-uniform FPA↩︎

In FPA channels that allow non-uniform bidding, as discussed in the related work, there are two typical forms of non-uniform bidding. Compared with shading-factor methods that directly scale bids but do not provide an explicit expression of MC, surplus maximization with winning probability \(p_{fn,j}(b)\) yields an explicit MC. The optimal bid maximizes the \(\eta_{fn}\)-weighted expected surplus [30]: \[b_{fn,j}(\eta_{fn}) =\arg\max_{b\ge 0}\; \bigl(\eta_{fn}\, v_{fn,j} - b\bigr)\,p_{fn,j}(b). \label{eq:surplus95continuous}\tag{4}\]

Here we work with ex-ante expected value and cost rather than replay-style indicator quantities. In non-uniform FPA, the winning price is modeled as a random variable, and the bid optimization in Eq. 4 is defined against its win probability \(p_{fn,j}(b)\). Consequently, the aggregate value and cost are naturally defined as expectations over the winning-price distribution: \[\begin{align} V_{fn}(\eta_{fn}) = \sum_{j\in J_{fn}} v_{fn,j}\, p_{fn,j}(b_{fn,j}(\eta_{fn})),\\ C_{fn}(\eta_{fn}) = \sum_{j\in J_{fn}} b_{fn,j}(\eta_{fn})\, p_{fn,j}(b_{fn,j}(\eta_{fn})). \end{align}\]

Theorem 2 (MC in non-uniform FPA Channel). For the optimal bid in Eq. 4 , the MC is equal to the control parameter \(\eta_{fn}\).

Proof Sketch. For each request \(j\) (omitting the subscript \(fn\) for brevity), the FOC yields \(p_j(b_j) + b_j p'_j(b_j) = \eta v_j p'_j(b_j)\). Defining aggregate value \(V(\eta) = \sum_j v_j p_j(b_j)\) and cost \(C(\eta) = \sum_j b_j p_j(b_j)\), their derivatives satisfy: \[C'(\eta) = \sum_j [p_j + b_j p'_j] b'_j(\eta) = \sum_j (\eta v_j p'_j) b'_j(\eta) = \eta V'(\eta).\] Thus, \(MC_{fn}(\eta_{fn}) = \textstyle \frac{dC/d\eta_{fn}}{dV/d\eta_{fn}} = \eta_{fn}\). The full proof is provided in Appendix 6.1.3. ◻

3.4.0.1 Remark 3.1 (Boundary cases).

In practice, we constrain the bid to the feasible interval \([0,\eta_{fn} v_{fn,j}]\) and project the unconstrained solution onto this range when necessary. Thus, \(MC_{fn}(\eta_{fn})=\eta_{fn}\) should be understood for the interior active set, while the projected solution is used in deployment.

Winning-Price Modeling. We model the \(p_{fn,j}(b)\) using a Zero-Inflated Exponential (ZIE) distribution: \(p_{fn,j}(b| u, a) = \pi_{\theta} + (1-\pi_{\theta}) \cdot (1-e^{-\lambda_{\theta} \cdot b})\), where \(\pi_{\theta}\) and \(\lambda_{\theta}\) are predicted by a neural model conditioned on user \(u\) and advertiser \(a\). The ZIE model is chosen for its: (i) High Fidelity: it captures the zero-spike (due to high UE scores) and right-skewed tail of competitive auctions; (ii) Robustness: its parsimonious two-parameter form prevents overfitting; and (iii) Efficiency: it facilitates fast optimal bid computation. The surplus maximizer admits a unique closed-form solution: \(b_{fn,j}^* = \eta_{fn} v_{fn,j} + \textstyle\frac{1 - \omega\bigl( 1 + \lambda_{\theta} \eta_{fn} v_{fn,j} - \ln(1 - \pi_{\theta}) \bigr)}{\lambda_{\theta}}\) , where \(\omega(\cdot)\) is the Wright \(\omega\) function [41]. The strictly increasing nature of \(\omega(z)\) guarantees a unique optimum in \([0, \eta_{fn} v_{fn,j}]\), allowing for efficient online inference via mature numerical libraries.

Figure 2: Overview of HOB. The left module performs request-level bid optimization for FPA-NU by modeling free-win probability and winning-price uncertainty. The right module aligns channel-level MC through a shared target, enabling globally coordinated autobidding across heterogeneous channels.

3.5 MC Alignment↩︎

To achieve global optimality, we align all channels to a shared MC \(\mu\). Since \(MC_{su} = \eta_{su}\) and \(MC_{fn} = \eta_{fn}\), this directly yields \(\eta_{su} = \eta_{fn} = \mu\). For uniform FPA, since \(MC_{fu} = \eta_{fu} + V_{fu}(\eta_{fu})/V'_{fu}(\eta_{fu}) = \mu\). we need a non-trivial mapping from \(\mu\) back to \(\eta_{fu}\). The term \(V_{fu}(\eta_{fu}) / V'_{fu}(\eta_{fu})\) required for this alignment. For practical implementation, we adopt a simpler approximation. Since the value function is expected to be monotonically increasing with diminishing marginal returns (i.e., \(V'_{fu}(\eta_{fu})>0\) and \(V''_{fu}(\eta_{fu})<0\)), we approximate it with a shifted power-law form: \(a \cdot (\eta_{fu}+c)^b\) (\(a,c>0, 0<b<1\)). By computing the ratio \(V_{fu}/V'_{fu}\) and substituting it into the equation, we obtain a closed-form alignment mapping: \(\eta_{fu} = \textstyle\frac{b \cdot \mu - c}{b+1}\).

Theorem 3 (Optimality of \(\mu^*\)). At the aggregate level, we adopt the mild assumption that \(V(\mu)\) and \(C(\mu)\) are non-decreasing in \(\mu\), and that \(\mathrm{ROAS}(\mu)=V(\mu)/C(\mu)\) is non-increasing on the feasible region. Consider \[\max_\mu V(\mu)\quad \text{s.t.}\quad C(\mu)\le B,\;\mathrm{ROAS}(\mu)\ge R.\] Define \(\mu_B^*=\sup\{\mu\mid C(\mu)\le B\}, \mu_R^*=\sup\{\mu\mid \mathrm{ROAS}(\mu)\ge R\}.\)

Then an optimal solution is given by \(\mu^* = \min(\mu_B^*, \mu_R^*)\). Moreover, \(\mu^*\) is the largest feasible aligned threshold. If the feasible frontier is strictly monotone, then this optimal solution is unique.

Proof Sketch. Since \(V(\mu)\) is non-decreasing, maximizing \(V(\mu)\) is equivalent to choosing the largest \(\mu\) that satisfies both constraints. By the monotonicity of \(C(\mu)\) and \(\mathrm{ROAS}(\mu)\), the feasible set is characterized by \(\mu \le \mu_B^* \quad \text{and} \quad \mu \le \mu_R^*.\) Hence the largest feasible threshold is \(\mu^*=\min(\mu_B^*,\,\mu_R^*)\) which is therefore optimal. Uniqueness further follows when the feasible frontier is strictly monotone. The full proof is provided in Appendix 6.1.4. ◻

Theorem 3 defines the optimal static threshold \(\mu^*\). In practice, since future traffic is unknown, \(\mu^*\) cannot be solved in advance. We therefore maintain a time-varying threshold \(\mu_t\) and update it online from budget/ROAS feedback, e.g., via PID control. Shifted power-law coefficients are updated via nonlinear least squares on a rolling 24-hour log window. Appendix 6.2 provides the pseudo-code.

Table 1: YOYI experimental results: Metrics per channel
Method Channel Pred. Clk\(\uparrow\) Cost MC
UB FPA-u 6307 4005 1.35
FPA-nu 6307 4005 1.35
SPA-u 6307 1988 0.64
All 18921 9999.8 Std(MC)=0.34
NUB-Z FPA-u 7600 5902 2.02
FPA-nu 3333 1134 0.55
SPA-u 7600 2905 0.78
All 18533 9942.5 Std(MC)=0.64
FPA-u 5417 2849 1.07
FPA-nu 5515 2889 0.95
SPA-u 9158 4260 0.99
All 20090 9999 Std(MC)=0.05

4pt

Table 2: YOYI experimental results: Ablation study. \(\dagger\) denotes our method significantly outperforms the baselines with \(p < 0.05\) under a paired t-test over 10 independent runs.
Method MaxReturn TargetCPC
Pred.Clk\(\uparrow\) Pred.Clk\(\uparrow\)
UB +0.0% +0.0%
NUB-G \(-\)7.5% \(-\)9.0%
NUB-L \(-\)9.4% \(-\)12.4%
NUB-Z \(-\)2.8% \(-\)3.4%
HOB-G +2.3% +2.9%
HOB-L +2.5% +3.2%
HOB-Z +4.8%\(^{\dagger}\) +6.0%\(^{\dagger}\)
HOB-Z-oracle +6.3% +7.6%

4 Experiments↩︎

In our evaluation, we systematically investigate four key Research Questions (RQs): (1) Does MCA improve performance? (2) What are the benefits of ZIE distribution and power-law approximation? (3) Is HOB robust to different settings? (4) How can HOB be deployed in industrial systems for efficiency gains?

Because no public dataset contains heterogeneous auction channels with organic-paid coexistence, we construct a controlled benchmark from YOYI for reproducible offline comparison, while relying on production logs and online A/B tests for realism.

4.1 Offline controlled benchmark↩︎

YOYI [42] contains 402M impressions, 500K clicks and 428K CNY expense, among which 363M impressions are used for training and 39M for testing. Each impression is represented as a tuple \((y,z,\mathbf{x})\), where \(y \in \{0,1\}\) denotes whether the ad was clicked, \(z\) denotes the winning price, and \(\mathbf{x}\) is a feature vector describing the request. Since YOYI doesn’t provide the predicted value for each impression, we assign each impression an extra predicted value \(v\) using a neural model, which is trained by treating \(y\) as label. To further simulate the heterogeneous channels, the dataset is split equally into three parts, where distinct auction mechanisms are adopted. Specifically, we consider three different types of channel: SPA channel (SPA-u), FPA channel restricted to uniform bidding (FPA-u), FPA channel permitting non-uniform bidding (FPA-nu). We assess performance using these key metrics: Predicted Click, Cost, MC.

To answer RQ(1): We compare the following three strategies:

  • UB: Unified \(\eta\) and uniform bidding for all three channels.

  • NUB: Unified \(\eta\); SPA and FPA-u use uniform bidding, while FPA-nu uses the non-uniform bid in Section 3.4.

  • HOB(MCA&NUB): Aligns marginal costs (\(MC=\mu\)) via channel-specific \(\eta_i\) and non-uniform bidding for FPA-nu.

Table 1 reports the MCA evaluation results on the YOYI dataset. Two observations stand out. First, bid shading without cross-channel MC alignment degrades performance, confirming that local optimization alone is insufficient. Second, HOB achieves the best overall performance by driving substantially better cross-channel alignment, reducing the standard deviation of channel-wise MC to 0.05.

Figure 3: (a) Empirical CDF (black) vs.fitted CDFs under different distributions. (b) Validation of Power-law assumption.

To answer RQ(2): We examine the validity of the ZIE distribution and the power-law approximation.

Winning-Price Fitting. Since the YOYI dataset contains no free wins, it cannot directly validate HOB’s handling of zero-price impressions. To introduce a realistic zero-price component, we inject zero-price impressions by adding zero-mean Gaussian noise (\(\sigma=1.0z\)) to winning prices and clipping at zero, yielding 15.41% zero-price impressions. We then estimate \(p(b)\) with DeepFM as it has been verified to be highly effective in  [35], to predict these distribution parameters from \(\mathbf{x}\) by MLE, and evaluate Gamma (G), Log-normal (L), and ZIE (Z) under NUB and HOB. Table 2 shows that HOB-Z consistently performs best. To further validate these assumptions in practice, we fit each candidate distribution to production bidding logs. As shown in Figure 3 (a), the ZIE distribution most accurately captures the empirical CDF.

Value-Function Approximation. Replacing the power-law-based \(\eta_{fu}\) with a log-replay oracle (HOB-Z-oracle) yields only a 1.5% Clk gain on average in Table 2, indicating the approximation is sufficiently accurate. Figure 3 (b) further shows that the fitted curve closely matches the ground-truth value curve.

To answer RQ(3): We test robustness under different settings. From the advertiser perspective, Figure 4 (a) shows the gains in Click under varying budget levels, compared with UB and NUB. HOB delivers consistent gains across budget levels, with larger improvements for high-spend campaigns due to greater savings on free-win impressions. We also vary the composition of heterogeneous channels. Keeping the total number of impressions fixed, we increase the share of one channel and split the remaining evenly between the other two. As shown in Figure 4 (b), NUB-Z fails to consistently outperform UB, while HOB demonstrates robust superiority across all channel-share settings, with the largest gains under balanced traffic mixes (i.e., no single channel dominates).

Figure 4: (a) HOB gains under different budget levels. (b) HOB gains under different channel proportions.

4.2 Offline Industrial log replay↩︎

In addition, we conduct offline evaluation on a 0.1% sample of production auction logs, containing tens of millions of requests from MaxReturn and TargetROAS campaigns. Since true counterfactual conversions are unobservable, we replay each method using the platform’s production value model to assign predicted values, and compare methods on aggregated predicted GMV, cost, and ROAS. Notably, 60% of the GMV in this dataset originates from a non-uniform FPA channel. The dataset provides rich features for users (e.g., gender, age, purchase history) and ads (e.g., shop, brand, category) enabling the training of winning price models under diverse assumptions. 7-day training set and 1-day test are set based on a temporal split. Table 3 reports the results for both MaxReturn and TargetROAS campaigns. Under the TargetROAS objective, higher spend is desirable as long as the ROAS constraint remains satisfied. The increased spend of HOB therefore indicates that it unlocks additional efficient traffic rather than relaxing the constraint.

Table 3: Industrial log-replay results. Budget = 300.00 for MaxReturn, and TargetROAS = 3.00 for TargetROAS. \(\dagger\) denotes our method significantly outperforms the baselines with \(p < 0.05\) under a paired t-test over 10 independent runs.
Method MaxReturn TargetROAS
2-4 (lr)5-7 Pred.GMV\(\uparrow\) Cost ROAS\(\uparrow\) Pred.GMV\(\uparrow\) Cost ROAS
UB 907.1 (+0.0%) 300.0 3.0 909.6 (+0.0%) 303.2 3.0
NUB-G 910.6 (+0.4%) 300.0 3.1 922.8 (+1.5%) 308.1 3.0
NUB-L 920.2 (+1.5%) 299.9 3.1 931.6 (+2.4%) 310.6 3.0
NUB-Z 909.6 (+0.3%) 300.0 3.0 920.5 (+1.2%) 306.8 3.0
MCA&NUB-G 1011.9 (+11.6%) 299.9 3.4 1053.7 (+15.8%) 351.4 3.0
MCA&NUB-L 1014.0 (+11.8%) 299.9 3.4 1054.5 (+15.9%) 351.5 3.0
HOB-Z 1024.0 (+12.9%) \(^{\dagger}\) 300.0 3.4 1065.4 (+17.1%) \(^{\dagger}\) 355.1 3.0

4.3 Online Deployment↩︎

Table 4: Online results. ROAS 70% Rate denotes the fraction of ads whose realized ROAS reaches at least 70% of the target. \(\dagger\) indicates statistical significance under a 1,000-sample nonparametric bootstrap (95% CI excludes zero).
Impression Click GMV Cost ROAS 70% Rate
100% 100% 100% 100% 100%
+2.1% +0.9% +1.2% +0.4% -0.3%
+1.5% +0.6% -1.5% +1.6% +2%
+6.5%\(^{\dagger}\) +3.2%\(^{\dagger}\) +3.0%\(^{\dagger}\) +3.1%\(^{\dagger}\) +1%\(^{\dagger}\)

To answer RQ(4): We conduct online A/B tests on a large-scale DSP processing billions of daily bid requests, focusing on TargetROAS campaigns. The results show that under the same TargetROAS constraint, our approach enables campaigns to spend more budget while delivering higher GMV. In the FPA-nu channel, we estimate winning prices with a two-tower model: user/ad embeddings are updated hourly. Online serving only computes an inner product to output distribution parameters, and the bid is computed via the Wright \(\omega\) function, which is numerically equivalent to the Lambert-W function, adding only 0.53 ms average latency. In the FPA-u channel, the power-law coefficients are refreshed hourly. Then the MCA module is implemented as a simple linear transformation. We use campaign-level randomization with 10 buckets. After a 7-day A/A check, we select the most balanced buckets (max GMV relative difference: 0.46%) and calibrate the A/B results by the A/A discrepancies. As shown in Table 4, HOB yields a statistically significant 3.0% uplift, without compromising the constraints.

5 Conclusion↩︎

In this paper, we study optimal bidding in modern advertising with heterogeneous auction mechanisms and organic-paid coexistence. We propose HOB with two key ideas: (1) marginal cost alignment to balance cost-efficiency across channels, and (2) an effective closed-form bidding strategy for FPA-nu that explicitly accounts for free wins under organic–paid coexistence. Extensive offline experiments and large-scale online A/B tests on a leading DSP validate our approach, delivering a 3.0% GMV improvement in production.

6 Appendix↩︎

6.1 Proofs↩︎

6.1.1 Proof of Theorem 1↩︎

Proof. Since the denominator in the TargetROAS constraint is strictly positive, the fractional constraint can be rearranged into a linear form. We form the Lagrangian \(\mathcal{L}\) as:

\[\mathcal{L}({\eta}, \lambda, \gamma) = \sum_{i \in \mathcal{I}} V_i(\eta_i) - \lambda H({\eta}) - \gamma G({\eta})\]

where \(H(\eta)=\mathrm{R}\cdot{\sum_{i\in\mathcal{I}} C_{i} (\eta_{i})}-\sum_{i\in\mathcal{I}} V_{i} (\eta_{i})\) denotes the ROAS constraint, and \(G(\eta)=\sum_{i\in\mathcal{I}} C_{i} (\eta_{i}) - \mathrm{B}\) denotes the budget constraint. Here, \(\lambda\) and \(\gamma\) are the Lagrange multipliers associated with the ROAS and budget constraints, respectively.

Under the Linearly Independent Constraint Qualification (LICQ), if \(\eta^*=(\eta_{su}^*,\eta_{fu}^*,\eta_{fn}^*)\) is a local optimum, there exist multipliers \((\lambda^*,\gamma^*)\) such that the following KKT conditions hold:

\[H(\eta^*)\le0, \;G(\eta^*)\le0,\; \lambda^*\ge0,\; \gamma^*\ge0,\; \lambda^*H(\eta^*)=0,\; \gamma^*G(\eta^*)=0\]

By rearranging the first-order condition \(\frac{\partial \mathcal{L}}{\partial \eta_{i}} =0\), we have: \[(1+\lambda^*)\cdot V_i^{'}(\eta_i^{*}) -(\lambda^*\cdot\mathrm{R+\gamma^*})\cdot\,C_i^{'}(\eta_i^{*}) =0\] Assuming \(V_i^{'}(\eta_i)>0\) and \(C_i^{'}(\eta_i)>0\) (monotonicity of value and cost with respect to the bid control parameter), the ratio of marginal cost to marginal value is given by: \[\frac{C_i^{'}(\eta_i^{*})}{V_i^{'}(\eta_i^{*})} = \frac{\lambda^*+1}{\lambda^*\cdot\mathrm{R}+\gamma^*}\] Since the right-hand side depends only on the global multipliers \((\gamma^*, \lambda^*)\) and R, it is constant across all channels \(i \in \{su,fu,fn\}\). Thus, the MC of each channel is aligned to a unified threshold \(\mu\). ◻

6.1.2 Proof of MC in uniform FPA Channel↩︎

Proof. Fix \(\eta_{fu}\) and consider a perturbation \(\Delta\) such that \(\eta_{fu}+\Delta\) remains in the domain. Since uniform FPA uses \(b_j=\eta \cdot v_j\) and pays the submitted bid upon winning, the aggregate cost satisfies \[\label{eq:cfpa95def} C_{fu}(\eta_{fu})=\eta_{fu} \cdot V_{fu}(\eta_{fu}).\tag{5}\] Therefore,

\[\begin{align} &C_{fu}(\eta_{fu}+\Delta) - C_{fu}(\eta_{fu}) \\ &\quad = (\eta_{fu}+\Delta) V_{fu}(\eta_{fu}+\Delta) - \eta_{fu} V_{fu}(\eta_{fu}) \\ &\quad = \eta_{fu} \bigl[ V_{fu}(\eta_{fu}+\Delta) - V_{fu}(\eta_{fu}) \bigr] + \Delta \cdot V_{fu}(\eta_{fu}+\Delta). \label{eq:increment95decomp} \end{align}\tag{6}\]

Divide both sides of 6 by \(V_{fu}(\eta_{fu}+\Delta)-V_{fu}(\eta_{fu})\) to obtain \[\label{eq:mc95ratio} \frac{C_{fu}(\eta_{fu}+\Delta)-C_{fu}(\eta_{fu})}{V_{fu}(\eta_{fu}+\Delta)-V_{fu}(\eta_{fu})} = \eta_{fu}+\Delta\cdot \frac{V_{fu}(\eta_{fu}+\Delta)}{V_{fu}(\eta_{fu}+\Delta)-V_{fu}(\eta_{fu})}.\tag{7}\] Rewrite the second term as \[\label{eq:second95term95rewrite} \Delta\cdot \frac{V_{fu}(\eta_{fu}+\Delta)}{V_{fu}(\eta_{fu}+\Delta)-V_{fu}(\eta_{fu})} = \frac{V_{fu}(\eta_{fu}+\Delta)}{\frac{V_{fu}(\eta_{fu}+\Delta)-V_{fu}(\eta_{fu})}{\Delta}}.\tag{8}\] Taking \(\Delta\to 0\) and using differentiability of \(V\) at \(\eta_{fu}\) yields \[\lim_{\Delta\to 0} \frac{V_{fu}(\eta_{fu}+\Delta)}{\frac{V_{fu}(\eta_{fu}+\Delta)-V_{fu}(\eta_{fu})}{\Delta}} = \frac{V_{fu}(\eta_{fu})}{V_{fu}'(\eta_{fu})}.\] Applying the limit to 7 gives \[MC_{fu}(\eta_{fu}) = \eta_{fu}+\frac{V_{fu}(\eta_{fu})}{V_{fu}'(\eta_{fu})}.\] ◻

6.1.3 Proof of Theorem2↩︎

Proof. The proof hinges on the first-order condition (FOC) from the surplus maximization problem and the application of the chain rule to the aggregate cost and value functions. With a given control parameter \(\eta_{fn}\), the optimal bid \(b_{fn,j}(\eta_{fn})\) for impression \(j\) solves 4 . Define the expected surplus objective as \[S(b) \triangleq \bigl(\eta_{fn} \cdot v_{fn,j}-b\bigr)\,\cdot p_{fn,j}(b).\] For impressions with an interior optimum \(b_{fn,j}(\eta_{fn})>0\), the necessary first-order condition is obtained by differentiating \(S(b)\) with respect to \(b\) and setting the derivative to zero: \[\frac{\partial S(b)}{\partial b} = -p_{fn,j}(b) + \bigl(\eta_{fn}\cdot v_{fn,j}-b\bigr)\,\cdot p'_{fn,j}(b)=0,\] which can be rearranged as \[\label{eq:foc95sketch} p_{fn,j}\!\bigl(b_{fn,j}\bigr) + b_{fn,j}\,\cdot p'_{fn,j}\!\bigl(b_{fn,j}\bigr) = \eta_{fn}\,\cdot v_{fn,j}\,\cdot p'_{fn,j}\!\bigl(b_{fn,j}\bigr).\tag{9}\]

This condition links the optimal bid to the value and the control parameter \(\eta_{fn}\). The MC is defined as \(MC_{fn}(\eta_{fn}) = \frac{C^{\prime}_{fn}(\eta_{fn})}{V^{\prime}_{fn}(\eta_{fn})}\). Under the ex-ante formulation in Section 3.4, the aggregate value and cost are differentiable, avoiding the non-differentiability of replay-style indicators.

  1. Derivative of Total Value (\(V_{fn}'(\eta_{fn})\)): Applying the chain rule to \(V_{fn}(\eta_{fn}) = \sum_{j \in \mathcal{J}_{fn}} v_{fn,j} \cdot p_{fn,j}(b_{fn,j}(\eta_{fn}))\) gives: \[\label{eq:value95deriv95sketch} V_{fn}'(\eta_{fn}) = \sum_{j \in \mathcal{J}_{fn}} v_{fn,j} \cdot p'_{fn,j}(b_{fn,j}) \cdot \frac{d(b_{fn,j})}{d\eta_{fn}}.\tag{10}\]

  2. Derivative of Total Cost (\(C_{fn}'(\eta_{fn})\)): Applying the chain rule to \(C_{fn}(\eta_{fn}) = \sum_{j \in \mathcal{J}_{fn}} b_{fn,j}(\eta_{fn}) \cdot p_{fn,j}(b_{fn,j}(\eta_{fn}))\) and replacing the result using the FOC from Equation 9 yields: \[\label{eq:cost95deriv95sketch} C_{fn}'(\eta_{fn}) = \sum_{j \in \mathcal{J}_{fn}} v_{fn,j} \cdot \eta_{fn} \cdot p'_{fn,j}(b_{fn,j}) \cdot \frac{d(b_{fn,j})}{d\eta_{fn}}.\tag{11}\]

Inspecting, we observe that \(C_{fn}'(\eta_{fn}) = \eta_{fn} \cdot V_{fn}'(\eta_{fn})\). Taking the ratio of the two derivatives, the summation terms cancel out: \[\begin{align} MC_{fn}(\eta_{fn}) &= \frac{C_{fn}'(\eta_{fn})}{V_{fn}'(\eta_{fn})} \\ &= \frac{\eta_{fn} \cdot \sum_{j \in \mathcal{J}_{fn}} \left( v_{fn,j} \cdot p'_{fn,j}(b_{fn,j}) \cdot \frac{d(b_{fn,j})}{d\eta_{fn}} \right)}{\sum_{j \in \mathcal{J}_{fn}} \left( v_{fn,j} \cdot p'_{fn,j}(b_{fn,j}) \cdot \frac{d(b_{fn,j})}{d\eta_{fn}} \right)} = \eta_{fn}. \end{align}\]

This establishes that the MC of value acquisition with respect to the control parameter \(\eta_{fn}\) coincides with \(\eta_{fn}\) itself. ◻

6.1.4 Proof of Theorem 3↩︎

Proof. Consider a multi-channel setting where the aligned bidding control parameter \(\mu\) jointly determines the total value \(V(\mu)\) and total cost \(C(\mu)\). The following properties are directly implied by the per-channel definitions.

The following properties hold for the aggregated market environment:

  • Monotonicity of value. By construction of the channel-wise value functions, the total value \(V(\mu)\) is monotonically non-decreasing in \(\mu\), with range \([0,+\infty)\).

  • Monotonicity of cost. By construction of the channel-wise cost functions, the total cost \(C(\mu)\) is monotonically non-decreasing in \(\mu\), with range \([0,+\infty)\).

  • Monotonicity of ROAS. Under MC alignment, the MC satisfies \(MC(\mu) = \mu\), hence it is monotonically increasing in \(\mu\) for each channel and for overall. Consequently, the ROAS function is monotonically non-increasing in \(\mu\), with range \([0, ROAS_{\max}]\), where \(ROAS_{\max}\) denotes the maximum attainable ROAS of a single best impression in the impressions pool.

6.1.4.1 Existence and uniqueness.

By the intermediate value theorem and the monotonicity above, the feasible solution exists and is unique when the feasible frontier is strictly monotone.

  • Only consider budget constraint: Assume a finite set of candidate impressions indexed by \(k=1,\dots,K\), each with value \(v_k\), cost \(c_k\), and threshold \(\mu_k\) (i.e., impression \(k\) is selected when \(\mu\ge \mu_k\)). For any \(\mathrm{B}>0\), define \[\mu_B^* = \max \left\{ \mu \;\middle|\; \sum_{k=1}^{K} c_k \cdot \mathbb{I}(\mu \geq \mu_k) \leq \mathrm{B} \right\}. \label{eq:mu95budget}\tag{12}\]

  • Only consider ROAS constraint: For any target ROAS level \(\mathrm{R}\in[0,ROAS_{\max}]\), define \[\mu_R^* = \max \left\{ \mu \;\middle|\; \frac{\sum_{k=1}^{K} v_k \cdot \mathbb{I}(\mu \geq \mu_k)}{\sum_{k=1}^{K} c_k \cdot \mathbb{I}(\mu \geq \mu_k)} \geq \mathrm{R} \right\}. \label{eq:mu95roas}\tag{13}\]

6.1.4.2 Optimal solution.

The overall feasible solution is given by \[\mu^*=\min\!\left(\mu_B^*,\mu_R^*\right). \label{eq:mu95star}\tag{14}\] Moreover, since \(V(\mu)\) is monotonically non-decreasing, \(\mu^*\) is optimal and coincides with the largest feasible threshold under the constraints. In practice, given the monotone relationship between \(\mu\) and the constraints, \(\mu^*\) can be obtained either by constraint inversion (solving 1213 ) or by online feedback control that dynamically adjusts \(\mu\) to drive the system toward the optimal point. ◻

6.2 Pseudo-code↩︎

Figure 5: HOB: MC-Aligned Bidding under Heterogeneous Channels

7 GenAI Usage Disclosure↩︎

The authors employed LLMs solely for post-writing refinement and language polishing. All substantive components of this work, including research conception, methodological design, theoretical analysis, experimental execution, and interpretation of results, were independently conceived and carried out by the authors.

References↩︎

[1]
Zhiyu Mou, Yusen Huo, Rongquan Bai, Mingzhou Xie, Chuan Yu, Jian Xu, and Bo Zheng.2022. Sustainable Online Reinforcement Learning for Auto-bidding.  [cs.LG].
[2]
Tong Geng, Fangzhou Sun, Di Wu, Wei Zhou, Harikesh Nair, and Zhangang Lin.2021. . Available at SSRN 3913039(2021).
[3]
Nikolay Borissov, Dirk Neumann, and Christof Weinhardt.2010. . Autonomous Agents and Multi-Agent Systems21, 2(2010), 115–142.
[4]
Pingjun Jiang.2025. . Journal of Marketing Analytics13, 1(2025), 82–95.
[5]
Peter Cramton.2004. . In 37th Annual Hawaii International Conference on System Sciences, 2004. Proceedings of the. IEEE, 11–pp.
[6]
Dongwei Zhao, Audun Botterud, and Marija Ilic.2023. . In Proceedings of the 14th ACM International Conference on Future Energy Systems. 236–241.
[7]
B. Hovaness.2018. Sold for more than you should have paid. ://www.heartsscience.com/sold-for-more-than-you-should-have-paid/.
[8]
Dirk Bergemann, Benjamin Brooks, and Stephen Morris.2017. . Econometrica85, 1(2017), 107–143.
[9]
Renato Paes Leme, Balasubramanian Sivan, and Yifeng Teng.2020. . In Proceedings of The Web Conference 2020. 596–605.
[10]
Yuan Deng, Jieming Mao, V. Mirrokni, Hanrui Zhang, and Song Zuo.2022. . ArXivabs/2208.10650(2022).
[11]
Yuan Deng, Jieming Mao, Vahab Mirrokni, and Song Zuo.2021. . (2021).
[12]
R Preston McAfee John McMillan.1987. . Journal of economic literature25, 2(1987), 699–738.
[13]
Bhaskar Chakravorti, William W Sharkey, Yossef Spiegel, and Simon Wilkie.1995. . Journal of Economics & Management Strategy4, 2(1995), 345–373.
[14]
Ali Hortaçsu, Jakub Kastl, and Allen Zhang.2018. . American Economic Review108, 1(2018), 147–169.
[15]
Ningyuan Li, Zhilin Zhang, Tianyan Long, Yuyao Liu, Rongquan Bai, Yurong Chen, Xiaotie Deng, Pengjie Wang, Chuan Yu, Jian Xu, et al2025. . Available at SSRN 5190237(2025).
[16]
Yue He, Xiujun Chen, Di Wu, Junwei Pan, Qing Tan, Chuan Yu, Jian Xu, and Xiaoqiang Zhu.2021. . In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining. 2993–3001.
[17]
Han Cai, Kan Ren, Weinan Zhang, Kleanthis Malialis, Jun Wang, Yong Yu, and Defeng Guo.2017. . In Proceedings of the Tenth ACM International Conference on Web Search and Data Mining. ACM, 661–670. https://doi.org/10.1145/3018661.3018702.
[18]
Junqi Jin, Chengru Song, Han Li, Kun Gai, Jun Wang, and Weinan Zhang.2018. . ACM(2018).
[19]
Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Misha Laskin, Pieter Abbeel, Aravind Srinivas, and Igor Mordatch.2021. . Advances in neural information processing systems34(2021), 15084–15097.
[20]
Jiayan Guo, Yusen Huo, Zhilin Zhang, Tianyu Wang, Chuan Yu, Jian Xu, Bo Zheng, and Yan Zhang.2024. . In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 5038–5049.
[21]
Xiaotian Hao, Zhaoqing Peng, Yi Ma, Guan Wang, Junqi Jin, Jianye Hao, Shan Chen, Rongquan Bai, Mingzhou Xie, Miao Xu, et al2020. . In International Conference on Machine Learning. PMLR, 4060–4070.
[22]
Caio Waisman, Harikesh S. Nair, and Carlos Carrion.2025. . Marketing Science44, 1(2025).
[23]
Randall Lewis Jeffrey Wong.2022. Incrementality Bidding and Attribution.  [cs.LG]://arxiv.org/abs/2208.12809.
[24]
Jian Xu, Xuhui Shao, Jianjie Ma, Kuang-chih Lee, Hang Qi, and Quan Lu.2016. . In Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence(Phoenix, Arizona) (AAAI’16). AAAI Press, 651–657.
[25]
Daisuke Moriwaki, Yuta Hayakawa, Isshu Munemasa, Yuta Saito, and Akira Matsui.2020. Unbiased Lift-based Bidding System.  [cs.LG]://arxiv.org/abs/2007.04002.
[26]
Fransisca Susan, Negin Golrezaei, and Okke Schrijvers.2023. . arXiv preprint arXiv:2306.07352(2023).
[27]
Yuan Deng, Negin Golrezaei, Patrick Jaillet, Jason Cheuk Nam Liang, and Vahab Mirrokni.2023. . In International Conference on Machine Learning. PMLR, 7617–7644.
[28]
Gagan Aggarwal, Andres Perlroth, Ariel Schvartzman, and Mingfei Zhao.2024. Platform Competition in the Autobidding World.  [cs.GT]://arxiv.org/abs/2405.02699.
[29]
Gagan Aggarwal, Anupam Gupta, Xizhi Tan, and Mingfei Zhao.2025. . In Proceedings of the ACM Web Conference 2025 (WWW ’25). 2850–2859. https://doi.org/10.1145/3696410.3714936.
[30]
Niklas Karlsson Qian Sang.2021. . In 2021 American Control Conference (ACC). 4983–4990. https://doi.org/10.23919/ACC50511.2021.9482665.
[31]
Shengjun Pan, Brendan Kitts, Tian Zhou, Hao He, Bharatbhushan Shetty, Aaron Flores, Djordje Gligorijevic, Junwei Pan, Tingyu Mao, San Gultekin, et al2020. . arXiv preprint arXiv:2009.09259(2020).
[32]
Yanlin Qu, Ravi Kant, Yan Chen, Brendan Kitts, San Gultekin, Aaron Flores, and Jose Blanchet.2024. . arXiv preprint arXiv:2410.14864(2024).
[33]
Marco Slikker.2007. . Journal of Economic Theory137, 1(2007), 493–511.
[34]
Paulo Fagandini Ingemar Dierickx.2023. . Computational Economics61, 3(2023), 1009–1035.
[35]
Tian Zhou, Hao He, Shengjun Pan, Niklas Karlsson, Bharatbhushan Shetty, Brendan Kitts, Djordje Gligorijevic, San Gultekin, Tingyu Mao, Junwei Pan, et al2021. . In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining. 3996–4004.
[36]
Djordje Gligorijevic, Tian Zhou, Bharatbhushan Shetty, Brendan Kitts, Shengjun Pan, Junwei Pan, and Aaron Flores.2020. . In Proceedings of the 29th ACM International Conference on Information & Knowledge Management. 2453–2460.
[37]
Kan Ren, Jiarui Qin, Lei Zheng, Zhengyu Yang, Weinan Zhang, and Yong Yu.2019. . In Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining. 363–372.
[38]
Jiani Huang, Zhenzhe Zheng, Yanrong Kang, and Zixiao Wang.2024. . In Proceedings of the 17th ACM International Conference on Web Search and Data Mining. 295–303.
[39]
Zhen Gong, Lvyin Niu, Yang Zhao, Miao Xu, Haoqi Zhang, Zhenzhe Zheng, Zhilin Zhang, Rongquan Bai, Chuan Yu, Jian Xu, et al2023. . In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management. 4588–4594.
[40]
Daniel Tabak Benjamin C Kuo.1971. Optimal control by mathematical programming. SRL Publishing Company.
[41]
Robert M Corless David J Jeffrey.2002. . In International Conference on Artificial Intelligence and Symbolic Computation. Springer, 76–89.
[42]
Wei Zhang, Shuai Yuan, and Jun Wang.2016. . arXiv preprint arXiv:1404.1898(2016).