Papers › Learning to Caption Images through a Lifetime by Asking Questions

Learning to Caption Images through a Lifetime by Asking Questions

1 Dec 2018arXiv:1812.00235archive 2025-07-28

Kevin Shen, Amlan Kar, Sanja Fidler

In order to bring artificial agents into our lives, we will need to go beyond supervised learning on closed datasets to having the ability to continuously expand knowledge. Inspired by a student learning in a classroom, we present an agent that can continuously learn by posing natural language questions to humans. Our agent is composed of three interacting modules, one that performs captioning, another that generates questions and a decision maker that learns when to ask questions by implicitly reasoning about the uncertainty of the agent and expertise of the teacher. As compared to current active learning methods which query images for full captions, our agent is able to ask pointed questions to improve the generated captions. The agent trains on the improved captions, expanding its knowledge. We show that our approach achieves better performance using less human supervision than the baselines on the challenging MSCOCO dataset.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1812.00235")

Code

Syntology Ran 0 of 13 code samples harvested from 1 repository linked to this paper; 13 have no recorded run.

By repository: official repository: 13 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shenkev/Caption-Lifetime-by-Asking-Questions officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 0 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from shenkev/Caption-Lifetime-by-Asking-Questions. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

cook_refs shenkev/Caption-Lifetime-by-Asking-Questions/Utils/preprocess/preprocess_cider.py official repository unverified MIT (permissive) · 758ce8c8ac1b4c71 · report
create_crefs shenkev/Caption-Lifetime-by-Asking-Questions/Utils/preprocess/preprocess_cider.py official repository unverified MIT (permissive) · 1452c9f3906105d1 · report
init_hidden shenkev/Caption-Lifetime-by-Asking-Questions/Models/attention_captioner.py official repository unverified MIT (permissive) · 09204bdcd67a5309 · report
linear_reward_weighting shenkev/Caption-Lifetime-by-Asking-Questions/Losses/metrics.py official repository unverified MIT (permissive) · 9e7cb7f7bef2c76f · report
masked_CE shenkev/Caption-Lifetime-by-Asking-Questions/Losses/loss.py official repository unverified MIT (permissive) · fd3efd292071801e · report
masked_PG shenkev/Caption-Lifetime-by-Asking-Questions/Losses/loss.py official repository unverified MIT (permissive) · ca62ed9709db383e · report
precook shenkev/Caption-Lifetime-by-Asking-Questions/Utils/preprocess/preprocess_cider.py official repository unverified MIT (permissive) · 3ae4fdcfc43afe37 · report
remove_datasamples shenkev/Caption-Lifetime-by-Asking-Questions/Utils/preprocess/preprocess_llsplits.py official repository unverified MIT (permissive) · 0a720b01afd3f4ca · report
seq_max_and_mask shenkev/Caption-Lifetime-by-Asking-Questions/Losses/loss.py official repository unverified MIT (permissive) · a811ae08639f7bae · report
symbol_to_string shenkev/Caption-Lifetime-by-Asking-Questions/Losses/metrics.py official repository unverified MIT (permissive) · aa73043b661acaa4 · report
time_remaining shenkev/Caption-Lifetime-by-Asking-Questions/Utils/util.py official repository unverified MIT (permissive) · bc93b2a653456596 · report
update_lr shenkev/Caption-Lifetime-by-Asking-Questions/Utils/util.py official repository unverified MIT (permissive) · 91f76724f936bf4c · report
update_scheduled_sampling shenkev/Caption-Lifetime-by-Asking-Questions/Utils/util.py official repository unverified MIT (permissive) · 7b76618e10e9cb85 · report

Tasks

Active LearningImage Captioning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections