RiskTrace: Exact Attribution for Nonsmooth Financial Risk, Capital, and Margin Frameworks

arXiv:2609.32238 · cs.CE, q-fin.RM · Submitted 2026-09-26 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.

Tom: We're looking at the paper: "RiskTrace: Exact Attribution for Nonsmooth Financial Risk, Capital, and Margin Frameworks".

Title and authors: Tom: So we're looking at this paper from Yuhe Sui and his team called RiskTrace: Exact Attribution for Nonsmooth Financial Risk, Capital, and Margin Frameworks. It sounds like they’re tackling that big problem where banks calculate their total market-risk capital at a desk level, but nobody knows exactly how much capital each individual trade is actually taking up.

Jane: That's the core issue, right? The internal models approach gives you one aggregate number for the entire trading desk, but risk managers need to know which specific trades are driving that charge so they can manage risk better or assign costs correctly.

Lu: Exactly. The paper is proposing a way to get that exact breakdown for every single trade and link it back perfectly to the total capital computed. It’s moving away from just one allocation vector, like the Euler or gradient ones, because those rules don't work well when you have these nonsmooth parts in your risk model.

Meng: I’m curious about how they do that reconciliation part. When you break down a big number, you need to make sure all the pieces add up exactly to the whole thing, right? That seems like where things usually get messy in these models.

Tom: The paper says they use a computational graph approach. They write the total capital as this directed acyclic graph of primitive nodes and then propagate all those allocation vectors through it in just one reverse pass using local Euler rules, active-branch weights at floors and maxima, and default quantile scenarios.

Jane: A single reverse pass sounds like a big win for computational efficiency. So, instead of reevaluating the capital for every single trade individually, they do it once and then derive all the individual allocations from that structure?

Lu: Yeah, that’s what they’re aiming for because reevaluation per trade is usually too slow when you're dealing with thousands of positions. The idea is to use this graph structure to propagate the allocation vectors through node-local rules in one single reverse pass, which avoids that one capital reevaluation per trade <ref:2609.32238#pg5>.

Meng: If it works, that means less compute time for the risk systems. But what about when you have those ties they mention? Because if two things have the same marginal allocation, how does the system handle that ambiguity?

Title and authors: Tom: They address that by defining six distinct allocation measures: the Euler local marginal, the incremental removal effect, the accounting ledger, time decomposition for origin ledger, and a capital-minimizing hedge choice <ref:2609.32238#pg1>.

Jane: That’s a lot of different ways to look at it. It sounds like they’re not just giving you one answer but six different views on how the capital is allocated, and then they prove that some of these measures reconcile back to the total capital <ref:2609.32238#pg9>.

Lu: They do prove that the origin ledger and accounting ledger reconcile to capital and re-sum to any grouping, which means you can check if your internal bookkeeping is correct <ref:2609.32238#pg9>. But they also look at things like the time decomposition, which tracks where the capital came from over time.

Meng: That tracking of origin might be useful for auditing, but what about the practical utility for someone actually running a trading system? Is this something that runs fast enough on real-time data or does it just work well in theory?

Tom: The paper shows that under stated homogeneity assumptions, if there are no ties active and the standardized-approach inputs come with gradient allocations, then today’s book sensitivities add up to capital if and only if this frozen remainder is zero <ref:2609.32238#pg9>.

Jane: That sounds like a strict condition for when the current snapshot matches the total capital, which is useful for checking consistency, but it also suggests that if things aren't perfectly smooth or homogeneous, you need to look closer at those remainder terms.

Lu: And they do show evidence on a pre-registered benchmark where these measures actually come apart materially <ref:2609.32238#pg7>. So, while the theory is sound, the real-world behavior of these different allocation measures isn't always perfectly aligned in practice.

Meng: So, if we look at what they suggest as improvements—they mention using exact linear-programming tests when there are ties instead of just picking one marginal value? That sounds like a heavy computational lift for every trade.

Tom: It is a lift, but it’s presented as a way to handle the set-valued marginals that arise from those ties <ref:2609.32238#pg4>. They are essentially finding all the realisable marginal vertices instead of just picking one if there's ambiguity.

Title and authors: Jane: That makes sense for getting an exact answer, but does that mean the computation time explodes when you have a lot of ties in your book?

