A Unified Variational Imputation Framework for Electric Vehicle Charging Data Using Retrieval-Augmented Language Model
Jinhao Li, Hao Wang
TL;DR
This work addresses the challenge of missing EV charging data by introducing PRAIM, a unified probabilistic imputation framework that leverages retrieval-augmented language model embeddings to fuse multimodal context (time-series, calendar, geospatial features) into a single universal model. PRAIM enriches context with a retrieval-augmented memory (RAG), encodes it in a variational latent space, and uses a FiLM-modulated transformer decoder to produce a Gaussian distribution for imputed demands, offering both predictions and uncertainty estimates. Across four public datasets, PRAIM outperforms a broad set of baselines in imputation accuracy and in preserving the data’s distribution, with notable gains in downstream forecasting performance. The approach demonstrates strong robustness to high missingness, adapts via non-parametric memory for concept drift, and remains scalable for large EV charging networks, marking a significant advance in multimodal, uncertainty-aware time-series imputation. This framework sets the stage for applying LLM/RAG-based imputation to other complex domains with sparse, heterogeneous data streams.
Abstract
The reliability of data-driven applications in electric vehicle (EV) infrastructure, such as charging demand forecasting, hinges on the availability of complete, high-quality charging data. However, real-world EV datasets are often plagued by missing records, and existing imputation methods are ill-equipped for the complex, multimodal context of charging data, often relying on a restrictive one-model-per-station paradigm that ignores valuable inter-station correlations. To address these gaps, we develop a novel PRobabilistic variational imputation framework that leverages the power of large lAnguage models and retrIeval-augmented Memory (PRAIM). PRAIM employs a pre-trained language model to encode heterogeneous data, spanning time-series demand, calendar features, and geospatial context, into a unified, semantically rich representation. This is dynamically fortified by retrieval-augmented memory that retrieves relevant examples from the entire charging network, enabling a single, unified imputation model empowered by variational neural architecture to overcome data sparsity. Extensive experiments on four public datasets demonstrate that PRAIM significantly outperforms established baselines in both imputation accuracy and its ability to preserve the original data's statistical distribution, leading to substantial improvements in downstream forecasting performance.
