Steven Hoi, Dongxu Li, Hongdong Li, Juan Niebles, Junnan Li
10 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 7 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper.json · badge: /api/ran/Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper.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.
| Repository | Role | Ran |
|---|---|---|
| salesforce/ALPRO | canonical (classifier label) classifier basis: census |
10 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| autocontrast_func | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
salesforce/ALPRO/src/datasets/randaugment.py code served (permissive licence) · get_code("78ca1debd9c4ed87") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 3, dtype family int, shape (4, 5, 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.
|
| equalize_func | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
salesforce/ALPRO/src/datasets/randaugment.py code served (permissive licence) · get_code("4c53169f63a1fcef") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 3, dtype family int, shape (4, 3, 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.
|
| identity_func | Ran ran, violated the contract we drafted |
salesforce/ALPRO/src/datasets/randaugment.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from kesenzhao/uv-cot, is pointer only (licence: NONE) · get_code("1dd2ab205689d45b") How it ranThe 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 kesenzhao/uv-cot, 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. |
| image_to_tensor | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
salesforce/ALPRO/src/datasets/data_utils.py code served (permissive licence) · get_code("e9242c50098a6ea2") How it ranRan 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 3, dtype family float, shape (3, 5, 7) 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.
|
| mask_batch_text_tokens | Ran ran; our contract draft was wrong, not the code |
salesforce/ALPRO/src/datasets/data_utils.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from microsoft/xpretrain, is pointer only (licence: NOASSERTION) · get_code("f828f173e6c2fea2") How it ranThe 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 microsoft/xpretrain, and GitHub could not classify the licence of that repository (NOASSERTION). 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. |
| mish | Ran ran; our contract draft was wrong, not the code |
salesforce/ALPRO/src/modeling/transformers.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from llyx97/sparse-and-robust-PLM, is pointer only (licence: NONE) · get_code("060527bb34794b59") How it ranThe 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 llyx97/sparse-and-robust-PLM, 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. |
| move_to_cuda | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
salesforce/ALPRO/src/datasets/dataloader.py code served (permissive licence) · get_code("b68769dd52ad6c44") How it ranRan 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.
|
| parse_with_config | Ran ran; our contract draft was wrong, not the code |
salesforce/ALPRO/src/configs/config.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from SixCorePeach/MCAM, is pointer only (licence: NONE) · get_code("3e81145412a40e36") How it ranThe 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 SixCorePeach/MCAM, 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. |
| random_erase | Ran ran on a synthesized input |
salesforce/ALPRO/src/datasets/dataset_pretrain_sparse.py code served (permissive licence) · get_code("585b74a7b79e1cde") How it ranRan 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. 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.
|
| select_batch_text_pivots | Ran ran on a synthesized input |
salesforce/ALPRO/src/datasets/data_utils.py code served (permissive licence) · get_code("373a53327c21942c") How it ranRan 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 3, 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.
|
| img_collate | Not yet run unverified (harvested, no recorded run) |
salesforce/ALPRO/src/datasets/dataset_base.py code served (permissive licence) · get_code("804a2cb417582181") How it ranno invocation recorded. |
| load_tf_weights_in_bert | Not yet run unverified (harvested, no recorded run) |
salesforce/ALPRO/src/modeling/transformers.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from llyx97/sparse-and-robust-PLM, is pointer only (licence: NONE) · get_code("0766f48ad6e01b56") How it ranThe 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 llyx97/sparse-and-robust-PLM, 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. No invocation recorded. |
| load_tf_weights_in_bert | Not yet run unverified (harvested, no recorded run) |
salesforce/ALPRO/src/modeling/xbert.py code served (permissive licence) · get_code("26be70dca3249c0b") How it ranno invocation recorded. |
Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 10 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 10 later) and 3 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| load_tf_weights_in_bert | 28 other papers 5 dated earlier, 17 later, 6 same year, order not determinable |
1905.12794 (2019-05) Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback |
2021.emnlp-main.154 (2021 (year only)) Reconstruction Attack on Instance Encoding for Language Understanding 2104.06599 (2021-04) Learning How to Ask: Querying LMs with Mixtures of Soft Prompts and 25 more not named here |
| mish | 19 other papers 9 dated earlier, 8 later, 2 same year, order not determinable |
2006.04884 (2020-06) On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines |
2007.12223 (2020-07) The Lottery Ticket Hypothesis for Pre-trained BERT Networks 2012.07463 (2020-12) Parameter-Efficient Transfer Learning with Diff Pruning and 16 more not named here |
| load_tf_weights_in_bert | 16 other papers 8 dated earlier, 7 later, 1 same year, order not determinable |
2006.04884 (2020-06) On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines |
2007.12223 (2020-07) The Lottery Ticket Hypothesis for Pre-trained BERT Networks 2012.07463 (2020-12) Parameter-Efficient Transfer Learning with Diff Pruning and 13 more not named here |
| equalize_func | 15 other papers 1 dated earlier, 13 later, 1 same year, order not determinable |
2001.07685 (2020-01) FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence |
2207.05333 (2022-07) IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training 2302.06605 (2023-02) UniAdapter: Unified Parameter-Efficient Transfer Learning for Cross-modal Modeling and 12 more not named here |
| identity_func | 15 other papers 1 dated earlier, 13 later, 1 same year, order not determinable · 1 only as an assembly brick |
2001.07685 (2020-01) FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence |
2207.05333 (2022-07) IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training 2302.06605 (2023-02) UniAdapter: Unified Parameter-Efficient Transfer Learning for Cross-modal Modeling and 12 more not named here |
| autocontrast_func | 12 other papers 1 dated earlier, 10 later, 1 same year, order not determinable |
2001.07685 (2020-01) FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence |
2207.05333 (2022-07) IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training 2302.06605 (2023-02) UniAdapter: Unified Parameter-Efficient Transfer Learning for Cross-modal Modeling and 9 more not named here |
| parse_with_config | 6 other papers 4 later, 2 same year, order not determinable |
Lin_SwinBERT_End-to-End_Transformers_With_Sparse_Attention_for_Video_Captioning_CVPR_2022_paper (2022 (year only)) SWINBERT: End-to-End Transformers with Sparse Attention for Video Captioning |
2206.03428 (2022-06) Revealing Single Frame Bias for Video-and-Language Learning 2303.04995 (2023-03) Text-Visual Prompting for Efficient 2D Temporal Video Grounding and 3 more not named here |
| mask_batch_text_tokens | 5 other papers 3 later, 2 same year, order not determinable |
2206.03428 (2022-06) Revealing Single Frame Bias for Video-and-Language Learning |
2210.06031 (2022-10) Long-Form Video-Language Pre-Training with Multimodal Temporal Contrastive Learning 2303.04995 (2023-03) Text-Visual Prompting for Efficient 2D Temporal Video Grounding and 2 more not named here |
| image_to_tensor | 4 other papers 3 later, 1 same year, order not determinable |
2206.03428 (2022-06) Revealing Single Frame Bias for Video-and-Language Learning |
2303.04995 (2023-03) Text-Visual Prompting for Efficient 2D Temporal Video Grounding 2407.12338 (2024-07) GUME: Graphs and User Modalities Enhancement for Long-Tail Multimodal Recommendation and 1 more not named here |
| move_to_cuda | 3 other papers 2 later, 1 same year, order not determinable |
2206.03428 (2022-06) Revealing Single Frame Bias for Video-and-Language Learning |
2303.04995 (2023-03) Text-Visual Prompting for Efficient 2D Temporal Video Grounding 2409.19865 (2024-09) TokenBinder: Text-Video Retrieval with One-to-Many Alignment Paradigm |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Video-and-language pre-training has shown promising improvements on various downstream tasks. Most previous methods capture cross-modal interactions with a standard transformer-based multimodal encoder, not fully addressing the misalignment between unimodal video and text features. Besides, learning fine-grained visual-language alignment usually requires off-the-shelf object detectors to provide object information, which is bottlenecked by the detector's limited vocabulary and expensive computation cost. In this paper, we propose Align and Prompt: a new video-and-language pre-training framework (ALPRO), which operates on sparsely-sampled video frames and achieves more effective cross-modal alignment without explicit object detectors. First, we introduce a video-text contrastive (VTC) loss to align unimodal video-text features at the instance level, which eases the modeling of cross-modal interactions. Then, we propose a novel visually-grounded pre-training task, prompting entity modeling (PEM), which learns fine-grained alignment between visual region and text entity via an entity prompter module in a self-supervised way. Finally, we pretrain the video-and-language transformer models on large webly-source video-text pairs using the proposed VTC and PEM losses as well as two standard losses of masked language modeling (MLM) and video-text matching (VTM). The resulting pre-trained model achieves state-of-the-art performance on both text-video retrieval and videoQA, outperforming prior work by a substantial margin. Implementation and pre-trained models are available at https://github.com/salesforce/ALPRO.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper")
get_code_for_paper("Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper")
have("Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/Li_Align_and_Prompt_Video-and-Language_Pre-Training_With_Entity_Prompts_CVPR_2022_paper)
Connect an agent — have() is free.