Fusing Multimodal CNN Features with Structurally-Masked Transformers for Hierarchical Sub-Pixel Tree Species Mapping

Mattia Ferrari, Lorenzo BruzzonearXiv 2026

TL;DR

This paper introduces a multimodal deep learning framework that maps forest composition at the sub-pixel level by fusing spaceborne hyperspectral data with topographic and spatial priors. By using a novel structurally-masked Transformer, the model enforces ecological hierarchy—ensuring that fine-grained tree species predictions remain taxonomically consistent with broader forest types.

What Problem Does This Paper Address?

Mapping specific tree species from space is a "holy grail" for biodiversity monitoring, but it faces two massive hurdles. First, many tree species look nearly identical to sensors (high spectral similarity). Second, most satellite pixels (like the 30-meter resolution of the PRISMA sensor) are "mixed," containing a heterogeneous blend of several species rather than a single uniform stand.

While traditional deep learning uses spatial context (2D CNNs) to help, this often backfires in fragmented forests by introducing "noise" from neighboring pixels that might belong to entirely different species. Furthermore, standard models often ignore the inherent hierarchical nature of biology—for example, you shouldn't predict a Mediterranean oak species inside a pixel classified as an Alpine coniferous forest.

Methods

The authors propose a two-stage, multi-branch architecture designed to handle these complexities:

  1. Multi-Branch Feature Extraction: The model uses three specialized encoders to process different data streams. A 1D CNN (based on EfficientNetV2) extracts features from the high-dimensional hyperspectral signature. Simultaneously, two compact 2D CNNs process high-resolution panchromatic (PAN) data for texture and Digital Elevation Models (DEM) for topographic context.

    Fig. 1. Overview of the proposed architecture for joint feature extraction and hierarchical classification. Structural specifications are reported as C@(H ×W) or C@L × 1, indicating the number of channels and the spatial or spectral resolution of the feature maps, respectively. Layer-specific parameters are denoted by the triplet (k, s, p), representing kernel size, stride, and padding. Operational symbols · and C denote scalar multiplication and feature concatenation, respectively. Acronyms: SE (Squeeze-and-Excitation), BN (Batch Normalization), M (Max Pooling), and A (Average Pooling).
  2. Structurally-Masked Transformer: This is the core innovation. The extracted features are fed into a Transformer that uses a "binary transition tensor" derived from official forestry inventories. This tensor acts as a hard constraint, defining which species are ecologically allowed within specific forest types.

    Fig. 2. Illustration of the hierarchical formulation and ecological constraints derived from the INFC categorization. For a specific FT ci, the mapping function Φ identifies primary (Φ0) and secondary (Φ1, Φ2) TS.
  3. Bidirectional Learning & Cascaded Prediction: Unlike traditional top-down models, this architecture allows for bidirectional information flow. Sub-pixel species features can "bottom-up" refine the broad forest type prediction. The model then uses a cascaded strategy to identify up to three co-occurring species in order of dominance.

    Fig. 3. Overview of the architecture of the proposed Joint FT-TS Classifier. The pipeline highlights the integration of linear layers (violet), the Trans- former block (T), and data reshaping operations, including flattening (F) and concatenation (C).

Datasets

The framework was validated using a unique dataset that aligns PRISMA hyperspectral imagery with detailed field-surveyed plots across three diverse Italian biogeographical regions:

  • Central-Eastern Alps: High-alpine environments with 11 distinct forest categories.
  • Central Apennines: A complex mosaic of Mediterranean and montane ecosystems (9 categories).
  • Southern Apennines: Mediterranean formations with marked compositional variability (5 categories).

Key Insights and Ideas

  • Topography is a Powerful Prior: The ablation studies revealed that adding DEM data provided a more significant boost to species-level accuracy than adding high-resolution panchromatic imagery. Elevation and slope are critical "ecological filters" that help resolve spectral ambiguities between similar-looking species.
  • The "Bottom-Up" Benefit: One of the most interesting findings was that allowing the model to "see" sub-pixel species composition actually improved the accuracy of the broad, macroscopic Forest Type (FT) classification. The fine-grained details helped solidify the high-level category.
  • Constraint vs. Creativity: By using a hard topology mask in the Transformer, the authors prevented "hallucinations"—ecologically impossible species combinations—without sacrificing the model's ability to learn complex spectral features.

Key Results

The proposed model consistently outperformed state-of-the-art sequence models (like SpectralFormer and Mamba) and standard multi-label paradigms:

  • Overall Accuracy: In the challenging Alpine region, the model achieved a 92.58% Forest Type accuracy and an 80.26% Composite Accuracy across all hierarchical levels.
  • Subordinate Species: The model was particularly effective at identifying secondary and tertiary species within a pixel, where traditional "Binary Relevance" baselines typically see a massive performance drop.
  • Robustness: The hierarchical constraints acted as a regularizer, reducing "fold-to-fold" variability during cross-validation and leading to more stable, reliable maps.

Limitations and Future Work

The authors acknowledge that the model’s success depends on the correctness and completeness of the predefined ecological hierarchy. If the input transition tensor is missing a valid (though rare) species-forest type link, the model will be unable to predict it.

Looking ahead, the researchers aim to transition from "ranked" sub-pixel classification (identifying the top 3 species) to estimating continuous fractional canopy cover. This would provide a truly quantitative characterization of forest stands. They also plan to integrate multitemporal data to exploit phenological patterns (how trees change through seasons) to further improve species discrimination.

Summary updated

Abstract

Precise forest species mapping using spaceborne hyperspectral data is challenging due to high spectral similarity and the inherent sub-pixel heterogeneity of natural forest stands. While traditional deep learning models exploit spatial context through convolutional architectures, these approaches can introduce noise in fragmented or mixed-species forests. In this paper, we propose a hierarchy-aware, multimodal deep learning framework to resolve sub-pixel forest composition by integrating PRISMA (PRecursore IperSpettrale della Missione Applicativa) hyperspectral imagery, high-resolution panchromatic data, and digital elevation models. The architecture features a multi-branch encoder combining an EfficientNetV2-based one-dimensional convolutional neural network (CNN) for spectral signatures and twin two-dimensional CNNs for spatial and topographic features, coupled with a novel structurally-masked Transformer. By using a binary transition tensor to condition the Transformer slot embeddings and constrain inference, the model enforces taxonomic consistency between broad forest categories and fine-grained species distributions. The framework is validated across three diverse Italian biogeographical regions (the Alps and the Central and Southern Apennines) using field-surveyed plots. The proposed method consistently outperforms state-of-the-art multi-label and ranking-based paradigms, particularly in identifying subordinate species and their relative dominance. The bidirectional learning mechanism allows sub-pixel compositional features to refine macroscopic forest type predictions, while the integration of topographic priors effectively resolves spectral ambiguities in complex terrains. This knowledge-driven method supports regional-scale biodiversity monitoring and forest characterization within the evaluated PRISMA scenarios.
BibTeX
@misc{ferrari2026fusing,
  author = {Mattia Ferrari and Lorenzo Bruzzone},
  title = {{Fusing Multimodal CNN Features with Structurally-Masked Transformers for Hierarchical Sub-Pixel Tree Species Mapping}},
  year = {2026},
  eprint = {2611.25824},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25824},
}
Figure