SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · aaai_29391 · AAAI · 2024

LDS 2 AE: Local Diffusion Shared-Specific Autoencoder for Multimodal Remote Sensing Image Classification with Arbitrary Missing Modalities

Wenqian Dong, Yuanbo Yang, Yufei Yang, Jiahui Qu

Open in the Atlas

Code that ran

13 of 19 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 10 have no contract verdict; 2 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/aaai_29391.json · badge: /api/ran/aaai_29391.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
Jiahuiqu/LDS2AE canonical (classifier label)
classifier basis: census
13 ran · 6 no recorded run
FunctionStatusWhere it lives
DDPM_LOSS Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/model.py
code served (permissive licence) · get_code("60655f6bb4933b24")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

# Define tensor shapes
# imgs and model_output: (N, C, H, W) where N=batch, C=channels, H=height, W=width
# For patchify to work, H and W must be divisible by size
# size will be 2, so H=4, W=6 (divisible by 2)
batch_size = 2
channels = 3
height = 4
width = 6
size = 2

# model_output: (N, C, H, W) - RGB image
model_output = torch.randn(batch_size, channels, height, width)

# model_output_LIDAR: (N, C_lidar, H, W) - LIDAR data (1 channel)
model_output_LIDAR = torch.randn(batch_size, 1, height, width)

# target: (N, C, H, W) - target RGB image
target = torch.randn(batch_size, channels, height, width)

# target_LIDAR: (N, C_lidar, H, W) - target LIDAR data
target_LIDAR = torch.randn(batch_size, 1, height, width)

