A Large-Scale Distributed Video Parsing and Evaluation Platform

Kai Yu, Yang Zhou, Da Li, Zhang Zhang, Kaiqi Huang

Abstract

The Large-scale Video Parsing and Evaluation (LaS-VPE) platform is a distributed system designed to handle the massive data demands of modern visual surveillance. By integrating Big Data tools like Spark Streaming and Kafka, it creates a flexible, modular environment where researchers can easily deploy new algorithms and use human-in-the-loop feedback to incrementally improve AI models. This paper details the architecture and decentralized routing logic that enables high-throughput processing and seamless algorithm extensibility.

Introduction

Traditional Intelligent Visual Surveillance (IVS) systems are often "brittle," built as fixed execution pipelines that are difficult to scale or modify. As the volume of "Big Visual Data" explodes, legacy systems face three major hurdles: scalability in processing thousands of high-definition streams, extensibility when integrating new algorithms, and an evaluation gap where algorithmic performance often fails to meet user satisfaction. Most systems lack a built-in mechanism to collect human feedback to refine models over time.

System Architecture

LaS-VPE is built on a modern distributed computing stack to ensure robustness and flexibility. The core components include:

  • Spark Streaming & YARN: Used for high-throughput, real-time distributed processing. YARN manages cluster resources, allowing multiple vision tasks to run independently.
  • Kafka for Decoupling: Instead of hard-coding connections, the system uses Kafka as a message broker. Each module (e.g., a pedestrian tracker) subscribes to specific "topics," allowing the system to remain operational even if individual modules fail.
  • DAG-based Task Flow: Users define custom execution plans via a Web UI, represented as Directed Acyclic Graphs (DAGs).
The LaS-VPE system architecture showing the integration of Web UI, Kafka, YARN, and various processing modules.

Decentralized Data Routing

A key innovation of LaS-VPE is the "Next Module to Execute" (NME) logic. To maintain flexibility, routing information is embedded directly into the Kafka message payload. Each message contains the result data, the flow graph structure, and an identifier for the next module. This allows data to "know" its destination without a centralized controller micromanaging every step.

Mapping of a Task Flow Graph to the TaskData Class structure, illustrating how routing information (NME) is embedded in the data.

By using Kafka, input data is cached if a module is temporarily down. Once the module recovers, it consumes the backlog, ensuring no data loss during updates or failures.

Human-in-the-Loop Evaluation

The platform treats evaluation as a continuous data source rather than a final step. A dedicated Web UI allows users to query results and provide feedback (e.g., confirming a Re-ID match). This feedback is stored to facilitate incremental supervised or semi-supervised learning, turning everyday operations into a training data generation engine.

Conclusion and Future Work

LaS-VPE successfully demonstrates a framework where vision modules can be swapped or combined via a GUI without recompiling the underlying system. While the platform provides significant modular flexibility and distributed efficiency, future work will focus on quantitative validation of latency and throughput, as well as automated query optimization to determine the most efficient data routes through available modules.

Summary updated

BibTeX
@inproceedings{yu2016large,
  author = {Kai Yu and Yang Zhou and Da Li and Zhang Zhang and Kaiqi Huang},
  title = {{A Large-Scale Distributed Video Parsing and Evaluation Platform}},
  booktitle = {IVS},
  year = {2016},
  url = {https://openreview.net/forum?id=nTrlwjtQMv},
}
Figure