SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.11933 · 2024

Harnessing Massive Satellite Imagery with Efficient Masked Image Modeling

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.11933.json · badge: /api/ran/2406.11933.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Fengxiang23/SelectiveMAE canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
FunctionStatusWhere it lives
build_dataset Ran
ran; our contract draft was wrong, not the code
Fengxiang23/SelectiveMAE/SelectiveMAE/util/datasets.py
code served (permissive licence) · get_code("519bbbff76c0ed7c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ImageFolder. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil
from PIL import Image
import torch

# Create a temporary directory structure with dummy image data
temp_dir = tempfile.mkdtemp()
train_dir = os.path.join(temp_dir, 'train', 'class0')
val_dir = os.path.join(temp_dir, 'val', 'class0')
os.makedirs(train_dir, exist_ok=True)
os.makedirs(val_dir, exist_ok=True)

# Create dummy images for training and validation
for i in range(2):
    img = Image.new('RGB', (256, 256), color=(73, 109, 137))
    img.save(os.path.join(train_dir, f'train_img_{i}.jpg'))
    img.save(os.path.join(val_dir, f'val_img_{i}.jpg'))

# Create args config object
class Args:
    def __init__(self):
        self.input_size = 224
        self.color_jitter = 0.4
        self.aa = 'rand-m9-mstd0.5'
        self.reprob = 0.25
        self.remode = 'pixel'
        self.recount = 1
        self.data_path = temp_dir

ARGS = {
    'is_train': True,
    'args': Args()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, timm, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ImageFolder — a ImageFolder output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_transform Ran
ran; our contract draft was wrong, not the code
Fengxiang23/SelectiveMAE/SelectiveMAE/util/datasets.py
code served (permissive licence) · get_code("ae15999500b3952c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Compose. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import PIL
import torchvision.transforms as transforms
from timm.data import create_transform
from timm.data.constants import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD

torch.manual_seed(0)

class ArgsConfig:
    def __init__(self):
        self.input_size = 224
        self.color_jitter = 0.4
        self.aa = 'rand-m9-mstd0.5'
        self.reprob = 0.25
        self.remode = 'pixel'
        self.recount = 1

args_obj = ArgsConfig()

ARGS = {
    'is_train': True,
    'args': args_obj
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, timm, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_layer_id_for_vit Ran
ran, honoured the contract we drafted
Fengxiang23/SelectiveMAE/SelectiveMAE/util/lr_decay.py
pointer only (licence: MIT); the stored copy get_code serves, from NikolaCenic/ecg-stenosis-cls, is pointer only (licence: NONE) · get_code("89edf5372214b57d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from NikolaCenic/ecg-stenosis-cls, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

param_groups_lrd Ran
ran; our contract draft was wrong, not the code
Fengxiang23/SelectiveMAE/SelectiveMAE/util/lr_decay.py
pointer only (licence: MIT); the stored copy get_code serves, from NikolaCenic/ecg-stenosis-cls, is pointer only (licence: NONE) · get_code("8baf25cef41cba16")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from NikolaCenic/ecg-stenosis-cls, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

concat_all_gather Not yet run
unverified (harvested, no recorded run)
Fengxiang23/SelectiveMAE/SelectiveMAE/infobatch.py
pointer only (licence: MIT); the stored copy get_code serves, from nus-hpc-ai-lab/infobatch, is pointer only (licence: NONE) · get_code("09f4e10c77016d7e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from nus-hpc-ai-lab/infobatch, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

handle_flash_attn Not yet run
unverified (harvested, no recorded run)
Fengxiang23/SelectiveMAE/SelectiveMAE/transformer_utils.py
code served (permissive licence) · get_code("1a3e01d4552a3b11")
How it ran

no invocation recorded.

info_hack_indices Not yet run
unverified (harvested, no recorded run)
Fengxiang23/SelectiveMAE/SelectiveMAE/infobatch.py
code served (permissive licence) · get_code("4b0f67bb535e2dd1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 7 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
build_transform 15 other papers
11 dated earlier, 4 later
2205.03892 (2022-05)
ConvMAE: Masked Convolution Meets Masked Autoencoders
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
and 12 more not named here
build_dataset 14 other papers
9 dated earlier, 1 the same month, 4 later
2205.03892 (2022-05)
ConvMAE: Masked Convolution Meets Masked Autoencoders
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
aaai_25300 (2023 (year only))
Exploring Stochastic Autoregressive Image Modeling for Visual Representation
and 11 more not named here
param_groups_lrd 14 other papers
8 dated earlier, 5 later, 1 same year, order not determinable
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2211.12941 (2022-11)
EurNet: Efficient Multi-Range Relational Modeling of Spatial Multi-Relational Data
aaai_25300 (2023 (year only))
Exploring Stochastic Autoregressive Image Modeling for Visual Representation
and 11 more not named here
get_layer_id_for_vit 13 other papers
8 dated earlier, 4 later, 1 same year, order not determinable
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
aaai_25300 (2023 (year only))
Exploring Stochastic Autoregressive Image Modeling for Visual Representation
2301.11445 (2023-01)
3DShape2VecSet: A 3D Shape Representation for Neural Fields and Generative Diffusion Models
and 10 more not named here
concat_all_gather 5 other papers
1 dated earlier, 4 later · 1 only as an assembly brick
2303.04947 (2023-03)
InfoBatch: Lossless Training Speed Up by Unbiased Dynamic Data Pruning
2503.13385 (2025-03)
Scale Efficient Training for Large Datasets
and 2 more not named here
handle_flash_attn 4 other papers
1 dated earlier, 3 later
2401.14391 (2024-01)
Rethinking Patch Dependence for Masked Autoencoders
2408.15980 (2024-08)
In-Context Imitation Learning via Next-Token Prediction
and 1 more not named here
info_hack_indices 2 other papers
1 dated earlier, 1 later
2303.04947 (2023-03)
InfoBatch: Lossless Training Speed Up by Unbiased Dynamic Data Pruning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Masked Image Modeling (MIM) has become an essential method for building foundational visual models in remote sensing (RS). However, the limitations in size and diversity of existing RS datasets restrict the ability of MIM methods to learn generalizable representations. Additionally, conventional MIM techniques, which require reconstructing all tokens, introduce unnecessary computational overhead. To address these issues, we present a new pre-training pipeline for RS models, featuring the creation of a large-scale RS dataset and an efficient MIM approach. We curated a high-quality dataset named OpticalRS-13M by collecting publicly available RS datasets and processing them through exclusion, slicing, and deduplication. OpticalRS-13M comprises 13 million optical images covering various RS tasks, such as object detection and pixel segmentation. To enhance efficiency, we propose SelectiveMAE, a pre-training method that dynamically encodes and reconstructs semantically rich patch tokens, thereby reducing the inefficiencies of traditional MIM models caused by redundant background pixels in RS images. Extensive experiments show that OpticalRS-13M significantly improves classification, detection, and segmentation performance, while SelectiveMAE increases training efficiency over 2$\times$ times. This highlights the effectiveness and scalability of our pipeline in developing RS foundational models. The dataset, source code, and trained models will be released at https://github.com/MiliLab/SelectiveMAE.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.11933")
get_code_for_paper("2406.11933")
have("2406.11933")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.11933.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.11933.svg)](https://syntology.ai/paper/2406.11933)

Connect an agent — have() is free.