SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.14302 · 2023

VIP5: Towards Multimodal Foundation Models for Recommendation

arXiv · PDF · Open in the Atlas

Code that ran

11 of 11 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, 1 violated it and 3 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2305.14302.json · badge: /api/ran/2305.14302.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
jeykigung/vip5 canonical (classifier label)
classifier basis: census
11 ran · 0 no recorded run
FunctionStatusWhere it lives
ReadLineFromFile Ran
ran; our contract draft was wrong, not the code
jeykigung/vip5/src/data.py
code served (permissive licence) · get_code("d258988e7d4b7f23")
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 list, 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 tempfile
import os

# Create a temporary file with some test content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("line one\n")
temp_file.write("line two\n")
temp_file.write("line three")
temp_file.close()

ARGS = {
    'path': temp_file.name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 list, ndim 1, dtype family float — a list 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
all_gather Ran
ran; our contract draft was wrong, not the code
jeykigung/vip5/src/dist_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("41c46b0d5713eb14")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

count_parameters Ran
ran, honoured the contract we drafted
jeykigung/vip5/src/utils.py
code served (permissive licence) · get_code("f6b944f50d3f15ae")
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 int, ndim 0, dtype family int, 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 torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
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 int, ndim 0, dtype family int, 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
gather Ran
ran; our contract draft was wrong, not the code
jeykigung/vip5/src/dist_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("00a9f7918ac39329")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

get_optimizer Ran
ran on a synthesized input
jeykigung/vip5/src/param.py
code served (permissive licence) · get_code("144fc1d6887079d4")
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 type. 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

torch.manual_seed(0)

ARGS = {
    'optim': 'adam',
    'verbose': True
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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_json Ran
ran; our contract draft was wrong, not the code
jeykigung/vip5/src/data.py
code served (permissive licence) · get_code("53d425eb1278ddda")
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 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 json
import tempfile
import os

# Create a temporary JSON file with valid content
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.json")

test_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "object"}
}

with open(temp_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "file_path": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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_pickle Ran
ran; our contract draft was wrong, not the code
jeykigung/vip5/src/data.py
code served (permissive licence) · get_code("570ad34bd1af44a8")
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 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 pickle
import tempfile
import os

# Create a temporary file with pickled data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.pkl")

# Create some sample data to pickle
sample_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "dict"}
}

# Write the pickled data to the temporary file
with open(temp_file, 'wb') as f:
    pickle.dump(sample_data, f)

