- ๐ฐ๏ธ LiteRS-Mamba: Real-Time Multi-Platform Remote Sensing Land Cover Intelligence for Bangladesh
- ๐ Executive Summary
- ๐บ๏ธ The 7 Canonical Bangladesh Land Cover Classes
- ๐ Comprehensive Experimental Benchmark Summary
- ๐ป Hardware Benchmarking & Pareto Frontier
- ๐ Quickstart: Running the Web App Locally
- ๐ Deploying to Hugging Face Spaces (in 2 Minutes)
- ๐ฆ Repository Structure
- ๐ Citation & Attribution
- ๐ License
- ๐ Executive Summary
๐ฐ๏ธ LiteRS-Mamba: Real-Time Multi-Platform Remote Sensing Land Cover Intelligence for Bangladesh
Master's / Academic Thesis Research Repository
Author: Md. Mahfujul Karim Sheikh (Student ID:CSE11220120735)
Project: Multi-Platform Remote Sensing Land Cover Classification in Bangladesh: Benchmarking Deep Vision Paradigms, Proposing LiteRS-Mamba, and Test-Time Spectral Radiometric Adaptation.
๐ Executive Summary
Remote sensing land-use and land-cover (LULC) classification in the dynamic deltaic terrain of Bangladesh is severely impaired by cross-sensor radiometric discrepancies across web-mapping satellite providers (ArcGIS Map, Bing Maps, Google Maps). Conventional deep learning models suffer catastrophic cross-platform domain collapse when evaluated across sensors.
This repository provides LiteRS-Mamba, an ultra-compact $2.05\text{ M}$ parameter architecture engineered specifically for low-power edge UAVs, survey drones, and satellite edge computing:
- Multi-Scale Stem (MS-Stem): Dual $3\times3$ and $5\times5$ convolutional tokenizer resolving fine-grained riparian boundaries and parcel edges.
- 4-Way Omnidirectional Selective State Space Engine (O4-SSM): Scans 2D visual tokens along horizontal ($x$), vertical ($y$), and reverse pathways in parallel, with learnable softmax directional fusion.
- Test-Time Radiometric Adaptation (TTA-RHM): Zero-shot cumulative distribution matching recovering $+45.65%$ accuracy on raw Google Maps imagery without retraining.
- Token-Level SSM Grad-CAM: Explainable AI framework offering physical topological verification and forensic failure diagnosis.
- Universal ONNX & INT8 Edge Deployment: Serialized graph verified to $3.34 \times 10^{-6}$ mathematical parity, quantized to $8.58\text{ MB}$ ($23.23%$ storage reduction) with only $0.29%$ accuracy delta ($97.43% \rightarrow 97.14%$) and $99.71%$ decision agreement.
๐บ๏ธ The 7 Canonical Bangladesh Land Cover Classes
| Class Icon | Class Name | Bengali Meaning | Key Ecological & Physical Characteristics |
|---|---|---|---|
| ๐พ | Agricultural_Land |
เฆซเฆธเฆฒเฆฟ เฆเฆฎเฆฟ / เฆเงเฆทเฆฟ เฆญเงเฆฎเฆฟ | Alluvial crop fields, seasonal boro/aman paddy cultivation, silt floodplains. |
| ๐๏ธ | Beaches_Coastline |
เฆธเฆฎเงเฆฆเงเฆฐ เฆธเงเฆเฆค เฆ เฆเฆชเฆเงเฆฒเฆฐเงเฆเฆพ | Sandy shores, intertidal mudflats in Cox's Bazar, Kuakata & Sundarbans delta. |
| ๐๏ธ | Built_up_Areas |
เฆถเฆนเฆฐเฆพเฆเงเฆเฆฒ เฆ เฆชเฆพเฆเฆพ เฆธเงเฆฅเฆพเฆชเฆจเฆพ | High-density urban dwellings, impervious rooftops, asphalt roads, transport corridors. |
| ๐ฟ | Grasslands_Open_Land |
เฆเฆพเฆธเฆเฆฎเฆฟ เฆ เฆเฆฐเฆพเฆเงเฆเฆฒ | Vegetated riverine chars, grazing ground, and riparian bars in Jamuna/Padma basin. |
| โฐ๏ธ | Hills_Mountains |
เฆชเฆพเฆนเฆพเฆกเฆผ เฆ เฆเฆฟเฆฒเฆพ เฆ เฆเงเฆเฆฒ | Tertiary folding ranges, tea gardens, tropical forest slopes in CHT & Sylhet. |
| ๐ฒ | Trees_Forests |
เฆเฆพเฆเฆชเฆพเฆฒเฆพ เฆ เฆฌเฆจเฆพเฆเงเฆเฆฒ | Dense mangrove canopies of Sundarbans, Sal forests of Madhupur, social plantations. |
| ๐ | Water_Bodies |
เฆจเฆฆเง, เฆเฆพเฆฒ เฆ เฆเฆฒเฆพเฆถเฆฏเฆผ | Major braided rivers (Padma, Jamuna, Meghna), haors, beels, and coastal estuaries. |
๐ Comprehensive Experimental Benchmark Summary
1. In-Domain Classification vs. Deep Vision Baselines (ArcGIS Map)
| Model Architecture | Paradigm | Parameters (M) | In-Domain OA (%) | Macro-F1 (%) | Storage Footprint (MB) |
|---|---|---|---|---|---|
| ResNet-50 | Classical CNN | 25.56 | 94.94% | 94.88% | 97.80 MB |
| ConvNeXt-Tiny | Modern ConvNet | 28.60 | 96.69% | 96.65% | 109.50 MB |
| Swin-Transformer-Tiny | Hierarchical ViT | 28.30 | 97.23% | 97.20% | 112.40 MB |
| Vision-Mamba-Tiny (Vim) | 1D Visual SSM | 5.50 | 96.22% | 96.18% | 22.10 MB |
| ๐ LiteRS-Mamba (Proposed FP32) | Omnidirectional SSM | 2.05 | 97.19% | 97.18% | 8.25 MB |
| โก LiteRS-Mamba (Quantized INT8) | Edge Quantized SSM | 2.05 | 97.14% | 97.10% | 8.58 MB |
Efficiency Takeaway: LiteRS-Mamba matches the accuracy of Swin-Transformer ($97.19%$ vs $97.23%$) while requiring $13.8\times$ fewer parameters and $13.1\times$ less storage!
๐ป Hardware Benchmarking & Pareto Frontier
High Accuracy
^
98% + | โ
LiteRS-Mamba (97.19%, 8.25 MB) [Pareto Optimal]
| โ Swin-T (97.23%, 112 MB)
96% + | โ ConvNeXt-T (96.69%, 109 MB)
| โ Vision-Mamba (96.22%, 22 MB)
94% + | โ ResNet-50 (94.94%, 98 MB)
+---------------------------------------------------->
0 MB 40 MB 80 MB 120 MB
Storage Footprint
- CPU Throughput (ONNX Runtime): $297.73\text{ ms}$ ($3.4\text{ FPS}$, a $1.47\times$ acceleration over native PyTorch CPU).
- GPU Throughput (CUDA T4): $155.90\text{ ms}$ ($6.4\text{ FPS}$).
- Quantization Fidelity Audit ($N=350$ scenes): Accuracy delta is merely $0.29%$ ($97.43% \rightarrow 97.14%$) with $99.71%$ decision agreement.
๐ Quickstart: Running the Web App Locally
1. Clone the Repository
git clone https://github.com/mahfuj735/Remote-sensing-Image-Classification.git
cd Remote-sensing-Image-Classification
2. Install Dependencies
pip install -r requirements.txt
3. Launch the Interactive Dashboard
python app.py
Open your browser at http://localhost:7860. You can drag-and-drop satellite scenes, view instant predictions, toggle TTA radiometric alignment, and inspect Grad-CAM attention heatmaps!
๐ Deploying to Hugging Face Spaces (in 2 Minutes)
This repository is structured to run directly on Hugging Face Spaces without any modifications:
- Create a free account at huggingface.co.
- Click New Space $\rightarrow$ Set Space Name (e.g.
liters-mamba-bd). - Select SDK: Gradio and Hardware: CPU Basic (Free).
- Push this repository to Hugging Face:
git remote add space https://huggingface.co/spaces/YOUR_USERNAME/liters-mamba-bd git push space main - Your live web application will be active at
https://huggingface.co/spaces/YOUR_USERNAME/liters-mamba-bd!
๐ฆ Repository Structure
Remote-sensing-Image-Classification/
โโโ app.py # Main interactive Gradio application
โโโ requirements.txt # Runtime dependencies
โโโ README.md # Hugging Face + GitHub documentation
โโโ checkpoints/ # Trained model weights (< 12 MB each)
โ โโโ best_liters_mamba_ArcGIS_Map.pth # Primary champion model (8.25 MB)
โ โโโ best_liters_mamba_Bing_Maps.pth # Bing Maps model
โ โโโ best_liters_mamba_Google_Maps.pth # Google Maps model
โ โโโ liters_mamba_fp32.onnx # Serialized ONNX Opset 17
โ โโโ liters_mamba_int8.onnx # Post-training INT8 quantized
โโโ sample_images/ # Test gallery tiles across all 7 LULC classes
โ โโโ 01_Agricultural_Land.png
โ โโโ 02_Beaches_Coastline.png
โ โโโ 03_Built_up_Areas.png
โ โโโ 04_Grasslands_Open_Land.png
โ โโโ 05_Hills_Mountains.png
โ โโโ 06_Trees_Forests.png
โ โโโ 07_Water_Bodies.png
โ โโโ 08_Google_Agricultural_Land_CrossPlatform.png
โ โโโ 09_Google_Water_Bodies_CrossPlatform.png
โโโ assets/ # Figures, architecture diagrams, and charts
โโโ LiteRS_Mamba_Exact_Architecture.svg
โโโ fig_edge_pareto_efficiency_frontier.png
โโโ fig_edge_latency_fps_comparison.png
โโโ fig_tta_visual_gallery_7classes.png
๐ Citation & Attribution
If you use this model or code in your research, please cite:
@mastersthesis{sheikh2026litersmamba,
author = {Md. Mahfujul Karim Sheikh},
title = {Multi-Platform Remote Sensing Land Cover Classification in Bangladesh: Benchmarking Deep Vision Paradigms, Proposing LiteRS-Mamba, and Test-Time Spectral Radiometric Adaptation},
school = {Department of Computer Science and Engineering},
year = {2026},
note = {ID: CSE11220120735}
}
๐ License
This project is licensed under the MIT License.