Skip to content
mvrlPublic

About

Official code for "Genesis: A Generative Engine for Hierarchical Satellite Image Synthesis"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genesis: A Generative Engine for Hierarchical Satellite Image Synthesis

Project Page arXiv Hugging Face Models

Subash Khanal, Yangzhi Cui, Daniel Cher, Eric Xing, Brian Wei, Srikumar Sastry, Nathan Jacobs

Washington University in St. Louis

ACM SIGSPATIAL 2026 — Oral Presentation

Genesis: sparse seed tiles → full multi-scale quadtree

Genesis completes a sparse set of seed satellite tiles into a full, zoomable Web-Mercator quadtree — filling every scale and location — with two flow-matching JiT operators (parent-conditional super-resolution + mask-based outpainting) composed into one pyramid engine. From the input seeds, the engine (1) takes the seed tiles, (2) brings them to a common working level, (3) greedily out-paints to complete that level, (4–5) super-resolves down to the leaf tiles, and (6) fills the coarser levels by downsampling — yielding a pyramid that is consistent across scales and honors every seed.

The Genesis pyramid-completion pipeline

Install

Uses uv. From the repo root:

uv sync                     # creates .venv, installs the pinned deps (Python 3.13, torch 2.8 cu128)
source .venv/bin/activate   # or prefix commands with `uv run`

For CPU-only, drop the pytorch-cu128 index in pyproject.toml first.

Checkpoints & data

Everything auto-downloads on first use — no authentication, no setup, nothing on a private path.

Artifact Hosted on How it's obtained
Checkpoints (main and ablation) 🤗 MVRL/genesis auto-download to $GENESIS_CKPT_BASE (--exp main_b16 / main_h16 / abl_*)
DINOv3-sat encoder weights 🤗 MVRL/genesis auto-download; override with $GENESIS_DINO_WEIGHTS
Split meta + hierarchy index 🤗 MVRL/genesis shared/ auto-download to $GENESIS_CKPT_BASE/shared/
Git-10M tiles 🤗 lcybuaa/Git-10M datasets.load_dataset(...) (override cache with $HF_DATASETS_CACHE)
dense500 benchmark 🤗 dcher95/dense500 auto-download via pyramid.dataset.GlobalDense

Files cache under $GENESIS_CKPT_BASE (default <repo>/logs/ckpts/). To pre-download the full release (~70 GB): bash src/eval/download_ckpts.sh.

Quick start — inference

One SR ×2 pass and one outpainting pass on a live Esri World Imagery tile, using the released JiT-H/16 checkpoints:

python demos/example_sr_op.py

Inputs and outputs land in logs/example_sr_op/. Step-by-step code and details → docs/QUICKSTART.md.

Demos

The main demo is the full-pyramid generator: drop sparse seed tiles on a map and Genesis completes the entire multi-scale quadtree, streaming tile-by-tile.

python demos/app_pyramid_unified.py   # opens a Gradio app; prints a local + shareable URL

Click the map to drop seeds → Generate; checkpoints auto-download on first use. Other apps (per-tile SR, single-tile outpainting, lateral-outpainting grid, deep 6-level pyramid, no-model interpolation baselines) are in demos/README.md.

Evaluate

One command per paper table, with the paper-exact defaults baked in — see docs/EVALUATION.md:

bash src/eval/run_all_sr.sh          # super-resolution
bash src/eval/run_all_op.sh          # outpainting
bash src/eval/run_all_ablation.sh    # SR ablation
bash src/eval/run_all_dense500.sh    # dense500 pyramid completion

Train

Train the two operators from scratch — see docs/TRAINING.md:

cd src/superresolution && ./run_sr.sh    # parent-conditional SR
cd src/outpainting     && ./run_op.sh    # mask-based outpainting

Repository

src/
├── superresolution/   # Parent-conditional 256 → 512 SR (ZL → ZL+1)
├── outpainting/       # Mask-based 256×256 image completion
├── pyramid/           # Full-pyramid generation engine (multi-scale tile completion)
├── eval/              # Per-sample + pyramid evaluation
├── dataprep/          # One-shot scripts to build the shared meta + hierarchy
└── util/              # Shared building blocks (RoPE, RMSNorm, sin-cos pos embed)
Guide What
docs/QUICKSTART.md run inference with the released models in a few lines
docs/EVALUATION.md evaluate the released models on the paper's benchmarks
docs/TRAINING.md train the SR & OP operators
docs/HYPERPARAMETERS.md every training/eval hyperparameter + sample count (paper vs. code)
docs/METRICS.md · docs/METRICS_DENSE500.md metric definitions (tile · pyramid)
demos/README.md interactive Gradio demos

Citation

@inproceedings{khanal2026genesis,
  author = {Khanal, Subash and Cui, Yangzhi and Cher, Daniel and Xing, Eric and Wei, Brian and Sastry, Srikumar and Jacobs, Nathan},
  booktitle = {ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL)},
  title = {Genesis: A Generative Engine for Hierarchical Satellite Image Synthesis},
  doi = {10.1145/3841645.3843313},
  month = nov,
  year = {2026},
  pdf = {https://arxiv.org/pdf/2609.02683},
  archiveprefix = {arXiv},
  primaryclass = {cs.CV},
  eprint = {2609.02683},
  code = {https://github.com/mvrl/genesis},
  project = {https://subash-khanal.github.io/genesis/},
  huggingface = {https://huggingface.co/MVRL/genesis}
}

License & acknowledgments

Released under the MIT License — see LICENSE. Both Genesis operators build on JiT — we thank the authors for releasing their codebase. The DINOv3-sat encoder weights are from Meta AI's DINOv3 release (governed by Meta's DINOv3 license). Training data comes from the Git-10M corpus; demo imagery is fetched live from Esri World Imagery.

About

Official code for "Genesis: A Generative Engine for Hierarchical Satellite Image Synthesis"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages