Manuscript Offprint

arXiv:2609.07915

JEDI: JEPA-to-Edge Distillation for Efficient Cropland Segmentation from Satellite Imagery

Kishor Kumar Bhaumik, Nicolas Roque dos Santos, Jia Chen, Evangelos E. Papalexakis

Kishor Kumar Bhaumik Nicolas Roque dos Santos Jia Chen Evangelos E. Papalexakis

University of California, Riverside

{kbhau001, nicolasr, jiac, epapalex}@ucr.edu

Abstract—Large vision models provide meaningful representations for remote-sensing segmentation but are often too expensive for deployment at the satellite or field edge. Knowledge distillation can reduce this cost. However, existing feature-level methods have two key limitations. First, they typically assume the teacher and student share a similar architecture. Second, they usually stop aligning features once task training begins, even though that alignment is what made the student's features useful in the first place. We therefore introduce JEDI (JEPA-to-Edge Distillation), a two-stage framework that transfers an I-JEPA (Image-based Joint-Embedding Predictive Architecture) representation from a large isotropic Vision Transformer (ViT) teacher to a student model with substantially fewer parameters while preserving the teacher's prediction capacity. JEDI first aligns the student's terminal representation with the teacher's token space through a simple cross-architecture projection and spatial alignment. The aligned student is then jointly optimized using supervised segmentation, temperature-scaled response distillation and a persistent feature alignment objective that remains active throughout task adaptation. On the CalCROP21 dataset, JEDI-B0 reaches 68.0 mean Intersection-over-Union (mIoU) with only 4.04M parameters. This is a 16.0 point gain over the standalone student and comes within 2.0 points of the 70.0 mIoU achieved by the 639M-parameter teacher. We adopt SegFormer as the student family for its promising accuracy-to-parameter ratio on segmentation. We evaluate three variants of SegFormer — B0, B1, and B2 with 4.04M, 14.33 M, and 28M parameters respectively. Across all three, JEDI consistently outperforms response-, structure-, channel- and relational-distillation baselines under the same teacher-student setting. Overall, these results show that persistent representation alignment matters most under aggressive compression, substantially cutting model size and compute while preserving performance. Our code is available at https://github.com/Kishor-Bhaumik/JEDI.

Index Terms—knowledge distillation, semantic segmentation, remote sensing, cropland mapping, edge computing, self-supervised learning, vision transformers

I. INTRODUCTION

Accurate and timely delineation of cultivated land is important for agricultural monitoring and public-sector decision making. The USDA Cropland Data Layer (CDL), for example, provided annual crop maps at 30 m resolution through year 2023. From year 2024 onward, it has provided 10 m resolution maps. However, these products remain retrospective. Consequently, they are not designed for applications that require information during the growing season [1]. Recent work has shown that freely available satellite imagery, particularly Sentinel-2, can support more timely crop mapping at substantially finer spatial resolution [2]. A systematic review of remote-sensing crop mapping further shows that deep

Figure

Fig. 1. JEDI distills a 639M-parameter I-JEPA teacher into compact SegFormer students. The smallest student (B0, 158×158\times fewer parameters than teacher) gains +16 mIoU over its non-distilled baseline, reaching within 2.0 mIoU points of the teacher.

learning has become an important component of large-scale crop mapping [3]. However, early-season mapping, multi-temporal reasoning and reliable use of multi-source imagery remain open challenges. These trends motivate models that can exploit modern visual representations while remaining practical for repeated inference over large geographic areas. The deployment setting makes this problem substantially different from conventional semantic segmentation. Satellite and field-edge platforms operate under tighter constraints on memory, power and computation than datacenter GPUs, while the volume of imagery can make transmitting raw observations itself expensive. The Φ\Phi-Sat-1 mission [4] demonstrated the feasibility of running deep neural networks directly on an earth observation satellite, illustrating the potential of moving part of the analysis closer to the sensor. At the same time, remote-sensing segmentation has its own challenges, including large spatial variation, substantial intra-class variability and foreground-background imbalance that are not fully captured by methods developed for natural images [5]. Consequently, a model that is highly accurate on a conventional GPU is not necessarily an appropriate model for resource-constrained earth observation.

