Contingent Exposure Routing for Financial AI: Outage Risk and the Cost of Indivisible Decisions

arXiv cs.LG Papers

Summary

This arXiv paper introduces Contingent Exposure Routing (CER), a framework for assigning displaced financial decisions across AI model endpoints during outages to minimize market-impact risk, showing that shared backups create concentration floors and that randomized routing strategies reduce exposure risk by 3.3-10.5% in synthetic and replayed scenarios.

arXiv:2610.00239v1 Announce Type: new Abstract: Model failover restores availability, but changes which financial institutions share decision errors. We formulate outage-contingent routing through a local market-impact response matrix and study expected squared price displacement. A symmetric construction shows that a shared backup can leave an order-one concentration floor as the number of primary endpoints grows, while balanced fallback risk decreases inversely with the surviving endpoint count. For indivisible decisions, we derive the exact second moment of independent randomized routing and an effective-exposure granularity that determines its gap from fractional allocation. Conditional-expectation rounding gives a finite-agent bound without coupled quotas; a separate swap procedure preserves endpoint counts and is assessed against dual lower bounds. Across 60 synthetic portfolio networks and 11,340 scenario evaluations, the latter reduces risk by 6.57% and 10.53% for single and double endpoint removals at the central feedback setting with independent errors. A replay of 1,024 recorded API responses on constructed rebalancing tasks gives a smaller held-out reduction of 3.30% (paired bootstrap interval 2.07--4.57%). Strongly aligned errors, inferior endpoints, and indivisibility limit diversification. The contribution is an auditable routing stress test and implementation analysis, not an estimate of real-market crash probabilities.
Original Article
View Cached Full Text

Cached at: 10/03/26, 09:51 AM

