Optimizing Multi-Tier Intermediation in Programmatic Advertising: A DAG-Based Mechanism for Supply Path Optimization

Amelia Bădică, Costin BădicăarXiv 2026

TL;DR

This paper moves beyond myopic, heuristic "Supply Path Optimization" (SPO) in programmatic advertising by formalizing the ad-tech supply chain as a Directed Acyclic Graph (DAG). By applying Mixed-Integer Linear Programming (MILP), the authors demonstrate how to maximize system-wide Nash Social Welfare while accounting for real-world constraints like header bidding, percentage-based fees, and strict latency timeouts.

What Problem Does This Paper Address?

Programmatic advertising—the automated buying and selling of online ads—is notoriously opaque. Ad impressions often travel through a "multi-hop" gauntlet of Supply-Side Platforms (SSPs), exchanges, and resellers before reaching a buyer. This complexity results in the "ad-tech tax," where up to 59% of advertiser spend is swallowed by intermediary fees and structural friction.

Current industry solutions for Supply Path Optimization (SPO) are "myopic." They typically rely on simple heuristics, like blocking paths with low win rates or capping the number of hops. These methods treat the supply chain as a black box and fail to account for the global economic equilibrium. The authors aim to replace these "brute-force" rules with a mathematically rigorous framework that balances the utilities of publishers, intermediaries, and buyers simultaneously.

Figure 1: A multi-tier OpenRTB supply chain mapped as a DAG. Arrows indicate the flow of the ad impression from the seller (s) through intermediaries (I) to the buyers (b).

Methods

The authors extend existing centralized DAG intermediation models to fit the specific "physical realities" of modern advertising:

  • Substitutable Routing (OR Nodes): Unlike traditional supply chains where you might need all inputs (AND logic), header bidding requires selecting the single best path (OR logic). The authors introduce binary decision variables to model this exclusivity.
  • Percentage-Based Fees: They move away from flat fees to model the industry-standard "take-rate" ($\gamma$), where intermediaries extract a percentage of the clearing price.
  • Latency Constraints: They incorporate a hard timeout threshold ($T_{max}$), ensuring that any optimized path is technically viable within the 200–300ms window required for web page loads.
  • MILP Transformation: The core problem—maximizing the sum of log-utilities (Nash Social Welfare)—is non-linear and NP-hard. The authors use Big-M linearization to handle the product of binary routing and continuous prices, and Special Ordered Sets of Type 2 (SOS2) to approximate the logarithmic objective function with piecewise linear segments.

Datasets

The study avoids synthetic-only data by building a hybrid evaluation graph:

  1. Empirical OpenRTB Data: The authors crawled 2.4 million domains, eventually validating 5,315 publishers. They used a headless browser (Playwright) to intercept real-time schain (SupplyChain) objects and bid prices.
  2. Transparency Registries: They cross-referenced their findings with public ads.txt and sellers.json files to reconstruct a massive server-side DAG containing 26,221 nodes and over 63,000 edges.
  3. Semi-Synthetic Parameters: Because exact floor prices and take-rates are trade secrets, these were synthesized using industry-standard distributions to provide realistic financial constraints.

Key Insights and Ideas

  • The "Price of Anarchy": The paper quantifies the cost of uncoordinated, decentralized routing. In complex networks with strict latency, "greedy" algorithms (where each node just picks the next best hop) often lead to structural dead-ends and total market failure.
  • The 4-Hop Rule: Through rigorous parameter profiling, the authors found that optimal supply paths rarely exceed a depth of 4 hops. Adding more hops exponentially increases computational complexity without providing measurable efficiency gains.
  • Resilience vs. Pure Efficiency: A surprising "aha moment" is that the mathematically optimal, resilient ecosystem actually requires absorbing a higher baseline tech tax. Pure cost-minimization (the "shortest-path" heuristic) tends to starve the intermediate network, making it fragile.
  • Robustness Index ($R$): The authors proposed a structural heuristic to predict the "exclusion threshold"—the exact point where an intermediary's fee becomes so high that the system automatically routes around them.

Key Results

  • Computational Scalability: Despite being NP-hard, the MILP formulation solved combinatorially complex scenarios (with quadrillions of potential paths) in under 30–70 seconds, making it a viable "Offline Oracle" for generating routing allow-lists.
  • System Collapse: Under decentralized routing, the system's utility plummeted into negative territory as latency thresholds expanded, proving that centralized coordination is necessary for market stability.
  • Fee Sensitivity: Empirical testing showed a critical average exclusion threshold of 20.4%. In 90% of cases, a marginal fee increase to 20% forced an abrupt structural shift, bypassing the "greedy" hub.

Limitations and Future Work

The primary limitation is information asymmetry. The model currently assumes a centralized coordinator with visibility into all take-rates and latencies—data that is currently siloed due to commercial secrecy.

The authors suggest that future work should explore distributed optimization techniques (like Lagrangian relaxation) that could allow intermediaries to coordinate efficiently without fully disclosing their internal cost structures. They also call for industry bodies (like the IAB) to mandate the inclusion of take-rates ($\gamma$) directly within OpenRTB payloads to enable true transparency.

Summary updated

Abstract

Digital programmatic advertising operates through complex, multi-hop supply chains. The opacity of these intermediary networks leads to significant efficiency losses, often referred to as the ``ad-tech tax.'' While current industry practices utilize heuristic Supply Path Optimization (SPO) to trim inefficient routes, they fail to optimize the equilibrium of the entire network. This paper extends previous work on Directed Acyclic Graph (DAG) intermediation models by applying them to traceable programmatic supply chains mapped via the OpenRTB SupplyChain object. We introduce multi-attribute utility functions and Mixed-Integer Linear Programming (MILP) to account for substitutable routing (OR nodes) and percentage-based fee structures. Furthermore, we outline a computational methodology and experimental framework using public \texttt{schain} and \texttt{sellers.json} data to benchmark optimal Nash social welfare against current uncoordinated market outcomes.
BibTeX
@misc{badica2026optimizing,
  author = {Amelia Bădică and Costin Bădică},
  title = {{Optimizing Multi-Tier Intermediation in Programmatic Advertising: A DAG-Based Mechanism for Supply Path Optimization}},
  year = {2026},
  eprint = {2611.11651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11651},
}
Figure