GenMatch: An End-to-End Generative Matching Framework for Micro-View Order-Dispatching in Ride-Hailing
Summary
GenMatch is an end-to-end generative matching framework for micro-view order-dispatching in ride-hailing, addressing challenges like batch encoding and utility learning to improve dispatch quality, with demonstrated effectiveness in real-world tests.
View Cached Full Text
Cached at: 08/21/26, 10:02 AM
# GenMatch: An End-to-End Generative Matching Framework for Micro-View Order-Dispatching in Ride-Hailing Source: [https://arxiv.org/html/2608.19751](https://arxiv.org/html/2608.19751) Chuang Liu,Yuxueqing ZhangAffiliation:Didi Chuxing,Beijing,Chinaemail:[zhangyuxueqing@didiglobal\.com](mailto:[email protected]),Tengfei LyuAffiliation:The Hong Kong University of Science and Technology \(Guangzhou\),Guangzhou,Chinaemail:[tlyu077@connect\.hkust\-gz\.edu\.cn](mailto:[email protected]),Zirui YuanAffiliation:The Hong Kong University of Science and Technology \(Guangzhou\),Guangzhou,Chinaemail:[zyuan779@connect\.hkust\-gz\.edu\.cn](mailto:[email protected]),Weiqi HuAffiliation:Didi Chuxing,Beijing,Chinaemail:[huweiqi@didiglobal\.com](mailto:[email protected]),Yanghan ChengAffiliation:Didi Chuxing,Beijing,Chinaemail:[chengyanghan@didiglobal\.com](mailto:[email protected]),Ming WangAffiliation:Didi Chuxing,Beijing,Chinaemail:[nicholaswangming@didiglobal\.com](mailto:[email protected]),Li MaAffiliation:Didi Chuxing,Beijing,Chinaemail:[malimarey@didiglobal\.com](mailto:[email protected])andZihao LuNote:Corresponding author\.Affiliation:Didi Chuxing,Beijing,Chinaemail:[luzihao@didiglobal\.com](mailto:[email protected]) © none ###### Abstract\. Micro\-View Order\-Dispatching assigns available drivers to passenger orders within each dispatch batch\. It is critical to the service quality and operational efficiency of ride\-hailing platforms\. Mainstream industrial solutions follow a multi\-stage paradigm consisting of model prediction, value calculation, and dispatch matching\. Although dispatch quality is determined by the final batch\-level assignment, these stages optimize different intermediate objectives\. This creates cross\-stage objective inconsistency, so improving any single stage does not necessarily improve the overall dispatch result\. Generative modeling offers a natural solution by mapping the system context directly to the final output\. Motivated by this capability, we formulate Micro\-View Order\-Dispatching as a generative matching problem and propose an end\-to\-endGenerativeMatching framework \(GenMatch\), the first generative framework for this task to be deployed in a real\-world production environment\. However, applying generative modeling to this problem introduces three challenges\. First, the model must encode an entire dispatch batch, but each batch forms a dynamic sparse bipartite graph, requiring efficient structured batch\-level encoding\. Second, replacing the hand\-crafted value function requires learning unified business utility from heterogeneous feedback\. Third, directly generating an assignment requires tracking the evolving matching state because every selected order\-driver pair changes the remaining feasible candidates\. GenMatch addresses these challenges through a Context\-Aware Bipartite Encoder, a Business\-Aware Utility Learner, and a State\-Aware Pointer Decoder\. Extensive offline evaluations and online A/B tests in five cities across DiDi’s international ride\-hailing markets demonstrate consistent improvements over competitive baselines, confirming the effectiveness and practicality of GenMatch for industrial order\-dispatching\. ###### Keywords: Ride\-Hailing; Micro\-View Order\-Dispatching; Generative Matching; Sequential Decision Making; Figure 1\.Comparison of\(a\)the end\-to\-end generative paradigm and\(b\)the conventional multi\-stage paradigm for Micro\-View Order\-Dispatching\.\(a\) The proposed end\-to\-end generative dispatch framework, which models each dispatch batch as a whole and directly generates the dispatch result in an autoregressive manner\. \(b\) The conventional multi\-stage dispatch paradigm, which performs pair\-level prediction, value calculation, and dispatch matching in separate stages\.## 1\.Introduction Order\-dispatching refers to assigning passengers’ orders to available drivers in real time\. It directly affects passenger and driver experience, which in turn influences platform revenue\. Therefore, it is a core process of ride\-hailing platforms\. Existing studies take two complementary views\([34](https://arxiv.org/html/2608.19751#bib.bib5)\)\. The Macro\-View values and coordinates current decisions under long\-term supply–demand evolution\([29](https://arxiv.org/html/2608.19751#bib.bib1);[15](https://arxiv.org/html/2608.19751#bib.bib2);[22](https://arxiv.org/html/2608.19751#bib.bib3)\)\. In contrast, the Micro\-View considers short\-term, real\-time assignment within a city\. At each fixed dispatch interval, the system collects available orders and drivers; every feasible order\-driver combination forms an order\-driver \(OD\) pair, and together they constitute a dispatch batch\. Selecting one\-to\-one assignments from this batch under strict latency constraints is termedMicro\-ViewOrder\-Dispatching \(MICOD\)\. Mainstream industrial MICOD solutions follow the multi\-stage paradigm in Figure[1](https://arxiv.org/html/2608.19751#acmlabel1)\(b\), operating on a single feasible OD pair \(pair\-level\) and the entire dispatch batch \(batch\-level\)\. They predict pair\-level business signals, such as the probabilities of driver answer \(DA\), passenger cancellation after answer \(PCAA\), and driver cancellation after answer \(DCAA\); aggregate them into matching weights with a hand\-crafted value function; and apply a batch\-level solver such as Kuhn–Munkres matching\([10](https://arxiv.org/html/2608.19751#bib.bib6);[14](https://arxiv.org/html/2608.19751#bib.bib7)\)\. Although practical, separately optimizing these stages creates*cross\-stage objective inconsistency*: better intermediate predictions or weights need not improve the final assignment\. Generative models address the same issue by mapping context directly to final outputs in search and query suggestion\([1](https://arxiv.org/html/2608.19751#bib.bib17);[5](https://arxiv.org/html/2608.19751#bib.bib16)\), recommendation\([3](https://arxiv.org/html/2608.19751#bib.bib10);[40](https://arxiv.org/html/2608.19751#bib.bib23)\), and advertising\([30](https://arxiv.org/html/2608.19751#bib.bib22)\)\. We therefore formulate MICOD as end\-to\-end generation of an assignment from the complete dispatch batch\. This formulation must recover the three capabilities of the replaced pipeline: representing candidates, combining heterogeneous business objectives, and constructing a feasible batch\-level matching\. This yields three domain\-specific challenges\. C1: Structured batch\-level encoding of a dynamic sparse bipartite graph\.Unlike independent pair\-level models, a generative model must encode the entire dispatch batch\. Its bipartite graph varies in orders, drivers, and feasible OD pairs and is highly sparse, requiring structured batch\-level encoding that preserves online computational efficiency\. C2: Learning unified business utility from heterogeneous feedback\.Replacing manually tuned value rules requires learning business utility directly\. Yet generation targets do not fully express outcomes such as DA, PCAA, and DCAA, whose different semantics and directions must be integrated into stable, unified guidance\. C3: Generating batch\-level assignments under an evolving matching state\.Dispatch is evaluated by its joint assignment rather than individual pair scores\. During generation, selecting one OD pair invalidates every pair sharing its order or driver and changes the remaining opportunities, requiring an evolving state that supports feasible, batch\-coordinated decisions\. To address them, we proposeGenerativeMatching \(GenMatch\), which maps a dispatch batch directly to an assignment sequence through the encoder–decoder paradigm in Figure[1](https://arxiv.org/html/2608.19751#acmlabel1)\(a\)\. Its Context\-Aware Bipartite Encoder performs sparse message passing over feasible OD edges; its Business\-Aware Utility Learner uses auxiliary supervision to derive business guidance from heterogeneous outcomes; and its State\-Aware Pointer Decoder tracks selected and residual candidates while dynamically masking infeasible pairs\. Together, they support end\-to\-end generation under MICOD’s structural, business, and matching constraints\. The main contributions are summarized as follows\. - •To the best of our knowledge, we propose the first end\-to\-end generative framework for MICOD deployed in a real\-world production environment\. It directly generates the assignment from an entire dispatch batch and avoids the cross\-stage objective inconsistency\. - •We develop three components for generative matching: a Context\-Aware Bipartite Encoder to efficiently encode dynamic sparse bipartite graphs, a Business\-Aware Utility Learner to learn unified utility from heterogeneous feedback, and a State\-Aware Pointer Decoder to generate feasible assignments under an evolving matching state\. - •We conduct extensive offline evaluations and online A/B tests in five cities across DiDi’s international ride\-hailing markets\. The results demonstrate consistent improvements over competitive baselines and confirm the effectiveness and practical value of GenMatch in production systems\. ## 2\.Related Work ### 2\.1\.Ride\-Hailing Order\-Dispatching Effective order\-dispatching improves service quality and platform efficiency\. Macro\-View studies optimize long\-term demand–supply dynamics through regional value learning\([29](https://arxiv.org/html/2608.19751#bib.bib1);[21](https://arxiv.org/html/2608.19751#bib.bib28);[22](https://arxiv.org/html/2608.19751#bib.bib3)\), online or offline reinforcement learning\([18](https://arxiv.org/html/2608.19751#bib.bib13);[37](https://arxiv.org/html/2608.19751#bib.bib4)\), knowledge\-enhanced dispatch control\([7](https://arxiv.org/html/2608.19751#bib.bib36)\), and multi\-agent regional cooperation\([31](https://arxiv.org/html/2608.19751#bib.bib27);[9](https://arxiv.org/html/2608.19751#bib.bib14);[25](https://arxiv.org/html/2608.19751#bib.bib15)\)\. Micro\-View studies make decisions within the current dispatch batch through three paradigms\. Policy\-based methods such as CoRide and CoopRide produce regional or grid\-level actions rather than complete OD\-pair assignments\([9](https://arxiv.org/html/2608.19751#bib.bib14);[25](https://arxiv.org/html/2608.19751#bib.bib15)\)\. D2SN sequentially selects OD pairs or hold actions using a two\-layer Markov decision process and an encoder–decoder reinforcement\-learning policy\([34](https://arxiv.org/html/2608.19751#bib.bib5)\), but lacks explicit OD\-pair interaction modeling and direct supervision from heterogeneous business outcomes\. The industrial multi\-stage paradigm predicts pair\-level signals, calculates matching weights, and applies Greedy\([38](https://arxiv.org/html/2608.19751#bib.bib26)\), Kuhn–Munkres\([10](https://arxiv.org/html/2608.19751#bib.bib6);[14](https://arxiv.org/html/2608.19751#bib.bib7)\), or Gale–Shapley\([4](https://arxiv.org/html/2608.19751#bib.bib12)\)matching\. Related systems use deep graph learning for constrained matchmaking and courier pooling\([20](https://arxiv.org/html/2608.19751#bib.bib29);[13](https://arxiv.org/html/2608.19751#bib.bib30)\), but address generic matchmaking or many\-to\-one assignment rather than one\-to\-one MICOD\. GenMatch instead unifies batch encoding, business\-utility learning, and feasible assignment generation\. ### 2\.2\.Generative Modeling Generative modeling produces a target sequence autoregressively from its context instead of scoring only predefined outputs, supporting large or variable output spaces\. Industrial systems have applied this formulation to item generation and large\-scale sequential recommendation\([16](https://arxiv.org/html/2608.19751#bib.bib8);[36](https://arxiv.org/html/2608.19751#bib.bib9)\), food\-delivery and e\-commerce recommendation\([6](https://arxiv.org/html/2608.19751#bib.bib18);[42](https://arxiv.org/html/2608.19751#bib.bib19)\), and multi\-business, local\-life, and advertising scenarios\([11](https://arxiv.org/html/2608.19751#bib.bib20);[28](https://arxiv.org/html/2608.19751#bib.bib21);[30](https://arxiv.org/html/2608.19751#bib.bib22)\)\. Distributed training systems further scale generative recommendation to industrial workloads\([27](https://arxiv.org/html/2608.19751#bib.bib41)\)\. Recent extensions combine behavioral and semantic information, generate long semantic identifiers in parallel, or apply semantic identifiers to next\-point\-of\-interest recommendation\([26](https://arxiv.org/html/2608.19751#bib.bib31);[8](https://arxiv.org/html/2608.19751#bib.bib33);[24](https://arxiv.org/html/2608.19751#bib.bib34)\)\. Other studies address the training–inference gap through prefix\-aware optimization or combine diffusion with knowledge\-graph reasoning\([33](https://arxiv.org/html/2608.19751#bib.bib39);[39](https://arxiv.org/html/2608.19751#bib.bib42)\)\. Reasoning\-augmented language models further support generative next\-point\-of\-interest recommendation\([41](https://arxiv.org/html/2608.19751#bib.bib38)\)\. Non\-autoregressive generation has also been explored for reranking, while large language models connect quality\-aware ranking with candidate generation at web scale\([17](https://arxiv.org/html/2608.19751#bib.bib32);[19](https://arxiv.org/html/2608.19751#bib.bib35)\)\. Generative methods also reduce cross\-stage objective inconsistency by replacing retrieval and ranking with direct recommendation generation\([3](https://arxiv.org/html/2608.19751#bib.bib10);[40](https://arxiv.org/html/2608.19751#bib.bib23)\), unifying e\-commerce search and query suggestion\([1](https://arxiv.org/html/2608.19751#bib.bib17);[2](https://arxiv.org/html/2608.19751#bib.bib24);[5](https://arxiv.org/html/2608.19751#bib.bib16)\), or jointly training retrieval and ranking\([12](https://arxiv.org/html/2608.19751#bib.bib25)\)\. Multi\-stage alignment further learns preferences from clicks for generative query suggestion\([32](https://arxiv.org/html/2608.19751#bib.bib40)\), while reinforcement learning improves relevance within generative search ranking\([35](https://arxiv.org/html/2608.19751#bib.bib37)\)\. Pointer Networks show that structured solutions can be generated by selecting elements from a variable\-size input set\([23](https://arxiv.org/html/2608.19751#bib.bib11)\)\. MICOD shares this structure, but its candidates form a dynamic sparse bipartite graph whose feasible set changes after every selection\. GenMatch extends pointer generation to construct a complete one\-to\-one matching from such a dispatch batch\. Figure 2\.GenMatch architecture: \(a\) Context\-Aware Bipartite Encoder, \(b\) Business\-Aware Utility Learner, and \(c\) State\-Aware Pointer Decoder\.The GenMatch architecture consists of a Context\-Aware Bipartite Encoder, a Business\-Aware Utility Learner, and a State\-Aware Pointer Decoder\. The decoder updates the selected and residual matching states after generating each OD pair\. ## 3\.Preliminary In this section, we first describe the MICOD process and introduce the corresponding business concepts and notation\. We then formulate MICOD as a batch\-level matching problem and present its generative formulation\. MICOD Business Process\.A ride\-hailing platform triggers dispatch at fixed intervals\. At dispatch steptt, the platform first collects the currently available passenger orders and drivers\. Let𝒪t=\{o1,…,oNto\}\\mathcal\{O\}\_\{t\}=\\\{o\_\{1\},\\dots,o\_\{N\_\{t\}^\{o\}\}\\\}and𝒟t=\{d1,…,dNtd\}\\mathcal\{D\}\_\{t\}=\\\{d\_\{1\},\\dots,d\_\{N\_\{t\}^\{d\}\}\\\}denote the order and driver sets, respectively\. Their sizes vary across dispatch steps\. The upstream system then filters infeasible combinations according to pickup distance, service range, and other business rules\. The remaining feasible OD pairs form the candidate setℰt⊆𝒪t×𝒟t\\mathcal\{E\}\_\{t\}\\subseteq\\mathcal\{O\}\_\{t\}\\times\\mathcal\{D\}\_\{t\}\. Together, the orders, drivers, and candidate OD pairs constitute a*dispatch batch*, represented as a dynamic sparse bipartite graph \(1\)𝒢t=\(𝒪t,𝒟t,ℰt\),\\mathcal\{G\}\_\{t\}=\(\\mathcal\{O\}\_\{t\},\\mathcal\{D\}\_\{t\},\\mathcal\{E\}\_\{t\}\),where each candidate edgeeij=\(oi,dj\)∈ℰte\_\{ij\}=\(o\_\{i\},d\_\{j\}\)\\in\\mathcal\{E\}\_\{t\}denotes a feasible OD pair\. LetPt=\|ℰt\|P\_\{t\}=\|\\mathcal\{E\}\_\{t\}\|be the number of candidate OD pairs\. We index these edges asℰt=\{e1,…,ePt\}\\mathcal\{E\}\_\{t\}=\\\{e\_\{1\},\\ldots,e\_\{P\_\{t\}\}\\\}, where eachere\_\{r\}corresponds to an edgeeije\_\{ij\}\. Each order, driver, and candidate edge is associated with a feature vector𝐱io∈ℝdo\\mathbf\{x\}\_\{i\}^\{o\}\\in\\mathbb\{R\}^\{d\_\{o\}\},𝐱jd∈ℝdd\\mathbf\{x\}\_\{j\}^\{d\}\\in\\mathbb\{R\}^\{d\_\{d\}\}, and𝐱ije∈ℝde\\mathbf\{x\}\_\{ij\}^\{e\}\\in\\mathbb\{R\}^\{d\_\{e\}\}, respectively\. These feature vectors encode spatiotemporal, behavioral, and business signals \(e\.g\., pickup time and platform revenue\)\. The dispatch system takes the complete dispatch batch𝒢t\\mathcal\{G\}\_\{t\}as input and selects a set of OD pairsℳt⊆ℰt\\mathcal\{M\}\_\{t\}\\subseteq\\mathcal\{E\}\_\{t\}for assignment\. Each selected pair is broadcast to its driver and enters a stage\-wise service process\. The driver decides whether to answer\. After an answer, the passenger or driver may cancel; the trip is completed only if neither side cancels\. This process produces DA, PCAA, DCAA, and trip\-completion outcomes\. For each broadcast paireije\_\{ij\},𝐲ij\\mathbf\{y\}\_\{ij\}records these events\. The multi\-task labels follow this service dependency, and downstream events can occur only after driver answer\. Unbroadcast candidates have no observed service\-process labels and are excluded from the auxiliary loss\. Let𝒞t⊆ℳt\\mathcal\{C\}\_\{t\}\\subseteq\\mathcal\{M\}\_\{t\}denote the set of OD pairs that complete their trips\. The completed set𝒞t\\mathcal\{C\}\_\{t\}is later used to construct the target sequence for generative training\. Candidate retrieval and feasibility filtering are provided by the existing upstream system and are outside the scope of this work\. MICOD Problem Formulation\.LetU\(ℳt,𝒢t\)U\(\\mathcal\{M\}\_\{t\};\\mathcal\{G\}\_\{t\}\)denote the business utility of assignmentℳt\\mathcal\{M\}\_\{t\}within dispatch batch𝒢t\\mathcal\{G\}\_\{t\}\. It captures the joint quality of the assignment through outcomes such as DA, PCAA, DCAA, trip completion, pickup time, and platform revenue\. Because selected OD pairs compete for shared orders and drivers, this utility is defined over the complete assignment rather than independent pairs\. The MICOD objective is to find the feasible matching with the highest batch\-level assignment utility: \(2\)ℳt∗=argmaxℳt∈ℱ\(𝒢t\)U\(ℳt,𝒢t\),\\mathcal\{M\}\_\{t\}^\{\*\}=\\arg\\max\_\{\\mathcal\{M\}\_\{t\}\\in\\mathcal\{F\}\(\\mathcal\{G\}\_\{t\}\)\}U\(\\mathcal\{M\}\_\{t\};\\mathcal\{G\}\_\{t\}\),whereℱ\(𝒢t\)\\mathcal\{F\}\(\\mathcal\{G\}\_\{t\}\)is the set of feasible matchings over𝒢t\\mathcal\{G\}\_\{t\}\. Each order and each driver can appear in at most one selected OD pair: \(3\)∑j𝕀\(\(oi,dj\)∈ℳt\)\\displaystyle\\sum\_\{j\}\\mathbb\{I\}\\\!\\big\(\(o\_\{i\},d\_\{j\}\)\\in\\mathcal\{M\}\_\{t\}\\big\)≤1,\\displaystyle\\leq 1,∀oi∈𝒪t,\\displaystyle\\forall o\_\{i\}\\in\\mathcal\{O\}\_\{t\},∑i𝕀\(\(oi,dj\)∈ℳt\)\\displaystyle\\sum\_\{i\}\\mathbb\{I\}\\\!\\big\(\(o\_\{i\},d\_\{j\}\)\\in\\mathcal\{M\}\_\{t\}\\big\)≤1,\\displaystyle\\leq 1,∀dj∈𝒟t\.\\displaystyle\\forall d\_\{j\}\\in\\mathcal\{D\}\_\{t\}\.Here,𝕀\(⋅\)\\mathbb\{I\}\(\\cdot\)is the indicator function\. The matching must also be produced within a strict online latency budget\. The conventional multi\-stage paradigm approximates this objective by predicting pair\-level signals, converting them into matching weights through a hand\-crafted value function, and applying a matching solver\. In this work, end\-to\-end means that model prediction, value calculation, and dispatch matching are replaced by one jointly trained model\. Generative MICOD Formulation\.GenMatch constructs the assignment directly through sequential generation over the candidate OD pairs\. An assignmentℳt\\mathcal\{M\}\_\{t\}can be represented by an ordered generation sequence \(4\)𝒴t=\(et\(1\),et\(2\),…,et\(Kt\)\),\\mathcal\{Y\}\_\{t\}=\\left\(e\_\{t\}^\{\(1\)\},e\_\{t\}^\{\(2\)\},\\dots,e\_\{t\}^\{\(K\_\{t\}\)\}\\right\),whereKt=\|ℳt\|K\_\{t\}=\|\\mathcal\{M\}\_\{t\}\|and the set of generated OD pairs equalsℳt\\mathcal\{M\}\_\{t\}\. The sequence specifies how the matching is constructed; the final dispatch result is the resulting set rather than a generation order\. At generation stepkk, the model selects one candidateet\(k\)e\_\{t\}^\{\(k\)\}from the residual graph𝒢t\(k\)\\mathcal\{G\}\_\{t\}^\{\(k\)\}\. All candidates sharing its order or driver then become infeasible and are removed before the next step\. The probability of the complete assignment sequence is factorized as \(5\)Pr\(𝒴t∣𝒢t\)=∏k=1KtPr\(et\(k\)∣𝒢t\(k\),et\(<k\)\),\\Pr\(\\mathcal\{Y\}\_\{t\}\\mid\\mathcal\{G\}\_\{t\}\)=\\prod\_\{k=1\}^\{K\_\{t\}\}\\Pr\\\!\\left\(e\_\{t\}^\{\(k\)\}\\mid\\mathcal\{G\}\_\{t\}^\{\(k\)\},e\_\{t\}^\{\(<k\)\}\\right\),whereet\(<k\)e\_\{t\}^\{\(<k\)\}denotes the selected OD pairs\. GenMatch learns to map the complete dispatch batch directly to a feasible assignment while conditioning each decision on the evolving matching state\. The next section presents how this formulation is instantiated\. ## 4\.Methods Figure[2](https://arxiv.org/html/2608.19751#acmlabel2)presents the Context\-Aware Bipartite Encoder, Business\-Aware Utility Learner, and State\-Aware Pointer Decoder in panels \(a\), \(b\), and \(c\), respectively\. They model matching and competition information, learn business\-aware candidate representations and utility logits, and generate assignments under the evolving matching state\. We follow Section[3](https://arxiv.org/html/2608.19751#S3)and omitttwhen clear;ere\_\{r\}denotes therr\-th candidate edge, whereaseije\_\{ij\}emphasizes its endpoints\. ### 4\.1\.Context\-Aware Bipartite Encoder The suitability of an OD pair depends not only on its own features but also on the other candidates sharing its order or driver\. The Context\-Aware Bipartite Encoder in Figure[2](https://arxiv.org/html/2608.19751#acmlabel2)\(a\) therefore models batch\-level matching and competition relationships over the complete candidate graph\. It first summarizes candidates competing at each endpoint, then evaluates potential matches under this competitive context\. #### 4\.1\.1\.Input Representation The encoder takes𝒢t\\mathcal\{G\}\_\{t\}and transforms its raw order, driver, and candidate\-edge features𝐱io\\mathbf\{x\}\_\{i\}^\{o\},𝐱jd\\mathbf\{x\}\_\{j\}^\{d\}, and𝐱ije\\mathbf\{x\}\_\{ij\}^\{e\}with separate tokenizers\. The resultingdd\-dimensional embeddings𝐡io,0\\mathbf\{h\}\_\{i\}^\{o,0\},𝐡jd,0\\mathbf\{h\}\_\{j\}^\{d,0\}, and𝐡ije,0\\mathbf\{h\}\_\{ij\}^\{e,0\}initialize the sparse bipartite encoder\. #### 4\.1\.2\.Sparse Matching and Competition Modeling The encoder stacksLencL\_\{\\mathrm\{enc\}\}sparse layers\. Layerl∈\{1,…,Lenc\}l\\in\\\{1,\\ldots,L\_\{\\mathrm\{enc\}\}\\\}maps order, driver, and edge states with superscriptl−1l\-1to those with superscriptll, first summarizing competitors and then evaluating matches under that context\. Let𝒩\(oi\)\\mathcal\{N\}\(o\_\{i\}\)and𝒩\(dj\)\\mathcal\{N\}\(d\_\{j\}\)denote the candidate neighbors of orderoio\_\{i\}and driverdjd\_\{j\}\. For each edgeeije\_\{ij\}incident to driverdjd\_\{j\},𝐫i→jl=𝐡io,l−1\+𝐡ije,l−1\\mathbf\{r\}\_\{i\\rightarrow j\}^\{l\}=\\mathbf\{h\}\_\{i\}^\{o,l\-1\}\+\\mathbf\{h\}\_\{ij\}^\{e,l\-1\}carries order and edge information\. Let𝐖q,cd,l\\mathbf\{W\}\_\{q,c\}^\{d,l\},𝐖k,cd,l\\mathbf\{W\}\_\{k,c\}^\{d,l\}, and𝐖v,cd,l\\mathbf\{W\}\_\{v,c\}^\{d,l\}be the competition\-attention projections\. We also use a shared degree embedding matrix𝐄deg∈ℝ\(Dmax\+1\)×d\\mathbf\{E\}\_\{\\mathrm\{deg\}\}\\in\\mathbb\{R\}^\{\(D\_\{\\max\}\+1\)\\times d\}, whereDmaxD\_\{\\max\}is the maximum retained candidate degree; its indexed row represents neighborhood size\. We show one head below, while the implementation concatenates multiple heads\. Aggregating𝐫i→jl\\mathbf\{r\}\_\{i\\rightarrow j\}^\{l\}over𝒩\(dj\)\\mathcal\{N\}\(d\_\{j\}\)gives competition information𝐜jd,l\\mathbf\{c\}\_\{j\}^\{d,l\}: \(6\)βijd,l\\displaystyle\\beta\_\{ij\}^\{d,l\}=softmaxoi∈𝒩\(dj\)\(\(𝐖q,cd,l𝐡jd,l−1\)⊤\(𝐖k,cd,l𝐫i→jl\)d\),\\displaystyle=\\mathrm\{softmax\}\_\{o\_\{i\}\\in\\mathcal\{N\}\(d\_\{j\}\)\}\\\!\\left\(\\frac\{\(\\mathbf\{W\}\_\{q,c\}^\{d,l\}\\mathbf\{h\}\_\{j\}^\{d,l\-1\}\)^\{\\top\}\(\\mathbf\{W\}\_\{k,c\}^\{d,l\}\\mathbf\{r\}\_\{i\\rightarrow j\}^\{l\}\)\}\{\\sqrt\{d\}\}\\right\),𝐜jd,l\\displaystyle\\mathbf\{c\}\_\{j\}^\{d,l\}=∑oi∈𝒩\(dj\)βijd,l𝐖v,cd,l𝐫i→jl\+𝐄deg\[\|𝒩\(dj\)\|\]\.\\displaystyle=\\sum\_\{o\_\{i\}\\in\\mathcal\{N\}\(d\_\{j\}\)\}\\beta\_\{ij\}^\{d,l\}\\mathbf\{W\}\_\{v,c\}^\{d,l\}\\mathbf\{r\}\_\{i\\rightarrow j\}^\{l\}\+\\mathbf\{E\}\_\{\\mathrm\{deg\}\}\\\!\\left\[\|\\mathcal\{N\}\(d\_\{j\}\)\|\\right\]\.Attention captures neighborhood composition, while the degree embedding preserves its size\. Order\-side competition information𝐜io,l\\mathbf\{c\}\_\{i\}^\{o,l\}is computed symmetrically from𝐫j→il=𝐡jd,l−1\+𝐡ije,l−1\\mathbf\{r\}\_\{j\\rightarrow i\}^\{l\}=\\mathbf\{h\}\_\{j\}^\{d,l\-1\}\+\\mathbf\{h\}\_\{ij\}^\{e,l\-1\}over𝒩\(oi\)\\mathcal\{N\}\(o\_\{i\}\)\. We incorporate competition into each candidate representation as𝐳j→il=𝐡jd,l−1\+𝐡ije,l−1\+𝐜jd,l\\mathbf\{z\}\_\{j\\rightarrow i\}^\{l\}=\\mathbf\{h\}\_\{j\}^\{d,l\-1\}\+\\mathbf\{h\}\_\{ij\}^\{e,l\-1\}\+\\mathbf\{c\}\_\{j\}^\{d,l\}, with𝐳i→jl\\mathbf\{z\}\_\{i\\rightarrow j\}^\{l\}defined symmetrically\. Using matching\-attention projections𝐖q,mo,l\\mathbf\{W\}\_\{q,m\}^\{o,l\},𝐖k,mo,l\\mathbf\{W\}\_\{k,m\}^\{o,l\}, and𝐖v,mo,l\\mathbf\{W\}\_\{v,m\}^\{o,l\}, their aggregation over drivers produces matching information𝐦io,l\\mathbf\{m\}\_\{i\}^\{o,l\}: \(7\)αijo,l\\displaystyle\\alpha\_\{ij\}^\{o,l\}=softmaxdj∈𝒩\(oi\)\(\(𝐖q,mo,l𝐡io,l−1\)⊤\(𝐖k,mo,l𝐳j→il\)d\),\\displaystyle=\\mathrm\{softmax\}\_\{d\_\{j\}\\in\\mathcal\{N\}\(o\_\{i\}\)\}\\\!\\left\(\\frac\{\(\\mathbf\{W\}\_\{q,m\}^\{o,l\}\\mathbf\{h\}\_\{i\}^\{o,l\-1\}\)^\{\\top\}\(\\mathbf\{W\}\_\{k,m\}^\{o,l\}\\mathbf\{z\}\_\{j\\rightarrow i\}^\{l\}\)\}\{\\sqrt\{d\}\}\\right\),𝐦io,l\\displaystyle\\mathbf\{m\}\_\{i\}^\{o,l\}=∑dj∈𝒩\(oi\)αijo,l𝐖v,mo,l𝐳j→il\+𝐄deg\[\|𝒩\(oi\)\|\]\.\\displaystyle=\\sum\_\{d\_\{j\}\\in\\mathcal\{N\}\(o\_\{i\}\)\}\\alpha\_\{ij\}^\{o,l\}\\mathbf\{W\}\_\{v,m\}^\{o,l\}\\mathbf\{z\}\_\{j\\rightarrow i\}^\{l\}\+\\mathbf\{E\}\_\{\\mathrm\{deg\}\}\\\!\\left\[\|\\mathcal\{N\}\(o\_\{i\}\)\|\\right\]\.Driver\-side matching information𝐦jd,l\\mathbf\{m\}\_\{j\}^\{d,l\}is computed symmetrically\. Competition attention relates candidates sharing an endpoint; matching attention relates a node to its counterparts\. Both use𝐄deg\\mathbf\{E\}\_\{\\mathrm\{deg\}\}to preserve neighborhood size and operate only on candidate edges\. LetLN\\mathrm\{LN\}denote layer normalization, and letFFNol\\mathrm\{FFN\}\_\{o\}^\{l\},FFNdl\\mathrm\{FFN\}\_\{d\}^\{l\}, andFFNel\\mathrm\{FFN\}\_\{e\}^\{l\}denote the order\-, driver\-, and edge\-side feed\-forward networks in layerll, respectively\. Each block includes its residual connection and layer normalization\. The order state is therefore updated as \(8\)𝐡io,l=FFNol\(𝐡io,l−1\+𝐦io,l\)\.\\mathbf\{h\}\_\{i\}^\{o,l\}=\\mathrm\{FFN\}\_\{o\}^\{l\}\\\!\\left\(\\mathbf\{h\}\_\{i\}^\{o,l\-1\}\+\\mathbf\{m\}\_\{i\}^\{o,l\}\\right\)\.The driver state𝐡jd,l\\mathbf\{h\}\_\{j\}^\{d,l\}is updated symmetrically from𝐡jd,l−1\\mathbf\{h\}\_\{j\}^\{d,l\-1\}and𝐦jd,l\\mathbf\{m\}\_\{j\}^\{d,l\}\. The encoder also updates each edge state to retain OD\-pair\-specific information while incorporating matching information from both endpoints\. Let⊙\\odotdenote element\-wise multiplication and𝐡~ije,l\\tilde\{\\mathbf\{h\}\}\_\{ij\}^\{e,l\}denote the interaction representation\. For candidate edgeeije\_\{ij\}, we combine its preceding state with the sum, product, and absolute difference of the order\-side and driver\-side matching information: \(9\)𝐡~ije,l\\displaystyle\\tilde\{\\mathbf\{h\}\}\_\{ij\}^\{e,l\}=𝐡ije,l−1\+𝐦io,l\+𝐦jd,l\+𝐦io,l⊙𝐦jd,l\+\|𝐦io,l−𝐦jd,l\|\.\\displaystyle=\\mathbf\{h\}\_\{ij\}^\{e,l\-1\}\+\\mathbf\{m\}\_\{i\}^\{o,l\}\+\\mathbf\{m\}\_\{j\}^\{d,l\}\+\\mathbf\{m\}\_\{i\}^\{o,l\}\\odot\\mathbf\{m\}\_\{j\}^\{d,l\}\+\\left\|\\mathbf\{m\}\_\{i\}^\{o,l\}\-\\mathbf\{m\}\_\{j\}^\{d,l\}\\right\|\.The edge\-side block produces𝐡ije,l=FFNel\(𝐡~ije,l\)\\mathbf\{h\}\_\{ij\}^\{e,l\}=\\mathrm\{FFN\}\_\{e\}^\{l\}\(\\tilde\{\\mathbf\{h\}\}\_\{ij\}^\{e,l\}\)\. AfterLencL\_\{\\mathrm\{enc\}\}layers, the final pair representation is \(10\)𝐳ij=LN\(𝐡io,L\+𝐡jd,L\+𝐡ije,L\)\.\\mathbf\{z\}\_\{ij\}=\\mathrm\{LN\}\\\!\\left\(\\mathbf\{h\}\_\{i\}^\{o,L\}\+\\mathbf\{h\}\_\{j\}^\{d,L\}\+\\mathbf\{h\}\_\{ij\}^\{e,L\}\\right\)\.The pair representation in Eq\. \([10](https://arxiv.org/html/2608.19751#S4.E10)\) serves as candidate memory for the Business\-Aware Utility Learner and State\-Aware Pointer Decoder\. ### 4\.2\.Business\-Aware Utility Learner Candidate selection requires reliable representations and explicit business\-value guidance\. The Business\-Aware Utility Learner in Figure[2](https://arxiv.org/html/2608.19751#acmlabel2)\(b\) therefore supervises candidate memory𝐳ij\\mathbf\{z\}\_\{ij\}with stage\-wise service outcomes and estimates utility from these outcomes and value signals\. These two functions are complementary: auxiliary supervision improves candidate memory and injects service behavior, while the utility logit directly guides subsequent selection\. #### 4\.2\.1\.Stage\-Wise Behavioral Outcome Learning Because completion alone cannot identify where an unsuccessful service failed, we use the stage\-wise outcomes defined in Section[3](https://arxiv.org/html/2608.19751#S3)for fine\-grained supervision\. For OD pair\(oi,dj\)\(o\_\{i\},d\_\{j\}\), let𝐯ij=\[𝐳ij;𝐱io;𝐱jd;𝐱ije\]\\mathbf\{v\}\_\{ij\}=\[\\mathbf\{z\}\_\{ij\};\\mathbf\{x\}\_\{i\}^\{o\};\\mathbf\{x\}\_\{j\}^\{d\};\\mathbf\{x\}\_\{ij\}^\{e\}\], where\[;\]\[\\,;\\,\]denotes concatenation\. A multi\-task learning \(MTL\) network predicts DA, PCAA, and DCAA probabilitiesp^ijDA\\hat\{p\}\_\{ij\}^\{\\mathrm\{DA\}\},p^ijPCAA\\hat\{p\}\_\{ij\}^\{\\mathrm\{PCAA\}\}, andp^ijDCAA\\hat\{p\}\_\{ij\}^\{\\mathrm\{DCAA\}\}under their service\-stage dependencies\. This supervision injects service behavior into𝐳ij\\mathbf\{z\}\_\{ij\}\. #### 4\.2\.2\.Business Utility Estimation The stage\-wise predictions describe whether an OD pair is likely to become an effective service, but not how much business value it may produce\. Actual dispatch decisions must also consider pickup time, platform revenue, future value, and other business signals\. Let𝐛ij\\mathbf\{b\}\_\{ij\}denote these business\-value fields selected from the raw edge features𝐱ije\\mathbf\{x\}\_\{ij\}^\{e\}\. We concatenate them with the three stage\-wise predictions as𝐛ijall=\[p^ijDA;p^ijPCAA;p^ijDCAA;𝐛ij\]\\mathbf\{b\}\_\{ij\}^\{\\mathrm\{all\}\}=\[\\hat\{p\}\_\{ij\}^\{\\mathrm\{DA\}\};\\hat\{p\}\_\{ij\}^\{\\mathrm\{PCAA\}\};\\hat\{p\}\_\{ij\}^\{\\mathrm\{DCAA\}\};\\mathbf\{b\}\_\{ij\}\]and use a multi\-layer perceptron \(MLP\) to estimate the utility logit: \(11\)aij=MLPbiz\(𝐛ijall\)\.a\_\{ij\}=\\mathrm\{MLP\}\_\{\\mathrm\{biz\}\}\\\!\\left\(\\mathbf\{b\}\_\{ij\}^\{\\mathrm\{all\}\}\\right\)\.The resultingaija\_\{ij\}is a candidate\-specific and step\-independent utility logit\. It provides explicit business\-value guidance to the subsequent matching process\. ### 4\.3\.State\-Aware Pointer Decoder Each selection changes both feasibility and the remaining matching opportunities\. The State\-Aware Pointer Decoder in Figure[2](https://arxiv.org/html/2608.19751#acmlabel2)\(c\) therefore conditions on the initial candidates, selected matching, residual candidates, and matching progress\. The initial state anchors the original decision space, while the selected and residual states describe committed decisions and remaining opportunities\. #### 4\.3\.1\.Matching\-State Representation Because the final assignment is a set, we represent its evolving state with three order\-invariant sets: initial, selected, and residual candidates\. Let\{𝐳r\}r=1Pt\\\{\\mathbf\{z\}\_\{r\}\\\}\_\{r=1\}^\{P\_\{t\}\}be the pair representations andmr\(k\)∈\{0,1\}m\_\{r\}^\{\(k\)\}\\in\\\{0,1\\\}the selectability mask at stepkk, wheremr\(k\)=1m\_\{r\}^\{\(k\)\}=1means thatere\_\{r\}remains selectable\. Each matching state is maintained by two state statistics: its representation sum and cardinality\. The initial\-state statistics are𝐒init=∑r=1Pt𝐳r\\mathbf\{S\}\_\{\\mathrm\{init\}\}=\\sum\_\{r=1\}^\{P\_\{t\}\}\\mathbf\{z\}\_\{r\}andNinit=PtN\_\{\\mathrm\{init\}\}=P\_\{t\}\. Ifr\(s\)r^\{\(s\)\}denotes the candidate selected at stepss, the selected\-state statistics are𝐒sel\(k\)=∑s<k𝐳r\(s\)\\mathbf\{S\}\_\{\\mathrm\{sel\}\}^\{\(k\)\}=\\sum\_\{s<k\}\\mathbf\{z\}\_\{r^\{\(s\)\}\}andNsel\(k\)=k−1N\_\{\\mathrm\{sel\}\}^\{\(k\)\}=k\-1\. The residual\-state statistics are𝐒res\(k\)=∑r=1Ptmr\(k\)𝐳r\\mathbf\{S\}\_\{\\mathrm\{res\}\}^\{\(k\)\}=\\sum\_\{r=1\}^\{P\_\{t\}\}m\_\{r\}^\{\(k\)\}\\mathbf\{z\}\_\{r\}andNres\(k\)=∑r=1Ptmr\(k\)N\_\{\\mathrm\{res\}\}^\{\(k\)\}=\\sum\_\{r=1\}^\{P\_\{t\}\}m\_\{r\}^\{\(k\)\}\. Dividing each nonempty sum by its cardinality gives𝐪init=𝐒init/Ninit\\mathbf\{q\}\_\{\\mathrm\{init\}\}=\\mathbf\{S\}\_\{\\mathrm\{init\}\}/N\_\{\\mathrm\{init\}\},𝐪sel\(k\)=𝐒sel\(k\)/Nsel\(k\)\\mathbf\{q\}\_\{\\mathrm\{sel\}\}^\{\(k\)\}=\\mathbf\{S\}\_\{\\mathrm\{sel\}\}^\{\(k\)\}/N\_\{\\mathrm\{sel\}\}^\{\(k\)\}, and𝐪res\(k\)=𝐒res\(k\)/Nres\(k\)\\mathbf\{q\}\_\{\\mathrm\{res\}\}^\{\(k\)\}=\\mathbf\{S\}\_\{\\mathrm\{res\}\}^\{\(k\)\}/N\_\{\\mathrm\{res\}\}^\{\(k\)\}, representing the original batch, selected matching, and remaining opportunities\. Before any selection, the selected set is empty, so we set𝐪sel\(k\)\\mathbf\{q\}\_\{\\mathrm\{sel\}\}^\{\(k\)\}to a learnable vector𝐞empty\\mathbf\{e\}\_\{\\mathrm\{empty\}\}\. Set averaging loses cardinality\. We restore it with selected and residual ratiosρsel\(k\)=Nsel\(k\)/min\(Nto,Ntd\)\\rho\_\{\\mathrm\{sel\}\}^\{\(k\)\}=N\_\{\\mathrm\{sel\}\}^\{\(k\)\}/\\min\(N\_\{t\}^\{o\},N\_\{t\}^\{d\}\)andρres\(k\)=Nres\(k\)/Pt\\rho\_\{\\mathrm\{res\}\}^\{\(k\)\}=N\_\{\\mathrm\{res\}\}^\{\(k\)\}/P\_\{t\}, normalized by the maximum matching size and initial candidate count\. Because batch size is large and dynamic, we scale two learnabledd\-dimensional vectors𝐞sel\\mathbf\{e\}\_\{\\mathrm\{sel\}\}and𝐞res\\mathbf\{e\}\_\{\\mathrm\{res\}\}rather than use a progress\-indexed matrix\. The resulting progress encoding and query are \(12\)𝐩prog\(k\)\\displaystyle\\mathbf\{p\}\_\{\\mathrm\{prog\}\}^\{\(k\)\}=ρsel\(k\)𝐞sel\+ρres\(k\)𝐞res,\\displaystyle=\\rho\_\{\\mathrm\{sel\}\}^\{\(k\)\}\\mathbf\{e\}\_\{\\mathrm\{sel\}\}\+\\rho\_\{\\mathrm\{res\}\}^\{\(k\)\}\\mathbf\{e\}\_\{\\mathrm\{res\}\},𝐪\(k\)\\displaystyle\\mathbf\{q\}^\{\(k\)\}=LN\(𝐖init𝐪init\+𝐖sel𝐪sel\(k\)\+𝐖res𝐪res\(k\)\+𝐩prog\(k\)\)\.\\displaystyle=\\mathrm\{LN\}\\\!\\left\(\\mathbf\{W\}\_\{\\mathrm\{init\}\}\\mathbf\{q\}\_\{\\mathrm\{init\}\}\+\\mathbf\{W\}\_\{\\mathrm\{sel\}\}\\mathbf\{q\}\_\{\\mathrm\{sel\}\}^\{\(k\)\}\+\\mathbf\{W\}\_\{\\mathrm\{res\}\}\\mathbf\{q\}\_\{\\mathrm\{res\}\}^\{\(k\)\}\+\\mathbf\{p\}\_\{\\mathrm\{prog\}\}^\{\(k\)\}\\right\)\.Here,𝐖init\\mathbf\{W\}\_\{\\mathrm\{init\}\},𝐖sel\\mathbf\{W\}\_\{\\mathrm\{sel\}\}, and𝐖res\\mathbf\{W\}\_\{\\mathrm\{res\}\}are learnable projections;𝐩prog\(k\)\\mathbf\{p\}\_\{\\mathrm\{prog\}\}^\{\(k\)\}restores the scale information lost by averaging\. #### 4\.3\.2\.Generative Pointer Distribution The query𝐪\(k\)\\mathbf\{q\}^\{\(k\)\}is processed byLdecL\_\{\\mathrm\{dec\}\}cross\-attention layers over the pair representations, producing the decoder state𝐡\(k\)\\mathbf\{h\}^\{\(k\)\}\. LetPptrP\_\{\\mathrm\{ptr\}\}denote the number of pointer heads, and let𝐖q\(p\)\\mathbf\{W\}\_\{q\}^\{\(p\)\}and𝐖k\(p\)\\mathbf\{W\}\_\{k\}^\{\(p\)\}be the learnable query and key projections of headpp\. Each head produces a structural matching scoresr\(k,p\)s\_\{r\}^\{\(k,p\)\}; the final structural scores¯r\(k\)\\bar\{s\}\_\{r\}^\{\(k\)\}is their mean: \(13\)sr\(k,p\)\\displaystyle s\_\{r\}^\{\(k,p\)\}=\(𝐖q\(p\)𝐡\(k\)\)⊤\(𝐖k\(p\)𝐳r\)d,\\displaystyle=\\frac\{\(\\mathbf\{W\}\_\{q\}^\{\(p\)\}\\mathbf\{h\}^\{\(k\)\}\)^\{\\top\}\(\\mathbf\{W\}\_\{k\}^\{\(p\)\}\\mathbf\{z\}\_\{r\}\)\}\{\\sqrt\{d\}\},s¯r\(k\)\\displaystyle\\bar\{s\}\_\{r\}^\{\(k\)\}=1Pptr∑p=1Pptrsr\(k,p\)\.\\displaystyle=\\frac\{1\}\{P\_\{\\mathrm\{ptr\}\}\}\\sum\_\{p=1\}^\{P\_\{\\mathrm\{ptr\}\}\}s\_\{r\}^\{\(k,p\)\}\. Letℛ\(k\)=\{r∣mr\(k\)=1\}\\mathcal\{R\}^\{\(k\)\}=\\\{r\\mid m\_\{r\}^\{\(k\)\}=1\\\}denote the indices of feasible candidates\. For candidateere\_\{r\}, letara\_\{r\}denote its utility logit; specifically,ar=aija\_\{r\}=a\_\{ij\}whener=eije\_\{r\}=e\_\{ij\}\. We denote its conditional generation probability at stepkkbypr\(k\)p\_\{r\}^\{\(k\)\}\. The decoder combines the step\-dependent structural score with this step\-independent utility logit: \(14\)pr\(k\)=exp\(s¯r\(k\)\+ar\)∑r′∈ℛ\(k\)exp\(s¯r′\(k\)\+ar′\),r∈ℛ\(k\)\.p\_\{r\}^\{\(k\)\}=\\frac\{\\exp\(\\bar\{s\}\_\{r\}^\{\(k\)\}\+a\_\{r\}\)\}\{\\sum\_\{r^\{\\prime\}\\in\\mathcal\{R\}^\{\(k\)\}\}\\exp\(\\bar\{s\}\_\{r^\{\\prime\}\}^\{\(k\)\}\+a\_\{r^\{\\prime\}\}\)\},\\quad r\\in\\mathcal\{R\}^\{\(k\)\}\.Here,ara\_\{r\}captures business utility, whiles¯r\(k\)\\bar\{s\}\_\{r\}^\{\(k\)\}measures compatibility with the current matching state\. At inference stepkk, the decoder performs greedy edge selection by choosing the candidate with the highest generation probability: \(15\)r\(k\)=argmaxr∈ℛ\(k\)pr\(k\),e\(k\)=er\(k\)\.r^\{\(k\)\}=\\arg\\max\_\{r\\in\\mathcal\{R\}^\{\(k\)\}\}p\_\{r\}^\{\(k\)\},\\qquad e^\{\(k\)\}=e\_\{r^\{\(k\)\}\}\.The selected edgee\(k\)e^\{\(k\)\}is appended to the generated assignment, after which the matching state is updated for the next step\. #### 4\.3\.3\.Matching\-State Transition After selectinge\(k\)=er\(k\)e^\{\(k\)\}=e\_\{r^\{\(k\)\}\}, let the blocked setℬ\(k\)\\mathcal\{B\}^\{\(k\)\}contain it and all selectable pairs sharing its order or driver\. The state statistics update incrementally as \(16\)𝐒sel\(k\+1\)\\displaystyle\\mathbf\{S\}\_\{\\mathrm\{sel\}\}^\{\(k\+1\)\}=𝐒sel\(k\)\+𝐳r\(k\),\\displaystyle=\\mathbf\{S\}\_\{\\mathrm\{sel\}\}^\{\(k\)\}\+\\mathbf\{z\}\_\{r^\{\(k\)\}\},Nsel\(k\+1\)\\displaystyle N\_\{\\mathrm\{sel\}\}^\{\(k\+1\)\}=Nsel\(k\)\+1,\\displaystyle=N\_\{\\mathrm\{sel\}\}^\{\(k\)\}\+1,𝐒res\(k\+1\)\\displaystyle\\mathbf\{S\}\_\{\\mathrm\{res\}\}^\{\(k\+1\)\}=𝐒res\(k\)−∑r∈ℬ\(k\)𝐳r,\\displaystyle=\\mathbf\{S\}\_\{\\mathrm\{res\}\}^\{\(k\)\}\-\\sum\_\{r\\in\\mathcal\{B\}^\{\(k\)\}\}\\mathbf\{z\}\_\{r\},Nres\(k\+1\)\\displaystyle N\_\{\\mathrm\{res\}\}^\{\(k\+1\)\}=Nres\(k\)−\|ℬ\(k\)\|\.\\displaystyle=N\_\{\\mathrm\{res\}\}^\{\(k\)\}\-\|\\mathcal\{B\}^\{\(k\)\}\|\.We also setmr\(k\+1\)=0m\_\{r\}^\{\(k\+1\)\}=0forr∈ℬ\(k\)r\\in\\mathcal\{B\}^\{\(k\)\}and retain all other mask values, enforcing one\-to\-one matching\. ### 4\.4\.Model Training #### 4\.4\.1\.Target Sequence Construction Rather than distill production decisions, we construct supervision from the completed OD\-pair set𝒞t\\mathcal\{C\}\_\{t\}, whose pairs were answered, not canceled, and completed\. LetKt∗=\|𝒞t\|K\_\{t\}^\{\*\}=\|\\mathcal\{C\}\_\{t\}\|\. Because assignment order has no business meaning, each training step uniformly permutes𝒞t\\mathcal\{C\}\_\{t\}\. We denote the resulting target sequence by𝒴t∗=\(et,∗\(1\),…,et,∗\(Kt∗\)\)\\mathcal\{Y\}\_\{t\}^\{\*\}=\(e\_\{t,\*\}^\{\(1\)\},\\ldots,e\_\{t,\*\}^\{\(K\_\{t\}^\{\*\}\)\}\)\. This randomization prevents the decoder from fitting an arbitrary order\. Only completed pairs form targets, but all selectable candidates remain in the denominator of Eq\. \([14](https://arxiv.org/html/2608.19751#S4.E14)\) as contrastive alternatives\. Thus, GenMatch learns completion patterns from observed targets\. At inference, generation continues while∑r=1Ptmr\(k\)\>0\\sum\_\{r=1\}^\{P\_\{t\}\}m\_\{r\}^\{\(k\)\}\>0, allowing GenMatch to select unbroadcast candidates exhibiting similar patterns\. #### 4\.4\.2\.Training Objective For assignment generation, we apply teacher forcing and average the negative log\-likelihood over all valid target positions in a mini\-batch\. Letℐ\\mathcal\{I\}denote the dispatch batches in the mini\-batch andZgen=∑t∈ℐKt∗Z\_\{\\mathrm\{gen\}\}=\\sum\_\{t\\in\\mathcal\{I\}\}K\_\{t\}^\{\*\}the number of valid target positions\. The generation loss is \(17\)ℒgen=−1Zgen∑t∈ℐ∑k=1Kt∗logPr\(et,∗\(k\)∣𝒢t\(k\),et,∗\(<k\)\)\.\\mathcal\{L\}\_\{\\mathrm\{gen\}\}=\-\\frac\{1\}\{Z\_\{\\mathrm\{gen\}\}\}\\sum\_\{t\\in\\mathcal\{I\}\}\\sum\_\{k=1\}^\{K\_\{t\}^\{\*\}\}\\log\\Pr\\\!\\left\(e\_\{t,\*\}^\{\(k\)\}\\mid\\mathcal\{G\}\_\{t\}^\{\(k\)\},e\_\{t,\*\}^\{\(<k\)\}\\right\)\.For service\-process learning, let𝒯=\{DA,PCAA,DCAA\}\\mathcal\{T\}=\\\{\\mathrm\{DA\},\\mathrm\{PCAA\},\\mathrm\{DCAA\}\\\}be the auxiliary\-task set, and letBCE\(⋅,⋅\)\\mathrm\{BCE\}\(\\cdot,\\cdot\)denote binary cross\-entropy\. For taskm∈𝒯m\\in\\mathcal\{T\},ytrmy\_\{tr\}^\{m\}is the event label of candidateere\_\{r\}in batchtt, andp^trm\\hat\{p\}\_\{tr\}^\{m\}is its predicted event probability\. We definewtr=1w\_\{tr\}=1ifere\_\{r\}was broadcast and its service\-process feedback is observable, andwtr=0w\_\{tr\}=0otherwise\. LetZobs=∑t∈ℐ∑r=1PtwtrZ\_\{\\mathrm\{obs\}\}=\\sum\_\{t\\in\\mathcal\{I\}\}\\sum\_\{r=1\}^\{P\_\{t\}\}w\_\{tr\}be the number of candidates with observed feedback\. The auxiliary loss is \(18\)ℒmtl=1Zobs∑t∈ℐ∑r=1Ptwtr∑m∈𝒯λmBCE\(p^trm,ytrm\),\\mathcal\{L\}\_\{\\mathrm\{mtl\}\}=\\frac\{1\}\{Z\_\{\\mathrm\{obs\}\}\}\\sum\_\{t\\in\\mathcal\{I\}\}\\sum\_\{r=1\}^\{P\_\{t\}\}w\_\{tr\}\\sum\_\{m\\in\\mathcal\{T\}\}\\lambda\_\{m\}\\mathrm\{BCE\}\\\!\\left\(\\hat\{p\}\_\{tr\}^\{m\},y\_\{tr\}^\{m\}\\right\),whereλm\\lambda\_\{m\}controls the relative weight of taskmm\. Letλmtl\\lambda\_\{\\mathrm\{mtl\}\}balance service\-process learning against assignment generation\. The final objective is \(19\)ℒ=ℒgen\+λmtlℒmtl\.\\mathcal\{L\}=\\mathcal\{L\}\_\{\\mathrm\{gen\}\}\+\\lambda\_\{\\mathrm\{mtl\}\}\\mathcal\{L\}\_\{\\mathrm\{mtl\}\}\.Both losses are normalized by valid supervision units\. We setλmtl=10\\lambda\_\{\\mathrm\{mtl\}\}=10based on the sensitivity analysis in Appendix[A\.5](https://arxiv.org/html/2608.19751#A1.SS5)\. Appendix[B\.2](https://arxiv.org/html/2608.19751#A2.SS2)provides the complete training and inference procedures\. Table 1\.Offline performance relative to PDPKM\. Values are the mean±\\pmstandard deviation of percentage changes over five runs; bold and underline denote the best and second\-best results\. ## 5\.Experiments ### 5\.1\.Experimental Settings Datasets\.The experiments cover five cities across DiDi’s international ride\-hailing markets\. Offline evaluation uses City I–III, while online A/B tests use City III–V; City III appears in both settings\. The upstream retrieval system is fixed, so all methods receive candidate sets constructed under the same feasibility rules\. Detailed city statistics are provided in Appendix[A\.1](https://arxiv.org/html/2608.19751#A1.SS1)\. Offline evaluationuses simulation environments constructed from historical dispatch logs, with 14 days for training and 7 days for evaluation\. Each simulator replays real order requests, driver states, and candidate connections and advances according to the generated decisions\. Online A/B testsrun under live production traffic for 14 days using a 1\-hour time\-slice interleaved design\. The Production Dispatching Pipeline \(PDP\) is the deployed multi\-stage baseline; its Kuhn–Munkres variant, denoted PDPKM, serves as the control\. Results are reported as treatment–control \(T–C\) deltas\. Metrics\.We use Answer Ratio \(AR\), Completion Ratio \(CR\), Average Pickup Time \(APT\), and Gross Merchandise Volume \(GMV\)\. Higher AR, CR, and GMV and lower APT indicate better performance\. Detailed metric definitions are provided in Appendix[A\.1](https://arxiv.org/html/2608.19751#A1.SS1)\.Baselines\.We compare GenMatch with PDPKMand two solver variants, PDPGreedyand PDPGS, where GS denotes Gale–Shapley matching\([4](https://arxiv.org/html/2608.19751#bib.bib12)\); end\-to\-end MICOD method D2SN\([34](https://arxiv.org/html/2608.19751#bib.bib5)\); value\-based methods V1D3\([22](https://arxiv.org/html/2608.19751#bib.bib3)\)and RLW\([18](https://arxiv.org/html/2608.19751#bib.bib13)\); and multi\-agent methods CoRide\([9](https://arxiv.org/html/2608.19751#bib.bib14)\)and CoopRide\([25](https://arxiv.org/html/2608.19751#bib.bib15)\)\. We also evaluate GenMatchValueto isolate pair\-level prediction\. Detailed definitions are provided in Appendix[A\.1](https://arxiv.org/html/2608.19751#A1.SS1)\.Implementation\.All offline results are averaged over five independent runs\. Hardware, optimization, and model configurations are provided in Appendix[B\.1](https://arxiv.org/html/2608.19751#A2.SS1)\. ### 5\.2\.Offline Performance Table[1](https://arxiv.org/html/2608.19751#S4.T1)shows that GenMatch consistently outperforms the production and research baselines\. Relative to PDPKM, it improves AR, CR, and GMV by 0\.31%–0\.83%, 0\.23%–1\.17%, and 0\.11%–0\.55%, respectively, while reducing APT by 0\.23%–0\.72%\. D2SN also generates assignments sequentially but remains inferior on every metric, indicating that generation alone is insufficient without explicit batch interactions, business guidance, and supervised outcome learning\. The value\-based and multi\-agent baselines likewise cannot consistently improve the current batch assignment\. GenMatchValue, which replaces only PDP’s prediction stage, improves most metrics and validates the learned service\-process predictions\. Full GenMatch further improves AR, CR, and GMV by replacing value calculation and matching with state\-aware generation, directly supporting our cross\-stage inconsistency motivation\. Appendix[A\.3](https://arxiv.org/html/2608.19751#A1.SS3)further evaluates the auxiliary predictions\. Table 2\.Core City III ablations relative to GenMatch \(Full\), reported as the mean±\\pmstandard deviation of percentage changes over five runs\. Bold denotes the best result in each column\. ### 5\.3\.Ablation Study Table[2](https://arxiv.org/html/2608.19751#S5.T2)reports core ablations on City III, organized by module to test whether each targeted design contributes to the final assignment\. For the encoder, A1 removes batch\-level matching and competition information, while A2 restores matching information alone\. A2 improves AR, CR, and GMV over A1, and full GenMatch further improves all metrics, validating both forms of context\. Removing the shared degree embedding \(A3\) also degrades every metric, showing that neighborhood size complements attention\-based neighbor composition\. For the learner, removing auxiliary supervision \(A4\) causes the largest AR and CR drops and reduces GMV by 2\.32%, while removing the utility logit \(A5\) produces the largest APT increase; both representation supervision and business guidance are therefore necessary\. For the decoder, removing residual\-state or progress information \(A8–A9\) consistently hurts performance\. A12 uses the first\-step generation logits as fixed Kuhn–Munkres weights and reduces AR and CR by 2\.46% and 3\.07%, showing that static scores cannot replace state\-aware sequential generation\. Appendix[A\.2](https://arxiv.org/html/2608.19751#A1.SS2)reports the remaining variants and complete three\-city results\. Table 3\.Online A/B test improvements over PDPKM\(T−\-C\)\. Overall averages the three cities;∗indicatesp<0\.05p<0\.05\. ### 5\.4\.Online A/B Testing Overall online performance\.Table[3](https://arxiv.org/html/2608.19751#S5.T3)shows significant improvements in every city\. Overall, GenMatch increases AR, CR, and GMV by 2\.26%, 3\.86%, and 2\.97%, respectively, while reducing APT by 1\.84%\. GenMatchValuealso improves all four metrics over PDPKM, showing that the service\-process predictions learned by GenMatch provide more effective pair\-level inputs to the production pipeline\. Full GenMatch further improves AR, CR, and GMV over GenMatchValueby 1\.49%, 1\.93%, and 1\.48% overall\. The offline and online results therefore show the same pattern: better pair\-level predictions help, while end\-to\-end generation yields the strongest overall gains\. This consistency supports our cross\-stage objective inconsistency motivation and shows that the offline optimization transfers to live traffic\. Table 4\.Online changes in dispatch effectiveness and experience relative to PDPKM\(T−\-C\);∗indicatesp<0\.05p<0\.05\.Dispatch effectiveness and user experience\.Table[4](https://arxiv.org/html/2608.19751#S5.T4)provides a finer\-grained view of the dispatch funnel and service quality\. Broadcast Count decreases by 0\.17%, while Answer Count and Completion Count increase by 2\.16% and 3\.84%, respectively\. This result is consistent with the greedy autoregressive policy of GenMatch: it suppresses broadcasts that are unlikely to yield an answer or completion and generates more effective assignments\. All passenger and driver experience metrics also improve\. PBE decreases by 15\.17%, PCBA and PCAA decrease by 9\.28% and 7\.61%, Driver Income and DA increase by 2\.99% and 13\.96%, and DCAA decreases by 6\.99%\. Passenger and driver willingness is highly uncertain in international markets\. The conventional paradigm predicts these signals separately and then combines them through a hand\-crafted value function, so errors can propagate across stages\. GenMatch instead learns from heterogeneous behavioral feedback and uses it to guide the final assignment directly, improving both dispatch effectiveness and user experience\. Figure 3\.Online gains of GenMatch across supply–demand periods \(T−\-C vs\. PDPKM\)\.A grouped bar chart comparing low\-, moderate\-, and peak\-demand periods\. Completion\-ratio gains increase from 3\.24 percent to 3\.96 percent and 4\.12 percent\. Passenger cancellation\-after\-answer ratio decreases by 1\.76 percent, 7\.71 percent, and 8\.26 percent\. Driver cancellation\-after\-answer ratio decreases by 3\.48 percent, 4\.31 percent, and 7\.96 percent\.Performance across supply–demand periods\.Figure[3](https://arxiv.org/html/2608.19751#acmlabel3)shows that GenMatch remains effective under different supply–demand conditions and delivers larger gains in busier periods\. From low\-demand to peak\-demand periods, the CR improvement rises from 3\.24% to 4\.12%\. The reductions in PCAA and DCAA also expand from 1\.76% and 3\.48% to 8\.26% and 7\.96%, respectively\. This trend is particularly notable because the generation targets contain only OD pairs from rides that were actually completed online, as described in Section[4](https://arxiv.org/html/2608.19751#S4)\. Unbroadcast candidates have no observed service\-process labels and are excluded from auxiliary supervision, but remain part of the complete dispatch batch and the generative candidate set\. GenMatch can therefore transfer the completion patterns learned from completed pairs to previously unbroadcast candidates with similar structural and business characteristics\. This ability becomes more valuable in peak periods, where denser competition leaves more latent completion opportunities unexplored, and converts them into additional completed rides and business gains\. Figure 4\.Production architecture of the Batch\-Level Generative Dispatch Engine\.The production architecture contains a control plane that collects requests, coordinates distributed shards, and assembles dispatch batches, and a compute plane that performs distributed feature extraction, candidate retrieval, and GenMatch inference\. ## 6\.Deployment The existing Pair\-Level Dispatch Engine processes OD pairs independently and therefore cannot provide the complete dispatch batch required by GenMatch\. We develop a Batch\-Level Generative Dispatch Engine for production serving\. As shown in Figure[4](https://arxiv.org/html/2608.19751#acmlabel4), its control plane coordinates distributed shards, restores a consistent candidate order, and assembles the complete batch\. Its compute plane retains distributed feature extraction and candidate retrieval, then performs global GenMatch inference over the assembled batch\. Generated pairs are treated as pre\-assignments and enter the existing arbitration and locking process, preventing conflicts with other product lines\. Malformed outputs, timeouts, or serving failures automatically fall back to the pair\-level engine, allowing GenMatch to be deployed without weakening production reliability\. Appendix[B\.3](https://arxiv.org/html/2608.19751#A2.SS3)provides the engineering details\. ## 7\.Conclusion This paper presents GenMatch, an end\-to\-end generative framework deployed in a real\-world production environment for MICOD\. By directly generating the final assignment, GenMatch addresses the cross\-stage objective inconsistency of the conventional multi\-stage paradigm\. Its Context\-Aware Bipartite Encoder, Business\-Aware Utility Learner, and State\-Aware Pointer Decoder address the three challenges of encoding dynamic batch\-level structures, learning unified business utility from heterogeneous feedback, and generating assignments under an evolving matching state, respectively\. Extensive offline experiments validate these targeted designs, while online A/B tests demonstrate the effectiveness and practicality of GenMatch in production\. ## References - Chenet al\.\(2025\)B\. Chen, X\. Guo, S\. Wang, Z\. Liang, Y\. Lv, Y\. Ma, X\. Xiao, B\. Xue, X\. Zhang, Y\. Yang,et al\.Onesearch: a preliminary exploration of the unified end\-to\-end generative framework for e\-commerce search\.arXiv preprint arXiv:2509\.03236\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Chenet al\.\(2026\)B\. Chen, S\. Wang, Y\. Ma, Z\. Liang, X\. Zhang, Y\. Lv, Y\. Yang, H\. Dai, L\. Mao, T\. Zhao,et al\.OneSearch\-v2: the latent reasoning enhanced self\-distillation generative search framework\.arXiv preprint arXiv:2603\.24422\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Denget al\.\(2025\)J\. Deng, S\. Wang, K\. Cai, L\. Ren, Q\. Hu, W\. Ding, Q\. Luo, and G\. ZhouOnerec: unifying retrieve and rank with generative recommender and iterative preference alignment\.arXiv preprint arXiv:2502\.18965\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Gale and Shapley \(1962\)D\. Gale and L\. S\. ShapleyCollege admissions and the stability of marriage\.The American mathematical monthly69\(1\),pp\. 9–15\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1),[§5\.1](https://arxiv.org/html/2608.19751#S5.SS1.p4.1)\. - Guoet al\.\(2026\)X\. Guo, B\. Chen, S\. Wang, Y\. Yang, M\. Cheng, C\. Lei, Y\. Ding, and H\. LiOnesug: the unified end\-to\-end generative framework for e\-commerce query suggestion\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.40,pp\. 14774–14782\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Hanet al\.\(2025a\)R\. Han, B\. Yin, S\. Chen, H\. Jiang, F\. Jiang, X\. Li, C\. Ma, M\. Huang, X\. Li, C\. Jing,et al\.Mtgr: industrial\-scale generative recommendation framework in meituan\.InProceedings of the 34th ACM International Conference on Information and Knowledge Management,pp\. 5731–5738\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Hanet al\.\(2025b\)X\. Han, Z\. Zhang, X\. Zhao, Y\. Zhu, G\. Shen, X\. Kong, X\. Wei, L\. Nie, and J\. YeGarlic: gpt\-augmented reinforcement learning with intelligent control for vehicle dispatching\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.39,pp\. 255–263\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1)\. - Houet al\.\(2025\)Y\. Hou, J\. Li, A\. Shin, J\. Jeon, A\. Santhanam, W\. Shao, K\. Hassani, N\. Yao, and J\. McAuleyGenerating long semantic ids in parallel for recommendation\.InProceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 2,pp\. 956–966\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Jinet al\.\(2019\)J\. Jin, M\. Zhou, W\. Zhang, M\. Li, Z\. Guo, Z\. Qin, Y\. Jiao, X\. Tang, C\. Wang, J\. Wang,et al\.Coride: joint order dispatching and fleet management for multi\-scale ride\-hailing platforms\.InProceedings of the 28th ACM international conference on information and knowledge management,pp\. 1983–1992\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1),[§5\.1](https://arxiv.org/html/2608.19751#S5.SS1.p4.1)\. - Kuhn \(1955\)H\. W\. KuhnThe hungarian method for the assignment problem\.Naval research logistics quarterly2\(1\-2\),pp\. 83–97\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1)\. - Liet al\.\(2026a\)C\. Li, J\. Yin, Z\. Zeng, S\. Kou, S\. Wang, W\. Chen, Y\. Zhu, H\. Wang, and X\. WangMBGR: multi\-business prediction for generative recommendation at meituan\.arXiv preprint arXiv:2604\.02684\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Liet al\.\(2026b\)H\. Li, Y\. Hsu, A\. Mantha, P\. Agarwal, L\. Bhasin, J\. Wang, H\. Lin, B\. Huang, Y\. Li, X\. Li,et al\.UniPinRec: unifying generative retrieval and ranking at pinterest scale\.arXiv preprint arXiv:2606\.00422\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Lianget al\.\(2024\)Y\. Liang, J\. Zhao, D\. Li, J\. Feng, C\. Zhang, X\. Ding, J\. Hao, and R\. HeHarvesting efficient on\-demand order pooling from skilled couriers: enhancing graph representation learning for refining real\-time many\-to\-one assignments\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 5363–5374\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1)\. - Munkres \(1957\)J\. MunkresAlgorithms for the assignment and transportation problems\.Journal of the society for industrial and applied mathematics5\(1\),pp\. 32–38\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1)\. - Qinet al\.\(2020\)Z\. Qin, X\. Tang, Y\. Jiao, F\. Zhang, Z\. Xu, H\. Zhu, and J\. YeRide\-hailing order dispatching at didi via reinforcement learning\.INFORMS Journal on Applied Analytics50\(5\),pp\. 272–286\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p1.1)\. - Rajputet al\.\(2023\)S\. Rajput, N\. Mehta, A\. Singh, R\. Hulikal Keshavan, T\. Vu, L\. Heldt, L\. Hong, Y\. Tay, V\. Tran, J\. Samost,et al\.Recommender systems with generative retrieval\.Advances in Neural Information Processing Systems36,pp\. 10299–10315\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Renet al\.\(2024\)Y\. Ren, Q\. Yang, Y\. Wu, W\. Xu, Y\. Wang, and Z\. ZhangNon\-autoregressive generative models for reranking recommendation\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 5625–5634\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Sadeghi Eshkevariet al\.\(2022\)S\. Sadeghi Eshkevari, X\. Tang, Z\. Qin, J\. Mei, C\. Zhang, Q\. Meng, and J\. XuReinforcement learning in the wild: scalable rl dispatching algorithm deployed in ridehailing marketplace\.InProceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining,pp\. 3838–3848\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1),[§5\.1](https://arxiv.org/html/2608.19751#S5.SS1.p4.1)\. - Shahet al\.\(2025\)J\. Shah, I\. Barjasteh, A\. Barapatre, R\. Forsati, G\. Luo, F\. Wu, Y\. Fang, X\. Deng, B\. Shepard, R\. Shah,et al\.Towards web\-scale recommendations with llms: from quality\-aware ranking to candidate generation\.InProceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2514–2524\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Sunet al\.\(2024\)Y\. Sun, K\. Wang, Z\. Hu, R\. Wu, Y\. Wu, W\. Song, X\. Shen, T\. Lv, and C\. FanMGMatch: fast matchmaking with nonlinear objective and constraints via multimodal deep graph learning\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 5741–5751\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1)\. - Tanget al\.\(2019\)X\. Tang, Z\. Qin, F\. Zhang, Z\. Wang, Z\. Xu, Y\. Ma, H\. Zhu, and J\. YeA deep value\-network based approach for multi\-driver order dispatching\.InProceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining,pp\. 1780–1790\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1)\. - Tanget al\.\(2021\)X\. Tang, F\. Zhang, Z\. Qin, Y\. Wang, D\. Shi, B\. Song, Y\. Tong, H\. Zhu, and J\. YeValue function is all you need: a unified learning framework for ride hailing platforms\.InProceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining,pp\. 3605–3615\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1),[§5\.1](https://arxiv.org/html/2608.19751#S5.SS1.p4.1)\. - Vinyalset al\.\(2015\)O\. Vinyals, M\. Fortunato, and N\. JaitlyPointer networks\.Advances in neural information processing systems28\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Wanget al\.\(2025a\)D\. Wang, Y\. Huang, S\. Gao, Y\. Wang, C\. Huang, and S\. ShangGenerative next poi recommendation with semantic id\.InProceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 2,pp\. 2904–2914\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Wanget al\.\(2025b\)J\. Wang, Q\. Hao, W\. Huang, X\. Fan, Q\. Zhang, Z\. Tang, B\. Wang, J\. Hao, and Y\. LiCoopride: cooperate all grids in city\-scale ride\-hailing dispatching with multi\-agent reinforcement learning\.InProceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 1457–1468\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1),[§5\.1](https://arxiv.org/html/2608.19751#S5.SS1.p4.1)\. - Wanget al\.\(2024\)Y\. Wang, J\. Xun, M\. Hong, J\. Zhu, T\. Jin, W\. Lin, H\. Li, L\. Li, Y\. Xia, Z\. Zhao,et al\.Eager: two\-stream generative recommender with behavior\-semantic collaboration\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 3245–3254\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Wanget al\.\(2026\)Y\. Wang, C\. Ma, X\. Yan, M\. Huang, X\. Li, R\. Han, B\. Yin, S\. Chen, X\. Li, F\. Jiang,et al\.MTGenRec: an efficient distributed training system for generative recommendation models in meituan\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2482–2493\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Weiet al\.\(2026\)Z\. Wei, K\. Cai, J\. She, J\. Chen, M\. Chen, Y\. Zeng, Q\. Luo, W\. Zeng, R\. Tang, K\. Gai,et al\.Oneloc: geo\-aware generative recommender systems for local life service\.InProceedings of the Nineteenth ACM International Conference on Web Search and Data Mining,pp\. 735–744\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Xuet al\.\(2018\)Z\. Xu, Z\. Li, Q\. Guan, D\. Zhang, Q\. Li, J\. Nan, C\. Liu, W\. Bian, and J\. YeLarge\-scale order dispatch in on\-demand ride\-hailing platforms: a learning and planning approach\.InProceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining,pp\. 905–913\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1)\. - Xueet al\.\(2026\)B\. Xue, D\. Liu, L\. Wang, M\. Sun, P\. Wang, P\. Zhang, S\. Shi, T\. Xu, Y\. Sha, Z\. Liu,et al\.Generative recommendation for large\-scale advertising\.arXiv preprint arXiv:2602\.22732\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Yanget al\.\(2024\)Z\. Yang, H\. Jin, G\. Fan, M\. Lu, Y\. Liu, X\. Yue, H\. Pan, Z\. Xu, G\. Wu, Q\. Li,et al\.Rethinking order dispatching in online ride\-hailing platforms\.InProceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining,pp\. 3863–3873\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1)\. - Yinet al\.\(2026\)J\. Yin, H\. Wang, P\. Bao, J\. Xu, and Y\. WangFrom clicks to preference: a multi\-stage alignment framework for generative query suggestion in conversational system\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2539–2550\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Yuet al\.\(2026\)Y\. Yu, Y\. Wang, W\. Ma, Z\. Guo, and M\. ZhangAPAO: bridging the training\-inference gap in generative recommendation via adaptive prefix\-aware optimization\.arXiv preprint arXiv:2603\.02730\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Yueet al\.\(2024\)X\. Yue, Y\. Liu, F\. Shi, S\. Luo, C\. Zhong, M\. Lu, and Z\. XuAn end\-to\-end reinforcement learning based approach for micro\-view order\-dispatching in ride\-hailing\.InProceedings of the 33rd ACM international conference on information and knowledge management,pp\. 5054–5061\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1),[§5\.1](https://arxiv.org/html/2608.19751#S5.SS1.p4.1)\. - Zenget al\.\(2026\)Z\. Zeng, H\. Jing, J\. Chen, X\. Li, H\. Liu, Y\. He, Z\. Li, Y\. Sun, Z\. Xie, Y\. Yang,et al\.Optimizing generative ranking relevance via reinforcement learning in xiaohongshu search\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2551–2561\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Zhaiet al\.\(2024\)J\. Zhai, L\. Liao, X\. Liu, Y\. Wang, R\. Li, X\. Cao, L\. Gao, Z\. Gong, F\. Gu, J\. He,et al\.Actions speak louder than words: trillion\-parameter sequential transducers for generative recommendations\.InProceedings of the 41st International Conference on Machine Learning,pp\. 58484–58509\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Zhanget al\.\(2024\)H\. Zhang, G\. Wang, X\. Wang, Z\. Zhou, C\. Zhang, Z\. Dong, and Y\. WangNondbrem: nondeterministic offline reinforcement learning for large\-scale order dispatching\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 401–409\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p1.1)\. - Zhenget al\.\(2018\)L\. Zheng, L\. Chen, and J\. YeOrder dispatch in price\-aware ridesharing\.Proceedings of the VLDB Endowment11\(8\),pp\. 853–865\.Cited by:[§2\.1](https://arxiv.org/html/2608.19751#S2.SS1.p2.1)\. - Zhenget al\.\(2026\)Z\. Zheng, B\. Zhou, A\. Soylu, J\. Tang, and E\. KharlamovDiKGRec: generative recommender model with diffusion and knowledge graph–based reasoning\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2042–2053\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Zhouet al\.\(2025\)G\. Zhou, H\. Hu, H\. Cheng, H\. Wang, J\. Deng, J\. Zhang, K\. Cai, L\. Ren, L\. Ren, L\. Yu,et al\.Onerec\-v2 technical report\.arXiv preprint arXiv:2508\.20900\.Cited by:[§1](https://arxiv.org/html/2608.19751#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p2.1)\. - Zhuanget al\.\(2026\)Z\. Zhuang, S\. Feng, H\. Qian, M\. Yang, H\. Qi, Y\. Shen, and B\. YinThink2Go: generative next poi recommendation with llm reasoning\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2112–2123\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. - Zouet al\.\(2026\)Y\. Zou, J\. Qi, L\. Huang, Y\. Li, K\. Xu, J\. Gao, B\. Zhao, X\. Yang, S\. Xu, and S\. LiGenRec: a preference\-oriented generative framework for large\-scale recommendation\.arXiv preprint arXiv:2604\.14878\.Cited by:[§2\.2](https://arxiv.org/html/2608.19751#S2.SS2.p1.1)\. Table 5\.Scale statistics of the five experimental cities\.Table 6\.Complete ablation results relative to GenMatch \(Full\)\. Values are the mean±\\pmstandard deviation of percentage changes over five runs\.Table 7\.Auxiliary prediction AUC relative to PDP, reported as the mean±\\pmstandard deviation of percentage changes over five runs\.## Appendix AAdditional Experimental Details ### A\.1\.Experimental Details #### A\.1\.1\.Datasets and City Statistics We evaluate GenMatch in five cities from DiDi’s international ride\-hailing markets\. City I and City II are used for offline evaluation, City IV and City V are used for online evaluation, and City III is included in both settings to connect the offline and online observations\. As shown in Table[5](https://arxiv.org/html/2608.19751#S7.T5), the cities cover substantially different operating scales: daily completed orders range from approximately 1\.7K to 13\.8K, daily online drivers range from 0\.18K to 0\.68K, and average trip distance ranges from 3\.47 km to 4\.71 km\. This diversity allows us to evaluate the method under different market sizes and supply–demand conditions rather than on a single operating environment\. For offline experiments, we construct city\-specific simulation environments from historical dispatch logs\. Fourteen days of data are used for training and seven days for evaluation\. At every replayed dispatch step, the simulator provides the contemporaneous orders, available drivers, and feasible candidate connections\. The upstream retrieval and feasibility\-filtering system is fixed for all methods, so every method receives candidate sets generated under the same pickup\-distance, service\-range, and business constraints\. Consequently, the comparison focuses on how each method represents, values, and selects from a common candidate set rather than on differences in candidate retrieval\. Each dispatch batch is represented as a sparse bipartite graph containing order nodes, driver nodes, and feasible OD\-pair edges\. An order is described by 113 features, a driver by 140 features, and a candidate edge by 32 features, giving 285 input fields in total\. These fields cover spatiotemporal context, historical behavior, supply–demand statistics, and pair\-specific business signals such as pickup cost and transaction value\. The graph size changes across dispatch steps because the numbers of available orders, drivers, and feasible connections are determined by the current market state\. #### A\.1\.2\.Metrics We evaluate dispatch performance using Answer Ratio \(AR\), Completion Ratio \(CR\), Average Pickup Time \(APT\), and Gross Merchandise Volume \(GMV\)\. Together, these metrics describe whether an assignment is accepted, whether it is successfully fulfilled, how efficiently the driver reaches the passenger, and how much transaction value it creates\. Answer Ratio \(AR\)is the percentage of dispatched orders answered by drivers\. A larger AR indicates that the selected OD pairs better match driver willingness and that fewer broadcasts are spent on assignments unlikely to receive a response\. It therefore measures the immediate effectiveness of the dispatch decision at the first stage of the service process\. Completion Ratio \(CR\)is the percentage of assigned orders that ultimately complete their trips\. Compared with AR, CR additionally reflects cancellations and other failures after an answer\. A larger CR indicates that the generated assignments are more likely to survive the complete service process and become successfully fulfilled rides, making it a direct measure of dispatch reliability and service conversion\. Average Pickup Time \(APT\)measures the average elapsed time from assignment to driver pickup\. A smaller APT means that drivers can reach passengers more quickly, reducing passenger waiting time and driver\-side pickup cost\. APT therefore captures the spatial and operational efficiency of the selected matching rather than only whether the trip is answered or completed\. Gross Merchandise Volume \(GMV\)is the total transaction value contributed by completed trips\. A larger GMV indicates that the dispatch policy produces greater realized business value, jointly reflecting the number of completed rides and their transaction values\. No single metric fully characterizes dispatch quality\. For example, aggressively prioritizing nearby candidates may reduce APT without maximizing completion or transaction value, while prioritizing high\-value trips alone may increase pickup cost\. We therefore assess the four metrics jointly: higher AR, CR, and GMV and lower APT indicate better overall performance\. #### A\.1\.3\.Baselines We compare GenMatch with production, end\-to\-end, value\-based, and multi\-agent dispatch methods\. All methods operate on candidate sets produced by the same upstream retrieval and feasibility\-filtering system\. Production Dispatching Pipeline \(PDP\)\.PDP follows the conventional industrial paradigm: it first predicts business outcomes independently for each OD pair, combines these signals with a hand\-crafted value function, and then constructs a batch\-level assignment with a separate matching solver\. PDPKMis the deployed configuration and uses Kuhn–Munkres matching to optimize the assignment globally under the calculated pair weights\. PDPGreedyand PDPGSretain the same upstream predictions and pair values but replace the final solver with greedy selection and Gale–Shapley matching, respectively\. Comparing these variants isolates the effect of the matching solver within the conventional multi\-stage pipeline\. End\-to\-End MICOD Baseline\.D2SN formulates MICOD as a two\-layer Markov decision process and sequentially selects OD pairs or hold actions with an encoder–decoder reinforcement\-learning policy\. It is the most closely related end\-to\-end baseline because it also constructs an assignment sequentially\. Unlike GenMatch, however, it does not explicitly model candidate interactions on the sparse bipartite graph or use direct multi\-task supervision from stage\-wise service outcomes\. Value\-Based Baselines\.V1D3 and RLW improve dispatch decisions by learning or refining value estimates for candidate assignments\. They represent approaches that enhance pair\-level weights while retaining a value\-driven decision pipeline\. Their comparison with GenMatch tests whether improved pair values alone are sufficient, or whether jointly learning batch context and the final assignment provides additional benefit\. Multi\-Agent Baselines\.CoRide and CoopRide model driver or regional cooperation with multi\-agent reinforcement learning and are primarily designed to improve fleet\-level, long\-term supply–demand coordination\. We include them to examine whether policies developed from a Macro\-View perspective transfer effectively to the current\-batch, OD\-pair\-level MICOD objective\. GenMatchValue\.This variant replaces only PDP’s pair\-level prediction stage with the DA, PCAA, and DCAA predictions learned by GenMatch\. The original hand\-crafted value calculation and Kuhn–Munkres matching stages remain unchanged\. It isolates the benefit of the Business\-Aware Utility Learner’s service\-process predictions, while the comparison between GenMatchValueand full GenMatch measures the additional contribution of learned utility and state\-aware assignment generation\. #### A\.1\.4\.Evaluation Protocols Offline evaluation replays seven days of historical dispatch traffic in each city\-specific simulator after training on fourteen days of data\. The replay preserves the observed order arrivals, driver states, and candidate connections, and all competing methods are evaluated under the same upstream feasibility rules\. We report AR, CR, APT, and GMV relative to PDPKM\. Each offline result is averaged over five independent runs, and the corresponding standard deviation reflects variation across those runs\. Online A/B tests are conducted in City III–V for fourteen days\. GenMatch and the PDPKMcontrol are evaluated with a one\-hour time\-slice interleaved design, and results are reported as treatment\-minus\-control changes\. This design compares the two systems under recurring live traffic conditions while limiting long\-term drift between the treatment and control periods\. The online evaluation uses the same four primary dispatch metrics as the offline study and additionally examines broadcast volume, answer and completion counts, passenger cancellation and bad\-experience ratios, driver answer and cancellation ratios, and driver income\. #### A\.1\.5\.Implementation Details All models are trained on four NVIDIA RTX L20 GPUs\. We use DeepSpeed Zero Redundancy Optimizer \(ZeRO\) Stage 2 to partition optimizer states and gradients across devices and bfloat16 \(BF16\) mixed precision to reduce memory and computation costs\. The default GenMatch configuration contains two sparse bipartite encoder layers and two pointer\-decoder layers with hidden dimension 128\. Matching attention, competition attention, and pointer scoring each use four heads, and the feed\-forward dimension is 512\. The model supports at most 500 orders, 500 drivers, and 10,000 candidate OD pairs in one dispatch batch\. Training uses Adam for 50 epochs, a cosine learning\-rate schedule with three warm\-up epochs, a learning\-rate search range of×10−55\\\!\\times\\\!10^\{\-5\}to×10−45\\\!\\times\\\!10^\{\-4\}, weight decay of10−410^\{\-4\}, and gradient clipping at 1\.0\. The per\-GPU batch size is 16 and the global batch size is 64\. The three auxiliary service\-process tasks receive equal task weights, and the overall multi\-task\-loss coefficient is set toλmtl=10\\lambda\_\{\\mathrm\{mtl\}\}=10according to the sensitivity analysis in Section[A\.5](https://arxiv.org/html/2608.19751#A1.SS5)\. Offline experiments use five independent random seeds\. Complete model and optimization settings are summarized in Table[9](https://arxiv.org/html/2608.19751#A2.T9), and the training and inference procedures are provided in Section[B\.2](https://arxiv.org/html/2608.19751#A2.SS2)\. ### A\.2\.Full Ablation Results Table[6](https://arxiv.org/html/2608.19751#S7.T6)reports all twelve ablations on the three offline cities\. We analyze each variant together with its corresponding result and implication, organized around the three modules of GenMatch\. Context\-Aware Bipartite Encoder \(A1–A3\)\.A1 removes both batch\-level matching attention in Eq\. \([7](https://arxiv.org/html/2608.19751#S4.E7)\) and competition attention in Eq\. \([6](https://arxiv.org/html/2608.19751#S4.E6)\), reducing the encoder to isolated OD\-pair representations\. This change degrades every metric, decreasing AR by 2\.14%–2\.55%, CR by 2\.55%–3\.07%, and GMV by 0\.57%–2\.28%, while increasing APT by 1\.16%–1\.74%\. A2 restores matching attention over the complete candidate neighborhoods while still removing competition attention\. Relative to A1, it improves AR by 0\.07%–0\.19%, CR by 0\.19%–0\.38%, and GMV by 0\.05%–0\.13%, while reducing the APT increase by 0\.02%–0\.17%; hence, neighborhood\-level matching information is useful even without competition modeling\. Full GenMatch further improves all metrics over A2, confirming that competition relations provide complementary batch context\. A3 instead retains both attention mechanisms but removes their shared degree embedding\. Its effect is small in City I \(−\-0\.14% AR and−\-0\.12% CR\), becomes largest in City II \(−\-0\.66% AR,−\-1\.04% CR, and−\-0\.72% GMV\), and is intermediate in City III\. This city\-dependent degradation indicates that explicit neighborhood size is particularly useful in larger candidate graphs, where normalized attention alone cannot preserve the scale of local competition\. Business\-Aware Utility Learner \(A4–A5\)\.A4 removes the multi\-task supervision of candidate memory while retaining the stage\-wise predictions used to construct utility\. It decreases AR by 2\.20%–2\.76%, CR by 2\.69%–3\.15%, and GMV by 0\.59%–2\.32%, producing the largest AR and CR degradations among the learner variants in every city\. Thus, behavioral\-outcome supervision improves not only the auxiliary predictions but also the shared candidate representations used for assignment\. A5 retains this supervision but removes the utility logit from Eq\. \([14](https://arxiv.org/html/2608.19751#S4.E14)\), leaving the decoder to rely on its structural score\. It degrades all four metrics and increases APT by 1\.44%–2\.70%, the largest APT increase among all ablations in every city\. This result shows that the structural score alone cannot recover the service\-efficiency trade\-offs captured by explicit business\-value guidance\. State\-Aware Pointer Decoder \(A6–A12\)\.A6, A7, and A8 remove the initial\-, selected\-, and residual\-state representations, respectively, from the state\-aware query in Eq\. \([12](https://arxiv.org/html/2608.19751#S4.E12)\)\. A7 causes the smallest degradation of the three, whereas A6 reduces AR by 0\.98%–1\.47% and A8 reduces CR by 1\.07%–1\.55% and GMV by 0\.40%–1\.45%\. The contrast shows that the original batch and, especially, the remaining feasible opportunities provide more decision context than the already selected pairs, although all three summaries contribute\. A9 removes progress encoding and consistently degrades every metric, including AR by 0\.52%–1\.22% and CR by 0\.63%–1\.05%\. This confirms that the averages of the three state sets do not by themselves retain how far generation has progressed\. A10 replaces the explicit state\-aware query with causal self\-attention; its AR and CR losses reach 1\.84% and 2\.05% in City III, showing that implicit history propagation does not represent the evolving feasible set as effectively\. A11 trains with a fixed target order and remains inferior to Full in every city, with CR decreasing by 0\.84%–1\.38% and GMV by 0\.31%–1\.12%; random target permutations therefore reduce dependence on an arbitrary generation order\. Finally, A12 uses the first\-step generation logits as fixed weights for Kuhn–Munkres matching\. It produces particularly large AR and CR losses, reaching−\-2\.46% and−\-3\.07%, respectively, in City III\. Although its APT change is comparatively small, the loss in answered and completed orders demonstrates that frozen scores and one\-shot optimization cannot replace the score updates required after each selected pair changes the feasible set\. Overall, every targeted removal degrades all four dispatch metrics across all three cities\. The encoder results establish the complementary roles of neighborhood composition, competition context, and neighborhood size; the learner results validate behavioral supervision and explicit business guidance; and the decoder results show that assignment quality depends on dynamically representing and updating the matching state\. These complete results support the conclusions drawn from the compact City III table in the main text\. ### A\.3\.Auxiliary Prediction Evaluation We use the area under the receiver operating characteristic curve \(AUC\) to evaluate the auxiliary DA, PCAA, and DCAA predictions\. A larger AUC indicates better discrimination between positive and negative outcomes\. Table[7](https://arxiv.org/html/2608.19751#S7.T7)reports relative AUC changes over the production prediction model\. GenMatch improves all three tasks in every city, demonstrating that the gains are consistent across different markets rather than being specific to one dataset\. DA improves by 1\.62%–1\.79%, the largest gain among the three tasks\. PCAA and DCAA improve by 0\.76%–0\.84% and 0\.45%–0\.74%, respectively\. The relatively small standard deviations over five runs further indicate stable improvements\. These results verify that the Business\-Aware Utility Learner captures the stage\-wise service process more accurately than the production prediction model\. They also explain the improvement of GenMatchValue: replacing only the prediction stage with these auxiliary predictions already benefits dispatch performance, even when the hand\-crafted value calculation and Kuhn–Munkres matching remain unchanged\. The additional improvement of full GenMatch reported in the main text therefore comes from jointly learning business utility and generating the final assignment, rather than from prediction accuracy alone\. ### A\.4\.Effect of Model Capacity Figure[5](https://arxiv.org/html/2608.19751#acmlabel5)studies model capacity by varying encoder depth, decoder depth, and hidden dimensiondd\. Results are reported relative to theMediumconfiguration, and the outlined markers identify the best configuration for each city\. TheSmallmodel degrades all four metrics across all three cities, showing that insufficient capacity limits both matching quality and business value\. Reducing encoder depth, decoder depth, or width also causes broad performance drops\. A shallower encoder markedly reduces CR and increases APT, confirming the importance of sufficient capacity for batch\-level graph encoding\. A shallower decoder mainly hurts AR and CR, while reduced width weakens all four metrics\. Increasing capacity beyondMediumdoes not yield consistent gains\. TheLargemodel slightly improves AR in City II and City III and reduces APT in City I and City III\. However, it substantially reduces CR and GMV in every city\. In contrast,Mediumachieves the best CR and GMV across all three cities and the best APT in City II\. It therefore provides the best overall balance between model capacity and dispatch performance and is used as the default configuration\. \(a\)AR \(↑\\uparrow\)\(b\)CR \(↑\\uparrow\)\(c\)APT \(↓\\downarrow\)\(d\)GMV \(↑\\uparrow\) Figure 5\.Effect of model capacity relative to the Medium configuration\. Error bars denote standard deviations over five runs\.Four panels show changes in answer ratio, completion ratio, average pickup time, and gross merchandise volume relative to the Medium configuration across three cities\. Six configurations vary encoder depth, decoder depth, and hidden dimension\. ### A\.5\.Effect of the Multi\-Task\-Loss Weight Table[8](https://arxiv.org/html/2608.19751#A1.T8)studiesλmtl\\lambda\_\{\\mathrm\{mtl\}\}, which balances the sequence\-generation loss and the multi\-task loss in Eq\. \([19](https://arxiv.org/html/2608.19751#S4.E19)\)\. All values are reported relative toλmtl=10\\lambda\_\{\\mathrm\{mtl\}\}=10\. Weights below 10 provide insufficient behavioral supervision and consistently degrade dispatch performance\. Larger weights can improve auxiliary AUC, especially at 1,000 and 10,000, but these prediction gains do not translate into better assignments: CR and GMV generally decrease because the multi\-task objective begins to dominate sequence learning\. We therefore setλmtl=10\\lambda\_\{\\mathrm\{mtl\}\}=10, which provides the best overall balance across dispatch metrics and cities\. Table 8\.Sensitivity toλmtl\\lambda\_\{\\mathrm\{mtl\}\}relative to the selected value 10\. Values are the mean±\\pmstandard deviation of percentage changes over five runs\. Larger AR, CR, GMV, and AUC and smaller APT are preferred\. Bold and underlined values denote the best and second\-best results in each column, respectively\.\(a\) Dispatch performance \(b\) Auxiliary prediction AUC ## Appendix BImplementation and Deployment Details ### B\.1\.Model Configuration Table[9](https://arxiv.org/html/2608.19751#A2.T9)lists the model and training configurations of GenMatch\. Table 9\.Model and training configurations of GenMatch\.ConfigurationSymbolValueEncoder layersLencL\_\{\\mathrm\{enc\}\}2Decoder layersLdecL\_\{\\mathrm\{dec\}\}2Hidden dimensiondd128Matching\-attention heads–4Competition\-attention heads–4Pointer headsPptrP\_\{\\mathrm\{ptr\}\}4Feed\-forward dimension–512Dropout ratio–0\.2Multi\-task shared\-layer dimensions–\[256,256\]\[256,256\]Multi\-task tower dimensions–\[256,128,64\]\[256,128,64\]DA loss weightλDA\\lambda\_\{\\mathrm\{DA\}\}1\.0PCAA loss weightλPCAA\\lambda\_\{\\mathrm\{PCAA\}\}1\.0DCAA loss weightλDCAA\\lambda\_\{\\mathrm\{DCAA\}\}1\.0Multi\-task\-loss weightλmtl\\lambda\_\{\\mathrm\{mtl\}\}10\.0Maximum orders per batch–500Maximum drivers per batch–500Maximum candidate OD pairs–10000Training epochs–50Optimizer–AdamLearning\-rate range–×10−55\\\!\\times\\\!10^\{\-5\}–×10−45\\\!\\times\\\!10^\{\-4\}Learning\-rate scheduler–CosineWarm\-up epochs–3Weight decay–10−410^\{\-4\}Batch size per GPU–16Global batch size–64Gradient clipping–1\.0 ### B\.2\.Training and Inference Procedures Algorithm[1](https://arxiv.org/html/2608.19751#alg1)summarizes training\. Each dispatch batch is encoded once, after which the model learns stage\-wise service outcomes and utility logits\. A random permutation of the completed OD pairs provides the teacher\-forced generation target, and the generation and auxiliary losses jointly update all model parameters\. Algorithm 1GenMatch Training Procedure1:Mini\-batches of \{𝒢t,𝒞t,\{𝐲r,wr\}r=1Pt\}\\\{\\mathcal\{G\}\_\{t\},\\mathcal\{C\}\_\{t\},\\\{\\mathbf\{y\}\_\{r\},w\_\{r\}\\\}\_\{r=1\}^\{P\_\{t\}\}\\\}; loss weights \{λm\}m∈𝒯\\\{\\lambda\_\{m\}\\\}\_\{m\\in\\mathcal\{T\}\}and λmtl\\lambda\_\{\\mathrm\{mtl\}\} 2:Trained model parameters Θ\\Theta 3:Initialize model parameters Θ\\Theta 4:foreach training epochdo 5:foreach mini\-batch ℐ\\mathcal\{I\}do 6:Initialize accumulated losses and valid\-position counts 7:foreach dispatch batch t∈ℐt\\in\\mathcal\{I\}do 8:Encode 𝒢t\\mathcal\{G\}\_\{t\}as pair representations \{𝐳r\}r=1Pt\\\{\\mathbf\{z\}\_\{r\}\\\}\_\{r=1\}^\{P\_\{t\}\}using Eq\. \([10](https://arxiv.org/html/2608.19751#S4.E10)\) 9:Predict the DA, PCAA, and DCAA probabilities with the multi\-task network 10:Obtain \{ar\}r=1Pt\\\{a\_\{r\}\\\}\_\{r=1\}^\{P\_\{t\}\}using Eq\. \([11](https://arxiv.org/html/2608.19751#S4.E11)\) 11:Uniformly sample an ordering of 𝒞t\\mathcal\{C\}\_\{t\}to form 𝒴t∗=\(et,∗\(1\),…,et,∗\(Kt∗\)\)\\mathcal\{Y\}\_\{t\}^\{\*\}=\(e\_\{t,\*\}^\{\(1\)\},\\ldots,e\_\{t,\*\}^\{\(K\_\{t\}^\{\*\}\)\}\), where Kt∗=\|𝒞t\|K\_\{t\}^\{\*\}=\|\\mathcal\{C\}\_\{t\}\| 12:Set 𝐒init←∑r𝐳r\\mathbf\{S\}\_\{\\mathrm\{init\}\}\\leftarrow\\sum\_\{r\}\\mathbf\{z\}\_\{r\}, Ninit←PtN\_\{\\mathrm\{init\}\}\\leftarrow P\_\{t\}, and 𝐪init←𝐒init/Ninit\\mathbf\{q\}\_\{\\mathrm\{init\}\}\\leftarrow\\mathbf\{S\}\_\{\\mathrm\{init\}\}/N\_\{\\mathrm\{init\}\} 13:Initialize the selected\-state statistics with \(𝐒sel\(1\),Nsel\(1\)\)←\(𝟎,0\)\(\\mathbf\{S\}\_\{\\mathrm\{sel\}\}^\{\(1\)\},N\_\{\\mathrm\{sel\}\}^\{\(1\)\}\)\\leftarrow\(\\mathbf\{0\},0\) 14:Initialize the residual\-state statistics with \(𝐒res\(1\),Nres\(1\)\)←\(𝐒init,Pt\)\(\\mathbf\{S\}\_\{\\mathrm\{res\}\}^\{\(1\)\},N\_\{\\mathrm\{res\}\}^\{\(1\)\}\)\\leftarrow\(\\mathbf\{S\}\_\{\\mathrm\{init\}\},P\_\{t\}\) 15:Set mr\(1\)←1m\_\{r\}^\{\(1\)\}\\leftarrow 1for all rr 16:for k=1,…,Kt∗k=1,\\ldots,K\_\{t\}^\{\*\}do 17:Construct 𝐪\(k\)\\mathbf\{q\}^\{\(k\)\}using Eq\. \([12](https://arxiv.org/html/2608.19751#S4.E12)\) 18:Compute \{s¯r\(k\)\}\\\{\\bar\{s\}\_\{r\}^\{\(k\)\}\\\}and \{pr\(k\)\}\\\{p\_\{r\}^\{\(k\)\}\\\}using Eqs\. \([13](https://arxiv.org/html/2608.19751#S4.E13)\) and \([14](https://arxiv.org/html/2608.19751#S4.E14)\) 19:Under teacher forcing, find r∗\(k\)r\_\{\*\}^\{\(k\)\}such that er∗\(k\)=et,∗\(k\)e\_\{r\_\{\*\}^\{\(k\)\}\}=e\_\{t,\*\}^\{\(k\)\} 20:Accumulate −logpr∗\(k\)\(k\)\-\\log p\_\{r\_\{\*\}^\{\(k\)\}\}^\{\(k\)\} 21:Let ℬ\(k\)\\mathcal\{B\}^\{\(k\)\}contain the target pair and its currently selectable conflicting pairs 22:Update the selected\- and residual\-state statistics using Eq\. \([16](https://arxiv.org/html/2608.19751#S4.E16)\), and mask ℬ\(k\)\\mathcal\{B\}^\{\(k\)\} 23:endfor 24:endfor 25:Compute ℒgen\\mathcal\{L\}\_\{\\mathrm\{gen\}\}and ℒmtl\\mathcal\{L\}\_\{\\mathrm\{mtl\}\}using Eqs\. \([17](https://arxiv.org/html/2608.19751#S4.E17)\) and \([18](https://arxiv.org/html/2608.19751#S4.E18)\) 26:Compute ℒ\\mathcal\{L\}using Eq\. \([19](https://arxiv.org/html/2608.19751#S4.E19)\) 27:Update Θ\\Thetausing ∇Θℒ\\nabla\_\{\\Theta\}\\mathcal\{L\} 28:endfor 29:endfor 30:return Θ\\Theta Algorithm[2](https://arxiv.org/html/2608.19751#alg2)details inference\. GenMatch first computes pair memory and utility logits for the complete dispatch batch\. At each step, it constructs the query from the current matching state, greedily selects the highest\-probability selectable candidate, masks every conflicting candidate, and incrementally updates the selected and residual states\. This loop continues while∑rmr\(k\)\>0\\sum\_\{r\}m\_\{r\}^\{\(k\)\}\>0, and the selected OD pairs form the final matching set\. Algorithm 2GenMatch Inference Procedure1:Dispatch batch 𝒢t\\mathcal\{G\}\_\{t\}; trained model parameters Θ\\Theta 2:Generated assignment ℳt\\mathcal\{M\}\_\{t\} 3:Encode 𝒢t\\mathcal\{G\}\_\{t\}as pair representations \{𝐳r\}r=1Pt\\\{\\mathbf\{z\}\_\{r\}\\\}\_\{r=1\}^\{P\_\{t\}\}using Eq\. \([10](https://arxiv.org/html/2608.19751#S4.E10)\) 4:Predict the DA, PCAA, and DCAA probabilities with the multi\-task network 5:Obtain \{ar\}r=1Pt\\\{a\_\{r\}\\\}\_\{r=1\}^\{P\_\{t\}\}using Eq\. \([11](https://arxiv.org/html/2608.19751#S4.E11)\) 6:Initialize ℳt←∅\\mathcal\{M\}\_\{t\}\\leftarrow\\varnothing, mr\(1\)←1m\_\{r\}^\{\(1\)\}\\leftarrow 1for all rr, and k←1k\\leftarrow 1 7:Set 𝐒init←∑r𝐳r\\mathbf\{S\}\_\{\\mathrm\{init\}\}\\leftarrow\\sum\_\{r\}\\mathbf\{z\}\_\{r\}, Ninit←PtN\_\{\\mathrm\{init\}\}\\leftarrow P\_\{t\}, and 𝐪init←𝐒init/Ninit\\mathbf\{q\}\_\{\\mathrm\{init\}\}\\leftarrow\\mathbf\{S\}\_\{\\mathrm\{init\}\}/N\_\{\\mathrm\{init\}\} 8:Initialize the selected\-state statistics as \(𝟎,0\)\(\\mathbf\{0\},0\)and the residual\-state statistics as \(𝐒init,Pt\)\(\\mathbf\{S\}\_\{\\mathrm\{init\}\},P\_\{t\}\) 9:while ∑r=1Ptmr\(k\)\>0\\sum\_\{r=1\}^\{P\_\{t\}\}m\_\{r\}^\{\(k\)\}\>0do 10:Construct 𝐪\(k\)\\mathbf\{q\}^\{\(k\)\}using Eq\. \([12](https://arxiv.org/html/2608.19751#S4.E12)\) 11:Compute \{s¯r\(k\)\}\\\{\\bar\{s\}\_\{r\}^\{\(k\)\}\\\}and \{pr\(k\)\}\\\{p\_\{r\}^\{\(k\)\}\\\}using Eqs\. \([13](https://arxiv.org/html/2608.19751#S4.E13)\) and \([14](https://arxiv.org/html/2608.19751#S4.E14)\) 12:Select r\(k\)r^\{\(k\)\}using Eq\. \([15](https://arxiv.org/html/2608.19751#S4.E15)\) 13: ℳt←ℳt∪\{er\(k\)\}\\mathcal\{M\}\_\{t\}\\leftarrow\\mathcal\{M\}\_\{t\}\\cup\\\{e\_\{r^\{\(k\)\}\}\\\} 14:Let ℬ\(k\)\\mathcal\{B\}^\{\(k\)\}contain the selected pair and its currently selectable conflicting pairs 15:Update the selected\- and residual\-state statistics using Eq\. \([16](https://arxiv.org/html/2608.19751#S4.E16)\), and mask ℬ\(k\)\\mathcal\{B\}^\{\(k\)\} 16: k←k\+1k\\leftarrow k\+1 17:endwhile 18:return ℳt\\mathcal\{M\}\_\{t\} ### B\.3\.Deployment Details GenMatch has been deployed on a large\-scale ride\-hailing platform serving multiple international markets\. The existing production system, which we call the Pair\-Level Dispatch Engine, was designed for the conventional multi\-stage paradigm\. It partitions feasible order\-driver pairs into shards, predicts pair\-level business signals in parallel, calculates matching weights, and constructs the final assignment\. This design is efficient because each pair can be processed independently before dispatch matching\. It therefore avoids assembling the complete dispatch batch during model inference and scales well under strict latency constraints\. GenMatch changes the serving unit from an individual pair to an entire dispatch batch\. Its encoder requires the complete sparse bipartite graph, and its decoder must maintain a consistent candidate order while generating assignments\. We therefore develop a Batch\-Level Generative Dispatch Engine\. This upgrade introduces three challenges\. First, centralizing feature preparation would cause excessive compute and latency, while independent shards cannot provide the full batch structure\. We retain distributed candidate filtering and feature preparation, then use a city\-level orchestrator to restore candidate order and assemble the complete batch for global inference\. Second, GenMatch requires 285 features produced across different shards\. Re\-fetching them globally is costly, and shard\-local feature identifiers may be inconsistent\. We pass sparse features with their candidates and re\-key them into one global feature dictionary during aggregation\. Third, autoregressive outputs depend on stable candidate indices and must coexist with other product lines\. We remove previously claimed candidates before inference and treat generated pairs as pre\-assignments, which then enter the standard arbitration and locking process\. We deploy the new engine in three steps: feature transmission, shadow model inference, and generative decision making\. Any serving failure, malformed output, or configuration error automatically falls back to the Pair\-Level Dispatch Engine, and GenMatch can be disabled without redeployment\. The resulting design retains the scalability of pair\-level distributed processing while enabling safe batch\-level generative matching in production\.
Similar Articles
ProfiLLM: Utility-Aligned Agentic User Profiling for Industrial Ride-Hailing Dispatch
ProfiLLM introduces an agentic LLM pipeline that generates utility-aligned user profiles from platform-scale behavioral logs for industrial ride-hailing dispatch, achieving significant improvements in outcome prediction and GMV in production at DiDi.
Bootstrap Your Generator: Unpaired Visual Editing with Flow Matching
Bootstrap Your Generator (ByG) is a framework for unpaired training of flow matching editing models, leveraging base model knowledge and gradient routing to achieve state-of-the-art results in data-scarce image and video editing tasks.
Reinforcing Few-step Generators via Reward-Tilted Distribution Matching
RTDMD is a two-stage framework combining distribution matching distillation with reward-guided reinforcement learning to improve few-step image generation alignment with human preferences. It achieves state-of-the-art results on multiple models with only 4 inference steps.
Reinforcing the Generation Order of Multimodal Masked Diffusion Models
This paper introduces a learnable control module trained via Group Relative Policy Optimization (GRPO) to optimize the generation order in multimodal masked diffusion models, achieving improvements in text-to-image alignment and multimodal understanding.
UniGD: A Unified Generative-Discriminative Framework for Industrial Retrieval
Kuaishou researchers propose UniGD, a unified generative-discriminative framework for industrial retrieval that integrates retrieval and relevance scoring into a single model, with techniques like CAGE and CAM to improve effectiveness and reduce latency. Online A/B tests show a 5.78% ad revenue increase and 33.1% inference latency reduction.