TL;DR
This paper introduces a market-based framework for allocating heterogeneous computing resources (such as TPUs and GPUs) across a large organization's hierarchy. By modeling resource substitutability as a conversion graph and utilizing a novel "Budget Descent Algorithm," the authors guarantee a unique, fair, and market-clearing allocation—a mechanism currently deployed in production at Google.
What Problem Does This Paper Address?
Large organizations like corporations, governments, and universities face a constant challenge: how to fairly and efficiently distribute shared, heterogeneous resources across a complex organizational hierarchy (the "org chart").
Taking Google's AI accelerator allocation as a prime example, engineering teams need compute chips that vary by physical location and hardware generation. Some machine learning jobs are flexible and can run anywhere, while others have strict constraints (e.g., data locality regulations requiring a North American chip).
Traditional direct priority-weighted allocations are brittle; if a team receives a resource it cannot use, that resource is wasted. Conversely, an internal market using artificial currency (credits) decouples physical resources from entitlements. However, designing such a market is mathematically challenging because resources are siloed: some supplies are exclusive to specific subtrees of the org chart, and budgets are non-fungible across different resource types.
Methods
The authors formulate the resource allocation problem as a combinatorial market equilibrium problem governed by three core economic axioms:
- Flow Conservation: Local supply plus incoming resources must equal local demand plus outgoing resources.
- Money Conservation: Internal nodes act as zero-profit intermediaries, passing all collected credits up to their parent nodes.
- Conversion Complementarity: No-arbitrage conditions across the resource conversion graph (e.g., a flexible agent only buys from the cheapest available region).
Because budgets are non-fungible and nodes retain no surplus, standard general equilibrium tools (like a single global Eisenberg-Gale convex program) cannot solve this problem. The authors overcome this with a novel two-step process:
- The Harmonic Demand Case: When agent demands are purely budget-driven ($D = B/p$), the problem beautifully decomposes into $n$ independent convex programs that can be solved sequentially from the root of the hierarchy down to the leaves.
- The General Demand Case: Real-world demands are typically capped ($D = \min\{d, B/p\}$). To solve this, the authors introduce the Budget Descent Algorithm. This parameter-free algorithm starts by overestimating "virtual budgets," solves the corresponding harmonic subproblems, and iteratively scales down the virtual budgets until they smoothly converge to a fixed point that clears the general market.
The authors prove that this algorithm efficiently drives the total allocation error below $\epsilon$ in $O(\frac{1}{\epsilon} \log \frac{1}{\epsilon})$ iterations.
Datasets
The framework was evaluated using a real-world dataset from Google's internal market for allocating AI training accelerators (TPUs and GPUs). The dataset maps a three-level organizational tree (Company $\rightarrow$ Business Units $\rightarrow$ Engineering Teams) across four distinct market runs, each corresponding to a different chip generation. (Note: The dataset is proprietary, and axes were omitted in the paper for confidentiality).
Key Insights and Ideas
- The Virtual Budget Reduction: The core mathematical breakthrough is showing that a complex market with capped demands can be solved by reducing it to an equivalent "easy" harmonic market, provided you can find the right "virtual" budgets.
- Zero-Profit Intermediation: Unlike classical economic models (like Arrow-Debreu) where firms maximize profits, nodes in an organizational chart act as financially autonomous pass-throughs. They pool resources and pass costs directly up the chain.
- Robustness to Misreporting: The market structure naturally disincentivizes cheating. Because budgets are exogenously endowed and allocations track the budget brought to the market, teams cannot gain more useful resources by underreporting or overreporting their demand caps or budgets.
Key Results
- Existence and Effective Uniqueness: The paper proves that a feasible market-clearing allocation always exists and is effectively unique—meaning that even if multiple valid price vectors exist, they all yield the exact same physical resource allocation to the agents.
- Algorithmic Convergence: In simulations on Google's production data across all four market runs, the Budget Descent Algorithm demonstrated tight, smooth convergence within 200 iterations. Both the normalized payment error and allocation error dropped exponentially toward zero, proving the algorithm's real-world scalability.
Limitations and Future Work
- Static vs. Dynamic Settings: This work focuses entirely on computing a static equilibrium for a single snapshot of the market. In production, Google's market clears dynamically every minute. Formalizing the long-term dynamics of credit accumulation and shifting workloads remains an open area for research.
- Separable Demand Assumption: The model assumes independent demand functions for each resource type. Extending this framework to fully combinatorial demand models—where an agent's utility depends on receiving a specific joint bundle of different resources—presents a significant future theoretical challenge.
Summary updated