Limitations
This page lists known weaknesses of the methods, found while developing the pipeline and evaluating
it for the paper of Baumann et al. (submitted to ANT 2027) on German motorway drone recordings and on
public datasets. Numbers refer
to those evaluations; they show the size of an effect, not a guarantee for other data. The design
choices behind each step are in the step documents (docs/pipeline/).
Perspective correction of tall vehicles
The correction needs vehicle classes, and the result is wrong without them. The lateral offset of heavy vehicles is estimated by comparing their positions with those of cars. Without a class column nothing is corrected, and displaced heavy vehicles appear to overlap cars in the neighboring lane. On the paper's recordings, every lane-assignment method degraded sharply without the correction: in-lane overtakings rose from 0.19 to 3.7 per 100 vehicle-km for the temporally consistent assignment (HMM) and from 0.26 to 5.3 for the point-wise mixture. Consequences:
- Class labels must be recognized as heavy vehicles (
Truck,Heavy Vehicle,Bus,Trailer,HGVand similar). Other labels count as cars in the comparison. - Classes derived from vehicle length are a weak substitute. On one dataset without classes (heavy vehicles taken as vehicles ≥ 8 m long), the per-view correction lowered the share of heavy-vehicle samples near a car lane center (56 % → 50 %).
- The experimental joint estimation (
joint_gmm) recognizes only the class namesHeavy Vehicle,Bus, andTrailer(case-sensitive), notTruck.
The offset is constant per camera view. The per-view method assumes one lateral offset per view and travel direction:
- It does not follow an offset that changes in time within a view. On one congested direction a bias of +0.7 m remained in the flowing phase.
- It does not follow an offset that changes across the lanes of a view. In oblique side views the residual differed between lanes by up to 0.6 m (≤ 0.26 m on NGSIM). An offset per view and lane is proposed but not implemented.
- Only the lateral component is corrected. The longitudinal relief displacement remains: in queues the net gap of cars behind heavy vehicles came out at −3.6 m against +15 m for heavy vehicles behind cars in one view, a combination of the uncorrected longitudinal effect and a fixed heavy-vehicle length taken from a class table.
- View boundaries are found from steps of the heavy-vehicle band. Views shorter than 150 m or offset steps below 0.6 m are not resolved, and the offset is blended over ±25 m around each boundary.
- Views with fewer than 300 heavy-vehicle or 1000 car samples, or with an offset above 5 m, use the direction-wide estimate. If the iteration does not converge within the pass limit, the last estimate is kept.
The offset can be read one lane off. Heavy vehicles in lane j with offset δ fit a homogeneous
road as well as heavy vehicles in lane j + 1 with δ − Δμ. The method picks a reading with the
share of heavy vehicles near a car lane center and a keep-right check (at least half of the
heavy vehicles in lane 1). On the paper's data the keep-right check decided in 63 of 65 views. The
assumption fails where few heavy vehicles use lane 1 or where lane 1 is an auxiliary lane: with the
original rule, 5 of 120 highD directions, two exiD directions, and one MONA recording were read one
lane off (3.3–4.5 m). The robust reading (view_robust_reading, default) excludes
auxiliary-lane zones from the lane-1 share and skips the keep-right check when the center
criterion is unambiguous; it corrected all 5 highD directions and one exiD direction, but one exiD
direction remained at 2.3 m. Keep-right is a traffic rule; it may not hold in other countries or
traffic states. Check views[*] in the run metadata.
The correction can cost accuracy where the offset is negligible. On top-down drone datasets the
per-view offset is close to zero (highD: median |δ| 0.10 m). Applying it there lowered the sample
accuracy against ground truth (exiD point-wise 99.35 % → 97.98 %, 98.74 % with the robust reading;
use view_max_abs_delta_m = 2 for such data). On NGSIM it lowered the agreement with the provider
lanes (99.0 % → 94.8 %). Apply the correction where heavy vehicles are visibly displaced.
No ground truth for heavy-vehicle lanes. The heavy-vehicle results on the paper's recordings are validated label-free (share of heavy-vehicle positions near car lane centers); a video check of sampled heavy vehicles has not been done.
Reference line and alignment
- Data-derived reference lines need a road that curves by less than about 60–70° within the recording area. Otherwise supply a line.
- Samples outside the carriageway (ramps beyond the gore, parallel roads) pull the road-edge profile (by up to several meters on exiD). Crop the input to the carriageway.
- A car-only edge profile (
alignment.profile_classes) is wrong where lane 1 carries mostly heavy vehicles (2–5 m off the all-class profile on the paper's data). - Local distortions of the recording (camera seams with position jumps of several meters) can bend all lane centers jointly. On the paper's data one such zone was excluded from the evaluation and seven further candidates were listed but not excluded. The pipeline does not detect or exclude such zones.
- Lateral-movement artifacts concentrate at the section ends; events there are flagged
near_road_end(30 m) but not removed. - On positions that are already road-aligned, the alignment can bend straight lanes. Where the first
bins of the section hold few samples, their quantile sets the edge profile, and without an edge
freeze (
alignment.edge_freeze_m = 0) the smoothing spreads it over the first tens of meters; the vehicles entering there move sideways and change lanes on paper. Switch the alignment off for such data (adapting the configuration).
Stitching
- Joins are missed at hand-overs with a large lateral class offset. The lateral gates compare the corrected positions of tail and head. When the heavy-vehicle offset differs between the views on both sides of a camera hand-over, the per-view input moves the two fragments of one heavy vehicle apart: at one hand-over 120 heavy-vehicle joins were lost (68 instead of 188), while cars were unchanged. The artificial-gap evaluation does not reveal this, because its cut tracks carry the same offset on both sides. Stitching before the per-view correction or a class-aware lateral gate at hand-overs are possible remedies; neither is implemented.
- Parameters are site-specific. The paper cascade (precision 0.995, recall 0.949 on artificial gaps) did not transfer to a curved multi-sensor corridor with ground truth, where all variants reached a link precision of 0.86–0.88 and a recall of 0.34–0.54.
- In congested zones the tight envelope of the later stages misses true joins (recall 0.83–0.91 there).
- The cascade is greedy by gap length; a wrong neighbor within a short-gap stage can win over the true continuation in a later stage.
- Vehicle length is only used as a gate; with lengths from a class table it does not discriminate.
- Many fragments stay unjoined: on the campaign with camera hand-overs, 168 of about 1100 interior track starts and ends were joined; most open fragments are long.
- Stitching was not evaluated on the public datasets.
Kinematics
- Track ends. Step 1 of Montanino & Punzo cannot correct the first and last positions of a track
(the spline needs reference points on both sides), so acceleration outliers can remain in the last
second. The cut (
kinematics.mp.trim_track_ends_sec, 2 s by default and in the paper preset) removes them; it removed 0.01–0.75 % of the rows on the paper's recordings. Set it toNoneto keep all rows. - Step 3 is a first-order method: many jerk sign inversions remain. Interior bins with dropped frames are not time-corrected.
- The low-pass cut-off is 0.5 Hz, not the 1 Hz of the original method (fewer jerk sign inversions;
see
docs/pipeline/05_kinematics.md). - The platoon post-pass fixes spacing violations only where an unphysical acceleration opens a reconstruction window, as in the original method.
- Run time grows with the number of reconstruction windows. Noisy tracks with many short acceleration violations are the slowest (the paper's 23 453 tracks needed 1.07 h CPU in total).
- Accelerations reflect the noise of the input positions: noisier input gives wider acceleration distributions at equal speed. Do not compare accelerations between campaigns with different position noise.
- Check the native frame rate of the input. A clock that drifts slightly off a whole rate (for example 29.97 Hz thinned to 9.99 Hz) is handled by interpolating instead of binning at native rates ≤ 10 Hz; binning dropped track ends there.
Lane geometry
- The number of main lanes must be known per section. It is not detected (the spread
regularizer of Chen & Krumm for choosing
kis not implemented). Estimating it from the lateral spread failed on merges, urban sections, and ramps (8 lanes instead of the true number, 2 instead of 3, 4 at a merge). - Auxiliary lanes must be configured. Without an auxiliary-lane zone, the auxiliary lane is counted as lane 1 and all lanes shift by one in that section: on NGSIM I-80 the agreement with the provider lanes was 75 % without and about 99 % with the zone.
- The restricted mixture presupposes the perspective correction on data with many heavy vehicles; without it, in-lane overtakings rise.
- An auxiliary-lane center needs a zone of at least about 50 m; the HMM ignores shorter zones
(
lanes.hmm.min_aux_zone_m, default 50).
Lane-change detection
- Lane changes last about 7 s, longer than values reported for NGSIM (a mode of about 3 s in Thiemann, Treiber & Kesting 2008, with their own definition of start and end). The duration is the interval in which the smoothed lateral speed exceeds 0.1 m/s. The same detector gives 6.4 s for cars on highD, so the difference reflects the definition of a lane change, not the data. Compare durations only with values that use the same definition.
- Slow drifts below the speed threshold are not detected; the HMM may still switch lanes there
(
detected_by = "hmm"). - The threshold of 0.1 m/s can lie below the noise of the smoothed lateral speed (roadside cameras).
Lane keepers then exceed it, the detector opens intervals without lane changes, and lane changes
last longer than the manoeuvre. Measure the noise with
compute_lateral_speed_noise(adapting the configuration). - Lateral jumps at camera hand-overs are detected as short maneuvers. On data with hand-overs and an uncorrected heavy-vehicle offset, up to about half of the heavy-vehicle "lane changes" lasted less than 4 s; with the per-view offset 23 %. Filter behavioral statistics, for example by a minimum duration.
Lane assignment
- Congestion. In congestion the HMM with damped conflict resolution has more unexplained leader changes than the point-wise mixture (0.49 vs. 0.32 per vehicle-km on the paper's congested directions), although it has fewer in-lane overtakings. The paper does not claim a reduction there.
- Accuracy is equal, not better. Against lane ground truth the HMM is as accurate as the point-wise mixture (exiD 99.2 % vs. 99.4 %, highD 99.2 % vs. 99.2 % of the samples); its benefit is consistent label sequences (almost no flicker) and lane-change detection.
- Cross-vehicle conflict resolution in dense traffic. Where positions of neighboring vehicles
overlap (dense queues, oblique cameras), the undamped resolution re-assigns vehicles back and forth.
The damping reduces this, but on NGSIM the variant without any conflict resolution still had the
best lane-change F1 against the provider lanes (0.74 vs. 0.66 with damping). Consider
lanes.resolve_conflicts = Falsefor such data. - The heuristic (
lanes.assignment_method = "heuristic") is worse than the HMM in congestion (4.0 vs. 1.7 in-lane overtakings per 100 vehicle-km on the paper's congested directions, both without damping). - Conflict resolution can hide position errors rather than fix them: short re-assignments during overlaps remove in-lane overtakings by construction.
- Label-free quality measures have limits. In light traffic, zero in-lane overtakings do not show that the assignment is correct; the measure only rules out gross errors.
- Vehicles outside the lanes (for example on the hard shoulder) are assigned to the nearest lane and appear as leaders and as "overtaken" vehicles. The paper evaluation excluded them; the pipeline does not.
Surroundings and behavioral statistics
- Neighbors are matched at identical timestamps. Thinned input must keep every n-th frame of the recording, not every n-th sample of each track.
- Missing vehicle lengths are filled with 4.5 m, and some readers derive lengths from a class table; clearances inherit these errors.
- Behavior that needs full-width congestion (for example the emergency corridor) could not be assessed on the paper's data.
Datasets
- NGSIM. Auxiliary-lane zones are required. The reader provides the auxiliary lane; the site
files
ngsim_i80andngsim_us101of the presetngsimalso cover the ramps. The provider lanes are not ground truth: our labels and the provider lanes are derived from the same lateral positions, which Coifman & Li (2017) report as unreliable. No statement on the gain of a corrected lane assignment is made before the trajectories that Coifman & Li (2024) re-extracted manually from the NGSIM I-80 videos are available. - highD, exiD. Top-down drones with a near-zero heavy-vehicle offset; see the perspective section above.
- INTERACTION, MONA. No lane ground truth; the lane count must come from the map.
- UTE. No vehicle classes; the lane order must be given per site (
lane_gt). In the CSV files the lateral position is rebuilt from the jumps at lane changes; XAM-S-9 does not support that. - RWTH A43, MONA. The camera set-up is not documented in the sources used here.
- See readers.md for reader-specific quirks.
The references are listed in method.md.