Lu: It’s more about correctness than pure speed in those specific tie scenarios. And on the practical side, they also show that certified selective repricing can return the exact answer with a guaranteed error bound or it declines if certification fails against brute-force revaluation <ref:2609.32238#pg10>.

Meng: Certified repricing sounds like a way to get confidence when you really need to know the exact number, but what about the limitations they admit? Where does this model stop working?

Tom: They do flag some open problems, specifically that certification beyond one risk factor and across the whole graph is still an open area <ref:2609.32238#pg17>. That means they haven't fully proven the method holds up for every possible layer of complexity in a real bank model yet.

Jane: It’s honest to admit that. And they do mention that post-hoc methods like integrated gradients and shap relate to capital only once their features and baseline are fixed <ref:2609.32238#pg16>. So, if you use those other tools, they have to do the heavy lifting of fixing those inputs first.

Lu: That’s a bit of a trade-off. You get exactness by doing the graph propagation, or you use post-hoc methods which require fixing your inputs first <ref:2609.32238#pg16>. The adversarial review record even motivates fail-closed rules for approximation methods <ref:2609.32238#pg17>.

Meng: So, for deploying this at scale, if we use the exact attribution method, we are betting that the computational graph approach is faster than running thousands of individual reevaluations?

Tom: That’s the hypothesis. The paper claims that after one forward evaluation, a single reverse pass propagates allocation vectors through every node by local Euler rules <ref:2609.32238#pg1>. It’s designed to avoid one capital reevaluation per trade <ref:2609.32238#pg5>.

Jane: So, for the listener driving, what does this actually change? It means that instead of just getting a total number and guessing how much risk is in each transaction, you can get a traceable path showing exactly why that total capital was calculated the way it was <ref:two thousand six hundred nine point three two two three eight#pg1.

Lu: Right. It gives the risk manager a tool to check their work against the total capital figure computed by the internal models approach <ref:two thousand six hundred nine point three two two three eight#pg1.

Title and authors: Meng: If I’m deploying this, I need to know what it costs to run this exact attribution system at scale. Is it feasible for a production environment?

Tom: The paper focuses on the mechanics of the calculation itself, showing how it propagates allocations through every node by local Euler rules <ref:2609.32238#pg5>. That’s the core mechanism we need to stress-test against performance metrics.

Jane: So, to wrap up RiskTrace: Exact Attribution for Nonsmooth Financial Risk, Capital, and Margin Frameworks, they give us a formula-complete way to attribute FRTB-IMA capital to individual trades that reconciles perfectly with the total computed capital <ref:two thousand six hundred nine point three two two three eight#pg1. It’s a big step toward making sense of the complex internal models approach for risk management.

Lu: It’s a step toward providing typed, checkable attributions designed to be consumed alike by risk managers, finance functions, validators and automated decision systems <ref:two thousand six hundred nine point three two two three eight#pg18. The ability to check every step is what matters most for model validation.

Meng: For me, the thing that stands out is the focus on making these attributions usable by different systems <ref:two thousand six hundred nine point three two two three eight#pg18. If it’s not consumable, it doesn't matter how accurate the math is.

Tom: It seems they’ve built a system where you can use these typed ledgers through the measure each system needs <ref:two thousand six hundred nine point three two two three eight#pg18. It connects the complex theory to practical usage for people on all sides of finance and risk <ref:two thousand six hundred nine point three two two three eight#pg18.

Jane: So, we’re leaving with the idea that this paper provides a way to move from one aggregate capital number to a detailed, traceable map of capital charges across every trade position using this exact attribution method <ref:two thousand six hundred nine point three two two three eight#pg1.

Lu: The challenge they leave is figuring out how to certify this across the entire graph and beyond just one risk factor <ref:two thousand six hundred nine point three two two three eight#pg17. That’s where the next set of research will focus.

Meng: I'm just thinking about how much data you need to feed into that computational graph for it to be reliable <ref:two thousand six hundred nine point three two two three eight#pg17.

Tom: We’ll have to see if the required input size is manageable, but the mechanism itself seems sound for handling the nonsmooth nature of these risk calculations <ref:two thousand six hundred nine point three two two three eight#pg1.

Jane: That’s what we’ll be watching next. It sounds like a paper that really helps bridge the gap between complex financial theory and real-world operational needs.

The paper's summary: Tom: It’s trying to solve that problem where the total capital number you get for a whole desk doesn't tell you how much risk each specific trade is actually taking up.

Jane: Exactly! Think of it like getting a total bill for a big restaurant, but you want to know exactly which dish caused how much of that charge.

Lu: The authors propose using this computational graph approach, where they write the total capital as a directed acyclic graph of primitive nodes <ref:two thousand six hundred nine point three two two three eight#pg5.

Meng: So instead of recalculating the risk for every single trade position one by one, they use this graph structure to propagate allocations through it in just one reverse pass <ref:2609.32238#pg5>.

Tom: That’s the mechanical win there. They claim this method avoids that capital reevaluation per trade <ref:two thousand six hundred nine point three two two three eight#pg5.

Jane: But what makes this different from just using a standard allocation rule, like the Euler allocation, which is local and simple?

Lu: They are defining six distinct allocation measures. You’ve got the Euler local marginal, the incremental removal effect, the accounting ledger, time decomposition for origin ledger, and a capital-minimizing hedge choice <ref:two thousand six hundred nine point three two two three eight#pg1.

Meng: Six measures sounds complicated. How do we know if these six different ways of looking at it actually give us the same answer?

Tom: Theorem four proves that the origin ledger and accounting ledger reconcile back to the total capital and they re-sum to any grouping <ref:two thousand six hundred nine point three two two three eight#pg9.

Jane: That’s important. It means if you check your internal bookkeeping against this method, it should add up correctly regardless of how you group the trades <ref:two thousand six hundred nine point three two two three eight#pg9.

Lu: And they have a proposition that says if there are no ties active and the inputs come with gradient allocations, then today’s book sensitivities add up to capital if and only if this frozen remainder is zero <ref:two thousand six hundred nine point three two two three eight#pg9.

Meng: So for practical deployment, what does this mean for my system? Does it run fast enough on real traffic?

Tom: The paper focuses on the mechanics of the calculation itself, showing how these allocation vectors propagate through every node by local Euler rules <ref:two thousand six hundred nine point three two two three eight#pg1.

Jane: It suggests that these typed, checkable attributions are designed to be consumed alike by risk managers and automated systems <ref:two thousand six hundred nine point three two two three eight#pg18.

Lu: The certification part is also a big piece of the puzzle. They show certified selective repricing can return the exact answer with a guaranteed error bound or it declines if certification fails against brute-force revaluation <ref:two thousand six hundred nine point three two two three eight#pg10.

Meng: That’s a lot of heavy lifting to get that kind of guarantee. What about where this method stops working?

Tom: They admit open problems remain regarding certification beyond one risk factor and across the whole graph <ref:two thousand six hundred nine point three two two three eight#pg17.

Jane: It sounds like the next step for this research is figuring out how to certify this entire graph, not just one piece of it.

The paper's improvements: Tom: The paper proposes specific ways to improve the attribution system, moving beyond just using six different measures <ref:2609.32238#pg1>.

Jane: So what are these improvements? It sounds like they’re trying to make the system more robust when things get messy.

Lu: They suggest using exact linear-programming tests when there are ties in the marginal allocation, instead of just picking one single value <ref:2609.32238#pg4>.

Meng: Exactly. If two trades have the same risk impact, you can’t just guess which one gets the capital charge; you need a way to find all the possible realisable marginal values <ref:two thousand six hundred nine point three two two three eight#pg4.

Tom: That means instead of a single selection when there's ambiguity, the system finds all those vertices in the set <ref:two thousand six hundred nine point three two two three eight#pg10.

Jane: That sounds computationally intensive. Does that mean more processing time for every single trade?

Lu: It is more of a correctness thing than a pure speed thing for those specific tie situations, it’s about getting the exact answer <ref:two thousand six hundred nine point three two two three eight#pg4.

Meng: Okay, so the cost goes up when we hit ambiguity. That makes sense for accuracy. What about performance when we use approximation methods?

Tom: The paper points out that post-hoc methods like integrated gradients and shap can only relate to capital once their features and baseline are fixed <ref:two thousand six hundred nine point three two two three eight#pg16.

Jane: So if you want to use those other tools, you have to spend time fixing all those initial inputs before the attribution works correctly?

Lu: That's the trade-off. You get exactness by doing the graph propagation, or you use post-hoc methods which require fixing your inputs first <ref:two thousand six hundred nine point three two two three eight#pg16.