# mask: (N, num_patches) where num_patches = (H//size) * (W//size)
num_patches = (height // size) * (width // size)  # 2 * 3 = 6
mask = torch.randint(0, 2, (batch_size, num_patches)).float()

# mask_LIDAR: (N, num_patches)
mask_LIDAR = torch.randint(0, 2, (batch_size, num_patches)).float()

# Ensure at least some non-zero values in masks to avoid division by zero
mask[0, 0] = 1
mask_LIDAR[0, 0] = 1

ARGS = {
    "model_output": model_output,
    "model_output_LIDAR": model_output_LIDAR,
    "target": target,
    "target_LIDAR": target_LIDAR,
    "mask": mask,
    "mask_LIDAR": mask_LIDAR,
    "size": size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
approx_standard_normal_cdf Ran
ran; our contract draft was wrong, not the code
Jiahuiqu/LDS2AE/diffusion/diffusion_utils.py
code served (permissive licence) · get_code("d6a68e210556f857")
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) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 as th
import numpy as np

th.manual_seed(0)

# The function takes a single parameter 'x' which should be a torch tensor
# It performs mathematical operations on it: tanh, pow, addition, multiplication
# So x should be a tensor of any shape

x = th.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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_morphological_profiles Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/build_EMP.py
code served (permissive licence) · get_code("34fdcd05349440c6")
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 ndarray, ndim 3, dtype family float, shape (4, 3, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
from skimage.morphology import disk

# Create a small 2D test image (4x3 to have distinct dimensions)
test_image = np.array([
    [10, 20, 30],
    [40, 50, 60],
    [70, 80, 90],
    [100, 110, 120]
], dtype=np.uint8)

ARGS = {
    "image": test_image,
    "se_size": 2,
    "se_size_increment": 1,
    "num_openings_closings": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 3, 5) — shape (4, 3, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
classification_map Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/generate_pic.py
code served (permissive licence) · get_code("2698de0e51a49eb2")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
import tempfile
import os

torch.manual_seed(0)

# Create temporary directory for saving output
temp_dir = tempfile.gettempdir()
save_path = os.path.join(temp_dir, "classification_map_test.png")

# img: should be a 2D or 3D array/tensor representing an image
# The function doesn't directly use img, but it should have appropriate shape
img = np.random.rand(100, 120, 3).astype(np.float32)

# ground_truth: used for shape[0] and shape[1] to determine figure size
# Should be a 2D array with height and width
ground_truth = np.random.randint(0, 10, size=(100, 120)).astype(np.int32)

# dpi: dots per inch, used in figure sizing and savefig
dpi = 100

ARGS = {
    "img": img,
    "ground_truth": ground_truth,
    "dpi": dpi,
    "save_path": save_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
closing_by_reconstruction Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/build_EMP.py
code served (permissive licence) · get_code("83441238a5dab7e4")
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 ndarray, ndim 2, dtype family float, shape (4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
from skimage.morphology import disk

# Create a small 2D image (4x3 to have distinct dimensions)
image = np.array([
    [0, 50, 100],
    [25, 75, 150],
    [10, 60, 120],
    [30, 80, 110]
], dtype=np.uint8)

# Create a small structuring element (disk-shaped)
se = disk(1)

ARGS = {
    "image": image,
    "se": se
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
continuous_gaussian_log_likelihood Ran
ran; our contract draft was wrong, not the code
Jiahuiqu/LDS2AE/diffusion/diffusion_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from rerv/vdt, is pointer only (licence: NOASSERTION) · get_code("ab1c9568b4e13899")
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 rerv/vdt, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

load_data Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/data_read.py
code served (permissive licence) · get_code("b7a06d42256078a7")
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 tuple. 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 numpy as np
import scipy.io as sio
import tempfile
import os

# Create temporary directory and mock .mat files
temp_dir = tempfile.mkdtemp()

# Create mock dataset directories and files for 'Trento'
trento_dir = os.path.join(temp_dir, 'datasets', 'Trento')
os.makedirs(trento_dir, exist_ok=True)

# Create mock .mat files with numpy arrays
hsi_data = np.random.rand(10, 10, 50).astype(np.float32)
lidar_data = np.random.rand(10, 10, 1).astype(np.float32)
label_data = np.random.randint(0, 5, (10, 10)).astype(np.int64)

sio.savemat(os.path.join(trento_dir, 'HSI_data.mat'), {'HSI_data': hsi_data})
sio.savemat(os.path.join(trento_dir, 'LiDAR_data.mat'), {'LiDAR_data': lidar_data})
sio.savemat(os.path.join(trento_dir, 'All_Label.mat'), {'All_Label': label_data})

# Temporarily change working directory to use relative paths
original_cwd = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'dataset': 'Trento'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
normal_kl Ran
ran, honoured the contract we drafted
Jiahuiqu/LDS2AE/diffusion/diffusion_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from rerv/vdt, is pointer only (licence: NOASSERTION) · get_code("8afbfc42c6ea0448")
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 rerv/vdt, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

opening_by_reconstruction Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/build_EMP.py
code served (permissive licence) · get_code("0507a747713c3d57")
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 ndarray, ndim 2, dtype family float, shape (4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
from skimage.morphology import reconstruction, erosion, square

# Create a small 2D image (4x3 to have distinct dimensions)
image = np.array([
    [0, 1, 1],
    [1, 1, 0],
    [0, 1, 1],
    [1, 0, 1]
], dtype=np.uint8)

# Create a structuring element (square of size 2x2)
se = square(2)

ARGS = {
    "image": image,
    "se": se
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
patchify Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/model.py
code served (permissive licence) · get_code("d0417fac9afe3175")
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 tuple. 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

torch.manual_seed(0)

# Create small test tensors
# imgs: (N, 3, H, W) - batch of 2, 3 channels, height 8, width 8
imgs = torch.randn(2, 3, 8, 8)

# imgs_LIDAR: (N, C, H, W) - batch of 2, 1 channel, height 8, width 8
imgs_LIDAR = torch.randn(2, 1, 8, 8)

# size: patch size (must divide H and W evenly)
size = 4

ARGS = {
    "imgs": imgs,
    "imgs_LIDAR": imgs_LIDAR,
    "size": size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
pca_whitening Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/data_read.py
code served (permissive licence) · get_code("689200103544dd74")
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 ndarray, ndim 3, dtype family float, shape (4, 3, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
from sklearn.decomposition import PCA

# Create a small sample image with shape (height, width, channels)
# Using distinct dimensions: 4x3x2 (4 rows, 3 columns, 2 channels)
image = np.random.randn(4, 3, 2).astype(np.float32)

# Number of principal components to extract
number_of_pc = 2

ARGS = {
    "image": image,
    "number_of_pc": number_of_pc,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 3, 2) — shape (4, 3, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
resize Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/augment.py
code served (permissive licence) · get_code("1cf981627c1ef504")
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 ndarray, ndim 4, dtype family float, shape (2, 3, 27, 27) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Construct a valid train_image argument
# The function expects shape [batch, channels, height, width]
# Using distinct sizes: batch=2, channels=3, height=4, width=5
train_image = np.random.randn(2, 3, 4, 5).astype(np.float32)

# Define ARGS with all parameters
ARGS = {
    "train_image": train_image,
    "size": (27, 27)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (2, 3, 27, 27) — shape (2, 3, 27, 27) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
tr_acc Ran
ran on a synthesized input
Jiahuiqu/LDS2AE/util_CNN.py
code served (permissive licence) · get_code("e5750c452d43746b")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim 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 torch.nn as nn
from torch.utils.data import TensorDataset, DataLoader

torch.manual_seed(0)

# Define a minimal model that satisfies the function's usage
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(8, 3)  # 4 (image) + 4 (LIDAR) = 8 input, 3 classes output
    
    def forward(self, image, lidar, t):
        # Concatenate image and LIDAR, pass through linear layer
        combined = torch.cat([image, lidar], dim=1)
        logits = self.linear(combined)
        return logits

# Define a minimal diffusion object with num_timesteps attribute
class MinimalDiffusion:
    def __init__(self):
        self.num_timesteps = 1000

# Create small tensors (batch=2, dims vary)
image = torch.randn(2, 4)  # 2 samples, 4 features
image_LIDAR = torch.randn(2, 4)  # 2 samples, 4 features
label = torch.randint(0, 3, (2,))  # 2 labels, 3 classes

# Create model and diffusion
model = MinimalModel()
diffusion = MinimalDiffusion()

ARGS = {
    "model": model,
    "image": image,
    "image_LIDAR": image_LIDAR,
    "label": label,
    "diffusion": diffusion
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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_2d_sincos_pos_embed Not yet run
unverified (harvested, no recorded run)
Jiahuiqu/LDS2AE/pos_embed.py
pointer only (licence: MIT); the stored copy get_code serves, from yunongLiu1/IKEA-Manuals-at-Work, is pointer only (licence: NONE) · get_code("3185afc3e87293ed")
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 yunongLiu1/IKEA-Manuals-at-Work, 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.

get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
Jiahuiqu/LDS2AE/pos_embed.py
pointer only (licence: MIT); the stored copy get_code serves, from zhangyifei01/LMIM, is pointer only (licence: NONE) · get_code("f10004e059714d42")
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 zhangyifei01/LMIM, 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.

get_3d_sincos_pos_embed Not yet run
unverified (harvested, no recorded run)
Jiahuiqu/LDS2AE/pos_embed.py
code served (permissive licence) · get_code("11bd5b849a3e90a1")
How it ran

no invocation recorded.

pre_train Not yet run
unverified (harvested, no recorded run)
Jiahuiqu/LDS2AE/util_CNN.py
code served (permissive licence) · get_code("ceea10f4c6d25644")
How it ran

no invocation recorded.

take_elements Not yet run
unverified (harvested, no recorded run)
Jiahuiqu/LDS2AE/augment.py
code served (permissive licence) · get_code("b66ce645fded8625")
How it ran

no invocation recorded.

test_batch Not yet run
unverified (harvested, no recorded run)
Jiahuiqu/LDS2AE/util_CNN.py
code served (permissive licence) · get_code("7d7069319753a99c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 5 later) and 14 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
get_2d_sincos_pos_embed_from_grid 190 other papers
58 dated earlier, 50 later, 82 same year, order not determinable · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
normal_kl 160 other papers
76 dated earlier, 22 later, 62 same year, order not determinable · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
approx_standard_normal_cdf 154 other papers
74 dated earlier, 22 later, 58 same year, order not determinable · 17 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 151 more not named here
get_2d_sincos_pos_embed 95 other papers
43 dated earlier, 19 later, 33 same year, order not determinable · 33 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 92 more not named here
continuous_gaussian_log_likelihood 26 other papers
3 dated earlier, 4 later, 19 same year, order not determinable
2305.13311 (2023-05)
VDT: General-purpose Video Diffusion Transformers via Mask Modeling
2306.14770 (2023-06)
ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided Diffusion
2312.02139 (2023-12)
DiffiT: Diffusion Vision Transformers for Image Generation
and 23 more not named here

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-23.

Repositories linked to this paper

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

Abstract

Recent research on the joint classification of multimodal remote sensing data has achieved great success. However, due to the limitations imposed by imaging conditions, the case of missing modalities often occurs in practice. Most previous researchers regard the classification in case of different missing modalities as independent tasks. They train a specific classification model for each fixed missing modality by extracting multimodal joint representation, which cannot handle the classification of arbitrary (including multiple and random) missing modalities. In this work, we propose a local diffusion shared-specific autoencoder (LDS 2 AE), which solves the classification of arbitrary missing modalities with a single model. The LDS 2 AE captures the data distribution of different modalities to learn multimodal shared feature for classification by designing a novel local diffusion autoencoder which consists of a modality-shared encoder and several modality-specific decoders. The modality-shared encoder is designed to extract multimodal shared feature by employing the same parameters to map multimodal data into a shared subspace. The modality-specific decoders put the multimodal shared feature to reconstruct the image of each modality, which facilitates the shared feature to learn unique information of different modalities. In addition, we incorporate masked training to the diffusion autoencoder to achieve local diffusion, which significantly reduces the training cost of model. The approach is tested on widely-used multimodal remote sensing datasets, demonstrating the effectiveness of the proposed LDS 2 AE in addressing the classification of arbitrary missing modalities. The code is available at https://github.com/Jiahuiqu/LDS2AE.

For agents

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

get_harvested_code_for_paper("aaai_29391")
get_code_for_paper("aaai_29391")
have("aaai_29391")

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

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

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

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

Connect an agent — have() is free.