Mapping and Classification of Trees Outside Forests using Deep Learning

summary

Video file (mp4)

The gist

Trees Outside Forests (TOF) play an important role in agricultural landscapes by supporting biodiversity, sequestering carbon, and regulating microclimates.

In short

The study used six deep learning models to map and classify Trees Outside Forests (TOF) across four German agricultural landscapes. The FT-UNetFormer model performed best, achieving an mIoU of 0.739 and an mF1 score of 0.843, demonstrating strong accuracy in identifying small TOF classes.

Key concepts

Trees Outside Forests (TOF)
These are non-forest tree areas within agricultural landscapes that are important for biodiversity and carbon storage. The study defined them using geometric rules based on area and shape ratios derived from Digital Orthophotos and Digital Surface Models.
Reference Data Generation
The ground truth for the classification was created by filtering Digital Surface Models to select vegetation areas, calculating the Normalized Difference Vegetation Index (NDVI), and using unsupervised clustering. This process refined geometric classes like Forest, Patch, Linear, and Tree.
FT-UNetFormer
This is a specific deep learning architecture tested in the study. It was found to be the most effective model for mapping TOF because it achieved the highest mean Intersection-over-Union (mIoU) score of 0.739 and mean F1 score of 0.843 across all testing tiles.

Terminology used across episodes

This episode discusses

The paper

Mapping and Classification of Trees Outside Forests using Deep Learning · Read on arXiv

Osnabrück University · Leibniz Institute for Agricultural Engineering and Bioeconomy

Trees Outside Forests (TOF) play an important role in agricultural landscapes by supporting biodiversity, sequestering carbon, and regulating microclimates. Yet, most studies have treated TOF as a single class or relied on rigid rule-based thresholds, limiting ecological interpretation and adaptability across regions. To address this, we evaluate deep learning for TOF classification using a newly generated dataset and high-resolution aerial imagery from four agricultural landscapes in Germany. Specifically, we compare convolutional neural networks (CNNs), vision transformers, and hybrid CNN-transformer models across six semantic segmentation architectures (ABCNet, LSKNet, FT-UNetFormer, DC-Swin, BANet, and U-Net) to map four categories of woody vegetation: Forest, Patch, Linear, and Tree, derived from previous studies and governmental products. Overall, the models achieved good classification accuracy across the four landscapes, with the FT-UNetFormer performing best (mean Intersection-over-Union 0.74; mean F1 score 0.84), underscoring the importance of spatial context understanding in TOF mapping and classification. Our results show good results for Forest and Linear class and reveal challenges particularly in classifying complex structures with high edge density, notably the Patch and Tree class. Our generalization experiments highlight the need for regionally diverse training data to ensure reliable large-scale mapping. The dataset and code are openly available at https://github.com/Moerizzy/TOFMapper

DOI: 10.1016/j.srs.2026.100510

Transcript

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

Tom: Today's paper: "Mapping and Classification of Trees Outside Forests using Deep Learning".

Jane: Trees Outside Forests (TOF) play an important role in agricultural landscapes by supporting biodiversity, sequestering carbon, and regulating microclimates.

Tom: First, who's behind it and why it matters.

Title and authors: Tom: So, we're getting into a paper called "Mapping and Classification of Trees Outside Forests using Deep Learning." It sounds pretty technical at first, but basically, the researchers are looking at how we can use deep learning to figure out where trees exist outside of established forests in agricultural areas.

Jane: That’s right, Tom. The authors are Moritz Lucasa and his team from Osnabrück University and the Leibniz Institute for Agricultural Engineering and Bioeconomy. Their whole goal is to move away from those old, rigid rule-based methods that often struggle when you look at different types of farmland across Germany.

Lu: It’s really interesting because they’re directly tackling a problem where traditional methods, like those relying on simple threshold rules for height or spectral data, just don't adapt well to the varied landscapes we see everywhere.

Meng: From an engineering standpoint, I wonder if this deep learning approach can actually handle the complexity of real-world agricultural imagery without needing impossibly clean training data.

Lalam: I think what’s exciting here is that they are moving from simple binary detection to a four-class classification system: Forest, Patch, Linear, and Tree.

Tom: Exactly! They are trying to give us a much finer detail of the landscape than just saying "there's forest or there isn't," which is what they call the TOF classification problem.

Jane: And they’re testing this approach across four very different agricultural settings in Germany—from hedgerow structures to intensive farming plots—which sets up a really strong test for how well the model actually works in practice.

Lu: Testing spatial generalization across those distinct regions is crucial because it shows whether a model learned just one specific pattern or if it truly understands the underlying ecological structures, which is a big step forward for agricultural mapping.

