Manuscript Offprint

arXiv:2610.21422

Where, How, and When: Query-Guided Grounding for Video Understanding

Yogesh Kumar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Understanding video content requires reasoning across multiple levels of granularity, from identifying individual objects to interpreting their relationships and localizing specific temporal actions or moments. This thesis explores three distinct grounding tasks that correspond to fundamental questions in query-guided video understanding: Where key objects are present (object-level grounding), How these objects interact (relationship-level grounding), and When specific actions occur (moment-level grounding). These tasks collectively enable a structured interpretation of dynamic scenes in videos, progressing from fine-grained object localization to coarse temporal localization.

For object-level grounding, we present QDETRv (Query-guided Detection Transformer for Videos), a novel extension of Detection Transformer that enables one-shot localization of unseen objects in videos. QDETRv employs (i) query-context fusion, where query features are integrated with contextual video frames to enable effective temporal reasoning; (ii) memory module to maintain temporal consistency across frames; and (iii) unsupervised pretraining strategy using synthetic object trajectories with recurrent queries and feature-reconstruction objectives for a better initialization, and thereby achieves substantial gains over competitive baselines. Taking it forward, to address the limitations of QDETRv, we propose the Temporal Object-Aware Vision Transformer (TOViT), which leverages a language-aligned, large-scale pre-trained open-set vision encoder. This enhances semantic discrimination, enabling better separation of visually similar objects through rich linguistic priors. Additionally, TOViT introduces a filtering mechanism that propagates high-confidence object features across frames, allowing temporal consistency to support the detection of small and partially visible objects.

For relationship-level grounding, we propose few-shot referring relationships in videos where given a query visual relationship, i.e. (subject, predicate, object) and a target video, the task is to localize the entities using only a few support videos sharing the same predicate. Our method formulates this as an optimization over a T-partite random field, with candidate bounding boxes as vertices across T frames. A relation network with query-conditioned translational embeddings is trained via episodic meta-learning. Two aggregation techniques, Global Semantic Aggregation (GSA) and Local Localization Aggregation (LLA), incorporate temporal context, and belief propagation-based message passing produces subject-object trajectories. Experiments show strong performance, effectively addressing the long-tail distribution of visual relationships.

For moment-level grounding, we propose Moment Alignment Transformer (MATR) for video-to-video moment retrieval. MATR employs dual-stage Dynamic Time Warping for pre- and post-fusion alignment within a transformer, capturing fine-grained temporal correlations. Learnable query vectors guide moment localization via classification and boundary prediction heads. A self-supervised pretraining strategy with temporal augmentations further enhances

ii generalization. We further extended MATR to support text-to-video moment retrieval and achieved comparable, if not better performance to the state-of-the-art methods.

In short, this thesis progressively advances the understanding of where, how, and when in query-guided video comprehension by proposing a series of principled solutions spanning spatial, relational, and temporal grounding. We believe that the ideas and frameworks presented here will open up promising research avenues in various application domains such as sports analytics, manufacturing, and skill understanding, among others.

iii

Acknowledgements

The completion of this doctoral dissertation represents not just a personal milestone but the culmination of years of collaboration, support, and encouragement from numerous individuals that have profoundly shaped my academic journey.

First and foremost, I extend my deepest gratitude to my PhD advisor, Dr. Anand Mishra, whose guidance and mentorship have been essential in shaping both this research and my development as a scholar. His pursuit of excellence, dedication to rigorous research methodology, and promotion of innovative thinking have been a constant source of inspiration throughout my doctoral journey. Dr. Mishra's ability to balance constructive criticism with encouragement, his open-door policy for discussions ranging from technical challenges to career guidance have been invaluable. His hard work and dedication to maintaining the highest standards of research quality continue to motivate me, and I am grateful for the excellent opportunities he provided that allowed me to excel across multiple dimensions of academic research. I fondly remember how, during my first publication, Dr. Mishra spent late night with me in the lab, patiently guiding me through the process of clear academic writing, thoughtful experimental design, and effective presentation of research. I am also thankful for his generous support for my participation in national and international conferences, which greatly enriched my academic exposure. Furthermore, his efforts in facilitating collaborations with industry partners provided me with invaluable real-world insights and broadened the practical relevance of my research.

I am deeply grateful to my PhD committee members, Dr. Suman Kundu, Dr. Ravi Kiran, and Dr. Angshuman Paul, for their thoughtful engagement with my research and their invaluable suggestions that helped refine this work. I extend special appreciation to Dr. Manish Gupta for his consistent feedback and guidance during our weekly meetings and paper writing. I am also thankful to Dr. Anutosh Maitra, Dr. Sowmya Rasipuram, and Roshni Ramnani for their collaboration and constructive feedback during our weekly discussions.

