Skip to content

About

This repository implements Landslide-SSMoE, a novel adaptation of the EEGMoE (Specific and Shared Mixture-of-Experts) architecture for 2D geospatial landslide mask prediction. By decoupling domain-specific and domain-shared representations, the model enhances the segmentation of landslides from multi-channel satellite data

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Landslide-SSMoE: Spatial-Spectral Mixture of Experts for Landslide Detection

PyTorch Python

This repository implements Landslide-SSMoE, a novel adaptation of the EEGMoE (Specific and Shared Mixture-of-Experts) architecture for 2D geospatial landslide mask prediction. By decoupling domain-specific and domain-shared representations, the model enhances the segmentation of landslides from multi-channel satellite data (Sentinel-1, Sentinel-2, rainfall, and soil moisture).

🚀 Key Innovation: Specific & Shared MoE (SSMoE)

The core contribution is the SSMoE Bottleneck, which translates 1D signal-processing mechanisms (from the EEGMoE paper) into 2D spatial feature map processing:

  • Specific Expert Groups: Utilizing Top-K sparse routing (Top-2) to handle domain-specific features related to distinct geographical regions or terrain types.
  • Shared Expert Groups: Implementing soft-routing to extract universal spectral signatures and common landslide features across all domains.
  • 2D Adaptation: Replaced 1D Linear experts with 3x3 Convolutional layers and Linear routers with 1x1 Convolutional router maps for spatially-variant selection.

📊 Repository Structure

Directory Description
architecture/ Core PyTorch implementation of Adapted_SSMoE_UNet and SSMoE_ConvBlock.
evaluation/ A/B testing framework, deconstruction reports, and training loops.
pipeline/ Data ingestion and preprocessing (Sentinel-1/2, Rainfall, Soil Moisture).
results/ Comparative plots and training metrics.

🏗️ Architecture Overview

graph TD
    Input[Input Raster: 16 Channels, 256x256] --> Encoder[U-Net Encoder]
    Encoder --> SSMoE[SSMoE Bottleneck]
    SSMoE --> Decoder[U-Net Decoder]
    Decoder --> Output[Binary Mask: 1 Channel, 256x256]

    subgraph "SSMoE Bottleneck"
    SpecificRouter[Specific Router: 1x1 Conv] --> TopK[Top-K Sparse Experts]
    SharedRouter[Shared Router: GAP + MLP] --> Shared[Shared Soft Experts]
    TopK --> Fusion[Weighted Fusion]
    Shared --> Fusion
    end
Loading

📈 Performance & Results

We conducted an A/B test comparing the Adapted SSMoE U-Net against a Vanilla U-Net baseline. Using identical seeds and hyperparameters, the results demonstrate the superior convergence and accuracy of the MoE-adapted architecture:

Comparison Results

Final Risk Assessment (Sample Predictions)

The model was evaluated on real-world regions (Wayanad, Puthumala) to assess landslide susceptibility:

  • Wayanad: Max Predicted Risk: 0.1140
  • Puthumala: Max Predicted Risk: 0.0559

🛠️ Getting Started

Prerequisites

  • Python 3.10+
  • PyTorch 2.0+
  • Rasterio
  • Matplotlib, Numpy

Installation

pip install torch rasterio matplotlib numpy

Running the Experiment

To reproduce the A/B test results:

python evaluation/repro_experiment.py

📝 References

  • EEGMoE: A Domain-Decoupled Mixture-of-Experts Model for Self-Supervised EEG Representation Learning.
  • Landslide Atlas of India, 2023 (ISRO/NRSC).

© 2026 Team Rocket (nothariharan)

About

This repository implements Landslide-SSMoE, a novel adaptation of the EEGMoE (Specific and Shared Mixture-of-Experts) architecture for 2D geospatial landslide mask prediction. By decoupling domain-specific and domain-shared representations, the model enhances the segmentation of landslides from multi-channel satellite data

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages