---
title: SatQuery AI - Interactive Verification Prototype
emoji: 🛰️
colorFrom: blue
colorTo: indigo
sdk: static
pinned: false
---
# SatQuery AI — Interactive Cloud Verification Prototype
[](https://huggingface.co/spaces/pavi-07/satquery)
[](https://huggingface.co/pavi-07/satquery-cdvqa-lora)
[](https://github.com/pavitravashishtha/satquery-demo)
[-orange)](#-architectural-disclaimer--edge-decoupling)
---
## 🛰️ 3-Link Evaluation Triad
SatQuery AI is organized into a connected **3-Link Triad** designed for transparent evaluation:
1. 🌐 **Interactive Cloud Demo (HF Spaces):** [https://huggingface.co/spaces/pavi-07/satquery](https://huggingface.co/spaces/pavi-07/satquery)
* Instant, interactive cloud prototype with real satellite imagery, bitemporal change detection sliders, telemetry HUD, and 1-click verified benchmark presets.
2. 🤖 **Fine-Tuned Model Weights (HF Model Hub):** [https://huggingface.co/pavi-07/satquery-cdvqa-lora](https://huggingface.co/pavi-07/satquery-cdvqa-lora)
* Published PEFT LoRA adapter weights (`adapter_model.safetensors`, 15.2 MB) for `Qwen/Qwen2.5-VL-3B-Instruct`, tokenizer, and cross-attention fusion weights.
3. 💻 **Open-Source Codebase (GitHub):** [https://github.com/pavitravashishtha/satquery-demo](https://github.com/pavitravashishtha/satquery-demo) (and [satquery](https://github.com/pavitravashishtha/satquery))
* Full source code for orchestration, dynamic memory lifecycle manager, query parsing, and edge deployment scripts.
4. 🎥 **Full Dashboard & Concept Walkthrough (YouTube):** [https://youtu.be/4VfqViYAwJ8?si=SWgOBt213bhzTTXT](https://youtu.be/4VfqViYAwJ8?si=SWgOBt213bhzTTXT)
* All-in-one demonstration covering Earth Observation concepts, edge computing advantages, multi-sensor features, and full dashboard walkthrough.
---
## ⚠️ Architectural Disclaimer & Edge Decoupling
> [!IMPORTANT]
> **Edge-First Design vs. Cloud Preview:**
> **SatQuery AI is fundamentally engineered for air-gapped, low-power edge deployment on a 6GB VRAM GPU** (NVIDIA RTX 4050 Laptop / Jetson Orin 8GB).
>
> This Hugging Face Space operates as a **lightweight interactive cloud preview and verification prototype**. In actual mission operations (disaster response, defense monitoring, remote sensing in connectivity-denied areas), all models (Qwen2.5-VL INT4 + LoRA adapter + Optical-SAR Dual-CNN) execute locally on consumer hardware within a **strict 5.66 GB peak VRAM ceiling with zero external API calls and zero cloud telemetry leakage**.
---
## 📊 Empirical Benchmarks (RTX 4050 Edge Hardware)
* **CDVQA Accuracy:** **71.2%** (71.20% Exact Match, 95% CI: [67.20%, 75.20%]) — a **+41.40 percentage-point gain** over zero-shot base (29.80%).
* **Expected Calibration Error (ECE):** **0.19** (Equal-width ECE: 0.1985 on Query Interpreter routing, guaranteeing well-calibrated confidence boundaries). (95% CI: `[67.20%, 75.20%]`) — a **+41.40 percentage-point gain** over zero-shot base (29.80%).
* **SAR Cloud Resilience:** **+117.5% F1 score advantage** over optical-only baselines under 100% cloud cover.
* **Adapter Swap Latency:** **4.81 ms** runtime swap latency via PEFT.
* **Continuous VRAM Telemetry:** **4,352 MB (4.25 GB) peak active VRAM** during a 100-query stress test, leaving **1,789 MB (1.75 GB) safety headroom** with **zero OOM crashes**.
---
## ⚡ Edge VRAM Budget Architecture
```
+-------------------------------------------------------------+
| Resident Base Memory (Always in VRAM) |
| - PyTorch CUDA Context & OS Display Headroom : 600 MB |
| - Optical-SAR Cross-Attention Fusion Model : 180 MB |
| - Bi-Temporal Change Detection Specialist : 750 MB |
| - Multi-Label Land Cover Specialist : 310 MB |
| Subtotal Resident Base : 1,840 MB |
+-------------------------------------------------------------+
| Dynamic Swap Slot (Time-Multiplexed Lifecycle) |
| - Qwen2.5-VL-3B (INT4 Quantized + LoRA) : 3,820 MB |
| Peak Active VRAM (Base + VQA Engine) : 5,660 MB |
+-------------------------------------------------------------+
| Safety Headroom (Activation tensors & cache) : 484 MB |
+-------------------------------------------------------------+
```
---
## 🎯 Verification Presets Available in this Prototype
1. **Assam Flood Inundation:** Optical-SAR multi-sensor fusion identifying floodwaters through monsoon cloud cover in the Brahmaputra Basin.
2. **Urban Expansion Corridor:** Bi-temporal change detection VQA quantifying building construction between pre- and post-development satellite passes.
3. **Chennai Land Cover:** Single-image optical Visual Question Answering via Qwen2.5-VL base.
4. **Building Grounding:** Visual object localization highlighting infrastructure boundaries.
5. **Compound Multi-Specialist:** Sequential pipeline combining Optical-SAR flood mapping with building damage assessment.