Meng: I need to know what happens if we try to certify this whole thing across every risk factor, because that’s where they admit things are still open <ref:two thousand six hundred nine point three two two three eight#pg17.

Tom: They flagged that certification beyond one risk factor and across the whole graph is still an open area <ref:two thousand six hundred nine point three two two three eight#pg17.

Jane: So the immediate implication is that while they have a solid framework for attribution, proving it’s perfect everywhere might take more work than you think.

Conclusion: Tom: So we’ve seen how this paper, RiskTrace: Exact Attribution for Nonsmooth Financial Risk, Capital, and Margin Frameworks tries to map every bit of capital charge back to a specific trade position <ref:two thousand six hundred nine point three two two three eight#pg1.

Jane: It gives risk managers a tool to check the total capital number against the individual trade charges, which is huge for validation.

Lu: The core idea is using this computational graph approach to propagate allocations through every node in a single reverse pass <ref:two thousand six hundred nine point three two two three eight#pg5.

Meng: So it’s trying to be faster than running thousands of individual revaluations for every trade on a production system <ref:two thousand six hundred nine point three two two three eight#pg5.

Tom: Right, and they define six different ways to look at the allocation, which is a lot of different angles <ref:two thousand six hundred nine point three two two three eight#pg1.

Jane: It shows that some of these measures, like the accounting ledger, reconcile back to the total capital and re-sum correctly across any grouping <ref:two thousand six hundred nine point three two two three eight#pg9.

Lu: And they showed certified selective repricing can give you an exact answer with a guaranteed error bound if you certify it against brute-force revaluation <ref:two thousand six hundred nine point three two two three eight#pg10.

Meng: But the authors are honest that this system isn't perfect yet, specifically they flag that certification across the whole graph is still an open problem <ref:two thousand six hundred nine point three two two three eight#pg17.

Tom: So it’s a powerful framework for tracing risk, even with those remaining certification hurdles <ref:two thousand six hundred nine point three two two three eight#pg17.

Jane: It really changes how you can audit these complex internal models by making the allocations traceable <ref:two thousand six hundred nine point three two two three eight#pg18.

Lu: Lalam says this is a very sure answer because it connects the exact attribution to what risk systems actually need, and I’m confident in its mathematical structure <ref:two thousand six hundred nine point three two two three eight#pg18.

Meng: From an engineering standpoint, we need to see how much data you actually have to feed into that computational graph for it to be reliable <ref:two thousand six hundred nine point three two two three eight#pg17.

Tom: So, in the end, RiskTrace provides a formula-complete way to attribute FRTB-IMA capital that reconciles exactly with the computed capital <ref:two thousand six hundred nine point three two two three eight#pg1.

Jane: It’s a big step toward making sense of those complex internal models by giving us typed, checkable attributions for risk managers and automated decision systems <ref:two thousand six hundred nine point three two two three eight#pg18.

Lu: We’re leaving with the challenge of proving this works perfectly across every single layer, which is where the next research needs to go <ref:two thousand six hundred nine point three two two three eight#pg17.

Quantitative Research Society, Singapore · Nanyang Technological University, Singapore

cs.CE, q-fin.RM

Submitted: 2026-09-26

Updated: 2026-12-01

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 91/100

The gist: The internal-models approach of the Fundamental Review of the Trading Book (FRTB-IMA) determines market-risk capital at the aggregate level of a bank’s approved trading desks…

Key concepts

Computational Graph
This is a directed acyclic graph where FRTB-IMA capital is represented as nodes and edges. This structure allows the system to model complex dependencies between different risk factors and allocations, enabling precise propagation of capital amounts through the system.
Allocation Measures
Six distinct measures are defined, including the Euler (local marginal) allocation and the accounting ledger. These measures allow users to decompose capital in different ways, providing multiple perspectives on how specific trades contribute to the total risk charge.
Certified Selective Repricing
This technique allows for certification of option book valuations. If a valuation is certified, it guarantees an exact answer with a known error bound. This provides high confidence in the calculated capital attribution for specific financial instruments.

Terminology

Summary

The internal-models approach of the Fundamental Review of the Trading Book (FRTB-IMA) determines market-risk capital at the aggregate level of a bank’s approved trading desks, but it does not say how that charge should be attributed to individual trades. p. 0

Where the paper says it

