Cleaning insurance claims data for underwriting AI

Practical data cleaning steps for insurance claims data: rooftop geocoding, policy-claim joins, censored renewals, 1–6% class imbalance and feature hygiene.

By UrbanStat Growth · Updated November 2026

Legacy model (parallel run)Observed outcomes (blind test)Challenger model (out-of-time)
In short

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.

Fig 15.1 · Data preparationFour essential data cleaning steps for property insurance claims datasets
CLAIMS DATA PREPARATION · FOUR STEPS BEFORE TRAINING AN UNDERWRITING MODEL 01 Address & Geocode Normalize streets, remove PO boxes, match rooftop coordinates SPATIAL LINK 02 Policy-Claim Join Link multi-year exposures, earned years & deduplicated loss dates EXPOSURE UNIT 03 Censoring & Lag Handle switched policyholders & open reserves without label leakage CLEAN TARGET 04 Imbalance & Enrichment Join 300+ physical/hazard fields; validate on 1–6% claim bands OUT-OF-TIME LIFT
Clean coordinates, accurate earned exposure units, proper censoring treatment and non-PII enrichment must happen before any model is trained or evaluated.

Step-by-step data cleaning checklist for insurance analytics teams

Data cleaning stepCommon trap in raw insurance dataClean engineering practice
1. Standardize & geocode addressesPO boxes, typos, apartment suffixes and ZIP-centroid fallbacks stack unrelated policies on one pointNormalize physical risk locations to rooftop coordinates and log geocode match tiers.
2. Build policy-year exposure unitsCounting multi-year policies once or double-counting mid-term endorsements distorts frequencyNormalize every record by earned exposure (policy-years) and link claims strictly to the active term.
3. Handle open reserves & catastrophesUnsettled large claims understate severity; one rare hurricane overwhelms attritional patternsSeparate attritional losses from catastrophe events and cap/develop open reserves consistently.
4. Treat censored & churned policiesAssuming a policyholder who left after year 1 stayed claim-free creates false negativesExclude incomplete observation windows from target labels or use survival / multi-year windows.
5. Address 1–6% class imbalanceOptimizing raw accuracy yields a 96%-accurate model that catches zero claimsUse class weighting or calibrated loss-cost targets and validate with out-of-time score-band lift.
6. Strip PII & join external risk dataHistorical underwriting fields can leak bias; internal policy tables lack roof, fuel and climate contextRemove 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.

Next step

See it on your own portfolio.

Book a 30-minute walkthrough tailored to your portfolio and perils of interest.

Request a Demo →