Abstract:To address critical challenges in long-sequence energy consumption prediction for electric vehicles (EVs), including memory decay, high computational complexity of attention mechanisms, and insufficient adaptability to dynamic driving conditions, this paper proposes a memoryaugmented attentionbased prediction model termed deep Q networkadaptive memory augmented gating (DQNAMAG). The model is built upon an adaptive memoryaugmented gating (AMAG) network that incorporates a threelevel collaborative memory architecture consisting of shortterm memory, longterm neural memory, and persistent memory. A surprisedriven decay mechanism is introduced to enhance the modeling of battery degradation and abrupt operating condition variations, enabling effective capture of multiscale temporal dependencies in longhorizon energy consumption sequences. Furthermore, an adaptive Nystrm attention (ANSA) mechanism is developed to perform lowrank approximation of the attention matrix via the Nystrm method with adaptive sampling dimension adjustment. This reduces the computational complexity from O(T2) to O(T·r), significantly improving efficiency and realtime performance in longsequence scenarios. An adaptive multiscale spatiotemporal attention mechanism (AMSTA) mechanism and a hypernetworkbased dynamic forward model are additionally introduced to enhance deep crossmodal fusion between road condition images and battery management system (BMS) timeseries data, strengthening environmental perception capability. Moreover, the AMAG network is embedded into a reinforcement learning framework, where temporal difference learning provides temporalconsistency regularization and enables selfcalibrated parameter optimization. Experimental results based on five years of realvehicle operational data from two vehicle types demonstrate that the proposed model achieves a mean absolute error (MAE) below 02%, a root mean square error (RMSE) below 03%, and Rsquared (R2) above 995% under different stateofhealth (SOH) conditions. The model exhibits superior stability and generalization performance in long-sequence prediction and battery degradation scenarios, significantly outperforming mainstream models such as Transformer, Informer, Mamba, and LSTM.