Exact Trade-Level Attribution of FRTB-IMA Capital Yuhe Sui Quantitative Research Society, Singapore Nanyang Technological University, Singapore September 2026 Abstract The internal-models approach of the Fundamental Review of the Trading Book (FRTB-IMA) determines market-risk capital at the aggregate level of a bank’s approved trading desks, but it does not say how that charge should be attributed to individual trades. Risk managers, capital planners and validators often need one, and it is hard to obtain: capital passes through expected-shortfall, stress-scaling, non-modellable, default-risk, history and standardised-approach layers that are nonsmooth and depend on past positions.

<ref:2609.32238#pg1,it does not say how that charge should be attributed to individual trades>. p. 0
Where the paper says it

Exact Trade-Level Attribution of FRTB-IMA Capital Yuhe Sui Quantitative Research Society, Singapore Nanyang Technological University, Singapore September 2026 Abstract The internal-models approach of the Fundamental Review of the Trading Book (FRTB-IMA) determines market-risk capital at the aggregate level of a bank’s approved trading desks, but it does not say how that charge should be attributed to individual trades. Risk managers, capital planners and validators often need one, and it is hard to obtain: capital passes through expected-shortfall, stress-scaling, non-modellable, default-risk, history and standardised-approach layers that are nonsmooth and depend on past positions.

This paper presents a formula-complete attribution of FRTB-IMA capital to (observation date, trade) positions that reconciles to computed capital. p. 0
Where the paper says it

Risk managers, capital planners and validators often need one, and it is hard to obtain: capital passes through expected-shortfall, stress-scaling, non-modellable, default-risk, history and standardised-approach layers that are nonsmooth and depend on past positions. We present a formula-complete attribution of FRTB-IMA capital to (observation date, trade) positions that reconciles to computed capital.

<ref:2609.32238#pg1,We present a formula-complete attribution of FRTB-IMA capital to (observation date, trade) positions that reconciles to computed capital>. p. 0
Where the paper says it

Risk managers, capital planners and validators often need one, and it is hard to obtain: capital passes through expected-shortfall, stress-scaling, non-modellable, default-risk, history and standardised-approach layers that are nonsmooth and depend on past positions. We present a formula-complete attribution of FRTB-IMA capital to (observation date, trade) positions that reconciles to computed capital.

Core Contribution and Methodology

The central idea is one decomposition, several allocation measures.<ref:2609.32238#pg1>. The paper introduces a computational graph where FRTB-IMA capital is written as a directed acyclic graph of primitive nodes. p. 4

Where the paper says it

75) yes Hedge choice tie: no single removal lowers 𝐾 – (a ranking) 3 The FRTB-IMA capital graph Attribution must trace where ties and history enter capital, so we state the formula in full. Following MAR33 [7], we write capital as a directed acyclic graph of primitive nodes (Figure 1).

<ref:2609.32238#pg5,Following MAR33 [7], we write capital as a directed acyclic graph of primitive nodes (Figure 1)> and propagates typed allocations through it by node-local rules in a single reverse pass. p. 4
Where the paper says it

75) yes Hedge choice tie: no single removal lowers 𝐾 – (a ranking) 3 The FRTB-IMA capital graph Attribution must trace where ties and history enter capital, so we state the formula in full. Following MAR33 [7], we write capital as a directed acyclic graph of primitive nodes (Figure 1).

<ref:2609.32238#pg5>. This process avoids one capital reevaluation per trade. p. 0
Where the paper says it

We present a formula-complete attribution of FRTB-IMA capital to (observation date, trade) positions that reconciles to computed capital. The calculation is written as a computational graph; after one forward evaluation, a single reverse pass propagates allocation vectors through every node by local Euler rules (expected-shortfall dual weights, active-branch weights at floors and maxima, the default-quantile scenario), avoiding one capital reevaluation per trade.

<ref:2609.32238#pg5>.

Allocation Measures and Reconciliation Properties

The paper defines six distinct allocation measures: the Euler (local marginal) allocation, the incremental (removal) effect, the accounting ledger, the time decomposition (origin ledger), and the capital-minimising hedge choice.<ref:2609.32238#pg1>. Theorem 4 proves that the origin and accounting ledgers reconcile to capital and re-sum to any grouping. p. 2

Where the paper says it

C3 Complete theory. We prove the following, with all proofs in Appendix B: the origin and accounting ledgers reconcile to capital and re-sum to any grouping; at smooth points the ledger is the gradient allocation; today’s-book sensitivity misses exactly a “frozen remainder” on past dates; removal effects do not add up; realisable tie combinations are valid marginal vertices, whereas independent choices over-cover; and reconciliation alone cannot certify a marginal.

<ref:2609.32238#pg9>. Furthermore, Proposition 16 states that if no tie is active and the standardised-approach inputs come with gradient allocations, then today’s-book sensitivities add up to capital if and only if this frozen remainder is zero. p. 8
Where the paper says it

If no tie is active and the standardised-approach inputs come with gradient allocations, then 𝐾 is differentiable at 𝑥 and 𝐴 𝐾 = 𝑥 ⊙ ∇𝐾(𝑥). Proposition 7 (Frozen-remainder identity; Proposition 17).

<ref:2609.32238#pg9>.

Benchmark Evidence and Limitations

Evidence on a pre-registered benchmark shows that the measures come apart materially.<ref:2609.32238#pg7>. The paper notes that established methods cover at most two of the measures, with coverage being a structural limitation. p. 3

Where the paper says it

The ledgers reconcile to machine precision (within 5. 6×10−16), and each established method covers at most two of the measures, for structural rather than numerical reasons (Section 7).

<ref:2609.32238#pg7>. Certified selective repricing is shown to return the exact answer when it certifies, with a soundness theorem. p. 3
Where the paper says it

C4 Certified selective repricing. A pricing algorithm with a soundness theorem: it is exact whenever it certifies, and in the worst case it reprices everything.

<ref:2609.32238#pg10>.

Conclusion on Practical Utility

The paper concludes that the typed, checkable attributions are designed to be consumed alike by risk managers, finance, validators and automated decision systems.<ref:2609.32238#pg18,The typed, checkable attributions are designed to be consumed alike by risk managers, finance, validators and automated decision systems>. p. 2

Where the paper says it

1 Introduction A bank’s market-risk capital under the FRTB internal-models approach [6, 7] is a single number, and many users need it broken down by trade: a desk head deciding which positions to cut; a finance function that must charge capital to desks so that the charges add up to the reported figure; a model validator who must be able to check every step [5, 8, 25]; and, increasingly, automated decision systems that propose hedges and must report their capital consequence. We attribute the full FRTB-IMA capital number back to trades, exactly, and show which of the resulting numbers can be trusted for which purpose.

The exactness can be certified on a declared class via certified repricing or the adaptive certified approximation. p. 1
Where the paper says it

5 Does certified repricing return the exact answer? 6 What did adversarial review of the adaptive certified approximation find?

<ref:2609.32238#pg18,Certified repricing returns the exact answer with a guaranteed error bound, or declines>. p. 6
Where the paper says it

• answered; • no answer on this book: the question itself is undefined, for example Shapley values when some sub-book capitals do not exist; • not applicable: outside the method’s stated scope; • declines: the method cannot certify an answer; • fails; • not run. Approximate answers also state whether they carry a guaranteed error bound.

Open problems remain regarding certification beyond one risk factor and across the whole graph. p. 4
Where the paper says it

ES is evaluated on 90 blocks 𝑒𝑐,𝑣,𝑗 , one for each combination of risk class 𝑐 ∈ {0, . , 5} (all classes together, then interest rate, equity, foreign exchange, commodity and credit spread), factor set and period 𝑣 ∈ {FC, RC, RS} (full/current, reduced/current and reduced/stressed) and liquidity horizon 𝑗 (10, 20, 40, 60 and 120 days).

<ref:2609.32238#pg17>. The typed ledgers are designed to be consumed alike by risk managers, finance, validators and automated decision systems, each through the measure it needs. p. 2
Where the paper says it

1 Introduction A bank’s market-risk capital under the FRTB internal-models approach [6, 7] is a single number, and many users need it broken down by trade: a desk head deciding which positions to cut; a finance function that must charge capital to desks so that the charges add up to the reported figure; a model validator who must be able to check every step [5, 8, 25]; and, increasingly, automated decision systems that propose hedges and must report their capital consequence. We attribute the full FRTB-IMA capital number back to trades, exactly, and show which of the resulting numbers can be trusted for which purpose.

<ref:2609.32238#pg18,The typed ledgers are designed to be consumed alike by risk managers, finance, validators and automated decision systems, each through the measure it needs>. p. 2
Where the paper says it

1 Introduction A bank’s market-risk capital under the FRTB internal-models approach [6, 7] is a single number, and many users need it broken down by trade: a desk head deciding which positions to cut; a finance function that must charge capital to desks so that the charges add up to the reported figure; a model validator who must be able to check every step [5, 8, 25]; and, increasingly, automated decision systems that propose hedges and must report their capital consequence. We attribute the full FRTB-IMA capital number back to trades, exactly, and show which of the resulting numbers can be trusted for which purpose.

Appendix Details

Implementation details show that for ties, the local marginal is a set built from branch combinations.<ref:2609.32238#pg10>. The paper also details how post-hoc attribution methods like Integrated Gradients and SHAP relate to capital only once their features and baseline are fixed. p. 1

Where the paper says it

7 Certified selective repricing . 8 Post-hoc attribution methods on capital .

<ref:2609.32238#pg16,Integrated Gradients over all (date, trade) positions with a zero baseline returns exactly the origin ledger at smooth points>. p. 7
Where the paper says it

Measure Typed answer Adds up to 𝐾? Typical user Local marginal 𝑤 ⊙ ∇𝑤𝐾 with history fixed; a realisable set at ties no in general: misses the frozen remainder risk manager: which trades move capital now Removal effect 𝐾(𝑤) − 𝐾(𝑤 −𝑤𝑖𝑒𝑖), history fixed no in general trader: what-if screening Accounting ledger declared remap 𝑃 𝐴𝐾 of the origin ledger yes finance: desk charges Historical origin 𝐴 𝐾 on (date, trade) positions (the gradient allocation at smooth points) yes validator: where capital came from Hedge choice exact ranking over a finite library (a ranking) trader or automated system: choose an action 5.

The adversarial review record motivates fail-closed rules for approximation methods. p. 1
Where the paper says it

5 Does certified repricing return the exact answer? 6 What did adversarial review of the adaptive certified approximation find?

<ref:2609.32238#pg17>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Improved attribution system can provide exact decomposition of FRTB-IMA capital to individual trades using a computational graph approach, propagating typed allocations through every node by local Euler rules in a single reverse pass.

  2. The system can compute distinct allocation measures—such as local marginal, removal effect, accounting ledger, historical origin, and hedge choice—and report their exact answers with their corresponding reconciliation gaps.

  3. For tie situations where the marginal is not unique, the system uses exact linear-programming tests to identify realisable marginal vertices instead of a single selection.

  4. The system can provide certified selective repricing for option books on a declared class, returning an exact answer with a guaranteed error bound or declining if certification fails against brute-force revaluation.

  5. The system can be used to verify if accounting ledgers reconcile and re-sum to any grouping, as Corollary 5 states: The engine implements the remap for any nonnegative column-stochastic matrix (columns summing to one) and checks it at runtime.

Abstract

Across modern financial markets, prudential frameworks, clearing standards, and internal risk models aggregate portfolio exposure into a single capital, margin, valuation, or solvency charge, yet risk steering, accounting, and hedging require exact attribution to individual positions. Prior scholarship resolved attribution mainly for smooth, scale-invariant risk measures or isolated models, leaving most major regulatory and market-practice frameworks without a complete, exact attribution theory once historical windows, nonsmooth ties, discontinuous switches, singular roots, concentration multipliers, fixed collateral offsets, and absolute caps enter. We introduce RiskTrace, a unified mathematical framework that completes exact, reconciled attribution across eleven major capital, margin, credit, valuation, interest-rate, and solvency models represented as typed computational graphs. We prove exact node-by-node accounting reconciliation across every graph, separate genuine marginal sensitivities from accounting splits, extend path integration to non-smooth and scale-breaking rules without homogeneity, and establish domain-closed finite coalition games. Across all thirty-three pairs combining marginal gradient, path integral, and coalition Shapley attribution across all eleven formalised structural models, every case is resolved: seventeen hold on full structural domains, eight on explicit restricted domains, and eight are refuted by exact counterexamples. Even though seven of eleven frameworks break classical gradient completeness, path integration restores exact attribution on ten of eleven and coalition Shapley achieves exact reconciliation on all eleven, unified by three cross-framework theorems with transparent source-verification provenance.

Sources

Related papers