One approach is to use increasingly capable vision foundation models. Self-supervised learning has substantially improved the quality of visual representations available for downstream dense prediction. DINO [6], DINOv2 [7] and MAE [8] learn transferable representations from unlabeled images, while satellite-specific methods adapt these objectives to the spectral and temporal structure of Earth observation data. SatMAE, for example, introduces temporal embeddings and spectral positional encodings specifically for multi-spectral and temporal satellite imagery and reports improvements on downstream land-cover and segmentation tasks [9]. More recently, geospatial foundation models such as Prithvi have demonstrated that large-scale self-supervised pretraining on Harmonized Landsat–Sentinel-2 imagery can transfer to diverse Earth observation tasks, including crop-related applications [10]. These developments suggest that large pretrained representations can provide useful semantic structure for remote-sensing applications; however, their size can make direct deployment impractical.

A natural response is to compress a large model into a smaller one using knowledge distillation. Response-based distillation transfers softened predictions [11], while feature-based methods transfer information from intermediate representations [12], [13]. For semantic segmentation, the structured nature of dense predictions has motivated methods that transfer spatial relations, channel distributions and cross-image relationships [14]–[16]. Other work has focused on preserving intra-class feature variation [17] and recent studies show that even direct raw-feature distillation can be highly competitive when the feature magnitudes and distillation weights are carefully controlled [18]. These results establish knowledge distillation as an effective mechanism for recovering part of a large model's accuracy with a substantially smaller student.

However, most feature-based distillation methods assume that the teacher and student expose representations that can be matched directly or stage-by-stage. This assumption becomes problematic when the two networks differ not only in capacity but also in architecture. Notably, recent work has explicitly considered heterogeneous CNN-Transformer distillation, demonstrating that useful information can be transferred between models with different representation characteristics [19]. Nevertheless, the problem becomes more severe when the teacher is a large isotropic ViT (e.g., ViT-H/16, as used by I-JEPA) producing a single token sequence and the student is a compact hierarchical Transformer (e.g., SegFormer) producing a multi-scale feature pyramid. In this setting, the teacher and student representations differ in embedding dimension, spatial resolution and topology. Simply applying a conventional feature loss therefore requires either discarding spatial information or introducing a substantial transformation whose effect on the student representation is difficult to control.

We address this problem with JEDI (JEPA-to-Edge Distillation), a two-stage cross-architecture distillation framework that transfers representation knowledge from a large I-JEPA teacher to a compact SegFormer student. In the first stage, we explicitly align the student's terminal representation with the teacher's token space using a lightweight learned projection and spatial resampling, allowing the student to acquire the teacher's representation without segmentation supervision. In the second stage, the aligned student is jointly optimized using supervised segmentation, temperature-scaled response distillation and a persistent feature-alignment objective. Unlike a conventional pretrain-then-fine-tune strategy, the feature objective is not removed after initialization; it remains active while the student adapts to the segmentation task. This design is motivated by the observation that aggressive compression can cause task supervision to drive the student away from useful teacher representations.

We further reduce inference cost by selecting, for each tile, a single observation from its multi-temporal Sentinel-2 stack. Specifically, this selection is guided by a criterion based on the Normalized Difference Vegetation Index (NDVI), a standard remote-sensing measure of vegetation greenness computed from the near-infrared and red spectral bands. This selection is applied identically during training and at inference: the segmentation network always operates on one NDVI-selected composite per tile rather than the full temporal sequence, so the same lightweight acquisition-selection mechanism that reduces training cost also reduces the cost of deployed inference. This does not attempt to replace temporal modeling; instead, it avoids evaluating the segmentation network repeatedly over the complete temporal stack. The resulting system therefore targets a practical accuracy-compute trade-off rather than maximum segmentation accuracy under unconstrained computation. Our main contributions are:

  • We propose JEDI, a cross-architecture distillation framework for transferring representations between a large isotropic I-JEPA ViT and a compact hierarchical SegFormer whose feature spaces differ in both dimensionality and spatial topology.
  • We introduce a two-stage training strategy that first performs representation alignment and then jointly optimizes segmentation, response distillation and persistent feature alignment, retaining representational supervision throughout task adaptation.
  • We demonstrate on the CalCROP21 dataset that the resulting compact students substantially outperform identically configured non-distilled students, with the 4.04M-parameter JEDI-B0 reaching 68.0 mIoU, within 2.0 points of the approximately 639M-parameter teacher.
  • We characterize the resulting accuracy-compute trade-off across multiple student capacities using parameter count, multiply-accumulate operations (GMACs) and GPU inference latency.

Fig. 1 summarizes this accuracy-compute trade-off across the teacher and the JEDI student variants.

References (29)