Search arXiv⌕ Search

arXiv subjects

Sparsh Rastogi

Publications and source records attributed to Sparsh Rastogi.

3 recordsLinked to original sources

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

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.

cs.CV↗

TimeNet: An Extensible Unified Data Infrastructure for Next-Generation Temporal Foundation Models

Temporal Foundation Models (TFMs) aim to generalize across domains, datasets, and tasks. Yet, their development remains constrained by fragmented, task-specific data formats, annotations, and processing pipelines. We introduce TimeNet, an open-source data standard and scalable infrastructure that decouples temporal data from task definitions and represents signals, metadata, annotations, and supervision in a shared, extensible data model. TimeNet supports multimodal signals with regular, irregular, or ordinal time axes and expresses different task families (including classification, forecasting, temporal localization, question answering, generation, and editing) as reusable views over the same recordings. This shared representation enables heterogeneous time-series datasets to be combined for large-scale model training across domains, modalities, and tasks. We demonstrate TimeNet by transcoding datasets with 1.5M task instances spanning diverse domains, modalities, temporal scales, and forms of supervision, while retaining practical I/O performance relative to native formats. TimeNet enables an existing TFN training pipeline to support joint training on a configurable number of heterogeneous datasets through configuration changes alone. We show this capability by training TFM across multiple datasets and tasks, obtaining a 14% F1 score improvement compared with models trained on individual datasets. These results show that TimeNet provides the data and systems foundation needed to move beyond task- and dataset-specific TFMs toward models that can learn jointly across heterogeneous domains, modalities, temporal scales, and forms of supervision from a common data model.

cs.AI↗

TRACE-TS: Attribution-Grounded and Traceable Sensor-Language Reasoning for Human Activity Understanding

Wearable sensors capture fine-grained motion patterns that support rich behavioral understanding, yet most existing methods reduce these signals to activity labels. Recent LM-based approaches generate natural-language explanations for sensor data, but their reasoning is weakly grounded in the underlying signal, leading to fluent yet unverifiable explanations. We introduce TRACE-TS (Traceable Reasoning with Attribution-Grounded Evidence), a framework for structured and signal-grounded reasoning over wearable time series. TRACE-TS uses attribution from an expert classifier to identify salient spatio-temporal sensor regions, uses them to construct DAG reasoning traces with explicit evidence provenance, and trains a compact language model to generate these traces through gated cross-attention over sensor memory tokens. At inference, the adapted model jointly outputs the activity prediction and its reasoning trace, without requiring attribution computation or teacher guidance. We introduce Semantic Node Match(SNM), an LLM-as-judge metric that diagnoses reasoning fidelity at the observation, inference, and synthesis levels, localizing hallucinated observations and broken evidence chains missed by standard NLG metrics. Across seven wearable benchmarks, TRACE-TS achieves the best average accuracy and F1 among all evaluated methods (84.43%/81.24%), and outperforms the best LLM-based baseline by 17.96% in F1. Our code is available at https://github.com/SparshRastogi/TRACE-TS.

cs.AI↗