[Paper Review] RioBusData: Outlier Detection in Bus Routes of Rio de Janeiro
This paper presents RioBusData, a visual analytics system that uses a Convolutional Neural Network (CNN) to automatically detect spatial and temporal outliers in real-time GPS trajectories of Rio de Janeiro's public buses. The system enables users to explore anomalous behaviors—such as buses off-route or moving too slowly—through interactive visualizations, revealing patterns like traffic jams and GPS noise with high detection accuracy surpassing traditional methods.
Buses are the primary means of public transportation in the city of Rio de Janeiro, carrying around 100 million passengers every month. Recently, real-time GPS coordinates of all operating public buses has been made publicly available - roughly 1 million GPS entries each captured each day. In an initial study, we observed that a substantial number of buses follow trajectories that do not follow the expected behavior. In this paper, we present RioBusData, a tool that helps users identify and explore, through different visualizations, the behavior of outlier trajectories. We describe how the system automatically detects these outliers using a Convolutional Neural Network (CNN) and we also discuss a series of case studies which show how RioBusData helps users better understand not only the flow and service of outlier buses but also the bus system as a whole.
Motivation & Objective
- To address the challenge of identifying anomalous bus trajectories in large-scale, real-time GPS data from Rio de Janeiro’s public bus system.
- To develop an automated outlier detection system that scales to millions of GPS entries per day, overcoming limitations of manual inspection.
- To design a visual analytics tool that supports exploration of both spatial and temporal outliers, linking detection to actionable insights.
- To improve understanding of systemic issues in public transportation, such as traffic congestion and data quality problems, through data-driven visual analysis.
- To demonstrate that CNN-based detection outperforms traditional methods like K-means and K-nearest neighbors in accuracy and performance.
Proposed method
- A Convolutional Neural Network (CNN) is trained to detect outliers by learning patterns from spatial-temporal trajectories of bus GPS data.
- The CNN classifies trajectories as outliers if they deviate from expected spatial paths or exhibit abnormal temporal behavior (e.g., excessive delays or speeds).
- Outlier detection is integrated with a multi-view interactive interface, including map views, time charts, and line-specific visualizations for exploration.
- The system supports filtering and selection across time, bus lines, and spatial regions to enable hypothesis-driven analysis of outlier patterns.
- Traditional techniques like K-means and K-nearest neighbors were evaluated and compared to CNNs to validate performance improvements.
- The CNN model is trained on labeled trajectory data, with anomaly detection based on deviations from learned normal behavior patterns.
Experimental results
Research questions
- RQ1Which bus lines exhibit the highest frequency of spatial and temporal outliers?
- RQ2How do temporal outliers correlate with traffic congestion or operational disruptions such as broken buses?
- RQ3To what extent do spatial outliers indicate GPS noise or data labeling errors?
- RQ4Can the system detect traffic jams indirectly through clusters of slow-moving or delayed buses?
- RQ5How does CNN-based detection compare in accuracy and efficiency to traditional machine learning methods like K-means and K-nearest neighbors?
Key findings
- The CNN-based approach outperformed traditional methods such as K-means and K-nearest neighbors in both detection accuracy and performance on large-scale bus trajectory data.
- Temporal outliers were frequently linked to traffic congestion, with increased outlier density observed on major avenues during peak hours, indicating traffic jams.
- Some temporal outliers corresponded to buses that remained stationary for over an hour, suggesting possible mechanical failures or GPS sensor malfunctions.
- Spatial outliers included cases where buses abruptly appeared miles away from their actual routes before returning, indicating likely GPS noise or signal drift.
- The system successfully identified patterns of incorrect route labeling, where some outliers followed the path of another bus line, raising data quality concerns.
- Interactive visualizations enabled users to correlate outlier clusters with specific days, times, and geographic zones, revealing systemic patterns in bus system performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.