Saturday, July 05, 2025

New Editorial: Generative AI and Urban Modeling

In the current issue of Environment and Planning B, we (Boyu WangNa Jiang and myself) have a new editorial entitled "Generative AI and Urban Modeling". The premise of this editorial is that Generative AI (GenAI) is impacting all aspects of our daily lives and as such has we were wondering how will it impact urban modeling? 

For example, in the editorial we discuss how  GenAI could speed up the overall urban modeling process. To demonstrate this we show how ChatGPT (and its built-in coding interface Canvas) can take published papers and build agent-based models from them (one being of an abstract space and another being spatially explicit). 

However, while model building is time consuming task, another challenge modelers face is how to incorporate decision making within them. To this end we also discuss how large language models (LLMs) have the potential to help with  agent-decision making in the form of generating  agent-personas or scheduling agent activities. 

We conclude the editorial with a series of questions: how will GenAI impact urban modeling? Will it open up the field to more people without the need for strong coding skills? Will we see growth in using LLMs for generating behavior? Will GenAI lead to a new generation of modeling toolkits? While these are only a short list of questions, they also raise concerns that relate back to some of the more thorny issues of urban modeling, that of verification and validation. 

If this sounds of interest you can read the full editorial here

Full Referece: 

Crooks, A.T., Jiang, N. and Wang, B. (2025), Generative AI and Urban Modeling, Environment and Planning B, 52(6), 1277-1281. (pdf)

Monday, June 30, 2025

CUPUM 2025

I have just gotten back from attending the 19th International Conference on Computational Urban Planning and Urban Management (CUPUM) in London and thought I would  share the two papers we presented at the conference. 

The first paper was with Qingqing Chen and Linda See and was entitled "Using New Sources of Data for Urban Climate Modeling Generated through MLLMs on Street View Imagery. "As the title might suggest, this paper was about how one can leverage multi-modal large language models (MLLMs) to extract information on building height, age and function from street level photographs. We demonstrate this using street view images from Mapillary and than ask ChatGPT to estimate the building height, age and function and compare the results to authoritative data sources. If this sounds of interest, below you can see the abstract to the paper, some if the figures (i.e., the work flow and prompts) while the results can be seen in the attached paper (see the link below).

Abstract:

Urban climate and energy balance models require data on the form and function of buildings, but high resolution spatially explicit data sets are often lacking. Here we demonstrate how multi-modal large language models (MLLMs) can be used to extract information on building height, age and function from street level photographs for New York City. A workflow is presented that illustrates the approach, with initial results indicating that the building function can be identified with good accuracy while moderate accuracies were obtained for building heights and age. Suggestions for how to improve these accuracies are also provided. 

KEYWORDS: Buildings, ChatGPT, Multi-modal Large Language Models (MLLMs), Mapillary, Street View Images (SVI).

An overview of research workflow.

The detailed description of multi-step prompting and an example of extracted building attributes information.

Full Reference:

Chen, Q., See, L. and Crooks, A.T. (2025), Using New Sources of Data for Urban Climate Modeling Generated through MLLMs on Street View Imagery. In Cramer-Greenbaum, S., Dennett, A., and Zhong, C (eds.), Proceedings of the 19th International Conference on Computational Urban Planning and Urban Management (CUPUM), London, UK. (pdf)




We then moved back to agent-based modeling with a paper with entitled "Enhancing Spatial Reasoning and Behavior in Urban ABMs with Large-Language Models and Geospatial Foundation Models" which brought back together Nick Malleson, Alison Heppenstall, Ed Manley and myself. In this paper we discuss the potential role of LLMs and geospatial foundation models in the context of agent-based modeling. If this sounds of interest, below you can read the abstract to the paper and find a link to it at the bottom of the post. Nick has also shared the slides of this presentation here

