NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Spatio-temporal Modelling and Querying Video Databases Using High-level Concepts

Surya Nepal, Uma SrinivasanVDB 2002

Introduction

Content-based video retrieval (CBVR) has traditionally relied on "bottom-up" approaches, where users query databases using low-level features such as color histograms, textures, or motion vectors. While computationally straightforward, these features are often unintuitive for human users, creating a significant "semantic gap." For instance, a user looking for a clip of a car moving from the center to the top-right of a frame would find it difficult to translate this intent into raw feature vectors.

This paper proposes a "top-down" framework designed to bridge this gap. By modeling spatio-temporal relationships through high-level semantic concepts and representing them using an efficient binary string scheme combined with fuzzy logic, the authors enable more natural and qualitative video querying.

Spatio-Temporal Modeling Framework

The core of the proposed system is a multi-layered approach to modeling how objects move and interact within video frames. The authors categorize these relationships into unary and binary relations, further subdivided into spatial and spatio-temporal categories.

Taxonomy of spatio-temporal relations for moving objects.

Binary Representation Scheme

To translate qualitative spatial positions into a format suitable for computation, the authors partition the video frame into a grid. Each of the nine primary regions (Top, Top-Right, Center, etc.) is represented by a pair of binary strings, $QX$ and $QY$. This representation allows the system to encode an object's position efficiently. For example, the "Centre" position is represented by specific bit patterns in both dimensions, transforming complex geometric comparisons into simple bitwise logic.

Binary string representations for spatial positions.

Fuzzy Logic Integration

Recognizing that human concepts like "left" or "center" do not have rigid boundaries, the framework incorporates fuzzy logic. "Buffer regions" are introduced between semantic zones, and fuzzy membership functions are used to calculate similarity scores. This allows the system to return ranked results where an object "mostly in the center" (e.g., a similarity of 0.75) is prioritized over one that is clearly elsewhere, providing a more human-centric search experience.

Directional and Temporal Mapping

The framework handles temporal dynamics by incorporating Allen’s 13 temporal interval relations (e.g., Before, Meets, Overlaps). Directional movement is determined by comparing the binary strings of an object across different frames (typically the first and last frames of a shot). By calculating "spatial factors" through bitwise operations like left and right shifts, the system can identify trajectories such as "Left-to-Right" or "Towards."

Experimental Evaluation

The framework was evaluated using the MPEG-7 video content archive, specifically the etri_od_b.mpg file. The researchers identified 17 distinct shots to test positional and directional queries.

Key Results

  • Directional Accuracy: The system demonstrated high similarity scores (e.g., 0.8) for shots featuring clear linear movement, such as an object moving left-to-right.
  • Positional Tracking: Similarity curves plotted for "left," "right," and "center" queries accurately tracked objects as they transitioned through different semantic zones over the duration of a shot.
  • Adjustable Weighting: The system allows for tunable weights ($w_1, w_2$) to balance horizontal and vertical movement components, offering flexibility in interpreting diagonal or complex paths.

Discussion and Limitations

While the binary string approach is computationally efficient and the fuzzy logic improves user experience, some limitations remain. The current "first frame vs. last frame" logic for directional movement may fail to capture complex, non-linear trajectories like zig-zags or circles. Furthermore, the system's performance is heavily dependent on the accuracy of the underlying object detection algorithm; high-speed motion in some test shots (like Shot 14) led to tracking failures and subsequent errors in motion data.

Conclusion

The proposed framework successfully demonstrates that qualitative, high-level concepts can be mapped to efficient mathematical models for video retrieval. By prioritizing human-readable terms and acknowledging the inherent "fuzziness" of spatial relations, this approach moves CBVR systems closer to intuitive human interaction. Future work will focus on expanding the model to handle more complex trajectories and optimizing fuzzy weights for improved ranking accuracy.

Summary updated

BibTeX
@inproceedings{nepal2002spatio,
  author = {Surya Nepal and Uma Srinivasan},
  title = {{Spatio-temporal Modelling and Querying Video Databases Using High-level Concepts}},
  booktitle = {VDB},
  year = {2002},
}
Figure