Meng: I’m curious how they handled the data collection across those different environments, since that’s usually where models break down in deployment scenarios.

The paper's summary: Tom: Okay, so what they actually did is present their new dataset and then compare six different types of deep learning architectures—CNNs, vision transformers, and hybrid models—to see which one does the best job mapping those trees outside forests.

Jane: They built this new dataset using high-resolution aerial imagery and digitally derived surface models from four German landscapes, focusing on capturing a wide range of landscape structures in one place.

Lu: The core contribution is comparing these different architectures—like FT-UNetFormer versus U-Net—to pinpoint which one is most effective for this specific task, which moves beyond just using a single model type.

Meng: It sounds like they aren't just proving a model works; they’re systematically vetting the entire class of architectures against each other to find the optimal structure for this type of spatial segmentation.

Lalam: From my perspective, it’s important that they are looking at hybrid models, because combining local feature extraction with global context modeling seems like a smart way to handle both fine details and larger structures simultaneously.

Tom: And the summary points out that FT-UNetFormer came out on top, achieving mean metrics of zero point seven three nine for the mean IoU score and zero point eight four three for the mF1 score.

Jane: That result is solid, showing that this new deep learning method actually outperforms the previous approaches they were comparing against in terms of overall accuracy across all the classes.

Lu: The paper emphasizes that their analysis of accuracy across TOF classes and landscape structures helps us see exactly where a model is strong and where it has weaknesses, which is essential for real-world application.

Meng: So they’re not just giving us a high number; they’re giving us the map of where the model succeeds and fails when dealing with different kinds of land use, which is more useful for engineers than just a single score.

The paper's improvements: Tom: Now, let's talk about what the authors suggest as improvements for this work itself, because they aren't just stopping there with the results.

Jane: They suggest focusing on architectural advancements, specifically favoring vision transformers over purely CNN-based models because they seem better at capturing that long-range spatial context needed for these complex TOF patterns.

Lu: I agree with Jane; the paper shows that integrating transformer elements into a model, like in FT-UNetFormer, seems to give it an advantage in understanding how distant landscape features relate to each other.

Meng: From a practical standpoint, I’m interested in the idea of hybrid architectures; combining CNNs for local detail with transformers for global context sounds like a very robust way to build something that actually performs well on diverse imagery.

Lalam: I think they also suggest using Swin Transformer backbones, which are known for efficiently capturing multi-scale features, so incorporating that into the design could really enhance the model's ability to see different sizes of TOF elements.

Tom: And they also touch on data strategy improvements, like curating training sets from regions with similar structures when you plan to deploy this model in a new area.

Jane: That’s important because it shows that structural similarity between training data and the target environment drives how well the model can generalize, which is a key point for any deployment strategy.

Lu: I think if they could get better at mitigating class imbalance, especially for those smaller classes like 'Patch', that would be a big step toward making the classification more reliable in real-world scenarios.

Meng: And on the deployment side, the authors hint at using sliding window approaches with overlapping predictions to resolve boundary ambiguities, which I think is a necessary practical refinement for getting high-quality maps.

Conclusion: Tom: So, wrapping up this discussion on the "Mapping and Classification of Trees Outside Forests using Deep Learning," the main conclusion is that FT-UNetFormer achieved the best overall results with a mean IoU of zero point seven three nine and an mF1 score of zero point eight four three.

Jane: That’s a strong performance metric, Tom, especially since they tested it across those four distinct German agricultural landscapes, which shows the method is quite adaptable.

Lu: It really confirms that the combination of vision transformers and CNN structures provides a solid framework for tackling this kind of complex spatial problem when you have varied input data.

Meng: For practical impact, it means we can start thinking about automated tools for land-use planning that provide this level of fine detail without needing constant manual inventory work.

Lalam: It’s exciting because if we get models that can accurately map these features, it could actually help inform how we manage carbon sequestration and biodiversity in our agricultural regions.

Tom: Exactly! We've seen the results on this paper, "Mapping and Classification of Trees Outside Forests using Deep Learning," which shows a very capable system for handling these kinds of challenges.

Jane: It really gives us a solid foundation to see how these deep learning architectures can be applied to many other challenging environmental mapping tasks we face.

Lu: I think the future work should focus on making sure the model is robust enough for deployment in those highly specific, real-world farming contexts we discussed earlier.

Meng: From an engineering side, I’m looking forward to seeing how this framework scales up when we move from testing tiles to mapping entire regions with high fidelity.

Lalam: And if we can refine these models, they could significantly improve the way AI supports our cultural and environmental goals by providing detailed, actionable spatial data.

More episodes

← Home