TLDR: A study developed a deep tabular learning framework to predict electric vehicle (EV) crash severity using Texas crash data (2017-2023). Analyzing 23,301 EV crash records, the researchers identified key predictors like intersection relation and automatic emergency braking. They applied SMOTEENN resampling to address class imbalance and benchmarked TabPFN, MambaNet, and MambaAttention models. MambaAttention achieved the highest accuracy (96%) and superior performance in classifying severe injury cases due to its attention mechanism, demonstrating the potential of deep tabular architectures for enhancing EV safety predictions.
The rapid rise of electric vehicles (EVs) on our roads brings with it a new set of safety considerations. Unlike traditional gasoline-powered cars, EVs have distinct dynamics, quiet operation, and battery-related risks that can influence crash outcomes. This highlights a critical need for specialized tools to accurately predict the severity of EV crashes, moving beyond models that treat all vehicles the same.
A recent study, titled Tabular Data with Class Imbalance: Predicting Electric Vehicle Crash Severity with Pretrained Transformers (TabPFN) and Mamba-Based Models, addresses this challenge head-on. Researchers from Texas State University developed a sophisticated deep tabular learning framework designed specifically for predicting crash severity in EV collisions. Their work leverages real-world crash data from Texas, spanning from 2017 to 2023, to build more effective predictive models.
The study began by meticulously filtering the extensive Texas Crash Records Information System (CRIS) database, focusing solely on electric-only vehicles. This yielded a substantial dataset of 23,301 EV-involved crash records for analysis. To ensure the models could learn effectively, the team identified key predictors of crash severity using advanced feature importance techniques like XGBoost and Random Forest. Top factors included intersection relation, the first harmful event, person age, crash speed limit, and the day of the week. Importantly, advanced safety features such as automatic emergency braking were also recognized as crucial predictors, filling a gap in previous research.
One common hurdle in crash data analysis is class imbalance, where non-injury cases vastly outnumber severe or fatal incidents. To overcome this, the researchers applied a hybrid resampling technique called Synthetic Minority Over-sampling Technique and Edited Nearest Neighbors (SMOTEENN). This method helps balance the dataset, ensuring that the models don’t overlook the rarer, but critically important, severe injury cases.
The core of the framework involved benchmarking three state-of-the-art deep tabular models: TabPFN, MambaNet, and MambaAttention. Each model brings a unique approach to learning from structured data. TabPFN, for instance, is a pretrained transformer that offers efficient, one-shot inference without extensive hyperparameter tuning. MambaNet integrates convolutional neural networks (CNNs) with state-space layers to capture complex feature dependencies. MambaAttention, an enhanced variant, uses an attention mechanism to dynamically reweight key features, allowing it to focus on the most informative aspects of the crash data.
In evaluating the models’ performance, MambaAttention emerged as the frontrunner, achieving an impressive 96% accuracy. Its attention-based feature reweighting proved particularly effective in classifying severe injury cases, demonstrating superior performance in distinguishing between different levels of injury severity. MambaNet also showed strong predictive capabilities, especially for severe crashes, benefiting from its hybrid design. While TabPFN delivered competitive results and offered efficient processing, its reliance on one-shot inference meant it couldn’t fully adapt to the nuances of the resampled EV crash dataset, leading to slightly lower overall accuracy.
Also Read:
- HeLoFusion: A New Encoder for Smarter Traffic Trajectory Prediction
- ReFine: A New Approach for Generating Tabular Data in Low-Data Scenarios
The findings of this study underscore the significant potential of deep tabular architectures for enhancing crash severity prediction in the context of electric vehicles. By accurately identifying the factors contributing to severe outcomes, this research paves the way for more data-driven safety interventions and real-time decision support systems, ultimately contributing to safer roads for EV drivers and passengers.


