SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking

summary

Video file (mp4)

The gist

the scarcity of annotated data and inherent data quality issues, specifically high spectral ambiguity between formal and informal structures and significant annotation noise.

In short

The episode reviews SLUM-i, a semi-supervised learning method for urban mapping of informal settlements using satellite imagery. The team developed two fixes—a DINOv2 filter and Class-Aware Adaptive Thresholding—to overcome class imbalance and covariate shift in pseudo-labeling. Results showed substantial performance gains across seven cities, proving the method is most valuable where data quality is low.

Key concepts

Semi-supervised Learning
This approach trains a machine learning model using a small amount of labeled data and a large amount of unlabeled data. The goal is to use the unlabeled images to improve the model's performance on the task, which is useful when obtaining expert labels is slow or expensive.
Pseudo-labeling
This technique involves training a model on labeled data and then using that trained model to predict labels for unlabeled images. Predictions with high confidence are treated as ground truth and added back into the training set, allowing the model to learn from more data.
Covariate Shift
This occurs when the unlabeled images used for training are different from the labeled data. For example, if a model is trained on images of one type of environment but then tested on completely different environments, the resulting pseudo-labels will be inaccurate and contaminate the training process.
Class-Aware Adaptive Thresholding (CAAT)
This is a dynamic thresholding method that replaces a fixed confidence level for accepting pseudo-labels. Instead of using one fixed number, it adjusts the acceptance threshold differently for each class, lowering it automatically for minority classes like slums when the model's confidence in those specific classes is low.

Terminology used across episodes

This episode discusses

The paper

SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking · Read on arXiv

Muhammad Taha Mukhtar, Syed Musa Ali Kazmi, Khola Naseem, Muhammad Ali Chattha, Andreas Dengel, Sheraz Ahmed, Muhammad Naseer Bajwa, Muhammad Imran Malik

National University of Sciences and Technology · German Research Center for Artificial Intelligence

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Next we'll be talking about the paper "SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking".

Jane: The paper was written by Muhammad Taha Mukhtar, Syed Musa Ali Kazmi, Khola Naseem, Muhammad Ali Chattha, Andreas Dengel et al. from National University of Sciences and Technology and German Research Center for Artificial Intelligence.

Tom: Stay tuned as we take you through the paper and discuss its implications.

Jane: We also have Lu with us today — senior AI researcher at Tsinghua.

Tom: We also have Meng with us today — lead engineer at a mysterious AI startup.

Jane: We also have Lalam with us today — the in-house Large Language Model.

Tom: Alright, let's get started.

Title: Tom: Welcome back to the arXiv Review Hour, everyone! I'm Tom, and as always, I'm here with my brilliant co-host, Jane. Jane, we have a paper today that really caught my eye — it's called "SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking."

Jane: Tom, this one is genuinely exciting. And the title alone tells you a lot. We're talking about using satellite imagery and machine learning to map informal settlements — slums — in cities across the developing world. The team is from NUST in Pakistan and DFKI in Germany, and they've built a whole benchmark dataset for this.

Tom: And the name — SLUM-i — I love that. It's a play on "slum" and "semi-supervised learning," but it also sounds like "salami," which is oddly fitting because they're slicing up cities into tiles to analyze them.

Jane: Ha! I hadn't thought of that. But you're right, they do slice things up. They're working with five hundred twelve by five hundred twelve pixel tiles of satellite imagery, and for each tile, they're trying to label every single pixel as either "informal settlement" or "everything else." That's the segmentation task at the heart of this paper.

Tom: And why does that matter? Because in cities like Lahore, Karachi, and Mumbai, millions of people live in informal settlements, but governments often don't have accurate maps of where those settlements actually are. Without maps, you can't deliver services, you can't plan infrastructure, you can't track changes over time.

Jane: Exactly. And the traditional way to get this data is to send surveyors out into the field, which is slow, expensive, and often politically complicated. Satellite imagery is cheap and always available, but the challenge is teaching a computer to recognize a slum from space.

Tom: And that's harder than it sounds, right? Because a slum doesn't look like a forest or a lake. It looks like a dense urban area — which is exactly what a formal neighborhood also looks like.

Jane: That's the crux of it. The paper actually shows side-by-side images of a verified informal settlement in Lahore and a planned formal development, and honestly, to my eye, they look remarkably similar. Dense buildings, narrow streets, similar roof colors. The visual distinction is subtle, which is why this is a genuinely hard computer vision problem.

Tom: So the authors had to do something clever. They built a dataset from scratch for Lahore, using official government records from the Katchi Abadis Directorate — that's the informal settlements directorate — and then had human annotators carefully trace the boundaries of two hundred sixty-six settlements using high-resolution Google Earth imagery.

Jane: And they didn't stop there. They also pulled together companion datasets for Karachi and Mumbai, plus four more cities from earlier research — two in Sudan, one in Nairobi, one in Medellín. So the final benchmark spans seven cities across three continents, roughly nine hundred square kilometers of urban area.

Tom: Seven cities, three continents — that's a serious benchmark. And they didn't just throw the data together. They did a systematic analysis of each city's complexity: how intricate the settlement boundaries are, how much the imagery from different cities diverges, how noisy the annotations are, and how imbalanced the classes are.

Jane: And that complexity analysis is going to be really important for the rest of the conversation, because it turns out those factors predict how well different machine learning methods perform. But before we get into the methods — Tom, what struck me most is the scale of the problem they're addressing.

Tom: Yeah, the UN estimates that over a billion people live in informal settlements, and that number is only going to grow as cities expand. This paper is trying to give researchers and policymakers a reliable tool to see where those settlements are, how big they are, and how they're changing.

Jane: And that's the hook for our next segment — because having the data is one thing, but actually getting a computer to learn from it is another challenge entirely. Stick around, we're just getting started.

Summary: Tom: Welcome back to the arXiv Review Hour. We're talking about "SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking," and Jane, we just covered the dataset. Now let's talk about the actual problem they're trying to solve.

Jane: Right. So here's the situation: they have all these satellite images, but only a tiny fraction of them have human-verified labels. In the real world, getting experts to annotate thousands of images is expensive and slow. So the question is — can you train a good model using only a small amount of labeled data plus a large pile of unlabeled images?

Tom: That's the classic semi-supervised learning setup. And the standard approach is something called pseudo-labeling. You train a model on your labeled data, then you use that model to make predictions on the unlabeled images. Where the model is very confident, you treat those predictions as if they were ground truth and add them to your training set. Then you repeat.

Jane: And that works pretty well for general computer vision tasks. But this paper found that it breaks down for slum detection, and they identified two specific reasons why.

Tom: Let's hear them.

Jane: First, the class imbalance problem. In most of these cities, the slum pixels are a tiny minority — maybe ten or twenty percent of the total. And the standard pseudo-labeling approach uses a fixed confidence threshold, usually ninety-five percent. The model only accepts a pseudo-label if it's at least ninety-five percent sure. But when a class is rare, the model tends to be less confident about it, so those slum pixels get rejected. The model ends up learning to predict "background" almost everywhere, and the slum class gets suppressed entirely.

Tom: So the model gets good at saying "not a slum" and terrible at saying "slum." That's a real problem.

Jane: Exactly. And the second issue is what they call covariate shift. The unlabeled pool — the pile of images the model is supposed to learn from — inevitably contains tiles that are just different from the labeled data. Maybe they're mostly empty land, or dense forest, or a highway interchange. The model tries to generate pseudo-labels for those tiles, but they're out of distribution, so the labels are garbage, and the garbage contaminates the training.

Tom: So what did the authors do about it? This is where it gets interesting.

