atlas

Research map / Architectures and efficiency / Attention and transformers

Harnessing Event Sensory Data for Error Pattern Prediction in Vehicles: A Language Model Approach

AAAI 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and circuits · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CarFormer, a causal Transformer pretrained on vehicle diagnostic trouble code sequences with time and mileage context, and EPredictor, a cross-attention decoder that predicts which error patterns occur and when.

Problem

Predicting when and which error patterns (EPs) will occur in a car from multivariate, irregular diagnostic trouble code (DTC) event streams with high cardinality, class imbalance, and limited labels.

Approach

Treat DTC sequences as language: a causal Transformer encoder (CarFormer) with continuous time and mileage context embedded into queries and keys and trained with next-event, time, and random-event losses, feeding an autoregressive EPredictor decoder that outputs multi-label EP probabilities and time-to-occurrence via cross-attention.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add key-value cross-attention (ablation)EPredictor · EP test setMicro F1 (%): 80.74 -> 84.38Helped
Add cross-attention (ablation)EPredictor · EP test setMicro F1 (%): 80.74 -> 84.38Helped
Add context embedding to layer 2 rather than both layers (ablation)EPredictor · EP test setMicro F1 (%): 82.69 -> 84.38Helped
Add attention scaling (ablation)EPredictor · EP test setMicro F1 (%): 84.38 -> 84.38No clear effect
Add mileage through mixed feed-forward network (ablation)EPredictor · EP test setMAPE (%): 35.89 -> 33.37Helped
Add relative speed matrix (ablation)EPredictor · EP test setMicro F1 (%): 84.38 -> 83.53Hurt
Add absolute time embedding (ablation)CarFormer · Next event predictionACC (%): 22.64 -> 21.48Hurt
Add mileage embedding to time embedding at the input (ablation)CarFormer · Next event predictionACC (%): 21.48 -> 21.38Hurt
Use c2m and m2c attention terms with time embedding (ablation)CarFormer · Next event predictionACC (%): 21.48 -> 21.58Helped
Use RoPE with context embedding (ablation)CarFormer · Next event predictionACC (%): 21.48 -> 22.64Helped
Use context embedding with RoPE rather than time embedding only (ablation)CarFormer · Next event predictionMAPE (%): 2.9 -> 3.2Hurt
Set minimum context to 30 observations (ablation)EPredictor · EP test setF1 score: +2%Helped

Surprising findings

Limitations

Experimental setup

Datasets: anonymized vehicular DTC sequence dataset (1.7M sequences) repair and warranty error pattern labels

Benchmarks: in-house vehicular DTC test set

Metrics: accuracy micro F1 MAPE MAE RMSE CPMWAUC

Baselines: GPT

Builds on: GPT Transformer Hawkes Process RoPE DeBERTa disentangled attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy