SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.08670 · 2019

MMTM: Multimodal Transfer Module for CNN Fusion

arXiv · PDF · Open in the Atlas

Code that ran

1 of 3 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 0 failures of our instrument; 2 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/1911.08670.json · badge: /api/ran/1911.08670.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
haamoon/mmtm community (classifier label)
classifier basis not recorded on the link
1 ran · 2 no recorded run
FunctionStatusWhere it lives
test_mmtm_track_acc Ran
ran on a synthesized input
haamoon/mmtm/main_mmtm_ntu.py
code served (permissive licence) · get_code("880f16887cdc7f07")
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
import torch.nn as nn
from torch.utils.data import DataLoader

torch.manual_seed(0)

# Define a minimal model that matches the function's usage
class MMTMModel(nn.Module):
    def __init__(self, num_classes=5):
        super().__init__()
        self.num_classes = num_classes
        # Two separate streams for RGB and skeleton
        self.rgb_stream = nn.Linear(4, num_classes)
        self.ske_stream = nn.Linear(4, num_classes)
    
    def forward(self, inputs):
        # inputs is a tuple (rgb, ske)
        rgb, ske = inputs
        # Return tuple of two outputs for fusion
        output1 = self.rgb_stream(rgb)
        output2 = self.ske_stream(ske)
        return (output1, output2)

# Create model instance
model = MMTMModel(num_classes=5)

# Create minimal dataloaders
# Each sample needs 'rgb', 'ske', 'label' keys
class MiniBatch:
    def __init__(self, batch_size=2, num_classes=5):
        self.data = {
            'rgb': torch.randn(batch_size, 4),
            'ske': torch.randn(batch_size, 4),
            'label': torch.randint(0, num_classes, (batch_size,))
        }
    
    def __getitem__(self, key):
        return self.data[key]

# Create test dataloader with 2 batches
test_dataloader = [
    MiniBatch(batch_size=2, num_classes=5),
    MiniBatch(batch_size=2, num_classes=5)
]

dataloaders = {'test': test_dataloader}
dataset_sizes = {'test': 4}

ARGS = {
    'model': model,
    'dataloaders': dataloaders,
    'dataset_sizes': dataset_sizes,
    'device': 'cpu',
    'multitask': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — 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
step Not yet run
unverified (harvested, no recorded run)
haamoon/mmtm/main_mmtm_ntu.py
code served (permissive licence) · get_code("f5cbdca0600a0fd4")
How it ran

no invocation recorded.

train_mmtm_track_acc Not yet run
unverified (harvested, no recorded run)
haamoon/mmtm/main_mmtm_ntu.py
code served (permissive licence) · get_code("2d362aa3ef70c383")
How it ran

no invocation recorded.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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 3 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

In late fusion, each modality is processed in a separate unimodal Convolutional Neural Network (CNN) stream and the scores of each modality are fused at the end. Due to its simplicity late fusion is still the predominant approach in many state-of-the-art multimodal applications. In this paper, we present a simple neural network module for leveraging the knowledge from multiple modalities in convolutional neural networks. The propose unit, named Multimodal Transfer Module (MMTM), can be added at different levels of the feature hierarchy, enabling slow modality fusion. Using squeeze and excitation operations, MMTM utilizes the knowledge of multiple modalities to recalibrate the channel-wise features in each CNN stream. Despite other intermediate fusion methods, the proposed module could be used for feature modality fusion in convolution layers with different spatial dimensions. Another advantage of the proposed method is that it could be added among unimodal branches with minimum changes in the their network architectures, allowing each branch to be initialized with existing pretrained weights. Experimental results show that our framework improves the recognition accuracy of well-known multimodal networks. We demonstrate state-of-the-art or competitive performance on four datasets that span the task domains of dynamic hand gesture recognition, speech enhancement, and action recognition with RGB and body joints.

For agents

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

get_harvested_code_for_paper("1911.08670")
get_code_for_paper("1911.08670")
have("1911.08670")

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

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

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

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

Connect an agent — have() is free.