ARGS = {
    "filename": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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_state_dict Ran
ran on a synthesized input
jeykigung/vip5/src/utils.py
code served (permissive licence) · get_code("5a21ebce306df07c")
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 torch
import tempfile
import os

torch.manual_seed(0)

# Create a temporary state dict file
temp_dir = tempfile.mkdtemp()
state_dict_path = os.path.join(temp_dir, 'model_state.pt')

# Create a sample state dict with both 'module.' prefixed and non-prefixed keys
sample_state_dict = {
    'module.layer1.weight': torch.randn(4, 3),
    'module.layer1.bias': torch.randn(4),
    'layer2.weight': torch.randn(3, 2),
    'layer2.bias': torch.randn(3),
}

# Save the state dict to the temporary file
torch.save(sample_state_dict, state_dict_path)

ARGS = {
    'state_dict_path': state_dict_path,
    'loc': 'cpu',
}
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 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
parse_args Ran
ran on a synthesized input
jeykigung/vip5/src/param.py
code served (permissive licence) · get_code("279173f7d607f9ef")
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 Config. 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
import random
import numpy as np
import torch
import pprint
import yaml
from io import StringIO

torch.manual_seed(0)

ARGS = {
    'seed': 42,
    'train': 'train',
    'valid': 'valid',
    'test': None,
    'test_only': False,
    'submit': False,
    'output': 'snap/pretrain',
    'load': None,
    'from_scratch': False,
    'multiGPU': False,
    'fp16': False,
    'distributed': False,
    'num_workers': 0,
    'local_rank': -1,
    'backbone': 't5-base',
    'tokenizer': 'p5',
    'whole_word_embed': False,
    'category_embed': False,
    'max_text_length': 128,
    'use_adapter': False,
    'reduction_factor': 16,
    'add_adapter_cross_attn': True,
    'use_lm_head_adapter': False,
    'use_single_adapter': False,
    'track_z': False,
    'unfreeze_layer_norms': False,
    'unfreeze_language_model': False,
    'batch_size': 256,
    'valid_batch_size': None,
    'optim': 'adamw',
    'warmup_ratio': 0.05,
    'weight_decay': 0.01,
    'clip_grad_norm': -1.0,
    'gradient_accumulation_steps': 1,
    'lr': 0.001,
    'adam_eps': 1e-06,
    'adam_beta1': 0.9,
    'adam_beta2': 0.999,
    'epoch': 10,
    'dropout': 0.1,
    'losses': 'sequential,direct,explanation',
    'log_train_accuracy': False,
    'freeze_ln_statistics': False,
    'freeze_bn_statistics': False,
    'num_beams': 1,
    'gen_max_length': 20,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Config — a Config output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Config 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
reduce_dict Ran
ran; our contract draft was wrong, not the code
jeykigung/vip5/src/dist_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("44f4152cc7eb1ddd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

str2bool Ran
ran, violated the contract we drafted
jeykigung/vip5/src/param.py
code served (permissive licence) · get_code("f017532fc389cbfe")
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 bool, 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 argparse

def str2bool(v):
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Setup code to construct valid arguments
ARGS = {
    'v': 'true'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 bool, 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

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 11 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 5 the same month, 10 later) and 0 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
count_parameters 180 other papers
87 dated earlier, 3 the same month, 86 later, 4 same year, order not determinable · 8 only as an assembly brick
1705.08415 (2017-05)
Supervised Community Detection with Line Graph Neural Networks
1707.01926 (2017-07)
Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting
1808.09367 (2018-08)
Deriving Machine Attention from Human Rationales
and 177 more not named here
str2bool 82 other papers
60 dated earlier, 2 the same month, 17 later, 3 same year, order not determinable
1510.03055 (2015-10)
A Diversity-Promoting Objective Function for Neural Conversation Models
1703.06490 (2017-03)
Generating Multi-label Discrete Patient Records using Generative Adversarial Networks
1710.10467 (2017-10)
Generalized End-to-End Loss for Speaker Verification
and 79 more not named here
all_gather 16 other papers
4 dated earlier, 1 the same month, 8 later, 3 same year, order not determinable
2108.02833 (2021-08)
Elaborative Rehearsal for Zero-shot Action Recognition
136730727 (2022 (year only))
Self-Supervised Sparse Representation for Video Anomaly Detection
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 13 more not named here
gather 14 other papers
3 dated earlier, 1 the same month, 7 later, 3 same year, order not determinable
2108.02833 (2021-08)
Elaborative Rehearsal for Zero-shot Action Recognition
136730727 (2022 (year only))
Self-Supervised Sparse Representation for Video Anomaly Detection
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 11 more not named here
load_json 11 other papers
3 dated earlier, 7 later, 1 same year, order not determinable
1809.01696 (2018-09)
TVQA: Localized, Compositional Video Question Answering
1904.11574 (2019-04)
TVQA+: Spatio-Temporal Grounding for Video Question Answering
2001.09099 (2020-01)
TVR: A Large-Scale Dataset for Video-Subtitle Moment Retrieval
and 8 more not named here
load_pickle 10 other papers
2 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable
2001.09099 (2020-01)
TVR: A Large-Scale Dataset for Video-Subtitle Moment Retrieval
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 7 more not named here
reduce_dict 8 other papers
2 dated earlier, 4 later, 2 same year, order not determinable
2208.12306 (2022-08)
Multimedia Generative Script Learning for Task Planning
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 5 more not named here
ReadLineFromFile 3 other papers
2 later, 1 same year, order not determinable
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
2308.07134 (2023-08)
Language is All a Graph Needs
get_optimizer 3 other papers
1 later, 2 same year, order not determinable
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
load_state_dict 3 other papers
1 dated earlier, 1 later, 1 same year, order not determinable
2208.12306 (2022-08)
Multimedia Generative Script Learning for Task Planning
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
parse_args 1 other paper
1 same year, order not determinable
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation

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

Computer Vision (CV), Natural Language Processing (NLP), and Recommender Systems (RecSys) are three prominent AI applications that have traditionally developed independently, resulting in disparate modeling and engineering methodologies. This has impeded the ability for these fields to directly benefit from each other's advancements. With the recent development of foundation models, large language models have emerged as a potential general-purpose interface for unifying different modalities and problem formulations. In light of this, we propose the development of a multimodal foundation model (MFM) considering visual, textual, and personalization modalities under the P5 recommendation paradigm, thus named VIP5 (Visual P5), to unify various modalities and recommendation tasks. This will enable the processing of multiple modalities in a shared architecture for improved recommendations. To achieve this, we introduce multimodal personalized prompts to accommodate multiple modalities under a shared format. Additionally, we propose a parameter-efficient training method for foundation models, which involves freezing the P5 backbone and fine-tuning lightweight adapters, resulting in improved recommendation performance and increased efficiency in terms of training time and memory usage. Code and data of VIP5 are available at https://github.com/jeykigung/VIP5.

For agents

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

get_harvested_code_for_paper("2305.14302")
get_code_for_paper("2305.14302")
have("2305.14302")

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

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

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

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

Connect an agent — have() is free.