WO2020122966A1 - System and method for ride order dispatching - Google Patents

System and method for ride order dispatching Download PDF

Info

Publication number
WO2020122966A1
WO2020122966A1 PCT/US2018/068127 US2018068127W WO2020122966A1 WO 2020122966 A1 WO2020122966 A1 WO 2020122966A1 US 2018068127 W US2018068127 W US 2018068127W WO 2020122966 A1 WO2020122966 A1 WO 2020122966A1
Authority
WO
WIPO (PCT)
Prior art keywords
location
current
vehicle
nearby
available
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2018/068127
Other languages
French (fr)
Inventor
Zhiwei QIN
Fei FENG
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Didi Research America LLC
Original Assignee
Didi Research America LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Didi Research America LLC filed Critical Didi Research America LLC
Priority to CN201880100154.4A priority Critical patent/CN113287124A/en
Publication of WO2020122966A1 publication Critical patent/WO2020122966A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/3438Rendezvous; Ride sharing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/092Reinforcement learning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/01Probabilistic graphical models, e.g. probabilistic networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/202Dispatching vehicles on the basis of a location, e.g. taxi dispatching

Definitions

  • This disclosure generally relates to methods and devices for ride order dispatching.
  • a vehicle dispatch platform can automatically allocate transportation requests to corresponding vehicles for providing transportation sendees and reward the drivers.
  • Various embodiments of the present disclosure include systems, methods, and non- transitory computer readable media for ride order dispatching.
  • a computer-implemented method for ride order dispatching comprises: obtaining a current location of a current vehicle from a computing device associated with the current vehicle, obtaining a current list of available orders nearby based on the current location, feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle, and transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.
  • MDP Markov Decision Process
  • the MDP model is trained based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a training vehicle completing the historical or simulated vehicle trips.
  • the MDP model discretizes a region into repeating zones and a time period into time slots.
  • Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a list of available orders nearby represented by repeating zone indices of destinations of the available orders nearby.
  • Each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location.
  • the training vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location
  • the training vehicle repositions to the another location, the training vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next list of available orders nearby corresponding the another location. If the training vehicle stays at the location, the training vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the list of available orders nearby.
  • the location and pick-up locations of the available orders nearby are in a same repeating zone.
  • the current location and a pick-up location of the current ride order are within a same repeating zone.
  • all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the list of available orders nearby for the training vehicle.
  • all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current list of available orders nearby for the current vehicle.
  • the list of available orders nearby for the training vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location.
  • the current list of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
  • a computer-implemented method for ride order dispatching comprises: obtaining a current location of a current vehicle from a computing device associated with the current vehicle, obtaining a current number of available orders nearby in a current list based on the current location, feeding the current location, the current number of available orders nearby, and a current time to a solved Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle, and transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.
  • MDP Markov Decision Process
  • the MDP model is solved based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a hypothetical vehicle completing the historical or simulated vehicle trips.
  • the MDP model discretizes a region into repeating zones and a time period into time slots.
  • Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a number of available orders nearby in a list, the available orders nearby represented by repeating zone indices of destinations of the available orders nearby.
  • Each action of the MDP model comprises:
  • the hypothetical vehicle completes one of the av ailable orders nearby from the list, the hypothetical vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next number of available orders nearby in a next list corresponding the next location.
  • the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next number of av ailable orders nearby in a next list corresponding the another location. If the hypothetical vehicle stays at the location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the number of available orders nearby in the list.
  • the location and pick-up locations of the available orders nearby are in a same repeating zone.
  • the current location and a pick-up location of the current ride order are within a same repeating zone.
  • all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the number of available orders nearby for the hypothetical vehicle.
  • all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current number of available orders nearby for the current vehicle.
  • the number of available orders nearby for the hypothetical vehicle is a ceiling function of a division of the all orders with pick up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location.
  • the current number of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
  • solving the MDP model comprises solving the MDP model based on applying acceleration and variance reduction algorithms to tabular implementation.
  • solving the MDP model based on the plurality of historical or simulated vehicle trips comprises : obtaining data for each of the historical vehicle trips, the data comprising: a historical pick-up time, a historical pick-up location, a historical drop-off time, and a historical drop-off location, training a random forest classifier with the historical pick-up time, the historical pick-up location, and the historical drop-off location as training data and with the historical drop-off time minus the historical pick-up time as label to build a cruise time estimator, the cruise time estimator estimating a time to reach a destination based on the time, the location, and the destination of the one available order nearby, or based on the time, the location, and the anther location, and applying the cruise time estimator in each state transition to determine the next time corresponding to completion of the one available order nearby or to determine the next time corresponding to reaching the
  • a system for ride order dispatching may comprise a processor and a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the system to perform a method for ride order dispatching, which may be any method described herein.
  • FIG. I illustrates an exemplary environment for ride order dispatching, in accordance with various embodiments.
  • FIG. 2 illustrates an exemplary system for program security protection, in accordance with various embodiments.
  • FIG. 3 A illustrates an exemplary action search for ride order dispatching for model 1, in accordance with various embodiments.
  • FIG. 3B illustrates an exemplary action search for ride order dispatching for model 2, in accordance with various embodiments.
  • FIG. 4A illustrates a flowchart of an exemplary method for program security protection, in accordance with various embodiments.
  • FIG. 4B illustrates a flowchart of another exemplary method for program security protection, in accordance with various embodiments.
  • FIG. 5 illustrates a block diagram of an exemplary computer system in which any of the embodiments described herein may be implemented.
  • Vehicle platforms may be provided for transportation services. Such vehicle platform may also be referred to as a vehicle hailing or vehicle dispatching platform, accessible through devices such as mobile phones installed with a platform application. Via the application, users (ride requestors) can transmit transportation requests (e.g., a pick-up location, a destination, a current location of the user) to the vehicle platform. The vehicle platform may relay the requests to vehicle drivers based on various factors (e.g., proximity to the location of the requestor or the pick-up location). The vehicle drivers can choose from the requests, and each can pick one to accept, fulfill the request, and be rewarded accordingly.
  • transportation requests e.g., a pick-up location, a destination, a current location of the user
  • the vehicle platform may relay the requests to vehicle drivers based on various factors (e.g., proximity to the location of the requestor or the pick-up location).
  • the vehicle drivers can choose from the requests, and each can pick one to accept, fulfill the request, and be rewarded accordingly.
  • the vehicle driver may search for more requests or receive more requests from a push-based dispatching platform, and the results may vary depending on the demand for the vehicle sendee. For example, the results may return many requests if the vehicle is at a bar area on a weekend night, or may return no request if the vehicle is at a far-flung trip on a weekday evening.
  • MDP Markov Decision Process
  • the disclosed models may consider competition and leam a smart strategy that can instruct the target driver how to cruise so as to maximize his/her long-term revenue.
  • This strategy can be referred to as an instruction system.
  • the first model (model 1) reflects the reality in a very detailed and accurate way, and the strategy trained from it is also closer to the real-life and can be deployed directly. However, the model's size may be large, which makes applying tabular implementation impossible. Therefore, model 1 may be solved by an algorithm involving neural network to find a strategy.
  • the second model (model 2) is a simplified version of the first model and has a much smaller size. As a trade-off, the second model is less accurate than the first model but makes tabular implementation possible.
  • the second model may be solved with a novel stochastic formulation. The advantage of such formulation is allowing applications optimization algorithms to the model. With acceleration and variance reduction, a solution to the second model can be found with better quality in a shorter time.
  • FIG. 1 illustrates an exemplary environment 100 for dispatching ride order, in accordance with various embodiments. As shown in FIG.
  • the exemplary environment 100 can comprise at least one computing system 102 that includes one or more processors 104 and memory 106.
  • the memory 106 may be non-transitory and computer-readable.
  • the memory 106 may store instructions that, when executed by the one or more processors 104, cause the one or more processors 104 to perform various operations described herein.
  • the system 102 may be implemented on or as devices such as mobile phone, tablet, server, computer, wearable device, etc.
  • the system 102 above may be installed with a software (e.g., platform program) and/or hardware (e.g., wires, wireless connections) to access other devices of the environment 100.
  • the environment 100 may include one or more data stores (e.g., a data store 108) and one or more computing devices (e.g., a computing device 109) that are accessible to the system 102.
  • the system 102 may be configured to obtain data (e.g., first training data and second training data such as location, time, and fees for historical vehicle transportation trips) from the data store 108 (e.g., a database or dataset of historical transportation trips) and/or the computing device 109 (e.g., a computer, a server, a mobile phone used by a driver or passenger that captures transportation trip information such as time, location, and fees).
  • the system 102 may use the obtained data to train the algorithm for ride order dispatching.
  • the location may comprise GPS (Global Positioning System) coordinates of a vehicle.
  • the environment 100 may further include one or more computing devices (e.g., computing devices 1 10 and 11 1) coupled to the system 102.
  • the computing devices 110 and 11 1 may comprise cellphone, tablet, computer, wearable device, etc.
  • the computing devices 110 and 111 may transmit or receive data to or from the system 102.
  • the system 102 may implement an online information or sendee platform.
  • the sendee may be associated with vehicles (e.g., cars, bikes, boats, airplanes, etc.), and the platform may be referred to as a vehicle (sendee hailing or ride order dispatching) platform.
  • the platform may accept requests for transportation, identify vehicles to fiilfill the requests, arrange for pick-ups, and process transactions.
  • a user may use the computing device 110 (e.g., a mobile phone installed with a software application associated with the platform) to request transportation from the platform.
  • the system 102 may receive the request and relay it to various vehicle drivers (e.g., by posting the request to mobile phones carried by the drivers).
  • a vehicle driver may use the computing device 111 (e.g., another mobile phone installed with the application associated with the platform) to accept the posted transportation request and obtain pick-up location information.
  • Fees e.g., transportation fees
  • Some platform data may be stored in the memory 106 or retrievable from the data store 108 and/or the computing devices 109, 110, and 111. For example, for each trip, the location of the origin and destination (e.g., transmitted by the computing device 111), the fee, and the time can be obtained by the system 102.
  • the system 102 and the one or more of the computing devices may be integrated in a single device or system.
  • the system 102 and the one or more computing devices may operate as separate devices.
  • the data store(s) may be anywhere accessible to the system 102, for example, in the memory 106, in the computing device 109, in another device (e.g., network storage device) coupled to the system 102, or another storage location (e.g., cloud-based storage system, network file system, etc.), etc.
  • the system 102 and the computing device 109 are shown as single components in this figure, it is appreciated that the system 102 and the computing device 109 can be implemented as single devices or multiple dev ices coupled together.
  • the system 102 may be implemented as a single system or multiple systems coupled to each other.
  • the system 102, computing device 109, data store 108, and computing device 110 and 1 11 may be able to communicate with one another through one or more wired or wireless networks (e.g., the Internet) through which data can be communicated.
  • wired or wireless networks e.g., the Internet
  • FIG. 2 illustrates an exemplary system 200 for dispatching ride order, in accordance with various embodiments.
  • the system 102 may obtain data 202 (e.g., historical or simulated vehicle trips) from the data store 108 and/or the computing device 109.
  • the obtained data 202 may be stored in the memory 106.
  • the system 102 may train an algorithm with the obtained data 202 to learn a model (e.g., model 1) for dispatching ride order, or solve a model (e.g., model 2) for dispatching ride order.
  • the system 102 may obtain a current location of a current vehicle.
  • the computing device 111 may transmit a query 204 to the system 102.
  • the query comprising a Global Positioning System (GPS) location of the current vehicle.
  • the computing device 111 may be associated with a driver of a service vehicle including, for example, taxi, service-hailing vehicle, etc.
  • the system 102 may perform various steps with the comprised information, apply the model, and send data 207 to the computing device 111 or one or more other devices.
  • the system 102 may obtain a current list of available orders nearby based on the current location, and apply any disclosed model with inputs such as the current location, the current time, and the available orders nearby.
  • the data 207 may comprise an instruction or recommendation for an action, such as re-positioning to another location, accepting a new ride order, etc.
  • the driver may accept the instruction to accept an order or reposition, or refuse and remain at the same position.
  • the rider order dispatching problem can be approached by Reinforcement learning (RL).
  • RL is a type of machine learning, which emphasizes on learning through interacting with the environment.
  • an RL agent repeatedly observes the current state of the environment, takes an action according to certain policy, gets an immediate reward and transits to a next state. Through trial- and-error, the agent aims to learn a best policy under which the expected cumulative reward can be maximized.
  • the RL for ride order dispatching may be modeled as a
  • MDP Markov decision process
  • DMDP infinite- horizon discounted Markov Decision Problem
  • An instance of the DMDP contains a finite space of states a finite space of actions A, a collection of state-to-state transition probabilities which is unknown; a collection of state-transitional rewards the discounted factor A stationary and randomized policy is then defined as a map
  • the objective of DMDP is to maximize the expected cumulative reward regardless of the initial state
  • the agent is the system.
  • the system observes the state of the target driver, then provides an instruction for him/her to cruise.
  • the instruction can be an order request, then the driver will finish the order and end lip at the drop-off location.
  • the instruction can be a re-positioning suggestion (without an order), then the driver can accept or decline such instruction.
  • the MDP model may be defined as follows.
  • the activity area of the target driver may be discretized into a plurality of repeating zones (e.g., a group of hex-cells as shown in FIG. 3A) and twenty-four hours into a list of time slot, e.g.. ten minutes per slot.
  • a group of hex-cells as shown in FIG. 3A
  • time slot e.g.. ten minutes per slot.
  • all orders need to be taken as soon as possible and the hypothetical driver only takes orders having pick-up locations in the same hex-cell as the driver.
  • the former assumption ignores the situation when the order is requested to depart in an hour or so, and the latter assumption is a natural outcome of the former.
  • a driver can not always take any order he wants.
  • each state may contain the following information:
  • the driver's current location e.g., hex-cell index
  • S aon the available orders nearby (e.g. a list of hex-cell indices representing the destinations of the orders).
  • Each action is to transit to a next hex-cell of a different location h' (as shown in FIG. 3A).
  • the arrow shown in FIG. 3A represents a transition from one state to another by an action.
  • the arrow’s origin is the target driver with state (t, h, S aon ⁇ .
  • the action is to transit to the hex-cell h', for example, by taking an order or by repositioning.
  • next state and the reward depend on the scenarios.
  • the next state s' and the reward r are then:
  • the MDP of model 1 ean be trained online with real-time data (e.g., historical trip data) or through a simulator (e.g., simulated trip data) with the inputs being a state and an action and the outputs being a next state and a reward.
  • a neural network such as DQN (deep neural network) can be applied, and the model 1 can be solved by data training and machine learning
  • model 2 In some embodiments with respect to the second model (model 2). a simplified model ean be obtained and applied with the amount of state data is not large. First, the states and actions of the second model are described. In model 2, the basic settings are the same as model 1, except that each state contains the following information:
  • Each action is still to transit to a next cell h' (as shown in FIG. 3B).
  • the arrow shown in FIG. 3B represents a transition from one state to another by an action.
  • the arrow ' s origin is the target driver with state The action is to transit to the
  • hex-cell hi for example, by taking an order or by repositioning.
  • the action is a re-positioning suggestion, and the driver accepts it;
  • the action is a re-positioning suggestion and the driver rejects it.
  • Model 2 can also be solved using a neuron network.
  • model 2 can be solved by applying acceleration and variance reduction algorithms on tabular
  • stochastic formulation can be first implemented. Given a DMDP instance (S, A, P. r, 7) and a policy 7G, the value vector n p € R i5i is defined as:
  • the optimal value vector is defined as:
  • the optimal value vector is the rninimizer of the following linear programming:
  • any stationary randomized policy can form a feasible point. Indeed, there exists a Injection between the feasible set and the stationary randomized policy space.
  • [55] is the probability of tuple (i. a. j) being selected with
  • the first algorithm used for solving problem (4) is
  • ASCGD Accelerated Stochastic Composition Gradient Descent
  • the first algorithm ASC-RL Accelerate Stochastic Composition algorithm for Reinforcement Learning
  • Algorithm 1 is based on ASCGD.
  • the second algorithm used for solving problem (4) is Stochastic Accelerated GradiEnt (SAGE). This algorithm is targeted to problems like:
  • the third algorithm used for solving problem (4) is
  • Katyusha-Xw developed.
  • Katyusha solves problems whose objective function is the sum of a group of functions with the sum being convex:
  • the fourth algorithm used for solving problem (4) is Prox-SVRG. This algorithm considers problems as:
  • a Sample Oracle (e.g., database) from a dataset.
  • the SO is supposed to take a state-action pair (s, a) as input, then produces a state-reward pair as output, where s' represents a next state starting from s with action a and
  • s' represents a next state starting from s with action a
  • each instance contains: order ID, driver ID, pick-up time, pick-up latitude, pick-up longitude, drop-off time, drop-off latitude, drop-off longitude. All time and locations may be simplified to discretized time indices and hex-cell indices. Then, the following information can be obtained by respective methods:
  • the data is pick-up time and the Euclidean distance (or /1-norm) between the latitudes- longitudes of centers of h and h! .
  • the label is drop-off time minus pick-up time.
  • FIG. 4A illustrates a flowchart of an exemplary method 400, according to various embodiments of the present disclosure.
  • the method 400 may be implemented in various environments including, for example, the environment 100 of FIG. 1.
  • the exemplary method 400 may be implemented by one or more components of the system 102 (e.g., the processor 104, the memory 106).
  • the exemplary method 400 may be implemented by multiple systems similar to the system 102.
  • the operations of method 400 presented below are intended to be illustrative. Depending on the implementation, the exemplary method 400 may include additional, fewer, or alternative steps performed in various orders or in parallel.
  • the model in this figure may be referred to model 1 and related descriptions above. Model 1 may be solved by a neural network (e.g., DQN) with machine learning techniques.
  • a neural network e.g., DQN
  • Block 402 comprises obtaining a current location of a current vehicle from a computing device associated with the current vehicle.
  • Block 403 comprises obtaining a current list of available orders nearby based on the current location.
  • Block 404 comprises feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle.
  • Block 405 comprises transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.
  • MDP Markov Decision Process
  • the MDP model is trained based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a training vehicle completing the historical or simulated vehicle trips.
  • the MDP model discretizes a region into repeating zones and a time period into time slots.
  • Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a list of available orders nearby represented by repeating zone indices of destinations of the available orders nearby.
  • Each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location.
  • the training vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next list of available orders nearby corresponding the next location. If the training vehicle repositions to the another location, the training vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next list of available orders nearby corresponding the another location. If the training vehicle stays at the location, the training vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the list of available orders nearby.
  • the location and pick-up locations of the available orders nearby are in a same repeating zone.
  • the current location and a pick-up location of the current ride order are within a same repeating zone.
  • all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the list of available orders nearby for the training vehicle.
  • all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current list of available orders nearby for the current vehicle.
  • the list of available orders nearby for the training vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location.
  • the list may comprise five available orders nearby.
  • the current list of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
  • the list may comprise five available orders nearby.
  • FIG. 4B illustrates a flowchart of an exemplary method 410, according to various embodiments of the present disclosure.
  • the method 410 may be implemented in various environments including, for example, the environment. 100 of FIG. 1.
  • the exemplary method 410 may be implemented by one or more components of the system 102 (e.g., the processor 104, the memory 106).
  • the exemplary method 410 may be implemented by multiple systems similar to the system 102.
  • the operations of method 410 presented below are intended to be illustrative. Depending on the implementation, the exemplary method 410 may include additional, fewer, or alternative steps performed in various orders or in parallel.
  • the model in this figure may be referred to model 2 and related descriptions above.
  • Model 2 may be solved by a neural network with machine learning technique or by applying acceleration and variance reduction algorithms described earlier. That is, solving the MDP model below may comprise solving the MDP model based on applying acceleration and variance reduction algorithms to tabular implementation.
  • Block 412 comprises obtaining a current location of a current vehicle from a computing device associated with the current vehicle.
  • Block 413 comprises obtaining a current number of available orders nearby in a current list based on the current location.
  • Block 414 comprises feeding the current location, the current number of available orders nearby, and a current time to a solved Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle.
  • Block 415 comprises transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.
  • MDP Markov Decision Process
  • the MDP model is solved based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a hypothetical vehicle completing the historical or simulated vehicle trips.
  • the MDP model discretizes a region into repeating zones and a time period into time slots.
  • Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a number of available orders nearby in a list, the available orders nearby represented by repeating zone indices of destinations of the available orders nearby.
  • Each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location.
  • the hypothetical vehicle completes one of the available orders nearby from the list, the hypothetical vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next number of available orders nearby in a next list corresponding the next location.
  • the hypothetical vehicle repositions to the another location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next number of available orders nearby in a next list corresponding the another location.
  • the hypothetical vehicle stays at the location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the number of available orders nearby in the list.
  • the location and pick-up locations of the available orders nearby are in a same repeating zone.
  • the current location and a pick-up location of the current ride order are within a same repeating zone.
  • all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the number of available orders nearby for the hypothetical vehicle.
  • all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current number of available orders nearby for the current vehicle.
  • the number of available orders nearby for the hypothetical vehicle is a ceiling function of a division of the all orders with pick up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location.
  • the number of available orders nearby may be five.
  • the current number of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
  • the number of available orders nearby may be five.
  • solving the MDP model based on the plurality of historical or simulated vehicle trips comprises: obtaining data for each of the historical vehicle trips, the data comprising: a historical pick-up time, a historical pick-up location, a historical drop-off time, and a historical drop-off location, training a random forest classifier with the historical pick-up time, the historical pick-up location, and the historical drop-off location as training data and with the historical drop-off time minus the historical pick-up time as label to build a cruise time estimator, the cruise time estimator estimating a time to reach a destination based on the time, the location, and the destination of the one available order nearby, or based on the time, the location, and the anther location, and applying the cruise time estimator in each state transition to determine the next time corresponding to completion of the one available order nearby or to determine the next time corresponding to reaching the another location.
  • the techniques described herein are implemented by one or more special-purpose computing devices.
  • the special-purpose computing devices may be desktop computer systems, server computer systems, portable computer systems, handheld devices, networking devices or any other device or combination of devices that incorporate hard-wired and/or program logic to implement the techniques.
  • Computing device(s) are generally controlled and coordinated by operating system software.
  • Conventional operating systems control and schedule computer processes for execution, perform memory management, provide file system, networking, I/O sendees, and provide a user interface functionality, such as a graphical user interface (“GUI”), among other things.
  • GUI graphical user interface
  • FIG. 5 is a block diagram that illustrates a computer system 500 upon which any of the embodiments described herein may be implemented.
  • the system 500 may correspond to the system 102 or 103 described above.
  • the computer system 500 includes a bus 502 or other communication mechanism for communicating information, one or more hardware processors 504 coupled with bus 502 for processing information.
  • Hardware processor(s) 504 may be, for example, one or more general purpose microprocessors.
  • the processors) 504 may correspond to the processor 104 described above.
  • the computer system 500 also includes a main memory 506, such as a random access memory (RAM), cache and/or other dynamic storage devices, coupled to bus 502 for storing information and instructions to be executed by processor 504.
  • Main memory 506 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 504. Such instructions, when stored in storage media accessible to processor 504, render computer system 500 into a special-purpose machine that is customized to perform the operations specified in the instructions.
  • the computer system 500 further includes a read only memory (ROM) 508 or other static storage device coupled to bus 502 for storing static information and instructions for processor 504.
  • ROM read only memory
  • a storage device 510 such as a magnetic disk, optical disk, or USB thumb drive (Flash drive), etc., is provided and coupled to bus 502 for storing information and instructions.
  • the main memory 506, the ROM 508, and/or the storage 510 may correspond to the memory 106 described above.
  • the computer system 500 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 500 to be a special-purpose machine. According to one embodiment, the operations, methods, and processes described herein are performed by computer system 500 in response to processor(s) 504 executing one or more sequences of one or more instructions contained in main memory 506. Such instructions may be read into main memory 506 from another storage medium, such as storage device 510. Execution of the sequences of instructions contained in main memory 506 causes processor(s) 504 to perform the process steps described herein. In alternative,
  • hard-wired circuitry may be used in place of or in combination with software instructions.
  • the main memory 506, the ROM 508, and/or the storage 510 may include non- transitory storage media.
  • non-transitory media refers to a media that store data and/or instructions that cause a machine to operate in a specific fashion, the media excludes transitory signals.
  • Such non-transitory media may comprise non volatile media and/or volatile media.
  • Non-volatile media includes, for example, optical or magnetic disks, such as storage device 510.
  • Volatile media includes dynamic memory, such as main memory 506.
  • non-transitory media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge, and networked versions of the same.
  • the computer system 500 also includes a network interface 518 coupled to bus 502.
  • Network interface 518 provides a two-way data communication coupling to one or more network links that are connected to one or more local networks.
  • network interface 518 may be an integrated sendees digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line.
  • ISDN integrated sendees digital network
  • network interface 518 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN (or WAN component to communicated with a WAN). Wireless links may also be implemented.
  • network interface 518 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
  • the computer system 500 can send messages and receive data, including program code, through the network(s), network link and network interface 518.
  • a server might transmit a requested code for an application program through the Internet, the ISP, the local network and the network interface 518.
  • the received code may be executed by processor 504 as it is received, and/or stored in storage device 510, or other non-volatile storage for later execution.
  • the various operations of exemplary methods described herein may be performed, at least partially, by an algorithm.
  • the algorithm may be comprised in program codes or instructions stored in a memory (e.g., a non-transitory computer-readable storage medium described above).
  • Such algorithm may comprise a machine learning algorithm.
  • a machine learning algorithm may not explicitly program computers to perform a function, but can learn from training data to make a predictions model that performs the function.
  • the various operations of exemplary methods described herein may be performed, at least partially, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or pennanently configured, such processors may constitute processor-implemented engines that operate to perform one or more operations or functions described herein.
  • the methods described herein may be at least partially processor- implemented, with a particular processor or processors being an example of hardware.
  • a particular processor or processors being an example of hardware.
  • the operations of a method may be performed by one or more processors or processor-implemented engines.
  • the one or more processors may also operate to support performance of the relevant operations in a“cloud computing” environment or as a“software as a service” (SaaS).
  • SaaS software as a service
  • at least some of the operations may be performed by a group of computers (as examples of machines including processors), with these operations being accessible via a network (e.g., the Internet) and via one or more appropriate interfaces (e.g., an Application Program Interface (API)).
  • API Application Program Interface
  • processors or processor-implemented engines may be located in a single geographic location (e.g., within a home environment, an office environment, or a server farm) hi other exemplary embodiments, the processors or processor-implemented engines may be distributed across a number of geographic locations.
  • the term“or” may be construed in either an inclusive or exclusive sense. Moreover, plural instances may be provided for resources, operations, or structures described herein as a single instance. Additionally, boundaries between various resources, operations, engines, and data stores are somewhat arbitrary, and particular operations are illustrated in a context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within a scope of various embodiments of the present disclosure. In general, structures and functionality presented as separate resources in the exemplary
  • configurations may be implemented as a combined structure or resource.
  • structures and functionality presented as a single resource may be implemented as separate resources.
  • Conditional language such as, among others,“can,”“could,”“might,” or“may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Tlius, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more
  • embodiments or that one or more embodiments necessarily include logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Game Theory and Decision Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Algebra (AREA)
  • Mathematical Optimization (AREA)
  • Probability & Statistics with Applications (AREA)
  • Pure & Applied Mathematics (AREA)
  • Primary Health Care (AREA)
  • Automation & Control Theory (AREA)

