SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.10897 · CVPR · 2024

Rethinking Multi-view Representation Learning via Distilled Disentangling

Bo Wang, Shengfeng He, Xiaoli Wang, Guanzhou Ke

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 1 failure 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/2403.10897.json · badge: /api/ran/2403.10897.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
Guanzhou-Ke/MRDD community
Papers with Code archive
8 ran · 3 no recorded run
FunctionStatusWhere it lives
AttnBlock Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("3a6490b3d3c9759c")
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 an instance of its own class, AttnBlock: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

ARGS = {
    'in_channels': 4
}
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 AttnBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AttnBlock 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
CLUBSample Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("b8da19f9ca7bee3d")
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 an instance of its own class, CLUBSample: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

# Define the ARGS dict with all parameters for CLUBSample.__init__
ARGS = {
    'ccode_dim': 4,
    'vcode_dim': 3,
    'hidden_size': 16,
}

# Verify the setup by instantiating the model and calling its methods
model = nn.Module.__new__(type('CLUBSample', (nn.Module,), {}))
model.__dict__.update({
    'p_mu': nn.Sequential(
        nn.Linear(ARGS['vcode_dim'], ARGS['hidden_size'] // 2),
        nn.ReLU(),
        nn.Linear(ARGS['hidden_size'] // 2, ARGS['ccode_dim'])
    ),
    'p_logvar': nn.Sequential(
        nn.Linear(ARGS['vcode_dim'], ARGS['hidden_size'] // 2),
        nn.ReLU(),
        nn.Linear(ARGS['hidden_size'] // 2, ARGS['ccode_dim']),
        nn.Tanh()
    ),
})

# Create small sample tensors for testing
x_samples = torch.randn(2, ARGS['vcode_dim'])
y_samples = torch.randn(2, ARGS['ccode_dim'])

ARGS
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 CLUBSample — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CLUBSample 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
Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("1efc99b27bd43fa3")
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 an instance of its own class, Decoder: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

ARGS = {
    'hidden_dim': 64,
    'out_channels': 3,
    'ch_mult': (1, 2, 4, 8),
    'num_res_blocks': 2,
    'attn_resolutions': [16],
    'dropout': 0.1,
    'resamp_with_conv': True,
    'in_channels': 3,
    'resolution': 128,
    'z_channels': 4,
    'give_pre_end': False,
    'use_attn': True,
}
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 Decoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Decoder 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
Downsample Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("b394ee852c6ff0c5")
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 an instance of its own class, Downsample: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

class Downsample(nn.Module):

    def __init__(self, in_channels, with_conv, stride=2):
        super().__init__()
        self.with_conv = with_conv
        if self.with_conv:
            self.conv = torch.nn.Conv2d(in_channels, in_channels, kernel_size=3, stride=2, padding=0)
            if stride == 4:
                self.conv_2 = torch.nn.Conv2d(in_channels, in_channels, kernel_size=3, stride=2, padding=0)
        self.stride = stride

    def forward(self, x):
        if self.with_conv:
            pad = (0, 1, 0, 1)
            x = torch.nn.functional.pad(x, pad, mode='constant', value=0)
            x = self.conv(x)
            if self.stride == 4:
                x = torch.nn.functional.pad(x, pad, mode='constant', value=0)
                x = self.conv_2(x)
        else:
            x = torch.nn.functional.avg_pool2d(x, kernel_size=self.stride, stride=self.stride)
        return x

# Create a small test input tensor: batch_size=2, channels=4, height=8, width=8
test_input = torch.randn(2, 4, 8, 8)

# Test with stride=2 and with_conv=True
downsample_conv_stride2 = Downsample(in_channels=4, with_conv=True, stride=2)

# Test with stride=4 and with_conv=True
downsample_conv_stride4 = Downsample(in_channels=4, with_conv=True, stride=4)

# Test with stride=2 and with_conv=False
downsample_pool = Downsample(in_channels=4, with_conv=False, stride=2)

ARGS = {
    "in_channels": 4,
    "with_conv": True,
    "stride": 2
}
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 Downsample — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Downsample 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
Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("2004d700875fc458")
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 an instance of its own class, Encoder: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

ARGS = {
    "hidden_dim": 64,
    "in_channels": 3,
    "ch_mult": (1, 2, 4, 8),
    "num_res_blocks": 2,
    "attn_resolutions": (16,),
    "dropout": 0.1,
    "resamp_with_conv": True,
    "resolution": 32,
    "z_channels": 8,
    "double_z": True,
    "use_attn": True,
}
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 Encoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Encoder 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
Normalize Ran
ran; our contract draft was wrong, not the code
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("9cc982ae717b7ef6")
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 BatchNorm2d. 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)

ARGS = {
    'in_channels': 64,
    'norm_name': 'batch'
}
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 BatchNorm2d — a BatchNorm2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a BatchNorm2d 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
ResnetBlock Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("84ec43a57574b29c")
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 an instance of its own class, ResnetBlock: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

ARGS = {
    'in_channels': 16,
    'out_channels': 32,
    'conv_shortcut': False,
    'dropout': 0.1,
    'temb_channels': 512
}
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 ResnetBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ResnetBlock 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
Upsample Ran
ran on a synthesized input · constructed an object; no result was computed
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("4ffbe02c2ead31b3")
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 an instance of its own class, Upsample: the run constructed the object and did not call it, so no result was computed. 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
from torch import nn

torch.manual_seed(0)

class Upsample(nn.Module):

    def __init__(self, in_channels, with_conv, stride=2):
        super().__init__()
        self.with_conv = with_conv
        self.stride = stride
        if self.with_conv:
            self.conv = torch.nn.Conv2d(in_channels, in_channels, kernel_size=3, stride=1, padding=1)

    def forward(self, x):
        x = torch.nn.functional.interpolate(x, scale_factor=self.stride, mode='nearest')
        if self.with_conv:
            x = self.conv(x)
        return x

# Create a small input tensor: batch_size=2, channels=4, height=3, width=3
x = torch.randn(2, 4, 3, 3)

ARGS = {
    'in_channels': 4,
    'with_conv': True,
    'stride': 2,
}

# Execute the function with the constructed arguments
upsample = Upsample(**ARGS)
output = upsample(x)
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 Upsample — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Upsample 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
ConsistencyAE Not yet run
unverified (harvested, no recorded run)
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("32c0fc530cc442ba")
How it ran

no invocation recorded.

MRDD Not yet run
unverified (harvested, no recorded run)
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("ecc737bba877b8cf")
How it ran

no invocation recorded.

ViewSpecificAE Not yet run
unverified (harvested, no recorded run)
Guanzhou-Ke/MRDD/src/models/mrdd.py
code served (permissive licence) · get_code("f837b387e40f19b3")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 9 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
AttnBlock
brick of this paper's assembly: helper
14 other papers
7 dated earlier, 1 the same month, 6 later · 9 only as an assembly brick
2107.11298 (2021-07)
SurfaceNet: Adversarial SVBRDF Estimation from a Single Image
2205.07460 (2022-05)
Diffusion Models for Adversarial Purification
2210.00471 (2022-10)
OCD: Learning to Overfit with Conditional Diffusion Models
and 11 more not named here
ResnetBlock
brick of this paper's assembly: helper
7 other papers
3 dated earlier, 1 the same month, 3 later · 4 only as an assembly brick
2107.11298 (2021-07)
SurfaceNet: Adversarial SVBRDF Estimation from a Single Image
2307.08996 (2023-07)
Towards Authentic Face Restoration with Iterative Diffusion Models and Beyond
2310.03502 (2023-10)
Kandinsky: an Improved Text-to-Image Synthesis with Image Prior and Latent Diffusion
and 4 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-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

Multi-view representation learning aims to derive robust representations that are both view-consistent and viewspecific from diverse data sources. This paper presents an in-depth analysis of existing approaches in this domain, highlighting a commonly overlooked aspect: the redundancy between view-consistent and view-specific representations. To this end, we propose an innovative framework for multi-view representation learning, which incorporates a technique we term 'distilled disentangling'. Our method introduces the concept of masked cross-view prediction, enabling the extraction of compact, high-quality view-consistent representations from various sources without incurring extra computational overhead. Additionally, we develop a distilled disentangling module that efficiently filters out consistency-related information from multi-view representations, resulting in purer view-specific representations. This approach significantly reduces redundancy between view-consistent and view-specific representations, enhancing the overall efficiency of the learning process. Our empirical evaluations reveal that higher mask ratios substantially improve the quality of view-consistent representations. Moreover, we find that reducing the dimensionality of view-consistent representations relative to that of view-specific representations further refines the quality of the combined representations. Our code is accessible at: https://github.com/Guanzhou-Ke/MRDD.

For agents

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

get_harvested_code_for_paper("2403.10897")
get_code_for_paper("2403.10897")
have("2403.10897")

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

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

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

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

Connect an agent — have() is free.