DiMA: An LLM-Powered Ride-Hailing Assistant at DiDi

Yansong Ning, Shuowei Cai, Wei Li, Jun Fang, Naiqiang Tan +2 more
2/12/2025
cs.CLcs.CYcs.HC

Official code: usail-hkust/DiMA (15 stars, last commit 2025-10-09).

Abstract

On-demand ride-hailing services like DiDi, Uber, and Lyft have transformed urban transportation, offering unmatched convenience and flexibility. In this paper, we introduce DiMA, an LLM-powered ride-hailing assistant deployed in DiDi Chuxing. Its goal is to provide seamless ride-hailing services and beyond through a natural and efficient conversational interface under dynamic and complex spatiotemporal urban contexts. To achieve this, we propose a spatiotemporal-aware order planning module that leverages external tools for precise spatiotemporal reasoning and progressive order planning. Additionally, we develop a cost-effective dialogue system that integrates multi-type dialog repliers with cost-aware LLM configurations to handle diverse conversation goals and trade-off response quality and latency. Furthermore, we introduce a continual fine-tuning scheme that utilizes real-world interactions and simulated dialogues to align the assistant's behavior with human preferred decision-making processes. Since its deployment in the DiDi application, DiMA has demonstrated exceptional performance, achieving 93% accuracy in order planning and 92% in response generation during real-world interactions. Offline experiments further validate DiMA capabilities, showing improvements of up to 70.23% in order planning and 321.27% in response generation compared to three state-of-the-art agent frameworks, while reducing latency by $0.72\times$ to $5.47\times$. These results establish DiMA as an effective, efficient, and intelligent mobile assistant for ride-hailing services. Our project is released at https://github.com/usail-hkust/DiMA and we also release the MCP service (https://mcp.didichuxing.com/api) to foster the ride-hailing research community.

View on arXivView PDF

Code Implementations(1)

usail-hkust/DiMAOfficial100%
150May 26, 20251 years ago

Similar Papers

Cite this paper

@article{ning2025dima,
  title  = {DiMA: An LLM-Powered Ride-Hailing Assistant at DiDi},
  author = {Yansong Ning and Shuowei Cai and Wei Li and Jun Fang and Naiqiang Tan and Hua Chai and Hao Liu},
  year   = {2025},
  eprint = {2503.04768},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.04768v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.04768.svg)](https://codeofpaper.com/paper/2503.04768)

Discussion