Trip Duration Estimation Using Selector Model

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing automated methods for generating trip duration estimates are not always accurate, as they rely on incomplete or non-existent graphs, assume specific routes, and do not account for extra travel time at intersections or road class transitions, leading to inaccurate predictions.

Innovation Solution

A computer-implemented method that combines real-time and historical trip data using machine learning to estimate trip durations by training models iteratively, incorporating recent data for real-time adjustments and historical trends, and using a selector model to determine the most accurate prediction between real-time and historical models.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional graph-based methods are used for trip duration estimation, then the estimation process is simple and fast, but the accuracy is poor due to incomplete graphs and failure to account for real-time conditions

Engineering Contradiction:
Improvetrip duration estimation accuracyVSAvoidmodel combination complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the trip duration estimation problem into multiple independent models: a historical model that captures long-term patterns, a real-time model that captures current traffic conditions, and a selector model that determines which model to use. Each model focuses on a specific aspect of trip duration prediction, improving overall accuracy while maintaining manageable complexity through division of labor.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically switches between historical and real-time models based on current conditions. The selector model evaluates whether real-time data is available and reliable, then dynamically selects the appropriate model for prediction. This dynamic approach allows the system to adapt to changing traffic conditions and data availability, improving estimation accuracy without requiring a single complex model to handle all scenarios.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If only historical trip data is used, then the model is stable and easy to train, but it cannot capture current traffic conditions and real-time variations

Engineering Contradiction:
Improveresponse to current traffic conditionsVSAvoidprediction reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The selector model acts as an intermediary between historical and real-time models. It evaluates the availability and quality of real-time data, then determines whether to use the real-time model (which adapts to current conditions) or the historical model (which provides reliable predictions when real-time data is insufficient). This intermediary layer ensures that the system adapts to current conditions while maintaining prediction reliability through fallback to proven historical patterns.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system changes the data parameters used for prediction based on current conditions. When real-time trip data is available and reliable, the system switches to using real-time parameters that reflect current traffic conditions. When real-time data is unavailable or unreliable, the system reverts to using historical parameters that provide stable, reliable predictions. This parameter switching enables the system to balance adaptability with reliability.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If real-time data is used exclusively, then current traffic conditions are captured, but the system lacks stability and may overfit to recent patterns

Engineering Contradiction:
Improveprediction reliabilityVSAvoiddata processing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the data processing into two distinct pipelines: one for historical data that provides stable, long-term patterns, and one for real-time data that captures current conditions. The selector model divides the decision-making process into separate evaluation steps: checking data availability, assessing data quality, and determining model selection. This segmentation reduces overall complexity by breaking down the complex task of balancing historical and real-time data into manageable, independent components.

Inventive Principle:
Principle #1Segmentation

4Measurement precision

If the system accounts for extra travel time at intersections and road class transitions, then prediction accuracy improves, but the computational complexity increases

Engineering Contradiction:
Improvetrip duration estimation accuracyVSAvoidcomputational time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The historical model is trained in advance on comprehensive trip data that includes detailed information about intersections, road class transitions, and other factors affecting trip duration. This preliminary training captures complex patterns and relationships that would be computationally expensive to calculate in real-time. When making predictions, the system leverages this pre-learned knowledge from the historical model, avoiding the need to recalculate these complex factors during real-time prediction, thus improving accuracy without excessive computational overhead.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10671086B2Generation of trip estimates using real-time data and historical data
Publication Date: 2020.06.02 UBER TECHNOLOGIES INC
  • US10671086B2 patent drawing
  • US10671086B2 patent drawing
  • US10671086B2 patent drawing

AI summary

A system uses machine models to estimate trip durations or distance. The system trains a historical model to estimate trip duration using characteristics of past trips. The system trains a real-time model to estimate trip duration using characteristics of recently completed trips. The historical and real-time models may use different time windows of training data to predict estimates, and may be trained to predict an adjustment to an initial trip estimate. A selector model is trained to predict whether the historical model, the real-time model, or a combination of the historical and real-time models will more accurately estimate a trip duration, given features associated with a trip duration request, and the system accordingly uses the models to estimate a trip duration. In some embodiments, the real-time model and the selector may be trained using batch machine learning techniques which allow the models to incorporate new trip data as trips complete.