Transcript - Planetary Causal Inference Seminar at Yale Center for Geospatial Solutions
Jenn Marlon: All right, hi, I’m Jenn Marlon, I’m the Executive Director of the Yale Center for Geospatial Solutions. Thank you for coming, good afternoon. It’s my great honor to introduce Adel Daoud, who’s here with us. He is bringing a wealth of expertise and energy and insight to the intersection of computer science, environmental science and social science. And it’s that work at the sort of ecotone of these disciplines that really excited me about his work. I met him in Germany just a few months ago at a social science conference hosted by GESIS. I can’t tell you what that stands for. (Adel and students laughing)
But it was aimed at understanding how Earth observation data is used in social science. And so Adel’s work really is addressing, in fact, it’s really pushing frontiers in this area that kind of brings together foundational basic research with really important applied work, addressing today’s most pressing and complex problems, like poverty and development around the world. So I was really excited because he was coming to the United States from Sweden, and he was going to the wrong university. (Adel and students laughing) And we’re not gonna talk about that, I’ll just say it’s in Cambridge. But we were glad to have him come here. And I won’t hold that against you. And so yeah, so we’re happy to have him here today and a little bit of tomorrow. And he’s currently a senior associate professor at the Institute for Analytical Sociology at Linköping University in Sweden, with affiliations across leading institutions like Chalmers? -
Adel Daoud: Yeah, Chalmers. - Chalmers University of Technology and Harvard.
Jenn Marlon: His work spans social science, AI and global development. And his lab, the AI and Global Development Lab, exemplifies his commitment to interdisciplinary collaborative research. So he’s going to talk today about planetary causal inference, a field that he’s really helping to define as it advances. And so with that, I’ll stop talking and hand it over to Adele. (Adel and students laughing) Thank you.
Adel Daoud: Thank you so much, Jen, for that really nice introduction. It’s great to be here. We met end of November, so it was quite recent, and great to connect. I’m glad that it worked out so quickly. So I’m going to talk today about this idea, planetary causal inference. And it’s really more like a invitation to think about what would it mean to use remote sensing, Earth observations, particularly satellites, to think about cause and effect? And that’s sort of what we in social science tend to think about a lot, and in environmental sciences, likewise. So how can we leverage remote sensing, machine learning, domain expertise, to further that intersection that Jen started off with?
So what I’ll be talking about today is sort of some selection of chapters that we are writing a book together with Connor Jerzak that is just now hopefully this week going out to review soon, where we will be sort of visiting different domains in these application areas. So the book, gonna show you a little bit of that structure. I’d be very curious to hear your thoughts about how you would like it to be structured.
Towards the end, I should say, I’ll have a QR code where you can sign up for the newsletter. It’s a way just keeping track and we’ll be able to sort of communicate to you in terms of the book updates, code base, data, and just your ideas. There’s a forum there you can write your ideas in. And it’s a way of keeping communication going. So this is taken from, it’s the contents of the book. So the way the book is structured and it’s really hard to think about, how do you bring together such a large field of expertise in Earth observation, but not only that, in computer science, which is moving so fast? The paper from 2023 can feel so old, (laughing) you get a sense of how fast that field is moving. So how do you then bring, nonetheless, in that expertise into a book that is meant to stand the test of time?
So the way that we will be setting this up is in the form of ingredients and recipes. So it’s basically a cookbook, where the first part is set up in terms of going through the ingredients. So one of the critical ingredients is Earth observation data. What is it? And I should just say, this is really sort of coming from introducing it to the social scientists. So many of you here have worked with Earth observation data day one in undergrad school, right?
So for you, this chapter would then be less relevant, but nonetheless, we’ll hope that it would be relevant for you in terms of thinking about potentially say the causal differential part, where you might not have experienced that training say an econometrician or economists would get. So the idea is to sort of compose together these ingredients, Earth observation data, measurement of the sampling. Statistics is really important, as we talked over lunch, is this is ultimately about understanding the world, right? And understanding the world, you can either collect all the data that the world gives you, which would be impossible, it’s so much data.
So you have to sample, right? You sample because of necessity. And that’s what statistics offer you to think about measurement and sampling and uncertainty in your estimate. So hence there’ll be an ingredients about that. And then causality, obviously really important is that once you have conducted your measures about a couple of variables you care about, how do you think about cause and effect. Ideally you should think about causality day one, because you would quickly realize that you need to collect certain types of data to be able to conduct causal inferential conclusions. So then that will be another component.
And then obviously machine learning, computer vision, that many of you have experience in, that field, again, moves super quick. But it’s a way of introducing the basic components of how to think in terms of computer science. How would an algorithm see this data? How would you learn from that data in terms of the measurement setup? And lastly, which we don’t talk so much about it, it’s sort of a little boring topic perhaps, but hardware. I mean, really, ultimately, you’re going to be conditioned by what resources you have available to you in your university. Luckily, in Sweden, we have a national infrastructure compute.
So we can run big models, and the models that we run, the study that I’ll be showing you from Africa, we run it for the whole continent of Africa in a couple days. And that’s reasonable, it’s not a OLS model that you run in seconds, but it’s still a reasonable training time. And so how do you think about compute? How do you conceptualize it? It’s not going to go over the whole computing infrastructure, but it’s just giving you some heuristics to think about that, because a lot of the stuff that we wanna answer will be conditioned obviously by what you could run ultimately. So these are the ingredients. And then thinking about the recipes, so the idea is that you would take parts of these elements of ingredients, and then you could then, I don’t know how many of you played Exploding Kittens, the board game. Yeah, okay. So, no, no, okay, so, I mean, think about it as cooking, I think that’s easier. That’s the common denominator. (students laughing)
So the idea here is that you have recipes for remote surveying. So the idea is like it’s sort of playing with words a little bit, remote sensing, but it’s really surveying, that’s how we think about it. It’s a way of measuring through satellite imagery. And so we will have two chapters about that. One is about measuring the point estimates of interest, and that’s what I’ll be talking about in the mid-part of this talk of how you do that. And in a context like Africa, if you wanna measure poverty, how do you do that? So that’s Chapter 8.
And then nine will be sort of doing the same thing, but from a different angle. How do you use segmentation models to think about, if you care about the parts of the image representing perhaps a forest or a urban area and so on? So how do you then deploy that? There are obviously many different other types of models that you could work with, but again, it’s a recipe. So at the end you’ll see, we’ll be inviting you to think about your own recipes.
And so it will be hopefully creating some kind of a momentum, a community about what we can share, recipes, amongst each other so that we can learn faster together. So then comes a part about, the first, if you like, more causally inspired recipes, which we call recipes for planetary observational studies.
So now you’re not in an experimental setting, you have data that you haven’t been able to control the treatment assignments, but nonetheless, you might want to use some parts of the measurements that you’ve done previously. So say that you’ve run a recipe on aids, you’ve collected some measurements from poverty say, and then you want to couple that with, how do you then couple it with existing econometrical methods of difference-in-difference? How do you propagate the uncertainty perhaps that you’ve estimated from the first stage into the second stage?
So it will talk through some of these challenges, right? And another way to approach what images can provide is that you might not be doing measurements at all, but you might say that, “I have some tabular statistical data, geotemporal, but there is some lack there that images can fill for me.”
Could be that the image, so for example, in the setting where I work a lot, is that we think about the impact of World Bank development programs locally in Africa, built hospitals, they built roads, they’ve built water sewage systems, what’s the effect of that on poverty? So someone has looked at the map at some point in that location of the program, but we don’t have access to those maps, and they might not exist in tabular formats. So there might have been some important geographical feature that we missed in the tabular data. So then you could then arguably put forth an argument to say that we’re going to use images to proxy that map, right? It could be going back a year, 10 years, five years, or the whole video stream, if you like, of a sequence of cell imagery to adjust for other unobserved confounding so you can reduce the bias in your estimate. So that’s sort of Chapter 11.
And then there are new techniques, and relatively new techniques, I should say, synthetic control methods, that is sort of a mixture between difference-in-difference and matching approaches. And then lastly, but I would say almost as a methods developer, as I am and I’m sure many of you are, is that you would want to perhaps run some simulations to try out some ideas, right?
You might want to generate images, satellite images preferably, that correspond to some kind of a causal system that you have in mind. But so how would you experiment with say generative models to create those systems, right? So how do you set it up? So we have a paper, right now we are in the making, to think about generative models and image space to proxy some parts of the causal system, the outcome, the treatments, perhaps confounding. And so you can then start reasoning about some kind of a signal-to-noise ratio. So that’s Chapter 13 here. And then recipes for planetary experiments.
And here the idea is that you might be in a setting where you actually run an experiment, and you say, “What do I do with Earth observation data?” And it turns out that we can give you at least the five ways that you could use Earth observation data to further randomize control trial in the field. And so one of them is just to think about ways of block randomization. So block randomization, for those that don’t know, is that if you have villages that you wanna conduct an experiment on, you usually use tabular data to block randomize. You define the sort of principle strata in a way, where you would start picking units within that strata to reduce the variance and make the sampling a little bit more easy to run. Usually tabular data, as I said, is the way that you use it.
Could you use, we ask in this chapter, Earth observation data, image data, to further narrow down the blocking here of the units? Estimating effect heterogeneity. We have a paper that came out 2023, now an old paper in computer science, where you can look at heterogeneity, moderation and image space. So you have randomized, everything is fine in terms of confounding, but you want to, nonetheless, look at, perhaps there is some geographical feature that is not in my data, again, happened perhaps a decade ago or more, that would moderate the treatment effect. And so this chapter shows you how you could think about ways of deploying images to look at effect heterogeneity, right?
Auditing is basically did the randomization work well? So you can look at, you meant to randomize in a particular way, but maybe there was a bias that slipped in somehow in your randomization, you can control for that by looking at least within controlling meaning within the Earth observation stage. Do the images basically look random enough to give you information that the randomization work is has properly defined? Transportability and generalizability basically means that you have run experiments maybe in 100-something villages, but you want to know how that information would generalize to other parts of that country.
And so the way that you normally do this is, again, you use tabular data, but the way we were sort of playing around with an idea here is that you could use image data, and conditional on images, you could then extrapolate to other regions of that country, right? So again, it’s conditional on what images gives you. So it might be not a sufficient signal, but it’s, nonetheless, a way that you could deploy it, okay? And so evaluating long-term impact is basically you can say, “We ran the experiments, but now we would wanna follow up. So could we map the outcome of interest into the image space and then follow what happens with that outcome over time?” So that’s, roughly speaking, just to give you a taste of what the book will be about. And yeah, if there are any questions or thoughts, I’ll stop here, two, three minutes, and please reflect with me. Please.
Audience Member: Oh, hi, thank you for this introduction. And I’m very interested in how could you handle any other like intellectual property issues related with using the kind of data?
Adel Daoud: Intellectual property. So you mean like if the satellites themselves are somehow protected, or are you thinking about like maybe some part of the survey being privacy protected or?
Audience Member: Yeah, I’m interested because I thought you use a lot of large-scale datasets, so I’m curious about how to handle the data privacy and intellectual property issues related with that data use.
Adel Daoud: Yeah, yeah, and the slice that I’ll be coming into very soon, we use the Demographic Health Survey. So a lot of the research that we do in here is handling the Demographic Health Survey. In your case, it might be something different, right? But in that particular case, there is a privacy protection mechanism already applied, and so we run with that protection on, so to say. So we never run into the issue of having to protect our own data, if you see what I mean. That in fact injects measurements error. So we’ll be doing less good than what we could’ve done with that privacy protection off. In fact the meeting yesterday was with the UN Stats is to think about like ways of maybe collaborating so that we could run the models on their servers to be able to improve or at least investigate how much privacy protection sort of erodes our estimates. Thank you, thank you. Any other thoughts or reflections on the book? Something that you think it misses or you would really want to see, but it’s not there?
Audience Member: Can I ask about what kind of factual images? Related to generation.
Adel Daoud: Yeah, kind of, basically, so it’s really interesting the kind of factual stuff. So you could think about the way that we think about these generation of images is that we don’t necessarily think about them as kind of factual images. They could be under certain assumptions. I think kind of factual analysis is really interesting in a sort of Pearlian sense, that Judea Pearl worked. But you need to have very specific causal structure to be able to make kind of factual statements about the world. The way that we’re thinking about the image generation is basically a sort of a simulation setup where you could try out different causal setups. And I give you one example, so imagine that you have an idea that in the image there, the outcome should affect, I don’t know if there are any whiteboards I could use.
Well, okay, here we go. So how many causal graphs? Yes, a bit of a familiarity. So imagine that you have a treatment here. I don’t know if you can see it there in the back, but basically you have a treatment, and then you have some kind of an outcome. It might be some confounding here. And these are say measured in tabular world. And then you have an image, right? So the idea is that the outcome should imprint itself causally into the image. So what does that mean?
Well, it basically means that whatever the satellite captures should be informed at least by how the ground truth looks like, right? So this could be poverty, this could be a development project, it could be a resource where the project is basically located, so it’s co-located, there’s a bias of where they locate. So what I mean by generating images is that you would never see this causal structure in the real world, right? So you can’t really, you just assumption. What you could do if you had a simulation system that generates these tabular data and generates this image, you can now start playing around with, “How much signal must Y imprint into M to figure out ways of retrieving, training a model F that takes M, and then predicts Y-hat, with a certain level of accuracy?” Okay?
So this gives you a leverage to make an argument that’s my approach of how I deployed at least under these assumptions is informative, right? Otherwise, you have to always empirically start showing, you basically have to do the work, and then defend it. This gives you like a way of trying out some ideas, and before you deploy the full work, okay? And then you could have this in appendix. And if you’re in methods development, you really care about how the system behaves, sorry, how the system is generated because you want to study the behavior of the algorithm under some non-linearities, or some hidden confounding, or whatnot. So that’s what this paper is about. So it’s not about contractual image generation as such.
[Question]
Yeah, you could, yeah, you could. I mean, the idea is that you could make many different types of assumption. You might say, “Actually, what if the image is not only imprinting from what happens on the ground, but also the location of the project, how it manifests is also imprinting into the image, right?” So basically saying, “You can see poverty, but you can also see maybe road construction, right? And if they couple together, how would my algorithm react to the system if I’m actually only interested in measuring Y, but T is in there too, how do I separate out information about T? Because I don’t want T in the image, I really want only Y,” okay? Because you might want to separate out the measurement step. And this is basically informational leakage problems in certain setups. So you want to then be able to study this behavior under certain assumptions, okay? So that’s sort of the idea, gives you more leverage, more tools, okay?
Any other thoughts before I move on? All right, cool. So let’s get into the meat of the problem, but actually before that, I wanna mention a sister project that we’re working in. It’s another book, but it’s a more slow-moving process. It’s called “The Trinity of Statistical Learning.” It’s with my Stats colleagues, Professor Xiao-Li Meng, James Bailie and Kyla Chasalow, at Stats all three of them, where, I mean, it’s basically coming from this project that we’re leading, but we’re thinking more about statistics in this new age, right, of where you use Earth observations, you use other types of modalities where you’re faced with multi-resolution, multi-phase and multi-source problems. Essentially that you have multiple sources that you’re working with, statistics is basically in the old age, sorry, perhaps to the statisticians in the audience. (laughing) I see myself intellectually as statistical. But basically you think about a population that you’re interested in, you wanna design your sampling strategy, you go out and sample, you collect data, and you have a tabular nice format, so then you deduce some parameter of interest.
And obviously we know that we’re not in that age anymore. And so how do we then adapt to how do we adapt statistical inference or learning in general when we are dealing with multiple sources, multiple phases basically, people are doing different things in different steps, right? So I might measure why, here, I give you this Y-hat, and you might do something else with it, but you don’t know like what choices I made, what uncertainty went into this. And so how do we then create a science in multiple steps that are able to encode that uncertainty throughout the steps, right? That’s sort of what the multi-phase idea is. And so that’s hence why it’s called a trinity, it’s basically these three things that sort of comes back at us. So it’s based on a joint course that we are running, and that’s actually the course I’m going to present in this unnamed university next week. So if you want to join virtually as an auditor, just send me an email.
All right, so that’s that. Let’s get into remote measurement. Okay, so I’m particularly excited about this part of the project because it sort of is very tangible, right? I really love the causality stuff, but I tend to start with this just because it’s the most tangible way that we can think about how we can couple Earth observation, EO, here and machine learning, ML, methods to think about large-scale measurement problems, particularly in an environment in social science.
Okay, so if we start from where global development is, basically sustainable developments, broadly speaking, is that we know that humanity has made a large strides towards developing the living conditions of humans on this planet, but we also know that there’s huge amounts of inequality in terms of the various dimensions of living conditions that people require to live a decent life, okay? So if we think about the dimension of drinking water here, we have different levels, right?
So in the Western world, in the industrialized world, we are used to just going to the tap. There’s a water fountain here, I can just pull it up and I’m all good. In other places, you have to walk up to 30 minutes, maybe hours to acquire a safe well to gather water from. And the same goes for many other types of dimensions. So the question is, how do we think about the distribution of humanity at the planetary scale? And what pushes the living conditions up one step or multiple steps this ladder?
And obviously there’s this trade off of environmental aspects, that I’m not going to talk about in this talk particularly, but that is sort of another really important dimension in this problem. In this particular setup, what you need to understand the determinants of what drives development is obviously a lot of data, a lot of outcomes, what we call why, right? And however you define these whys, health, education, living standards, and what indicators that you use, you would need a lot of data. And the data-scarce places, like in Africa, we just don’t have sufficient amounts of geotemporal data to really study what is going on on the ground.
So what we are doing at the AI and Global Development Lab is sort of pursuing this vision of combining AI, Earth observation and social sciences to analyze the causes and consequences of global developments in a historical and a geospatial world. So just to give you a sense, I mean, many of you work in Earth observation, so I don’t really need to convince you, but if you look at one particular town, say Cape Town, South Africa, we start 1984, and we look at the visual patterns of what is happening in this city. We see the structured information for the human eye, visually, that there is definitely signal in the Earth observation data, right? Just qualitative looking at this, you see the developments of roads, neighborhoods, and so on and so forth. So I mean, this is Landsat, right? So it’s 30 meter square. You don’t see humans walking, you don’t see bicycles, you don’t see cars. There are limits to what this data can give you. But there’s definitely signal there.
And the hypothesis that we are asking is that, “How can we measure health and living conditions?” And how do we do that? Well, you need training data, these blue points, right? So you need satellites to sort of capture this information. So we have these blue points where we can train our algorithms. And then the idea is to extrapolate, interpolate, we wanna create these heat maps to the rhymes, but we also, not only do we wanna do this spatially, we wanna do this temporally, right? So we want to, then the idea here is to train on the blue points, again, temporally and spatially, and then extrapolate to the thread points. And once we can do that, we can then say, “In this particular region, the poverty estimate has increased or decreased with this certain amount,” okay? So that’s the intuition for what we’re going to do.
And just to hammer in the importance of time, why time is so important, if we take Cairo, for example, here in Egypt, you can see that if you would only look at the still image as cross-section, you don’t really capture what is going on here in left corner, which is that if you look at 1984, there’s basically nothing there 30 years ago, but then this neighborhood emerges from basically nowhere, okay? So that’s what time really gives us. And I don’t have to convince you, but I really wanna say that this is why temporality and spaciality together is critical.
And so once you have trained an algorithm, F, so we call this F just in general, could be any type of computer vision model, but what we want to do is that we, for example, in the case of Burundi, where there are no surveys, we can at least give it satellite images. And when we give it images, we are hoping that, again, the hypothesis is that we can generate these heat maps with a certain level of accuracy. And if we look at the case of Burundi, again, we’re doing this for the whole continent, but just to hammer in one particular case is that if you look at Burundi, you see that there are two surveys in Burundi, 10 and 17.
And so if you would do any kind of causal analysis, you’ll be stuck with these. And the the stuckness is even worse in the sense of that these are repeated cross-sections, you don’t know which households are actually doing what, right? So it’s just basically two surveys that you have. But with our data product, you can now really get at this space and time part that is really critical to any type of explanatory science.
Okay, so the data that we are using or we’ll be using in this analysis is Landsat. And as many of you know, there are different Landsat products. In our case, we start with Landsat 5. We’ll be starting in the '90s, and we start in the '90s mainly because that’s where we have training data. So DHS training data started in the early 1990s, yes.
So Landsat 5, we’ll be combining it with some Landsat 7 as well. And obviously you wanna avoid the scanline failure correction problem in Landsat 7, it turns out that even if you run it on Lance 7 with these line failures, you’ll do okay. Okay, but we wanna minimize noise. So what I’m going to show you here is really sort of the results that was published in this AI conference, the International Joint Conference for Artificial Intelligence is special track on AI for social good. And the DHS data that we’re using is from 36 countries, as I said, from the beginning of 1990s up to 2019, where we have about 60,000 primary sampling units. So again, I don’t know how many of you work with the DHS, just by the show of hands. Yeah, okay so this is a fairly un unfamiliar dataset. But essentially this dataset is commissioned by USAID.
So every country that receives aids from the US, but not for very long, given that we have a new administration. (students laughing) The DHS will be decommissioned perhaps as well. But the DHS, for that relationship, they have required for a long time that every country would undergo this sampling. It is a way of monitoring how well USAID money is being used. But the nice thing with these surveys is that, for about 30% of them, they come with GIS coordinates. So you can take the household survey. These surveys are pretty extensive. So there’s a surveying agent going and knocking on doors and have surveying templates, and they would ask you, “Do you have a television? Can I come in and see what kind of housing policy you have?” And they would collect a lot of asset information. And so that’s what we’re working with here.
And what you’re seeing on the map is the distribution of those primary sampling units. And each point is a aggregate of about 20 or 30 households of this International Wealth Index and material assets, which I will be showing you in one slide here exactly what that contains. Okay, so that’s the training data. And so the outcome itself, the ground truth, just to unpack that a little bit more, so what is this wealth index? So this wealth index is composed of several indicators.
These are the indicators that are in this index. And so what you do with this is that you have the slew of these household responses and then you run a PCA model on top of it to reduce it down to a sort of a one-dimensional measure to make it easier to handle. And so that’s what the International Wealth Index is, is it basically takes the PCA measure of the whole sample, and then you have a one-dimensional measure that ranges from zero to 100, where zero is the absolute poorest, 100 is the richest. But as I tend to say, it’s not Bill Gates rich, it’s really sort of upper-middle-class richness. So what does it mean to be on the scale numerically speaking? So if you take the responses, you go to a household and you get these exact responses that you have. And with a television, you get a 1273 index, you’ll be here somewhere in the poverty distribution. If you remove television, you’ll be bumped down to about four, okay?
So just to give you an intuition for what happens in this quite abstract index, in terms of numerical values, but as you see, it contains very sort of concrete descriptions of the household. Okay, so the satellite image data, we take the full available bands, including we add nightlight band, and we do that for the reason of that we know that nightlights data in development economics have been shown over and over again to be an important indicator of what happens on the ground. So this alone, if you would run this approach of just using nightlights information that you predicted in the same way that you would predict it as if you had the whole slew of information, you get a prediction rate of 0.5-ish and R squared, and the rest will come from these multispectral bands, okay?
And we’re using, I should say that, the median of cloud-free pixels, and we are aggregating the three-year image temporal window. So this aggregation I’m not fully happy with because it’s sort of a three-year reduction of the temporal variation. But nonetheless, it was based on replicating another study done by colleagues at Stanford. And so we wanted to follow their procedure more precisely in order to benchmark our model against theirs. But we are working on an improved version where it’s a one-year aggregation or potentially even no aggregation at all, but using the full available imagery within the year, or at least a sample of it, roughly speaking, 26 images per point that you would have because of the biweekly visiting time of Landsat, okay? So, and then we have for each point, for each DHS point, we have the full history of their imagery.
So we have a sample of a DHS say from 2010, you have one outcome. So remember, it’s only a repeated cross-section for that point, you only have one point, and it will exist here. But the image space, it gives you the full temporality. So for every point, if you imagine the dataset, is that you have this IWI outcome, but you have also the full image history of that point. Okay, so it’s sort of a little bit of disjointness between the measurement of the survey and the image space.
But again, the idea is to give the model as much of the image history that it has so it can learn as much as possible from these images. That’s the intuition. And so that’s why we use that setup. The benchmark, and again, this refers to another paper done by colleagues at Stanford, the 2020 paper, which uses what we call like a single-frame model. Basically, it doesn’t look at the history of images, it doesn’t have a temporal awareness, if you like, this algorithm, it basically takes all the images and all the data points, and sort of disregards time, if you like, and then just trains it on that dataset. What we do in the innovation, the algorithmic innovation, in this particular study, is that we add a temporal awareness.
We basically repeat the single frame 10 times, 10 times because 10 times three, you get 30. And the idea in the upcoming paper is to do it, you have 30 of these models and they connected through a recurrent layer here, a layer that enables the algorithm to, or the algorithms, if you like, to speak to each other in terms of what is going on temporally here, okay? So are we using a way that we connect this? And this is basically almost like a Lego brick. You can change it for different types of way of connecting the information. The one that we use is called LSTM, long short-term memory algorithm. Now you would use a transformer, which has proven to be very powerful in large language models and beyond. Okay, any questions or thoughts at this stage? Please do instruct me if you have questions. Yes.
Audience Member: How are the metrics you’re using for poverty determined? Is that just based on what’s most available, or are you considering what constitutes a good, generally culturally relative metric for wellbeing?
Adel Daoud: Yes, we’re using, I mean, in a way, we’re not even using a definition of poverty, in a way. We’re basically just using this wealth index that is used in the Demographic Health Survey and it’s a metric that is used within the UN and within the policy sort of area of this. The way that we sort of transition by thinking from that measure being a health and living condition measure to being poverty is that we think about where in the distribution you are in that metric, and we think about the lower 10%, 20% being the poorest. So if you are there, you’d be defined as poor, because that correlates highly with certain child health outcomes that are very detrimental for children.
So the one unfortunate thing in the DHS that’s there’s no income measure, so you can’t really easily translate to the $2-a-day metric that the World Bank use. But again, this comes from also a traditional poverty measurement that thinks about deprivation, more of a deprivation approach, meaning that, what do people actually have access to rather than how much do they have in their wallets, right? Which doesn’t really translate always to books and television and housing, yeah. Please.
Audience Member: I heard you mention the number 30, I wonder what is special about 30 ?
Adel Daoud: 30 years, exactly, yeah. And that’s after an explorer to data analysis, how does the DHS basically outcome, what’s the distribution of that? That’s sourced in the '90s. And so basically that gives you 30 years of data to train on. Yeah, yeah, that’s the idea. Please.
Audience Member: My apologies because I arrived late, so maybe you covered that. But I’m interested to learn a little bit of the infrastructure you have in your lab in terms of how much computing power, how many team members, maybe for one project, if you have too many. But just curious about the scale and how do you manage data?
Adel Daoud: Yeah, yeah, thank you. So my very last slides will be showing you the lab face on. - No, I can wait. - It’s really not a one-man show at all here. So I’m just representing the team. But just to answer that question, we’re about 10 individuals, roughly speaking, give and take, depending on how many master’s students comes in, during what time, and so on. And we’re sort of a hybrid lab where we’re scattered. Linkoping University, Chalmers is where we, so Linkoping are the social scientists mainly, the computer science is at Chalmers University, and then the statisticians at Harvard, and now one of our colleagues moved to University of Texas.
So he’s leading the causal inferential development University of Texas there. So yeah, if you’re interested in collaborating, always happy to talk. In terms of compute, we use the Swedish National Infrastructure for Computing. So they have sort of an internal application process where, I mean, these computers are, I mean, basically NVIDIA cards throughout. There’s a list of different cards that you could use, and you can just surf in now and look at what there are. And we use what is available at that time to make our waiting time less. So obviously when it’s public, you have to wait. If you have your own, it’s costly, but you can run more. But yeah, I think at that time we ran with the H100 cards, I believe. I’m a little unsure actually, 'cause I’ve been jumping a little bit depending on availability.
Audience Member: Is there a way to ensure that the variation of ready data like can map of like a certain relationship to the distribution of the property? So I’m just curious like maybe the segment of data does not have enough information to capture like extreme poverty or. - Yeah, so I’ll show you in a minute about exactly that. So maybe we can continue based on that question. So you’ll see there, I mean, what you will see is essentially where our approach is doing better and worse based on the ground-truth data, on held-out data.
Audience Member: And the second question is about. (faintly speaking)
Adel Daoud: Yes, so it’s a great question. So this is where you could definitely develop whatever metric you want to use, you could think about ways of adapting that to this setting. This you should perceive as sort of a, I mean, an example of, if you would use the IWI as a metric for your poverty, how well you can measure that now to pin it to also the underlying question about income as well.
There are early studies that use the LSMS is the World Bank surveying facilities, they have income. And so they estimated how well can you actually deploy this to measure income? And it turned out that the results were less interesting than you will see here, less impressive. But we don’t know if those results are because there were too little data to train on, they were trained long enough, or it was something else, if it’s a signal problem, because the LSMS is much less, much fewer surveys to run on. Yeah, yeah. So the limits of this approach is sort of yet to be determined. I think that’s sort of almost the holy grail right now in this field. So let’s talk about the results. So sort of pin it to your question more exactly.
So what you’re seeing here are basically three buckets of how we set up the training. So for some reason, my highlighter’s not working, it could be that, oh, I have to open up that software, we’ll just leave it at that. So what you’re seeing here are three buckets of results. These three buckets represent the way the algorithm was trained, the way that we created the test training split, okay? So let me just walk you through these, and then you see within them, you have different algorithms, basically different standards, so different ways of handling the data.
So the easiest to understand is out of country. So you have basically Africa, and then you split based on countries as clusters. So every DHS points, you have Africa as a square, and then, then you have countries you have DHS points. The way that out of country works is that it looks at countries as units that you think about test splitting, right? So you take out 30-something countries, you test on six. Then you redo that cross validation style and then you get these results on out of country. Out of time span is basically thinking about time.
So you have another layer here, another layer of time, more DHS points, and the way you split it is now just basically time splitting. And then out of area is basically just thinking about ignoring countries, ignoring, actually looking at time, but looking at, basically, if you like a cone that goes through time and space where you look at, so areas cannot overlap with each other, and so you would basically use an algorithm to find ways of like which are the least or most overlapping areas with each other, and you create the test split. This is important because the way that you train the algorithm, because we know that there’s a lot of geographical and temporal overlap, right? And for these machine learning models, the key here is to think about IID samples, right? They should be independent, but we know that time and space makes them dependent.
But still, like we have no clear like sort of a silver bullet for how to solve this dependence in terms of training. So this is what we do. What you see is that however you do this, and in terms of the 10 frame, so the 10 frame model basically uses the whole history of images to make this prediction. The five frame model takes from this 10 a random sample of five to predict these outcomes. And it’s just a way of saying, how much information does history actually provide? And throughout you see that the five and the 10 frame are pretty close to each other, but the 10 frame throughout outperforms the rest.
And if you just contemplate, meditate over these results, 0.75 for the time span, out of time span, I mean, they’re basically 0.73-ish say on average and R squared. So this is the whole sample. You take the test sample on that whole thing, you calculate R squared. If you meditate on this and you think about 0.73, one is perfect, zero is basically sample average, right? It’s actually quite amazing results, right? I mean, if you take any social science study and you wanna run a regression with tabular data, I mean, the best you can hope for if you are obsessed with R squared is some sort like 0.253 something, maybe four, (laughing) if you have highly dependent data, maybe 0.6 at best, I don’t know.
But these are quite amazing results. So you have to now, what we do here in the following slides, is to probe these results a little bit more critically. Like we ask, “Okay, so the sample average is pretty high, that’s great, but where are we doing best or worse in terms of error, okay?” So in terms of R squared again, sorry. But we will be looking at the error structure right after these. So you see that the R squared after 2000s is better overall.
So it’s basically averaging on that 0.7-ish R squared, but pre-1990, we get a 0.4, 0.6 R squared. And that’s partially due to that we have fewer training samples, but partially also because Landsat during that period, there’s a lot of missing this, and partially because of a privatization program that the Landsat went through. So a lot of images were not retained. So we end up with black images. So that’s the temporality. If you look at the by-country prediction. So now we aggregate to the country level and see how well are we doing within countries, you see that countries like South Africa and Egypt, we’re doing actually worse on than the rest, where we get a prediction about 0.3 R squared. And do you have any hypothesis for why that might be the case?
Audience Member: Because they’re not really receiving aid?
Adel Daoud: It turns out that the Egypt actually is the country that has most surveys, it’s about seven surveys, DHS surveys, and it’s a country that actually receives a lot of aid from the US.
Audience Member: Variation?
Adel Daoud: Yeah, so it’s actually because of the Nile, the population density. So most people, both rich and poor, live in a very dense close area. So the satellites, when they take an image, they can’t really discern rich and poor because the image looks basically the same. So that’s a working hypothesis of what’s going on in Egypt, for example. So you really need separation. So this calls also for why thinking about the image side is also so important, especially in dense areas.
And thinking about the predicted wealth to the observed wealth, we can start asking a little bit the question that you raised of where are we doing better? And we see that those IWI outcomes is basically, in terms of the error, is a little bit harder in certain regions up here actually. This is where we do a little better, in the mid and the tails. And that’s because I think our hypothesis here is, again, separability, it’s easier in a rural area to see exactly what’s going on, where you have this pinning of imagery.
Okay, so I have about seven minutes left, so I think I’ll speed up a little bit. But to continue the probing, but now we are looking at this from a qualitative perspective. We basically take the points that have the highest error, okay? So we’re looking at their residuals and then we look at their image history and we see that these points are actually points where not much is happening. It’s really no villages, no nothing. And this is most likely due to the privacy mechanism that these points have cast out about five kilometers at maximum, and they might end up in a desert or in a mountain, and so then the signal-to-noise ratio really is the distorted.
The area is where we see most improvements are places like these, Morocco, Namibia, where we clearly see there are human settlements and there is a lot of sort of activity on the ground that the signal-to-noise ratio is much higher, okay? So this is sort of confirming our hypothesis of centering an image size and whatnot that is critical.
All right, so if you now validate this, you aggregate to the country level, you take these estimates, you look at the Human Development Index, you see a pretty good correspondence. It’s not perfect with the Human Development Index conducted by the UN. This is just a validation exercise to see how well is it matching up, okay? So now you’re done, you have your algorithm, you trust it, with some caveats here and there, caveats. So what you do then is you extrapolate, you do like inference now, you basically have an algorithm, but you have all these images that are sitting there where you haven’t trained the algorithm that you can generalize to.
So you basically take the algorithm, you take all the images from the 1990s up to date, and then you get these predictions, you get these Y-hats. And we do this where there are human settlements, so we’re using human settlement maps as cookie cutters to basically segment so that we don’t predict an area where no people live. And so what we do here as well with these dataset, this temporal, you can do some simple exercises that what we do here to the right in this image is that you see we basically forecast, which of these communities will reach most likely the SDG goals of no poverty?
Basically setting the threshold at the lowest quantile, we ask which one will reach above that lowest level. And the red points are the points that will not reach the SDGs given their trajectory that we see temporally speaking, okay? So these are the areas where from a UN or policy perspective, either way, you need intervention, you need to intervene to speed up growth. And so yeah, this becomes a policy tool to figure out what to do. But the except is to figure out the causal effect side, right? So where do you intervene? You can take these estimates and also recalibrate them to get a population or continent-wide population estimates of what these red points mean, it’s about 142 million people not reaching the STGs by 2030.
Okay, so more work on this will be coming hopefully before the summer. And we’re also very interested to hear if you find these are interesting, working with 'em in various forms, what will be coming up soon is that we’ll do more outcomes, we’ll do this aggregated version of this data, we’ll do a better temporal resolution, as I mentioned. Also, a spatial resolution is very important here, so we’ll be improving that as well.
And also uncertainty quantification, which is a very important part of how uncertain is the model about these predictions so that you don’t get lured by just having a point estimate, right? So we have sort of a similarly inspired paper in India that is doing the same exercise, but here the problem is more how do you work with incompatible surveys? So the DHS was nice because it’s the same survey through time, everything is harmonized, but here is how do you think about if you have a census and the DHS, and then you wanna do something similar, how can you conceptualize this problem? So if you’re interested, take a look at that. There, I won’t be talking much about this paper here.
And as last time I presented, Jen, I had the causal part (laughing) hanging, and it’s only about two minutes left of this talk. But yes, maybe I’ll, what do you say, Jen, shall I stop here or do I? -
Yeah, so I wanted to take a couple of steps back, and you think about the book again. So you saw one recipe essentially, that was one recipe of doing remote measurements, and so that would be that chapter. But you think about the other chapters of the causal part, which is getting at it from a explanatory perspective. And so here we have a couple of papers doing exactly this. We have developed a AR package that helps you run some of these causal experiments. So take that for a spin.
What we are hoping, and Jenn, this might be a thing we can do maybe next year, or towards the end of the year, is that we can come up and do a workshop on some of this code base, that would be a way of doing more interactive test of how this is working, but also what you find interesting and how we can adapt this material to your interest. This was last-minute slides for Luke, who’s not here. Unfortunately, I think he had to stay home for family reasons. But some work that we’re working on with him and others just to highlight some of the collaborations also between the lab, and already is to think about, how do you think about geographical regression discontinuity design, improving that with the help of EO data? So the intuition here is really you have, I don’t know how many of you know regression discontinuity design.
Jenn Marlon: Megan has wrote about it. (laughing) -
Adel Daoud: Okay, cool. All right, very good, very good. So then you sort of understand the intuition is that the idea here is that you look at the border, border is sort of the important running variable. And oftentimes you probe this only using tabular data. The idea here, again, is that could you add Earth observation data to validate, is this border relevant at least if you look at it from the image space? So it adds another control. This is what this paper is about. Quickly and rapidly, I’ll give you an intuition for say that you ran that recipe of measurements and now you wanna use it for something like evaluating the World Bank and Chinese impact. But not only that, you want to also use images to add to the adjustment set, right? So again, you remember this unobserved confounding that might be lurking in these maps where Chinese developments, officials might say, “Yeah, we wanna locate here, but not there.”
And they have a map, but we don’t have access to it, so can images proxy these maps? That’s sort of the intuition behind that. So you’re doing two things, two recipes are playing out here simultaneously. And so the setup, very quickly, you have these development programs, they’re geographically located. So if you look at the website of adata.org, they have all these data openly available you can work with. And so what we are doing, just to give you a very quick intuition about this equation, is that you basically estimate the propensity model, this probability of a treatment, D, the probability of where Chinese program will be located conditioned not only on tabular data, X, but also on image data of that unit, okay? So it’s quite simple, but it’s still complicated because this image space is very large.
And how do you make sure to retain signal in this image? Do you just concatenate the pixels? Do you run an embedding on this image? Do you run a CNN? Like depending on the modeling structure, you might enhance or destroy the signal and the information. So this is where you have to sort of think about this F again, is that that is the way the image enters the equation and how that influences your analysis. And if you’re unsure, the idea is that you could then perhaps run a simulation first and figure out like, “How much signal must I have before I can sort of confidently run with this?” Okay, so this is just a variable setup, and this is the geographical distribution of these treatments. And here I’m just showing you an example of health projects.
So there are multiple types of projects that the World Bank and Chinese programs run, but these are the setups of the health programs. And so you might then ask, “Okay, so what are the interesting results? Where are we going?” Well, so these are the main results if you would break down World Bank, which are blue, and Chinese programs, which are red, by sector, which are these categories that you see here on the left. So the overall impression, which is interesting, and I should just say that the Y axis here is depicting the causal estimate, the causal effect estimation, the estimate.
And that’s an IWI scale. So if you’re going to walk through, for example, the health program, which is up in the second row, you see that Chinese program overall is doing better than the World Bank program in terms of IWI impact. And that effect is about 15-ish IWI points. So when there’s a program, on average, the idea is that it will affect IWI by 15 points. I showed these results to our Universität Göttingen Development Economics colleagues that actually develop this Chinese program data.
References
@article{daoud2024planetary,
title={Planetary Causal Inference: Understanding Society, Economy, and Environment through Satellite Images},
author={Daoud, Adel and Connor T. Jerzak},
journal={A Book Project},
year={2024},
volume={},
pages={},
publisher={}
}@article{fucheng2025optimizing,
title={Optimizing Multi-Scale Representations to Detect Effect Heterogeneity Using Earth Observation and Computer Vision: Applications to Two Anti-Poverty RCTs},
author={Fucheng, Warren Zhu and Connor T. Jerzak and Adel Daoud},
journal={Forthcoming in Proceedings of the Fourth Conference on Causal Learning and Reasoning (CLeaR), Proceedings of Machine Learning Research (PMLR)},
year={2025},
volume={},
pages={},
publisher={}
}[Video][>]
-
@article{jerzak2024effect,
title={Effect Heterogeneity with Earth Observation in Randomized Controlled Trials: Exploring the Role of Data, Model, and Evaluation Metric Choice},
author={Jerzak, Connor T. and Ritwik Vashistha and Adel Daoud},
journal={ArXiv Preprint},
year={2024},
volume={},
pages={},
publisher={}
}-
@article{jerzak2023image,
title={Image-based Treatment Effect Heterogeneity},
author={Jerzak, Connor T. and Fredrik Johansson and Adel Daoud},
journal={Proceedings of the Second Conference on Causal Learning and Reasoning (CLeaR), Proceedings of Machine Learning Research (PMLR)},
year={2023},
volume={213},
pages={531-552},
publisher={}
}-
@article{sakamoto2024scoping,
title={A Scoping Review of Earth Observation and Machine Learning for Causal Inference: Implications for the Geography of Poverty},
author={Sakamoto, Kazuki and Connor T. Jerzak and Adel Daoud},
journal={To appear in: Hall, Ola and Ibrahim Wahab (eds.), Geography of Poverty},
year={2024},
volume={},
pages={},
publisher={Edward Elgar Publishing (Cheltenham, UK)}
}-
@article{jerzak2023integrating,
title={Integrating Earth Observation Data into Causal Inference: Challenges and Opportunities},
author={Jerzak, Connor T. and Fredrik Johansson and Adel Daoud},
journal={ArXiv Preprint},
year={2023},
volume={},
pages={},
publisher={}
}-
@article{jerzak2023causalimages,
title={CausalImages: An R Package for Causal Inference with Earth Observation, Bio-medical, and Social Science Images},
author={Jerzak, Connor T. and Adel Daoud},
journal={ArXiv Preprint},
year={2023},
volume={},
pages={},
publisher={}
}