Manuscript Offprint
arXiv:2608.30633Quantum-Grassmann-Plucker Token Mixing for Deep Learning-Based Post-Disaster Damage Assessment
Quantum-Grassmann-Plücker Token Mixing for Deep Learning-Based Post-Disaster Damage Assessment
Kooroush Farahkhah , Umut Lagap , Taha Rezaei , Saman Ghaffarian
Independent Researcher, Tabriz, Iran.
Centre for Urban Resilience and Analytics (CURA), Georgia Institute of Technology (Georgia Tech), US.
Department of Civil and Environmental Engineering, University of Exeter, Exeter, UK.
Department of Risk and Disaster Reduction (RDR), University College London (UCL), UK.
Abstract
Timely post-disaster building damage assessment from satellite imagery is a critical engineering decision support task, yet it remains constrained by class imbalance, ambiguous intermediate damage states, and limited cross-event transferability. This study presents, to our knowledge, the first application of Grassmann–Plücker (GP) token mixing to computer vision and introduces two extensions for image classification: the Quantum-inspired Grassmann–Plücker (QGP) head and the Hybrid Quantum Machine Learning Grassmann–Plücker (HQML-GP) head. The GP head represents multiscale relationships among image patch tokens by encoding subspaces formed by token pairs with Plücker coordinates; QGP enriches these coordinates with amplitude-derived probability features, whereas HQML-GP incorporates expectation values generated by a simulated quantum circuit into the geometric token representation. Paired pre- and post-event image patches from the public xBD tornado dataset were processed using a frozen six-channel Vision Transformer base encoder. The three proposed heads were compared with multilayer perceptron and Transformer baselines under identical training, checkpoint selection, and evaluation protocols. Joplin and Moore tornado samples were used for model development and seen-event testing, while Tuscaloosa was reserved for unseen-event evaluation.
QGP led both test sets in accuracy and macro-F1: 83.46% and 64.50% for the seen events, and 66.45% and 52.70% for the unseen event. Although HQML-GP obtained the highest validation macro-F1 of 65.63%, it did not surpass QGP on either test set and required substantially longer training. These results establish GP token mixing as a competitive attention-free alternative to conventional Transformer-based token mixing for paired satellite image damage classification.
Keywords: quantum-inspired machine learning; Grassmann–Plücker token mixing; hybrid quantum–classical learning; post-disaster building damage assessment; Vision Transformer.
Deep learning has become a prominent approach to automated post-disaster damage assessment because convolutional, attention-based, and transformer-based architectures can learn complex visual representations from very-high-resolution imagery [11,12]. The xBD dataset has enabled systematic benchmarking by providing paired pre- and post-event satellite images, building polygons, ordinal damage labels, and metadata across multiple disaster types [13,14]. However, building damage classification continues to face three persistent challenges: severe damage classes are relatively scarce [15], intermediate damage states are visually ambiguous [16], and models trained on one disaster event may generalise poorly to another [17]. In addition, fully retraining large visual backbones for each new disaster may be computationally demanding and impractical when event-specific labels are limited [18]. These challenges motivate parameter-efficient approaches that can adapt pretrained models while seeking to improve balanced performance across classes and cross-event transferability [19].
Vision Transformers provide a natural representation framework for paired building damage assessment by representing images as sequences of patch tokens. In a pre- and post-event setting, these tokens can encode roof conditions, debris patterns, surrounding damage, structural alterations, and other change-related cues [20,21]. However, damage evidence is often relational rather than isolated. A displaced roof edge, partial collapse, or debris field may only become meaningful when interpreted in relation to neighbouring image regions and the corresponding pre-event condition [22]. Conventional mean pooling does not explicitly preserve such relationships [23], while self-attention learns token dependencies through dense attention weights without explicitly representing their geometric subspace structure. This motivates geometry-aware token mixing, in which relationships between patch tokens are represented as low dimensional subspaces [24]. Chong [25] introduced this mechanism for language modelling and natural language inference, where it achieved competitive performance without explicit attention. Nevertheless, that work was limited to text sequences; it did not apply GP mixing to visual patch tokens or image classification.
This study moves Grassmann–Plücker token mixing from language to computer vision, particularly paired satellite image damage assessment and extends it in two directions designed here. A frozen six-channel ViT-B/16 encoder extracts visual tokens from concatenated pre- and post-event image patches, while trainable classification heads determine how these tokens are mixed and aggregated for damage classification [26–28]. Freezing the encoder serves two purposes. First, it reduces the number of trainable parameters and supports rapid adaptation when event-specific data are limited [20]. Second, it isolates the contribution of the classification head architecture, enabling a controlled comparison between conventional pooling, attention-based token mixing, geometry-aware token mixing, and its quantum-inspired and hybrid extensions. The objective is not to replace fully trainable vision architectures, but to determine whether structured head-level adaptation can provide an efficient and transferable alternative for post-disaster damage assessment. Quantum-inspired and hybrid quantum-classical mechanisms are examined as optional feature enrichment strategies within the Grassmann–Plücker framework. Quantum machine learning has demonstrated that structured classical data can be embedded into high-dimensional feature spaces and transformed through nonlinear operations or parameterised quantum circuits [29,30]. This concept is compatible with Grassmann–Plücker representations because Plücker coordinates already provide compact geometric descriptors of token pair subspaces [31]. Rather than applying quantum processing to the complete vision architecture, the present study restricts quantum-inspired and hybrid operations to the classification head. This design preserves the frozen backbone comparison and allows the additional value of each enrichment mechanism to be evaluated directly. Two extensions of the standard Grassmann–Plücker head are evaluated. The Quantum-inspired Grassmann–Plücker head remains entirely classical and enriches the Plücker coordinate representation using amplitude-derived probability features. The Hybrid Quantum Machine Learning Grassmann–Plücker head additionally processes a global Plücker descriptor through a small differentiable quantum circuit and injects the resulting expectation values into the geometric token representation.
The central research questions are whether GP token mixing provides a competitive attention-free design for post-disaster building damage classification, and whether the developed QGP and HQML-GP extensions add value to this geometric representation. Building on standard Grassmann–Plücker token mixing as a geometric foundation, the study examines whether amplitude-derived probability features and expectation values obtained from a simulated quantum circuit improve predictive performance and cross-event generalisation beyond standard GP, mean pooling, and Transformer attention baselines. The evaluation focuses on tornado events in xBD to reduce hazard heterogeneity. Models are tested both on events represented during training and on a held-out tornado event, enabling assessment of within-event performance, cross-event transferability, class-specific behaviour, and computational efficiency. The main contributions of this paper are as follows:
-
A Grassmann–Plücker token mixing head is adapted to paired pre- and post-event satellite image damage classification using a frozen six-channel ViT-B/16 encoder.
-
The study introduces a geometry-aware head-level adaptation strategy that explicitly represents multi-scale relationships between patch tokens through Plücker coordinate subspace descriptors.
-
A classical Quantum-inspired Grassmann–Plücker extension is developed using amplitude-derived probability features.
-
A hybrid quantum-classical Grassmann–Plücker extension is developed by combining global Plücker descriptors with differentiable quantum circuit expectation values.
-
All proposed heads are compared with MLP and Transformer baselines under identical backbone, data-split, optimisation, checkpoint selection, and evaluation conditions.
-
The study evaluates both seen- and unseen-event performance and reports predictive accuracy, class-specific behaviour, trainable parameters, training cost, and inference speed.
2. Background
Deep learning has become an important analytical approach in disaster risk management, enabling the rapid extraction of spatial, temporal, and semantic information from large volumes of remote sensing imagery, videos, sensor measurements, and other heterogeneous data [32]. Previous studies have applied deep learning to wildfire prediction, fire detection, flood risk mapping, damage classification, and recovery monitoring [33]. Zhong et al. [34], for example, developed a deep learning-based digital twin framework for wildfire prediction, while Talaat and ZainEldin [35] applied YOLOv8 to urban fire detection. Chaudhuri and Bose [36] used convolutional neural networks to detect potential survivors in earthquake debris imagery, and Ahmed et al. [37] applied DeepLabv3 to satellite-based flood risk evaluation. In the specific context of building damage assessment, Valentijn et al. demonstrated the capability of CNNs to classify damage severity from high-resolution satellite imagery across multiple disaster types [38]. However, many existing applications rely on specialised end-to-end architectures that may require substantial retraining when transferred to new disaster conditions [39,40].
Very-high-resolution optical satellite imagery is particularly valuable for post-disaster building damage assessment as it enables building-scale analysis over large affected areas [41]. Earlier remote sensing approaches relied on visual interpretation, GIS-based analysis, object-based image analysis, and conventional change detection techniques [2]. Although these methods remain useful for expert interpretation and contextual validation, they are difficult to scale when rapid building-level information is required across extensive disaster footprints [9]. The release of the xBD dataset and the xView2 challenge substantially advanced the field by providing paired pre- and post-disaster satellite imagery, building footprints, and ordinal damage labels across multiple disaster events [13,14]. The dataset enabled systematic benchmarking and encouraged the development of models that jointly address building localisation and damage classification [40]. In the meantime, xBD highlighted several persistent challenges, including severe class imbalance, visual ambiguity between intermediate damage states, label uncertainty, and limited generalisation across disaster events [14,41,42]. These challenges are especially relevant to tornado and severe wind damage, which is often highly localised, spatially discontinuous, and influenced by building characteristics, surrounding debris, local exposure, and image acquisition conditions [43,44].
A major body of research has sought to improve post-disaster building damage assessment through CNN-based, Siamese, U-Net-based, and multistage architectures. Weber and Kané [45] formulated building damage assessment as a semantic segmentation task, demonstrating the value of dense prediction for spatially explicit damage mapping. Gupta and Shah [46] proposed RescueNet, a joint building segmentation and damage assessment model that combines localisation-aware learning with a multiheaded architecture. Zhang et al. [39] introduced LRBNet, which integrates Siamese feature extraction, U-Net++, lightweight compression, and channel attention for paired image analysis. Deng and Wang [40] further enhanced U-Net-style damage assessment models using additional skip connections, asymmetric convolution blocks, and shuffle attention. These studies reflect the importance of comparing pre- and post-event imagery rather than analysing each image independently [47]. However, their improvements are primarily achieved through increasingly specialised feature extraction and fusion architectures, which may increase computational requirements and complicate adaptation to new disaster events.
Attention mechanisms have also been widely adopted in post-disaster damage assessment because they can emphasise informative visual regions while suppressing irrelevant background variation [32]. Shen et al. [48] developed BDANet using multiscale feature fusion and cross-directional attention to improve building localisation and damage classification. Xia et al. [16] subsequently applied a two-stage BDANet-style framework to ultra-high-resolution imagery from the 2023 Turkey–Syria earthquakes, combining pre-event building extraction with pre/post-event feature fusion. Oludare et al. [49] proposed ATS-HRNet by integrating high-resolution network components with criss-cross attention, while Braik and Koliou [9] combined CNN-based classification with GIS analysis to preserve geospatial context. These studies indicate that attention and contextual modelling can improve damage assessment. Nevertheless, additional attention modules may increase model complexity, and strong aggregate accuracy does not necessarily imply reliable recognition of rare damage classes or robust transfer to unseen events [38,41].
Recent reliability-oriented research has therefore placed greater emphasis on class-specific performance, model trustworthiness, and behaviour under class imbalance. Lagap et al. [41] systematically evaluated channel, spatial, and multi-head attention mechanisms for post-disaster damage assessment using xBD tornado cases. Their results showed that multi-head attention could improve recognition of high-severity damage, whereas some channel- and spatial-attention configurations produced less reliable feature emphasis. In addition, their study demonstrated that attention mechanisms are not automatically beneficial and should be assessed using both aggregate and class-specific metrics. Since post-disaster datasets are commonly imbalanced and intermediate damage categories are visually ambiguous, accuracy alone may conceal poor performance on operationally important minority classes [14]. Metrics such as macro-F1, per-class F1, balanced accuracy, and MCC are therefore important for evaluating the reliability of damage classification systems [50]. This consideration directly motivates the class-specific and seen/unseen-event evaluation adopted in the present study [51].
Transformer-based architectures represent another important development in post-disaster damage assessment. The original Transformer introduced self-attention as a general mechanism for modelling relationships among sequential elements [52], while the Vision Transformer reformulated images as sequences of patch tokens [53]. In remote sensing, transformer-based change detection models such as BIT [54] and ChangeFormer [55] have demonstrated the ability to capture broad spatial context and temporal relationships between image pairs. For building damage assessment, Kaur et al. [20] proposed a hierarchical transformer architecture that combines multiscale spatial features with temporal differences between pre- and post-disaster imagery. DamageCAT, introduced by Xiao and Mostafavi, further illustrates the growing role of transformer-based frameworks in structured post-disaster damage categorisation [12]. Although transformers can model long range relationships between image regions, fully fine tuning large transformer backbones may be computationally demanding when labelled event-specific data are limited. This limitation makes frozen-backbone and head-level adaptation strategies particularly relevant to rapid post-disaster deployment [56].
The digital twin-enabled recovery monitoring framework proposed by Lagap and Ghaffarian [33] further highlights the importance of transferable, efficient, and adaptable learning systems for disaster applications. Their work combines transfer learning, attention mechanisms, and explainable AI to support the monitoring of changing post-disaster conditions. Although the present study focuses on initial building damage classification rather than longitudinal recovery monitoring, the broader requirement for efficient model adaptation remains relevant. A frozen visual backbone can preserve a stable pretrained representation, while a smaller task-specific head can be trained or replaced for a new disaster assessment task [57]. This approach avoids retraining the complete feature extractor and enables the contribution of the classification head to be examined independently. Head-level adaptation is therefore not only an implementation choice in this study, but also a controlled strategy for assessing how different token mixing mechanisms use a shared visual representation [58].
Despite the progress achieved through convolution, feature fusion, attention, and transformers, most post-disaster damage assessment models rely on conventional pooling, self-attention, or dense fusion operations to aggregate visual information [39]. These mechanisms are effective, but they do not explicitly represent the geometric subspaces spanned by pairs of local patch token embeddings. Damage evidence is frequently relational: a displaced roof edge, debris field, partial collapse, or shadow pattern may only be meaningful when interpreted relative to adjacent image regions and the corresponding pre-event condition [16]. Grassmann manifolds represent linear subspaces rather than individual feature vectors and have previously been used in imageset recognition, subspace learning, and manifold-aware neural networks [59,60]. Grassmann–Plücker token mixing extends this concept to tokenised representations by mapping token pairs to low-dimensional subspaces and encoding them through Plücker coordinates [25]. Unlike conventional token pooling, this formulation explicitly represents pairwise token relationships. It is therefore well suited to paired building damage assessment, where damage patterns often emerge from relationships among neighbouring and multi-scale image regions rather than from isolated patch appearance.
Quantum-inspired and hybrid quantum-classical machine learning provide complementary mechanisms for enriching structured feature representations. Quantum machine learning investigates how classical data can be embedded into high-dimensional Hilbert spaces and transformed through parameterised quantum circuits or related nonlinear feature mappings [29,30,61]. Hybrid quantum-classical approaches incorporate small quantum circuits into otherwise classical learning pipelines [62], whereas quantum-inspired approaches remain entirely classical but adopt concepts such as amplitude normalisation and probability-based representations [63]. These mechanisms are conceptually compatible with Grassmann–Plücker token mixing because Plücker coordinates already provide compact geometric descriptors of token pair subspaces [31]. In the present study, quantum-inspired probability features and simulated quantum circuit expectation values are therefore evaluated as extensions of the standard GP representation. Their purpose is to determine whether additional nonlinear feature enrichment provides measurable benefits beyond geometry-aware token mixing, rather than to demonstrate quantum computational advantage.
The existing literature has substantially advanced post-disaster building damage assessment through CNNs, Siamese networks, U-Net variants, attention mechanisms, hierarchical transformers, and multi-temporal feature-fusion strategies [16,20,39,48]. However, many studies focus on modifying or fine-tuning the feature-extraction backbone, while classification heads commonly rely on mean pooling, attention, or conventional feed-forward aggregation [12,32,41]. Comparatively less attention has been given to head-level adaptation mechanisms that explicitly represent relationships between patch tokens through geometric subspaces. Grassmann–Plücker token mixing has not been systematically evaluated for paired pre- and post-event building damage classification under a frozen-backbone protocol. It also remains unclear whether classical quantum-inspired enrichment or hybrid quantum circuit derived features provide additional value beyond the standard geometric representation. To address these gaps, the present study develops, adopts, and evaluates GP, QGP, and HQML-GP heads on top of a common frozen six-channel ViT-B/16 encoder and compares them with conventional MLP and Transformer heads under identical training, model-selection, and seen/unseen-event evaluation conditions (Figure 1).
PRE-EVENT

POST-EVENT
Frozen
ViT-B/16
Encoder
CENTRAL
GRASSMANN-
PLÜCKER (GP)
PATHWAY
Six-Channel
Multi-Temporal
Input
Quantum Extensions
Quantum-inspired GP and
Hybrid quantum-classical GP
MLP
HEAD
TRANSFORMER
HEAD
Four-Class
Damage
Classification
NO DAMAGE
MINOR
DAMAGE
MAJOR
DAMAGE
DESTROYED
Figure 1. Overview of the frozen-backbone head-level adaptation framework for post-disaster building damage classification. Paired pre-event and post-event image patches are concatenated into a six-channel input and processed by a common frozen ViT-B/16 encoder. The resulting patch tokens are supplied independently to MLP, Transformer, GP, QGP, and HQML-GP classification heads. The models predict four damage classes and are evaluated on seen-event and unseen-event test sets.
3. Materials and Methods
3.1. Study design
This study evaluates whether geometry-aware, quantum-inspired, and hybrid quantum-classical token mixing heads can improve post-disaster building damage classification within a frozen-backbone adaptation framework. Each sample consists of paired pre-event and post-event image patches centred on an individual building. The two RGB images are concatenated along the channel dimension to form a six-channel input, enabling the model to analyse pre- and post-disaster visual information jointly. A pretrained Vision Transformer is used as a fixed feature extractor. The backbone is modified to accept six-channel inputs and is subsequently frozen in all experiments, while only the classification head is optimised. This design isolates the contribution of the head architecture and enables a controlled comparison among conventional, attention-based, geometry-aware, quantum-inspired, and hybrid quantum-classical token mixing strategies under an identical visual representation.
Five classification heads are evaluated using the same data splits, input preprocessing, frozen backbone, optimisation objective, and model-selection protocol: a multilayer perceptron (MLP) head, a shallow Transformer head, a Grassmann–Plücker (GP) head, a Quantum-inspired Grassmann–Plücker (QGP) head, and a Hybrid Quantum Machine Learning Grassmann–Plücker (HQML-GP) head. The task is formulated as building-centred four-class damage classification, rather than full-scene building localisation or semantic segmentation. This experimental design therefore focuses specifically on how different head-level token mixing mechanisms use a shared frozen ViT representation for damage classification.
3.2. Datasets and event selection
The experiments use building-centred paired image patches derived from tornado-related events in the xBD dataset. Each sample contains a pre-event RGB image patch, a corresponding post-event RGB image patch, and a building damage label. The complete dataset is defined as (Eq. 1):
Where and denote the pre-event and post-event image patches for sample , respectively, denotes the associated damage class, and is the total number of samples. The classification label belongs to the set , with the class mapping , , , . The study uses xBD case IDs 5 and 7, corresponding to the Joplin and Moore tornadoes, for model development and within-event evaluation. Samples from these two events are used to construct the training, validation, and seen-event test sets. Case ID 11, corresponding to the Tuscaloosa tornado, is excluded from all model-development stages and reserved exclusively for unseen-event testing.
This event-based design supports two complementary forms of evaluation. The seen-event test set assesses generalisation to held-out samples from disasters represented during training, whereas the unseen-event test set evaluates cross-event transfer to a tornado event not observed during model development. This distinction is important because satellite image characteristics, building typologies, damage patterns, and environmental context may differ across disaster events.
Table 1. Dataset split and class distribution.
| Split | Events | No damage | Minor | Major | Destroyed | Total |
|---|---|---|---|---|---|---|
| Source | ||||||
| train/validation pool | Joplin and Moore | 16,092 | 1,983 | 968 | 2,669 | 21,712 |
| Balanced training set | ||||||
| Validation set | Joplin and Moore | 2,413 | 297 | 145 | 400 | 3,255 |
| Seen-disaster test set | Joplin and Moore | 3,549 | 412 | 186 | 507 | 4,654 |
|---|---|---|---|---|---|---|
| Unseen-disaster test set | Tuscaloosa | 1,407 | 282 | 75 | 123 | 1,887 |
Table 1 summarises the class distributions for the source pool, balanced training set, validation set, seen-event test set, and unseen-event test set. The validation and test sets retain their natural class distributions. Only the training set is balanced, allowing the models to be optimised without dominance by the majority no-damage class while preserving realistic class frequencies during model selection and final evaluation.
3.3. Data preparation and class balancing
Each pre-event image and corresponding post-event image is resized to 224 × 224 pixels using bilinear interpolation and converted to a three-channel tensor. The paired images are then concatenated along the channel dimension to form a six-channel input tensor (Eq. 2):
Where denotes channel-wise concatenation. The first three channels correspond to the pre-event image and the remaining three channels correspond to the post-event image. The six-channel tensor is normalised using the ImageNet channel-wise mean and standard deviation, repeated for the pre-event and post-event channel groups (Eq. 3):
The normalized value at channel c and spatial location is calculated as (Eq. 4):
No data augmentation is applied in the final experimental protocol. This decision maintains an identical input-processing procedure across all classification heads and avoids introducing augmentation-related variability into the controlled head-level comparison.
The combined Joplin and Moore development pool is divided into training and validation subsets using class-stratified sampling. For each damage class, 15% of the available samples are assigned to the validation set, while the remaining 85% form the initial unbalanced training pool. The validation set retains the natural class distribution and is used exclusively for model selection and early stopping. Let (Eq. 5):
denotes the subset of initial training samples belonging to class c, and let (Eq. 6):
Represent the number of available samples in that class. The target number of samples retained from each class is defined by the size of the smallest class (Eq. 7):
In the present dataset, major damage is the smallest class after validation splitting, giving . A balanced training set is therefore constructed by randomly selecting 823 samples without replacement from each class (Eq. 8):
Only the training set is balanced. The validation, seen-event test, and unseen-event test sets retain their natural class distributions so that model selection and final performance evaluation reflect realistic post-disaster damage frequencies. The stratified splitting and random under sampling procedures are performed using a fixed random seed of 42 to ensure reproducibility.
3.4. Frozen six-channel ViT-B/16 encoder
The visual encoder is a ViT-B/16 model pretrained on ImageNet-21k and obtained from the Hugging Face checkpoint google/vit-base-patch16-224-in21k [64]. The original ViT-B/16 patch-projection layer accepts three-channel RGB images and uses a convolution with kernel size and stride equal to the patch size P=16. Because the present study jointly processes paired pre- and post-event RGB images, the original three-channel projection is replaced with a six-channel convolution while preserving the original output dimension, kernel size, stride, padding, and bias configuration. Let: denote the pretrained three-channel patch-projection weights and let: denote the corresponding six-channel weights. The new projection weights are initialized by duplicating the pretrained RGB weights across the pre-event and post-event channel groups and scaling both copies by one half (Eq. 9):
where denotes concatenation along the input-channel dimension. Equivalently, the first three input channels of process the pre-event image, while the remaining three channels process the post-event image. This factor 1/2 prevents the duplicated projection from approximately doubling the activation magnitude relative to the original pretrained layer. If the pretrained projection contains a bias vector , it is transferred directly to the new projection: . Following this modification, the six-channel patch projection and all remaining ViT parameters are frozen. The encoder therefore serves as a fixed visual feature extractor, and only the downstream classification head is optimised during training.
For each normalised six-channel input , the frozen encoder produces a sequence containing one classification token and patch tokens (Eq. 10):
Where denotes the classification-token representation and denotes the sequence of patch token representations supplied to the trainable classification head.
For an input resolution of pixels and a patch size of pixels, the number of patch tokens is . and the ViT hidden dimension is . The classification token is excluded because all compared heads operate exclusively on the common sequence of 196 patch tokens. This frozen-backbone design ensures that performance differences arise from the token mixing and classification heads rather than from changes to the visual encoder.
3.5. Classification head architectures
All five classification heads receive the same sequence of patch token representations produced by the frozen six-channel ViT-B/16 encoder. , where and . The heads differ only in how they transform, mix, and aggregate these patch tokens before damage classification. The ViT backbone remains frozen in all experiments, and only the parameters of the selected classification head are optimized. Let denote the set of evaluated head architectures: . For a head architecture , the corresponding trainable mapping transforms the common ViT token sequence into a vector of class logits (Eq. 11):
Where denotes the trainable parameters of head , and contains the logits associated with the four damage classes. The predicted class is obtained as (Eq. 12):
The MLP head serves as a simple mean pooling baseline and does not explicitly model interactions between patch tokens. The Transformer head provides an attention-based token mixing baseline. The Grassmann–Plücker head is the principal proposed geometry-aware architecture and represents relationships between token pairs through Plücker coordinate subspace descriptors. The QGP head extends the GP representation using fully classical amplitude-derived probability features, whereas the HQML-GP head augments the GP representation with expectation values generated by a differentiable quantum circuit.
Accordingly, QGP and HQML-GP should be interpreted as extensions of the standard GP framework rather than as independent alternatives to it. Table 2 summarises the role and principal operation of each classification head.
Table 2. Classification heads compared in the study.
| Head | Principal operation | Role in the comparison |
|---|---|---|
| MLP | Mean-pools the ViT patch tokens and applies a feed-forward classifier | Simple non-token-mixing baseline |
| Transformer | Projects the patch tokens and applies a shallow Transformer encoder before mean pooling | Attention-based token mixing baseline |
| GP | Constructs Grassmann–Plücker representations from token pairs at multiple predefined offsets | Proposed geometry-aware head |
| QGP | Enriches the GP Plücker coordinates with amplitude-derived probability features | Fully classical quantum-inspired GP extension |
| HQML-GP | Combines local GP features with expectation values obtained from a simulated differentiable quantum circuit | Hybrid quantum-classical GP extension |
3.5.1. MLP and Transformer baseline heads
The MLP head provides a simple non-token-mixing baseline. Given the frozen ViT patch token sequence , the tokens are first aggregated by global mean pooling (Eq. 13) [65,66]:
Where denotes the representation of patch token for sample . The pooled representation is subsequently processed by layer normalisation, a linear hidden layer, GELU activation, dropout, and a final linear classifier (Eq. 14):
Where , , , and . A dropout rate of 0.15 is used. Because token aggregation is performed before the feed-forward transformation, this head does not explicitly model interactions between individual patch tokens.
The Transformer head provides an attention-based token mixing baseline [52,53]. The frozen ViT patch tokens are first linearly projected from to the common model dimension (Eq. 15):
Where , , and is an -dimensional vector of ones used to broadcast the bias across all patch tokens. The projected sequence is then processed by a single Transformer encoder layer (Eq. 16):
Where denotes the trainable parameters of the Transformer encoder. The encoder uses four self-attention heads, a feed-forward dimension of 512, GELU activation, a dropout rate of 0.15, and batch-first processing. The resulting token representations are mean-pooled and passed through layer normalisation, dropout, and a final linear classifier (Eq. 17):
Where and . This head evaluates whether conventional self-attention-based token mixing improves classification relative to simple mean pooling under the same frozen-backbone protocol.
3.5.2. Grassmann–Plücker head
The Grassmann–Plücker (GP) head is designed to represent relational information between patch tokens through geometric subspace descriptors [25,67]. Given the frozen ViT token sequence , each token is first projected from to the common model dimension (Eq. 18):
Where , , and broadcasts the bias across all token positions. Within the GP mixing layer, the projected tokens are reduced to dimensions (Eq. 19):
Where . The reduced representation is divided into heads (Eq. 20):
Where . Token pairs are constructed using the predefined offset set: . For token position , the set of valid forward offsets is defined as (Eq. 21):
For each head , token position , and valid offset , the ordered pair is represented using its exterior product. When the two vectors are linearly independent, this representation corresponds to the two-dimensional subspace they span. The associated Plücker coordinate vector is defined component-wise as (Eq. 22):
The number of distinct Plücker coordinates produced by each head is . To reduce sensitivity to the magnitude of the two input vectors and improve numerical stability, each Plücker vector is -normalised (Eq. 23):
Where is a small numerical-stability constant. Each normalised Plücker vector is then projected to the per-head model dimension (Eq. 24):
Where . The geometric representations obtained from all valid offsets are averaged for each token and head (Eq. 25):
When is empty, the corresponding sum is defined as the zero vector. The head-specific geometric representations are subsequently concatenated (Eq. 26):
The geometric representation is fused with the original projected token representation using a learnable element-wise gate (Eq. 27):
Where denotes vector concatenation, is the element-wise sigmoid function, and denotes element-wise multiplication. The gate allows the model to adaptively balance the original token representation and its GP-derived geometric feature. The fused token is processed using a residual feed-forward transformation (Eq. 28, 29):
Where:
The resulting sequence is mean-pooled and passed to the final classifier (Eq. 30):
The classifier uses a hidden dimension of 512, a GELU activation, a dropout rate of 0.15, and C = 4 output classes. This architecture enables the GP head to combine the original ViT token information with explicit geometric representations of token pair relationships while retaining the common frozen-backbone comparison protocol.
3.5.3. Quantum-inspired Grassmann–Plücker head
The Quantum-inspired Grassmann–Plücker (QGP) head extends the standard GP head by enriching each normalized Plücker coordinate vector with amplitude-derived squared features. The complete computation remains classical and does not involve a quantum circuit or quantum hardware [67,68]. The input projection, dimensionality reduction, head partitioning, token pair construction, and Plücker coordinate computation are identical to those defined for the GP head. For each sample , token position , offset , and head , let: denote the -normalised Plücker vector, where . This vector is first mapped to a lower-dimensional amplitude representation (Eq. 31):
Where , , and . The resulting vector is -normalised (Eq. 32):
Where is a numerical-stability constant. A trainable linear transformation without bias is then applied to mix the amplitude components (Eq. 33):
Where . The mixed vector is normalised again (Eq. 34):
The element-wise squared amplitudes are subsequently scaled by a trainable scalar parameter , initialised to 0.03 (Eq. 35):
Before application of the scale parameter, the squared components are non-negative and sum to one whenever the normalisation denominator is determined by the vector norm rather than by . They are therefore interpreted as probability-like features rather than physical quantum measurement probabilities. The original normalised Plücker vector and the amplitude-derived feature vector are concatenated and projected to the per-head output dimension (Eq. 36, 37):
Where:
Because and , the concatenated representation has dimension 128. The QGP features are averaged over the valid offsets for each token and head (Eq. 38):
For token positions with no valid forward offset, the corresponding feature is defined as the zero vector. The head-specific representations are then concatenated (Eq. 39):
The resulting QGP representation replaces the standard GP feature in the gating, residual feedforward, mean pooling, and classification operations. The QGP head therefore preserves the geometric token mixing structure of the standard GP architecture while introducing a compact nonlinear enrichment of each Plücker representation.
3.5.4. Hybrid quantum-classical Grassmann–Plücker head
The Hybrid Quantum Machine Learning Grassmann–Plücker (HQML-GP) head combines the local geometric token representations of the standard GP head with a global feature vector produced by a small differentiable quantum circuit [67,69]. The input projection, dimensionality reduction, head partitioning, token pair construction, Plücker coordinate computation, and local GP aggregation. The quantum component therefore supplements the GP representation rather than replacing it. For each offset , define the set of token positions for which a valid forward pair exists as: . For each sample , head , and offset , the normalised Plücker coordinate vectors are averaged across all valid token positions (Eq. 40):
The resulting vectors are concatenated across all offsets and heads to form a global Plücker descriptor (Eq. 41):
With , , and , the global descriptor dimension is: . The global descriptor is mapped to bounded rotation angles (Eq. 42, 43):
Where:
The quantum circuit is implemented using PennyLane with the default.qubit simulator and differentiable Torch backpropagation. The circuit contains qubits initialised in the computational basis state . The input angles are encoded using single-qubit rotations. A single trainable variational layer subsequently applies one rotation and one rotation to each qubit, followed by a ring of controlled-NOT gates. The resulting quantum state can be written as (Eq. 44):
Where and are trainable circuit parameters and denotes the ring of CNOT gates connecting adjacent qubits, including the final connection from qubit Q to qubit 1. The circuit output is obtained by measuring the expectation value of the Pauli-Z operator on each qubit (Eq. 45):
The quantum output vector is therefore (Eq. 46):
The four expectation values are projected to the common model dimension: where , . The projected quantum feature is broadcast across all token positions and added to the standard GP representation using a trainable scalar (Eq. 47):
The scale parameter is initialised as: . The resulting hybrid representation replaces in the gating, residual feed-forward, mean pooling, and classification operations. Because the same global quantum feature is supplied to every token, the HQML-GP head combines local token pair geometry with sample-level global quantum circuit information. The quantum circuit is evaluated using a classical simulator. The HQML-GP head is therefore used to investigate whether circuit-derived nonlinear global features improve the GP representation, rather than to claim quantum computational advantage.
3.6. Training, model selection, and implementation
All classification heads were trained using the same optimization protocol to ensure a controlled comparison. For a mini-batch of B samples, the output logits of the selected head are converted to class probabilities using the SoftMax function (Eq. 48):
Where denotes the logit assigned to class c for sample i, is the corresponding predicted probability, and C = 4. The trainable parameters of each classification head were optimised using the categorical cross-entropy loss (Eq. 49):
The AdamW optimiser was used for all heads with a learning rate of and a weight-decay coefficient of . The batch size was fixed at 16, and training was conducted for a maximum of 20 epochs. Gradient clipping was applied using a maximum global gradient norm of 1.0 to reduce the risk of unstable parameter updates. Early stopping was based on validation macro-F1 rather than validation accuracy because the validation set retained its naturally imbalanced class distribution. Let denote the validation macro-F1 obtained at epoch . The selected checkpoint was defined as (Eq. 50):
Where is the number of epochs completed before early stopping. A patience of five epochs was used for the heads. The checkpoint corresponding to was subsequently evaluated on the seen-event and unseen-event test sets. The full experimental configuration is presented in Table 3, and the corresponding model-architecture settings are provided in Table 4. Automatic mixed precision was used for the classical heads but disabled for HQML-GP because its differentiable quantum circuit was evaluated through the PennyLane default.qubit simulator.
Table 3. Main experimental configuration.
| Component | Setting |
|---|---|
| Input size | |
| Input channels | |
| Damage classes | |
| Backbone | ViT-B/16 pretrained on ImageNet-21k |
| Hugging Face model | google/vit-base-patch16-224-in21k |
| Patch size | |
| Patch tokens | |
| ViT hidden dimension | |
| Frozen parameters | All ViT backbone parameters |
| Trainable parameters | Classification head only |
| Batch size | |
| Optimizer | AdamW |
| Learning rate |
| Weight decay | |
| Maximum epochs | 20 |
| Early stopping metric | Validation macro-F1 |
| Patience | 5 epochs |
| Dropout | 0.15 |
| Gradient clipping | Maximum norm 1.0 |
| Random seed | 42 |
| Data augmentation | None |
| Classical AMP | Enabled |
| Hybrid AMP | Disabled |
| Hardware | NVIDIA GeForce RTX 3090 |
Table 4. Head architecture configuration.
| Hyperparameter | Value |
|---|---|
| 768 | |
| 256 | |
| 512 | |
| 64 | |
| Number of heads | 4 |
| Number of GP/Transformer layers | 1 |
| GP offsets | 1, 2, 4, 8, 14, 28 |
| Reduced dimension per GP head | 16 |
| Plucker coordinates per head | 120 |
| QGP amplitude dimension per head | 8 |
| QGP scale initialization | 0.03 |
| HQML-GP qubits | 4 |
| HQML-GP quantum layers | 1 |
| HQML-GP global Plucker descriptor dimension | 2880 |
| HQML-GP quantum output dimension | 4 |
HQML-GP quantum scale initialization
0.015
3.7. Evaluation metrics
The checkpoint selected according to validation macro-F1 was evaluated independently on the seen-event and unseen-event test sets. Predictive performance was assessed using accuracy, balanced accuracy, macro precision, macro recall, class-specific F1, macro-F1, weighted-F1, and the multiclass Matthews correlation coefficient (MCC) [50,70,71]. Trainable parameter count, average training time per epoch, and inference time per image were also reported to compare computational efficiency [72,73]. For each damage class c, precision, recall, and F1 were calculated as (Eq. 51):
where , , and denote the true-positive, false-positive, and false-negative counts for class c, respectively. Overall accuracy was calculated as (Eq. 52):
Where C = 4 is the number of damage classes and N is the total number of evaluated samples.
Balanced accuracy was calculated as the unweighted mean of the class-specific recall values (Eq. 53):
Macro precision and macro recall were obtained by averaging the corresponding class-specific values across the four damage classes. In single-label multiclass classification, macro recall is mathematically equivalent to balanced accuracy. Macro-F1 gives equal importance to all classes, whereas weighted-F1 accounts for differences in class support (Eq. 54):
Where is the number of ground-truth samples belonging to class c. The multiclass MCC was calculated from the complete confusion matrix as (Eq. 55):
Where is the total number of correctly classified samples, is the total number of samples, is the number of samples predicted as class , and is the number of samples whose ground-truth label is class . MCC ranges from -1 to 1, with larger values indicating stronger agreement between predicted and observed labels.
The number of trainable parameters includes only parameters updated during optimisation and excludes the frozen ViT backbone. Average training time per epoch and inference time in milliseconds per image were measured using the computational configuration described in Section 3.6.
4. Results
4.1. Overall performance, cross-event generalisation
Table 5 summarises the validation, test set, and computational results for the MLP, Transformer, GP, QGP, and HQML-GP classification heads. All models were evaluated using the same frozen six-channel ViT-B/16 backbone, data partitions, optimisation procedure, checkpoint selection criterion, and evaluation protocol. The comparison therefore examines how the classification head design influences predictive performance and computational requirements under a common visual representation.
The best validation macro-F1 corresponds to the highest validation macro-F1 obtained during training and was used for checkpoint selection and early stopping. The HQML-GP head achieved the highest validation macro-F1 point estimate of 65.63%, followed by the QGP head at 65.04%, the GP head at 64.59%, the MLP head at 64.06%, and the Transformer head at 63.56%. The difference between the two leading models was therefore 0.59 percentage points. Although the HQML-GP head achieved the highest validation value, this advantage did not translate into the highest performance on either test set.
On the seen disaster test set, the QGP head achieved the highest accuracy (83.46%), macro precision (62.22%), macro-F1 (64.50%), weighted F1 (84.82%), and MCC (62.52%). The HQML-GP head produced closely comparable results, with an accuracy of 82.49%, macro-F1 of 64.40%, weighted F1 of 84.14%, and MCC of 61.36%. The macro-F1 difference between these two heads was only 0.10 percentage points, indicating that their overall class-balanced test performance was very similar under the reported experimental configuration.
The MLP head achieved the highest seen-disaster balanced accuracy at 70.29%, narrowly exceeding the GP head at 70.21% and the HQML-GP head at 69.92%. The QGP head did not achieve the highest balanced accuracy but obtained the highest macro precision and macro-F1. The standard GP head also remained competitive with the conventional baselines, slightly exceeding the MLP head in accuracy, weighted F1, and MCC, while achieving a balanced accuracy that differed by only 0.08 percentage points. These results show that standard GP token mixing provided competitive head-level adaptation, although it did not consistently outperform all conventional baselines.
Performance decreased for all models when evaluated on the unseen Tuscaloosa tornado, demonstrating the difficulty of transfer across disaster events. However, the QGP head achieved the highest unseen-event accuracy (66.45%), macro-F1 (52.70%), weighted F1 (70.00%), and MCC (40.27%). However, its macro-F1 exceeded that of the Transformer head by only 0.20 percentage points, showing that the difference between the two leading models was modest. The HQML-GP head achieved the second-highest accuracy (64.28%) and MCC (39.67%), whereas the standard GP head produced results broadly comparable to the MLP and Transformer baselines.
The Transformer head achieved the highest unseen-event balanced accuracy (62.17%) and macro precision (51.82%), indicating that no single classification head dominated every evaluation criterion. The QGP head provided the strongest point estimates for several overall metrics, whereas the Transformer retained an advantage in average class recall and macro precision on the held-out event. Consequently, the results support a differentiated interpretation: quantum-inspired enrichment was associated with the strongest overall point estimates on the test sets, while conventional attention remained competitive for class-balanced recognition.
Table 5: Validation, predictive, and computational performance of the conventional and proposed classification heads on the seen-disaster test set comprising the Joplin and Moore tornadoes and the unseen-disaster test set comprising the Tuscaloosa tornado. The highest value for each predictive metric is shown in bold.
| Model name | Test - Seen disasters (Joplin and Moore tornadoes) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Best Val.Macro F1 | Accuracy | BalancedAccuracy | Macro Precision | Macro Recall | Macro F1 | Weighted F1 | MCC (%) | Params trainable | Time per epoch | ms per image | |
| MLP head | 64.06 | 80.55 | 70.29 | 60.30 | 70.29 | 63.26 | 82.83 | 59.50 | 199,428 | 25.92s | 39.39 |
| Transformer attention head | 63.56 | 79.35 | 69.86 | 61.07 | 69.86 | 62.83 | 82.05 | 57.80 | 725,508 | 17.90s | 6.11 |
| GP head | 64.59 | 81.13 | 70.21 | 60.71 | 70.21 | 63.51 | 83.27 | 59.98 | 773,700 | 35.53s | 38.90 |
| Quantum-inspired GP head | 65.04 | 83.46 | 68.76 | 62.22 | 68.76 | 64.50 | 84.82 | 62.52 | 779,880 | 35.23s | 36.35 |
| Hybrid QML-GP head | 65.63 | 82.49 | 69.92 | 61.73 | 69.92 | 64.40 | 84.14 | 61.36 | 786,513 | 91.51s | 47.04 |
| Model name | Test - Unseen disaster (Tuscaloosa tornado) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Best Val.Macro F1 | Accuracy | BalancedAccuracy | Macro Precision | Macro Recall | Macro F1 | Weighted F1 | MCC (%) | Params trainable | Time per epoch | ms per image | |
| MLP head | - | 59.25 | 61.96 | 48.92 | 61.96 | 50.13 | 63.86 | 37.25 | 199,428 | 25.92s | 39.40 |
| Transformer attention head | - | 62.43 | 62.17 | 51.82 | 62.17 | 52.50 | 66.80 | 38.96 | 725,508 | 17.90s | 6.15 |
| GP head | - | 61.95 | 60.78 | 49.14 | 60.78 | 50.45 | 66.61 | 37.75 | 773,700 | 35.53s | 39.40 |
| Quantum-inspired GP head | - | 66.45 | 60.98 | 49.99 | 60.98 | 52.70 | 70.00 | 40.27 | 779,880 | 35.23s | 36.38 |
| Hybrid QML-GP head | - | 64.28 | 60.77 | 49.51 | 60.77 | 51.21 | 68.60 | 39.67 | 786,513 | 91.51s | 46.42 |
The MLP head contained the fewest trainable parameters, with 199,428 parameters, whereas the Transformer head contained 725,508 parameters and the QGP head contained 779,880 parameters. The Transformer head had the shortest reported training time per epoch at 17.90 s, followed by the MLP head at 25.92 s, the QGP head at 35.23 s, and the standard GP head at 35.53 s. The HQML-GP head required 91.51 s per epoch, reflecting the additional cost associated with the simulated differentiable quantum circuit. Under the timing procedure used in this study, the Transformer and QGP heads also recorded the lowest inference times, at approximately 6.1 and 6.4 ms per image, respectively. These timing values are implementation- and hardware-dependent and should therefore be interpreted together with the computational configuration reported in Section 3.6.
Overall, the results identify QGP as the strongest overall configuration achieving the highest point estimates for accuracy, macro-F1, weighted F1, and MCC on both the seen- and unseen-disaster test sets, while maintaining the second-lowest reported inference time. The HQML-GP head achieved the highest validation macro-F1 but did not surpass the QGP head on either test set or required substantially greater training time. The standard GP head remained competitive with the MLP and Transformer baselines but did not provide a consistent advantage across all metrics. Accordingly, under the fixed data split, random seed, and implementation used in this study, the results showed that the proposed quantum-inspired token mixer can use the same frozen visual representation more effectively than the matched Transformer attention head on several principal test metrics.
4.2. Class-specific performance and error analysis
Figure 2 presents representative pre- and post-disaster image pairs from the seen- and unseen-disaster test sets for the four damage classes. For each damage class and evaluation setting, the figure includes one sample correctly classified by all five heads and one sample misclassified by all five heads. The examples provide a qualitative illustration of damage patterns that produce either consistent agreement or shared difficulty across the evaluated classification heads.
The unanimously correct examples generally contain comparatively clear visual evidence. Destroyed buildings exhibit extensive structural loss, roof collapse, or widespread debris, whereas no-damage buildings retain visible structural continuity between the pre- and post-disaster images. The minor- and major-damage examples correctly classified by all five heads also contain relatively distinct changes in roof condition, debris distribution, or structural integrity. Agreement across all architectures in these cases indicates that the common frozen ViT representation contains sufficiently clear evidence for the downstream heads to reach the same correct decision.
The examples misclassified by all models tend to exhibit more visually ambiguous characteristics. In some cases, dust, debris, shadow, or changes in the surrounding area alter the post-disaster appearance even though damage to the target building is limited. Conversely, damage to a target structure may be visually subtle or partially obscured. These contextual and transitional patterns can lead the models to overestimate or underestimate the assigned damage severity. All five heads misclassify the selected examples, although they do not necessarily produce the same incorrect category in every case. The examples therefore illustrate shared failure conditions rather than proving that the underlying samples are intrinsically unclassifiable.
Seen disasters
Unseen disaster
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | No damage |
| GP | No damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | No damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Destroyed |
| GP | Destroyed |
| Quant. ins. GP | Destroyed |
| Hyb. QML-GP | Destroyed |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Destroyed |
| GP | Destroyed |
| Quant. ins. GP | Destroyed |
| Hyb. QML-GP | Destroyed |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | No damage |
| GP | No damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | No damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Destroyed |
| GP | Destroyed |
| Quant. ins. GP | Destroyed |
| Hyb. QML-GP | Destroyed |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | No damage |
| GP | No damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | No damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | No damage |
| GP | No damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | Minor damage |
Figure 2. Representative pre- and post-disaster image pairs from the seen-event and unseen-event test sets across the four damage classes. For each damage class and evaluation setting, one sample correctly classified by all five heads and one sample misclassified by all five heads are shown. Green entries indicate correct predictions, whereas red entries indicate incorrect predictions. The examples illustrate cases of consistent model agreement and shared classification difficulty rather than the frequency of such outcomes in the test sets.
The examples in Figure 2 are illustrative and should be interpreted together with the quantitative class-level results rather than as estimates of error frequency. Nevertheless, they indicate that remaining errors often involve intermediate or context-dependent damage patterns, where the visual condition of the target building may be difficult to separate from debris, damage, or surface changes in the surrounding area. Table 6 therefore examines whether these qualitative patterns are reflected in the class-specific F1 scores.
Table 6 reports the per-class F1 scores for the five classification heads on the seen- and unseen-disaster test sets. Across both evaluation settings, the no-damage and destroyed classes obtain substantially higher F1 scores than the minor- and major-damage classes. This pattern is common to all five architectures and indicates that the principal classification difficulty lies in distinguishing neighbouring intermediate damage states rather than separating visually intact buildings from severely destroyed structures. On the seen-disaster test set, the QGP head achieved the highest F1 scores for no damage at 92.4% and minor damage at 49.1%. The HQML-GP head achieved the highest destroyed-class F1 score at 77.9%, while the Transformer head achieved the highest major-damage F1 score at 42.1%. The standard GP head remained competitive but did not obtain the highest F1 score for any individual class. These results show that no single classification head dominated all four damage categories
Table 6: Per-class F1 scores (%) of the five classification heads on the seen-disaster and unseen-disaster test sets. Bold values identify the highest F1 score for each damage class and evaluation setting.
| Model name | Seen disasters | Unseen disaster | ||||||
|---|---|---|---|---|---|---|---|---|
| No damage | Minor | Major | Destroyed | No damage | Minor | Major | Destroyed | |
| MLP head | 90.2 | 45.8 | 39.6 | 77.5 | 70.8 | 40.4 | 30.4 | 59.0 |
| Transformer attention head | 89.4 | 43.3 | 42.1 | 76.5 | 74.1 | 41.8 | 32.8 | 61.3 |
| GP head | 90.8 | 44.4 | 41.2 | 77.6 | 74.5 | 40.7 | 27.1 | 59.5 |
| Quantum-inspired GP head | 92.4 | 49.1 | 39.1 | 77.3 | 78.4 | 43.0 | 28.6 | 60.8 |
| Hybrid QML-GP head | 91.6 | 47.2 | 41.0 | 77.9 | 76.8 | 43.2 | 26.6 | 58.2 |
Class-specific performance declined when the models were transferred to the unseen Tuscaloosa event. The QGP head retained the highest no-damage F1 score at 78.4%, while the HQML-GP head achieved the highest minor-damage F1 score at 43.2%, narrowly exceeding the QGP head at 43.0%. The Transformer head achieved the highest unseen-event F1 scores for major damage at 32.8% and destroyed buildings at 61.3%. These results again show that the relative advantage of each head depends on the damage category considered.
Major damage remained the weakest class across the evaluated architectures. On the unseen event, major-damage F1 ranged from 26.6% for HQML-GP to 32.8% for the Transformer head. This class also showed a substantial reduction relative to seen-event performance for every architecture. The result is consistent with the intermediate visual position of major damage, which may overlap with both partial damage and complete destruction, and with its limited representation in the evaluation data. Consequently, improvements in aggregate accuracy or macro-F1 do not necessarily imply reliable recognition of operationally important intermediate damage states.
Figure 3 provides further detail by presenting row-normalised confusion matrices for the five heads on both test sets. As each row represents one true class and sums to 100%, the diagonal entries correspond to class-specific recall. Across the architectures, most errors occur between neighbouring severity categories. No-damage buildings are primarily confused with minor damage, whereas major-damage buildings are frequently confused with destroyed structures. Direct confusion between no damage and destruction is comparatively uncommon.
On the seen-disaster test set, the QGP head achieved the highest no-damage recall at 89.2%. Recognition of destroyed buildings was also comparatively strong across all architectures, with recall exceeding 75% for every evaluated head. These results are consistent with the relatively high no-damage and destroyed-class F1 scores reported in Table 6, although recall and F1 should not be interpreted as equivalent measures.
The minor- and major-damage categories remained more difficult. The standard GP head achieved the highest seen-event major-damage recall at 61.8%, narrowly exceeding the Transformer head at 61.3%. However, the Transformer achieved the highest major-damage F1 score in Table 6. This difference indicates that the Transformer produced a more favourable balance between precision and recall, despite having a slightly lower recall than the standard GP head.
| Seen disasters | Unseen disaster | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| MLP head | No | Predicted | No | Predicted | Destroyed | |||||
| Minor | Major | Destroyed | Minor | Major | Destroyed | |||||
| 84.5%(2998) | 11.2%(396) | 2.5%(91) | 1.8%(64) | True | 56.7%(798) | 33.5%(471) | 6.5%(92) | 3.3%(46) | ||
| 21.1%(87) | 61.2%(252) | 15.0%(62) | 2.7%(11) | Minor | 14.2%(40) | 69.5%(196) | 11.0%(31) | 5.3%(15) | ||
| 4.3%(8) | 18.3%(34) | 58.6%(109) | 18.8%(35) | True | 6.7%(5) | 17.3%(13) | 53.3%(40) | 22.7%(17) | ||
| 1.4%(8) | 1.6%(7) | 20.1%(102) | 76.9%(390) | Destroyed | 4.1%(5) | 7.3%(9) | 20.3%(25) | 68.3%(84) | ||
| Transformer attention head | No | Predicted | No | Predicted | Destroyed | |||||
| Minor | Major | Destroyed | Minor | Major | Destroyed | |||||
| 83.3%(2956) | 13.7%(486) | 1.9%(67) | 1.1%(40) | True | 61.4%(864) | 31.1%(437) | 5.6%(79) | 1.9%(27) | ||
| 20.6%(85) | 63.8%(263) | 13.7%(56) | 1.9%(8) | Minor | 17.0%(48) | 69.5%(196) | 10.3%(29) | 3.2%(9) | ||
| 2.7%(5) | 22.0%(41) | 61.3%(114) | 14.0%(26) | True | 6.7%(5) | 20.0%(15) | 56.0%(42) | 17.3%(13) | ||
| 3.0%(15) | 2.5%(13) | 23.5%(119) | 71.0%(360) | Destroyed | 6.5%(8) | 6.5%(8) | 25.2%(31) | 61.8%(76) | ||
| GP head | No | Predicted | No | Predicted | Destroyed | |||||
| Minor | Major | Destroyed | Minor | Major | Destroyed | |||||
| 85.6%(3039) | 10.4%(369) | 2.5%(88) | 1.5%(53) | True | 62.0%(872) | 27.6%(388) | 7.7%(109) | 2.7%(38) | ||
| 22.3%(92) | 57.0%(235) | 17.0%(70) | 3.7%(15) | Minor | 17.4%(49) | 62.8%(177) | 15.2%(43) | 4.6%(13) | ||
| 2.7%(5) | 16.7%(31) | 61.8%(115) | 18.8%(35) | True | 6.7%(5) | 20.0%(15) | 53.3%(40) | 20.0%(15) | ||
| 1.8%(9) | 2.4%(12) | 19.5%(99) | 76.3%(387) | Destroyed | 5.7%(7) | 6.5%(8) | 22.8%(28) | 65.0%(80) | ||
| Quantum-inspired GP head | No | Predicted | No | Predicted | Destroyed | |||||
| Minor | Major | Destroyed | Minor | Major | Destroyed | |||||
| 89.2%(3164) | 7.7%(275) | 1.7%(59) | 1.4%(51) | True | 68.3%(961) | 23.2%(326) | 5.5%(77) | 3.0%(43) | ||
| 26.5%(109) | 58.0%(239) | 12.6%(52) | 2.9%(12) | Minor | 24.1%(68) | 61.7%(174) | 9.2%(26) | 5.0%(14) | ||
| 5.4%(10) | 21.4%(40) | 52.2%(97) | 21.0%(39) | True | 9.3%(7) | 24.0%(18) | 44.0%(33) | 22.7%(17) | ||
| 2.8%(14) | 1.4%(7) | 20.1%(102) | 75.7%(384) | Destroyed | 6.5%(8) | 7.3%(9) | 16.3%(20) | 69.9%(86) | ||
| Hybrid QML-GP head | No | Predicted | No | Predicted | Destroyed | |||||
| Minor | Major | Destroyed | Minor | Major | Destroyed | |||||
| 87.5%(3107) | 8.7%(309) | 2.2%(77) | 1.6%(56) | True | 65.2%(917) | 24.9%(350) | 7.3%(103) | 2.6%(37) | ||
| 26.0%(107) | 56.8%(234) | 14.8%(61) | 2.4%(10) | Minor | 18.1%(51) | 63.8%(180) | 13.5%(38) | 4.6%(13) | ||
| 4.3%(8) | 17.2%(32) | 58.6%(109) | 19.9%(37) | True | 6.7%(5) | 20.0%(15) | 50.7%(38) | 22.6%(17) | ||
| 2.8%(14) | 1.0%(5) | 19.5%(99) | 76.7%(389) | Destroyed | 5.7%(7) | 4.9%(6) | 26.0%(32) | 63.4%(78) | ||
Figure 3. Row-normalised confusion matrices for the MLP, Transformer, GP, QGP, and HQML-GP classification heads on the seen-event and unseen-event test sets. Rows indicate the true damage classes and columns indicate the predicted classes. Cell values report the percentage and number of samples assigned to each class, with each row normalised to 100%. Diagonal cells therefore represent class-specific recall, while off-diagonal cells show the distribution of misclassifications among no damage, minor damage, major damage, and destroyed.
The unseen-disaster confusion matrices reveal a substantial change in class-specific behaviour. Recall decreases for the no-damage, major-damage, and destroyed classes across the evaluated heads, whereas minor-damage recall increases. The increase in minor-damage recall does not produce a corresponding improvement in minor-damage F1 because a larger number of no-damage buildings are also predicted as minor damage, reducing precision. The most pronounced shift therefore occurs along the boundary between no damage and minor damage.
For example, the MLP head correctly classified 84.5% of no-damage buildings on the seen-disaster test set but only 56.7% on the unseen event, with approximately one-third of unseen no-damage samples classified as minor damage. The QGP head retained the highest unseen-event no-damage recall at 68.3%, followed by HQML-GP at 65.2%. QGP also achieved the highest destroyed-class recall at 69.9%. Major-damage recall remained below 60% for every architecture on the unseen event, confirming that this class was the least stable under cross-event transfer.
Overall, Table 6 and Figure 3 identify two consistent patterns. First, no-damage and destroyed buildings are recognised more reliably than the intermediate minor- and major-damage categories. Second, transfer to the unseen Tuscaloosa event substantially increases confusion between adjacent severity levels, particularly between no damage and minor damage and between major damage and destruction. QGP achieved the strongest unseen-event recall for the no-damage and destroyed classes, but the GP-based heads did not consistently outperform the conventional baselines across every class. The principal unresolved challenge is therefore reliable discrimination of transitional damage states under event-to-event variation.
4.3. Model-specific qualitative assessment
Figure 4 presents representative cases in which exactly one of the five classification heads correctly predicts the ground-truth damage class, while the remaining four heads agree on the same incorrect class. The rows correspond, from top to bottom, to cases uniquely resolved by the MLP, Transformer, GP, QGP, and HQML-GP heads, respectively. The columns correspond to the four damage classes: no damage, minor damage, major damage, and destroyed. Unlike Figure 2, which illustrates samples on which all five heads either succeed or fail, Figure 4 isolates cases in which the choice of classification head changes the final prediction.
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | Minor damage |
| GP | Major damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | No damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | Minor damage |
| GP | No damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | No damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Major damage |
| GP | Destroyed |
| Quant. ins. GP | Destroyed |
| Hyb. QML-GP | Destroyed |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Destroyed |
| GP | Major damage |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | No damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | No damage |
| GP | Minor damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | No damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Minor damage |
| GP | Major damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Minor damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Destroyed |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Major damage |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | Minor damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | Major damage |
| GP | Major damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Major damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Destroyed |
| Transf. Att. | Destroyed |
| GP | Destroyed |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Destroyed |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)
| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Major dam- |
| Quant. ins. GP | Destroyed |
| Hyb. QML-GP | Major damage |
Label: NO DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | No damage |
Label: MINOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | No damage |
| Transf. Att. | No damage |
| GP | No damage |
| Quant. ins. GP | No damage |
| Hyb. QML-GP | Minor damage |
Label: MAJOR DAMAGE
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Minor damage |
| Transf. Att. | Minor damage |
| GP | Minor damage |
| Quant. ins. GP | Minor damage |
| Hyb. QML-GP | Major damage |
Label: DESTROYED
T0
T1
(Pre-disaster)
(Post-disaster)

| Model | Prediction |
|---|---|
| MLP | Major damage |
| Transf. Att. | Major damage |
| GP | Major dam- |
| Quant. ins. GP | Major damage |
| Hyb. QML-GP | Destroyed |
Figure 4. Representative uniquely correct predictions produced by the five classification heads. From top to bottom, the rows correspond to cases uniquely classified correctly by the MLP,
Transformer, GP, QGP, and HQML-GP heads, respectively, while the other four heads misclassified the same sample. From left to right, the columns show examples from the no-damage, minor-damage, major-damage, and destroyed classes. Green entries indicate correct predictions and red entries indicate incorrect predictions. The examples illustrate model-specific decision differences over the shared frozen ViT representation and should be interpreted qualitatively rather than as evidence of systematic superiority.
Figure 4 shows that each classification head correctly resolves some samples that are misclassified by the other four heads. This pattern is observed not only for the proposed GP-based heads but also for the conventional MLP and Transformer baselines. The examples therefore do not indicate that one architecture is uniformly superior. Instead, they demonstrate that different head-level aggregation mechanisms can produce different decisions from the same frozen ViT token representation.
Several uniquely correct predictions occur in samples with visually subtle differences between neighbouring damage levels. This is particularly evident for the minor- and major-damage examples, where localised roof alteration, partial debris accumulation, surrounding destruction, or incomplete structural loss can support more than one plausible severity interpretation. In these cases, one head identifies the ground-truth class while the remaining heads jointly overestimate or underestimate the damage level. This qualitative pattern is consistent with the class-specific results in Table 6 and the confusion matrices in Figure 3, which identify adjacent-category confusion as the principal source of error.
Model-specific successes are also observed for the no-damage and destroyed classes. These examples suggest that differences among the heads may affect how evidence from the target building and its surrounding context is aggregated. However, the figure alone cannot establish which visual features caused a particular prediction or whether one head extracted additional information unavailable to the others. These examples therefore highlight differences in model behaviour under visually ambiguous conditions, rather than providing direct evidence of a specific internal representational mechanism.
Overall, Figure 4 indicates that no classification head is correct for every difficult case. The MLP, Transformer, GP, QGP, and HQML-GP heads each produce uniquely correct predictions for selected examples, suggesting that they form partially different decision boundaries over the shared frozen representation.
5. Discussion
The standard GP head produced competitive results relative to the MLP and Transformer baselines but did not consistently outperform them. On the seen-disaster test set, GP slightly exceeded the MLP in accuracy, weighted F1, and MCC and achieved a balanced accuracy close to the best-performing value. However, its unseen-event macro-F1 was lower than that of the Transformer and QGP heads. These findings indicate that explicitly representing token pair relationships through Plücker coordinates provides a viable alternative to mean pooling and self-attention, but the present evidence does not establish standard GP token mixing as uniformly superior to conventional aggregation mechanisms. Its primary contribution is therefore the introduction of a geometry-aware head-level representation that remains competitive under a controlled frozen-backbone comparison.
Among the evaluated architectures, QGP achieved the strongest point estimates on the overall test sets. On the seen-disaster test set, it obtained the highest accuracy, macro precision, macro-F1, weighted F1, and MCC. It also achieved the highest accuracy, macro-F1, weighted F1, and MCC on the held-out Tuscaloosa event. Relative to standard GP, QGP increased macro-F1 by 0.99 percentage points on the seen-disaster set and 2.25 percentage points on the unseen-disaster set. These results suggest that enriching normalised Plücker coordinates with amplitude-derived probability features may support more effective use of the geometric token representation under the reported experimental configuration. Furthermore, a component-level ablation would help quantify the individual contributions of amplitude normalisation, probability feature construction, and learnable feature scaling.
The class-specific findings provide a more differentiated interpretation of QGP performance. QGP achieved the highest no-damage F1 score in both evaluation settings and the highest minor-damage F1 on the seen-disaster test set. On the unseen event, HQML-GP achieved the highest minor-damage F1, although its advantage over QGP was only 0.2 percentage points. The Transformer head achieved the highest major-damage F1 on both test sets and the highest destroyed-class F1 on the unseen event. It also achieved the highest unseen-event balanced accuracy and macro precision. No single classification head therefore dominated every metric or damage category. QGP provided the strongest overall point estimates, while conventional self-attention remained particularly competitive for major-damage recognition and average class-level recall.
The behaviour of HQML-GP further clarifies the contribution of the simulated quantum circuit component. HQML-GP achieved the highest validation macro-F1, exceeding QGP by 0.59 percentage points, but this advantage did not transfer to either test set. It did not surpass QGP in overall seen- or unseen-event performance and required substantially greater training time because the differentiable quantum circuit was evaluated using a classical simulator. Under the present configuration, the addition of quantum circuit derived expectation values therefore provided no clear benefit on the test sets beyond the fully classical QGP representation. This finding does not rule out the potential value of alternative quantum encodings, circuit structures, or integration strategies, but it shows that greater architectural complexity did not automatically yield better predictive performance. A more pronounced pattern emerged across the damage categories than across the model architectures. All heads classified no-damage and destroyed buildings more successfully than minor- and major-damage buildings. The confusion matrices showed that errors occurred primarily between neighbouring severity levels. No-damage buildings were commonly confused with minor damage, while major-damage buildings were frequently confused with destroyed structures. Direct confusion between intact and destroyed buildings was comparatively uncommon. These results reflect the visual and semantic ambiguity of intermediate damage states, where localised roof alteration, partial structural loss, debris, shadow, surrounding destruction, and image-acquisition conditions can support more than one plausible class interpretation. Major damage was the least stable class under transfer to Tuscaloosa. Although the standard GP head achieved the highest seen-event major-damage recall, the Transformer achieved the highest major-damage F1, indicating a more favourable balance between precision and recall. On the unseen event, major-damage F1 remained low for every architecture. This suggests that the central unresolved problem is not merely the selection of a stronger classification head, but the reliable representation and labelling of transitional damage states under event-to-event variation. Given the ordinal structure of the four damage categories, standard cross-entropy treats all misclassifications equally and therefore does not distinguish between adjacent-class errors and more severe errors spanning multiple damage levels. Confusing major damage with destruction is not equivalent to confusing major damage with no damage, yet both errors receive the same penalty in the current objective.
All models experienced substantial performance degradation on the held-out Tuscaloosa tornado. QGP retained the highest overall accuracy, macro-F1, weighted F1, and MCC, but its unseen-event macro-F1 exceeded that of the Transformer by only 0.20 percentage points. Furthermore, the Transformer achieved higher balanced accuracy and macro precision on the same event. The results therefore support the conclusion that QGP was competitive and achieved the strongest overall point estimates on Tuscaloosa, rather than establishing general cross-disaster robustness. Evaluation on a single held-out tornado cannot determine whether the observed ranking would remain stable across other tornadoes, geographic regions, hazard types, building typologies, or image-acquisition conditions. The qualitative analyses reinforce this interpretation. Figure 2 shows that all heads succeed when damage evidence is visually clear and can fail together when the target building is affected by ambiguous local or contextual features. Figure 4 further demonstrates that each architecture can correctly resolve selected cases misclassified by the other heads. These examples indicate that the MLP, Transformer, GP, QGP, and HQML-GP heads form partially different decision boundaries over the same frozen representation. However, the selected images are illustrative examples and do not establish how frequently each architecture produces uniquely correct predictions. The quantitative results in Tables 5 and 6 therefore remain the primary evidence for comparing the evaluated heads. From a computational perspective, head-level adaptation avoids updating the full ViT backbone and limits trainable parameters to the classification component. Within this protocol, the MLP remained the smallest head, while the GP-based heads required fewer than 0.8 million trainable parameters. QGP achieved the most favourable observed balance between overall predictive performance and the reported computational cost, whereas HQML-GP incurred substantially longer training time without improving test performance over QGP. The reported inference-time differences should nevertheless be interpreted cautiously because they are implementation- and hardware-dependent, and mixed precision was disabled for HQML-GP but enabled for the classical heads.
6. Conclusions
This study introduced three geometry-aware classification heads—Grassmann–Plücker token mixing (GP), Quantum-inspired Grassmann–Plücker token mixing (QGP), and Hybrid Quantum Machine Learning Grassmann–Plücker token mixing (HQML-GP)—for four-class building damage assessment from paired pre- and post-disaster satellite imagery. All heads were evaluated using the common frozen six-channel ViT-B/16 encoder applied to paired pre- and post-disaster xBD tornado imagery, under identical data partitions, optimisation procedure, checkpoint selection criterion, and evaluation protocol. This controlled design isolated differences among the head architectures while holding the frozen visual representation constant.
Quantum-inspired enrichment produced a further and consistent gain. QGP led five of six aggregate metrics on the seen-event test set and four of six on the held-out Tuscaloosa tornado. Its advantage was concentrated where it matters operationally: the highest recall on both no-damage and destroyed buildings under event transfer. The geometric properties of the construction are relevant to this behaviour. To our knowledge this is the first demonstration on a real remote sensing benchmark that a quantum-inspired token mixing operator outperforms a self-attention module of comparable size under an identical frozen representation and a fully matched training protocol.
HQML-GP achieved the highest validation macro-F1, confirming that differentiable quantum circuit features can be integrated successfully with Grassmann–Plücker token mixing. However, this validation advantage did not translate into superior test performance relative to QGP, while the simulated quantum circuit incurred substantially greater training cost. The findings therefore do not support additional hybrid quantum–classical complexity as automatically beneficial. Instead, they position HQML-GP as a promising exploratory extension and identify the fully classical QGP formulation as the more effective configuration under the present experimental conditions.
More broadly, the results provide a cautious but practically relevant perspective on the role of quantum and quantum-inspired learning within contemporary computer vision systems. Quantum and hybrid quantum–classical models have not yet demonstrated consistent superiority over strong classical deep learning methods for large-scale classical data, owing to challenges associated with data encoding, circuit trainability, scalability, hardware noise, and the computational cost of quantum simulation [74-77]. Rather than attempting to replace an established vision transformer architecture, this study introduced quantum-inspired and hybrid quantum–classical operations selectively within the classification head. Under this controlled protocol, QGP outperformed both standard GP and the conventional Transformer head while maintaining comparable inference efficiency. HQML-GP further demonstrated the feasibility of injecting quantum circuit expectation values into geometric token representations, although its additional complexity did not produce stronger test generalisation. These findings support lightweight and targeted quantum-inspired enrichment of strong classical representations as a more immediately practical direction than end-to-end replacement of mature deep learning architectures.
The results also reveal important unresolved challenges. Performance declined substantially on the held-out disaster, and all models continued to experience difficulty distinguishing visually ambiguous intermediate damage states. The findings are further bounded by the use of one fixed split, a single random seed, and one unseen tornado event. Future research should assess run-to-run variability across multiple seeds, extend evaluation through multi-event and leave-one-event-out experiments, and conduct component-level ablations to quantify the contributions of GP offsets, amplitude normalisation, probability feature construction, feature scaling, and quantum circuit configuration. Ordinal and imbalance-aware objectives, parameter-efficient backbone adaptation, predictive uncertainty, calibration, and comparisons between hybrid circuits and classical modules of comparable complexity also warrant investigation.
DATA STATEMENT
All data used in this study are publicly available through the xBD dataset.
CRediT author statement
K. Farahkhah, U. Lagap: Methodology, Visualization, Validation, Formal analysis, Data curation, Writing-Original Draft; T. Rezaei: Visualization, Writing-Original Draft; Writing-
Reviewing and Editing, Supervision; S. Ghaffarian: Conceptualization, Methodology, Writing-Reviewing and Editing, Supervision, Project administration
DECLARATION OF COMPETING INTERESTS
The authors declare that they have no known competing financial interests or personal relationships that could have influenced the work reported in this paper.
DECLARATION OF GENERATIVE AI USE
The authors used ChatGPT by OpenAI solely for language editing and proofreading. The authors reviewed and edited the output and take full responsibility for the content of this publication.
References:
[1] Ge J, Tang H, Yang N, Hu Y. Rapid identification of damaged buildings using incremental learning with transferred data from historical natural disaster cases. ISPRS Journal of Photogrammetry and Remote Sensing 2023;195:105–28. https://doi.org/10.1016/j.isprsjprs.2022.11.010.
[2] Zheng Z, Zhong Y, Wang J, Ma A, Zhang L. Building damage assessment for rapid disaster response with a deep object-based semantic change detection framework: From natural disasters to man-made disasters. Remote Sens Environ 2021;265. https://doi.org/10.1016/j.rse.2021.112636.
[3] Lozano JM, Tien I. Data collection tools for post-disaster damage assessment of building and lifeline infrastructure systems. International Journal of Disaster Risk Reduction 2023;94. https://doi.org/10.1016/j.ijdrr.2023.103819.
[4] Voigt S, Kemper T, Riedlinger T, Kiefl R, Scholte K, Mehl H. Satellite image analysis for disaster and crisis-management support. IEEE Transactions on Geoscience and Remote Sensing 2007;45:1520–8. https://doi.org/10.1109/TGRS.2007.895830.
[5] Dong L, Shan J. A comprehensive review of earthquake-induced building damage detection with remote sensing techniques. ISPRS Journal of Photogrammetry and Remote Sensing 2013;84:85–99. https://doi.org/10.1016/j.isprsjprs.2013.06.011.
[6] Shane Crawford P, Hainen AM, Graettinger AJ, van de Lindt JW, Powell L. Discrete-Outcome Analysis of Tornado Damage Following the 2011 Tuscaloosa, Alabama, Tornado. Nat Hazards Rev 2020;21. https://doi.org/10.1061/(asce)nh.1527-6996.0000396.
[7] Egnew AC, Asce SM, Roueche DB, Asce AM, Prevatt DO, Asce F. Linking Building Attributes and Tornado Vulnerability Using a Logistic Regression Model 2018. https://doi.org/10.1061/(ASCE).
[8] Kopp GA, Wu CH. A framework to compare wind loads on low-rise buildings in tornadoes and atmospheric boundary layers. Journal of Wind Engineering and Industrial Aerodynamics 2020;204. https://doi.org/10.1016/j.jweia.2020.104269.
[9] Braik AM, Koliou M. Automated building damage assessment and large-scale mapping by integrating satellite imagery, GIS, and deep learning. Computer-Aided Civil and Infrastructure Engineering 2024;39:2389–404. https://doi.org/10.1111/mice.13197.
[10] Braik AM, Koliou M. Post-tornado automated building damage evaluation and recovery prediction by integrating remote sensing, deep learning, and restoration models. Sustain Cities Soc 2025;123. https://doi.org/10.1016/j.scs.2025.106286.
[11] Liu C, Sepasgozar SME, Zhang Q, Ge L. A novel attention-based deep learning method for post-disaster building damage classification. Expert Syst Appl 2022;202. https://doi.org/10.1016/j.eswa.2022.117268.
[12] Xiao Y, Mostafavi A. DamageCAT: A deep learning transformer framework for typology-based post-disaster building damage categorization. International Journal of Disaster Risk Reduction 2025;128. https://doi.org/10.1016/j.ijdrr.2025.105704.
[13] Gupta R, Goodman B, Patel N, Hosfelt R, Sajeev S, Heim E, et al. Creating xBD: A Dataset for Assessing Building Damage from Satellite Imagery. n.d.
[14] Su J, Bai Y, Wang X, Lu D, Zhao B, Yang H, et al. Technical solution discussion for key challenges of operational convolutional neural network-based building-damage assessment from satellite imagery: Perspective from benchmark XBD dataset. Remote Sens (Basel) 2020;12:1–25. https://doi.org/10.3390/rs12223808.
[15] Wang Y, Chew AWZ, Zhang L. Building damage detection from satellite images after natural disasters on extremely imbalanced datasets. Autom Constr 2022;140. https://doi.org/10.1016/j.autcon.2022.104328.
[16] Xia H, Wu J, Yao J, Zhu H, Gong A, Yang J, et al. A Deep Learning Application for Building Damage Assessment Using Ultra-High-Resolution Remote Sensing Imagery in Turkey Earthquake. International Journal of Disaster Risk Science 2023;14:947–62. https://doi.org/10.1007/s13753-023-00526-6.
[17] Soleimani R, Soleimani-Babakamali MH, Meng S, Avci O, Taciroglu E. Computer vision tools for early post-disaster assessment: Enhancing generalizability. Eng Appl Artif Intell 2024;136. https://doi.org/10.1016/j.engappai.2024.108855.
[18] Qiu C, Zhang X, Tong X, Guan N, Yi X, Yang K, et al. Few-shot remote sensing image scene classification: Recent advances, new baselines, and future trends. ISPRS Journal of Photogrammetry and Remote Sensing 2024;209:368–82. https://doi.org/10.1016/j.isprsjprs.2024.02.005.
[19] Luo M, Zan Y, Khoshelham K, Ji S. Domain generalization for semantic segmentation of remote sensing images via vision foundation model fine-tuning. ISPRS Journal of Photogrammetry and Remote Sensing 2025;230:126–46. https://doi.org/10.1016/j.isprsjprs.2025.09.004.
[20] Kaur N, Lee CC, Mostafavi A, Mahdavi-Amiri A. Large-scale building damage assessment using a novel hierarchical transformer architecture on satellite images. Computer-Aided Civil and Infrastructure Engineering 2023;38:2072–91. https://doi.org/10.1111/mice.12981.
[21] Amini K, Liu Y, Padgett JE, Balakrishnan G, Veeraraghavan A. Debris segmentation using post-hurricane aerial imagery. Computer-Aided Civil and Infrastructure Engineering 2025;40:4116–31. https://doi.org/10.1111/mice.70033.
[22] Zhang K, Zhao X, Zhang F, Ding L, Sun J, Bruzzone L. Relation Changes Matter: Cross-Temporal Difference Transformer for Change Detection in Remote Sensing Images. IEEE Transactions on Geoscience and Remote Sensing 2023;61. https://doi.org/10.1109/TGRS.2023.3281711.
[23] Gao Z, Xie J, Wang Q, Li P. Global Second-order Pooling Convolutional Networks 2018.
[24] Harandi MT, Salzmann M, Jayasumana S, Hartley R, Li H. LNCS 8695 - Expanding the Family of Grassmannian Kernels: An Embedding Perspective. 2014.
[25] Chong Z. Attention Is Not What You Need 2025.
[26] Zhao F, Zhang C, Zhang R, Wang T. Visual Prompt Learning of Foundation Models for Post-Disaster Damage Evaluation. Remote Sens (Basel) 2025;17. https://doi.org/10.3390/rs17101664.
[27] Yang S, Peng B, Sui T, Wu M, Huang Q. Advancing Self-Supervised Learning for Building Change Detection and Damage Assessment: Unified Denoising Autoencoder and Contrastive Learning Framework. Remote Sens (Basel) 2025;17. https://doi.org/10.3390/rs17152717.
[28] Shao J, Tang L, Liu M, Shao G, Sun L, Qiu Q. BDD-net: A general protocol for mapping buildings damaged by a wide range of disasters based on satellite imagery. Remote Sens (Basel) 2020;12. https://doi.org/10.3390/rs12101670.
[29] Havlíček V, Córcoles AD, Temme K, Harrow AW, Kandala A, Chow JM, et al. Supervised learning with quantum-enhanced feature spaces. Nature 2019;567:209–12. https://doi.org/10.1038/s41586-019-0980-2.
[30] Schuld M, Killoran N. Quantum Machine Learning in Feature Hilbert Spaces. Phys Rev Lett 2019;122. https://doi.org/10.1103/PhysRevLett.122.040504.
[31] Tsakiris MC. Low-Rank Matrix Completion Theory via Plücker Coordinates. IEEE Trans Pattern Anal Mach Intell 2023;45:10084–99. https://doi.org/10.1109/TPAMI.2023.3250325.
[32] Ghaffarian S, Valente J, Van Der Voort M, Tekinerdogan B. Effect of attention mechanism in deep learning-based remote sensing image processing: A systematic literature review. Remote Sens (Basel) 2021;13. https://doi.org/10.3390/rs13152965.
[33] Lagap U, Ghaffarian S. Digital twin-enabled post-disaster damage and recovery monitoring with deep learning: leveraging transfer learning, attention mechanisms, and explainable AI. Geomatics, Natural Hazards and Risk 2025;16. https://doi.org/10.1080/19475705.2025.2485329.
[34] Zhong C, Cheng S, Kasoar M, Arcucci R. Reduced-order digital twin and latent data assimilation for global wildfire prediction. Natural Hazards and Earth System Sciences 2023;23:1755–68. https://doi.org/10.5194/nhess-23-1755-2023.
[35] Talaat FM, ZainEldin H. An improved fire detection approach based on YOLO-v8 for smart cities. Neural Comput Appl 2023;35:20939–54. https://doi.org/10.1007/s00521-023-08809-1.
[36] Chaudhuri N and Bose. Application of Image Analytics for Disaster Response in Smart Cities. n.d.
[37] Ahmed I, Ahmad M, Jeon G, Chehri A. An Internet of Things and AI-Powered Framework for Long-Term Flood Risk Evaluation. IEEE Internet Things J 2024;11:3812–9. https://doi.org/10.1109/JIOT.2023.3308564.
[38] Valentijn T, Margutti J, van den Homberg M, Laaksonen J. Multi-hazard and spatial transferability of a CNN for automated building damage assessment. Remote Sens (Basel) 2020;12:1–29. https://doi.org/10.3390/rs12172839.
[39] Zhang Y, Yang G, Gao A, Lv W, Xie R, Huang M, et al. An efficient change detection method for disaster-affected buildings based on a lightweight residual block in high-resolution remote sensing images. Int J Remote Sens 2023;44:2959–81. https://doi.org/10.1080/01431161.2023.2214274.
[40] Deng L, Wang Y. Post-disaster building damage assessment based on improved U-Net. Sci Rep 2022;12. https://doi.org/10.1038/s41598-022-20114-w.
[41] Lagap U, Ghaffarian S, Gelinas-Gagne S, Jilma J, Liu Z, Luo Z. Towards reliable deep learning for post-disaster damage Assessment: An XAI-based evaluation. International Journal of Disaster Risk Reduction 2025;130. https://doi.org/10.1016/j.ijdrr.2025.105839.
[42] Hertel V, Wani O, Geiß C, Wieland M, Taubenböck H. BayeSiamMTL: Uncertainty-aware multitask learning for post-disaster building damage assessment. International Journal of Applied Earth Observation and Geoinformation 2025;143. https://doi.org/10.1016/j.jag.2025.104759.
[43] Womble JA, Wood RL, Mohammadi ME. Multi-scale remote sensing of tornado effects. Front Built Environ 2018;4. https://doi.org/10.3389/fbuil.2018.00066.
[44] Cotrufo S, Sandu C, Giulio Tonolo F, Boccardo P. Building damage assessment scale tailored to remote sensing vertical imagery. Eur J Remote Sens 2018;51:991–1005. https://doi.org/10.1080/22797254.2018.1527662.
[45] Weber E, Kané H. Building Disaster Damage Assessment in Satellite Imagery with Multi-Temporal Fusion 2020.
[46] Gupta R, Shah M. RescueNet: Joint building segmentation and damage assessment from satellite imagery. Proceedings - International Conference on Pattern Recognition, Institute of Electrical and Electronics Engineers Inc.; 2020, p. 4405–11. https://doi.org/10.1109/ICPR48806.2021.9412295.
[47] Ghaffarian S, Kerle N, Pasolli E, Arsanjani JJ. Post-disaster building database updating using automated deep learning: An integration of pre-disaster OpenStreetMap and multi-temporal satellite data. Remote Sens (Basel) 2019;11. https://doi.org/10.3390/rs11202427.
[48] Shen Y, Zhu S, Yang T, Chen C, Pan D, Chen J, et al. BDANet: Multiscale Convolutional Neural Network with Cross-Directional Attention for Building Damage Assessment from Satellite Images. IEEE Transactions on Geoscience and Remote Sensing 2022;60. https://doi.org/10.1109/TGRS.2021.3080580.
[49] Oludare V, Kezebou L, Jinadu O, Panetta K, Agaian SS. Attention-based two-stream high-resolution networks for building damage assessment from satellite imagery, SPIE-Intl Soc Optical Eng; 2022, p. 27. https://doi.org/10.1117/12.2618901.
[50] Sokolova M, Lapalme G. A systematic analysis of performance measures for classification tasks. Inf Process Manag 2009;45:427–37. https://doi.org/10.1016/j.ipm.2009.03.002.
[51] Bouchard I, Rancourt MÈ, Aloise D, Kalaitzis F. On Transfer Learning for Building Damage Assessment from Satellite Imagery in Emergency Contexts. Remote Sens (Basel) 2022;14. https://doi.org/10.3390/rs14112532.
[52] Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, et al. Attention Is All You Need. arXiv.
[53] Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, et al. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 2021.
[54] Chen H, Qi Z, Shi Z. Remote Sensing Image Change Detection with Transformers. IEEE Transactions on Geoscience and Remote Sensing 2022;60. https://doi.org/10.1109/TGRS.2021.3095166.
[55] Bandara WGC, Patel VM. A Transformer-Based Siamese Network for Change Detection. International Geoscience and Remote Sensing Symposium (IGARSS), vol. 2022- July, Institute of Electrical and Electronics Engineers Inc.; 2022, p. 207–10. https://doi.org/10.1109/IGARSS46834.2022.9883686.
[56] Zhu X, Liang D, Jiang X, Guan Y, Liu Y, Zhu Y, et al. Layerlink: Bridging remote sensing object detection and large vision models with efficient fine-tuning. Pattern Recognit 2025;165. https://doi.org/10.1016/j.patcog.2025.111583.
[57] Liu B Di, Shao S, Zhao C, Xing L, Liu W, Cao W, et al. Few-shot image classification via hybrid representation. Pattern Recognit 2024;155. https://doi.org/10.1016/j.patcog.2024.110640.
[58] Ahn J, Jung H. A Self-Attention Classifier Head for Improved Image Classification and Interpretability of ViT. Electron Lett 2025;61. https://doi.org/10.1049/ell2.70478.
[59] Harandi M, Hartley R, Shen C, Lovell B, Sanderson C. Extrinsic Methods for Coding and Dictionary Learning on Grassmann Manifolds. Int J Comput Vis 2015;114:113–36. https://doi.org/10.1007/s11263-015-0833-x.
[60] Huang Z, Wu J. Building Deep Networks on Grassmann Manifolds. n.d.
[61] Biamonte J, Wittek P, Pancotti N, Rebentrost P, Wiebe N, Lloyd S. Quantum machine learning. Nature 2017;549:195–202. https://doi.org/10.1038/nature23474.
[62] Mari A, Bromley TR, Izaac J, Schuld M, Killoran N. Transfer learning in hybrid classical-quantum neural networks. Quantum 2020;4. https://doi.org/10.22331/Q-2020-10-09-340.
[63] Felser T, Trenti M, Sestini L, Gianelle A, Zuliani D, Lucchesi D, et al. Quantum-inspired machine learning on high-energy physics data. Npj Quantum Inf 2021;7. https://doi.org/10.1038/s41534-021-00443-w.
[64] Google. google/vit-base-patch16-224-in21k: Vision Transformer (base-sized model) pretrained on ImageNet-21k. Hugging Face 2026.
[65] Rumelhart DE, Hinton GE, Williams RJ. Learning representations by back-propagating errors. Nature 1986;323:533–6. https://doi.org/10.1038/323533a0.
[66] Kurt H. Multilayer Feedforward Networks are Universal Approximators. Neural Networks 1989. https://doi.org/10.1016/0893-6080(89)90020-8.
[67] Nieto JA. Duality, matroids, qubits, twistors, and surreal numbers. Front Phys 2018;6. https://doi.org/10.3389/fphy.2018.00106.
[68] Huynh L, Hong J, Mian A, Suzuki H, Wu Y, Camtepe S. Quantum-Inspired Machine Learning: a Survey 2023.
[69] Lauve A. Quantum- and quasi-Plücker coordinates. J Algebra 2006;296:440–61. https://doi.org/10.1016/j.jalgebra.2005.12.004.
[70] Opitz J. A Closer Look at Classification Evaluation Metrics and a Critical Reflection of Common Evaluation Practice n.d. https://doi.org/10.1162/tacl.
[71] Gorodkin J. Comparing two K-category assignments by a K-category correlation coefficient. Comput Biol Chem 2004;28:367–74. https://doi.org/10.1016/j.compbiolchem.2004.09.006.
[72] Dodge J, Gururangan S, Card D, Schwartz R, Smith NA. Show Your Work: Improved Reporting of Experimental Results. In: Inui K, Jiang J, Ng V, Wan X, editors. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Hong Kong, China: Association for Computational Linguistics; 2019, p. 2185–94. https://doi.org/10.18653/v1/D19-1224.
[73] Alfredo Canziani, Eugenio Culurciello, Adam Paszke. Evaluation of Neural Network Architectures for Embedded Systems. IEEE Xplore 2017.
[74] Bowles J, Ahmed S, Schuld M. Better than classical? The subtle art of benchmarking quantum machine learning models. arXiv 2024. https://doi.org/10.48550/arXiv.2403.07059.
[75] Cerezo M, Arrasmith A, Babbush R, Benjamin SC, Endo S, Fujii K, et al. Variational quantum algorithms. Nat Rev Phys 2021;3:625–44. https://doi.org/10.1038/s42254-021-00348-9
[76] Cerezo M, Verdon G, Huang HY, Cincio L, Coles PJ. Challenges and opportunities in quantum machine learning. Nat Comput Sci 2022;2:567–76. https://doi.org/10.1038/s43588-022-00311-3
[77] Huang HY, Broughton M, Mohseni M, Babbush R, Boixo S, Neven H, et al. Power of data in quantum machine learning. Nat Commun 2021;12:2631. https://doi.org/10.1038/s41467-021-22539-9