Skip to content

RETAIN: Online Visual Query Localisation with Bounded Object-Level Memory

Sparsh Rastogi Toan Nguyen Chinmaya Panigrahy Jatin Bedi Flora D. Salim
Dec 2026
Artificial Intelligence Computer Vision Human-computer Interaction

Abstract

With the growing adoption of smart glasses, wearable cameras and embodied agents such as autonomous robots, an increasing amount of egocentric video is becoming available, powering applications such as lost-object retrieval, personalised assistance and robot navigation. Many of these applications rely on visual query localisation (VQL), which involves localising the most recent occurrence of a given object in previously observed video. However, existing VQL methods mostly operate offline, storing the entire recording and searching it for every query, which causes storage and latency to grow with the video length and makes their deployment on edge devices impractical. To address this, we propose RETAIN, an online, memory-based VQL framework that condenses the video stream into a bounded object-level memory containing a fixed number of slots. As the video streams, each object either updates its existing slot or occupies a new one, thereby maintaining the track of its latest occurrence. At inference time, queries are answered solely from these slots using lightweight learned components, without revisiting the video. On the Ego4D VQ2D benchmark, RETAIN achieves relative gains of 30% in temporal AP25 and 5% in spatio-temporal AP25 over the best offline method, while keeping its storage fixed regardless of video length and answering queries 10-44x faster on average. Our code is available at https://github.com/SparshRastogi/RETAIN alongside an interactive demo at https://sparshrastogi.github.io/RETAIN.

View source

Similar papers

#artificial intelligence Preprint Jul 2024

The Llama 3 Herd of Models

It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. · 21,082 citations · ⚡3,832
#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

MIT News · Artificial Intelligence Dec 3, 2026

Seeing the future with enterprise AI

For more than a decade, MIT computer scientist Kalyan Veeramachaneni has explored how AI can help enterprises predict what will happen — all while solving broader problems.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.