Papers › Recurrent Models of Visual Attention

Recurrent Models of Visual Attention

24 Jun 2014NeurIPS 2014 12arXiv:1406.6247archive 2025-07-28

Volodymyr Mnih, Nicolas Heess, Alex Graves, Koray Kavukcuoglu

Applying convolutional neural networks to large images is computationally expensive because the amount of computation scales linearly with the number of image pixels. We present a novel recurrent neural network model that is capable of extracting information from an image or video by adaptively selecting a sequence of regions or locations and only processing the selected regions at high resolution. Like convolutional neural networks, the proposed model has a degree of translation invariance built-in, but the amount of computation it performs can be controlled independently of the input image size. While the model is non-differentiable, it can be trained using reinforcement learning methods to learn task-specific policies. We evaluate our model on several image classification tasks, where it significantly outperforms a convolutional neural network baseline on cluttered images, and on a dynamic visual control problem, where it learns to track a simple object without an explicit training signal for doing so.

PaperPDFConference PDFCodeCode 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="1406.6247")

Code

Syntology Ran 7 of 24 code samples harvested from 7 repositories linked to this paper; 17 have no recorded run. Of those that ran: 4 ran · honoured contract; 2 ran · violated contract; 1 ran · our draft was wrong.

By repository: community (archive-listed): 23 samples from 7 repositories, 6 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

20 repositories listed; official and paper-mentioned ones first.

MiuGod0126/RAM-Paddle mentioned on GitHubpaddleMIT report
Sooram/cnn mentioned on GitHubtf report
Sooram/stn mentioned on GitHubtf report
abdosharaf98/active-sensing-paper mentioned on GitHubpytorchMIT report
baidu-research/DT-RAM mentioned on GitHubtorch report
conan7882/recurrent-attention-model mentioned on GitHubtfMIT report
kevinzakka/recurrent-visual-attention mentioned on GitHubpytorch report
kiwi1944/CRISense mentioned on GitHubpytorch report
mengdi-li/robotic-occlusion-reasoning mentioned on GitHubpytorchMIT report
mimikaan/Attention-Model mentioned on GitHubtfMIT report
qingzew/tensorflow-ram mentioned on GitHubtfGPL-3.0 report
stephanboner/gabor_data mentioned on GitHub report
theowu23451/DRAM mentioned on GitHubtfMIT report
ulstu/ml mentioned on GitHub report
ulstu/robotics_ml mentioned on GitHub 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

24 samples harvested; 7 ran; 4 honoured the contract we drafted; 17 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.

4ran · honoured contract
2ran · violated contract
1ran · our draft was wrong
17unverified

Licence: 1 of the 24 samples is 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 7 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

add_argument_group kevinzakka/recurrent-visual-attention/config.py community (archive-listed) ran · our draft was wrong MIT (permissive) · b7dd47e91ac1448a · report
adjust_learning_rate johnrobinsn/catch/ram_catch.py community (archive-listed) ran · honoured contract MIT (permissive) · b9ae4f85e8921042 · report
mask_labels tianyu-tristan/Visual-Attention-Model/SVHN/dram/dram.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · dfdf1a70103e043b · report
repair_labels tianyu-tristan/Visual-Attention-Model/SVHN/dram/dram.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · ee60170e008f8124 · report
str2bool MiuGod0126/RAM-Paddle/config.py community (archive-listed) ran · violated contract MIT (permissive) · 248284f69adfeaad · report
truncate_labels tianyu-tristan/Visual-Attention-Model/SVHN/dram/dram.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 58d0f0ae48e3212e · report
Linear conan7882/recurrent-attention-model/lib/model/layers.py community (archive-listed) unverified MIT (permissive) · 729767fbba984f0f · report
batch_flatten conan7882/recurrent-attention-model/lib/model/layers.py community (archive-listed) unverified MIT (permissive) · 7df4bf75e234defd · report
bounding_box MiuGod0126/RAM-Paddle/utils.py community (archive-listed) unverified MIT (permissive) · 51f550c140da0e1f · report
convert_to_dataset theowu23451/DRAM/model/utils.py community (archive-listed) unverified MIT (permissive) · 42875219a09169da · report
create_bbox theowu23451/DRAM/model/visualizer.py community (archive-listed) unverified MIT (permissive) · 92d2f0beac737086 · report
create_ff_network abdosharaf98/active-sensing-paper/nets.py community (archive-listed) unverified MIT (permissive) · 0a8922aeb5af661f · report
denormalize MiuGod0126/RAM-Paddle/utils.py community (archive-listed) unverified MIT (permissive) · aba2291398c33f9e · report
get_logger MiuGod0126/RAM-Paddle/utils.py community (archive-listed) unverified MIT (permissive) · 8f7357fe28cb2df6 · report
get_rng conan7882/recurrent-attention-model/lib/dataflow/mnist.py community (archive-listed) unverified MIT (permissive) · d7f84a4593d266f3 · report
get_shape2D conan7882/recurrent-attention-model/lib/utils/utils.py community (archive-listed) unverified MIT (permissive) · 1d25c8422ef144ad · report
identity conan7882/recurrent-attention-model/lib/dataflow/mnist.py community (archive-listed) unverified MIT (permissive) · 1b199adffea8aa84 · report
linear_cyclical_schedule abdosharaf98/active-sensing-paper/annealing_schedules.py community (archive-listed) unverified MIT (permissive) · 51c4801bd010779d · report
ramp_schedule abdosharaf98/active-sensing-paper/annealing_schedules.py community (archive-listed) unverified MIT (permissive) · c55ed1649d97e51c · report
sample_normal_single conan7882/recurrent-attention-model/lib/utils/tfutils.py community (archive-listed) unverified MIT (permissive) · 1f580339b4241ecb · report
score_action abdosharaf98/active-sensing-paper/BAS.py community (archive-listed) unverified MIT (permissive) · 13b8d8b5eb2eceb6 · report
step_schedule abdosharaf98/active-sensing-paper/annealing_schedules.py community (archive-listed) unverified MIT (permissive) · 29c539727d9bed6f · report
truncate theowu23451/DRAM/model/utils.py community (archive-listed) unverified MIT (permissive) · eae54352422ca8a7 · report
str2bool identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · 7c508037b40522af · report

Tasks

Hard AttentionImage ClassificationReinforcement LearningTranslationimage-classification

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