Introduction
Ridesharing platforms like Uber and Didi face a massive combinatorial challenge: matching thousands of dynamic requests to vehicles to maximize efficiency. Existing solutions typically fall into two categories: fast but "greedy" online methods, or accurate but computationally expensive batch methods. A significant gap in these approaches is the failure to fully exploit the structural relationships between riders.
The core concept of StructRide is the "shareability graph," where nodes represent trip requests and edges represent feasible shared routes. If a platform matches two riders who are "easy" to share with many others, it might inadvertently leave a "difficult" rider stranded. StructRide addresses this by using graph theory to understand these relationships and make dispatch decisions that preserve the "shareability" of the remaining request pool.
The StructRide Framework
The StructRide framework is designed for high-performance ridesharing by optimizing vehicle-request matching through structure-aware scheduling.
The framework consists of three main components:
- Dynamic Shareability Graph Builder: This component constructs the graph by identifying feasible shared trips. To overcome the computational bottleneck of checking all pairs, it employs Angle Pruning, a heuristic that skips pairs of requests moving in divergent directions.
- Request Grouping: Instead of exhaustive search, StructRide uses an "additive tree" structure. It prioritizes requests based on their degree in the shareability graph, ensuring that "difficult" requests (those with fewer sharing options) are handled effectively.
- Structure-Aware Ridesharing Dispatch (SARD): The core matching algorithm uses a two-phase "proposal-acceptance" strategy. Vehicles select groups that minimize Shareability Loss, a metric calculating how much a match reduces the overall connectivity of the remaining graph.
Key Insights: Preserving Future Matching Opportunities
A central innovation of StructRide is the recognition of the "urgency" of low-degree nodes. In a shareability graph, a node with a low degree has very few potential partners. By prioritizing these requests, the system prevents them from being unserved.
Furthermore, the "Shareability Loss" metric shifts the focus from local optimization to global system health. Rather than just minimizing immediate travel costs, the algorithm evaluates how a match impacts the chances of matching remaining requests later. This is complemented by the "Angle Pruning" strategy, which demonstrates that trip vectors (source to destination) are powerful proxies for shareability in urban environments, allowing for rapid graph construction.
Experimental Evaluation
The framework was evaluated on three large-scale, real-world datasets: Chengdu (Didi), New York City (Taxi), and Cainiao (Logistics). Key findings include:
- Efficiency: SARD ran up to 72.68 times faster than state-of-the-art batch algorithms like GAS and RTV.
- Service Rate: StructRide served up to 50% more requests than traditional online insertion methods and outperformed other batch methods by 10-30% in high-demand scenarios.
- Scalability: Unlike traditional methods that struggle as vehicle capacity increases, StructRide remained stable and efficient even at higher capacities.
- Cost Reduction: The framework significantly lowered unified costs, saving up to 73% compared to baselines on the NYC dataset.
Conclusion and Future Work
StructRide demonstrates that exploiting the structural information of shareability graphs can lead to massive improvements in both efficiency and service rates for ridesharing platforms. While current pruning methods rely on Euclidean assumptions, future work could adapt these heuristics for cities with irregular geographies. Additionally, the independent nature of the vehicle "acceptance" phase makes the framework a prime candidate for parallelization using distributed engines like Apache Flink.
Summary updated