SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.08724 · ICML · 2026

SynerMedGen: Synergizing Medical Multimodal Understanding with Generation via Task Alignment

Cheng Chen, Yi Dong, Weiren Zhao, Gen Perf, Und, Perf

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 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; 5 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 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/2605.08724.json · badge: /api/ran/2605.08724.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
piooip/SynerMedGen canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
apply_rotary_pos_emb Ran
ran; our contract draft was wrong, not the code
piooip/SynerMedGen/modeling/bagel/siglip_navit.py
code served (permissive licence) · get_code("4102c144078044c7")
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 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

torch.manual_seed(0)

# Analyze the function:
# - apply_rotary_pos_emb takes q, k, cos, sin
# - q and k are tensors that get unshaped with rotate_half
# - cos and sin are tensors that get unsqueezed at dim 1
# - rotate_half splits tensors along last dimension and recombines
# - All tensors participate in element-wise operations

# Create small tensors:
# batch_size=2, seq_len=3, hidden_dim=4
batch_size = 2
seq_len = 3
hidden_dim = 4

# q and k: (batch_size, seq_len, hidden_dim)
q = torch.randn(batch_size, seq_len, hidden_dim)
k = torch.randn(batch_size, seq_len, hidden_dim)

# cos and sin: (batch_size, hidden_dim) - will be unsqueezed to (batch_size, 1, hidden_dim)
cos = torch.randn(batch_size, hidden_dim)
sin = torch.randn(batch_size, hidden_dim)

ARGS = {
    "q": q,
    "k": k,
    "cos": cos,
    "sin": sin
}
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 4, 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
cache_init Ran
ran; our contract draft was wrong, not the code
piooip/SynerMedGen/modeling/cache_utils/taylorseer.py
code served (permissive licence) · get_code("357001bacc5467b4")
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

torch.manual_seed(0)

