arXiv:2610.25781cs.CVOct 2026

Manuscript Offprint

arXiv:2610.25781

See the Future, Classify the Present: Stochastic Latent World Modeling for Hyperspectral Images

Muhammad Ahmad, Gemine Vivone, Ronny Hänsch, Ahmed Sohaib, Manuel Mazzara, Danfeng Hong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Muhammad Ahmad, Gemine Vivone, Ronny Hänsch, Ahmed Sohaib, Manuel Mazzara, Danfeng Hong

Abstract—Hyperspectral image classification (HSIC) relies on static spatial-spectral representations learned from labeled samples, limiting its ability to model structured dependencies in the latent representation space. To address this limitation, this work proposes Stochastic Latent World Modeling (LWM), a trajectory-based representation-learning framework that enriches classification through stochastic latent-state prediction. Given a hyperspectral patch, LWM tokenizes and encodes spectral and spatial information separately using dedicated transformer branches, then fuses their outputs into a unified representation. This representation is further organized into an environment state that captures center, neighborhood, spectral, and global contextual information. A stochastic latent transition module then predicts multiple future latent states through Gaussian parameterization and reparameterization, with recurrent refinement used to model dependencies across successive states. The resulting latent trajectory is adaptively aggregated by a rollout planner to construct a planned representation, which is integrated with the base representation for final classification. By extending static spatial-spectral encoding with stochastic multi-step latent-state modeling, LWM enables the classifier to exploit structured dependencies in the representation space and provides richer features for HSIC. Across five benchmark datasets, LWM achieves overall accuracies ranging from 89.21% to 99.52%, demonstrating consistent classification performance under limited-label settings.

Index Terms—Hyperspectral Image Classification; Spatial-Spectral Transformer; World Model; Latent Rollout; Stochastic Representation Learning; Trajectory-Aware Classification.

I. INTRODUCTION

HYPERSPECTRAL image (HSI) classification (HSIC) aims to assign semantic labels to pixels by leveraging high-dimensional spectral signatures together with spatial context [1]. The rich spectral resolution of hyperspectral imagery enables fine-grained material discrimination [2]; however, it also introduces significant challenges, including high dimensionality, strong inter-band correlation, and severe scarcity of labeled samples [3]. Despite substantial advances, most existing HSIC approaches remain fundamentally based on static spatial-spectral representations [4], where classification is performed from a single-stage encoding of local patches [5]. This paradigm limits the ability of models to capture higher-order dependencies and structured relationships beyond immediate context, particularly in low-label regimes [6].

Limitations of Existing Approaches. Traditional HSIC methods, including hand-crafted feature pipelines and early deep models, represent each patch as a fixed embedding that is directly mapped to a class label [7]. Convolutional neural networks (CNNs) and spatial-spectral hybrid models improve representation capacity through hierarchical feature extraction and local context aggregation [8], [9]. However, these models remain inherently feed-forward and static: the learned representation is a single point estimate in latent space [10]. Such formulations do not explicitly encode relationships between latent states, nor do they model how representations could evolve under structured transformations [11]. Consequently, they fail to exploit the continuity and smoothness inherent in hyperspectral data [12], [13].

Attention-Based Context Modeling Without Structure. Transformer-based models have been introduced to capture long-range dependencies across spectral bands and spatial locations [14]–[16]. While multi-head self-attention (MHSA) improves global context aggregation [17], it operates as a weighted averaging mechanism over tokens within a single forward pass [18]. The resulting representation is still a one-step aggregation without explicit constraints on latent organization [19]–[21]. In particular, attention does not impose transition structure or predictive consistency across representations, which limits its ability to enforce physically meaningful relationships such as spectral continuity and spatial coherence [22]–[24].

Self-Supervised Learning Without Latent Transitions. Self-supervised approaches, including masked reconstruction [7], [25], contrastive learning [26], [27], and generative modeling [28], [29], aim to reduce dependence on labeled data by introducing auxiliary objectives [30]. These methods encourage representations to preserve information or maintain invariances, but they largely operate at the level of reconstruction and similarity [31]. They do not explicitly model dependencies between latent states, nor do they enforce how representations should transform under structured variations. As a result, they provide regularization but not structured predictive modeling [32].

World Models and Their Limitations. Recent advances in world models and latent dynamics learning [33], particularly in reinforcement learning and sequential modeling, aim to learn compact representations that evolve through predictive transitions [34]–[36]. These methods typically rely on explicit temporal observations and learn state transition dynamics

M. Ahmad and A. Sohaib are with the Khanpur Institute of Technology, Khanpur 64100, Pakistan. (e-mail: mahmad00@gmail.com; engr.dr.ahmed.sohaib@gmail.com).

