Skip to main content

Engineering Roadmap and Task Ledger (TODO)

Project: SatQuery AI - Earth-OneVision Remote-Sensing Vision-Language Assistant Target Event: Smart India Hackathon (SIH 2026) Tracking Status: Active Development Last Updated: September 2026


1. Overview and Priority Legend​

This document serves as the operational task ledger and engineering roadmap for SatQuery AI. Tasks are prioritized according to deployment readiness, architectural fidelity to Earth-OneVision (arXiv:2606.10819), and evaluation requirements.

PriorityDefinitionImpact
P0 - CriticalBlocker for core evaluation, inference reliability, or model trainingImmediate sprint
P1 - HighCrucial functionality for multi-modal expansion, performance, or benchmarkingCurrent milestone
P2 - MediumInfrastructure optimization, developer experience, or extended evaluationPost-baseline
P3 - LowFuture exploratory research, edge hardware ports, or optional dataset convertersRoadmap horizon

2. Completed Milestones​

Core Architecture and Assembly​

  • Full-Granularity Vision-Language Alignment (FGVLA): Implemented Adaptive Cross-Scale Attention (ACSA) and DeepStack intermediate decoder hook injection.
  • Dynamic Aspect-Ratio Vision Encoding: Wrapped SigLIP-2 NaFlex with intermediate multi-depth feature extraction (layers 3, 6, 9) and bicubic positional embedding interpolation.
  • Spatial Language Instruction System (SLIS): Tokenizer extended with 1,000 coordinate tokens (<loc_000> to <loc_999>), Oriented Bounding Box (<obox>), point prompts, and R-RLE segmentation codec.
  • 2x2 Spatial Merge Projector: 4-patch channel concatenation and 2-layer GELU MLP projection to LLM hidden space.

Distributed Training and Hardware Optimization​

  • NVIDIA A40 CUDA Migration: Removed Apple MPS dependencies, enabling bfloat16 mixed-precision and DeepSpeed ZeRO-2 optimization across 2x NVIDIA A40 GPUs.
  • Response-Only Masked Cross-Entropy Loss: Implemented character-to-token offset mapping setting labels = -100 for all non-assistant tokens.
  • Phase 1 Baseline Adaptation: Completed 9,655 steps on 77,232 RSVQA-LR optical records in 8.7 hours (bigearthnet-final checkpoint).
  • Flagship PCMA Stage 1 Scaling (Qwen3-1.7B): Executed 14,740 steps (1 full epoch), converging from loss 0.9609 down to 0.0000 with remote_sensing_adapted: true (1.82B parameters).
  • Crash Consistency & Interruption Handling: Implemented atomic SIGTERM signal trap saving clean interrupted/ checkpoints at step boundaries.

Data Systems & MVCC Architecture​

  • FUSE SSD Image Cache: Content-addressable 64-bit truncated SHA-256 caching layer with lock-free snapshot reads and exponential backoff retry.
  • Data Leakage Quarantine: Pre-training validation gate (assert_no_leakage()) blocking all evaluation split contamination.
  • Stage 1 Ingestion Gate: Rasterio-based GeoTIFF header profiling (CRS validation, affine transform extraction, spatial overlap scoring, GSD ratio checks).

Testing & Verification​

  • Automated Test Suite: 144/144 unit and integration tests passing (pytest tests/).
  • End-to-End Smoke Test: 12/12 pipeline steps verified on synthetic data.
  • Benchmark Validation Suite: 9 task evaluation modules validated against reference prediction files.

3. Active Sprints and In-Flight Tasks (P0 & P1)​

Priority P0: Critical Path to Full Benchmark Reproduction​

  • PCMA Stage 2 Multi-Modal Training Campaign

    • Objective: Bridge the imaging-physics gap across non-optical sensors (SAR, multispectral, thermal, temporal).
    • Tasks:
      • Launch configs/stage2.yaml with DeepSpeed ZeRO-2 on 2x A40 node.
      • Verify 100% optical replay ratio to prevent catastrophic forgetting of VQA/captioning skills.
      • Monitor validation loss across multi-modal evaluation splits.
      • Save intermediate snapshots every 400 steps with write-ahead telemetry.
    • Owner: ML Engineering
    • Target Milestone: Milestone 2.0 (Full PCMA Checkpoint)
  • Automated BigEarthNet-S1 Archive Ingestion

    • Objective: Ingest full 51 GB Sentinel-1 SAR imagery archive upon Zenodo link stabilization.
    • Tasks:
      • Run tools/build_bigearth_manifest.py across newly downloaded SAR tiles.
      • Verify cross-modal spatial alignment between Sentinel-1 GRD and Sentinel-2 L2A tiles.
      • Cache converted arrays to NVMe SSD via fuse_cache.py.

Priority P1: Evaluation & Inference Enhancements​

  • Official Benchmark Evaluation Run (evaluation/run_benchmarks.py)

    • Objective: Execute full-split benchmark evaluations reproducing paper Tables III-XVIII.
    • Tasks:
      • Evaluate RSVQA-LR / RSVQA-HR test splits for binary and numeric counting accuracy.
      • Evaluate VRSBench test split for BLEU-4, METEOR, CIDEr, and Grounding Precision (P@0.5).
      • Evaluate CDVQA test split for bi-temporal change question answering.
      • Compile automated reproduction markdown table comparing measured scores against paper claims.
  • Dynamic Temperature and Repetition Penalty Calibration

    • Objective: Tune decoding hyperparameters during auto-regressive generation to prevent repetitive token loops.
    • Tasks:
      • Expose repetition_penalty (1.15 default) and temperature (0.2 default) in /api/analyze request schema.
      • Calibrate SLIS coordinate token logits during spatial generation.

4. Medium-Term Roadmap (P2: Infrastructure & Optimization)​

  • 4-Bit / 8-Bit Model Quantization (AWQ & GPTQ)

    • Quantize the 1.82B parameter Qwen3-1.7B backbone to INT4 precision for edge airborne deployment.
    • Benchmark memory reduction (from 3.6 GB down to ~1.1 GB VRAM) and inference latency per query.
  • Active Cloud Removal via SEN12MS-CR

    • Promote SEN12MSCRConverter from stub to production converter.
    • Pair cloudy optical imagery with penetration-capable SAR backscatter for cloud-free scene reconstruction.
  • Live Video & Multi-Temporal Stream Processing

    • Implement uniform range sampling across satellite video passes (e.g. Jilin-1 video satellites).
    • Add 3D spatio-temporal pooling in data/processors/modality.py.
  • FastAPI WebSocket Streaming Endpoint

    • Introduce /api/analyze/stream for real-time token streaming to frontend client.
    • Stream progressive bounding box coordinates as tokens are emitted.

5. Long-Term Roadmap (P3: Exploratory & Scaled Hardware)​

  • Multi-Node Scaling to 4x / 8x A40 or H100 Cluster
    • Scale batch size to match paper's 8x H100 configuration using DeepSpeed ZeRO-3 with CPU offloading.
  • Qwen3-4B / Qwen3-8B Backbone Scaling
    • Test model capacity scaling on larger open-weights language models for complex multi-step reasoning.
  • Embedded Drone Edge Deployment
    • Port runtime to NVIDIA Jetson Orin AGX (64 GB unified memory) using TensorRT-LLM.