class StandInLayer(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
    
    def forward(self, x):
        return self.linear(x)

class StandInModel(nn.Module):
    def __init__(self, num_layers=3):
        super().__init__()
        self.layers = nn.ModuleList([StandInLayer() for _ in range(num_layers)])
    
    def forward(self, x):
        for layer in self.layers:
            x = layer(x)
        return x

class StandInLanguageModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.model = StandInModel(num_layers=3)
    
    def forward(self, x):
        return self.model(x)

class CacheInitWrapper(nn.Module):
    def __init__(self):
        super().__init__()
        self.language_model = StandInLanguageModel()
    
    def cache_init(self, num_steps: int):
        """
        Initialization for cache.
        """
        cache_dic = {}
        cache = {}
        cache_index = {}
        cache[-1] = {}
        cache_index[-1] = {}
        cache_index['layer_index'] = {}
        cache[-1]['layers_stream'] = {}
        cache_dic['cache_counter'] = 0
        for j in range(len(self.language_model.model.layers)):
            cache[-1]['layers_stream'][j] = {}
            cache_index[-1][j] = {}
        cache_dic['Delta-DiT'] = False
        cache_dic['cache_type'] = 'random'
        cache_dic['cache_index'] = cache_index
        cache_dic['cache'] = cache
        cache_dic['fresh_ratio_schedule'] = 'ToCa'
        cache_dic['fresh_ratio'] = 0.0
        cache_dic['fresh_threshold'] = 3
        cache_dic['soft_fresh_weight'] = 0.0
        cache_dic['taylor_cache'] = True
        cache_dic['max_order'] = 6
        cache_dic['first_enhance'] = 5
        current = {}
        current['activated_steps'] = [0]
        current['step'] = 0
        current['num_steps'] = num_steps
        return (cache_dic, current)

wrapper = CacheInitWrapper()

ARGS = {
    'self': wrapper,
    'num_steps': 10
}
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_1d_sincos_pos_embed_from_grid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
piooip/SynerMedGen/modeling/bagel/modeling_utils.py
code served (permissive licence) · get_code("e5947aba1d10885f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned ndarray, ndim 2, dtype family float, shape (5, 8) 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

# Create a simple 1D position array
# embed_dim must be even (checked by assert in function)
# pos should be a 1D array of positions

embed_dim = 8  # Small even number for embedding dimension
pos = np.array([0.0, 1.0, 2.0, 3.0, 4.0])  # 5 positions

ARGS = {
    'embed_dim': embed_dim,
    'pos': pos
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy — 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 (5, 8) — shape (5, 8) 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
get_2d_sincos_pos_embed Ran
ran, honoured the contract we drafted
piooip/SynerMedGen/modeling/bagel/modeling_utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jqtangust/Robust-U1, is pointer only (licence: NONE) · get_code("58f584dfd7b8fc3f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jqtangust/Robust-U1, 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. A run is recorded.

index_images Ran
ran; our contract draft was wrong, not the code
piooip/SynerMedGen/make_cine_pred_lge_triptychs.py
code served (permissive licence) · get_code("ec081e5d9e96c1cd")
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 dict. 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 tempfile
from pathlib import Path

# Create a temporary directory with some test files
temp_dir = tempfile.TemporaryDirectory()
folder_path = Path(temp_dir.name)

# Create some test image files matching a pattern
test_file_1 = folder_path / "image_001.jpg"
test_file_1.touch()

test_file_2 = folder_path / "image_002.jpg"
test_file_2.touch()

test_file_3 = folder_path / "image_003.png"
test_file_3.touch()

# Define arguments for the function
ARGS = {
    'folder': folder_path,
    'pattern': '*.jpg'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
load_panel Ran
ran, honoured the contract we drafted
piooip/SynerMedGen/make_cine_pred_lge_triptychs.py
code served (permissive licence) · get_code("fb9bf0bcf044acf8")
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 Image. 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.

from pathlib import Path
from PIL import Image
import tempfile
import os

# Create a temporary directory and a test image
temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_panel.png")

# Create a simple test image (grayscale, 64x64)
test_image = Image.new('L', (64, 64), color=128)
test_image.save(test_image_path)

ARGS = {
    "path": Path(test_image_path),
    "size": 32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 2 and dtype family int 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
make_triptych Ran
ran, honoured the contract we drafted
piooip/SynerMedGen/make_cine_pred_lge_triptychs.py
code served (permissive licence) · get_code("12324e245f233b9f")
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 Image. 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.

from pathlib import Path
from PIL import Image
import tempfile
import os

# Create temporary directory and test images
temp_dir = tempfile.mkdtemp()

def create_test_image(path: Path, size: int = 64):
    """Create a simple grayscale test image."""
    img = Image.new('L', (size, size), color=128)
    img.save(path)
    return path

# Create test images
input_image_path = Path(temp_dir) / "input.png"
pred_image_path = Path(temp_dir) / "pred.png"
gt_image_path = Path(temp_dir) / "gt.png"

create_test_image(input_image_path, size=64)
create_test_image(pred_image_path, size=64)
create_test_image(gt_image_path, size=64)

ARGS = {
    "input_path": input_image_path,
    "pred_path": pred_image_path,
    "gt_path": gt_image_path,
    "panel_size": 64,
    "gap": 10,
    "labels": True,
    "label_height": 30,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 2 and dtype family int 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
pad_sequence Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
piooip/SynerMedGen/modeling/bagel/qwen2_navit.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jqtangust/Robust-U1, is pointer only (licence: NONE) · get_code("26da3ed73c66b411")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jqtangust/Robust-U1, 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. A run is recorded.

rotate_half Ran
ran, honoured the contract we drafted
piooip/SynerMedGen/modeling/bagel/siglip_navit.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from mustafaaljadery/gemma-2b-10m, is pointer only (licence: NONE) · get_code("cec833a99feb528c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from mustafaaljadery/gemma-2b-10m, 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. A run is recorded.

swish Ran
ran; our contract draft was wrong, not the code
piooip/SynerMedGen/modeling/autoencoder.py
code served (permissive licence) · get_code("5fb036462ae82f9f")
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
from torch import Tensor

torch.manual_seed(0)

# The swish function takes a single Tensor argument and applies:
# x * torch.sigmoid(x)
# We need to provide a small tensor as input

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 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
taylor_formula Ran
ran, honoured the contract we drafted
piooip/SynerMedGen/modeling/cache_utils/taylorseer.py
code served (permissive licence) · get_code("881cc6430da2df2d")
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 Tensor, ndim 0, dtype family float, 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 math

torch.manual_seed(0)

# Construct cache_dic
# The function accesses: cache_dic['cache'][-1][current['stream']][current['layer']][current['module']][i]
# This is a nested structure with a list of taylor coefficients at the deepest level
cache_dic = {
    'cache': [
        {
            'stream_0': {
                'layer_0': {
                    'module_0': [
                        torch.tensor(1.0),
                        torch.tensor(2.0),
                        torch.tensor(3.0),
                        torch.tensor(4.0)
                    ]
                }
            }
        }
    ]
}

# Construct current
# The function accesses:
# - current['step']
# - current['activated_steps'][-1]
# - current['stream']
# - current['layer']
# - current['module']
current = {
    'step': 5,
    'activated_steps': [1, 2],
    'stream': 'stream_0',
    'layer': 'layer_0',
    'module': 'module_0'
}

ARGS = {
    'cache_dic': cache_dic,
    'current': current
}
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 Tensor, ndim 0, dtype family float, 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
get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
piooip/SynerMedGen/modeling/bagel/modeling_utils.py
code served (permissive licence) · get_code("665d8a4e8f673a4c")
How it ran

no invocation recorded.

load_ae Not yet run
unverified (harvested, no recorded run)
piooip/SynerMedGen/modeling/autoencoder.py
code served (permissive licence) · get_code("e284f6c6dd968489")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 4 the same month, 7 later) and 5 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
rotate_half 360 other papers
340 dated earlier, 5 the same month, 12 later, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
get_2d_sincos_pos_embed_from_grid 190 other papers
182 dated earlier, 2 the same month, 6 later · 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
get_2d_sincos_pos_embed 69 other papers
65 dated earlier, 4 later · 12 only as an assembly brick
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2303.14389 (2023-03)
Masked Diffusion Transformer is a Strong Image Synthesizer
and 66 more not named here
get_1d_sincos_pos_embed_from_grid 42 other papers
39 dated earlier, 1 the same month, 2 later · 22 only as an assembly brick
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2303.14389 (2023-03)
Masked Diffusion Transformer is a Strong Image Synthesizer
2305.13311 (2023-05)
VDT: General-purpose Video Diffusion Transformers via Mask Modeling
and 39 more not named here
swish 7 other papers
5 dated earlier, 1 the same month, 1 later
2409.00587 (2024-09)
FLUX that Plays Music
2412.07517 (2024-12)
FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing
2504.02160 (2025-04)
Less-to-More Generalization: Unlocking More Controllability by In-Context Generation
and 4 more not named here
pad_sequence 4 other papers
3 dated earlier, 1 later
2505.14683 (2025-05)
Emerging Properties in Unified Multimodal Pretraining
2508.05606 (2025-08)
Uni-cot: Towards Unified Chain-of-Thought Reasoning Across Text and Vision
2601.11522 (2026-01)
UniX: Unifying Autoregression and Diffusion for Chest X-Ray Understanding and Generation
and 1 more not named here
apply_rotary_pos_emb 3 other papers
3 dated earlier
2505.14683 (2025-05)
Emerging Properties in Unified Multimodal Pretraining
2508.05606 (2025-08)
Uni-cot: Towards Unified Chain-of-Thought Reasoning Across Text and Vision
2601.11522 (2026-01)
UniX: Unifying Autoregression and Diffusion for Chest X-Ray Understanding and Generation
load_ae 2 other papers
1 dated earlier, 1 later
2508.05606 (2025-08)
Uni-cot: Towards Unified Chain-of-Thought Reasoning Across Text and Vision
2606.08063 (2026-06)
Robust-U1: Can MLLMs Self-Recover Corrupted Visual Content for Robust Understanding?

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

Unifying multimodal understanding and generation is a compelling frontier that is beginning to emerge in the medical field. However, the limited existing unified medical models typically treat understanding and generation as disjoint objectives, lacking a meaningful functional synergy. In this work, we identify and address a critical question in unified medical modeling: what form of "understanding" truly benefits generation. We present SynerMedGen, a unified framework built on the proposed principle of generationaligned understanding, which synergizes understanding objectives with generation tasks via task alignment. SynerMedGen introduces three generation-aligned understanding tasks and a twostage training strategy that transfers generationbeneficial representations learned during understanding training to medical image synthesis. Remarkably, even with understanding training alone, our SynerMedGen achieves strong zero-shot performance across 22 medical image synthesis tasks and demonstrates robust generalization. When combined with generation training, SynerMed-Gen consistently outperforms state-of-the-art specialized medical image synthesis models as well as recent unified medical models. We also release SynerMed, a large-scale dataset of 1M paired synthesis samples and 2M understanding instances for studying understanding-generation synergy. Our project can be accessed at https://github.com/piooip/SynerMedGen.

For agents

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

get_harvested_code_for_paper("2605.08724")
get_code_for_paper("2605.08724")
have("2605.08724")

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

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

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

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

Connect an agent — have() is free.