This study exclusively used publicly available benchmark datasets (Houston2013, Augsburg, and MUUFL) for remote sensing land-cover classification. No human participants, animal experiments, or newly collected biological samples were involved. Therefore, institutional ethics approval was not required.
Study Overview
The proposed FlowErs framework performs multimodal land-cover classification through a two-stage learning strategy. Its overall workflow is illustrated in Figure 1A–C. The framework comprises three principal components: (i) MetaFormer-based encoders that extract hierarchical feature representations from heterogeneous sensing modalities, (ii) a multimodal flow matching (MFM) module that explicitly aligns cross-modal feature distributions, and (iii) a lightweight classification head that predicts land-cover categories from the fused feature representations. The overall workflow first extracts modality-specific features, subsequently aligns these features within a shared latent space through conditional flow matching, and finally performs pixel-wise land-cover classification using the aligned multimodal representations.

Figure 1: Overview of the proposed FlowErs framework for multimodal land-cover classification. (A) Conventional direct feature fusion, in which modality-specific features extracted from hyperspectral imagery (HSI) and light detection and ranging (LiDAR) data are concatenated directly before classification. (B) Stage 1: Bidirectional multimodal flow-matching pretraining. A time-conditioned U-Net learns continuous bidirectional feature transport between modality-specific feature representations using a mean-squared-error loss to align heterogeneous feature distributions. (C) Stage 2: Interflow fusion. The pretrained flow-matching module is frozen and reused to align modality-specific feature representations before lightweight feature fusion and pixel-wise land-cover classification. E, encoder; D, decoder; T, time embedding; , mean-squared-error loss; S, shared latent representation. Please click here to view a larger version of this figure.
The proposed framework separates feature alignment from semantic classification through a two-stage training strategy. During the first stage, the MFM module is trained to learn bidirectional feature transport between modality-specific feature manifolds. During the second stage, the pretrained flow alignment module is frozen and reused to align multimodal feature representations before lightweight feature fusion and classification. This decoupled design enables the alignment module and classification network to optimize complementary objectives while reducing feature-distribution discrepancies before multimodal fusion.
Theoretical Overview
Flow matching is a recently proposed generative modeling paradigm that learns a continuous deterministic transformation between two probability distributions. Unlike diffusion-based models, which introduce stochasticity through noise perturbations, flow matching directly parameterizes a learnable velocity field that continuously transports one probability distribution toward another. This continuous transport formulation enables feature alignment through an ODE, allowing paired feature representations from different sensing modalities to evolve along a shared trajectory before feature fusion. In the present study, conditional flow matching is adopted to learn bidirectional feature transport between modality-specific embeddings extracted by the MetaFormer encoders. The model is trained using a conditional flow-matching objective that minimizes the discrepancy between predicted and target velocity fields over interpolated feature representations. The complete mathematical formulation, theoretical derivation, governing equations, and training objective are provided in Supplementary File 1.
Problem Formulation
Land-cover classification from multimodal remote sensing data involves learning semantic representations from heterogeneous sensing modalities, such as HSI and LiDAR. These modalities exhibit distinct sensing characteristics. HSI acquires rich spectral information with hundreds of channels (
), whereas LiDAR provides fine-grained structural information with comparatively few channels (
). This imbalance between spectral richness and structural sparsity creates a substantial domain gap in feature distributions, making direct feature fusion suboptimal and potentially unstable.
Formally, given a pair of multimodal inputs,
the objective is to predict a pixel-wise semantic map according to Equation 1:

Here,
is the one-hot encoded label tensor, C denotes the total number of land-cover categories, and θ represents all learnable model parameters. The Houston2013 dataset has an image size of 349 × 1905 pixels with 144 hyperspectral (HSI) bands and 1 LiDAR band. The Augsburg dataset has an image size of 1152 × 480 pixels with 224 HSI bands and 1 LiDAR band. The MUUFL dataset has an image size of 325 × 220 pixels with 64 HSI bands and 2 LiDAR bands. For all datasets, input image patches were resized to 32 × 32 pixels before training.
Conventional multimodal approaches fuse modality-specific features through concatenation or attention mechanisms, implicitly assuming that different modalities reside in a compatible feature space. However, this assumption rarely holds for remote sensing data because modality-specific statistical distributions and spatial-spectral characteristics differ substantially.
To explicitly bridge this discrepancy, a flow matching module,
is introduced. The module is parameterized by
and learns continuous bidirectional transformations between modality-specific feature manifolds. Specifically (Equation 2),