This research would not have been possible without the financial support of our funding agencies and industry collaborators. I acknowledge the University Grants Commission (UGC) for providing the fellowship that supported my doctoral studies. I am particularly thankful to Microsoft and Accenture for their research grants and collaborative partnerships that provided computing resources for our lab and also offered valuable insights into real-world applications.

I extend my sincere appreciation to the faculty, staff, and administration of IIT Jodhpur for creating an environment conducive to high-quality research and learning. The institution's commitment to enabling innovation and providing state-of-the-art research facilities has been fundamental to the success of this work. I am particularly grateful for the technical support staff (Rimpesh) who ensured that our computational infrastructure remained robust and accessible.

iv throughout the demanding phases of this research.

My doctoral journey has been greatly enriched by the opportunity to work alongside talented students and research associates in our lab. I have been fortunate to collaborate with several undergraduate and research associates, including Prajwal, Saswat, Shreya, Abu, Kranti, and Uday. The doctoral journey, with its inevitable challenges and moments of uncertainty, has been made more manageable and enjoyable through the friendship with my fellow graduate students. I am grateful to my friends, fellow graduates and lab-mates, Abhirama, Rishab, Rekhansh, Vishnu, Kartik, Surbhi, Somraj, Abhishek, Niveddita, Neelu, Akshita, Satyam, Prince, Pushkar, and Anoop who have been my companions through both the challenging and successful moments of this journey. Our discussions, ranging from technical debates to philosophical conversations about research and life, have provided both intellectual stimulation and emotional support.

Perhaps most importantly, I owe my deepest gratitude to my family, whose support, sacrifice, and belief in my aspirations have been the foundation upon which this achievement stands. My brother deserves special recognition for shouldering additional family responsibilities, allowing me to focus entirely on my studies. My mother and sister have been pillars of emotional support throughout this journey, providing comfort during difficult times and celebrating each milestone along the way. Their unconditional love, patience during my long absences, and faith in my abilities have sustained me through the challenging phases of this work.

I also wish to acknowledge my young nieces, Pankhudi and Miradhya, whose joyful presence during family visits provided much needed respite from the intensity of research work. Their innocent curiosity and their ability to bring laughter and lightness to family gatherings have been precious gifts that reminded me of the importance of maintaining balance in life.

At this point, I also wish to remember my late father, whose teachings continue to guide me even in his absence. His belief in never losing hope and his lessons on perseverance during difficult times have been a constant source of strength throughout my doctoral journey. The values he instilled in me have not only shaped my character but also carried me through the most challenging phases of my life.

Finally, I acknowledge that this doctoral dissertation represents not just my individual effort, but the collective contribution of all these individuals and institutions. While my name appears on the cover, the ideas, insights, and innovations presented within these pages have been shaped by many interactions, discussions, and collaborations. Any errors or shortcomings in this work remain entirely my responsibility, while its contributions to the field of computer vision and video understanding reflect the collective wisdom and support of this remarkable community of scholars, friends, and family members who have accompanied me on this transformative journey.

Yogesh Kumar

V