# Contingent Exposure Routing for Financial AI:Outage Risk and the Cost of Indivisible Decisions
Source: [https://arxiv.org/html/2610.00239](https://arxiv.org/html/2610.00239)
23 September 2026

###### Abstract

Model failover restores availability, but changes which financial institutions share decision errors\. We formulate outage\-contingent routing through a local market\-impact response matrix and study expected squared price displacement\. A symmetric construction shows that a shared backup can leave an order\-one concentration floor as the number of primary endpoints grows, while balanced fallback risk decreases inversely with the surviving endpoint count\. For indivisible decisions, we derive the exact second moment of independent randomized routing and an effective\-exposure granularity that determines its gap from fractional allocation\. Conditional\-expectation rounding gives a finite\-agent bound without coupled quotas; a separate swap procedure preserves endpoint counts and is assessed against dual lower bounds\. Across 60 synthetic portfolio networks and 11,340 scenario evaluations, the latter reduces risk by 6\.57% and 10\.53% for single and double endpoint removals at the central feedback setting with independent errors\. A replay of 1,024 recorded API responses on constructed rebalancing tasks gives a smaller held\-out reduction of 3\.30% \(paired bootstrap interval 2\.07–4\.57%\)\. Strongly aligned errors, inferior endpoints, and indivisibility limit diversification\. The contribution is an auditable routing stress test and implementation analysis, not an estimate of real\-market crash probabilities\.

Keywords:systemic risk; financial AI; operational resilience; model routing; market impact; randomized rounding\.

## 1Introduction

A financial application can remain available while its economic dependencies change sharply\. Suppose institutions use different model endpoints to interpret a common input\. When some endpoints become unavailable, their requests move to backups\. If those policies converge on the same endpoint, a previously dispersed population may act on a common error precisely during a disruption\. An availability dashboard can report successful requests throughout this transition\.

The general concern is established\. The Financial Stability Board identifies third\-party dependencies, market correlations, and model risk as potential channels through which AI can affect financial stability\[[3](https://arxiv.org/html/2610.00239#bib.bib3)\]\. Algorithmic monoculture can have collective consequences not predicted by individual accuracy\[[7](https://arxiv.org/html/2610.00239#bib.bib7)\]\. The question here is more operational:*which surviving endpoint should receive each displaced financial decision, and what risk does the resulting executable assignment create?*

Two distinctions matter\. First, the relevant load is financial exposure propagated through market impact, rather than request count\. Two requests can consume similar inference resources but induce different price responses\. Second, allocating half a decision to each of two models is not equivalent to selecting one model with probability one half\. The latter introduces assignment variance\. A portfolio\-style relaxation can therefore understate the risk of the executed policy\.

We call the framework*Contingent Exposure Routing*\(CER\)\. It combines scenario\-specific eligibility, a financial response matrix, and a second moment of endpoint errors\. Our contributions are:

1. 1\.A sharp outage construction separating normal from contingent concentration, including the limiting effect of a common error component\.
2. 2\.An exact finite\-population correction for randomized routing, an effective\-exposure granularity identity, and examples where the fractional gap persists as the population grows\.
3. 3\.An executable procedure with explicit constraints, analytical and numerical checks, paired network experiments, and a separately delimited API replay\.

These concern the formulation and implementation of a financial routing problem\. We do not claim new portfolio variance algebra, a new general rounding principle, or discovery of AI\-related systemic risk\.

Figure 1:Eight equally weighted primary endpoints, followed by removal of four\. A common surviving backup concentrates exposure at endpoint 5; balanced redistribution attains the continuous minimum\. Labels carry no quality ranking; errors are centered and independent with unit variance\. The illustration concerns financial exposure, not inference throughput\.
## 2Related work

#### Financial propagation\.

Overlapping portfolios and deleveraging link institutions\.[Greenwood et al\. \[5\]](https://arxiv.org/html/2610.00239#bib.bib5)quantify vulnerability through balance sheets and common exposures\.[Cont and Schaanning \[2\]](https://arxiv.org/html/2610.00239#bib.bib2)develop systemic stress testing using liquidity\-weighted overlaps, nonlinear deleveraging, and indirect exposures\. Our response matrix is a local linear construction motivated by this literature; it does not reproduce their complete stress test or inherit their empirical calibration\.

#### AI concentration and disruption\.

[Kleinberg and Raghavan \[7\]](https://arxiv.org/html/2610.00239#bib.bib7)analyze collective consequences of a common algorithm in matching markets\. The FSB discusses operational concentration and correlated financial behavior\[[3](https://arxiv.org/html/2610.00239#bib.bib3)\]\. Recent preprints examine AI\-vendor compromise and financial contagion\[[8](https://arxiv.org/html/2610.00239#bib.bib8)\], and interactions between AI adoption, herding, and performative feedback\[[10](https://arxiv.org/html/2610.00239#bib.bib10)\]\. We study the assignment intervention following endpoint removal\. Cyber propagation, endogenous adoption, strategic equilibrium, and incident frequencies are outside our model\.

#### Model routing\.

RouteLLM learns cost\-quality routing from preference data\[[11](https://arxiv.org/html/2610.00239#bib.bib11)\]\. RACER calibrates model sets to control a misrouting event\[[6](https://arxiv.org/html/2610.00239#bib.bib6)\]\. Robust batch\-level routing jointly manages assignment, uncertain performance, and resource constraints\[[9](https://arxiv.org/html/2610.00239#bib.bib9)\]\. These establish that routing can be learned, risk\-aware, and jointly constrained\. Our objective differs: errors assigned to different institutions interact through their financial exposures\. Individual response quality and model\-call counts do not determine it\.

#### Discrete implementation\.

Randomized rounding and derandomization are classical\[[12](https://arxiv.org/html/2610.00239#bib.bib12)\]; dependent rounding can preserve cardinality constraints\[[4](https://arxiv.org/html/2610.00239#bib.bib4)\]\. Convex relaxations and supporting\-hyperplane bounds are standard\[[1](https://arxiv.org/html/2610.00239#bib.bib1)\]\. We specialize these ideas to the financial second moment, derive the exact correction for independent endpoint selection, and distinguish its guarantee from the separate quota heuristic\. A scoped search through 23 September 2026 did not locate this complete formulation and evaluation\. It does not establish that every component or equivalent formulation is absent from prior work\.

## 3Financial exposure under contingent routing

### 3\.1Local price response

There arenninstitutions,ddassets, andKKmodel endpoints\. An endpoint can be a model version or an operationally distinct service; endpoint diversity does not imply independent vendors\. LetE∈ℝd×nE\\in\\mathbb\{R\}^\{d\\times n\}map relative decision errors to first\-round price displacement, andB∈ℝd×dB\\in\\mathbb\{R\}^\{d\\times d\}describe a local feedback response\. For institution\-level erroruu,

x=E​u\+B​x,x=\(I−B\)−1​E​u,ρ⁡\(B\)<1\.x=Eu\+Bx,\\qquad x=\(I\-B\)^\{\-1\}Eu,\\qquad\\rho\(B\)<1\.\(1\)For an asset\-weighting matrixW⪰0W\\succeq 0, define

A=W1/2​\(I−B\)−1​E=\[a1,…,an\]\.A=W^\{1/2\}\(I\-B\)^\{\-1\}E=\[a\_\{1\},\\ldots,a\_\{n\}\]\.\(2\)The outcome is‖W1/2​x‖22\\left\\lVert W^\{1/2\}x\\right\\rVert\_\{2\}^\{2\}, a quadratic price\-displacement measure\. ChoosingW=w​w⊤W=ww^\{\\top\}gives the squared displacement of a specified linear portfolio\. Neither choice is automatically a default probability, realized monetary loss, or expected shortfall\.

Equation \([1](https://arxiv.org/html/2610.00239#S3.E1)\) is a local response around a fixed operating state\. Signed deviations may represent excess sales or purchases\. Thresholds, insolvency, endogenous liquidity withdrawal, and large\-shock saturation need a different propagation model\. A participation factorη\\etamultiplyingEEmultiplies all risks byη2\\eta^\{2\}; the experiments report normalized units with this factor divided out\.

### 3\.2Errors, outages, and executable assignments

In outage statess, the endpoint error vectorϵs∈ℝK\\epsilon\_\{s\}\\in\\mathbb\{R\}^\{K\}has finite*uncentered*second moment

Ss=𝔼⁡\[ϵs​ϵs⊤∣s\]⪰0\.S\_\{s\}=\\mathbb\{E\}\[\\epsilon\_\{s\}\\epsilon\_\{s\}^\{\\top\}\\mid s\]\\succeq 0\.\(3\)Systematic bias is retained; cross\-endpoint dependence is permitted\. Each endpoint error is shared by institutions assigned to that endpoint during the decision window\. This is a common\-input or broadcast\-advice model, not a general law for separately prompted agents\.

A deterministic matrixZs∈\{0,1\}n×KZ\_\{s\}\\in\\\{0,1\\\}^\{n\\times K\}has one unit entry per row\. Institutionii’s error is\(Zs​ϵs\)i\(Z\_\{s\}\\epsilon\_\{s\}\)\_\{i\}\. An institution whose primary endpointpip\_\{i\}survives remains there; an affected one uses an eligible survivor\. The objective is

Fs​\(Zs\)=𝔼⁡\[‖A​Zs​ϵs‖22∣s\]=tr⁡\(A​Zs​Ss​Zs⊤​A⊤\)\.F\_\{s\}\(Z\_\{s\}\)=\\mathbb\{E\}\[\\left\\lVert AZ\_\{s\}\\epsilon\_\{s\}\\right\\rVert\_\{2\}^\{2\}\\mid s\]=\\operatorname\{tr\}\(AZ\_\{s\}S\_\{s\}Z\_\{s\}^\{\\top\}A^\{\\top\}\)\.\(4\)This follows by expansion and requires no Gaussian assumption\. Eligibility can encode operational or quality restrictions\. Exact endpoint quotas add

∑iZs,i​j=qs,j\.\\sum\_\{i\}Z\_\{s,ij\}=q\_\{s,j\}\.\(5\)Equal quotas give identical endpoint counts across policies\. They imply equal total inference cost only when cost per request is fixed within each endpoint\.

A fractionalQsQ\_\{s\}satisfies the same linear constraints with entries in\[0,1\]\[0,1\]\. Its objective describes actual splitting or linear aggregation of decisions and is a convex relaxation of deterministic assignment\. It does*not*generally describe independently sampling one endpoint from each row\.

Assignments must be chosen before evaluated errors are observed\. Calibration data may determine a policy; held\-out errors may not\. Real outages can alter input and error distributions, soSsS\_\{s\}need not equal the normal\-state moment\. Our endpoint\-removal experiments hold the error distribution fixed to isolate reassignment\.

## 4What primary diversification misses

Consider scalar exposure of total mass one, equally spread overKKprimaries, with error second momentIKI\_\{K\}\. Removerrendpoints,1≤r<K1\\leq r<K, and retain surviving primary exposures\.

###### Theorem 1\(A contingent concentration floor\)\.

If all displaced mass uses a single surviving backup, post\-removal risk is

Ccommon​\(K,r\)=K\+r⁡\(r\+1\)K2\.C\_\{\\mathrm\{common\}\}\(K,r\)=\\frac\{K\+r\(r\+1\)\}\{K^\{2\}\}\.\(6\)If displaced exposure is divisible and every survivor is eligible, the minimum is

Cbalanced​\(K,r\)=1K−r\.C\_\{\\mathrm\{balanced\}\}\(K,r\)=\\frac\{1\}\{K\-r\}\.\(7\)Forr/K→α∈\(0,1\)r/K\\to\\alpha\\in\(0,1\), common\-backup risk tends toα2\\alpha^\{2\}, balanced risk is asymptotic to\[K⁡\(1−α\)\]−1\[K\(1\-\\alpha\)\]^\{\-1\}, and their ratio is asymptotic toα2​\(1−α\)​K\\alpha^\{2\}\(1\-\\alpha\)K\.

###### Proof\.

The common backup carries\(r\+1\)/K\(r\+1\)/K; the otherK−r−1K\-r\-1survivors carry1/K1/Keach\. Sum their squared loads\. All survivor loads sum to one, so Cauchy–Schwarz gives the lower bound1/\(K−r\)1/\(K\-r\)\. Equal loads attain it because1/\(K−r\)≥1/K1/\(K\-r\)\\geq 1/K, requiring only displaced mass to move\. The limits follow directly\. ∎

The construction compares identical normal assignments and identical post\-removal availability\. It is a worst\-case family, not a probability model for provider failures\. With fixedrrandK→∞K\\to\\infty, the risk ratio tends to one; growing amplification requires outage size to grow withKK\.

For unequal nonnegative survivor loadsbjb\_\{j\}and movable massmm, minimizing∑j\(bj\+yj\)2\\sum\_\{j\}\(b\_\{j\}\+y\_\{j\}\)^\{2\}overyj≥0y\_\{j\}\\geq 0,∑jyj=m\\sum\_\{j\}y\_\{j\}=m, gives the water\-filling solution

bj\+yj=max⁡\(bj,τ\),∑j\(τ−bj\)\+=m\.b\_\{j\}\+y\_\{j\}=\\max\(b\_\{j\},\\tau\),\\qquad\\sum\_\{j\}\(\\tau\-b\_\{j\}\)\_\{\+\}=m\.\(8\)The KKT conditions equate the marginal squared\-load cost on endpoints receiving positive additions and leave higher initial loads unchanged\. This is a continuous benchmark, not an integral algorithm\.

###### Proposition 2\(An irreducible common error\)\.

IfS=\(1−γ\)​I\+γ​𝟏𝟏⊤S=\(1\-\\gamma\)I\+\\gamma\\mathbf\{1\}\\mathbf\{1\}^\{\\top\},0≤γ≤10\\leq\\gamma\\leq 1, andQ​𝟏=𝟏Q\\mathbf\{1\}=\\mathbf\{1\}, then

F⁡\(Q\)=\(1−γ\)​‖A​Q‖F2\+γ​‖A​𝟏‖22\.F\(Q\)=\(1\-\\gamma\)\\left\\lVert AQ\\right\\rVert\_\{F\}^\{2\}\+\\gamma\\left\\lVert A\\mathbf\{1\}\\right\\rVert\_\{2\}^\{2\}\.\(9\)Routing changes only the first term\. Atγ=1\\gamma=1, every feasible routing has identical risk\.

###### Proof\.

SubstituteSSinto \([4](https://arxiv.org/html/2610.00239#S3.E4)\) and useQ​𝟏=𝟏Q\\mathbf\{1\}=\\mathbf\{1\}\. ∎

For scalar unit mass, the second term isγ\\gamma\. A nonzero common error therefore limits relative diversification gains even in the growing\-outage construction\.

Figure 2:Exact consequences of Theorem[1](https://arxiv.org/html/2610.00239#Thmtheorem1)withr=K/2r=K/2\. Left: a shared backup leaves a nonzero concentration limit\. Right: common error limits the relative improvement\. These are analytical constructions, not estimates of outage likelihood\.
## 5Indivisible decisions: the missing second moment

Suppress the outage subscript\. Independently for each institution, sampleJiJ\_\{i\}from rowqiq\_\{i\}ofQQ, independently ofϵ\\epsilon, and setZi​j=𝟏\{Ji=j\}Z\_\{ij\}=\\mathbf\{1\}\\\{J\_\{i\}=j\\\}\.

###### Theorem 3\(Exact random\-routing premium\)\.

For everyAA, row\-stochasticQQ, andS⪰0S\\succeq 0,

𝔼Z​F​\(Z\)\\displaystyle\\mathbb\{E\}\_\{Z\}F\(Z\)=F⁡\(Q\)\+D⁡\(Q\),\\displaystyle=F\(Q\)\+D\(Q\),\(10\)D⁡\(Q\)\\displaystyle D\(Q\)=∑i‖ai‖22​\(diag⁡\(S\)⊤​qi−qi⊤​S​qi\)≥0\.\\displaystyle=\\sum\_\{i\}\\left\\lVert a\_\{i\}\\right\\rVert\_\{2\}^\{2\}\\left\(\\operatorname\{diag\}\(S\)^\{\\top\}q\_\{i\}\-q\_\{i\}^\{\\top\}Sq\_\{i\}\\right\)\\geq 0\.\(11\)Hereqiq\_\{i\}is the column representation of rowii\. Furthermore,

D⁡\(Q\)≤λmax​\(S\)​∑i‖ai‖22​\(1−‖qi‖22\)\.D\(Q\)\\leq\\lambda\_\{\\max\}\(S\)\\sum\_\{i\}\\left\\lVert a\_\{i\}\\right\\rVert\_\{2\}^\{2\}\(1\-\\left\\lVert q\_\{i\}\\right\\rVert\_\{2\}^\{2\}\)\.\(12\)

###### Proof\.

ExpandF⁡\(Z\)=∑i,ℓ\(ai⊤​aℓ\)​SJi​JℓF\(Z\)=\\sum\_\{i,\\ell\}\(a\_\{i\}^\{\\top\}a\_\{\\ell\}\)S\_\{J\_\{i\}J\_\{\\ell\}\}\. Fori≠ℓi\\neq\\ell, independence gives𝔼​SJi​Jℓ=qi⊤​S​qℓ\\mathbb\{E\}S\_\{J\_\{i\}J\_\{\\ell\}\}=q\_\{i\}^\{\\top\}Sq\_\{\\ell\}\. Fori=ℓi=\\ell, the expectation isdiag⁡\(S\)⊤​qi\\operatorname\{diag\}\(S\)^\{\\top\}q\_\{i\}, whereas its counterpart inF⁡\(Q\)F\(Q\)isqi⊤​S​qiq\_\{i\}^\{\\top\}Sq\_\{i\}\. Subtraction proves the identity\. The categorical covarianceVi=diag⁡\(qi\)−qi​qi⊤V\_\{i\}=\\operatorname\{diag\}\(q\_\{i\}\)\-q\_\{i\}q\_\{i\}^\{\\top\}is positive semidefinite\. Thus0≤tr⁡\(S​Vi\)≤λmax​\(S\)​tr⁡\(Vi\)=λmax​\(S\)​\(1−‖qi‖22\)0\\leq\\operatorname\{tr\}\(SV\_\{i\}\)\\leq\\lambda\_\{\\max\}\(S\)\\operatorname\{tr\}\(V\_\{i\}\)=\\lambda\_\{\\max\}\(S\)\(1\-\\left\\lVert q\_\{i\}\\right\\rVert\_\{2\}^\{2\}\)\. ∎

The identity allows nonzero mean errors\. It does not apply unchanged to shared random seeds, coordinated routing, or routing that observes contemporaneous errors: these change the joint assignment law\.

###### Corollary 4\(Effective\-exposure granularity\)\.

SupposeS=IKS=I\_\{K\},qi=K−1​𝟏q\_\{i\}=K^\{\-1\}\\mathbf\{1\}, andA​𝟏≠0A\\mathbf\{1\}\\neq 0\. Define

neff​\(A\)=‖A​𝟏‖22∑i‖ai‖22\.n\_\{\\mathrm\{eff\}\}\(A\)=\\frac\{\\left\\lVert A\\mathbf\{1\}\\right\\rVert\_\{2\}^\{2\}\}\{\\sum\_\{i\}\\left\\lVert a\_\{i\}\\right\\rVert\_\{2\}^\{2\}\}\.\(13\)Then

𝔼Z​F​\(Z\)F⁡\(Q\)=1\+K−1neff​\(A\)\.\\frac\{\\mathbb\{E\}\_\{Z\}F\(Z\)\}\{F\(Q\)\}=1\+\\frac\{K\-1\}\{n\_\{\\mathrm\{eff\}\}\(A\)\}\.\(14\)If pairwise exposure inner products are nonnegative,1≤neff​\(A\)≤n1\\leq n\_\{\\mathrm\{eff\}\}\(A\)\\leq n\.

###### Proof\.

HereF⁡\(Q\)=‖A​𝟏‖22/KF\(Q\)=\\left\\lVert A\\mathbf\{1\}\\right\\rVert\_\{2\}^\{2\}/KandD⁡\(Q\)=\(1−1/K\)​∑i‖ai‖22D\(Q\)=\(1\-1/K\)\\sum\_\{i\}\\left\\lVert a\_\{i\}\\right\\rVert\_\{2\}^\{2\}\. Nonnegative pairwise inner products give the lower bound onneffn\_\{\\mathrm\{eff\}\}; Cauchy–Schwarz gives the upper bound\. ∎

For alignedai=wi​va\_\{i\}=w\_\{i\}v, with nonnegative weights summing to one,neff=1/∑iwi2n\_\{\\mathrm\{eff\}\}=1/\\sum\_\{i\}w\_\{i\}^\{2\}\. Large institutions can preserve a material premium despite a large headcount\. If the columns ofAAare orthogonal,neff=1n\_\{\\mathrm\{eff\}\}=1\. WithA=InA=I\_\{n\}, every integral assignment has risknn, while uniform fractional routing has riskn/Kn/K\. The integral\-to\-fractional ratio remainsKKfor everynn\.

## 6Routing procedures and certificates

### 6\.1Relaxation and finite\-agent assignment

Let𝒬s\\mathcal\{Q\}\_\{s\}be the eligible row\-stochastic polytope, optionally including quotas\. Since

Fs​\(Q\)=‖A​Q​Ss1/2‖F2,F\_\{s\}\(Q\)=\\left\\lVert AQS\_\{s\}^\{1/2\}\\right\\rVert\_\{F\}^\{2\},\(15\)minimization over𝒬s\\mathcal\{Q\}\_\{s\}is a convex quadratic program\.

###### Proposition 5\(Conditional\-expectation assignment\)\.

For any feasible fractionalQQwith row\-wise eligibility and no coupled quota constraints, an eligible deterministicZZcan be constructed with

F⁡\(Z\)≤F⁡\(Q\)\+D⁡\(Q\)\.F\(Z\)\\leq F\(Q\)\+D\(Q\)\.\(16\)Fix each remaining row to an eligible endpoint minimizing the exact conditional expectation of final risk\.

###### Proof\.

Given previously fixed rows, the current expectation is theqiq\_\{i\}\-weighted average of expectations obtained by fixing the next row to each endpoint in its support\. At least one is no greater than that average\. Choosing a minimum cannot increase the expectation; repeat until every row is fixed\. ∎

This specializes classical derandomization\[[12](https://arxiv.org/html/2610.00239#bib.bib12)\]\. It does not preserve hard endpoint quotas, even if its input came from a quota\-constrained relaxation\.

### 6\.2Quota\-preserving exposure swaps

For hard quotas, CER starts from count\-balanced routing and swaps endpoints of two affected institutions\. Unaffected institutions never move\. WriteM=A​ZM=AZ\. Ifiiuses endpointpp,ℓ\\ellusesqq, andh=ai−aℓh=a\_\{i\}\-a\_\{\\ell\}, the swap changes risk by

ΔF=2h⊤\[\(MS\):q−\(MS\):p\]\+‖h‖22\(Sp​p\+Sq​q−2Sp​q\)\.\\Delta F=2h^\{\\top\}\[\(MS\)\_\{:q\}\-\(MS\)\_\{:p\}\]\+\\left\\lVert h\\right\\rVert\_\{2\}^\{2\}\(S\_\{pp\}\+S\_\{qq\}\-2S\_\{pq\}\)\.\(17\)This follows by substitutingM\+h​\(eq−ep\)⊤M\+h\(e\_\{q\}\-e\_\{p\}\)^\{\\top\}into the quadratic form\. We take the best strictly improving eligible swap\. Counts remain fixed\. A scan ofmmaffected institutions costsO⁡\(d​m2\+d​K2\)O\(dm^\{2\}\+dK^\{2\}\)arithmetic with cachedMM\. Strict descent on a finite set ensures termination in exact arithmetic, but gives neither a polynomial iteration bound nor global optimality\.

Even without quotas, scalar two\-endpoint routing contains PARTITION\. For positive integer exposuresaia\_\{i\},S=I2S=I\_\{2\}, and totalTT, risk isL2\+\(T−L\)2L^\{2\}\+\(T\-L\)^\{2\}, whereLLis assigned to endpoint 1\. It equalsT2/2T^\{2\}/2exactly when the exposures admit an equal partition\. This elementary reduction motivates reporting bounds rather than presenting local search as exact\.

### 6\.3A lower bound with the correct direction

A feasible fractional objective is an upper bound on the fractional minimum; it cannot alone certify an integral gap\. At any referenceQ0Q\_\{0\}, putG=2​A⊤​A​Q0​SG=2A^\{\\top\}AQ\_\{0\}S\. Convexity givesF⁡\(Q\)≥F⁡\(Q0\)\+⟨G,Q−Q0⟩F\(Q\)\\geq F\(Q\_\{0\}\)\+\\langle G,Q\-Q\_\{0\}\\rangle\. For equality quotasqjq\_\{j\}, choose anyvjv\_\{j\}, and define

ui=minj∈ℰi⁡\(Gi​j−vj\),L=F⁡\(Q0\)−⟨G,Q0⟩\+∑iui\+∑jqj​vj\.\\begin\{split\}u\_\{i\}&=\\min\_\{j\\in\\mathcal\{E\}\_\{i\}\}\(G\_\{ij\}\-v\_\{j\}\),\\\\ L&=F\(Q\_\{0\}\)\-\\langle G,Q\_\{0\}\\rangle\+\\sum\_\{i\}u\_\{i\}\+\\sum\_\{j\}q\_\{j\}v\_\{j\}\.\\end\{split\}\(18\)ThenF⁡\(Q\)≥LF\(Q\)\\geq Lfor all feasibleQQ, becauseui\+vj≤Gi​ju\_\{i\}\+v\_\{j\}\\leq G\_\{ij\}on eligible edges\. We obtainvvfrom the solver and recomputeuiu\_\{i\}to enforce this inequality\. Without quotas, setv=0v=0\. ForL\>0L\>0, the reported gap is\(F⁡\(Z\)−L\)/L\(F\(Z\)\-L\)/L\. These are floating\-point numerical bounds checked against small exhaustive problems, not interval\-arithmetic certificates\.

### 6\.4Moment uncertainty and unequal endpoint quality

ForS^⪰0\\widehat\{S\}\\succeq 0and𝒰δ=\{S⪰0:‖S−S^‖2≤δ\}\\mathcal\{U\}\_\{\\delta\}=\\\{S\\succeq 0:\\left\\lVert S\-\\widehat\{S\}\\right\\rVert\_\{2\}\\leq\\delta\\\},

supS∈𝒰δF⁡\(Q,S\)=F⁡\(Q,S^\)\+δ​‖A​Q‖F2=F⁡\(Q,S^\+δ​I\)\.\\sup\_\{S\\in\\mathcal\{U\}\_\{\\delta\}\}F\(Q;S\)=F\(Q;\\widehat\{S\}\)\+\\delta\\left\\lVert AQ\\right\\rVert\_\{F\}^\{2\}=F\(Q;\\widehat\{S\}\+\\delta I\)\.\(19\)IndeedC=Q⊤​A⊤​A​Q⪰0C=Q^\{\\top\}A^\{\\top\}AQ\\succeq 0andtr⁡\[C⁡\(S−S^\)\]≤δ​tr⁡\(C\)\\operatorname\{tr\}\[C\(S\-\\widehat\{S\}\)\]\\leq\\delta\\operatorname\{tr\}\(C\), attained atS=S^\+δ​IS=\\widehat\{S\}\+\\delta I\. The envelope also applies before averaging randomized assignments\. Choosingδ\\deltaneeds justification; a selected ridge coefficient is not automatically a statistical confidence set\.

Diversity is not always preferable\. For two scalar endpoints with second momentss1,s2s\_\{1\},s\_\{2\}and cross momentcc, exposure weightwwon endpoint 1 givesf⁡\(w\)=s1​w2\+s2​\(1−w\)2\+2​c​w​\(1−w\)f\(w\)=s\_\{1\}w^\{2\}\+s\_\{2\}\(1\-w\)^\{2\}\+2cw\(1\-w\)\. Ifs1\+s2−2​c\>0s\_\{1\}\+s\_\{2\}\-2c\>0, the optimum is

w∗=\[s2−cs1\+s2−2​c\]\[0,1\]\.w^\{\*\}=\\left\[\\frac\{s\_\{2\}\-c\}\{s\_\{1\}\+s\_\{2\}\-2c\}\\right\]\_\{\[0,1\]\}\.\(20\)In particular,c≥s1c\\geq s\_\{1\}makes concentration at endpoint 1 optimal\. CER optimizes financial error, not diversity for its own sake\.

## 7Computational design

### 7\.1Synthetic portfolio networks

The locally frozen protocol specifies 60 independently seeded networks with 48 institutions, six assets, and six endpoints\. It was saved before collection, but was not externally preregistered\. Institution sizes are proportional to independentLognormal⁡\(0,1\.12\)\\operatorname\{Lognormal\}\(0,1\.1^\{2\}\)draws\. Portfolio columns followH:i∼Dirichlet\(0\.35𝟏6\)H\_\{:i\}\\sim\\operatorname\{Dirichlet\}\(0\.35\\mathbf\{1\}\_\{6\}\)\. Impact coefficients are proportional toLognormal⁡\(0,0\.52\)\\operatorname\{Lognormal\}\(0,0\.5^\{2\}\)draws, normalized to mean one\. For size weightswwsumming to one,

E=diag⁡\(ℓ\)​H​diag⁡\(w\),T=E​H⊤,B=β​T/ρ⁡\(T\),W=I\.E=\\operatorname\{diag\}\(\\ell\)H\\operatorname\{diag\}\(w\),\\quad T=EH^\{\\top\},\\quad B=\\beta T/\\rho\(T\),\\quad W=I\.\(21\)The feedback radii areβ∈\{0,0\.4,0\.75\}\\beta\\in\\\{0,0\.4,0\.75\\\}\. These distributions create controlled heterogeneity; they are not fitted to balance sheets or market depth\.

Each endpoint has eight randomly assigned primary institutions\. All six single removals and all 15 double removals are enumerated\. Error moments areS=\(1−γ\)​I\+γ​𝟏𝟏⊤S=\(1\-\\gamma\)I\+\\gamma\\mathbf\{1\}\\mathbf\{1\}^\{\\top\}, withγ∈\{0,0\.3,0\.8\}\\gamma\\in\\\{0,0\.3,0\.8\\\}\. The60×3×21×3=11,34060\\times 3\\times 21\\times 3=11\{,\}340evaluations are dependent scenarios on 60 independent networks, not 11,340 independent observations\.

Count\-balanced routing processes affected institutions in a seeded random order, assigning each to a survivor with the smallest current count\. CER starts from the same assignment and preserves its quotas\. A common\-backup comparator sends displaced institutions to the lowest\-index survivor; equal second moments make this index arbitrary\. Risks are evaluated by the exact second\-moment formula, not estimated from simulated shocks\.

#### Inference and controls\.

Within each network, we average1−FCER/Fcount1\-F\_\{\\rm CER\}/F\_\{\\rm count\}over removal subsets of a given size\. Percentile intervals resample the 60 network means 2,000 times\. They summarize variability under the network generator, not uncertainty about the actual financial system\. Lower bounds are evaluated atβ=0\.4\\beta=0\.4\. Homogeneous exposures and theγ=1\\gamma=1identity provide zero\-benefit controls\.

The implementation has 48 automated checks: assignment enumeration, lower\-bound comparisons, iterative cascades, exact accounting identities, quota and eligibility preservation, and negative controls\. A separate study usesn∈\{4,8,16,32,64\}n\\in\\\{4,8,16,32,64\\\}, four endpoints, and 20 seeds per size to compare the fractional lower bound, exact independent\-routing risk, and realized conditional\-expectation assignment\.

### 7\.2Recorded API errors and held\-out replay

We also collect errors rather than prescribeSS\. The task is one\-asset rebalancing with proportional fees charged against post\-trade net asset value \(NAV\)\. Given initial NAVVV, risky positionA0A\_\{0\}, target fractionww, and fee ratecc, signed tradeuusatisfies

A0\+u=w⁡\(V−c​\|u\|\),u=w​V−A01\+w​c​sgn⁡\(w​V−A0\)\.A\_\{0\}\+u=w\(V\-c\|u\|\),\\qquad u=\\frac\{wV\-A\_\{0\}\}\{1\+wc\\,\\operatorname\{sgn\}\(wV\-A\_\{0\}\)\}\.\(22\)The generator uses four wordings, positive and negative gaps, and targets that can exceed one; borrowing and shorting are expressly allowed\. Denominators are positive throughout the declared range\. A 40\-digit decimal calculation supplies ground truth\.

There are 256 tasks and four pinned endpoints:

- •gpt\-4\.1\-nano\-2025\-04\-14;
- •gpt\-4\.1\-mini\-2025\-04\-14;
- •gpt\-4o\-mini\-2024\-07\-18; and
- •gpt\-4\.1\-2025\-04\-14\.

Every task\-endpoint pair is requested once at temperature zero, with JSON\-object output and at most 180 completion tokens\. A transport failure permits one retry\. Invalid or non\-stop outputs execute a zero trade under the declared fallback\. Raw text, returned model identifiers, usage, timestamps, and response identifiers are retained\.

A seeded split fixes 128 calibration and 128 test tasks before collection\. Defineet​j=\(u^t​j−ut\)/Vte\_\{tj\}=\(\\widehat\{u\}\_\{tj\}\-u\_\{t\}\)/V\_\{t\}and fit only on calibration tasks:

S^=128−1​∑t∈calet​et⊤\.\\widehat\{S\}=128^\{\-1\}\\sum\_\{t\\in\{\\rm cal\}\}e\_\{t\}e\_\{t\}^\{\\top\}\.The same 60 synthetic exposure networks are instantiated with four endpoints\. All single and double endpoint omissions are evaluated\. A fixed assignment for each network and omission is applied to every held\-out error vector\. This is a*shared\-advice replay*: recorded errors are reused across assigned institutions\. It does not measure the dependence of separately prompted agents or real vendor outages\.

The primary comparator preserves endpoint counts\. Secondary diagnostics replaceS^\\widehat\{S\}by its diagonal, the identity, orS^\+0\.1​tr⁡\(S^\)​I/K\\widehat\{S\}\+0\.1\\,\\operatorname\{tr\}\(\\widehat\{S\}\)I/K\. These were specified after collection and are exploratory\. A common\-best comparator sends displaced institutions to the survivor with smallest calibration diagonal moment; its endpoint counts differ\.

Held\-out task losses are averaged over the fixed network/scenario collection\. We then resample 128 tasks with model responses paired\. The reduction is the ratio\-of\-means contrast1−L¯CER/L¯count1\-\\overline\{L\}\_\{\\rm CER\}/\\overline\{L\}\_\{\\rm count\}, unlike the synthetic mean\-of\-ratios statistic\. The 2,000 bootstrap resamples keep fitted policies fixed and condition on the calibration split\.

## 8Results

### 8\.1Exposure\-aware assignment improves the matched\-count comparison

Atβ=0\.4,γ=0\\beta=0\.4,\\gamma=0, mean reductions are 6\.57% for single removals and 10\.53% for double removals \(Table[1](https://arxiv.org/html/2610.00239#S8.T1)\)\. The intervals exclude zero\. This is consistent with in\-sample monotonicity: the intervals describe effect size across networks, not a test that a descending optimizer descends\. Every endpoint quota is preserved\.

Mean gaps to numerical lower bounds are 2\.49% and 2\.73%\. These quantify room for improvement relative to the relaxation, not exact integral optimality\. The largest primal constraint residual is1\.31×10−81\.31\\times 10^\{\-8\}\. Median swap runtime is approximately 0\.14 milliseconds on an Apple M4 Pro, a small\-instance implementation measurement rather than a production throughput benchmark\.

Table 1:Synthetic results atβ=0\.4\\beta=0\.4\. Reductions and gaps are percentages\. Intervals resample 60 network\-level mean reductions; all removal subsets of each size are included\.Figure 3:Matched\-count comparison\. Left: one point per network, averaged over removals of the given size;β=0\.4,γ=0\\beta=0\.4,\\gamma=0\. Right: means and network bootstrap intervals as common error increases\. The common component is invariant to routing\.At correlation 0\.8 the benefits fall to 0\.43% and 0\.79%\. Homogeneous exposures give exactly equal risks for matched quotas\. These negative controls show that the method cannot remove common error or improve an already identical financial allocation\. Feedback variation preserves positive average reductions but changes their magnitude \(Appendix[A](https://arxiv.org/html/2610.00239#A1)\)\.

### 8\.2Fractional policies can overstate diversification

Across 20 seeds, independent routing exceeds the fractional lower bound by an average 176\.0% atn=4n=4and 28\.0% atn=64n=64\. Conditional\-expectation assignments reduce the gaps to 134\.7% and 5\.0%\. Every realized assignment satisfies its finite\-agent bound\. Figure[4](https://arxiv.org/html/2610.00239#S8.F4)also shows the exact orthogonal\-exposure counterexample, where increasingnndoes not close the gap\.

Figure 4:Four\-endpoint indivisible\-routing effects\. Left: 20\-seed means with descriptive 1\.96\-standard\-error bars, normalized by the fractional lower bound\. The dashed line is a relaxation, not an executable random policy\. Right: exact uniform\-routing cases; orthogonal exposures retain a factor\-four gap at every population size\.
### 8\.3Recorded\-error replay: smaller, conditional benefits

Collection yielded 1,024 observations and one transport retry, for 1,025 primary HTTP requests\. Fifty\-nine responses reached the completion limit and used zero\-trade fallback\. Estimated primary token cost was $0\.2143 at nominal rates; this is not an invoiced charge\.

Held\-out replay gives a 3\.30% reduction against matched\-count routing, with paired interval 2\.07–4\.57% \(Table[2](https://arxiv.org/html/2610.00239#S8.T2)\)\. Single\- and double\-omission estimates are 2\.98% and 3\.52%\. Calibration error alignmentSj​k/Sj​j​Sk​kS\_\{jk\}/\\sqrt\{S\_\{jj\}S\_\{kk\}\}ranges from 0\.848 to 0\.999 off diagonal\. This is an uncentered cosine, not a Pearson correlation\. Strong alignment is consistent with smaller gains than in the independent\-error construction\.

Table 2:Held\-out API replay\. The first four policies preserve baseline quotas\. Common best changes counts and uses the survivor with smallest calibration second moment\. Intervals condition on fitted policies; exploratory comparisons have no multiplicity adjustment\.Common best achieves a larger 4\.53% reduction with different counts\. This does not contradict CER’s constrained objective; it shows the importance of quality and resource constraints\. Equal\-variance exposure balancing gives only 0\.13% overall improvement, with an interval crossing zero\. Ignoring the estimated error structure loses most of the benefit in this replay\.

![Refer to caption](https://arxiv.org/html/2610.00239v1/05-api-replay.png)Figure 5:Recorded\-error replay\. Left: uncentered calibration error alignment; rounding to 1\.00 does not imply exact equality\. Right: held\-out reductions and paired task intervals\. The asterisk denotes different endpoint counts\. All four pinned model versions use one vendor\.#### Validity limit of the API evidence\.

The one\-shot arithmetic performance is poor \(Table[3](https://arxiv.org/html/2610.00239#A1.T3)\); these runs are unsuitable as financial execution engines\. Post\-collection diagnostics increase the allowance to 1,000 tokens and use four transparent prompts per endpoint\. All four endpoints answer2\+22\+2correctly; two solve a no\-fee rebalancing example; none returns the specified cent\-accurate result in the eight explicit\-formula and worked\-formula probes\. The 16 records are saved separately\. They do not explain the poor performance, but show that the primary completion limit is not the only issue\.

The exact deterministic implementation of \([22](https://arxiv.org/html/2610.00239#S7.E22)\) solves the task with zero unrounded arithmetic error and dominates every model\-only policy\. The replay therefore supports the routing calculation on the recorded error panel, not a representative capability ranking, a case for LLM arithmetic, or a claim that deployed financial agents follow this error law\. The mathematical and synthetic results do not depend on this panel\.

## 9Operational interpretation and limitations

CER applies most directly to a platform that knows the financial exposure attached to a decision, has approved several eligible endpoints, and can change routing during a disruption\. A practical interface accepts holdings or response estimates, a validation error panel, eligibility, and capacities; it returns executable assignments, stress metrics, and relaxation gaps\. This can support vendor\-contingency review or an internal routing control\. A commercial deployment would need reliable exposure data, contracted capacity, state\-dependent validation, monitoring, and governance beyond this prototype\.

Several boundaries prevent stronger conclusions\. All balance sheets and impact coefficients here are synthetic\. We estimate neither actual AI adoption nor real financial concentration\. The shared\-error model omits private prompts and institution\-specific residuals\. A routing\-independent residual second moment uncorrelated with endpoint errors adds a constant; endpoint\-dependent or institution\-dependent residual quality requires an extended objective\.

Second moments do not order tail probabilities for arbitrary distributions\. The Gaussian and standardized Student\-t5t\_\{5\}checks in Appendix[B](https://arxiv.org/html/2610.00239#A2)illustrate sensitivity, not a tail\-risk theorem\. Error moments can drift after an outage; the spectral envelope is a sensitivity device, not automatic statistical coverage\. The quota heuristic gives local guarantees, and the lower bound can be loose for granular exposures\. Finally, all measured endpoints use one API vendor\. Column omission is not a simulation of independent cloud\-provider failures\.

## 10Conclusion

Failover changes the joint allocation of financial errors\. Primary endpoint counts and availability do not characterize the resulting concentration\. A financial response matrix makes this dependence explicit, while the exact random\-routing premium separates executable single\-endpoint decisions from fractional allocation\. The experiments show exposure\-allocation gains under matched counts and sharply smaller gains for common errors\. The result is a reproducible method for evaluating contingent routing under declared assumptions\. Empirical calibration and independent validation remain necessary before using it to set operational risk limits\.

#### Code and data availability\.

The[companion repository on GitHub](https://github.com/shi1720/contingent-exposure-routing)contains the Python implementation, tests, locally frozen protocol, constructed prompts, raw responses, processed moments, numerical results, figure scripts, and manuscript source\. Offline reproduction makes no API calls\. New collection requires an explicit paid\-execution flag and a separately supplied credential\. No credential is included\. Results refer to the archived panel; a remote model rerun need not return identical text\.

#### Declarations\.

OpenAI Codex assisted with literature review, mathematics, code, experiments, and drafting\. The author assumes responsibility for all content\.

## References

- \[1\]Stephen Boyd and Lieven Vandenberghe\.*Convex Optimization*\.Cambridge University Press, 2004\.URL[https://web\.stanford\.edu/~boyd/cvxbook/](https://web.stanford.edu/~boyd/cvxbook/)\.
- \[2\]Rama Cont and Eric Schaanning\.Fire sales, indirect contagion and systemic stress testing\.Working Paper 2/2017, Norges Bank, 2017\.URL[https://www\.norges\-bank\.no/contentassets/bb47f56979fe4adf9249d1c0ab55c7d1/working\_paper\_2\_17\.pdf](https://www.norges-bank.no/contentassets/bb47f56979fe4adf9249d1c0ab55c7d1/working_paper_2_17.pdf)\.
- \[3\]Financial Stability Board\.The financial stability implications of artificial intelligence\.Technical report, Financial Stability Board, 2024\.URL[https://www\.fsb\.org/uploads/P14112024\.pdf](https://www.fsb.org/uploads/P14112024.pdf)\.
- \[4\]Rajiv Gandhi, Samir Khuller, Srinivasan Parthasarathy, and Aravind Srinivasan\.Dependent rounding and its applications to approximation algorithms\.*Journal of the ACM*, 53\(3\):324–360, 2006\.doi:10\.1145/1147954\.1147956\.
- \[5\]Robin Greenwood, Augustin Landier, and David Thesmar\.Vulnerable banks\.*Journal of Financial Economics*, 115\(3\):471–485, 2015\.doi:10\.1016/j\.jfineco\.2014\.11\.006\.
- \[6\]Sai Hao, Hao Zeng, Hongxin Wei, and Bingyi Jing\.RACER: Risk\-aware calibrated efficient routing for large language models, 2026\.URL[https://arxiv\.org/abs/2603\.06616](https://arxiv.org/abs/2603.06616)\.
- \[7\]Jon Kleinberg and Manish Raghavan\.Algorithmic monoculture and social welfare\.*Proceedings of the National Academy of Sciences*, 118\(22\):e2018340118, 2021\.doi:10\.1073/pnas\.2018340118\.
- \[8\]Alex Leytes\.Cyber\-financial contagion: Modeling the propagation of an AI vendor compromise through the banking system, 2026\.URL[https://arxiv\.org/abs/2609\.10350](https://arxiv.org/abs/2609.10350)\.
- \[9\]Jelena Markovic\-Voronov, Kayhan Behdin, Yuanda Xu, Zhengze Zhou, Zhipeng Wang, and Rahul Mazumder\.Robust batch\-level query routing for large language models under cost and capacity constraints, 2026\.URL[https://arxiv\.org/abs/2603\.26796](https://arxiv.org/abs/2603.26796)\.
- \[10\]Shuchen Meng and Xupeng Chen\.Artificial intelligence and systemic risk: A unified model of performative prediction, algorithmic herding, and cognitive dependency in financial markets, 2026\.URL[https://arxiv\.org/abs/2604\.03272](https://arxiv.org/abs/2604.03272)\.
- \[11\]Isaac Ong, Amjad Almahairi, Vincent Wu, Wei\-Lin Chiang, Tianhao Wu, Joseph E\. Gonzalez, M\. Waleed Kadous, and Ion Stoica\.RouteLLM: Learning to route LLMs with preference data, 2024\.URL[https://arxiv\.org/abs/2406\.18665](https://arxiv.org/abs/2406.18665)\.
- \[12\]Prabhakar Raghavan and Clark D\. Thompson\.Randomized rounding: A technique for provably good algorithms and algorithmic proofs\.*Combinatorica*, 7\(4\):365–374, 1987\.URL[https://www\.cs\.auckland\.ac\.nz/~cthombor/Pubs/RandomRounding/RandomRounding1987\.pdf](https://www.cs.auckland.ac.nz/~cthombor/Pubs/RandomRounding/RandomRounding1987.pdf)\.

## Appendix AAdditional experimental details

### A\.1Task distribution and model outcomes

NAV is uniform on $1,000 increments from $20,000 to $500,000\. Initial risky exposure ranges from 5% to 145% of NAV in one\-point increments; targets range from 10% to 140%\. Fees are uniform on\{5,15,35,75,150,300\}\\\{5,15,35,75,150,300\\\}basis points\. Negative cash denotes borrowing\. Wording templates cycle by index; the calibration/test permutation is independent of outcomes\.

Table 3:Held\-out one\-shot calculations\. Errors are basis points of initial NAV after zero\-trade fallback\. Valid means a parsed finite number with normal completion, not a correct answer\. Poor task performance limits the replay’s interpretation\.Post\-collection diagnostics are an integrity check, not an alternative benchmark selected for better results\. Their prompts, expected values, responses, finish reasons, and identifiers are indata/raw/api\-sanity\.jsonl\. Primary data are unchanged\. Primary and diagnostic requests total 1,041 HTTP calls; the quoted primary cost excludes the 16 diagnostics\.

### A\.2Feedback and granularity

At zero endpoint correlation, mean single/double\-removal reductions are 7\.30%/12\.33% forβ=0\\beta=0, 6\.57%/10\.53% forβ=0\.4\\beta=0\.4, and 6\.35%/9\.36% forβ=0\.75\\beta=0\.75\. Greater feedback need not increase the relative gain, because it changes the exposure geometry and baseline risk\. Absolute risk depends on feedback and participation scale\.

The granularity study uses the same size and portfolio generator, no fixed primary assignments, no quotas, four eligible endpoints, andβ=0\.4\\beta=0\.4\. It isolates implementability\. Continuous and independent\-random risks are analytical; error bars in Figure[4](https://arxiv.org/html/2610.00239#S8.F4)summarize seed variation rather than shock simulation uncertainty\.

## Appendix BSecondary tail checks

A secondary simulation uses network seed 1721406,β=0\.4\\beta=0\.4, and removal of endpoints 0 and 1\. At eachγ∈\{0,0\.3,0\.8\}\\gamma\\in\\\{0,0\.3,0\.8\\\}, it draws 100,000 common random vectors for all policies\. Gaussian vectors have second momentSS\. Dividing them byU/3\\sqrt\{U/3\}, with independentU∼χ52U\\sim\\chi^\{2\}\_\{5\}, gives Student vectors with the same second moment\. These checks were added after the primary evaluation and are diagnostic\.

The tail quantity is\|d−1​𝟏⊤​x\|\\left\|d^\{\-1\}\\mathbf\{1\}^\{\\top\}x\\right\|, absolute mean asset displacement in normalized units\. Empirical ES97\.5 is the mean at or above its empirical 97\.5% quantile\. It is not expected shortfall of a calibrated investment portfolio\.

Figure 6:Secondary absolute\-displacement tail check for one declared network, with independent errors\. Heavy tails raise ES despite unchanged second moments\. CER’s ES improvement here is smaller than its quadratic\-risk improvement\.Atγ=0\\gamma=0, count\-balanced and CER theoretical quadratic risks are 0\.41745 and 0\.39745\. Gaussian estimates are 0\.41809 and 0\.39777, with standard errors 0\.00177 and 0\.00172\. Their ES values are 0\.45436 and 0\.45142 under Gaussian shocks, versus 0\.56979 and 0\.56726 under Student shocks\. The complete table includes all correlations\.

## Appendix CIndependent checks and reproduction

The exhaustive checker evaluates∑i,ℓ\(ai⊤​aℓ\)​SJi​Jℓ\\sum\_\{i,\\ell\}\(a\_\{i\}^\{\\top\}a\_\{\\ell\}\)S\_\{J\_\{i\}J\_\{\\ell\}\}directly over all343^\{4\}assignments on 12 random instances, without reusing the reduced random\-routing formula\. Ten small problems enumerate363^\{6\}assignments subject to a fixed row and compare the lower bound to the best integral objective\. Another example enumerates all equal\-quota assignments\. Accounting tests substitute decimal ground truth into the original NAV equation for all 256 tasks\.

The resolvent is checked against 1,000 cascade iterations at radii 0, 0\.4, 0\.75, and 0\.95\. Swap tests independently scan terminal assignments for improving legal pairs and verify fixed rows, endpoint counts, and objective changes\. Other checks cover perfectly common errors, orthogonal exposures, the granularity identity, and the spectral envelope\. These are implementation checks, not substitutes for proofs\.

Principal offline commands are:

python\-mpytest\-q

pythonscripts/run\_synthetic\.py

pythonscripts/analyze\_api\.py

pythonscripts/run\_tail\_checks\.py

pythonscripts/summarize\.py

pythonscripts/make\_tables\.py

pythonscripts/make\_figures\.py

cdpaper&&tectonicmain\.tex

The locked environment, seeds, generated tables, and checksums accompany the artifact\. Synthetic results are deterministic conditional on the numerical environment; solver tolerances can cause small platform\-dependent differences\. Bootstrap intervals describe only their stated resampling distributions\. They are not formal finite\-sample guarantees or probabilities that the modeling assumptions hold in practice\.

Similar Articles

Representation over Routing: Overcoming Surrogate Hacking in Multi-Timescale PPO

Hugging Face Daily Papers

This paper identifies surrogate hacking and temporal uncertainty as failure modes in multi-timescale RL, and proposes a Target Decoupling architecture that removes routing from the actor, using the critic for auxiliary representation learning. The method eliminates policy collapse on the LunarLander-v2 benchmark and stably surpasses the 'Environment Solved' threshold without hyperparameter hacking.