India Slum Mapper: slum segmentation from Sentinel-2 and Open Buildings

Trained models and code behind the Colab notebook India_Slum_Mapper.ipynb in this repository. They map likely slum areas at 10 m from free data: a Sentinel-2 L2A dry-season median (10 bands) and Google Open Buildings 2.5D Temporal (building presence, height and count).

Models

All were trained on official slum maps of Mumbai, Hyderabad, Chennai, Bengaluru, Madurai and Coimbatore, in a leave-one-city-out design: <model>_no_<city> was trained on the other five.

Files Model
runs/loco/moe_no_<city>/best.pt U-Net (ResNet-34) with four expert adapters per encoder stage and a router
runs/loco/unet_no_<city>/best.pt Plain U-Net (ResNet-34)
runs/loco_adapt/rule_no_<city>.pt Building-density rule: logistic model on 9 ร— 9 neighbourhood means of the building layers

Each checkpoint holds state_dict and the training config; build the network with slumnet.model.build_model(config). Inputs must be standardised per area (mean and standard deviation of each band), as in slum_mapper/pipeline.py.

Accuracy on the city left out (pixel F1)

City left out Mumbai Hyderabad Chennai Bengaluru Madurai Coimbatore Mean
Experts model, no adaptation 0.68 0.16 0.18 0.27 0.03 0.35 0.28
Building-density rule 0.74 0.28 0.16 0.24 0.20 0.42 0.34

Limitations and responsible use

  • Predictions at 10 m miss pockets smaller than about 0.5 ha and usually under-estimate slum area in cities unlike the training cities.
  • The reference maps follow each city's own slum definition (notified, recognised or identified slums), so "slum" here means what those maps record.
  • Slum maps can be used to target services, but also for evictions. Please don't upload the predicted polygons to OpenStreetMap or use them for enforcement; prefer aggregated outputs (ward totals, a 100 m grid) when sharing, and validate with residents' organisations and local bodies.

Citation

Manuscript under review.

Downloads last month
35
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support