References (100)

  • Object detection in video with spatiotemporal sampling networks
  • Visual relation grounding in videos
  • Action genome: Actions as compositions of spatio-temporal scene graphs
  • Matthias Minderer, Alexey Gritsenko, Austin Stone, Maxim Neumann, Dirk Weissenborn, Alexey Dosovitskiy, Aravindh Mahendran, Anurag Arnab, Mostafa Dehghani, Zhuoran Shen, et al. Simple open-vocabulary object detection with vision transformers. arXiv preprint arXiv:2205.06230, 2022. (opens arXiv in a new tab)
  • Video owl-vit: Temporally-consistent open-world localization in video
  • Faster r-cnn: Towards real-time object detection with region proposal networks
  • Vit-yolo: Transformer-based yolo for object detection
  • End-to-end object detection with transformers
  • One-shot object detection with co-attention and co-excitation
  • Os2d: One-stage one-shot object detection by matching anchor features
  • Memory enhanced global-local aggregation for video object detection
  • YOLOV: making still image object detectors great at video object detection
  • QDETRv: Query-guided DETR for one-shot object localization in videos
  • Visual relationship detection with deep structural ranking
  • Exploring visual relationship for image captioning
  • Referring relationships
  • Tubedetr: Spatio-temporal video grounding with transformers
  • Detecting moments and highlights in videos via natural language queries
  • Query-dependent video representation for moment retrieval and highlight detection
  • Semantic relevance learning for video-query based video moment retrieval
  • Rethinking the bottom-up framework for query-based video localization
  • Univtg: Towards unified video-language temporal grounding
  • A feature pair fusion and hierarchical learning framework for video re-localization
  • Aligning moments in time using video queries
  • Moment alignment transformer for video-to-video moment retrieval
  • Attention is all you need
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • Transvod: End-to-end video object detection with spatial-temporal transformers
  • Temporal object-aware vision transformer for few-shot video object detection
  • Few-shot referring relationships in videos
  • Design and applications, 5(64-67):2, 2001
  • Long short-term memory
  • Bert: Pre-training of deep bidirectional transformers for language understanding
  • GPT-4 Technical Report
  • Longformer: The Long-Document Transformer
  • Rethinking Attention with Performers
  • Revisiting unreasonable effectiveness of data in deep learning era, 2017
  • Deit iii: Revenge of the vit
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • Cvt: Introducing convolutions to vision transformers
  • a visual language model for few-shot learning
  • A jointly-scaled multilingual language-image model (opens arXiv in a new tab)
  • Automatic ship detection based on retinanet using multi-resolution gaofen-3 imagery
  • Deformable DETR: deformable transformers for end-to-end object detection
  • Dab-detr: Dynamic anchor boxes are better queries for detr (opens arXiv in a new tab)
  • Dn-detr: Accelerate detr training by introducing query denoising
  • Learning transferable visual models from natural language supervision
  • Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks
  • Is space-time attention all you need for video understanding? In ICML, 2021
  • Vivit: A video vision transformer
  • Video swin transformer
  • Vrdformer: End-to-end video visual relation detection with transformers
  • Egtr: Extracting graph from transformer for scene graph generation
  • Spatial-temporal transformer for dynamic scene graph generation
  • Ow-detr: Open-world detection transformer
  • Open world detr: Transformer based open world object detection (opens arXiv in a new tab)
  • Prob: Probabilistic objectness for open world object detection
  • Class-agnostic object detection with multi-modal transformer
  • Open-vocabulary object detection via vision and language knowledge distillation (opens arXiv in a new tab)
  • Open-vocabulary one-stage detection with hierarchical visual-language knowledge distillation
  • Lp-ovod: Open-vocabulary object detection by linear probing
  • Open-vocabulary object detection using captions
  • Region-aware pretraining for open-vocabulary object detection with vision transformers
  • Promptdet: Towards open-vocabulary detection using uncurated images
  • Learning to prompt for open-vocabulary object detection with vision-language model
  • Actionformer: Localizing moments of actions with transformers
  • VideoBERT: A joint model for video and language representation learning
  • HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clips
  • Deep residual learning for image recognition
  • Generalizing from a few examples: A survey on few-shot learning
  • Learning to compare: Relation network for few-shot learning
  • Meta-baseline: Exploring simple meta-learning for few-shot learning
  • Prototypical networks for few-shot learning (opens arXiv in a new tab)
  • Model-agnostic meta-learning for fast adaptation of deep networks
  • Reptile: a scalable metalearning algorithm (opens arXiv in a new tab)
  • Meta-sgd: Learning to learn quickly for few-shot learning (opens arXiv in a new tab)
  • Rapid learning or feature reuse? towards understanding the effectiveness of maml, 2020
  • A dataset of datasets for learning to learn from few examples (opens arXiv in a new tab)
  • A feature generator for few-shot learning, 2024
  • Few-shot adaptation of generative adversarial networks, 2020
  • Generalized zero-and few-shot learning via aligned variational autoencoders
  • Few-shot diffusion models, 2022
  • Amu-tuning: Effective logit bias for clip-based few-shot learning
  • Momentum contrast for unsupervised visual representation learning
  • A simple framework for contrastive learning of visual representations
  • Emerging properties in self-supervised vision transformers
  • Unsupervised learning of visual features by contrasting cluster assignments
  • Self-promoted supervision for few-shot transformer
  • Learning to prompt for vision-language models
  • Meta-learning with latent embedding optimization (opens arXiv in a new tab)
  • Low-shot learning from imaginary data
  • Variational autoencoder for deep learning of images, labels and captions
  • Exploring simple siamese representation learning
  • Efficient self-supervised vision transformers for representation learning (opens arXiv in a new tab)
  • Video google: A text retrieval approach to object matching in videos
  • Person spotting: video shot retrieval for face sets
  • Person identification using multiple cues
  • Zero-shot grounding of objects from natural language queries
  • Sketch-guided object localization in natural images
  • Multimodal query-guided object localization

Couldn't load all references. Reload the page to try again.