CANTraj: Recovering Vehicle Trajectories from CAN Signals in Naturalistic Driving
Yuhang Wang, Jingxin Yang, Chuheng Wei, Suyang Chen, Haozhuang Chi, Hao Zhou
cs.CR, cs.DB
2026-11-14
On 776 unseen-driver trips, steering plus a map filter raises five-minute route recovery from 56% to 87% (median error 43 m versus 921 m with no map).
Usage-based insurance and public driving releases often drop GNSS and treat that as location privacy. The CAN bus still broadcasts wheel speed, steering angle, pedals and yaw rate. Earlier route-inference attacks can already match those signals to a road network. The published numbers cannot be lined up. SPy used 58 trips from five vehicle models, OPD-II 59 tracks from four cars, and Elastic Pathing 945 traces from two regions, some of them speeds derived from GPS. A hit might be a ranked destination, an overlap score, or the union of several candidate routes. Whether the start, the heading or only a containing area was known also changed from paper to paper. Nobody had measured, on the same drives, how much each signal adds, with failures kept in the score.
CANTraj re-decodes aftermarket driver-assistance logs from the drivers' own cars and time-aligns them with GNSS. The release has 3,940 drives and 454 drivers. The benchmark keeps 3,675 drives, 431 drivers, 266 platforms and 27 brands: 1,380 hours, 85,919 km, 97,340 episodes. Test is 43 drivers and 302 drives. Few-shot is 51 drivers and 474 drives. Those 94 drivers never appear in training. The United States contributes 3,134 drives, Europe 170.
The start position is given. Each method must return a position at every GNSS second over the next 1, 5 or 15 minutes, or over the rest of the drive. Online methods see a message only after its logged time. Offline methods see the whole window. The map is an OpenStreetMap disc around the start: radius 5 km plus 40 m/s times the duration, capped at 60 km. Initial heading can be withheld.
A route counts as recovered when path recall at 50 m is at least 0.8. ADE is the mean per-second distance to the GNSS fix. A window that should have produced an output and did not is scored as infinite ADE and zero recovery, so the median still sees the miss.
Six published attacks were re-implemented on one interface, next to shared baselines. With no map, a baseline either draws a straight line at the measured speed or runs a bicycle model with that car's wheelbase and steering ratio. With a map, an online filter steps 2,000 particles by speed and steering, then pulls them toward road bearing. Offline beam search, width 200, integrates steering into a heading, scores the roads at each junction and keeps ten paths. MacroTracking and OPD-II consume speed plus steering. Elastic Pathing and Dewri et al. search on speed alone. CAN-Trace also needs the accelerator. SPy matches steering to curvature and ignores speed. Against the authors' own samples, the MacroTracking port stays within a median of 7.1 m, and OPD-II within 0.33 m on 8 of their logs. The other four attacks were not checked the same way.
Five-minute test windows, start and heading known. Windows with no output stay in the denominator.
| Method | Median ADE | Route recovered |
| Straight line, no map | 735 m | 9% |
| Steering dead reckoning, no map | 921 m | 4% |
| Learned GRU, no map | 543 m | 7% |
| Map particle filter, speed only | 286 m | 56% |
| Map particle filter, speed + steering | 43 m | 87% |
| Offline beam, speed + steering | 37 m | 88% |
| OPD-II, online read-out | 42 m | 79% |
| MacroTracking | 84 m | 62% |
| Elastic Pathing, heading given | 87 m | 58% |
| Dewri et al., heading given | 81 m | 62% |
| SPy, start and heading | 1474 m | 20% |
The filter is closer than map-free steering dead reckoning on 89% of windows. On few-shot drivers the steering filter sits at 27 m and 90% recovery, the beam at 21 m and 92%.
Speed alone leaves the untrained filter at a 286 m median. Steering brings it to 43 m. The paired median gap is only −59.5 m, far smaller than the gap between the two medians, because the error distribution is skewed. On 407 windows that actually carry a continuous accelerator, adding steering drops the median from 339 m to 49 m. Adding the pedal moves the paired median by −4.8 to 6.1 m, and every interval crosses zero. With the map in the loop, a learned GRU and a learned physics residual do not beat the nominal bicycle model. Curvature from a GPS-informed localizer reaches 84 m with no map and only 44 m inside the same filter, next to 43 m from steering.
Drop the initial heading and the filter moves from 43 m to 138 m, recovery from 87% to 79%. The beam's median barely moves, 37 m to 41 m, paired median difference 0, but recovery still falls from 88% to 81%. On speed alone the beam needs that heading: 165 m versus 1,314 m. Offline search can throw out a wrong initial direction once later turns show up. The online filter has to keep particles on every heading until the first turn splits them.
Across 205 test drives that share one start, the steering beam's median ADE is 17, 44 and 303 m at 1, 5 and 15 minutes. The filter is at 19, 56 and 672 m. At 15 minutes the paired median gap is −3.1 m and the paired mean gap is −552 m. Ordinary windows look alike. The beam is avoiding the filter's kilometre-scale losses. Over full drives its median is 1,179 m on test and 94 m on few-shot. Those groups have median durations of 19 and 11 minutes, so the two figures stay separate.
Quantising steering to 10° changes route recovery by at most 1.3 percentage points. Quantising speed to 1 m/s stays within 0.7 points. At 5 m/s the medians double or triple, and recovery is still at least 82.6%. None of these attacks was retuned on the coarse signals. Picking the best of ten map methods on each window reaches 98% recovery on test. Windows none of them recover are 2.3%.
The language-model study takes the first five-minute window of each drive, 659 windows. There the beam alone recovers 69% of test routes and 83% of few-shot routes. An extended Qwen3-14B agent reaches 78% and 81%, at a median serial cost of 102 s against 0.3 s for the beam. It beats a logistic selector by 4.1 points on test and does not repeat that gain on few-shot. An oracle over the three base tools would recover 83% of test routes, 87% if every preset is available. With steering, the beam's own confidence score has an AUROC of 0.47. It does not separate a recovered route from a missed one.
Stripping GNSS leaves the location in speed and steering. Given the start, a public road map and the steering angle recover 87% of five-minute routes at a 43 m median. Rounding steering to 10° or speed to 1 m/s does not stop the map attacks in this paper, and those attacks were not retrained.
At five minutes the particle filter and OPD-II are tied on paired median error, −1.9 m with an interval that includes zero, while the filter recovers more routes: 87% against 79%. On a longer window, or with the heading withheld, beam search sheds more of the large failures. Once the road network constrains the path, a GRU adds nothing over the nominal steering model.
What is new is the shared accounting. Six older attacks finally run on the same drivers, the same map and the same rule for a failed search.
North American roads, and vehicles the logger supports, dominate the corpus. Drivers are split apart. Platforms and regions are not. Density and turn counts move with region, so those breakdowns are associations. On a controlled add-on, 46 windows from 12 drivers in one vehicle and one city, the order flips: MacroTracking at 19 m and 85% recovery, beam search at 46 m and 61%, the filter at 75 m and 59%.
The task starts after one position is already known. Area variants still receive a 5 km square centred on the true start. A route that leaves the square cannot be matched, which is 74% of CAN-Trace windows and 80% of SPy routes. CAN-Trace hits 2 of 245 pedal-valid test windows. That scores this event detector, not the original containing-area task. SPy's paper reported 41 of 58 trips. Here start plus heading recovers 20%. The road database, the trip trimming and the metric all changed, so the gap has no single cause.
Only MacroTracking and OPD-II were checked on author samples. OPD-II sees roads within 200 m of its dead-reckoned trace. The other map methods see a disc. A method that fails is not evidence the signal is safe to release. Quantisation was not followed by an attacker fit to the coarse signals. The paper states that these runs set no protection threshold.