2026-11-18·作者 Sijie Wang#cybernetics#engineering#testing

catastrophe-model

Catastrophe model — pricing losses that arrive together

Pooling works when losses are independent. An earthquake breaks that: every policy in the city claims on the same day. There are also too few large earthquakes on record to estimate a rate from history. Insurers answer both problems with a model in three parts, and none of the parts is a failure rate.

A model defect is the earthquake of eval-is-not-yet-actuarial: a version update makes every customer wrong on the same day. The three parts carry over.

PartEarthquakeModel defect
Event setSimulated quakes by location and magnitudeKinds of defect a release can introduce: a tool-call regression, a refusal that should not happen, a change in number formatting, a safety filter that over-triggers
ExposureBuildings, their value and siteEach customer's use: which tasks, how many a day, what each one touches
VulnerabilityShare of value lost at a given shaking, by building typeShare of tasks that go wrong under a given defect, by task type

Where the existing tests fit

This is the place for the two things detection-floor says cannot give a rate.

  • Red-team findings and past regressions fill the event set. They do not say how often, and here they do not need to. They say what can happen.
  • Evals fill vulnerability. Inject a defect, run the test set, read off the failure share per task type. That is a measurement an eval can make well.
  • The live log fills exposure.

The one input no test gives is the annual probability of each event. It starts as a judgment and is revised as releases accumulate.

A worked case

Three events. The probabilities and losses are assumed, to show how the curve is built.

EventChance in a yearLoss if it happensContribution to the average
A: minor formatting regression20%0.2 million0.04 million
B: tool-call regression in one task type5%2 million0.10 million
C: silent wrong values across all customers1%20 million0.20 million
  • Average annual loss: 0.04+0.10+0.20=0.340.04 + 0.10 + 0.20 = 0.34 million. The rarest event supplies most of it.
  • Chance of losing at least 0.2 million: 1−0.80×0.95×0.99=24.8%1 - 0.80 \times 0.95 \times 0.99 = 24.8\%
  • Chance of losing at least 2 million: 1−0.95×0.99=6.0%1 - 0.95 \times 0.99 = 6.0\%
  • Chance of losing at least 20 million: 1%1\%

Both axes are on a log scale; losses are in millions. The marked point is the 1-in-100-year loss, 20 million. Capital and reinsurance are set from this curve. A premium set from the 0.34 million average alone would be wiped out in the one year that matters.

What it buys

  • A number for the correlated case, where the law of large numbers gives none.
  • A reason to diversify across models. Two models with different defects flatten the curve. One model for every customer makes it steep.
  • A price for controls. A staged rollout, a canary, a rollback within the hour: each cuts the loss of an event, and the curve shows by how much.

Limits

  • The event probabilities are judgments. With a few dozen releases of history, they stay that way for years.
  • The event set is only what someone thought of. The defect nobody listed is not on the curve.
  • Vulnerability is measured on a test set, so it inherits the mix problem (rating-variables).

Up: actuarial-transfer · Next: extreme-value-tail · Kin: automated-red-teaming · regression-ci · eval-is-not-yet-actuarial

Source: the three-module structure of catastrophe models and the exceedance curve are standard, from memory. The mapping to model defects and the example are worked here; the exceedance chances treat the three events as independent.

關於這一條

sijie 的一條 wiki 條目。本站的 AI 以同一套語料庫為依據、以 sijie 的口吻作答,並附有指向此類條目的引用——回答會花 sijie 的錢,所以它在存取碼後等待: 輸入存取碼 →