Jane: They proposed two fixes, and they're both elegant. The first is a filtering step that happens before training even begins. They use a frozen DINOv2 model — that's a self-supervised vision transformer that's been trained on massive amounts of images — to embed every tile into a vector space. Then they compute the average embedding of the labeled tiles, and for each unlabeled tile, they measure how similar it is to that average. They keep the top eighty percent most similar tiles and discard the rest.

Tom: So they're using the labeled data as a reference point to curate the unlabeled pool. If a tile looks nothing like the labeled tiles, it's probably not relevant, so they throw it out.

Jane: Precisely. And the second fix is called Class-Aware Adaptive Thresholding — CAAT for short. Instead of a fixed ninety-five percent threshold, the threshold adapts per class. The model tracks a moving average of its confidence for each class, and if the slum class is consistently getting lower confidence, the threshold for that class gets lowered automatically.

Tom: So the slum pixels don't get rejected just because the model is generally less confident about them.

Jane: Right. The threshold is still capped at ninety-five percent, but it can drop as low as needed for the minority class. It's a dynamic curriculum — early in training, the model accepts lower-confidence slum pseudo-labels, and as it gets better, the threshold rises.

Tom: And the results? We've got numbers from the paper — they tested this across all seven cities, with three different label budgets — ten twenty and thirty percent labeled data — and they repeated everything over five random seeds.

Jane: The gains are substantial. In Medellín, at the ten percent label budget, they got a five point nine percentage point improvement in mIoU over the state-of-the-art UniMatch baseline. In El Daein, three point six points. And in several cities, at the thirty percent budget, their semi-supervised model actually beat the fully supervised model that had access to one hundred percent of the labels.

Tom: That's remarkable. Using less data to beat a model that had all the data. That's the kind of result that makes people sit up and take notice.

Jane: And it tells you something important — that the unlabeled data, when curated properly, carries real signal. But we haven't even talked about how they integrated this into modern transformer-based architectures. That's coming up in the next segment.

Improvements: Tom: We're back with "SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking," and Jane, we've covered the dataset and the two core ideas. Now I want to dig into how these improvements actually play out in practice — and I've got Lu and Meng joining us for this one.

Jane: Welcome, both of you! Lu, you're our AI researcher — what struck you about the way they integrated these components?

Lu: Thanks, Jane. What impressed me is that they didn't just bolt these ideas onto one architecture. They tested their components on two completely different backbones. The first is a classic ResNet-one hundred one with a DeepLabV3+ decoder — that's the workhorse of semantic segmentation. The second is a modern DINOv2 transformer with a DPT decoder — that's the kind of foundation model architecture that's all the rage right now.

Meng: And that matters for practical reasons, right? Because if your fix only works on one specific model, it's not really a fix — it's a hack.

Lu: Exactly, Meng. And the results show the components transfer cleanly. The DINO filter and CAAT both improve performance on the transformer pipeline too. They got the best results in five out of seven cities at the twenty and thirty percent label budgets with the DINOv2 backbone. That tells me these are addressing fundamental problems in the pseudo-labeling process, not just quirks of a particular network.

Meng: I want to push on the engineering side, though. The DINO filter — you're running a frozen DINOv2 model over every unlabeled tile to compute embeddings. That's a real computational cost. Did they talk about that overhead?

Jane: They did address it, actually. They don't do exhaustive pairwise comparisons between every unlabeled tile and every labeled tile. Instead, they compute a single prototype embedding — the average of all labeled tile embeddings — and then measure cosine similarity to that one vector. So it's a single pass over the unlabeled pool, which is cheap relative to training the segmentation model itself.

Meng: That's smart. And the CAAT mechanism — that's just a few moving averages and a comparison operation per pixel. That's essentially free. So the inference-time cost is zero — the model runs exactly the same at deployment.

Tom: And that's the kind of thing our listeners care about — can you actually use this in the real world?

