SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.02050 · ICML · 2023

Provable Dynamic Fusion for Low-Quality Multimodal Data

Xi Peng, Changqing Zhang, Huazhu Fu, Joey Zhou, Qinghua Hu, Qingyang Zhang, Haitao Wu

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2306.02050.json · badge: /api/ran/2306.02050.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
QingyangZhang/QMF canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
qingyangzhang/qmf marked official in Papers with Code
Papers with Code archive
2 ran · 0 no recorded run
FunctionStatusWhere it lives
ImageEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
qingyangzhang/qmf/RGBD-scene-recognition/models/QMF.py
code served (permissive licence) · get_code("5bb50c23e7714abb")
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, ImageEncoder: 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
import torch.nn as nn
import torchvision
import tempfile
import os

torch.manual_seed(0)

# Create a minimal args object
class Args:
    def __init__(self):
        self.CONTENT_MODEL_PATH = None
        self.img_embed_pool_type = 'avg'
        self.num_image_embeds = 4

# Create a temporary state dict for a ResNet18 model
# We'll save a minimal state dict that matches ResNet18 structure
model = torchvision.models.resnet18(pretrained=False)
# Remove the final linear layer to match what ImageEncoder does
state_dict = model.state_dict()

# Create a temporary file to store the state dict
with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.pt') as f:
    temp_model_path = f.name
    torch.save(state_dict, f)

args = Args()
args.CONTENT_MODEL_PATH = temp_model_path

ARGS = {
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ImageEncoder — 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 ImageEncoder 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
QMF Ran
ran on a synthesized input · constructed an object; no result was computed
qingyangzhang/qmf/RGBD-scene-recognition/models/QMF.py
code served (permissive licence) · get_code("7d1d364d037a6e0e")
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, QMF: 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
import torch.nn as nn
import torchvision
import tempfile
import os

torch.manual_seed(0)

# Create a minimal pre-trained ResNet18 state dict
# We'll create a dummy state dict that matches ResNet18 structure
model_temp = torchvision.models.resnet18(pretrained=False)
state_dict = model_temp.state_dict()

# Save to a temporary file
with tempfile.NamedTemporaryFile(delete=False, suffix='.pt') as f:
    torch.save(state_dict, f.name)
    model_path = f.name

# Create args object as a simple class
class Args:
    def __init__(self):
        self.CONTENT_MODEL_PATH = model_path
        self.img_embed_pool_type = 'avg'
        self.num_image_embeds = 4
        self.img_hidden_sz = 8
        self.hidden = [16, 32]
        self.dropout = 0.1
        self.n_classes = 5

args_obj = Args()

ARGS = {
    'args': args_obj
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type QMF — 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 QMF 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_criterion Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
QingyangZhang/QMF/text-image-classification/train_qmf.py
code served (permissive licence) · get_code("83337ce5b4a2a13b")
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 BCEWithLogitsLoss. 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 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 argparse
import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'args': argparse.Namespace(
        task_type='multilabel',
        weight_classes=True,
        label_freqs=[100, 200, 150, 250],
        labels=[0, 1, 2, 3],
        train_data_len=700
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BCEWithLogitsLoss — a BCEWithLogitsLoss output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a BCEWithLogitsLoss 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_scheduler Ran
ran; our contract draft was wrong, not the code
QingyangZhang/QMF/text-image-classification/train_qmf.py
code served (permissive licence) · get_code("bc0eac6886ec6085")
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 ReduceLROnPlateau. 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 torch.nn as nn
import torch.optim as optim
import argparse

torch.manual_seed(0)

# Create a minimal model
model = nn.Linear(4, 3)

# Create an optimizer
optimizer = optim.SGD(model.parameters(), lr=0.1)

# Create args namespace with required attributes
args = argparse.Namespace(
    lr_patience=5,
    lr_factor=0.1
)

ARGS = {
    "optimizer": optimizer,
    "args": args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReduceLROnPlateau — a ReduceLROnPlateau output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ReduceLROnPlateau 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

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 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.

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

The inherent challenge of multimodal fusion is to precisely capture the cross-modal correlation and flexibly conduct cross-modal interaction. To fully release the value of each modality and mitigate the influence of low-quality multimodal data, dynamic multimodal fusion emerges as a promising learning paradigm. Despite its widespread use, theoretical justifications in this field are still notably lacking. Can we design a provably robust multimodal fusion method? This paper provides theoretical understandings to answer this question under a most popular multimodal fusion framework from the generalization perspective. We proceed to reveal that several uncertainty estimation solutions are naturally available to achieve robust multimodal fusion. Then a novel multimodal fusion framework termed Quality-aware Multimodal Fusion (QMF) is proposed, which can improve the performance in terms of classification accuracy and model robustness. Extensive experimental results on multiple benchmarks can support our findings.

For agents

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

get_harvested_code_for_paper("2306.02050")
get_code_for_paper("2306.02050")
have("2306.02050")

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

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

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

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

Connect an agent — have() is free.