Remember in Interstellar how crops were failing everywhere on Earth, with dust storms and droughts making farming nearly impossible? While the rest of this movie is science fiction, climate change is turning that agricultural crisis into reality. Over seven hundred million people suffer from hunger today, and this number continues to rise as climate change reduces both food quality and quantity. Drought stress is one of the most pressing threats to agriculture, especially in low-and middle-income countries (LMICs), where it is the leading environmental cause of crop failure.
Measuring the effects of drought stress on plants can help us face this situation. For example, farmers can optimise crop watering by measuring how much water they need. Researchers can also use these measurements to evaluate which crop varieties show better drought resistance or what management practices can help plants fare better with less water. However, precisely measuring drought stress is often a complicated process that requires expensive, specialised equipment, expertise, and time. Researchers and farmers alike need efficient and affordable new tools to tackle this challenge.
Seeing Plants with AI
The rapid advancement of AI in recent years has brought innovative solutions in many fields, including digital agriculture. For instance, chatbots like Darli AI are now being deployed to help farmers learn about regenerative farming. Meanwhile, companies such as SenzAgro use Internet of Things (IoT) sensors to monitor environmental conditions and help farmers make informed decisions. AI also excels in image-related tasks, with new models capable of detecting subtle patterns and automatically measuring or comparing a wide range of parameters, making them ideal for agricultural applications. These techniques are particularly exciting when considering affordable research, as mobile phone cameras are widely accessible to people in almost every country.
For example, detecting diseases from plant images is now a vibrant area of research for many species. However, image-based drought detection has mostly relied on expensive methods and approaches that are not always scalable for smallholder farms, such as drone and satellite pictures or hyperspectral images.
How Do You Measure Drought Stress in Plant Pictures?
As drought detection still lacks a fast, simple, and cost-efficient tool, my postdoctoral research has focused on using AI to create a tool to detect drought stress from standard images. To achieve this, I have been using a technique called supervised machine learning. This involves training an algorithm with plant pictures taken at various stages of drought, each paired with a label that quantifies stress levels. This project involved four key challenges:
- Building a dataset: The algorithm must be trained with a dataset of images and labels. For that, I collected a dataset with plant images and precise drought stress markers that reflect a plant’s internal status (eco-physiological markers).
- Defining drought stress labels: Drought stress is a continuum that requires numerical values to be estimated. However, it cannot be measured with a single instrument, and there are no established classes of drought stress using eco-physiological markers that can be used as labels. Therefore, the labelling process must integrate multiple eco-physiological markers into an objective label that accurately represents plant status.
- Training AI with limited data: Most machine learning models require thousands of images, but this project works with a much smaller dataset—just a few hundred images. Thus, I am using specialised AI strategies designed for low-data environments.
- Ensuring explainability: AI decisions should not be a black box. To build trust in the model’s predictions, I need to develop a way to highlight which parts of an image the algorithm relies on when assessing drought stress.

Machine Learning Drought Detection
The first step in developing an AI-powered drought detection tool was to build a dataset of plant images paired with eco-physiological markers. I grew plants under controlled conditions, then withheld water and took measurements throughout the drying process. During this process, I captured images of the plants along with key drought response indicators, such as relative water content in leaves and gene expression levels. I then used these physiological measurements to create objective drought stress categories to serve as training labels; this was done through HDBSCAN, a clustering algorithm that can group points objectively based on how far they are from each other when looking at their values for a range of parameters—in this case, physiological measurements. This approach resulted in stress classes ranging from low to high drought stress, each associated with mean values of physiological parameters. These labels were then used to train a supervised machine learning model, such as a convolutional neural network, which learns to recognise drought stress levels from images alone. To address the challenge of limited data for this approach, I implemented two key strategies:
- Data augmentation: I artificially increased the number of training images without altering their content by applying simple transformations to the pictures, like horizontal and vertical flips, while keeping their label. This expands the training dataset by the number of transformations applied and allows the model to generalise better.
- Transfer learning: I used a pre-trained model instead of training one from scratch. This means I only trained the last layers of a model already trained to classify images in a different domain. This technique significantly decreases both training time and the amount of data required.
Finally, I ensured that the model makes decisions based on meaningful features rather than irrelevant visual cues by highlighting which parts of an image contribute most to the algorithm’s prediction in a visualisation technique called saliency maps.
A Deeper, Rigorous Study of Drought
This project has provided an opportunity to create an original, valuable dataset that bridges a critical gap in drought research. Most studies focus either on eco-physiological markers or on imaging-based morphological traits, rarely integrating both into a single dataset. Additionally, many assume a uniform drying rate for all plants—an unrealistic simplification. Instead, I measured environmental variability—soil moisture—and plant responses over time, grounding the dataset in real-world conditions. As such, the dataset could yield insights beyond the original project scope and will be an asset to the community once published.
This project has already expanded our understanding of drought stress. The original clustering approach helped establish unbiased stress levels with associated eco-physiological marker levels. These findings could inform future studies and help compare results from different drought types and intensities.
A Project Turned Towards the Future
My new project aims to develop a user-friendly online platform where users can simply upload photos of their crops and receive an AI-powered drought stress assessment, backed by scientific markers. This tool could help farmers optimise irrigation by providing insights into how their crops respond to drought under their specific environmental conditions. This would support agroecological practices, for more resilient and sustainable farming systems in the face of climate change. Crucially, this tool is designed to be accessible and affordable for smallholder farmers in low-and middle-income countries (LMICs), who withstand the worst of climate change.
Beyond farming, the platform includes scientific markers of drought which would benefit agriculture scientists with decision-making. This could open new possibilities for data-driven research and enable more informed, evidence-based agricultural practices and more resistant crop varieties worldwide. Beyond this project, the clustering methodology can be applied in most situations with a heterogeneous environment. For example, I am also working on a project on mango tree resilience to environmental stress. Controlling the environment is impossible in field conditions but I have access to a wide variety of environmental conditions, providing a natural experimental setup. Once again, I will use eco-physiological markers to cluster plants, which will allow me to categorise different tree responses beyond drought and link them to local climate conditions. This new project will help understand the environmental factors affecting mango production for climate change provisions.
* * *
Learn more about Dr Alice Malivert’s AI in Science postdoctoral project in the video by Schmidt Sciences: