CounterVid — InternVL3-9B

This repository contains the 9B CounterVid-aligned model from CounterVid: Counterfactual Video Generation for Mitigating Action and Temporal Hallucinations in Video-Language Models (EMNLP 2026).

CounterVid improves grounding in video-language models by combining textual and visual preferences generated from controlled counterfactual videos. The released weights are a standalone merge of the language-model LoRA, the trained multimodal projector, and the original InternVL3 base model.

Loading

import torch
from transformers import AutoModel, AutoTokenizer

model_id = "aimagelab/CounterVid-InternVL3-9B-LoRA"
model = AutoModel.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto", trust_remote_code=True,
).eval()
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True, use_fast=False)

For complete video inference and evaluation examples, see the CounterVid repository and project page.

Training summary

  • Base model: OpenGVLab/InternVL3-9B-Instruct
  • Training data: CounterVid (26,167 synthetic visual and textual preference pairs)
  • Objective: MixDPO / PaMi-VDPO with CounterVid anchors
  • LoRA was merged before release; PEFT is not required at inference time
  • Vision encoder frozen during preference optimization

Intended use and limitations

This is a research model for video-language understanding, with a focus on action recognition and temporal reasoning. It inherits the capabilities, limitations, biases, and license conditions of its base model. It may still produce incorrect or unsupported answers and should not be used as the sole basis for high-stakes decisions.

Citation

@inproceedings{poppi2026countervid,
  title     = {{CounterVid}: Counterfactual Video Generation for Mitigating Action and Temporal Hallucinations in Video-Language Models},
  author    = {Poppi, Tobia and Uzkent, Burak and Garg, Amanmeet and Porto, Lucas and Kessler, Garin and Yang, Yezhou and Cornia, Marcella and Baraldi, Lorenzo and Cucchiara, Rita and Schiffers, Florian},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing},
  year      = {2026}
}

This work was conducted during Tobia Poppi's Applied Scientist internship with the Amazon Prime Video team in Seattle.

Downloads last month
-
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for aimagelab/CounterVid-InternVL3-9B-LoRA

Finetuned
(2)
this model

Dataset used to train aimagelab/CounterVid-InternVL3-9B-LoRA

Collection including aimagelab/CounterVid-InternVL3-9B-LoRA