Robotics
PEFT
Safetensors
sketch
prompt-validation
libero
lora

DrawVerify adapters

LoRA adapters for Qwen3-VL-2B-Instruct that decide whether a sketched robot instruction (a circle around an object, an optional arrow to where it should go, and a name-free caption such as "move this there") describes exactly one sensible action. They are the validators of the CS707 final report DrawVerify: Validating Sketched Robot Instructions Before Execution (code: https://github.com/shibuina/drawverify).

Adapter Training LIBERO-90 AUROC Human sketches AUROC
2b-full4-ans stage 1, generated prompts only, answer-only target (seed 0) 0.965 0.918
2b-full4 stage 1, generated prompts only, rationale then answer (seed 0) 0.910 0.886
2b-full4-hum-s0 2b-full4 + stage 2 on 144 human sketches (seed 0) 0.971 0.901

Stage 1 trains on the 34,165 training prompts of shibuina/drawvla-prompt-validation-taskblind (LoRA rank 32, alpha 64, dropout 0.05, all attention and MLP projections; 2 epochs, effective batch 16, lr 1e-4). The report gives three-seed means; this repository holds the seed-0 adapters.

Use

The validator reads the 512x512 marked image, a fixed instruction and the caption, and the score is P(wrong) = sigmoid(log P(">wrong") - log P(">valid")) after the forced prefix <answer. The code that builds the prompt and reads the score is training/validator.py and eval/eval_vlm.py:

git clone https://github.com/shibuina/drawverify && cd drawverify
bash scripts/download_adapters.sh        # adapters -> output/adapters (checksums verified), predictions -> output/eval
python eval/eval_vlm.py --model Qwen/Qwen3-VL-2B-Instruct --adapter output/adapters/2b-full4-ans \
    --data shibuina/drawvla-prompt-validation-taskblind --split test --out preds.jsonl

Files

  • 2b-*/: PEFT adapter weights and the training arguments (run_config.json); SHA256SUMS covers them.
  • eval/: the per-prompt predictions (id, target, p_wrong) behind every table of the report: gpu01/ seed 0 and the 4B runs, cluster/ seeds 1-2, the data-size runs, the 4B zero-shot and the pixel-geometry baseline. bash scripts/run.sh in the code repository rebuilds the tables from them.
  • human_test_labels.parquet: id, caption, arrow present, final label and prompt level of the 339 human test sketches (no images or strokes; participants are not identified).

Limits

Trained and tested on LIBERO scenes only. The human test labels come from one annotator, and the pick-with-arrow rule was settled while looking at that test set (see the report). A deployed gate should keep a human confirmation step.

Downloads last month
-
Video Preview
loading

Model tree for shibuina/drawverify-adapters

Adapter
(143)
this model

Dataset used to train shibuina/drawverify-adapters