SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.02379 · 2019

Large-scale Pretraining for Visual Dialog: A Simple State-of-the-Art Baseline

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 2 failures of our instrument; 2 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/1912.02379.json · badge: /api/ran/1912.02379.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
vmurahari3/visdial-bert canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
swish Ran
ran; our contract draft was wrong, not the code
vmurahari3/visdial-bert/models/vilbert_dialog.py
code served (permissive licence) · get_code("0f786c407fb1ee4c")
How it ran

Ran in Syntology's jail 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. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T22:33:52Z). 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)

# The function swish takes a single parameter 'x' which is used with:
# - torch.sigmoid(x) - requires a tensor
# - x * ... - requires a tensor that supports multiplication
# So x should be a tensor

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
gelu Ran
ran, honoured the contract we drafted
vmurahari3/visdial-bert/models/vilbert_dialog.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from tanmay1618/text_to_sql_bert, is pointer only (licence: NONE) · get_code("fdc64f4c72036ae4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from tanmay1618/text_to_sql_bert, 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.

read_options Ran
ran on a synthesized input
vmurahari3/visdial-bert/preprocessing/pre_process_visdial.py
code served (permissive licence) · get_code("5593052e318b6555")
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 argparse

def read_options(argv=None):
    parser = argparse.ArgumentParser(description='Options')
    parser.add_argument('-visdial_train', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_train.json', help='json file containing train split of visdial data')
    parser.add_argument('-visdial_val', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_val.json', help='json file containing val split of visdial data')
    parser.add_argument('-visdial_test', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_test.json', help='json file containing test split of visdial data')
    parser.add_argument('-visdial_val_ndcg', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_val_dense_annotations.json', help='JSON file with dense annotations')
    parser.add_argument('-visdial_train_ndcg', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_train_dense_annotations.json', help='JSON file with dense annotations')
    parser.add_argument('-max_seq_len', default=256, type=int, help='the max len of the input representation of the dialog encoder')
    parser.add_argument('-save_path_train', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_train_processed.json', help='Path to save processed train json')
    parser.add_argument('-save_path_val', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_val_processed.json', help='Path to save val json')
    parser.add_argument('-save_path_test', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_test_processed.json', help='Path to save test json')
    parser.add_argument('-save_path_train_dense_samples', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_train_dense_processed.json', help='Path to save processed train json')
    parser.add_argument('-save_path_val_ndcg', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_val_dense_annotations_processed.json', help='Path to save processed ndcg data for the val split')
    parser.add_argument('-save_path_train_ndcg', default='/srv/share/vmurahari3/visdial-rl/data/v1.0_data/visdial_1.0_train_dense_annotations_processed.json', help='Path to save processed ndcg data for the train split')
    try:
        parsed = vars(parser.parse_args(args=argv))
    except IOError as msg:
        parser.error(str(msg))
    return parsed

ARGS = {
    'argv': None
}
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
scores_to_ranks Ran
ran; our contract draft was wrong, not the code
vmurahari3/visdial-bert/utils/visdial_metrics.py
pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from idansc/mrr-ndcg, is pointer only (licence: NONE) · get_code("bba223178ea790b8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from idansc/mrr-ndcg, 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.

load_tf_weights_in_bert Not yet run
unverified (harvested, no recorded run)
vmurahari3/visdial-bert/models/vilbert_dialog.py
code served (permissive licence) · get_code("baa5766f4566aafc")
How it ran

no invocation recorded.

read_command_line Not yet run
unverified (harvested, no recorded run)
vmurahari3/visdial-bert/options.py
code served (permissive licence) · get_code("21ad1eb3bb7f8c47")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 4 later) and 2 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
swish 206 other papers
25 dated earlier, 1 the same month, 180 later · 44 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1805.12114 (2018-05)
Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models
1809.01357 (2018-09)
Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference
and 203 more not named here
gelu 198 other papers
32 dated earlier, 1 the same month, 165 later · 32 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1901.10125 (2019-01)
Glyce: Glyph-vectors for Chinese Character Representations
and 195 more not named here
load_tf_weights_in_bert 12 other papers
6 dated earlier, 1 the same month, 5 later · 1 only as an assembly brick
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1906.01698 (2019-06)
Open Sesame: Getting Inside BERT's Linguistic Knowledge
1908.02265 (2019-08)
ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Tasks
and 9 more not named here
scores_to_ranks 2 other papers
2 later
2104.07511 (2021-04)
Ensemble of MRR and NDCG models for Visual Dialog
2301.13823 (2023-01)
Grounding Language Models to Images for Multimodal Inputs and Outputs

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

Prior work in visual dialog has focused on training deep neural models on VisDial in isolation. Instead, we present an approach to leverage pretraining on related vision-language datasets before transferring to visual dialog. We adapt the recently proposed ViLBERT (Lu et al., 2019) model for multi-turn visually-grounded conversations. Our model is pretrained on the Conceptual Captions and Visual Question Answering datasets, and finetuned on VisDial. Our best single model outperforms prior published work (including model ensembles) by more than 1% absolute on NDCG and MRR. Next, we find that additional finetuning using "dense" annotations in VisDial leads to even higher NDCG -- more than 10% over our base model -- but hurts MRR -- more than 17% below our base model! This highlights a trade-off between the two primary metrics -- NDCG and MRR -- which we find is due to dense annotations not correlating well with the original ground-truth answers to questions.

For agents

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

get_harvested_code_for_paper("1912.02379")
get_code_for_paper("1912.02379")
have("1912.02379")

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

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

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

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

Connect an agent — have() is free.