G. Vivone is with the National Research Council - Institute of Methodologies for Environmental Analysis (CNR-IMAA), 85050 Tito, Italy (e-mail: gemine.vivone@imaa.cnr.it).

R. Hänsch is with the Department of SAR Technology, German Aerospace Center (DLR), Germany. (e-mail: ronny.haensch@dlr.de).

M. Mazzara is with the Institute of Software Development and Engineering, Innopolis University, Innopolis, 420500, Russia. (e-mail: m.mazzara@innopolis.ru)

D. Hong is with the School of Automation, Southeast University, Nanjing, China. (e-mail: danfeng.hong@seu.edu.cn) conditioned on actions or sequential inputs [37], [38]. While effective in domains with well-defined temporal structure, such formulations are not directly applicable to hyperspectral imagery, which is inherently static and lacks explicit temporal supervision [39].

Moreover, existing world models assume that transitions correspond to physically meaningful state changes observed in time [40]–[44], whereas hyperspectral data primarily exhibit structural correlations rather than temporal evolution. Applying standard world modeling frameworks to HSIC would therefore require artificial sequence construction or surrogate temporal assumptions, which may introduce bias and instability. In addition, world models focus on generative prediction in observation space, rather than enforcing structured organization within latent representations for discriminative tasks [45]–[47]. Consequently, they do not directly address the need for latent predictive regularization in static spatial-spectral data [48], [49].

Absence of Latent Predictive Structure. A key limitation across these categories is the lack of latent predictive modeling tailored to HSIC. Hyperspectral data exhibit strong intrinsic structure, including smooth spectral variation across bands and spatial consistency across neighboring pixels. However, current models do not capture these properties as transitions in latent space. Without modeling such transitions, representations remain locally optimized but globally unstructured. This restricts the ability to generalize under limited supervision, as the model cannot reason beyond the immediate encoded observation.

  1. Proposed Perspective: To overcome these limitations, this work introduces stochastic latent world modeling (LWM), a trajectory-aware representation learning framework for HSIC. The central idea is to move beyond static encoding and instead learn representations that are structured through latent evolution. Rather than treating the representation of a patch as a fixed embedding, LWM models how this representation can transform under a learned stochastic process in latent space.

Unlike classical world models that rely on explicit temporal observations, the proposed formulation operates entirely in representation space. A latent environment state is first constructed from fused spatial-spectral features. A stochastic transition model then generates a sequence of latent states via multi-step rollouts, parameterized as Gaussian transitions with recurrent refinement. These rollouts represent plausible variations of the underlying representation, acting as a form of structured regularization rather than modeling physical time.

To extract decision-relevant information, a rollout planning mechanism adaptively aggregates latent states using learned importance weights. This produces a trajectory-aware representation that complements the base transformer encoding. The final prediction is obtained by combining the static and trajectory-based representations, enabling the model to leverage both immediate evidence and structured latent evolution.

The framework is trained with complementary objectives that jointly enforce reconstruction fidelity, latent dynamics consistency, stochastic regularization, and physically meaningful constraints. In particular, spectral and spatial dynamics losses explicitly model structured relationships within latent space, while stochastic rollout regularization enforces probabilistic coherence across predicted transitions. This unified formulation enables the model to learn representations that are not only discriminative but also structured and robust. The main contributions of this work are summarized as follows:

• Trajectory-Aware Representation Learning for HSIC: We reformulate HSIC as a trajectory-aware latent representation problem, moving beyond static spatial-spectral encoding toward structured latent reasoning.

• Stochastic Latent World Modeling: We propose a stochastic latent transition framework that generates multi-step rollouts in representation space using Gaussian parameterization and recurrent refinement, enabling predictive structure without requiring temporal supervision.

• Latent Rollout Planning Mechanism: We introduce an adaptive rollout aggregation strategy that learns to weight latent states, producing a trajectory-aware representation for classification.

• Structured Multi-Objective Learning: We design a unified training objective combining masked reconstruction, spectral and spatial latent dynamics, stochastic rollout regularization, and physically motivated constraints, ensuring both discriminative power and structural consistency.

The remainder of this paper is organized as follows. Section II introduces the proposed Stochastic Latent World Modeling (LWM) framework and its learning objectives. Section III details the experimental setup. Sections IV-V analyze latent rollout reasoning and robustness, while Section VI examines model interpretability. Section VII presents ablation studies, and Section VIII compares LWM with state-of-the-art methods. Section IX discusses limitations and failure cases. Finally, Section X concludes the paper and outlines future directions.

References (62)