Abstract

A method for ride order dispatching comprises: obtaining a current location of a current vehicle from a computing device associated with the current vehicle; obtaining a current list of available orders nearby based on the current location; feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle; and transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.

Description

SYSTEM AND METHOD FOR RIDE ORDER DISPATCHING
TECHNICAL FIELD
[1] This disclosure generally relates to methods and devices for ride order dispatching.
BACKGROUND
[2] A vehicle dispatch platform can automatically allocate transportation requests to corresponding vehicles for providing transportation sendees and reward the drivers. However, it has been challenging to determine a ride order dispatching method that maximizes the gain for each vehicle driver.
SUMMARY
[3] Various embodiments of the present disclosure include systems, methods, and non- transitory computer readable media for ride order dispatching.
[4] According to one aspect, a computer-implemented method for ride order dispatching comprises: obtaining a current location of a current vehicle from a computing device associated with the current vehicle, obtaining a current list of available orders nearby based on the current location, feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle, and transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.
[5] The MDP model is trained based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a training vehicle completing the historical or simulated vehicle trips. The MDP model discretizes a region into repeating zones and a time period into time slots. Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a list of available orders nearby represented by repeating zone indices of destinations of the available orders nearby. Each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location. If the training vehicle completes one of the available orders nearby from the list, the training vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location
corresponding a destination of the one available order nearby, and a next list of available orders nearby corresponding the next location. If the training vehicle repositions to the another location, the training vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next list of available orders nearby corresponding the another location. If the training vehicle stays at the location, the training vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the list of available orders nearby.
[6] In some embodiments, for training the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone. For application of the trained MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
[7] hi some embodiments, for training the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the list of available orders nearby for the training vehicle. For application of the trained MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current list of available orders nearby for the current vehicle.
[8] In some embodiments, for training the MDP model, the list of available orders nearby for the training vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location. For application of the trained MDP model, the current list of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
[9] According to another aspect, a computer-implemented method for ride order dispatching comprises: obtaining a current location of a current vehicle from a computing device associated with the current vehicle, obtaining a current number of available orders nearby in a current list based on the current location, feeding the current location, the current number of available orders nearby, and a current time to a solved Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle, and transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order.
[10] The MDP model is solved based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a hypothetical vehicle completing the historical or simulated vehicle trips. The MDP model discretizes a region into repeating zones and a time period into time slots. Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a number of available orders nearby in a list, the available orders nearby represented by repeating zone indices of destinations of the available orders nearby. Each action of the MDP model comprises:
completing one of the available orders nearby from the list, repositioning to another location, or staying at the location. If the hypothetical vehicle completes one of the av ailable orders nearby from the list, the hypothetical vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next number of available orders nearby in a next list corresponding the next location. If the hypothetical vehicle repositions to the another location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next number of av ailable orders nearby in a next list corresponding the another location. If the hypothetical vehicle stays at the location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the number of available orders nearby in the list.
[11] In some embodiments, for solving the 3VIDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone. For application of the solved MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
[12] In some embodiments, for solving the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the number of available orders nearby for the hypothetical vehicle. For application of the solved MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current number of available orders nearby for the current vehicle.
[13] hi some embodiments, for solving the MDP model, the number of available orders nearby for the hypothetical vehicle is a ceiling function of a division of the all orders with pick up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location. For application of the solved MDP model, the current number of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
[14] hi some embodiments, solving the MDP model comprises solving the MDP model based on applying acceleration and variance reduction algorithms to tabular implementation. In some embodiments, solving the MDP model based on the plurality of historical or simulated vehicle trips comprises : obtaining data for each of the historical vehicle trips, the data comprising: a historical pick-up time, a historical pick-up location, a historical drop-off time, and a historical drop-off location, training a random forest classifier with the historical pick-up time, the historical pick-up location, and the historical drop-off location as training data and with the historical drop-off time minus the historical pick-up time as label to build a cruise time estimator, the cruise time estimator estimating a time to reach a destination based on the time, the location, and the destination of the one available order nearby, or based on the time, the location, and the anther location, and applying the cruise time estimator in each state transition to determine the next time corresponding to completion of the one available order nearby or to determine the next time corresponding to reaching the another location.
[15] According to another aspect, a system for ride order dispatching may comprise a processor and a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the system to perform a method for ride order dispatching, which may be any method described herein.
[16] These and other features of the systems, methods, and non-transitory computer readable media disclosed herein, as well as the methods of operation and functions of the related elements of structure and the combination of parts and economies of manufacture, will become more apparent upon consideration of the following description and the appended claims with reference to the accompanying drawings, all of which form a part of this specification, wherein like reference numerals designate corresponding parts in the various figures. It is to be expressly understood, however, that the drawings are for purposes of illustration and description only and are not intended as a definition of the limits of the invention.
BRIEF DESCRIPTION OF THE DRAWINGS
[17] Certain features of various embodiments of the present technology are set forth with particularity in the appended claims. A better understanding of the features and advantages of the technology will be obtained by reference to the following detailed description that sets forth illustrative embodiments, in which the principles of the invention are utilized, and the accompanying drawings of which:
[18] FIG. I illustrates an exemplary environment for ride order dispatching, in accordance with various embodiments.
[19] FIG. 2 illustrates an exemplary system for program security protection, in accordance with various embodiments. [20] FIG. 3 A illustrates an exemplary action search for ride order dispatching for model 1, in accordance with various embodiments.
[21] FIG. 3B illustrates an exemplary action search for ride order dispatching for model 2, in accordance with various embodiments.
[22] FIG. 4A illustrates a flowchart of an exemplary method for program security protection, in accordance with various embodiments.
[23] FIG. 4B illustrates a flowchart of another exemplary method for program security protection, in accordance with various embodiments.
[24] FIG. 5 illustrates a block diagram of an exemplary computer system in which any of the embodiments described herein may be implemented.
DETAILED DESCRIPTION
[25] Vehicle platforms may be provided for transportation services. Such vehicle platform may also be referred to as a vehicle hailing or vehicle dispatching platform, accessible through devices such as mobile phones installed with a platform application. Via the application, users (ride requestors) can transmit transportation requests (e.g., a pick-up location, a destination, a current location of the user) to the vehicle platform. The vehicle platform may relay the requests to vehicle drivers based on various factors (e.g., proximity to the location of the requestor or the pick-up location). The vehicle drivers can choose from the requests, and each can pick one to accept, fulfill the request, and be rewarded accordingly. After each trip, the vehicle driver may search for more requests or receive more requests from a push-based dispatching platform, and the results may vary depending on the demand for the vehicle sendee. For example, the results may return many requests if the vehicle is at a bar area on a weekend night, or may return no request if the vehicle is at a far-flung trip on a weekday evening.
[26] To maximize the gain for the vehicle drivers (e.g., during a day), it is important for the vehicle platform to help them make the smartest decisions, for example suggesting the driver to re-position or accept a trip when displaying the results. Such problem can be naturally formulated as a Markov Decision Process (MDP). The MDP models can be roughly classified into single-driver or multi-driver. In single-driver models, there is a target driver, and the objective is to maximize his/her long-term revenue; in multi-driver models, there can be more than one driver, and tire objective is to maximize tire sum of their revenues. This disclosure focuses on the former. Existing single-driver models ignore the existence of competitors (other drivers) and always assume that a driver can get the best order. This assumption is far from the reality and usually cannot be deployed directly.
[27] To at least mitigate the deficiencies of current models, two novel MDP models are disclosed. The disclosed models may consider competition and leam a smart strategy that can instruct the target driver how to cruise so as to maximize his/her long-term revenue. This strategy can be referred to as an instruction system. The first model (model 1) reflects the reality in a very detailed and accurate way, and the strategy trained from it is also closer to the real-life and can be deployed directly. However, the model's size may be large, which makes applying tabular implementation impossible. Therefore, model 1 may be solved by an algorithm involving neural network to find a strategy. The second model (model 2) is a simplified version of the first model and has a much smaller size. As a trade-off, the second model is less accurate than the first model but makes tabular implementation possible. The second model may be solved with a novel stochastic formulation. The advantage of such formulation is allowing applications optimization algorithms to the model. With acceleration and variance reduction, a solution to the second model can be found with better quality in a shorter time.
[28] The disclosed systems and methods utilize the two disclosed models to obtain an optimal strategy that surpasses human decisions (decisions made by drivers of whether to reposition or take an order) and other models in terms of reward maximization. Therefore, the disclosed systems and methods improve the computer functionality by (1) providing such strategy to drivers in real time, allowing the drivers to maximize their earnings without reliance on personal experiences, and (2) allowing the vehicle platform to automatically dispatch vehicles, enhancing the functionality and user experience of the software platform. The disclosed system may deploy the first model in all types of areas, and may deploy the second model in rural areas where the model size is reduced with less data of the states. [29] FIG. 1 illustrates an exemplary environment 100 for dispatching ride order, in accordance with various embodiments. As shown in FIG. 1, the exemplary environment 100 can comprise at least one computing system 102 that includes one or more processors 104 and memory 106. The memory 106 may be non-transitory and computer-readable. The memory 106 may store instructions that, when executed by the one or more processors 104, cause the one or more processors 104 to perform various operations described herein. The system 102 may be implemented on or as devices such as mobile phone, tablet, server, computer, wearable device, etc. The system 102 above may be installed with a software (e.g., platform program) and/or hardware (e.g., wires, wireless connections) to access other devices of the environment 100.
[30] The environment 100 may include one or more data stores (e.g., a data store 108) and one or more computing devices (e.g., a computing device 109) that are accessible to the system 102. hi some embodiments, the system 102 may be configured to obtain data (e.g., first training data and second training data such as location, time, and fees for historical vehicle transportation trips) from the data store 108 (e.g., a database or dataset of historical transportation trips) and/or the computing device 109 (e.g., a computer, a server, a mobile phone used by a driver or passenger that captures transportation trip information such as time, location, and fees). The system 102 may use the obtained data to train the algorithm for ride order dispatching. The location may comprise GPS (Global Positioning System) coordinates of a vehicle.
[31] The environment 100 may further include one or more computing devices (e.g., computing devices 1 10 and 11 1) coupled to the system 102. The computing devices 110 and 11 1 may comprise cellphone, tablet, computer, wearable device, etc. The computing devices 110 and 111 may transmit or receive data to or from the system 102.
[32] In some embodiments, the system 102 may implement an online information or sendee platform. The sendee may be associated with vehicles (e.g., cars, bikes, boats, airplanes, etc.), and the platform may be referred to as a vehicle (sendee hailing or ride order dispatching) platform. The platform may accept requests for transportation, identify vehicles to fiilfill the requests, arrange for pick-ups, and process transactions. For example, a user may use the computing device 110 (e.g., a mobile phone installed with a software application associated with the platform) to request transportation from the platform. The system 102 may receive the request and relay it to various vehicle drivers (e.g., by posting the request to mobile phones carried by the drivers). A vehicle driver may use the computing device 111 (e.g., another mobile phone installed with the application associated with the platform) to accept the posted transportation request and obtain pick-up location information. Fees (e.g., transportation fees) can be transacted among the system 102 and the computing devices 110 and 111. Some platform data may be stored in the memory 106 or retrievable from the data store 108 and/or the computing devices 109, 110, and 111. For example, for each trip, the location of the origin and destination (e.g., transmitted by the computing device 111), the fee, and the time can be obtained by the system 102.
[33] In some embodiments, the system 102 and the one or more of the computing devices (e.g., the computing device 109) may be integrated in a single device or system. Alternatively, the system 102 and the one or more computing devices may operate as separate devices. The data store(s) may be anywhere accessible to the system 102, for example, in the memory 106, in the computing device 109, in another device (e.g., network storage device) coupled to the system 102, or another storage location (e.g., cloud-based storage system, network file system, etc.), etc. Although the system 102 and the computing device 109 are shown as single components in this figure, it is appreciated that the system 102 and the computing device 109 can be implemented as single devices or multiple dev ices coupled together. The system 102 may be implemented as a single system or multiple systems coupled to each other. The system 102, computing device 109, data store 108, and computing device 110 and 1 11 may be able to communicate with one another through one or more wired or wireless networks (e.g., the Internet) through which data can be communicated. Various aspects of the env ironment 100 are described below in reference to FIG. 2 to FIG. 5.
[34] FIG. 2 illustrates an exemplary system 200 for dispatching ride order, in accordance with various embodiments. The operations shown in FIG. 2 and presented below are intended to be illustrative. In various embodiments, the system 102 may obtain data 202 (e.g., historical or simulated vehicle trips) from the data store 108 and/or the computing device 109. The obtained data 202 may be stored in the memory 106. The system 102 may train an algorithm with the obtained data 202 to learn a model (e.g., model 1) for dispatching ride order, or solve a model (e.g., model 2) for dispatching ride order. For deployment, the system 102 may obtain a current location of a current vehicle. For example, the computing device 111 may transmit a query 204 to the system 102. the query comprising a Global Positioning System (GPS) location of the current vehicle. The computing device 111 may be associated with a driver of a service vehicle including, for example, taxi, service-hailing vehicle, etc. Accordingly, the system 102 may perform various steps with the comprised information, apply the model, and send data 207 to the computing device 111 or one or more other devices. For example, the system 102 may obtain a current list of available orders nearby based on the current location, and apply any disclosed model with inputs such as the current location, the current time, and the available orders nearby. The data 207 may comprise an instruction or recommendation for an action, such as re-positioning to another location, accepting a new ride order, etc. The driver may accept the instruction to accept an order or reposition, or refuse and remain at the same position.
[35] In some embodiments, the rider order dispatching problem can be approached by Reinforcement learning (RL). RL is a type of machine learning, which emphasizes on learning through interacting with the environment. In RL, an RL agent repeatedly observes the current state of the environment, takes an action according to certain policy, gets an immediate reward and transits to a next state. Through trial- and-error, the agent aims to learn a best policy under which the expected cumulative reward can be maximized.
[36] In some embodiments, the RL for ride order dispatching may be modeled as a
Markov decision process (MDP). In this disclosure, an infinite- horizon discounted Markov Decision Problem (DMDP) may be used. An instance of the DMDP contains a finite space of states a finite space of actions A, a collection of state-to-state transition probabilities
Figure imgf000011_0003
which is unknown; a collection of state-transitional rewards
Figure imgf000011_0004
the discounted factor
Figure imgf000011_0002
A stationary and randomized policy is then defined as a map
Figure imgf000011_0001
where is a probability distribution vector over A
Figure imgf000011_0006
If p is deterministic, then TT (S) has only one nonzero entry equal to 1. Given TT, let·
Figure imgf000011_0007
denotes the transition probability matrix of the Discounted MDP (DMDP) under the policy TT, where
The objective of DMDP is to maximize the expected
Figure imgf000011_0005
cumulative reward regardless of the initial state
Figure imgf000012_0005
Here, is determined by tt, and then si+i follows the probability distribution P
Figure imgf000012_0001
Figure imgf000012_0004
[37] In some embodiments with respect to the first model (model 1), the agent is the system. The system observes the state of the target driver, then provides an instruction for him/her to cruise. The instruction can be an order request, then the driver will finish the order and end lip at the drop-off location. Alternatively, the instruction can be a re-positioning suggestion (without an order), then the driver can accept or decline such instruction. The MDP model may be defined as follows.
[38] First, states and actions of the first model are described. The activity area of the target driver may be discretized into a plurality of repeating zones (e.g., a group of hex-cells as shown in FIG. 3A) and twenty-four hours into a list of time slot, e.g.. ten minutes per slot. In this model, it may be assumed that, all orders need to be taken as soon as possible and the hypothetical driver only takes orders having pick-up locations in the same hex-cell as the driver. The former assumption ignores the situation when the order is requested to depart in an hour or so, and the latter assumption is a natural outcome of the former. However, with the existence of competitors a driver can not always take any order he wants. This problem has not been addresses in existing technologies and models. To address this problem, all new orders in the cell that the driver is located may be partitioned averagely and randomly and the driver only gets to choose the optimal one from his/her partition.’Averagely means that no driver gets more order to choose from than other drivers, and’randomly’ means that an order can be partitioned into any driver’s share. The driver’s partition may be referred to as the available orders nearby. In one example, suppose the target driver is at the cell h, at the time slot /;, with a set of new orders where and m competitors in the same cell, then the target driver’s
Figure imgf000012_0003
available orders nearby is defined as:
Figure imgf000012_0002
[39] In this model, each state may contain the following information:
1. t: current time (e.g., time slot index)
2. h: the driver's current location (e.g., hex-cell index)
3. Saon: the available orders nearby (e.g. a list of hex-cell indices representing the destinations of the orders).
Each action is to transit to a next hex-cell of a different location h' (as shown in FIG. 3A). The arrow shown in FIG. 3A represents a transition from one state to another by an action. The arrow’s origin is the target driver with state (t, h, Saon }. The action is to transit to the hex-cell h', for example, by taking an order or by repositioning.
[40] Next, the state transition is described. With the current state being
and the current action being a h\ several scenarios may happen:
Figure imgf000013_0003
• the instruction is to finish an order, then the driver will follow the
Figure imgf000013_0002
instruction.
Figure imgf000013_0004
the instruction is a re-positioning suggestion, and the driver accepts it.
• the instruction is a re-positioning suggestion and the driver rejects it.
Figure imgf000013_0005
[41] The next state and the reward depend on the scenarios. The next state s' and the reward r are then:
Figure imgf000013_0001
where x is an r.v. uniformly distributed in [0, 1] and Sa ! on is the set of available orders nearby for the time t + T{t, h, h!) and the hex cell ti . Various other notations are described in Table 1 below.
Figure imgf000014_0004
[42] In some embodiments, the MDP of model 1 ean be trained online with real-time data (e.g., historical trip data) or through a simulator (e.g., simulated trip data) with the inputs being a state and an action and the outputs being a next state and a reward. For example, a neural network such as DQN (deep neural network) can be applied, and the model 1 can be solved by data training and machine learning
[43] In some embodiments with respect to the second model (model 2). a simplified model ean be obtained and applied with the amount of state data is not large. First, the states and actions of the second model are described. In model 2, the basic settings are the same as model 1, except that each state contains the following information:
Figure imgf000014_0001
[44] Each action is still to transit to a next cell h' (as shown in FIG. 3B). The arrow shown in FIG. 3B represents a transition from one state to another by an action. The arrow's origin is the target driver with state The action is to transit to the
Figure imgf000014_0003
hex-cell hi, for example, by taking an order or by repositioning.
[45] With the current; state being and the current action being a := h',
Figure imgf000014_0002
several scenarios may happen: • The action is to finish an order;
• The action is a re-positioning suggestion, and the driver accepts it;
• The action is a re-positioning suggestion and the driver rejects it.
The next state and the reward depend on the scenarios. Some related probabilities as listed in Table 2.
Figure imgf000015_0001
[47] Model 2 can also be solved using a neuron network. Alternatively, model 2 can be solved by applying acceleration and variance reduction algorithms on tabular
implementation, the details of which are described below.
[48] In some embodiments, to solve model 2 without a neuron network, stochastic formulation can be first implemented. Given a DMDP instance (S, A, P. r, 7) and a policy 7G, the value vector np€ Ri5i is defined as:
Figure imgf000016_0001
[49] The optimal value vector is defined as:
Figure imgf000016_0003
Figure imgf000016_0002
[50] And a maximizer is known as the optimal policy TT* . It is well-known that a vector v* is the optimal value vector if and only if it satisfies the Bellman equation:
Figure imgf000016_0004
where j represents the next state.
Lemma 1 The optimal value vector
Figure imgf000016_0005
is the rninimizer of the following linear programming:
Figure imgf000016_0006
Figure imgf000016_0007
Proof 1 (1) implies that v* is in the feasible set. Any feasible point satisfies
Figure imgf000016_0009
Since q is positive, v* is the rninimizer.
[51] The dual problem of (2) is
Figure imgf000016_0008
where Every feasible point can recover a stationary randomized
Figure imgf000017_0005
policy and any stationary randomized policy can form a feasible point. Indeed, there exists a Injection between the feasible set and the stationary randomized policy space.
[52] If the reward is uniformly bounded, there exists an optimal solution m* to the dual LP, which can formulate an optimal policy p* in the sense that the value vector under 7 r* equals v*. If m* is unique then TT* is deterministic; otherwise p* is randomized policy. Therefore, instead of value iteration or policy iteration, the MDP can be solved in a linear programming approach. In the reinforcement; learning context, P and r are unknown and can be very large. Solving primal LP or dual LP separately is not ideal since it involves solving a large linear constraint which can not be relaxed without changing the original problem. Therefore, a feasible point problem may be formulated as:
Figure imgf000017_0001
[53] This formulation follows the KKT conditions of the LP. It is denoted that
and a new constraint
Figure imgf000017_0003
is imposed, where:
Figure imgf000017_0004
Figure imgf000017_0002
[54] An optimal solution
Figure imgf000017_0007
are in the constraint set since q is a probability distribution and
Figure imgf000017_0006
is in [0, 1]. The above problem can be relaxed as a convex
optimization over a bounded convex constraint without loss of accuracy:
Figure imgf000018_0001
where
Figure imgf000018_0002
and M is a full rank matrix in
Since x can never be 0 the solution is
Figure imgf000018_0010
always nontrivial. Notice that although M is unknown (due to
Figure imgf000018_0003
it can be represented as the expectation of a random variable
Figure imgf000018_0011
(check Lemma 2 for details). Then (3) can be further expressed as a stochastic composition optimization problem:
Figure imgf000018_0012
Figure imgf000018_0004
Figure imgf000018_0005
[55]
Figure imgf000018_0006
is the probability of tuple (i. a. j) being selected with
Figure imgf000018_0007
, is a distribution that can be imposed artificially, so engaging the value of h
Figure imgf000018_0008
is not a problem. The only unknown and to-be- learned factor is
Figure imgf000018_0009
[56] In some embodiments, four types of alternative sampling-based algorithms can be used to solve problem (4). In optimization area, usually an algorithm is developed for a class of problems, to be more abstract, a very general math format. In order to use an algorithm, one should first write the to-be-solved problem into a correct format. Here, to apply acceleration and variance reduction algorithms, the original form (4) needs to be revised slightly.
[57] In some embodiments, there is access to a Sampling Orable (SO) (described later) which produces samples of x in Lemma 2. Also, two operators are defined as follows:
Definition 1 Given a point
Figure imgf000019_0008
and a vector
Figure imgf000019_0007
operator
Figure imgf000019_0006
, where
Figure imgf000019_0001
Definition
Figure imgf000019_0011
and a vector g
Figure imgf000019_0005
operator
Figure imgf000019_0003
defined as PGSP where
Figure imgf000019_0004
Figure imgf000019_0002
[58] In some embodiments, the first algorithm used for solving problem (4) is
Accelerated Stochastic Composition Gradient Descent (ASCGD). ASCGD target problems with the form:
Figure imgf000019_0009
[59] Problem (4) is this kind of pattern. But compared with the general form. (4) has two characteristics: the inner functional i¾)x is linear the outer function is
Figure imgf000019_0010
deterministic (with no E). [60] The first algorithm ASC-RL (Accelerate Stochastic Composition algorithm for Reinforcement Learning) in Algorithm 1 is based on ASCGD.
Figure imgf000020_0002
[61] In some embodiments, the second algorithm used for solving problem (4) is Stochastic Accelerated GradiEnt (SAGE). This algorithm is targeted to problems like:
Figure imgf000020_0003
[62] The original problem (4) does not belong to this group because the expectation is not outside. However, problem (4) can be transformed into this form by introducing two i.i.d random variables
Figure imgf000020_0001
which follow the same distribution in Lemma 2. Then the new problem is:
Figure imgf000020_0004
[63] The developed second algorithm ASGD-RL is summarized in Algorithm 2 to solve (5) based on an accelerated projected stochastic gradient descent algorithm called SAGE.
Figure imgf000021_0001
[64] In some embodiments, the third algorithm used for solving problem (4) is
Katyusha-Xw developed. Katyusha solves problems whose objective function is the sum of a group of functions with the sum being convex:
Figure imgf000021_0002
[65] In order to use this algorithm, the real expectation is approximated by a group of samples’ average, thus problem (4) is then rewritten as:
Figure imgf000021_0003
[66] The third algorithm is shown in Algorithm 3.
Figure imgf000022_0001
[67] In some embodiments, the fourth algorithm used for solving problem (4) is Prox-SVRG. This algorithm considers problems as:
Figure imgf000022_0002
very similar to 3 but each fo is not required to be convex. To apply this algorithm, problem (4) can be rewritten as:
Figure imgf000022_0003
[68] The fourth algorithm SAA-RL-II is presented in Algorithm 4.
Figure imgf000023_0001
[69] As such, there are multiple types of algorithms for solving the DMDP, after transformation to appropriate formulation. Different algorithms have different advantages and disadvantages, which are often determined by a problem’s specialty and the data. Given a DMDP, a flexible formulation makes it possible to choose the best algorithm for this specific case.
[70] In some embodiments, a Sample Oracle (e.g., database) from a dataset. First of all, the SO is supposed to take a state-action pair (s, a) as input, then produces a state-reward pair as output, where s' represents a next state starting from s with action a and
Figure imgf000023_0002
By the state transition rule above for model 2, all the information listed in Table 2 is needed.
[71] In some embodiment, in the dataset each instance contains: order ID, driver ID, pick-up time, pick-up latitude, pick-up longitude, drop-off time, drop-off latitude, drop-off longitude. All time and locations may be simplified to discretized time indices and hex-cell indices. Then, the following information can be obtained by respective methods:
Figure imgf000023_0003
use random forest classifier to build an estimator of cruise time. The data is pick-up time and the Euclidean distance (or /1-norm) between the latitudes- longitudes of centers of h and h! . The label is drop-off time minus pick-up time.
Figure imgf000024_0001
[72] After getting these information, a next state and the reward following the rules described above for the state transition of model 2 can be obtained.
[73] FIG. 4A illustrates a flowchart of an exemplary method 400, according to various embodiments of the present disclosure. The method 400 may be implemented in various environments including, for example, the environment 100 of FIG. 1. The exemplary method 400 may be implemented by one or more components of the system 102 (e.g., the processor 104, the memory 106). The exemplary method 400 may be implemented by multiple systems similar to the system 102. The operations of method 400 presented below are intended to be illustrative. Depending on the implementation, the exemplary method 400 may include additional, fewer, or alternative steps performed in various orders or in parallel. The model in this figure may be referred to model 1 and related descriptions above. Model 1 may be solved by a neural network (e.g., DQN) with machine learning techniques.
[74] Block 402 comprises obtaining a current location of a current vehicle from a computing device associated with the current vehicle. Block 403 comprises obtaining a current list of available orders nearby based on the current location. Block 404 comprises feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle. Block 405 comprises transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order. The MDP model is trained based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a training vehicle completing the historical or simulated vehicle trips. The MDP model discretizes a region into repeating zones and a time period into time slots. Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a list of available orders nearby represented by repeating zone indices of destinations of the available orders nearby. Each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location. If the training vehicle completes one of the available orders nearby from the list, the training vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next list of available orders nearby corresponding the next location. If the training vehicle repositions to the another location, the training vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next list of available orders nearby corresponding the another location. If the training vehicle stays at the location, the training vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the list of available orders nearby.
[75] In some embodiments, for training the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone. For application of the trained MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
[76] In some embodiments, for training the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the list of available orders nearby for the training vehicle. For application of the trained MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current list of available orders nearby for the current vehicle.
[77] In some embodiments, for training the MDP model, the list of available orders nearby for the training vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location. For example, the list may comprise five available orders nearby. For application of the trained MDP model, the current list of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain. For example, the list may comprise five available orders nearby.
[78] FIG. 4B illustrates a flowchart of an exemplary method 410, according to various embodiments of the present disclosure. The method 410 may be implemented in various environments including, for example, the environment. 100 of FIG. 1. The exemplary method 410 may be implemented by one or more components of the system 102 (e.g., the processor 104, the memory 106). The exemplary method 410 may be implemented by multiple systems similar to the system 102. The operations of method 410 presented below are intended to be illustrative. Depending on the implementation, the exemplary method 410 may include additional, fewer, or alternative steps performed in various orders or in parallel. The model in this figure may be referred to model 2 and related descriptions above. Model 2 may be solved by a neural network with machine learning technique or by applying acceleration and variance reduction algorithms described earlier. That is, solving the MDP model below may comprise solving the MDP model based on applying acceleration and variance reduction algorithms to tabular implementation.
[79] Block 412 comprises obtaining a current location of a current vehicle from a computing device associated with the current vehicle. Block 413 comprises obtaining a current number of available orders nearby in a current list based on the current location. Block 414 comprises feeding the current location, the current number of available orders nearby, and a current time to a solved Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle. Block 415 comprises transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order. The MDP model is solved based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a hypothetical vehicle completing the historical or simulated vehicle trips. The MDP model discretizes a region into repeating zones and a time period into time slots. Each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a number of available orders nearby in a list, the available orders nearby represented by repeating zone indices of destinations of the available orders nearby. Each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location. If the hypothetical vehicle completes one of the available orders nearby from the list, the hypothetical vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next number of available orders nearby in a next list corresponding the next location. If the hypothetical vehicle repositions to the another location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next number of available orders nearby in a next list corresponding the another location. If the hypothetical vehicle stays at the location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the number of available orders nearby in the list.
[80] In some embodiments, for solving the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone. For application of the solved MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
[81] In some embodiments, for solving the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the number of available orders nearby for the hypothetical vehicle. For application of the solved MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current number of available orders nearby for the current vehicle.
[82] In some embodiments, for solving the MDP model, the number of available orders nearby for the hypothetical vehicle is a ceiling function of a division of the all orders with pick up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location. For example, the number of available orders nearby may be five. For application of the solved MDP model, the current number of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain. For example, the number of available orders nearby may be five.
[83] In some embodiments, solving the MDP model based on the plurality of historical or simulated vehicle trips comprises: obtaining data for each of the historical vehicle trips, the data comprising: a historical pick-up time, a historical pick-up location, a historical drop-off time, and a historical drop-off location, training a random forest classifier with the historical pick-up time, the historical pick-up location, and the historical drop-off location as training data and with the historical drop-off time minus the historical pick-up time as label to build a cruise time estimator, the cruise time estimator estimating a time to reach a destination based on the time, the location, and the destination of the one available order nearby, or based on the time, the location, and the anther location, and applying the cruise time estimator in each state transition to determine the next time corresponding to completion of the one available order nearby or to determine the next time corresponding to reaching the another location.
[84] The techniques described herein are implemented by one or more special-purpose computing devices. The special-purpose computing devices may be desktop computer systems, server computer systems, portable computer systems, handheld devices, networking devices or any other device or combination of devices that incorporate hard-wired and/or program logic to implement the techniques. Computing device(s) are generally controlled and coordinated by operating system software. Conventional operating systems control and schedule computer processes for execution, perform memory management, provide file system, networking, I/O sendees, and provide a user interface functionality, such as a graphical user interface (“GUI”), among other things.
[85] FIG. 5 is a block diagram that illustrates a computer system 500 upon which any of the embodiments described herein may be implemented. The system 500 may correspond to the system 102 or 103 described above. The computer system 500 includes a bus 502 or other communication mechanism for communicating information, one or more hardware processors 504 coupled with bus 502 for processing information. Hardware processor(s) 504 may be, for example, one or more general purpose microprocessors. The processors) 504 may correspond to the processor 104 described above.
[86] The computer system 500 also includes a main memory 506, such as a random access memory (RAM), cache and/or other dynamic storage devices, coupled to bus 502 for storing information and instructions to be executed by processor 504. Main memory 506 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 504. Such instructions, when stored in storage media accessible to processor 504, render computer system 500 into a special-purpose machine that is customized to perform the operations specified in the instructions. The computer system 500 further includes a read only memory (ROM) 508 or other static storage device coupled to bus 502 for storing static information and instructions for processor 504. A storage device 510, such as a magnetic disk, optical disk, or USB thumb drive (Flash drive), etc., is provided and coupled to bus 502 for storing information and instructions. The main memory 506, the ROM 508, and/or the storage 510 may correspond to the memory 106 described above.
[87] The computer system 500 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 500 to be a special-purpose machine. According to one embodiment, the operations, methods, and processes described herein are performed by computer system 500 in response to processor(s) 504 executing one or more sequences of one or more instructions contained in main memory 506. Such instructions may be read into main memory 506 from another storage medium, such as storage device 510. Execution of the sequences of instructions contained in main memory 506 causes processor(s) 504 to perform the process steps described herein. In alternative
embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
[88] The main memory 506, the ROM 508, and/or the storage 510 may include non- transitory storage media. The term“non-transitory media,” and similar terms, as used herein refers to a media that store data and/or instructions that cause a machine to operate in a specific fashion, the media excludes transitory signals. Such non-transitory media may comprise non volatile media and/or volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 510. Volatile media includes dynamic memory, such as main memory 506. Common forms of non-transitory media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge, and networked versions of the same.
[89] The computer system 500 also includes a network interface 518 coupled to bus 502. Network interface 518 provides a two-way data communication coupling to one or more network links that are connected to one or more local networks. For example, network interface 518 may be an integrated sendees digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line.
As another example, network interface 518 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN (or WAN component to communicated with a WAN). Wireless links may also be implemented. In any such implementation, network interface 518 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information. [90] The computer system 500 can send messages and receive data, including program code, through the network(s), network link and network interface 518. In the Internet example, a server might transmit a requested code for an application program through the Internet, the ISP, the local network and the network interface 518.
[91] The received code may be executed by processor 504 as it is received, and/or stored in storage device 510, or other non-volatile storage for later execution.
[92] Each of the processes, methods, and algorithms described in the preceding sections may be embodied in, and fully or partially automated by, code modules executed by one or more computer systems or computer processors comprising computer hardware. The processes and algorithms may be implemented partially or wholly in application-specific circuitry.
[93] The various features and processes described above may be used independently of one another, or may be combined in various ways. All possible combinations and sub-combinations are intended to fall within the scope of this disclosure. In addition, certain method or process blocks may be omitted in some implementations. The methods and processes described herein are also not limited to any particular sequence, and the blocks or states relating thereto can be performed in other sequences that are appropriate. For example, described blocks or states may be perfonned in an order other than that specifically disclosed, or multiple blocks or states may be combined in a single block or state. The exemplary blocks or states may be performed in serial, in parallel, or in some other manner. Blocks or states may be added to or removed from the disclosed exemplary embodiments. The exemplary systems and components described herein may be configured differently than described. For example, elements may be added to, removed from, or rearranged compared to the disclosed exemplary embodiments.
[94] The various operations of exemplary methods described herein may be performed, at least partially, by an algorithm. The algorithm may be comprised in program codes or instructions stored in a memory (e.g., a non-transitory computer-readable storage medium described above). Such algorithm may comprise a machine learning algorithm. In some embodiments, a machine learning algorithm may not explicitly program computers to perform a function, but can learn from training data to make a predictions model that performs the function. [95] The various operations of exemplary methods described herein may be performed, at least partially, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or pennanently configured, such processors may constitute processor-implemented engines that operate to perform one or more operations or functions described herein.
[96] Similarly, the methods described herein may be at least partially processor- implemented, with a particular processor or processors being an example of hardware. For example, at least some of the operations of a method may be performed by one or more processors or processor-implemented engines. Moreover, the one or more processors may also operate to support performance of the relevant operations in a“cloud computing” environment or as a“software as a service” (SaaS). For example, at least some of the operations may be performed by a group of computers (as examples of machines including processors), with these operations being accessible via a network (e.g., the Internet) and via one or more appropriate interfaces (e.g., an Application Program Interface (API)).
[97] The performance of certain of the operations may be distributed among the processors, not only residing within a single machine, but deployed across a number of machines hi some exemplary embodiments, the processors or processor-implemented engines may be located in a single geographic location (e.g., within a home environment, an office environment, or a server farm) hi other exemplary embodiments, the processors or processor-implemented engines may be distributed across a number of geographic locations.
[98] Throughout this specification, plural instances may implement components, operations, or structures described as a single instance. Although individual operations of one or more methods are illustrated and described as separate operations, one or more of the individual operations may be performed concurrently, and nothing requires that the operations be performed in the order illustrated. Structures and functionality presented as separate components in exemplary configurations may be implemented as a combined structure or component.
Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements fall within the scope of the subject matter herein. [99] Although an overview of the subject matter has been described with reference to specific exemplary embodiments, various modifications and changes may be made to these embodiments without departing from the broader scope of embodiments of the present disclosure. Such embodiments of the subject matter may be referred to herein, individually or collectively, by the term“invention” merely for convenience and without intending to voluntarily limit the scope of this application to any single disclosure or concept if more than one is, in fact, disclosed.
[100] The embodiments illustrated herein are described in sufficient detail to enable those skilled in the art to practice the teachings disclosed. Other embodiments may be used and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. The Detailed Description, therefore, is not to be taken in a limiting sense, and the scope of various embodiments is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled.
[101] Any process descriptions, elements, or blocks in the flow' diagrams described herein and/or depicted in the attached figures should be understood as potentially representing modules, segments, or portions of code which include one or more executable instructions for
implementing specific logical functions or steps in the process. Alternate implementations are included within the scope of the embodiments described herein in which elements or functions may be deleted, executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as w'ould be understood by those skilled in the art.
[102] As used herein, the term“or” may be construed in either an inclusive or exclusive sense. Moreover, plural instances may be provided for resources, operations, or structures described herein as a single instance. Additionally, boundaries between various resources, operations, engines, and data stores are somewhat arbitrary, and particular operations are illustrated in a context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within a scope of various embodiments of the present disclosure. In general, structures and functionality presented as separate resources in the exemplary
configurations may be implemented as a combined structure or resource. Similarly, structures and functionality presented as a single resource may be implemented as separate resources.
These and other variations, modifications, additions, and improvements fall within a scope of embodiments of the present disclosure as represented by the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
[103] Conditional language, such as, among others,“can,”“could,”“might,” or“may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Tlius, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more
embodiments or that one or more embodiments necessarily include logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment.

