Habitat classification from ground-level imagery using deep neural networks
Habitat assessment at local scales -- critical for enhancing biodiversity and guiding conservation priorities -- often relies on expert field surveys that can be costly, motivating the exploration of AI-driven tools to automate and refine this process. While most AI-driven habitat mapping depends on remote sensing, it is often constrained by sensor availability, weather, and coarse resolution. In contrast, ground-level imagery captures essential structural and compositional cues invisible from above and remains underexplored for robust, fine-grained habitat classification. This study addresses this gap by applying state-of-the-art deep neural network architectures to ground-level habitat imagery. Leveraging data from the UK Countryside Survey covering 18 broad habitat types, we evaluate two families of models - convolutional neural networks (CNNs) and vision transformers (ViTs) - under both supervised and supervised contrastive learning paradigms. Our results demonstrate that ViTs consistently outperform state-of-the-art CNN baselines on key classification metrics (Top-3 accuracy = 91%, MCC = 0.66) and offer more interpretable scene understanding tailored to ground-level images. Moreover, supervised contrastive learning significantly reduces misclassification rates among visually similar habitats (e.g., Improved vs. Neutral Grassland), driven by a more discriminative embedding space. Finally, our best model performs on par with experienced ecological experts in habitat classification from images, underscoring the promise of expert-level automated assessment. By integrating advanced AI with ecological expertise, this research establishes a scalable, cost-effective framework for ground-level habitat monitoring to accelerate biodiversity conservation and inform land-use decisions at a national scale.
Authors
- Huibin Shi (ORCID: https://orcid.org/0000-0002-5834-8179)
- Lisa Norton (ORCID: https://orcid.org/0000-0002-1622-0281)
- Simon Rolph (ORCID: https://orcid.org/0000-0001-6755-9456)
- James M. Brown (ORCID: https://orcid.org/0000-0001-7636-4554)
- Lan Qie (ORCID: https://orcid.org/0000-0002-7309-7523)
- Lucy E. Ridding (ORCID: https://orcid.org/0000-0003-3141-8795)
- Claire M. Wood (ORCID: https://orcid.org/0000-0002-0394-2998)
- Tom August (ORCID: https://orcid.org/0000-0003-1116-3385)
- Petra Bosilj (ORCID: https://orcid.org/0000-0001-9640-9828)
Publication Details
- Journal
- Ecological Informatics
- Published
- 2026-04-12
- DOI
- https://doi.org/10.1016/j.ecoinf.2026.103751
- Primary Topic
- Remote Sensing in Agriculture
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- UK Research and Innovation