Video-Text-to-Text
PEFT
Safetensors
lora
internvl
proactive-assistant
mistake-detection
video
egocentric
task-guidance
Eval Results (legacy)
Instructions to use bhc6/ECT-InternVL3.5-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bhc6/ECT-InternVL3.5-2B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("OpenGVLab/InternVL3_5-2B-HF") model = PeftModel.from_pretrained(base_model, "bhc6/ECT-InternVL3.5-2B") - Notebooks
- Google Colab
- Kaggle
Full results tables; task_type CAUSAL_LM in adapter_config.json
Browse files- README.md +66 -15
- adapter_config.json +1 -1
README.md
CHANGED
|
@@ -55,21 +55,72 @@ each negative from the same recording at the same elapsed time as its positive,
|
|
| 55 |
separate the labels. This adapter applies the same recipe and training data (209 QICD Advanced Planning videos) to
|
| 56 |
InternVL3.5-2B, to test whether ECT depends on the backbone. One training seed.
|
| 57 |
|
| 58 |
-
LoRA rank 64, alpha 128, on the attention and MLP projections of the language model.
|
| 59 |
|
| 60 |
## Results
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
## Usage
|
| 75 |
|
|
@@ -81,11 +132,11 @@ model = PeftModel.from_pretrained(base, "bhc6/ECT-InternVL3.5-2B")
|
|
| 81 |
processor = AutoProcessor.from_pretrained("OpenGVLab/InternVL3_5-2B-HF")
|
| 82 |
```
|
| 83 |
|
| 84 |
-
Prompts, frame sampling and
|
| 85 |
-
(`train_eval/vlm_common.py`, `train_eval/qic_lora.py`).
|
| 86 |
|
| 87 |
-
The
|
| 88 |
-
using
|
| 89 |
|
| 90 |
## Citation
|
| 91 |
|
|
|
|
| 55 |
separate the labels. This adapter applies the same recipe and training data (209 QICD Advanced Planning videos) to
|
| 56 |
InternVL3.5-2B, to test whether ECT depends on the backbone. One training seed.
|
| 57 |
|
| 58 |
+
LoRA rank 64, alpha 128, dropout 0, on the attention and MLP projections of the language model.
|
| 59 |
|
| 60 |
## Results
|
| 61 |
|
| 62 |
+
All scores use the official turn-based protocol and evaluation script of each benchmark (every 5 s the model is
|
| 63 |
+
asked whether the current step is complete and, if not, whether a mistake has occurred), with the last cumulative block
|
| 64 |
+
of the official `eval.log`. Test sets: QICD Advanced Planning (36 videos), Ego-MC-Bench (39 sessions; the model is
|
| 65 |
+
transferred without adaptation), QICD Main (109 videos; nothing tuned on it).
|
| 66 |
|
| 67 |
+
- **IC-Acc**: instruction-completion accuracy (%), the share of steps confirmed within 15 s of their end.
|
| 68 |
+
- **P / R / F1**: precision, recall and F1 of mistake alarms (15 s window); **TP/FP/FN**: their counts.
|
| 69 |
+
- **Δ**: mistake F1 minus the best F1 that a video-blind policy (one that sees only the instruction, the step index,
|
| 70 |
+
the elapsed time and training-set priors) reaches at the same or a higher IC-Acc. Positive Δ means beyond the
|
| 71 |
+
video-blind frontier. Where IC-Acc exceeds that of every blind rule the frontier is zero, so Δ = F1.
|
| 72 |
+
- **Greedy**: greedy decoding of the yes/no answer (main setting). **Thresholds**: decision thresholds on the yes
|
| 73 |
+
probability frozen on the QICD validation split (τ_done 0.2, τ_mistake 0.35).
|
| 74 |
+
|
| 75 |
+
The variant without paired negatives is reported for comparison; its adapter is not released.
|
| 76 |
+
|
| 77 |
+
### QICD Advanced Planning, test set (36 videos)
|
| 78 |
+
|
| 79 |
+
| Model | Decoding | IC-Acc | P | R | F1 | TP/FP/FN | Δ |
|
| 80 |
+
|---|---|---|---|---|---|---|---|
|
| 81 |
+
| ECT (this adapter) | greedy | 47.9 | 0.244 | 0.270 | 0.256 | 71/220/192 | +0.256 |
|
| 82 |
+
| InternVL3.5-2B, same fine-tuning without paired negatives | greedy | 42.9 | 0.174 | 0.323 | 0.226 | 85/404/178 | +0.100 |
|
| 83 |
+
| InternVL3.5-2B, zero-shot (base model) | greedy | 32.8 | 0.000 | 0.000 | 0.000 | 0/0/263 | -0.230 |
|
| 84 |
+
| ECT, Qwen3-VL-2B, seed 0 (main model) | greedy | 41.2 | 0.208 | 0.228 | 0.217 | 60/229/203 | +0.062 |
|
| 85 |
+
|
| 86 |
+
### Ego-MC-Bench (39 sessions, no adaptation)
|
| 87 |
+
|
| 88 |
+
| Model | Decoding | IC-Acc | P | R | F1 | TP/FP/FN | Δ |
|
| 89 |
+
|---|---|---|---|---|---|---|---|
|
| 90 |
+
| ECT (this adapter) | greedy | 64.0 | 0.248 | 0.065 | 0.104 | 26/79/371 | +0.104 |
|
| 91 |
+
| InternVL3.5-2B, same fine-tuning without paired negatives | greedy | 56.8 | 0.352 | 0.063 | 0.107 | 25/46/372 | +0.107 |
|
| 92 |
+
| InternVL3.5-2B, zero-shot (base model) | greedy | 49.2 | 0.000 | 0.000 | 0.000 | 0/0/397 | -0.114 |
|
| 93 |
+
| ECT, Qwen3-VL-2B, seed 0 (main model) | greedy | 67.0 | 0.510 | 0.131 | 0.208 | 52/50/345 | +0.208 |
|
| 94 |
+
|
| 95 |
+
### QICD Main, test set (109 videos, no tuning on this set)
|
| 96 |
+
|
| 97 |
+
Δ is measured against the video-blind frontier of this set.
|
| 98 |
+
|
| 99 |
+
| Model | Decoding | IC-Acc | P | R | F1 | TP/FP/FN | Δ |
|
| 100 |
+
|---|---|---|---|---|---|---|---|
|
| 101 |
+
| ECT (this adapter) | greedy | 52.6 | 0.172 | 0.263 | 0.208 | 117/563/328 | +0.103 |
|
| 102 |
+
| InternVL3.5-2B, zero-shot (base model) | greedy | 26.8 | 0.000 | 0.000 | 0.000 | 0/5/445 | -0.217 |
|
| 103 |
+
| ECT, Qwen3-VL-2B, seed 0 (main model) | greedy | 53.5 | 0.164 | 0.263 | 0.202 | 117/597/328 | +0.113 |
|
| 104 |
+
|
| 105 |
+
### Video-blind policies (reference)
|
| 106 |
+
|
| 107 |
+
| Policy | QICD IC-Acc | QICD F1 | Ego-MC IC-Acc | Ego-MC F1 |
|
| 108 |
+
|---|---|---|---|---|
|
| 109 |
+
| Video-blind rule, best F1 (alarm at 25 s, confirm at 30 s) | 0.0 | 0.316 | 0.0 | 0.373 |
|
| 110 |
+
| Video-blind rule, best IC-Acc | 46.6 | 0 | 56.1 | 0 |
|
| 111 |
+
|
| 112 |
+
### Time-matched pairs
|
| 113 |
+
|
| 114 |
+
Time-matched test pairs (QICD test set): the two sides of a pair come from the same recording at the same elapsed
|
| 115 |
+
time, one with the event (completion or mistake) and one without, so any clock-only policy scores 0.5. Pair accuracy:
|
| 116 |
+
share of pairs in which the correct side gets the higher yes probability. Both right: share of pairs answered yes on
|
| 117 |
+
the positive side and no on the other at a threshold of 0.5.
|
| 118 |
+
|
| 119 |
+
| Model | Completion pairs (417): pair accuracy [95% CI] | both right | Mistake pairs (514): pair accuracy [95% CI] | both right |
|
| 120 |
+
|---|---|---|---|---|
|
| 121 |
+
| ECT (this adapter) | 0.897 [0.852, 0.941] | 0.633 | 0.718 [0.642, 0.792] | 0.195 |
|
| 122 |
+
| InternVL3.5-2B, no paired negatives | 0.899 [0.854, 0.944] | 0.667 | 0.668 [0.602, 0.737] | 0.220 |
|
| 123 |
+
| ECT, Qwen3-VL-2B, seed 0 (main model) | 0.903 [0.856, 0.950] | 0.607 | 0.766 [0.692, 0.833] | 0.173 |
|
| 124 |
|
| 125 |
## Usage
|
| 126 |
|
|
|
|
| 132 |
processor = AutoProcessor.from_pretrained("OpenGVLab/InternVL3_5-2B-HF")
|
| 133 |
```
|
| 134 |
|
| 135 |
+
Prompts, frame sampling and answer parsing follow the per-step protocol wrappers in the code repository
|
| 136 |
+
(`train_eval/vlm_common.py`, `train_eval/qic_lora.py`, `train_eval/qic_prob.py` for thresholded decoding).
|
| 137 |
|
| 138 |
+
The adapters were trained on QICD, which is distributed under its own research license; check that license before
|
| 139 |
+
using them. No videos or annotations are included here.
|
| 140 |
|
| 141 |
## Citation
|
| 142 |
|
adapter_config.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
| 37 |
"down_proj"
|
| 38 |
],
|
| 39 |
"target_parameters": null,
|
| 40 |
-
"task_type":
|
| 41 |
"trainable_token_indices": null,
|
| 42 |
"use_dora": false,
|
| 43 |
"use_qalora": false,
|
|
|
|
| 37 |
"down_proj"
|
| 38 |
],
|
| 39 |
"target_parameters": null,
|
| 40 |
+
"task_type": "CAUSAL_LM",
|
| 41 |
"trainable_token_indices": null,
|
| 42 |
"use_dora": false,
|
| 43 |
"use_qalora": false,
|