A Multi-Modal Distributed Real-Time IoT System for Urban Traffic Control (Invited Paper)

Joseph Redmon, Ali Farhadi, Boukhennoufa, Issam, Jindal, Anish, Singh, Amit KumarDROPS 2024

TL;DR

This paper introduces a multi-modal IoT framework that gives urban traffic systems both "eyes" and "ears" to manage congestion. By combining a novel two-stage visual vehicle detector that focuses only on the road surface with an acoustic sliding-window algorithm to detect sirens, the system achieves 99.4% accuracy in identifying emergency vehicles and significantly improves general vehicle detection on low-power edge devices.

What Problem Does This Paper Address?

Urban traffic congestion isn't just a nuisance; it’s a major contributor to carbon emissions, fuel waste, and delayed emergency responses. Traditional traffic lights often rely on "round-robin" timers that don't account for actual traffic density.

While researchers have tried using IoT and Deep Learning (DL) to create "smart" lights, they face two major hurdles:

  1. The Data Gap: There is a severe lack of high-quality, diverse datasets for emergency vehicles (ambulances, fire trucks) across different weather and lighting conditions.
  2. Computational Constraints: Running heavy computer vision models on "edge" hardware (like a Raspberry Pi) at a street corner is difficult. Standard models often struggle with accuracy when trying to detect small objects or distinguishing between similar vehicle types (like vans vs. buses) in real-time.

Methods

The authors propose a distributed system that splits the workload between the cloud and the edge, using two distinct sensing modes:

  • Visual Mode (The "Eyes"): The researchers exploit a simple but powerful observation: road structures rarely change. Instead of scanning the entire video frame for cars, they use a two-stage approach called R-YOLO. First, a model (YOLOv3 with an EfficientNet backbone) identifies the road and creates a "road mask." Then, a Faster R-CNN model only looks for vehicles within that mask. This "spatial shortcut" reduces the search area, cutting down on false positives and saving precious processing power.
  • Acoustic Mode (The "Ears"): To solve the emergency vehicle detection problem without relying on flawed visual data, the system uses an Arduino Nano equipped with a noise meter. It employs an acoustic sliding window algorithm that calculates the "area" of sound (Frequency × Sound Level). Because sirens have a distinct, sustained high-decibel profile compared to erratic city noise, the system can trigger a priority traffic signal the moment a siren is "heard."

Datasets

The visual component was trained and evaluated using the UA-DETRAC dataset. This is a massive benchmark for multi-object tracking that includes:

  • 1.21 million labeled bounding boxes.
  • 8,250 vehicles across four classes (car, van, bus, and others).
  • Footage from 24 distinct locations with varying weather conditions and illumination (day/night).

For the acoustic component, the authors used a custom set of 1,000 sound segments, including emergency sirens (police, ambulance, fire) and various urban background noises.

Key Insights and Ideas

  • Static Priors as Efficiency Gains: By recognizing that the road doesn't move, the authors turned a complex detection task into a targeted one. Masking the non-road areas of a video feed is a computationally "cheap" way to boost the accuracy of "expensive" neural networks.
  • Multi-Modality as a Fail-Safe: Visual detection of emergency vehicles is hard because they are rare and often obscured by weather. Sound, however, is designed to be noticed. Using an Arduino for sound and a Raspberry Pi for vision allows the system to be both robust and affordable.
  • Edge-First Design: The paper emphasizes "economic feasibility." By optimizing models to run on a Raspberry Pi 4 and Arduino Nano, they demonstrate a system that could actually be deployed at scale without requiring expensive server-grade hardware at every intersection.

Key Results

  • Emergency Vehicle Detection: The acoustic system achieved a staggering 99.4% average accuracy. The researchers found that a 5-second sliding window was the "sweet spot" for distinguishing sirens from general city clamor.
  • General Vehicle Detection: The R-YOLO approach achieved a 79.5% mean Average Precision (mAP), a significant jump from the 65.1% achieved by the authors' previous iteration (I²UTS).
  • Performance: The system runs efficiently on edge hardware, with the Raspberry Pi 4 consuming a maximum of 7.18W while running the detector alongside a monitor—well within the limits of standard IoT power supplies.

Limitations and Future Work

While the results are promising, a few areas remain for exploration:

  • Siren Silence: The acoustic system relies entirely on the siren being active. If an emergency vehicle is moving with lights only (common in some jurisdictions or at night), the system would revert to visual detection, which is less accurate.
  • Fixed Viewpoints: The current "road mask" logic assumes a fixed CCTV camera. If the camera moves or shakes (e.g., due to high winds), the mask might become misaligned, requiring a re-calibration mechanism.
  • Scaling: The paper focuses on a single intersection. Future work could look at how these distributed edge devices communicate with each other to create a "green wave" for emergency vehicles across an entire city corridor.

Summary updated

BibTeX
@inproceedings{redmon2024multi,
  author = {Joseph Redmon and Ali Farhadi and Boukhennoufa, Issam and Jindal, Anish and Singh, Amit Kumar},
  title = {{A Multi-Modal Distributed Real-Time IoT System for Urban Traffic Control (Invited Paper)}},
  booktitle = {DROPS},
  year = {2024},
  doi = {10.4230/oasics.ng-res.2024.2},
}
Figure