Lu: Yes, and I think the bigger story is what happens when you look at which cities benefit most. The paper does this beautiful complexity analysis — they measure boundary complexity, annotation noise, domain shift between cities. And the cities with the worst annotation quality and the highest domain shift — El Daein, El Geneina, Medellín — those are exactly where the semi-supervised gains are largest.

Meng: So the method is most valuable where the data is messiest. That's actually the real-world scenario. If you had clean, perfectly annotated data, you wouldn't need semi-supervised learning in the first place.

Jane: And that's the key insight. But there's a flip side too — in Lahore, where the annotations came from official government records and are very high quality, the semi-supervised methods barely beat the supervised baseline. The unlabeled data just doesn't add much when the labels are already great.

Tom: So the value proposition depends on the data quality. That's a nuanced finding.

Lu: It is. And it's actually a really useful diagnostic for practitioners. If you're starting a mapping project in a new city, you can run their complexity analysis first — measure boundary displacement, domain shift — and get a sense of whether semi-supervised learning will help you or whether you should just invest in more annotations.

Meng: And that's the kind of practical guidance that papers often skip. They just report numbers on benchmark datasets and leave you to figure out whether it applies to your problem.

Jane: Right. And speaking of practical guidance — the authors released all their code, all their dataset splits, and all their analysis scripts publicly. Anyone can reproduce their experiments or apply the framework to a new city.

Tom: That's huge for the community. But before we wrap up, I want to bring in Lalam — our in-house language model — to talk about the broader implications. Lalam, what does this mean for the world beyond computer vision?

Conclusion: Tom: We're in the final stretch of our discussion on "SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking," and I want to bring in Lalam to help us zoom out.

Lalam: Thank you, Tom. I've been listening to the whole conversation, and what strikes me is that this paper is really about making the invisible visible. Informal settlements are home to over a billion people, yet they're often absent from official maps. That absence has real consequences — it means no formal address, no reliable access to services, no recognition in urban planning.

Jane: And this paper gives us a tool to change that. Not just for one city, but across continents. The benchmark spans Pakistan, India, Sudan, Kenya, and Colombia — and the method works across all of them.

Lalam: Exactly, Jane. And I think the cultural dimension is worth emphasizing. When we map informal settlements, we're not just drawing polygons on satellite images. We're creating a shared reference point for policymakers, researchers, and communities themselves. A map can be a tool for advocacy — it can show that a settlement exists, that it has boundaries, that it deserves services and legal recognition.

Meng: That's a powerful framing. But I want to keep one foot on the ground. The paper has limitations — they acknowledge that two of their test sets are very small. N. Nairobi has only one hundred eleven tiles, Medellín has just thirty-five. The results for those cities should be read with caution.

Lu: And they also note that the fixed eighty percent retention threshold for the DINO filter might not be optimal for every city. An adaptive threshold could squeeze out more performance. But that's future work, not a flaw in the current results.

Tom: So what's the bottom line for our listeners? If you're working on urban mapping, or remote sensing, or semi-supervised learning — what should you take away from this paper?

Jane: I'd say three things. First, the dataset is a gift to the community — seven cities, carefully characterized, with public code and splits. Second, the two proposed components — the DINO filter and CAAT — are simple, modular, and architecture-agnostic. They solve real problems that were holding back pseudo-labeling in imbalanced, noisy settings. And third, the complexity analysis gives you a way to predict when semi-supervised learning will actually help you.

Lalam: And I'd add a fourth: this is a reminder that the most impactful applications of AI are often in domains we don't think about every day. Mapping informal settlements isn't flashy, but it touches the lives of a billion people. That's the kind of work that matters.

Tom: Beautifully said, Lalam. And with that, we're going to say goodbye to "SLUM-i: Semi-supervised Learning for Urban Mapping of Informal Settlements and Data Quality Benchmarking." It's been a fantastic paper — rigorous, practical, and socially meaningful. We'll be back next episode with a new paper, but until then, keep your eyes on the sky and your models well-calibrated.

Jane: Thanks for listening, everyone. See you next time.

More episodes

← Home