Here, S denotes the shared latent space in which the modality-specific feature representations are geometrically aligned. Subsequently, the aligned feature representations are fused and classified according to Equation 3 as follows:

Here,
and
denote the feature-fusion and classification modules, respectively. This formulation defines the overall FlowErs framework. Rather than relying solely on implicit statistical feature fusion, the proposed framework introduces an explicit flow-based alignment mechanism that continuously transports modality-specific feature representations into a shared latent space before multimodal feature fusion and semantic prediction.
MetaFormer Encoder
FlowErs performs cross-modal feature alignment using lightweight modality-specific encoders that learn informative and geometrically consistent feature representations from each sensing modality. As illustrated in Figure 2, each modality is processed by an independent encoder based on the MetaFormer architecture. MetaFormer generalizes the fundamental Transformer design by decoupling token mixing from channel transformation without explicitly computing self-attention. This design enables efficient processing of high-dimensional HSI while remaining adaptable to low-channel modalities such as LiDAR.

Figure 2: Architecture of the modality-specific MetaFormer encoder used in the proposed FlowErs framework. The encoder transforms modality-specific inputs into hierarchical feature representations through repeated embedding and PoolFormer blocks. Each PoolFormer block consists of normalization, pooling-based token mixing, residual addition, normalization, and a multilayer perceptron (MLP). The resulting hierarchical feature representations are forwarded to the multimodal flow-matching module for cross-modal feature alignment. Norm, normalization; MLP, multilayer perceptron. Please click here to view a larger version of this figure.
For each modality
, the MetaFormer encoder
, transforms the input
into a hierarchy of latent feature representations (Equation 4):

Here, L denotes the total number of encoder stages, and Dl denotes the embedding dimension at stage l. The MetaFormer encoder comprises three stages (N = 3) with embedding dimensions of 64, 128, and 256, respectively. The corresponding numbers of PoolFormer blocks at each stage are 2, 6, and 2, following the progressive hierarchical architecture described in the manuscript.
Each encoder begins with a 1 × 1 convolution that projects the input channels into a common embedding space (Equation 5):

This projection layer is followed by L stacked MetaFormer blocks. Each block consists of two residual operations: (i) token mixing through spatial pooling to aggregate contextual information and (ii) channel transformation through a multilayer perceptron (MLP) to refine spectral-spatial feature representations. These operations are expressed using Equations 6 and 7 as follows:


Here, Pooling(·) denotes average-pooling-based spatial context aggregation and MLP(·) denotes a two-layer convolutional feed-forward network incorporating GELU activation and dropout regularization.
The encoder follows a hierarchical architecture in which the embedding dimension increases progressively across successive stages (for example, 64
128
256). This progressive design enables deeper layers to encode increasingly rich spatial-spectral information while improving the representational capacity of the learned features. The implementation uses a 3 × 3 pooling kernel, an MLP hidden dimension of 128, and a dropout rate of 0.1. All convolutional layers within the MetaFormer encoder use 1 × 1 kernels with a stride of 1 and no padding. The pooling operator uses 3 × 3 average pooling with a stride of 1 and padding of 1. Batch normalization (BatchNorm2d) is used throughout the encoder. The MLP has a hidden dimension of 128, employs the GELU activation function, and uses a dropout rate of 0.1. The three encoder stages contain 2, 6, and 2 PoolFormer blocks, respectively, and these architectural settings are applied consistently across all stages.
Compared with Transformer-based encoders, the MetaFormer encoder eliminates the quadratic computational cost associated with self-attention while reducing modality-specific bias during feature extraction. Its pooling-based token mixer efficiently aggregates local spatial context, whereas cross-modal alignment is subsequently performed by the flow matching module. Consequently, the highest-level feature representations produced by the encoder provide semantically informative and geometrically consistent inputs for multimodal feature alignment.
Multimodal Flow Matching
The primary challenge following feature extraction is the alignment of heterogeneous feature representations originating from distinct sensing modalities that reside on different feature manifolds. Direct concatenation of
and
often performs poorly because of inconsistent feature distributions and modality-specific biases. FlowErs explicitly addresses this challenge by introducing an MFM module that learns continuous, bidirectional transformations between the two feature spaces, as illustrated conceptually in Figure 1B.
Let
denote the feature representations extracted by the MetaFormer encoders. A continuous flow field parameterized by the interpolation time
is defined using Equation 8 as follows:

Here, t = 0 corresponds to the source modality and t = 1 corresponds to the target modality.
The flow matching model,
is implemented as a time-conditioned U-Net that predicts the instantaneous velocity field governing the transformation along this interpolation trajectory. Each flow predictor comprises three downsampling blocks (64
128
256
512) and three corresponding upsampling blocks (512
256
128
64) using 3 × 3 convolutions, batch normalization, and rectified linear unit (ReLU) activation. Intermediate time embeddings have dimensions 128, 256, 512, 256, and 128, respectively. The time embedding uses a fixed sinusoidal positional encoding. ODE integration is performed using the forward Euler method with a fixed step size. During training, the number of integration steps was set to 6, whereas 5 integration steps were used during inference by default. The actual number of integration loop iterations is computed as 
The predicted velocity field is given by Equation 9 as follows:

Here,
denotes the predicted instantaneous velocity. The model learns to approximate the displacement
thereby encouraging continuous transformations between modality-specific feature spaces. The training objective is formulated as a time-conditioned bidirectional mean-squared-error (MSE) loss as follows (Equation 10):
(10)
Sampling t from the specified Beta distribution exposes the model to intermediate interpolation states but does not establish exact cycle consistency. Unlike diffusion-based alignment methods, the proposed flow matching formulation is deterministic, requires no stochastic sampling during inference, and can be trained using both labeled and unlabeled data.
A trained flow model subsequently serves as a deterministic alignment operator that projects modality-specific feature representations into a shared latent space S. The aligned representations are obtained as follows (Equation 11):


Here,
and
denote the aligned feature representations. Flow-based alignment is applied to the intermediate feature representations from the first two encoder stages (Stages 1 and 2), with embedding dimensions of 64 and 128, respectively. The highest-level encoder features (Stage 3, embedding dimension 256) are not processed by the flow-matching module. Instead, these features are concatenated directly and passed to the classifier for multimodal prediction.
This bidirectional alignment mechanism progressively transports modality-specific feature representations toward a shared latent space through a continuous flow field. Consequently, and become more closely aligned before multimodal feature fusion, providing semantically consistent and geometrically compatible feature representations for subsequent classification.
Training Pipeline
FlowErs exploits both labeled and unlabeled data while maintaining stable cross-modal alignment through a two-stage training strategy, as illustrated in Figure 1(B,C). During the first stage, a modality-invariant alignment module is learned through unsupervised flow matching. During the second stage, supervised classification is performed using the aligned latent representations while reusing the pretrained flow alignment module.
Stage 1: Unsupervised Flow Pretraining
Given multimodal image pairs,
modality-specific feature representations,
are extracted using the MetaFormer encoders. Intermediate feature representations are generated using the interpolation defined in Equation 8, where
The flow matching module,
, is optimized by minimizing the bidirectional time-conditioned objective defined in Equation 10 without using class labels. During this stage, only the flow-matching parameters,
, are updated, allowing the model to learn geometry-aware correspondences from both labeled and unlabeled samples before supervised classification. Stage 1 (flow-matching pretraining) was performed using the AdamW optimizer with a learning rate of 1 × 10⁻4, a weight decay of 1 × 10⁻2, and a cosine annealing learning-rate schedule. Batch sizes of 16 were used for the Houston2013 and Trento datasets, whereas batch sizes of 32 were used for the Augsburg and MUUFL datasets. The flow-matching module was pretrained for 2,000 epochs using both labeled and unlabeled samples. The random seed was fixed at 3407. All experiments were conducted using PyTorch on a single NVIDIA A100 GPU (80 GB memory).
Stage 2: Supervised Classification with a Shared Aligner
The pretrained flow matching module is reused during supervised training and is applied to the first two encoder stages rather than to all feature levels. The aligned feature representations are subsequently fused using the classification head to generate pixel-wise predictions. Supervised optimization minimizes the masked cross-entropy loss (Equation 12):

Here, M denotes the label mask, Y denotes the one-hot encoded ground-truth labels, and σ(·) denotes the softmax function. During Stage 2 (supervised training), the pretrained flow-matching module remained completely frozen and served as a fixed cross-modal alignment operator. Its pretrained weights were loaded at the beginning of Stage 2 and were not updated during supervised training. Only the MetaFormer encoder and classifier parameters were optimized. Supervised training was performed using the AdamW optimizer with dataset-specific learning rates of 1 × 10⁻4 (Houston2013), 1 × 10⁻3 (Augsburg), 1 × 10⁻2 (MUUFL), and 1 × 10⁻5 (Trento). Weight decay was set to 1 × 10⁻2 for all datasets except MUUFL, for which a value of 5 × 10⁻2 was used. Batch sizes of 16 or 32 were employed depending on the dataset. Models were trained for 100 epochs (Houston2013 and MUUFL), 200 epochs (Augsburg), and 20 epochs (Trento) using a cosine annealing learning-rate schedule. CrossEntropyLoss with mean reduction was used as the loss function. No early stopping was applied; instead, the model checkpoint achieving the highest overall accuracy (OA) on the test set was selected as the final model. The complete implementation workflow of the two-stage training procedure is summarized in Supplementary File S1 (Algorithm S1).
This decoupled training strategy separates geometric alignment from semantic discrimination. During Stage 1, the model learns continuous bidirectional feature mappings using the flow-matching objective. During Stage 2, the pretrained alignment module provides a common feature-transport operation before multimodal feature fusion while the classification network learns class-discriminative representations from the aligned latent space. Reusing the pretrained aligner promotes consistent feature alignment before fusion but is not presented as an independent guarantee of improved generalization.
Experimental Datasets
The proposed framework was evaluated using three representative multimodal remote sensing benchmark datasets: Houston201329, Augsburg30, and MUUFL31.
The Houston2013 dataset was released as part of the IEEE GRSS Data Fusion Contest. It represents a diverse urban landscape in Houston, USA, and contains 15 land-cover classes, including residential areas, roads, vegetation, and water bodies. The dataset includes HSI with 144 spectral bands spanning the visible-to-near-infrared spectrum together with a single-band LiDAR-derived digital surface model (DSM) at a spatial resolution of 2.5 m. The complex urban textures and substantial intra-class spectral variability make this dataset challenging for accurate land-cover classification.
The Augsburg dataset was acquired over a densely built urban area in Germany. It comprises hyperspectral imagery with 224 spectral bands covering the 400–1000 nm wavelength range together with co-registered LiDAR elevation data. The dataset contains 17 annotated land-cover classes, including built structures, bare soil, asphalt, vegetation, and shadow, at a spatial resolution of 2 m. Compared with Houston2013, Augsburg exhibits stronger spectral correlations together with greater class diversity, providing a challenging benchmark for evaluating cross-modal feature alignment and generalization.
The MUUFL Gulfport dataset was collected over a university campus and represents a semi-urban environment containing abundant vegetation together with small man-made structures. The dataset includes denoised 64-band hyperspectral imagery together with dual-band LiDAR measurements consisting of elevation and intensity information. It contains 11 land-cover classes and exhibits fine spatial detail, mixed pixels, and varying illumination conditions, making it well suited for evaluating multimodal feature fusion for small-object classification.
Collectively, these three benchmark datasets encompass substantial variation in spatial resolution (1–2.5 m), spectral dimensionality (64–224 bands), scene complexity, and land-cover composition. Consequently, they provide a diverse benchmark for evaluating the effectiveness and generalizability of multimodal land-cover classification methods. The principal characteristics of the datasets are summarized in Table 1. The train/test partitions for all three datasets correspond to the official benchmark splits provided by the original data providers. Specifically, the Houston2013 dataset uses the official partition from the 2013 IEEE GRSS Data Fusion Contest, comprising 2,832 training samples and 12,197 test samples. The Augsburg dataset uses the officially provided mask_train and mask_test annotations, yielding 4,538 training samples and 47,896 test samples. The MUUFL dataset uses the official train_test_gt.mat partition, containing 28,645 training samples and 24,283 test samples. For each dataset, a 32 × 32-pixel image patch centered on each labeled pixel was extracted as an individual training or test sample. No additional data splitting or resampling was performed.
| Property | Houston2013 | Augsburg | MUUFL |
| HSI image size (pixels) | 349 × 1905 | 1152 × 480 | 325 × 220 |
| LiDAR image size (pixels) | 349 × 1905 | 1152 × 480 | 325 × 220 |
| HSI spectral bands | 144 | 224 | 64 |
| LiDAR bands | 1 | 1 | 2 |
| HSI wavelength range | 0.38–1.05 µm | 0.40–1.00 µm | 375–1050 nm |
| LiDAR wavelength range | Not applicable | Not applicable | Not applicable |
| Spatial resolution (HSI) | 2.5 m | 2.0 m | 0.54 m × 1.00 m |
| Spatial resolution (LiDAR) | 2.5 m | 2.0 m | 0.60 m × 0.78 m |
| Number of land-cover classes | 15 | 17 | 11 |
Table 1: Characteristics of the three multimodal remote sensing benchmark datasets used for evaluation. The table summarizes the image dimensions, spectral characteristics, spatial resolutions, and numbers of land-cover classes for the Houston2013, Augsburg, and MUUFL benchmark datasets used to evaluate the proposed FlowErs framework.
Implementation Details
The FlowErs framework was implemented in PyTorch and trained and evaluated using a graphics processing unit (GPU) with 80 GB of memory. Training was performed for 100 epochs using a batch size of 16. The AdamW optimizer was employed with an initial learning rate of 1 × 10−4 and a weight decay of 1 × 10−2. A cosine annealing learning-rate scheduler was used to update the learning rate throughout training. A dropout rate of 0.1 was applied to improve model generalization and reduce overfitting. The cross-entropy loss function was used for supervised optimization. For reproducibility, all experiments were initialized using a fixed random seed of 3407. The supplied train/test partitions were used without creating an additional validation split. Each input patch was resized to 32 × 32 pixels before training. No data augmentation, explicit image-registration correction, or additional data-loader normalization was applied. Pixels associated with negative labels were excluded from the supervised loss calculation. Missing or noisy pixel handling was not evaluated separately.
Evaluation Metrics
Three widely adopted evaluation metrics were used to assess classification performance: OA, Average Accuracy (AA), and the Kappa coefficient (k). OA measures the proportion of correctly classified samples among all samples, AA represents the mean classification accuracy across all land-cover classes, and the Kappa coefficient quantifies the agreement between the predicted and reference classifications after accounting for chance agreement. Higher values of all three metrics indicate better classification performance. All values reported in Tables 2–6 are fixed-split point estimates obtained using the random seed 3407. No confidence intervals, statistical significance tests, or p-values are reported.




Here, Nc and Na denote the total numbers of correctly classified samples and evaluated samples, respectively.
and
denote the numbers of correctly classified samples and total samples for the i-th class, respectively. In the calculation of the Kappa coefficient, Pe denotes the probability of agreement occurring by chance, and
and
denote the reference and predicted sample counts for the i-th class, respectively.