Claims

CLAIMS:
1. A computer-implemented method for ride order dispatching, comprising:
obtaining a current location of a current vehicle from a computing device associated with the current vehicle;
obtaining a current list of available orders nearby based on the current location;
feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle; and
transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order, wherein:
the MDP model is trained based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a training vehicle completing the historical or simulated vehicle trips,
the MDP model discretizes a region into repeating zones and a time period into time slots,
each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a list of available orders nearby represented by repeating zone indices of destinations of the available orders nearby,
each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location,
if the training vehicle completes one of the available orders nearby from the list, the training vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next list of available orders nearby corresponding the next location,
if the training vehicle repositions to the another location, the training vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next list of available orders nearby corresponding the another location, and if the training vehicle stays at the location, the training vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the list of available orders nearby.
2. The method of claim 1, wherein:
for training the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone; and
for application of the trained MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
3. The method of claim 1 , wherein:
for training the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the list of available orders nearby for the training vehicle; and
for application of the trained MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current list of available orders nearby for the current vehicle.
4. The method of claim 3, wherein:
for training the MDP model, the list of available orders nearby for the training vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location; and
for application of the trained MDP model, the current list of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
5. A computer-implemented method for ride order dispatching, comprising: obtaining a current location of a current vehicle from a computing device associated with the current vehicle;
obtaining a current number of available orders nearby in a current list based on the current location;
feeding the current location, the current number of available orders nearby, and a current time to a solved Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle; and
transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order, wherein:
the MDP model is solved based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a hypothetical vehicle completing the historical or simulated vehicle trips,
the MDP model discretizes a region into repeating zones and a time period into time slots,
each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a number of available orders nearby in a list, the available orders nearby represented by repeating zone indices of destinations of the available orders nearby,
each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location,
if the hypothetical vehicle completes one of the available orders nearby from the list, the hypothetical vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next number of available orders nearby in a next list corresponding the next location,
if the hypothetical vehicle repositions to the another location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next number of available orders nearby in a next list corresponding the another location, and
if the hypothetical vehicle stays at the location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the number of available orders nearby in the list;.
6. The method of claim 5, wherein:
for solving the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone; and
for application of the solved MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
7. The method of claim 5, wherein:
for solving the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the number of available orders nearby for the hypothetical vehicle; and
for application of the solved MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current number of available orders nearby for the current vehicle.
8. The method of claim 7, wherein:
for solving the MDP model, the number of available orders nearby for the hypothetical vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location; and
for application of the solved MDP model, the current number of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
9. The method of claim 5, wherein solving the MDP model comprises solving the MDP model based on applying acceleration and variance reduction algorithms to tabular
implementation.
10. The method of claim 5, wherein solving the MDP model based on the plurality of historical or simulated vehicle trips comprises:
obtaining data for each of the historical vehicle trips, the data comprising: a historical pick-up time, a historical pick-up location, a historical drop-off time, and a historical drop-off location;
training a random forest classifier with the historical pick-up time, the historical pick-up location, and the historical drop-off location as training data and with the historical drop-off time minus the historical pick-up time as label to build a caiise time estimator, wherein: the cruise time estimator estimates a time to reach a destination based on the time, the location, and the destination of the one available order nearby, or based on the time, the location, and the anther location; and
applying the cruise time estimator in each state transition to determine the next time corresponding to completion of the one av ailable order nearby or to determine the next time corresponding to reaching the another location.
1 1. A system comprising a processor and a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the system to perform a method for ride order dispatching, the method comprising:
obtaining a current location of a current vehicle from a computing device associated with the current vehicle;
obtaining a current list of available orders nearby based on the current location;
feeding the current location, the current list of available orders nearby, and a current time to a trained Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle; and transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order, wherein:
the MDP model is trained based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a training vehicle completing the historical or simulated vehicle trips,
the MDP model discretizes a region into repeating zones and a time period into time slots,
each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a list of available orders nearby represented by repeating zone indices of destinations of the available orders nearby,
each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location,
if the training vehicle completes one of the available orders nearby from the list, the training vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next list of available orders nearby corresponding the next location,
if the training vehicle repositions to the another location, the training vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next list of available orders nearby corresponding the another location, and
if the training vehicle stays at the location, the training vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the list of available orders nearby.
12. The system of claim 1 1, wherein:
for training the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone; and
for application of the trained MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
13. The system of claim 1 1, wherein:
for training the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the list of available orders nearby for the training vehicle; and
for application of the trained MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current list of available orders nearby for the current vehicle.
14. The system of claim 13, wherein:
for training the MDP model, the list of available orders nearby for the training vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location; and
for application of the trained MDP model, the current list of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
15. A system comprising a processor and a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the system to perform a method for ride order dispatching, the method comprising:
obtaining a current location of a current vehicle from a computing device associated with the current vehicle;
obtaining a current number of available orders nearby in a current list based on the current location;
feeding the current location, the current number of available orders nearby, and a current time to the solved Markov Decision Process (MDP) model to obtain action information, the action information being repositioning the current vehicle to another current location or completing a current ride order by the current vehicle; and
transmitting the generated action information to the computing device to cause the current vehicle to reposition to the another current location, stay at the current location, or accept the current ride order by proceeding to a pick-up location of the current ride order, wherein:
the MDP model is solved based on a plurality of historical or simulated vehicle trips under a policy of maximizing a cumulative reward for a hypothetical vehicle completing the historical or simulated vehicle trips, the MDP model discretizes a region into repeating zones and a time period into time slots,
each state of the MDP model comprises: a time represented by a time lot index, a location represented by a repeating zone index, and a number of available orders nearby in a list, the available orders nearby represented by repeating zone indices of destinations of the available orders nearby,
each action of the MDP model comprises: completing one of the available orders nearby from the list, repositioning to another location, or staying at the location,
if the hypothetical vehicle completes one of the available orders nearby from the list, the hypothetical vehicle gets a fare for completing the one available order nearby as the reward, and the state transitions to a next state comprising: a next time corresponding to completion of the one available order nearby, a next location corresponding a destination of the one available order nearby, and a next number of available orders nearby in a next list corresponding the next location,
if the hypothetical vehicle repositions to the another location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: a next time corresponding to reaching the another location, the another location, and a next number of available orders nearby in a next list corresponding the another location, and
if the hypothetical vehicle stays at the location, the hypothetical vehicle gets no reward, and the state transitions to a next state comprising: the time, the location, and the number of available orders nearby in the list;.
16. The system of claim 15, wherein: for solving the MDP model, the location and pick-up locations of the available orders nearby are in a same repeating zone; and
for application of the solved MDP model, the current location and a pick-up location of the current ride order are within a same repeating zone.
17. The system of claim 15, wherein:
for solving the MDP model, all orders with pick-up locations in a repeating zone corresponding to the location are divided averagely and randomly among all vehicles in the repeating zone corresponding to the location to obtain the number of available orders nearby for the hypothetical vehicle; and
for application of the solved MDP model, all current orders with pick-up locations in a repeating zone corresponding to the current location are divided averagely and randomly among all current vehicles in the repeating zone corresponding to the current location to obtain the current number of available orders nearby for the current vehicle.
18. The system of claim 17, wherein:
for solving the MDP model, the number of available orders nearby for the hypothetical vehicle is a ceiling function of a division of the all orders with pick-up locations in the repeating zone corresponding to the location by the all vehicles in the repeating zone corresponding to the location; and
for application of the solved MDP model, the current number of available orders nearby for the current vehicle is a ceiling function of a division of the all current orders with pick-up locations in the repeating zone corresponding to the current location by the all current vehicles in the repeating zone corresponding to the current location to obtain.
19. The system of claim 15, wherein solving the MDP model comprises solving the MDP model based on applying acceleration and variance reduction algorithms to tabular
implementation.
20. The system of claim 15, wherein solving the MDP model based on the plurality of historical or simulated vehicle trips comprises: obtaining data for each of the historical vehicle trips, the data comprising: a historical pick-up time, a historical pick-up location, a historical drop-off time, and a historical drop-off location;
training a random forest classifier with the historical pick-up time, the historical pick-up location, and the historical drop-off location as training data and with the historical drop-off time minus the historical pick-up time as label to build a cruise time estimator, wherein: the cruise time estimator estimates a time to reach a destination based on the time, the location, and the destination of the one available order nearby, or based on the time, the location, and the anther location; and
applying the cruise time estimator in each state transition to determine the next time corresponding to completion of the one available order nearby or to determine the next time corresponding to reaching the another location.
PCT/US2018/068127 2018-12-13 2018-12-31 System and method for ride order dispatching Ceased WO2020122966A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201880100154.4A CN113287124A (en) 2018-12-13 2018-12-31 System and method for ride order dispatch

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/219,753 US11138888B2 (en) 2018-12-13 2018-12-13 System and method for ride order dispatching
US16/219,753 2018-12-13

Publications (1)

Publication Number Publication Date
WO2020122966A1 true WO2020122966A1 (en) 2020-06-18

Family

ID=71071611

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2018/068127 Ceased WO2020122966A1 (en) 2018-12-13 2018-12-31 System and method for ride order dispatching

Country Status (3)

Country Link
US (2) US11138888B2 (en)
CN (1) CN113287124A (en)
WO (1) WO2020122966A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170286884A1 (en) 2013-03-15 2017-10-05 Via Transportation, Inc. System and Method for Transportation
EP3631707B1 (en) 2017-05-22 2026-03-11 Via Transportation, Inc. Systems and methods for managing ridesharing vehicles
US12461537B2 (en) 2018-01-08 2025-11-04 Via Transportation, Inc. Accounting for driver reaction time when providing driving instructions
EP3971780A1 (en) * 2020-07-24 2022-03-23 Tata Consultancy Services Limited Method and system for dynamically predicting vehicle arrival time using a temporal difference learning technique
CN112465602B (en) * 2020-12-11 2023-12-15 深圳依时货拉拉科技有限公司 Order pushing method, order pushing device, computer equipment and computer readable storage medium
US20220196413A1 (en) * 2020-12-17 2022-06-23 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for simulating transportation order bubbling behavior
US20220284533A1 (en) * 2021-02-26 2022-09-08 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for repositioning vehicles in a ride-hailing platform
US20220366437A1 (en) * 2021-04-27 2022-11-17 Beijing Didi Infinity Technology And Development Co., Ltd. Method and system for deep reinforcement learning and application at ride-hailing platform
US12572995B2 (en) 2021-05-07 2026-03-10 Via Transportation, Inc. Systems and methods for plan determination
CN113282787B (en) * 2021-05-24 2022-01-04 暨南大学 A personalized short video recommendation method and system based on reinforcement learning
CN114493071B (en) * 2021-07-16 2025-01-10 首约科技(北京)有限公司 A method for dispatching online car-hailing capacity
US20230053647A1 (en) * 2021-08-20 2023-02-23 Via Transportation, Inc. Systems and methods for reachability of different destinations
CN114119159B (en) * 2021-11-29 2024-05-28 武汉理工大学 A method and system for real-time order matching and idle vehicle dispatching for online car-hailing
CN114970944B (en) * 2022-03-29 2024-06-18 武汉大学 An order matching and vehicle relocation method based on multi-agent reinforcement learning
CN117252307B (en) * 2023-11-14 2024-04-09 北京阿帕科蓝科技有限公司 Traffic prediction method, traffic prediction device, computer equipment and storage medium
CN120765155B (en) * 2025-09-09 2025-11-18 国网浙江省电力有限公司物资分公司 Dynamic goods picking path optimization method and system based on deep reinforcement learning

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594804A (en) * 2018-03-12 2018-09-28 苏州大学 Automatic driving control method for distribution trolley based on deep Q network

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8626565B2 (en) * 2008-06-30 2014-01-07 Autonomous Solutions, Inc. Vehicle dispatching method and system
JP6801074B2 (en) * 2016-07-12 2020-12-16 華為技術有限公司Huawei Technologies Co.,Ltd. Vehicle external communication methods and devices and terminals
US10176443B2 (en) * 2016-08-09 2019-01-08 Conduent Business Services, Llc Method and system for dispatching of vehicles in a public transportation network
US10922566B2 (en) * 2017-05-09 2021-02-16 Affectiva, Inc. Cognitive state evaluation for vehicle navigation
US20200249047A1 (en) * 2017-10-25 2020-08-06 Ford Global Technologies, Llc Proactive vehicle positioning determinations
US11821743B2 (en) * 2018-04-18 2023-11-21 Ford Global Technologies, Llc Dynamic promotions based on vehicle positioning and route determinations
US11610165B2 (en) * 2018-05-09 2023-03-21 Volvo Car Corporation Method and system for orchestrating multi-party services using semi-cooperative nash equilibrium based on artificial intelligence, neural network models,reinforcement learning and finite-state automata

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594804A (en) * 2018-03-12 2018-09-28 苏州大学 Automatic driving control method for distribution trolley based on deep Q network

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Route-Based Markov Decision Processes for Dynamic Vehicle Routing Problems", WINFORMS, 2 May 2017 (2017-05-02), pages 1 - 25, XP055716144, Retrieved from the Internet <URL:https://web.winforms.phil.tu-bs.de/paper/ulmer/Ulmer_model.pdf> [retrieved on 20190410] *
LIN K. ET AL.: "Efficient Large-Scale Fleet Management via Multi-Agent Deep Reinforcement Learning", PROCEEDINGS OF THE 24TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING KDD '18, 23 August 2018 (2018-08-23), pages 1774 - 1783, XP055690915, [retrieved on 20190410] *
WANG Z. ET AL.: "Deep Reinforcement Learning with Knowledge Transfer for Online Rides Order Dispatching", 2018 IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM, 17 November 2018 (2018-11-17), pages 617 - 626, XP033485584, [retrieved on 20190410], DOI: 10.1109/ICDM.2018.00077 *
XU Z. ET AL.: "Large-Scale Order Dispatch in On-Demand Ride-Hailing Platforms: A Learning and Planning Approach", PROCEEDINGS OF THE 24TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING KDD '18, 23 August 2018 (2018-08-23), pages 905 - 913, XP055693160, [retrieved on 20190410] *

