SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.16056 · EMNLP · 2020

Generating Radiology Reports via Memory-driven Transformer

Tsung-Hui Chang, Yan Song, Xiang Wan, Zhihong Chen, Kong Shenzhen

arXiv · PDF · Open in the Atlas

Code that ran

26 of 31 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (13 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 3 violated it and 14 have no contract verdict; 6 failures of our instrument; 5 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/2010.16056.json · badge: /api/ran/2010.16056.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
zhjohnchan/R2Gen canonical (classifier label)
classifier basis: census
1 ran · 0 no recorded run
cuhksz-nlp/R2Gen community
Papers with Code archive
21 ran · 3 no recorded run
jbdel/vilmedic community
Papers with Code archive
4 ran · 2 no recorded run
FunctionStatusWhere it lives
ConditionalLayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("83685e82672f8403")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

ConditionalSublayerConnection Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("66e1facaefcc74bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("5dd90b8f3465a5d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

DecoderLayer Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("4d87926b21da466a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

Embeddings Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("f573a122811ee3d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("c7161e97934abeef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

EncoderLayer Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("bc4566e8723dd002")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("f3db48bfa8d0418c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

MultiHeadedAttention Ran
ran on a synthesized input
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("b79314b6538aca28")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("94ae2b884db29276")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

PositionwiseFeedForward Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("31ac554b956f2c39")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

RelationalMemory Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("c72b4b36f72a8b7f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

SublayerConnection Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("777d5cf5b297d69f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

Transformer Ran
ran on a synthesized input · constructed an object; no result was computed
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("e0bad05390dca30a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

attention Ran
ran; our contract draft was wrong, not the code
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("83045338e170467c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

clones Ran
ran; our contract draft was wrong, not the code
zhjohnchan/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE); the stored copy get_code serves, from fudanvi/fudanocr, is pointer only (licence: NONE) · get_code("6cdff690e29fd5e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhjohnchan/R2Gen 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.

evaluation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jbdel/vilmedic/vilmedic/models/rrg/RRG.py
code served (permissive licence) · get_code("90a7d4b65fda9753")
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. 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 torch
import torch.nn as nn
from transformers import GenerationConfig

torch.manual_seed(0)

# Create a minimal tokenizer stand-in
class MinimalTokenizer:
    def __init__(self):
        self.cls_token = "[CLS]"
        self.sep_token = "[SEP]"
        self.pad_token = "[PAD]"
        self.vocab = {
            "[CLS]": 101,
            "[SEP]": 102,
            "[PAD]": 0,
            "hello": 1,
            "world": 2,
        }
    
    def decode(self, token_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False):
        if isinstance(token_ids, torch.Tensor):
            token_ids = token_ids.tolist()
        words = []
        for tid in token_ids:
            if tid in [0, 101, 102]:  # PAD, CLS, SEP
                if not skip_special_tokens:
                    words.append(f"[{tid}]")
            else:
                words.append(f"word_{tid}")
        return " ".join(words)

# Create a minimal HF model config
class MinimalConfig:
    def __init__(self):
        self.bos_token_id = 101
        self.eos_token_id = 102
        self.pad_token_id = 0

# Create a minimal decoder (HF model)
class MinimalDecoder(nn.Module):
    def __init__(self):
        super().__init__()
        self.config = MinimalConfig()
        self.linear = nn.Linear(4, 4)
    
    def encode(self, **kwargs):
        batch_size = kwargs['input_ids'].shape[0] if 'input_ids' in kwargs else 2
        encoder_hidden_states = torch.randn(batch_size, 3, 4)
        encoder_attention_mask = torch.ones(batch_size, 3, dtype=torch.long)
        return encoder_hidden_states, encoder_attention_mask
    
    def generate(self, input_ids, generation_config, encoder_hidden_states, encoder_attention_mask):
        batch_size = input_ids.shape[0]
        max_len = generation_config.max_length
        return torch.randint(0, 10, (batch_size, max_len))

# Create a minimal custom model with dec.decoder
class MinimalCustomModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.dec = nn.Module()
        self.dec.decoder = MinimalDecoder()
    
    def encode(self, **kwargs):
        return self.dec.decoder.encode(**kwargs)

# Create a minimal dataset
class MinimalDataset:
    def __init__(self):
        self.tokenizer = MinimalTokenizer()
        self.tokenizer_max_len = 10

# Create a minimal data loader
class MinimalDataLoader:
    def __init__(self):
        self.dataset = MinimalDataset()
    
    def __iter__(self):
        for i in range(2):
            batch = {
                'input_ids': torch.randint(1, 10, (2, 5)),
                'decoder_input_ids': torch.randint(1, 10, (2, 5)),
            }
            yield batch

# Create a minimal config for evaluation
class EvalConfig:
    def __init__(self):
        self.length_penalty = None
        self.beam_width = None

# Build the arguments
models = [MinimalCustomModel()]
config = EvalConfig()
dl = MinimalDataLoader()

ARGS = {
    'models': models,
    'config': config,
    'dl': dl,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm, transformers — 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
get_n_params Ran
ran; our contract draft was wrong, not the code
jbdel/vilmedic/vilmedic/models/rrg/RRG.py
code served (permissive licence) · get_code("2ce55e4c4a74c7fe")
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 str. 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 numpy as np

torch.manual_seed(0)

# Create a simple nn.Module with learnable and frozen parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
        # Freeze some parameters
        self.linear2.weight.requires_grad = False
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

module = SimpleModel()

ARGS = {
    'module': module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_special_token_ids Ran
ran, honoured the contract we drafted
jbdel/vilmedic/vilmedic/models/rrg/RRG.py
code served (permissive licence) · get_code("9b96271c0ebfc544")
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 int; 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

# Create a stand-in Config class with special token IDs
class Config:
    def __init__(self, bos_token_id=None, eos_token_id=None, pad_token_id=None):
        self.bos_token_id = bos_token_id
        self.eos_token_id = eos_token_id
        self.pad_token_id = pad_token_id

# Create a stand-in Model class
class Model(nn.Module):
    def __init__(self, config):
        super().__init__()
        self.config = config
    
    def forward(self, x):
        return x

# Create a stand-in Tokenizer class with vocab and special tokens
class Tokenizer:
    def __init__(self):
        self.cls_token = "[CLS]"
        self.sep_token = "[SEP]"
        self.pad_token = "[PAD]"
        self.vocab = {
            "[CLS]": 101,
            "[SEP]": 102,
            "[PAD]": 0,
        }

# Create model with config that has None values
config = Config(bos_token_id=None, eos_token_id=None, pad_token_id=None)
model = Model(config)

# Create tokenizer with vocab
tokenizer = Tokenizer()

ARGS = {
    "model": model,
    "tokenizer": tokenizer,
}
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 int — 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
length_average Ran
ran, violated the contract we drafted
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("506f510e45fc90c3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

length_wu Ran
ran, honoured the contract we drafted
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("1b78d09288063680")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

penalty_builder Ran
ran; our contract draft was wrong, not the code
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("8345317ad8bce91f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

readable_size Ran
ran; our contract draft was wrong, not the code
jbdel/vilmedic/vilmedic/models/rrg/RRG.py
code served (permissive licence) · get_code("38f8d7385c92b38e")
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 str. 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 function readable_size takes a single parameter 'n' which should be a number
# It converts the number to a readable format with K, M, G suffixes
# Looking at the function body, it just does arithmetic operations on n

ARGS = {
    'n': 1500000  # A number that will be formatted as readable size (1.50M)
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
repeat_tensors Ran
ran, honoured the contract we drafted
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("b317109a6e9a36e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

split_tensors Ran
ran, violated the contract we drafted
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("936178513bc7b9d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

subsequent_mask Ran
ran, violated the contract we drafted
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("66fbf162663d4cff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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.

AttModel Not yet run
unverified (harvested, no recorded run)
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("a5dc837f604a531e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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. No invocation recorded.

CaptionModel Not yet run
unverified (harvested, no recorded run)
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("929610ebb467db68")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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. No invocation recorded.

DecoderModel Not yet run
unverified (harvested, no recorded run)
jbdel/vilmedic/vilmedic/models/rrg/RRG.py
code served (permissive licence) · get_code("f582c3015724586c")
How it ran

no invocation recorded.

EncoderDecoder Not yet run
unverified (harvested, no recorded run)
cuhksz-nlp/R2Gen/modules/encoder_decoder.py
pointer only (licence: NONE) · get_code("fe63f5b4d1609641")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cuhksz-nlp/R2Gen 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. No invocation recorded.

RRG Not yet run
unverified (harvested, no recorded run)
jbdel/vilmedic/vilmedic/models/rrg/RRG.py
code served (permissive licence) · get_code("0832ed0f66780e17")
How it ran

no invocation recorded.

Also present in other papers' code

Of 31 samples lifted from this paper's linked repositories, 31 carry a function identity and 0 do not. Of the 31 distinct functions with an identity, 13 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 1 the same month, 10 later) and 18 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
clones
brick of this paper's assembly: helper
79 other papers
25 dated earlier, 1 the same month, 53 later · 11 only as an assembly brick
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1612.00563 (2016-12)
Self-critical Sequence Training for Image Captioning
1706.03762 (2017-06)
Attention Is All You Need
and 76 more not named here
attention
brick of this paper's assembly: helper
27 other papers
11 dated earlier, 15 later, 1 same year, order not determinable
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1609.08144 (2016-09)
Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
1612.00563 (2016-12)
Self-critical Sequence Training for Image Captioning
and 24 more not named here
subsequent_mask
brick of this paper's assembly: helper
21 other papers
10 dated earlier, 11 later
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1612.00563 (2016-12)
Self-critical Sequence Training for Image Captioning
1707.07998 (2017-07)
Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering
and 18 more not named here
MultiHeadedAttention
brick of this paper's assembly: model
3 other papers
1 dated earlier, 2 later
1706.03762 (2017-06)
Attention Is All You Need
2203.07628 (2022-03)
P-STMO: Pre-Trained Spatial Temporal Many-to-One Model for 3D Human Pose Estimation
2411.07527 (2024-11)
Prompt-enhanced Network for Hateful Meme Classification
PositionwiseFeedForward
brick of this paper's assembly: model
3 other papers
1 dated earlier, 2 later
1706.03762 (2017-06)
Attention Is All You Need
2303.14348 (2023-03)
Zero-Shot Everything Sketch-Based Image Retrieval, and in Explainable Style
2411.07527 (2024-11)
Prompt-enhanced Network for Hateful Meme Classification
LayerNorm
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
2503.07635 (2025-03)
Cross-modal Causal Relation Alignment for Video Question Grounding
length_average
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2011.00966 (2020-11)
Diverse Image Captioning with Context-Object Split Latent Spaces
2021.acl-long.459 (2021 (year only))
Cross-modal Memory Networks for Radiology Report Generation
length_wu
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2011.00966 (2020-11)
Diverse Image Captioning with Context-Object Split Latent Spaces
2021.acl-long.459 (2021 (year only))
Cross-modal Memory Networks for Radiology Report Generation
penalty_builder
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2011.00966 (2020-11)
Diverse Image Captioning with Context-Object Split Latent Spaces
2021.acl-long.459 (2021 (year only))
Cross-modal Memory Networks for Radiology Report Generation
split_tensors
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2008.02693 (2020-08)
Fashion Captioning: Towards Generating Accurate Descriptions with Semantic Rewards
2110.03298 (2021-10)
End-to-End Supermask Pruning: Learning to Prune Image Captioning Models
Embeddings
brick of this paper's assembly: model
1 other paper
1 dated earlier
1706.03762 (2017-06)
Attention Is All You Need
SublayerConnection
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1706.03762 (2017-06)
Attention Is All You Need
repeat_tensors
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2008.02693 (2020-08)
Fashion Captioning: Towards Generating Accurate Descriptions with Semantic Rewards

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

Medical imaging is frequently used in clinical practice and trials for diagnosis and treatment. Writing imaging reports is time-consuming and can be error-prone for inexperienced radiologists. Therefore, automatically generating radiology reports is highly desired to lighten the workload of radiologists and accordingly promote clinical automation, which is an essential task to apply artificial intelligence to the medical domain. In this paper, we propose to generate radiology reports with memorydriven Transformer, where a relational memory is designed to record key information of the generation process and a memory-driven conditional layer normalization is applied to incorporating the memory into the decoder of Transformer. Experimental results on two prevailing radiology report datasets, IU X-Ray and MIMIC-CXR, show that our proposed approach outperforms previous models with respect to both language generation metrics and clinical evaluations. Particularly, this is the first work reporting the generation results on MIMIC-CXR to the best of our knowledge. Further analyses also demonstrate that our approach is able to generate long reports with necessary medical terms as well as meaningful image-text attention mappings. 1 † Corresponding author. 1 Our code and the best performing models are released at https://github.com/cuhksz-nlp/R2Gen. Findings The lungs are clear bilaterally. Specifically, no evidence of focal consolidation, or pleural effusion. Minimal right basilar subsegmental atelectasis noted. Cardio mediastinal silhouette is unremarkable. Tortuosity of the thoracic aorta noted. Impression No acute cardiopulmonary abnormality.

For agents

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

get_harvested_code_for_paper("2010.16056")
get_code_for_paper("2010.16056")
have("2010.16056")

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

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

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

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

Connect an agent — have() is free.