SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.03715 · CVPR · 2024

MeaCap: Memory-Augmented Zero-shot Image Captioning

Hao Zhang, Bo Chen, Yan Xie, Zhengjue Wang, Zequn Zeng, Chiyu Chen

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 4 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/2403.03715.json · badge: /api/ran/2403.03715.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
joeyz0z/meacap canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
joeyz0z/MeaCap community
Papers with Code archive
3 ran · 4 no recorded run
FunctionStatusWhere it lives
BARTDataset Ran
ran on a synthesized input · constructed an object; no result was computed
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("e5642d3fd6e24304")
How it ran

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

enforce_repetition_penalty_parallel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("f39a0b36cce201d2")
How it ran

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

filter_relation Ran
ran; our contract draft was wrong, not the code
joeyz0z/meacap/models/model_utils.py
pointer only (licence: NONE) · get_code("38b19fe2fa7391c9")
How it ran

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

get_encoder_labels Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("67b9c6bc431fc39b")
How it ran

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

merge_graph_dict Ran
ran; our contract draft was wrong, not the code
joeyz0z/meacap/models/model_utils.py
pointer only (licence: NONE) · get_code("76142d97b7ca58f8")
How it ran

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

merge_sim_entities Ran
ran; our contract draft was wrong, not the code
joeyz0z/meacap/models/model_utils.py
pointer only (licence: NONE) · get_code("0f73f0facaae17cf")
How it ran

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

_generate_no_beam_search_parallel Not yet run
unverified (harvested, no recorded run)
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("c6ae5ad6d6d1cdac")
How it ran

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

conzic_sample_function Not yet run
unverified (harvested, no recorded run)
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("d462a2b62d3796e1")
How it ran

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

generate_function Not yet run
unverified (harvested, no recorded run)
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("03d9a31b0921cfac")
How it ran

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

generate_step_parallel Not yet run
unverified (harvested, no recorded run)
joeyz0z/MeaCap/models/main_CLIPe.py
pointer only (licence: NONE) · get_code("1531747d9b0129e6")
How it ran

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

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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.

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

Zero-shot image captioning (IC) without well-paired image-text data can be divided into two categories, training-free and text-only-training. Generally, these two types of methods realize zero-shot IC by integrating pretrained vision-language models like CLIP for image-text similarity evaluation and a pre-trained language model (LM) for caption generation. The main difference between them is whether using a textual corpus to train the LM. Though achieving attractive performance w.r.t. some metrics, existing methods often exhibit some common drawbacks. Training-free methods tend to produce hallucinations, while text-only-training often lose generalization capability. To move forward, in this paper, we propose a novel Memory-Augmented zero-shot image Captioning framework (MeaCap). Specifically, equipped with a textual memory, we introduce a retrieve-then-filter module to get key concepts that are highly related to the image. By deploying our proposed memory-augmented visual-related fusion score in a keywords-to-sentence LM, MeaCap can generate concept-centered captions that keep high consistency with the image with fewer hallucinations and more world-knowledge. The framework of Mea-Cap achieves the state-of-the-art performance on a series of zero-shot IC settings. Our code is available at https://github.com/joeyz0z/MeaCap.

For agents

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

get_harvested_code_for_paper("2403.03715")
get_code_for_paper("2403.03715")
have("2403.03715")

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

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

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

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

Connect an agent — have() is free.