Also Published As

Publication number Publication date
CN113287124A (en) 2021-08-20
US20210398431A1 (en) 2021-12-23
US20200193834A1 (en) 2020-06-18
US11138888B2 (en) 2021-10-05

Similar Documents

Publication Publication Date Title
WO2020122966A1 (en) System and method for ride order dispatching
US11631333B2 (en) Multi-agent reinforcement learning for order-dispatching via order-vehicle distribution matching
US11514543B2 (en) System and method for ride order dispatching
EP3479306B1 (en) Method and system for estimating time of arrival
US11507894B2 (en) System and method for ride order dispatching
US12062289B2 (en) Dispatching provider devices utilizing multi-outcome transportation-value metrics and dynamic provider device modes
US11967239B2 (en) Systems and methods for order dispatching and vehicle repositioning
US11790289B2 (en) Systems and methods for managing dynamic transportation networks using simulated future scenarios
US20220108615A1 (en) Systems and methods for dispatching shared rides through ride-hailing platform
US20210295224A1 (en) Utilizing a requestor device forecasting model with forward and backward looking queue filters to pre-dispatch provider devices
US12183207B2 (en) Dispatching provider devices utilizing multi-outcome transportation-value metrics and dynamic provider device modes
US20220327650A1 (en) Transportation bubbling at a ride-hailing platform and machine learning
US20220277652A1 (en) Systems and methods for repositioning vehicles in a ride-hailing platform
WO2018146622A1 (en) Dynamic selection of geo-based service options in a network system
US20220284533A1 (en) Systems and methods for repositioning vehicles in a ride-hailing platform
WO2020244081A1 (en) Constrained spatiotemporal contextual bandits for real-time ride-hailing recommendation
US10989546B2 (en) Method and device for providing vehicle navigation simulation environment
CA3176411A1 (en) Generating accumulating regional metric map user interfaces based on movements of provider device through regions
WO2021016989A1 (en) Hierarchical coarse-coded spatiotemporal embedding for value function evaluation in online multidriver order dispatching
WO2020248213A1 (en) Regularized spatiotemporal dispatching value estimation
CN120584354A (en) Allocation time forecast
CN113450557B (en) Method and device for updating prediction model of vehicle passenger flow
US20220214179A1 (en) Hierarchical Coarse-Coded Spatiotemporal Embedding For Value Function Evaluation In Online Order Dispatching
US20250390644A1 (en) System and method for building an electric vehicle charging network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18943066

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18943066

Country of ref document: EP

Kind code of ref document: A1