SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.03602 · IJCAI · 2023

A Dual Semantic-Aware Recurrent Global-Adaptive Network for Vision-and-Language Navigation

Ronghao Dang, Chengju Liu, Qijun Chen, Liuyi Wang, Zongtao He, Jiagui Tang, Naijia Wang

arXiv · PDF · Open in the Atlas

Code that ran

10 of 24 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 4 failures of our instrument; 14 no recorded run), measured 2026-11-22; 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.03602.json · badge: /api/ran/2305.03602.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
CrystalSixone/DSRG community
Papers with Code archive
10 ran · 14 no recorded run
FunctionStatusWhere it lives
AggregateAttention Ran
ran on a synthesized input · constructed an object; no result was computed
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("4bdbd317043aa0de")
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, AggregateAttention: 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
from torch import nn

torch.manual_seed(0)

# Analyze the forward method:
# - Takes x: a tensor that gets tanh'd, then matmul'd with self.attn (hidden_size, 1)
# - Softmax applied on dimension 1
# - Sum reduction on dimension 1
# - Output gets tanh'd
# So x should be shape (batch, seq_len, hidden_size)

# Analyze forward_mean method:
# - Takes x and x_mask
# - x_mask.squeeze(-1) removes last dimension
# - Sum over dimension 1 with keepdim=True
# - x * x_mask broadcasts, then sum on dimension 1
# So x_mask should be shape (batch, seq_len, 1)

hidden_size = 4
batch_size = 2
seq_len = 3

# Create an instance to establish the module
module = nn.Module()

# Arguments for __init__
ARGS = {
    'hidden_size': hidden_size,
}
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 AggregateAttention — 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 AggregateAttention 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
BertIntermediate Ran
ran on a synthesized input · constructed an object; no result was computed
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("cd1fc93df76d6f16")
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, BertIntermediate: 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 math
import torch
from torch import nn

torch.manual_seed(0)

def gelu(x):
    return x * 0.5 * (1.0 + torch.erf(x / math.sqrt(2.0)))

def swish(x):
    return x * torch.sigmoid(x)

ACT2FN = {'gelu': gelu, 'relu': torch.nn.functional.relu, 'swish': swish}

class BertIntermediate(nn.Module):

    def __init__(self, config):
        super(BertIntermediate, self).__init__()
        self.dense = nn.Linear(config.hidden_size, config.intermediate_size)
        if isinstance(config.hidden_act, str):
            self.intermediate_act_fn = ACT2FN[config.hidden_act]
        else:
            self.intermediate_act_fn = config.hidden_act

    def forward(self, hidden_states):
        hidden_states = self.dense(hidden_states)
        hidden_states = self.intermediate_act_fn(hidden_states)
        return hidden_states

class Config:
    def __init__(self, hidden_size, intermediate_size, hidden_act):
        self.hidden_size = hidden_size
        self.intermediate_size = intermediate_size
        self.hidden_act = hidden_act

config = Config(hidden_size=4, intermediate_size=3, hidden_act='gelu')

ARGS = {
    'config': config
}
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 BertIntermediate — 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 BertIntermediate 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
BertOutAttention Ran
ran on a synthesized input · constructed an object; no result was computed
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("bfb5cdf1a9ced435")
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, BertOutAttention: 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 math
import torch
from torch import nn

torch.manual_seed(0)

class Config:
    def __init__(self):
        self.hidden_size = 8
        self.num_attention_heads = 2
        self.attention_probs_dropout_prob = 0.1

config = Config()

model = nn.Module()

hidden_states = torch.randn(2, 3, 8)
context = torch.randn(2, 4, 8)
attention_mask = torch.zeros(2, 2, 3, 4)

ARGS = {
    "config": config,
    "ctx_dim": None,
}
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 BertOutAttention — 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 BertOutAttention 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
BertSelfAttention Ran
ran on a synthesized input
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("ffff1ac5549ddff4")
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 tuple. 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 math
import torch
from torch import nn

class BertSelfAttention(nn.Module):

    def __init__(self, config):
        super().__init__()
        if config.hidden_size % config.num_attention_heads != 0:
            raise ValueError('The hidden size (%d) is not a multiple of the number of attention heads (%d)' % (config.hidden_size, config.num_attention_heads))
        self.output_attentions = config.output_attentions
        self.num_attention_heads = config.num_attention_heads
        self.attention_head_size = int(config.hidden_size / config.num_attention_heads)
        self.all_head_size = self.num_attention_heads * self.attention_head_size
        self.query = nn.Linear(config.hidden_size, self.all_head_size)
        self.key = nn.Linear(config.hidden_size, self.all_head_size)
        self.value = nn.Linear(config.hidden_size, self.all_head_size)
        self.dropout = nn.Dropout(config.attention_probs_dropout_prob)
        self.config = config
        self.extra_dropout = nn.Dropout(0.2)

    def transpose_for_scores(self, x):
        new_x_shape = x.size()[:-1] + (self.num_attention_heads, self.attention_head_size)
        x = x.view(*new_x_shape)
        return x.permute(0, 2, 1, 3)

    def forward(self, hidden_states, attention_mask, head_mask=None):
        """
        hidden_states: (N, L_{hidden}, D)
        attention_mask: (N, H, L_{hidden}, L_{hidden})
        """
        mixed_query_layer = self.query(hidden_states)
        mixed_key_layer = self.key(hidden_states)
        mixed_value_layer = self.value(hidden_states)
        query_layer = self.transpose_for_scores(mixed_query_layer)
        key_layer = self.transpose_for_scores(mixed_key_layer)
        value_layer = self.transpose_for_scores(mixed_value_layer)
        attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2))
        attention_scores = attention_scores / math.sqrt(self.attention_head_size)
        attention_scores = attention_scores + attention_mask
        attention_probs = nn.Softmax(dim=-1)(attention_scores)
        attention_probs = self.dropout(attention_probs)
        if head_mask is not None:
            attention_probs = attention_probs * head_mask
        context_layer = torch.matmul(attention_probs, value_layer)
        context_layer = context_layer.permute(0, 2, 1, 3).contiguous()
        new_context_layer_shape = context_layer.size()[:-2] + (self.all_head_size,)
        context_layer = context_layer.view(*new_context_layer_shape)
        outputs = (context_layer, attention_scores) if self.output_attentions else (context_layer,)
        return outputs


class Config:
    def __init__(self, hidden_size, num_attention_heads, attention_probs_dropout_prob, output_attentions):
        self.hidden_size = hidden_size
        self.num_attention_heads = num_attention_heads
        self.attention_probs_dropout_prob = attention_probs_dropout_prob
        self.output_attentions = output_attentions


INIT_ARGS = {
    'config': Config(
        hidden_size=8,
        num_attention_heads=2,
        attention_probs_dropout_prob=0.1,
        output_attentions=True
    )
}

ARGS = {
    'hidden_states': torch.randn(2, 3, 8),
    'attention_mask': torch.zeros(2, 2, 3, 3),
    'head_mask': None
}
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 tuple — a tuple output has no array shape of its own; none is 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
TransformerEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("048b3530e2f008f1")
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, TransformerEncoder: 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
from typing import Optional

torch.manual_seed(0)

# Create a minimal encoder layer that matches what TransformerEncoder expects
class MinimalEncoderLayer(nn.Module):
    def __init__(self, d_model):
        super().__init__()
        self.d_model = d_model
    
    def forward(self, src, src_mask=None, src_key_padding_mask=None, pos=None):
        # The layer just returns src (minimal implementation)
        return src

# Create encoder layer instance
encoder_layer = MinimalEncoderLayer(d_model=4)

# Number of layers
num_layers = 2

# Optional norm layer
norm = nn.LayerNorm(4)

# batch_first flag
batch_first = True

ARGS = {
    "encoder_layer": encoder_layer,
    "num_layers": num_layers,
    "norm": norm,
    "batch_first": batch_first,
}
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 TransformerEncoder — 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 TransformerEncoder 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
TransformerEncoderLayer Ran
ran on a synthesized input · constructed an object; no result was computed
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("fac115820b1e6391")
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, TransformerEncoderLayer: 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
from torch import nn
import torch.nn.functional as F

torch.manual_seed(0)

def _get_activation_fn(activation):
    """Return an activation function given a string"""
    if activation == 'relu':
        return F.relu
    if activation == 'gelu':
        return F.gelu
    if activation == 'glu':
        return F.glu
    raise RuntimeError(f'activation should be relu/gelu, not {activation}.')

class TransformerEncoderLayer(nn.Module):

    def __init__(self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation='relu', normalize_before=False):
        super().__init__()
        self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
        self.linear1 = nn.Linear(d_model, dim_feedforward)
        self.dropout = nn.Dropout(dropout)
        self.linear2 = nn.Linear(dim_feedforward, d_model)
        self.norm1 = nn.LayerNorm(d_model)
        self.norm2 = nn.LayerNorm(d_model)
        self.dropout1 = nn.Dropout(dropout)
        self.dropout2 = nn.Dropout(dropout)
        self.activation = _get_activation_fn(activation)
        self.normalize_before = normalize_before

    def with_pos_embed(self, tensor, pos=None):
        return tensor if pos is None else tensor + pos

    def forward_post(self, src, src_mask=None, src_key_padding_mask=None, pos=None):
        q = k = self.with_pos_embed(src, pos)
        src2 = self.self_attn(q, k, value=src, attn_mask=src_mask, key_padding_mask=src_key_padding_mask)[0]
        src = src + self.dropout1(src2)
        src = self.norm1(src)
        src2 = self.linear2(self.dropout(self.activation(self.linear1(src))))
        src = src + self.dropout2(src2)
        src = self.norm2(src)
        return src

    def forward_pre(self, src, src_mask=None, src_key_padding_mask=None, pos=None):
        src2 = self.norm1(src)
        q = k = self.with_pos_embed(src2, pos)
        src2 = self.self_attn(q, k, value=src2, attn_mask=src_mask, key_padding_mask=src_key_padding_mask)[0]
        src = src + self.dropout1(src2)
        src2 = self.norm2(src)
        src2 = self.linear2(self.dropout(self.activation(self.linear1(src2))))
        src = src + self.dropout2(src2)
        return src

    def forward(self, src, src_mask=None, src_key_padding_mask=None, pos=None):
        if self.normalize_before:
            return self.forward_pre(src, src_mask, src_key_padding_mask, pos)
        return self.forward_post(src, src_mask, src_key_padding_mask, pos)


d_model = 4
nhead = 2
dim_feedforward = 8
dropout = 0.1
activation = 'relu'
normalize_before = False

seq_len = 3
batch_size = 2

src = torch.randn(seq_len, batch_size, d_model)
pos = torch.randn(seq_len, batch_size, d_model)
src_mask = None
src_key_padding_mask = None

ARGS = {
    'd_model': d_model,
    'nhead': nhead,
    'dim_feedforward': dim_feedforward,
    'dropout': dropout,
    'activation': activation,
    'normalize_before': normalize_before
}
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 TransformerEncoderLayer — 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 TransformerEncoderLayer 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_clones Ran
ran; our contract draft was wrong, not the code
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("698f5d9bbd2a4581")
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 ModuleList. 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 copy

torch.manual_seed(0)

# Create a simple module to clone
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

module = SimpleModule()
N = 5

ARGS = {
    "module": module,
    "N": N
}
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 ModuleList — a ModuleList output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ModuleList output the recorded ndim 1 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
create_transformer_encoder Ran
ran; our contract draft was wrong, not the code
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("8b70f6a5cf504379")
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 TransformerEncoder. 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
from torch import Tensor

torch.manual_seed(0)

class BertLayerNorm(nn.Module):
    def __init__(self, hidden_size, eps=1e-12):
        super().__init__()
        self.weight = nn.Parameter(torch.ones(hidden_size))
        self.bias = nn.Parameter(torch.zeros(hidden_size))
        self.eps = eps
    
    def forward(self, x):
        mean = x.mean(-1, keepdim=True)
        std = x.std(-1, keepdim=True)
        return (x - mean) / (std + self.eps) * self.weight + self.bias

class MockConfig:
    def __init__(self):
        self.hidden_size = 4
        self.num_attention_heads = 2
        self.intermediate_size = 8
        self.hidden_dropout_prob = 0.1
        self.hidden_act = 'relu'

config = MockConfig()
num_layers = 2
norm = False

ARGS = {
    'config': config,
    'num_layers': num_layers,
    'norm': norm
}
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 TransformerEncoder — a TransformerEncoder output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a TransformerEncoder 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
extend_neg_masks Ran
ran; our contract draft was wrong, not the code
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("455413c9b171cfe7")
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 4, dtype family float, shape (2, 1, 1, 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)

# Create a small masks tensor with shape (N, L) = (2, 4)
# N=2 (batch size), L=4 (sequence length)
masks = torch.tensor([
    [1.0, 1.0, 0.0, 0.0],
    [1.0, 0.0, 0.0, 0.0]
], dtype=torch.float)

ARGS = {
    "masks": masks,
    "dtype": torch.float
}
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 4, dtype family float, shape (2, 1, 1, 4) — shape (2, 1, 1, 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
gen_seq_masks Ran
ran; our contract draft was wrong, not the code
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("68ae8be3692cbbbe")
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 2, dtype family float, shape (2, 3) 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

torch.manual_seed(0)

# seq_lens should be a 1D tensor of sequence lengths
# The function will check device and use it
seq_lens = torch.tensor([3, 2], dtype=torch.long)

# max_len is optional - can be None or an integer
max_len = None

ARGS = {
    "seq_lens": seq_lens,
    "max_len": max_len,
}
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 2, dtype family float, shape (2, 3) — shape (2, 3) 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
BertAttention Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("b38b941722e63d29")
How it ran

no invocation recorded.

BertEmbeddings Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("887a39ce2142a57d")
How it ran

no invocation recorded.

BertEncoder Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("1ae89ecd5c078970")
How it ran

no invocation recorded.

BertLayer Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("c213722ebbdfaf05")
How it ran

no invocation recorded.

BertPooler Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("4dc8cae13c724e85")
How it ran

no invocation recorded.

BertXAttention Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("6bed46b39566e949")
How it ran

no invocation recorded.

ClsPrediction Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("c526eb56d5c9d584")
How it ran

no invocation recorded.

CrossmodalEncoder Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("786a07db08c7dd5b")
How it ran

no invocation recorded.

GlobalMapEncoder Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("298074699857e928")
How it ran

no invocation recorded.

GlocalTextPathNavCMT Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("a36464347726e6de")
How it ran

no invocation recorded.

GraphLXRTXLayer Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("f0ad0689537a8d37")
How it ran

no invocation recorded.

ImageEmbeddings Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("7c9d8a3caac3b3b7")
How it ran

no invocation recorded.

LanguageEncoder Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("f108f9f644e26f09")
How it ran

no invocation recorded.

LocalVPEncoder Not yet run
unverified (harvested, no recorded run)
CrystalSixone/DSRG/finetune_src/models/vilmodel.py
code served (permissive licence) · get_code("2dd5230398b073b5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 1 the same month, 12 later) and 12 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
_get_clones
brick of this paper's assembly: helper
73 other papers
40 dated earlier, 2 the same month, 31 later · 59 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
2005.12872 (2020-05)
End-to-End Object Detection with Transformers
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
and 70 more not named here
TransformerEncoderLayer
brick of this paper's assembly: helper
16 other papers
9 dated earlier, 7 later · 8 only as an assembly brick
2005.12872 (2020-05)
End-to-End Object Detection with Transformers
2103.11468 (2021-03)
Learning Multi-Scene Absolute Pose Regression with Transformers
2104.02439 (2021-04)
Few-Shot Transformation of Common Actions into Time and Space
and 13 more not named here
BertIntermediate
brick of this paper's assembly: helper
8 other papers
5 dated earlier, 3 later · 4 only as an assembly brick
2106.14019 (2021-06)
UMIC: An Unreferenced Metric for Image Captioning via Contrastive Learning
2110.13309 (2021-10)
History Aware Multimodal Transformer for Vision-and-Language Navigation
2210.08714 (2022-10)
Selective Query-guided Debiasing for Video Corpus Moment Retrieval
and 5 more not named here
extend_neg_masks
brick of this paper's assembly: helper
8 other papers
1 dated earlier, 7 later · 4 only as an assembly brick
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2308.04758 (2023-08)
Bird's-Eye-View Scene Graph for Vision-Language Navigation
2312.02010 (2023-12)
Towards Learning a Generalist Model for Embodied Navigation
and 5 more not named here
gen_seq_masks
brick of this paper's assembly: helper
8 other papers
1 dated earlier, 7 later · 4 only as an assembly brick
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2308.04758 (2023-08)
Bird's-Eye-View Scene Graph for Vision-Language Navigation
2312.02010 (2023-12)
Towards Learning a Generalist Model for Embodied Navigation
and 5 more not named here
create_transformer_encoder
brick of this paper's assembly: helper
7 other papers
1 dated earlier, 6 later · 2 only as an assembly brick
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2308.04758 (2023-08)
Bird's-Eye-View Scene Graph for Vision-Language Navigation
2312.02010 (2023-12)
Towards Learning a Generalist Model for Embodied Navigation
and 4 more not named here
BertOutAttention
brick of this paper's assembly: helper
5 other papers
3 dated earlier, 2 later · 5 only as an assembly brick
2110.13309 (2021-10)
History Aware Multimodal Transformer for Vision-and-Language Navigation
2303.08409 (2023-03)
LANA: A Language-Capable Navigator for Instruction Following and Generation
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
and 2 more not named here
BertXAttention
brick of this paper's assembly: helper
5 other papers
3 dated earlier, 2 later · 4 only as an assembly brick
2110.13309 (2021-10)
History Aware Multimodal Transformer for Vision-and-Language Navigation
2303.08409 (2023-03)
LANA: A Language-Capable Navigator for Instruction Following and Generation
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
and 2 more not named here
TransformerEncoder
brick of this paper's assembly: helper
4 other papers
1 dated earlier, 3 later · 2 only as an assembly brick
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2404.10241 (2024-04)
Vision-and-Language Navigation via Causal Learning
2501.17403 (2025-01)
General Scene Adaptation for Vision-and-Language Navigation
and 1 more not named here
BertAttention
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2501.17403 (2025-01)
General Scene Adaptation for Vision-and-Language Navigation
2601.21751 (2026-01)
Dynamic Topology Awareness: Breaking the Granularity Rigidity in Vision-Language Navigation
BertLayer
brick of this paper's assembly: model
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2501.17403 (2025-01)
General Scene Adaptation for Vision-and-Language Navigation
2601.21751 (2026-01)
Dynamic Topology Awareness: Breaking the Granularity Rigidity in Vision-Language Navigation
GraphLXRTXLayer
brick of this paper's assembly: model
2 other papers
1 dated earlier, 1 later
2303.15796 (2023-03)
KERM: Knowledge Enhanced Reasoning for Vision-and-Language Navigation
2501.17403 (2025-01)
General Scene Adaptation for Vision-and-Language Navigation

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Vision-and-Language Navigation (VLN) is a realistic but challenging task that requires an agent to locate the target region using verbal and visual cues. While significant advancements have been achieved recently, there are still two broad limitations: (1) The explicit information mining for significant guiding semantics concealed in both vision and language is still under-explored; (2) The previously structured map method provides the average historical appearance of visited nodes, while it ignores distinctive contributions of various images and potent information retention in the reasoning process. This work proposes a dual semantic-aware recurrent global-adaptive network (DSRG) to address the above problems. First, DSRG proposes an instruction-guidance linguistic module (IGL) and an appearance-semantics visual module (ASV) for boosting vision and language semantic learning respectively. For the memory mechanism, a global adaptive aggregation module (GAA) is devised for explicit panoramic observation fusion, and a recurrent memory fusion module (RMF) is introduced to supply implicit temporal hidden states. Extensive experimental results on the R2R and REVERIE datasets demonstrate that our method achieves better performance than existing methods. Code is available at https: //github.com/CrystalSixone/DSRG.

For agents

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

get_harvested_code_for_paper("2305.03602")
get_code_for_paper("2305.03602")
have("2305.03602")

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

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

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

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

Connect an agent — have() is free.