Abstract: 
Modeling human behavior continues to be a significant challenge for the field of agent-based modeling, and one that prohibits the development of comprehensive empirical ABMs for urban applications, such as Urban Digital Twins. However, two recent methodological advances offer the potential to transform empirical agent-based models.

Early evidence suggests that large-language models (LLMs) can be used to represent a wide range of human behaviors, with models responding in realistic ways to given prompts. Indeed there is already a flurry of activity that focusses on implementing LLM-backed agents -- i.e. agents who are controlled by LLMs. At the same time, the concept of the foundation model is also being applied in domains beyond text analysis. Of particular interest are geospatial foundation models that automatically encode spatial data in such a way as to associate different spatial objects in numerous and nuanced ways that have otherwise alluded manual classification schemes. Taken together, these two technologies offer considerable potential for a new generation of agent-based models that contain agents who can behave in response to spatial and social prompts in a way that is realistic and has so far proven impossible to replicate using manually-programmed behavioral rules.

This paper presents a discussion of the state of the art in both LLMs and geospatial foundation models in the context of their potential role in agent-based modelling. It discusses the transformational potential of these technologies and outlines the critical questions that need to be addressed before they can be used to create robust, reliable and trustworthy models for empirical policy applications that support decision-making.

KEYWORDS: Agent-based Modeling; Large language model; Geospatial foundation model; Urban Modeling.

Full Reference:

Malleson, N., Crooks, A.T., Heppenstall, A. and Manley, E. (2025), Enhancing Spatial Reasoning and Behavior in Urban ABMs with Large-Language Models and Geospatial Foundation Models. In Cramer-Greenbaum, S., Dennett, A., and Zhong, C (eds.), Proceedings of the 19th International Conference on Computational Urban Planning and Urban Management (CUPUM), London, UK. (pdf)

Saturday, June 21, 2025

Talks: ABM, AI and other Thoughts

This is a slightly different post to normal, in the sense its not really about papers but my take on agent-based modeling, urban analytics and the growth of Artificial Intelligence impacting both. 

First up, while I was in Santa Fe last October for the 2024 International Conference of the Computational Social Science Society of the Americas  I was interviewed by John Cordier from Epistemix for their Flux Podcast which resulted in this "From Micro-Behaviors to Macro-Patterns: Exploring Agent-Based Models with Andrew Crooks. Rather than me trying to sum it up I will just quote from the podcast episode 

"In this episode of The Flux, host John Cordier sits down with Andrew Crooks ..... They dive into the world of agent-based modeling (ABM) - what it is, why it matters, and how it helps us simulate and better understand human behavior in complex systems. From simulating traffic jams to modeling social influence on vaccine uptake, Andrew shares how data, geography, and synthetic populations are revolutionizing our ability to forecast and inform decisions. They also explore the growing role of AI tools in democratizing modeling, the evolution of computational capabilities, and even ask: what if we had run a simulation before Brexit?"

If this sounds of interest, you can listen to the full podcast here



Next up, I was asked to give a talk back in late May to give a seminar talk at the Department of Geography and Spatial Sciences (GSS) at the University at Delaware hosted by Yao Hu. The title of the talk was "Monitoring and Analyzing Cities through the Lens of Urban Analytics" In this talk I reflect what urban analytics means to me and how the field is changing. If this sounds of interest, below you can read the abstract to my talk and also see the recording. However, before ending this I would really like to thank Yao for hosting me, and the others from the GSS and the universty at large for making it a great visit and being an engaged audience. 


Abstract: 

For the first time in human history, more people are living in cities than rural areas and this trend is only expected to grow in the coming decades. This growth will place unprecedented challenges on cites with respect to sustainable development especially in light of climate change and increasing populations. One way to explore and understand cities is through the lens of urban analytics, a set of methods that allow us to monitor, analyze and model urban areas. This talk will explore how urban analytics has changed over time and showcase how our understanding of cities has benefited from it. I will showcase how new sources of data can be used to monitor and analyze cities and how in turn these can be integrated into models to explore various aspects of city life from pedestrian movement to urban growth. The talk will conclude with a discussion and demonstration of how artificial intelligence can be integrated into the urban analytics toolbox and what opportunities and challenges it poses.


Finally, at the start of May, I was invited to give one of the keynotes at the Inaugural AI and Cities: An International Forum for Innovation and Collaboration hosted by University of Florida entitled "Artificial intelligence and Urban Analytics: Opportunities and Challenges."  This talk is slightly different from the others as the focus was more on AI, so if you are wondering what my take on AI is (or my current research), you can read the abstract to the talk below and also find a link to the recording of it. 

Abstract: Urban areas now provide homes for more people than ever before, and with more and more people living in cities achieving sustainable cities is crucial for the betterment of all. Coinciding with the growth of the world’s population is the growth of artificial intelligence (AI) is which is becoming pervasive in all aspects of our daily lives. In this talk I will discuss how AI is offering us new opportunities when it come studying cities, specifically, through the lens of urban analytics. Urban analytics can be broadly defined a set of methods to explore, understand and predict the properties of cities. Through a series of examples, I will highlight how AI especially through the use of multimodal large language models (LLMs) is offering accessible methods for geographic information extraction and modeling of cities. I will showcase how AI can improve the granularity of urban data collection while at the same time provides more advanced GIS tools to practitioners in a more accessible and user-friendly way. However, AI alone is not the panacea when it comes to archiving urban sustainability and many challenges exist and the talk with conclude with these.

If the abstract sounds interesting click here to watch the talk.  Also the other keynotes talks are also available online here

Tuesday, May 13, 2025

Crowdsourcing dust storms utilizing social media data

In the past we have explored how social media can be used to delineate earthquakes, study human-wildlife interactions, understand urban morphology, urban smells or  locating wildfires among many other things. 

Keeping with the last topic (i.e., locating things), in a new paper published in GeoJournal entitled "Crowdsourcing dust storms in the United States utilizing social media data," Stuart EvansFestus Adegbola and myself explore how we can use X (formerly Twitter) and Flickr  to source observations of windblown dust. 

As such the paper demonstrates how social media data can act as supplementary source for dust events monitoring and captures the seasonal trends of such events. Furthermore, the paper highlights the potential of using crowdsourced data for the often overlooked field of dust monitoring that has substantial health and economic impacts. 

If this sounds of interest, below we provide the abstract to the paper along with some figures which showcase our methodology and comparison with National Weather Service dust advisories and VIIRS satellite data. At the bottom of the post, you can find the full reference to the paper along with a link to it. 

Abstract: 

Dust storms and other dust events are natural phenomena characterized by strong winds carrying large amounts of fine particles which have significant environmental and human impacts. However, capturing the occurrence of such phenomena is a challenge. Previous studies have limitations due to available data, especially regarding short-lived, intense dust storms and events that are not captured by observing stations and satellite instruments. In recent years, the advent of social media platforms has provided a unique opportunity to access vast amounts of crowdsourced data. This paper explores the utilization of Flickr and X (Twitter) data to study dust event occurrences within the United States and their correlation with National Weather Service (NWS) advisories. The work ascertains the reliability of using crowdsourced data as a supplementary source for dust events monitoring. Our analysis of Flickr and X indicates that the Southwest region is most susceptible to dust events, with Arizona leading in the highest number of occurrences. On the other hand, the Great Plains show a scarcity of crowdsourced data related to dust events, which can be attributed to the sparsely populated nature of the region. Furthermore, seasonal analysis reveals that dust events are prevalent during the Summer months followed by Spring. These results are consistent with previous traditional studies that did not use social media of dust occurrences in the U.S., and Flickr-identified images of dust events show substantial co-occurrence with regions of NWS dust warnings. This paper highlights the potential of using crowdsourced data for the often overlooked field of dust monitoring that has substantial health and economic impacts.
Keywords: Dust storms, Crowdsourcing, Social media, Weather. 

 

