Reproduction Report
Architecture
Implemented in full: SigLIP-2 (NaFlex) vision encoder, FGVLA (ACSA + DeepStack), a 2-layer MLP
vision-language projector with 2×2 spatial merge, SLIS (coordinate tokens + R-RLE + unified
vocabulary), and Qwen3 as the autoregressive decoder. No task-specific heads exist anywhere -
every output (text, coordinates, segmentation) is produced by the single LM head and recovered by
parsing the generated token stream (backend/inference/decoder.py). See docs/architecture.md for the
module map and docs/paper_to_code.md for the full paper-section → file → function trace.
Paper fidelity
| Mechanism | Status |
|---|---|
| FGVLA (ACSA + DeepStack) | ✓ Implemented, unit-tested (shape, gradient, injection-position correctness), integration-tested against real Qwen3+SigLIP-2 weights |
| SLIS (coordinate tokens + R-RLE + unified vocab) | ✓ Implemented, unit-tested (roundtrip, tokenizer-level dedicated-id verification) |
| PCMA (2-stage curriculum) | ✓ Training code implemented (stage configs, LR schedule, loss masking) and exercised end-to-end by the smoke test; no real multi-epoch Stage 1/2 training was run (no 8×H100, no large dataset downloaded - see below) |
| Modality unification (6 sensors + fusion, input-reorganization only) | ✓ Implemented and unit-tested for all 7 processors (optical/SAR/infrared/multispectral/temporal/video/fusion) |
| Agentic orchestration (SatQuery AI) | ✓ Implemented: query classification, input compatibility checking, tool registry, execution trace, confidence, downloadable report - end-to-end HTTP-tested |
Dataset
What was obtained: external/CDVQA/ (annotation JSON only, cloned reference repo - already
present in this checkout). No dataset imagery was downloaded (explicit user instruction + this
machine's disk constraint - see below).
What was converted: CDVQAConverter, RSVQAConverter, VRSBenchConverter, and
BigEarthNetConverter produce schema-valid MMRSRecords and are covered by converter tests.
The adapters require the corresponding licensed imagery and annotations to be placed locally;
no real BigEarthNet/RSVQA/VRSBench training manifest or adapted checkpoint is included. The
SEN12MS-CR and LEVIR-CD adapters remain unimplemented.
What was synthesized: Nothing. backend/data/synthesis/ is fully implemented (prompt templates,
pluggable backend, two-stage QC) and unit-tested with a deterministic mock backend - no real
OpenAI API calls were made.
Training
Configuration implemented: backend/configs/stage1.yaml / stage2.yaml (PAPER_EXPLICIT
hyperparameters: lr 2e-5/5e-6, 4 epochs, AdamW wd=0.05, cosine schedule warmup=0.03, max sequence
length 5400), backend/configs/deepspeed_zero2.json (matches the paper's ZeRO-2 setup, untested - no CUDA
hardware available). backend/training/trainer.py implements the full loop (forward, response-only-masked
loss, gradient accumulation, gradient clipping, periodic checkpointing).
What was actually run: the full training code path (model construction → forward → loss →
backward → optimizer step → checkpoint save/load) was exercised end-to-end on synthetic data via
backend/scripts/smoke_test.py and backend/tests/test_end_to_end.py. No real multi-epoch PCMA run over actual
remote-sensing data occurred.
Hardware
Actually used: 1× Apple MacBook Pro, Apple M5 Pro chip, 48GB unified memory, macOS 26.6.2, no
CUDA GPU. All tests and the smoke test ran on this machine's MPS (Metal) backend, with two
MPS-specific bugs discovered and worked around (docs/assumptions.md #A13):
SigLIP-2 NaFlex's antialiased positional-embedding resize (vision tower pinned to CPU) and Qwen3's
grouped-query attention fused-kernel crash during generation (attn_implementation="eager" on
MPS). Paper's actual hardware: 8×H100 80GB with DeepSpeed ZeRO-2 - not available here.
Results
No paper benchmark numbers were reproduced (no training at meaningful scale, no benchmark
imagery downloaded). backend/evaluation/paper_results.py --reproduced <file> would print NOT_MEASURED
for every row until real predictions are supplied - this is the intended, honest behavior per
TASK.md Sec. 41, not a bug.
Actually measured, on this machine:
- Parameter count (
backend/tools/count_parameters.py),Qwen/Qwen3-0.6B+google/siglip2-base-patch16-naflex(the smaller checkpoint pair used by this repo's own tests, per docs/assumptions.md #A12):- LLM: 0.597B total/trainable
- Vision encoder: 92.9M total, 0 trainable (frozen)
- Projector: 16.78M
- FGVLA/ACSA: 2.07M
- FGVLA/DeepStack: 5.51M
- Total: 0.714B parameters (0.621B trainable) - below the paper's ~2B figure, as expected for the deliberately smaller test-scale LLM; see the next entry for the production-scale config.
- Parameter count with the production-default LLM (
Qwen/Qwen3-1.7B,backend/configs/base.yaml's default per docs/assumptions.md #A1): not completed in this pass. The download was started (python tools/count_parameters.pywith no arguments uses the 1.7B default) but was slow on this network (~500MB of ~3.4GB after 15+ minutes) and was deliberately stopped partway to avoid tying up disk/time further, consistent with this project's disk-conservation constraint (docs/assumptions.md #A12) - a partial download is not a measurement worth reporting. The smaller 0.6B check above already validates the counting methodology itself (LLM + vision + projector + FGVLA breakdown, consistency check against the paper's ~2B figure); re-runpython tools/count_parameters.py(no args) on a machine with a faster connection or more disk headroom to get the actual 1.7B-based total. backend/tools/inspect_model.py(0.6B/base config): confirms the full architecture tree assembles correctly - SigLIP-2 (hidden=768, 12 layers, intermediate levels resolved to [3,6,9]), ACSA (rank=96, 8 heads), DeepStack (injecting into Qwen3 decoder layers [0,1,2]), 2×2 projector, Qwen3 (hidden=1024, 28 layers, vocab=152685 post-SLIS-extension) - and a full debug forward pass produces correctly-shaped tensors at every stage (patch grid 8×8 → 64 patch tokens → 16 visual tokens after 2×2 merge → final logits[1, 20, 152685]).- 144/144 automated tests pass (
pytest tests/), including theslow-marked suite that downloads and runs real pretrained weights end-to-end (forward, backward, multi-image, generation, checkpoint save/reload, and a full HTTP round-trip through the SatQuery AI FastAPI backend). backend/scripts/smoke_test.py: all 12 required steps pass on real MPS hardware.- All 9
backend/evaluation/*.pytask scripts (vqa, classification, captioning, grounding, detection, segmentation, change_detection, visual_prompting, relation_reasoning) were run end-to-end against small hand-built predictions files and produce correct, sane metric values (e.g. grounding P@0.5=100%/mIoU=84.5% for a near-perfect box; captioning ROUGE-1=72.7%/METEOR=53.5% for a paraphrased caption) - confirming the metric implementations themselves are correct, even though no real benchmark predictions exist yet to evaluate against.
Differences from the paper
See docs/assumptions.md for the complete, individually-justified list (A1-A15). Summary:
non-paper-specified numeric choices (ACSA rank, DeepStack injection layers, video sampling
defaults, SAR/IR/MS normalization, R-RLE label vocabulary), the LLM checkpoint substitution
(closest public Qwen3 size, since no literal "Qwen3-2B" exists), the dataset scope reduction
(TASK.md Sec. 61-63's own instruction), and two discovered-and-fixed Apple Silicon MPS bugs.
Unknowns
Every UNSPECIFIED_BY_PAPER item in docs/assumptions.md: exact intermediate ViT layer indices,
ACSA low-rank dimension, DeepStack's exact 4× reduction method and injection layer indices, the
finite V_seg label enumeration, video frame-sampling parameters, SAR/infrared normalization,
multispectral band-group mapping, and SS/SIoU's exact formulas.
Checkpoint
No trained checkpoint is included in this repository (none was produced - no training at scale
was run). backend/training/checkpointing.py produces checkpoints under checkpoints/{stage1,stage2,final}/,
each explicitly labeled earth_onevision_reproduction_checkpoint with
is_official_earth_onevision_checkpoint: false in its metadata - load_checkpoint actively
refuses to load anything claiming otherwise (docs/assumptions.md #A11).