Search papers, labs, and topics across Lattice.
The paper introduces DriveCode, a novel numerical encoding method for LLMs in autonomous driving that represents numbers as dedicated embeddings instead of discrete tokens. This approach addresses limitations of tokenization, such as reduced numerical reasoning precision and inefficient decoding. Experiments on OmniDrive, DriveGPT4, and DriveGPT4-V2 datasets demonstrate that DriveCode improves trajectory prediction and control signal generation.
LLMs can now handle autonomous driving tasks with greater precision and efficiency thanks to DriveCode, which replaces discrete number tokens with continuous embeddings.
Large language models (LLMs) have shown great promise for autonomous driving. However, discretizing numbers into tokens limits precise numerical reasoning, fails to reflect the positional significance of digits in the training objective, and makes it difficult to achieve both decoding efficiency and numerical precision. These limitations affect both the processing of sensor measurements and the generation of precise control commands, creating a fundamental barrier for deploying LLM-based autonomous driving systems. In this paper, we introduce DriveCode, a novel numerical encoding method that represents numbers as dedicated embeddings rather than discrete text tokens. DriveCode employs a number projector to map numbers into the language model's hidden space, enabling seamless integration with visual and textual features in a unified multimodal sequence. Evaluated on OmniDrive, DriveGPT4, and DriveGPT4-V2 datasets, DriveCode demonstrates superior performance in trajectory prediction and control signal generation, confirming its effectiveness for LLM-based autonomous driving systems.