SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.12734 · AAAI · 2023

EMEF: Ensemble Multi-Exposure Image Fusion

Ming Zeng, Xuan Cheng, Chengyang Li, Renshuai Liu, Haitao Cao, Yinglin Zheng

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 1 failure of our instrument; 3 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/2305.12734.json · badge: /api/ran/2305.12734.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
medalwill/EMEF community
Papers with Code archive
4 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("705180bf16f5b08d")
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
import torch.nn as nn

torch.manual_seed(0)

# The Decoder expects:
# - in_channels: int (number of input channels for ConvTranspose2d)
# - out_channels: int (number of output channels)
# - norm: a callable that takes out_channels and returns a normalization module
# - use_dropout: bool (optional, defaults to True)

# Looking at the forward method:
# - x1 is concatenated with x2 along dim=1 (channel dimension)
# - x1 then goes through ConvTranspose2d(in_channels, out_channels, ...)
# - The concatenated tensor has in_channels channels total

# So if in_channels=8 and we concatenate x1 and x2, they should sum to 8 channels.
# Let's say x1 has 4 channels and x2 has 4 channels, so in_channels=8, out_channels=16

in_channels = 8
out_channels = 16

# norm should be a class (like nn.BatchNorm2d) that takes out_channels as argument
norm = nn.BatchNorm2d

# Create sample tensors for forward pass
# Batch size 2, channels must work with the concatenation
# x1 will be processed through relu, so any shape works initially
# After concatenation with x2, total channels should be in_channels
# x1: (batch=2, channels=4, height=3, width=3)
# x2: (batch=2, channels=4, height=3, width=3)
# After cat: (batch=2, channels=8, height=3, width=3) - matches in_channels
x1 = torch.randn(2, 4, 3, 3)
x2 = torch.randn(2, 4, 3, 3)

use_dropout = True

ARGS = {
    'in_channels': in_channels,
    'out_channels': out_channels,
    'norm': norm,
    'use_dropout': use_dropout
}
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
DecoderFinal Ran
ran on a synthesized input
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("de77fdcf5354870c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, 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

class DecoderFinal(nn.Module):

    def __init__(self, in_channels, out_channels):
        super(DecoderFinal, self).__init__()
        self.relu = nn.ReLU(True)
        self.up = nn.ConvTranspose2d(in_channels, out_channels, kernel_size=4, stride=2, padding=1)
        self.tanh = nn.Tanh()

    def forward(self, x1, x2):
        x1 = self.relu(x1)
        x1 = torch.cat((x1, x2), dim=1)
        x1 = self.up(x1)
        x1 = self.tanh(x1)
        return x1


INIT_ARGS = {
    'in_channels': 8,
    'out_channels': 3,
}

ARGS = {
    'x1': torch.randn(2, 4, 5, 6),
    'x2': torch.randn(2, 4, 5, 6),
}

if __name__ == '__main__':
    model = DecoderFinal(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output dtype: {output.dtype}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
FullyConnectedLayer Ran
ran on a synthesized input · constructed an object; no result was computed
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("70526f05558a691f")
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, FullyConnectedLayer: 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 numpy as np

torch.manual_seed(0)

# Mock the bias_act module since it's imported in the forward method
class MockBiasAct:
    @staticmethod
    def bias_act(x, b, act='linear'):
        if b is not None:
            x = x + b.unsqueeze(0)
        if act == 'linear':
            return x
        elif act == 'relu':
            return torch.nn.functional.relu(x)
        elif act == 'lrelu':
            return torch.nn.functional.leaky_relu(x, 0.2)
        else:
            return x

# Inject mock into the module namespace
import sys
mock_bias_act_module = type(sys)('bias_act')
mock_bias_act_module.bias_act = MockBiasAct.bias_act
sys.modules['bias_act'] = mock_bias_act_module

ARGS = {
    'in_features': 4,
    'out_features': 3,
    'bias': True,
    'activation': 'linear',
    'lr_multiplier': 1.0,
    'bias_init': 0.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type FullyConnectedLayer — 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 FullyConnectedLayer 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
MappingNetwork Ran
ran on a synthesized input · constructed an object; no result was computed
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("443dd4f824abe513")
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, MappingNetwork: 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 numpy as np

torch.manual_seed(0)

# Mock bias_act module since it's imported but we need to provide it
class MockBiasAct:
    @staticmethod
    def bias_act(x, b, act='linear'):
        if b is not None:
            x = x + b
        if act == 'lrelu':
            return torch.nn.functional.leaky_relu(x, 0.2)
        elif act == 'relu':
            return torch.nn.functional.relu(x)
        else:
            return x

import sys
sys.modules['bias_act'] = MockBiasAct()

ARGS = {
    'z_dim': 4,
    'c_dim': 3,
    'w_dim': 5,
    'num_ws': 6,
    'num_layers': 3,
    'embed_features': 5,
    'layer_features': 5,
    'activation': 'lrelu',
    'lr_multiplier': 0.01,
    'w_avg_beta': 0.995,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MappingNetwork — 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 MappingNetwork 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_2nd_moment Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from POSTECH-CVLab/PyTorch-StudioGAN
pointer only; the stored copy get_code serves, from POSTECH-CVLab/PyTorch-StudioGAN, is pointer only (licence: NOASSERTION) · get_code("670fe68b890c9792")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

SynthesisLayer Not yet run
unverified (harvested, no recorded run)
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("6c0cd1dc813b4e85")
How it ran

no invocation recorded.

Unet512 Not yet run
unverified (harvested, no recorded run)
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("b39a12f3d4d84aae")
How it ran

no invocation recorded.

modulated_conv2d Not yet run
unverified (harvested, no recorded run)
medalwill/EMEF/models/networks.py
code served (permissive licence) · get_code("2284b403a5ef468d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 7 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
normalize_2nd_moment
brick of this paper's assembly: helper
7 other papers
2 dated earlier, 5 later
2107.04589 (2021-07)
ViTGAN: Training GANs with Vision Transformers
2206.09479 (2022-06)
StudioGAN: A Taxonomy and Benchmark of GANs for Image Synthesis
2308.11473 (2023-08)
IT3D: Improved Text-to-3D Generation with Explicit View Synthesis
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-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

Although remarkable progress has been made in recent years, current multi-exposure image fusion (MEF) research is still bounded by the lack of real ground truth, objective evaluation function, and robust fusion strategy. In this paper, we study the MEF problem from a new perspective. We don't utilize any synthesized ground truth, design any loss function, or develop any fusion strategy. Our proposed method EMEF takes advantage of the wisdom of multiple imperfect MEF contributors including both conventional and deep learning-based methods. Specifically, EMEF consists of two main stages: pre-train an imitator network and tune the imitator in the runtime. In the first stage, we make a unified network imitate different MEF targets in a style modulation way. In the second stage, we tune the imitator network by optimizing the style code, in order to find an optimal fusion result for each input pair. In the experiment, we construct EMEF from four state-of-the-art MEF methods and then make comparisons with the individuals and several other competitive methods on the latest released MEF benchmark dataset. The promising experimental results demonstrate that our ensemble framework can "get the best of all worlds". The code is available at https://github.com/medalwill/EMEF.

For agents

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

get_harvested_code_for_paper("2305.12734")
get_code_for_paper("2305.12734")
have("2305.12734")

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

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

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

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

Connect an agent — have() is free.