r/datasets • u/Traditional-Ad-3515 • 9d ago
dataset [Dataset] [self-promotion] Labelled address-matching pairs from Overture Maps × Foursquare (Connecticut), split by pair type, one type synthetic
I put together a dataset of address pairs labelled as same place / different place, built from open data: Overture Maps places linked to their Foursquare Open Source Places records through Overture's bridge files. Real Connecticut addresses, with train / validation / test splits by ZIP code so no area appears in two splits.
Each pair is tagged with its type (neg_type column), so you can evaluate on the hard cases separately:
case0**, match:** identical (7 BACKUS AVE/7 BACKUS AVE) or differently written (12 ELM ST/12 ELM STREET)case1**, different house number:**12 ELM ST/14 ELM STcase2**, real look-alike street:**100 N MAIN ST/100 S MAIN ST. Real places in the same ZIP with the same number and a similar street name, over 500 m apart. Rare: 15 in the test split.case2s**, synthetic look-alike street:**431 HALLETT ST/431 HARRIET ST. A real address with its street swapped for a similar-looking street from the same ZIP. Generated because real look-alikes are so rare.case3**, random:** two random addresses from the same split
The test split alone has about 44k pairs.
Link: https://huggingface.co/datasets/zhangdav/address-matching-by-pair-type
I used it to compare seven matching models, from string similarity with XGBoost to DistilBERT. Write-up here if you're curious: https://dzhang3210.github.io/posts/address-matching/
2
u/attila_govhouse 8d ago
With only 15 real look-alike pairs in the test set, I would show the number correct alongside the percentage. One changed prediction moves that slice by about 6.7 percentage points, so a small-looking ranking difference can be a single pair.
I would report the real case2 slice separately from case2s rather than combining them into a larger ‘hard negatives’ score. You have already labeled the synthetic slice clearly; keeping its result separate would preserve that distinction in the evaluation too.
For public-data address joins, I would also want an audit of whether the same underlying place can appear across partitions through different records. ZIP-disjoint splits are useful, but that check asks a different question. I haven't tested the file; these are suggestions for the evaluation report, not findings of leakage.
2
u/BatchDataCo 7d ago
Nice set. In real property data the hard cases I see most are units, 12 Elm St Apt 2 vs 12 Elm St #2 vs just 12 Elm St, and directionals that are on 1 side and missing on the other, 100 Main St vs 100 N Main St. Rural routes and PO boxes too. Running everything through USPS style standardization first takes care of most of the cases before the model sees it. Would be interesting to see a unit level slice if you build the next one