Flowchart of our workflow
Selected posts retrieved from X showing active dust events.

Selected images retrieved from Flickr showing active dust events.

Map showing the distribution of flickr-identified dust event occurrences, X-identified dust event occurrences, National Weather Service dust advisories, including dust storm (DS) warnings and blowing dust (DU) advisories.

Seasonal cycle of dust events using social media metadata, the National Weather Service advisories, and the VIIRS satellite data.

Examples of social media identified dust events and satellite observations for the same day. Brown shaded pixels indicate locations Suomi-VIIRS observed dust particles. Any VTEC warnings issued by NWS for the location are shown after the date of each dust event, with HWW and DSW indicating High Wind Warning and Dust Storm Warning, respectively.

Full Referece: 
Adegbola, F., Crooks, A.T. and Evans, S.M. (2025). Crowdsourcing dust storms in the United States utilizing social media data. GeoJournal, 90(3), pp.1-18. Available at https://doi.org/10.1007/s10708-025-11359-9 (pdf)

Tuesday, April 22, 2025

Mapping the Invisible

Readers might of noticed that recently we have been exploring the use of street view images to explore cities or how we can utilize geosocial media to understand the form of function of cities, but one thing we have not explored is the role of smell and how it shapes peoples perceptions of urban spaces. However, in a new paper recently published in the Annals of the American Association of Geographers with Qingqing Chen, Ate Poorthuis we do just that. The paper is entitled "Mapping the Invisible: Decoding Perceived Urban Smells Through Geosocial Media in New York City" In the paper we use text mining techniques to tease out smell related information from over 56 million geolocated tweets which are then assigned to specific small categories (e.g., nature, food, waste) resulting in a new smellscape map for New York city. 

If this sounds of interest, below you can read the abstract to our paper, see our workflow and resulting smellscape map. While the the analysis steps, along with the smell dictionary used, are documented in the research code compendium at  https://figshare.com/s/8418d47cdc5c539b78ab. Finally at the bottom of the page, you can find the full reference and a link to the paper. 

Abstract:

Smells can shape people’s perceptions of urban spaces, influencing how individuals relate themselves to the environment both physically and emotionally. Although the urban environment has long been conceived as a multisensory experience, research has mainly focused on the visual dimension, leaving smell largely understudied. This article aims to construct a flexible and efficient bottom-up framework for capturing and classifying perceived urban smells from individuals based on geosocial media data, thus, increasing our understanding of this relatively neglected sensory dimension in urban studies. We take New York City as a case study and decode perceived smells by teasing out specific smell-related indicator words through text mining techniques from a historical set of geosocial media data (i.e., Twitter/X). The data set consists of more than 56 million data points sent by more than 3.2 million users. The results demonstrate that this approach, which combines quantitative analysis with qualitative insights, can not only reveal “hidden” places with clear spatial smell patterns, but also capture elusive smells that might otherwise be overlooked. By making perceived smells measurable and visible, we can gain a more nuanced understanding of smellscapes and people’s sensory experiences within the urban environment. Overall, we hope our study opens up new possibilities for understanding urban spaces through an olfactory lens and, more broadly, multisensory urban experience research. 

Key Words: geosocial media, multisensory urban experiences, network analysis, New York City, smellscape, text mining, urban smells.

A framework of deriving perceived smells.

An overview of research workflow.

An overview of the six dominant overlapping smells across New York City using the weaving mapping method. The weaving map uses the concept of strands to represent attributes. Each strand here represents one specific smell category, with the intensity of the color changing based on the density of that smell category within each neighborhood (i.e., grid cells).

Full Reference: 

Chen, Q., Poorthuis A. and Crooks, A.T., (2025), Mapping the Invisible: Decoding Perceived Urban Smells through Geosocial Media in New York City, Annals of the American Association of Geographers. Available at https://doi.org/10.1080/24694452.2025.2485233. (pdf)