A Neural Network for Car-Passenger matching in Ride Hailing Services.

Slides:



Advertisements
Similar presentations
Leena Suhl University of Paderborn, Germany
Advertisements

CS6800 Advanced Theory of Computation
Carthagène A brief introduction to combinatorial optimization: The Traveling Salesman Problem Simon de Givry.
Chapter 11 To accompany Quantitative Analysis for Management, Eleventh Edition, Global Edition by Render, Stair, and Hanna Power Point slides created by.
Wavelength Assignment in Optical Network Design Team 6: Lisa Zhang (Mentor) Brendan Farrell, Yi Huang, Mark Iwen, Ting Wang, Jintong Zheng Progress Report.
An Exact Algorithm for the Vehicle Routing Problem with Backhauls
DOMinant workshop, Molde, September 20-22, 2009
Dynamic Pickup and Delivery with Transfers* P. Bouros 1, D. Sacharidis 2, T. Dalamagas 2, T. Sellis 1,2 1 NTUA, 2 IMIS – RC “Athena” * To appear in SSTD’11.
Vehicle Routing & Scheduling: Part 1
The Min-Max Split Delivery Multi- Depot Vehicle Routing Problem with Minimum Delivery Amounts X. Wang, B. Golden, and E. Wasil INFORMS San Francisco November.
Neural Networks for Optimization William J. Wolfe California State University Channel Islands.
1 Learning to Detect Objects in Images via a Sparse, Part-Based Representation S. Agarwal, A. Awan and D. Roth IEEE Transactions on Pattern Analysis and.
Vehicle Routing & Scheduling
EAs for Combinatorial Optimization Problems BLG 602E.
Ant Colony Optimization Optimisation Methods. Overview.
Vehicle Routing & Scheduling: Part 2 Multiple Routes Construction Heuristics –Sweep –Nearest Neighbor, Nearest Insertion, Savings –Cluster Methods Improvement.
Ant Colony Optimization: an introduction
A Dynamic Messenger Problem Jan Fábry University of Economics Prague
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Toshihide IBARAKI Mikio KUBO Tomoyasu MASUDA Takeaki UNO Mutsunori YAGIURA Effective Local Search Algorithms for the Vehicle Routing Problem with General.
Copyright R. Weber Search in Problem Solving Search in Problem Solving INFO 629 Dr. R. Weber.
LOGO AAIA’2012 \ WCO’ – 12 september, 2012 S. Deleplanque, A. Quilliot. LIMOS, CNRS, BLAISE PASCAL UNIVERSITY, Clermont-Ferrand (FRANCE) Wrocław,
Genetic Algorithms and Ant Colony Optimisation
CAFE router: A Fast Connectivity Aware Multiple Nets Routing Algorithm for Routing Grid with Obstacles Y. Kohira and A. Takahashi School of Computer Science.
Introduction to variable selection I Qi Yu. 2 Problems due to poor variable selection: Input dimension is too large; the curse of dimensionality problem.
The Min-Max Multi-Depot Vehicle Routing Problem: Three-Stage Heuristic and Computational Results X. Wang, B. Golden, and E. Wasil INFORMS Minneapolis October,
UC San Diego / VLSI CAD Laboratory Incremental Multiple-Scan Chain Ordering for ECO Flip-Flop Insertion Andrew B. Kahng, Ilgweon Kang and Siddhartha Nath.
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
1 Optical Packet Switching Techniques Walter Picco MS Thesis Defense December 2001 Fabio Neri, Marco Ajmone Marsan Telecommunication Networks Group
A New Evolutionary Approach for the Optimal Communication Spanning Tree Problem Sang-Moon Soak Speaker: 洪嘉涓、陳麗徽、李振宇、黃怡靜.
1 Genetic Algorithms and Ant Colony Optimisation.
Traveling Salesman Problem (TSP)
1 Presented by Sarbagya Buddhacharya. 2 Increasing bandwidth demand in telecommunication networks is satisfied by WDM networks. Dimensioning of WDM networks.
The Minimum Label Spanning Tree Problem: Illustrating the Utility of Genetic Algorithms Yupei Xiong, Univ. of Maryland Bruce Golden, Univ. of Maryland.
Example Apply hierarchical clustering with d min to below data where c=3. Nearest neighbor clustering d min d max will form elongated clusters!
Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008.
A Presentation on Adaptive Neuro-Fuzzy Inference System using Particle Swarm Optimization and it’s Application By Sumanta Kundu (En.R.No.
Network Analyst. Network A network is a system of linear features that has the appropriate attributes for the flow of objects. A network is typically.
Attention Model in NLP Jichuan ZENG.
Convolutional Sequence to Sequence Learning
Online Routing Optimization at a Very Large Scale
Scientific Research Group in Egypt (SRGE)
Dynamic Pickup and Delivery with Transfers
CS 388: Natural Language Processing: LSTM Recurrent Neural Networks
CS 4501: Introduction to Computer Vision Computer Vision + Natural Language Connelly Barnes Some slides from Fei-Fei Li / Andrej Karpathy / Justin Johnson.
Greedy Technique.
Local Container Truck Routing Problem with its Operational Flexibility Kyungsoo Jeong, Ph.D. Candidate University of California, Irvine Local container.
Neural Machine Translation by Jointly Learning to Align and Translate
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Comparing Genetic Algorithm and Guided Local Search Methods
Hybrid computing using a neural network with dynamic external memory
Design and Analysis of Computer Algorithm (CS575-01)
metaheuristic methods and their applications
Example: Applying EC to the TSP Problem
Incremental Training of Deep Convolutional Neural Networks
TransCAD Vehicle Routing 2018/11/29.
Final Presentation: Neural Network Doc Summarization
Fine-Grained Complexity Analysis of Improving Traveling Salesman Tours
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
The use of Neural Networks to schedule flow-shop with dynamic job arrival ‘A Multi-Neural Network Learning for lot Sizing and Sequencing on a Flow-Shop’
Planning the transportation of elderly to a daycare center
Generating and Solving Very Large-Scale Vehicle Routing Problems
Chapter 6 Network Flow Models.
Attention.
The Greedy Approach Young CS 530 Adv. Algo. Greedy.
Spanning Trees Lecture 20 CS2110 – Spring 2015.
Sequence-to-Sequence Models
Presentation transcript:

A Neural Network for Car-Passenger matching in Ride Hailing Services. Karim Akhnoukh Technische Universität München Fakultät für Informatics Lehrstuhl für Connected Mobility Ort, Datum (Garching: 12. June 2019)

Outline Introduction Literature Review Methodology Results Conclusion Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Outline Introduction Literature Review Methodology Results Conclusion Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Introduction Traveling Salesman Problem (TSP) Shortest path to traverse all locations NP hard Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Introduction Traveling Salesman Problem (TSP) Vehicle Routing Problem (VRP) One start and end depot Time constraint Capacity constraint Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Introduction Traveling Salesman Problem (TSP) Vehicle Routing Problem (VRP) Car-Passenger matching in Ride Hailing Many cars Different depots locations Time constraints Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Motivation Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Publication: Patents: A. Sayed, K. Akhnoukh and K. Bogenberger (2019) "Neural Network based Large Neighborhood Search Algorithm for Ride Hailing Services“. EPIA conference on Artificial Intelligence. Patents: Recurrent Neural Network based vehicle assignment for On Demand Mobility Services Recurrent Neural Network based insertion for Adaptive Large Neighborhood Search algorithm for On Demand Mobility Services Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Outline Literature Review Introduction Methodology Results Conclusion Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Sequence to Sequence Network [1] Variable length input to variable length output Output dictionary of fixed size C B A EOS Input vector Encoder Decoder W X Y Z Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Pointer Network [2] Output size depends on input Combinatorial optimization problems such as TSP X1 X2 X3 X4 Encoder Decoder Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Reinforcement learning for VRP [3] Based on Ptr-Net Replace the LSTM encoder with an embedding layer Added dynamic features Tested for CVRP with 1 car and up to 100 requests Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Outline Methodology Introduction Literature Review Results Conclusion Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Problem Formulation Multi objective function: Subjected to: 1. 2. 3. Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Large Neighborhood Search (LNS) Problem: Put maximum coins in the jar Initial insert Shake the solution Remove some coins Move to and from Repeat insert LNS: Build initial solution Shake solution Repeat above two steps until stopping condition LNS for Vehicle Routing Problem Insert new requests Remove some requests (Shake Phase) Keep repeating until stop condition Insertion and removal operators determine solution quality Initial solution Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Neural Network Architecture Modifications to [3]: Supervised learning technique Multiple vehicles Pickup time windows for requests Multiple slots per vehicle Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Neural Network Architecture Modifications to [3]: Multiple vehicles Pickup time windows for requests Multiple slots per vehicle Input sets: Requests Vehicles Slots Input size: Number of Reqs × Number of vehicles × Number of slots Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Neural Network Architecture 0.3 1e-5 0.05 0.25 ……... 3e-6 Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Outline Results Introduction Literature Review Methodology Conclusion Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Experimental Details Requests are generated from NYC Taxi dataset [4] Distances Matrix is obtained using OSRM [5] For training, 1000 Instances for different problem sizes are solved using LNS: m10 l20 m10 l30 m10 l40 For testing, 10 instances of each: m10 l20 m15 l60 m10 l30 m20 l80 m10 l40 m25 l100 Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

NN model vs Heuristics Initial solution with one iteration of: Greedy: chooses the assignment of smallest incremental cost 2-regret: chooses the assignment that we will regret the most if not chosen. Compared to solutions solved by LNS with 2000 iteration Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Insertion operator inside LNS Solve the test set by LNS with using different insertion operators : NN Greedy 2-regret Obtain the solution quality as follows: Solve each problem with NN, greedy and 2-regret as insertion strategy, 5 times each Choose the best solution for each of the 10 example (out of the 15 solution) Take the average of five solutions for each insertion strategy Compare the average solution with the best solution. Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Adding the NN model to ALNS Three solvers: LNSNN: contains only NN as insertion operator ALNS3: contains NN, greedy, 2-regret as insertion ops ALNS2: contains greedy, 2-regret as insertion ops Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Outline Conclusion Introduction Literature Review Methodology Results Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Summary Modifications to [3]: Add more vehicles Introduce time constraint per request Add multiple slots per vehicle four dynamic feature, no static ones Supervised learning with modified loss function Comparisons: One iteration versus other heuristics Insertion method to LNS Insertion methd to ALNS Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Future work Try other decoding strategies Adapt the model to other routing problems Add the model to a real-time dynamic environment Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

References [1] Sutskever, I., Vinyals, O., & Le, Q. V. (2014). Sequence to Sequence Learning with Neural Networks. ArXiv:1409.3215 [Cs]. Retrieved from http://arxiv.org/abs/1409.3215 [2] Vinyals, O., Fortunato, M., & Jaitly, N. (2015). Pointer Networks. ArXiv:1506.03134 [Cs, Stat]. Retrieved from http://arxiv.org/abs/1506.03134 [3] Nazari, Mohammadreza, et al. "Reinforcement Learning for Solving the Vehicle Routing Problem." Advances in Neural Information Processing Systems. 2018. [4] https:// www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page. [5] http://project-osrm.org/. Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Questions!

Backup slides

Neural Network Architecture Features: Cost of insertion Number of outgoing edges Number of available cars Regret function Loss function: Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Different trained models All problem instances at once 4 features Slot length 6 Model2: Trained on every problem size individually. 4 features. Model3: Slot length 1 Model4: 3 features Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Comparison summary All solvers: LNSNN: contains only NN as an insertion operator LNSgreedy: contains only the greedy heuristic as an insertion operator LNSregret: contains only the 2-regret heuristic as an insertion operator ALNS3: contains NN, greedy, 2-regret as insertion ops ALNS2: contains greedy, 2-regret as insertion ops Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services

Neural Network Architecture Embedding: maps input to higher dimension Attention layer: produces softmax probability over the inputs. Mask: eliminates the invalid assignments. Greedy decoder: chooses the input with highest probability to be the next output. RNN decoder: stores the output assignments. Karim Akhnoukh (TUM)| M.Sc. Thesis | NN for Car-Passenger matching in RH services