Downloads · 30 days
6
21% of all-time downloads
HqH1111/Qwen3-VL-2B-Bench2Drive-Perception
Qwen3-VL-2B-Bench2Drive-Perception is a image-text-to-text model from HqH1111. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A LoRA adaptation of Qwen3-VL-2B-Instruct for front-camera perception on Bench2Drive. It answers metric, planner-consumable questions about the scene ahead: where each vehicle is, how far the lane is clear, what the t…
Downloads · 30 days
6
21% of all-time downloads
All-time downloads
29
Public
Parameters
2.1B
8.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.3 GB · 100%
From the Hugging Face model README
A LoRA adaptation of Qwen3-VL-2B-Instruct for front-camera perception on Bench2Drive. It answers metric, planner-consumable questions about the scene ahead: where each vehicle is, how far the lane is clear, what the traffic light governing your lane shows, whether the gap to the lead vehicle is closing.
Merged and standalone — load with from_pretrained, no adapter needed.
Front camera only: the current frame plus three history frames at 0.5 s intervals.
Front-view frames (oldest to newest):
[t-1.5s]<image>[t-1.0s]<image>[t-0.5s]<image>[t=0 current]<image>
<question>
Ego-centric coordinates: origin (0,0), X = lateral (right +), Y = longitudinal
(forward +), metres. Trained at a vision budget of MAX_PIXELS=131072
(≈512×256); set the same at inference.
174,681 samples, 68,187 distinct image tuples, 1,480 Bench2Drive clips.
Labels are derived from the simulator ground truth in Bench2Drive-Full-Sup
(anno/*.json.gz): 3D boxes are projected through the CAM_FRONT intrinsics and
extrinsics, and only objects that actually resolve in the front view are used.
Every task's answer distribution is balanced by construction, so the language
prior cannot carry it.
13 tasks: object counting, nearest-object localisation, full-neighbourhood localisation, free distance in own lane, lead-vehicle type/distance, gap dynamics, traffic-light state, category presence, side occupancy, lead-vehicle motion, ego speed state, ego steering state, and 3 s ego trajectory.
6,000 held-out items from 120 clips disjoint from training. Each task is reported against that set's own majority-class baseline, and against a blind control — the identical prompt with every image replaced by a uniform grey frame. The sighted-minus-blind margin is the visual contribution; absolute accuracy alone is not evidence of perception.
| task | majority | sighted | blind | visual |
|---|---|---|---|---|
| free distance | 25.0% | 97.0% | 32.7% | +64.3 |
| category presence | 50.0% | 96.4% | 50.0% | +46.4 |
| side occupancy | 50.0% | 96.3% | 50.0% | +46.3 |
| lead vehicle | 50.0% | 94.2% | 50.0% | +44.2 |
| traffic light | 45.2% | 92.9% | 45.2% | +47.7 |
| lead motion | 50.0% | 84.2% | 50.0% | +34.2 |
| nearest-object loc (±3 m) | 0.3% | 84.2% | 2.3% | +81.9 |
| object count | 20.0% | 70.9% | 20.0% | +50.9 |
| gap dynamics | 33.3% | 65.3% | 33.3% | +32.0 |
| multi-object loc | 20.0% | 63.3% | 20.0% | +43.3 |
| ego speed state | 25.0% | 60.0% | 25.0% | +35.0 |
| ego steering state | 33.3% | 55.8% | 33.3% | +22.5 |
| ego trajectory | 1.8% | 52.8% | 37.5% | +15.3 |
| overall | 27.2% | 78.2% | 32.5% | +45.7 |
Localisation uses a 3 m tolerance. The multi-object row is all-or-nothing — every gold object matched by a distinct prediction within 3 m and the same object count. Per object, which is what a planner actually consumes:
| precision | recall | F1 | exact count | median error | |
|---|---|---|---|---|---|
| multi-object localisation | 85.3% | 81.8% | 83.5% | 76.2% | 0.43 m |
| blind | 0.0% | 0.0% | 0.0% | 20.0% | — |
Blinded, it matches zero objects — the cleanest visual evidence in the suite.
Caveat on trajectory. Blind accuracy is 37.5%, far above the 1.8% majority baseline: a stopped ego yields all-zero waypoints and steady cruising yields a predictable straight line, both guessable without the image. Only ~15 points of that task's 52.8% are visual. Do not cite trajectory accuracy as perception evidence. Every other task's blind score sits on its majority baseline.
Same eval set, same protocol:
| prior driving-QA LoRA | this model | |
|---|---|---|
| overall | 33.2% | 78.2% |
| traffic light | 58.8% | 92.9% |
| lead vehicle | 24.2% | 94.2% |
| nearest-object loc | 40.3% | 84.2% |
| object count | 37.6% | 70.9% |
LoRA r=64, α=128, all linear layers of the language model plus the vision-language aligner; ViT frozen. bf16, lr 1e-4 cosine, warmup 0.03, weight decay 0.1, global batch 120, max length 6144, 2 epochs, 3×A100-40GB, ms-swift.
Freezing the ViT is deliberate: a matched ablation that unfroze it with a 10×-lower ViT learning rate (1e-5) scored 81.3% vs 81.1% on the comparable task subset — no benefit for 25M extra parameters.
affects_ego flag; frames
where a light governs the lane but is not visible were excluded from training
rather than labelled "none".