Predictive underwriting models fail far more often from messy claims and policy data than from algorithm choice. Reliable insurance modeling starts with four preparation steps: rooftop address normalization, clean policy-year exposure joins, honest handling of censored outcomes and rare 1 to 6% claim frequencies, and strict exclusion of PII proxies.
Why insurance claims data breaks standard ML pipelines
In textbook machine learning, every row has a clean label and balanced classes. In property insurance, raw policy and claims tables arrive split across legacy administration systems, claims adjusters and broker spreadsheets—with misspelled addresses, mid-term endorsements, open reserves, switched customers and only 1 to 6 claims per 100 policies.
Skipping data preparation creates silent leakage and phantom accuracy. As UrbanStat outlines in Is machine learning the silver bullet in underwriting?, lengthy, domain-specific data preparation is where real underwriting lift is won or lost.
Step-by-step data cleaning checklist for insurance analytics teams
| Data cleaning step | Common trap in raw insurance data | Clean engineering practice |
|---|---|---|
| 1. Standardize & geocode addresses | PO boxes, typos, apartment suffixes and ZIP-centroid fallbacks stack unrelated policies on one point | Normalize physical risk locations to rooftop coordinates and log geocode match tiers. |
| 2. Build policy-year exposure units | Counting multi-year policies once or double-counting mid-term endorsements distorts frequency | Normalize every record by earned exposure (policy-years) and link claims strictly to the active term. |
| 3. Handle open reserves & catastrophes | Unsettled large claims understate severity; one rare hurricane overwhelms attritional patterns | Separate attritional losses from catastrophe events and cap/develop open reserves consistently. |
| 4. Treat censored & churned policies | Assuming a policyholder who left after year 1 stayed claim-free creates false negatives | Exclude incomplete observation windows from target labels or use survival / multi-year windows. |
| 5. Address 1–6% class imbalance | Optimizing raw accuracy yields a 96%-accurate model that catches zero claims | Use class weighting or calibrated loss-cost targets and validate with out-of-time score-band lift. |
| 6. Strip PII & join external risk data | Historical underwriting fields can leak bias; internal policy tables lack roof, fuel and climate context | Remove protected-class and credit proxies; join verified parcel, permit and peril data as-of policy bind date. |
Preventing target leakage when enriching historical books
One subtle mistake ruins many internal property AI projects: joining *today’s* property attributes onto *five-year-old* claims. If a home burned or took hail damage in 2021 and replaced its roof in 2022, feeding the 2022 roof age into the 2021 training row leaks future information and misleads the model.
Always anchor external features—parcel and permit dates, historical hazard layers and portfolio exposure—to the exact point-in-time snapshot available before the policy bound, then test blind on a strictly later validation year.
Pairing clean data with the Three Pillars of Risk Analysis
Even the cleanest historical claims table cannot contain a 1-in-100-year catastrophe that never hit your specific book. That is why UrbanStat combines machine learning with traditional probabilistic catastrophe modeling and human underwriting intuition—the Three Pillars of Risk Analysis—for durable loss-ratio improvement across personal and commercial lines.
Common questions
What are the most important data cleaning steps for insurance claims data?
Address normalization and rooftop geocoding, linking claims to earned policy-year exposure, separating catastrophe from attritional losses, handling censored churned policies, managing 1–6% class imbalance, and preventing time-travel leakage when joining external property data.
How do you handle imbalanced datasets in insurance underwriting?
Never evaluate on raw accuracy. Use calibrated expected-loss or frequency-severity targets, weight or resample rare claims carefully during training, and judge models on out-of-time loss ratio separation by score band.
Why is geocoding part of claims data cleaning?
Because spatial joins for wildfire, flood, hail and accumulation depend on exact coordinates. Uncleaned addresses or ZIP fallbacks attach the wrong hazard features to historical losses and corrupt model training.
What variables should be removed before training an underwriting model?
Remove personally identifiable information (gender, age, ethnicity), credit or financial-risk proxies where prohibited or undesired, and any post-bind claims or endorsement fields that would leak future outcomes.