MIntRec 2-class intent recognition
Built with Qwen. This task-specific understanding model was created by applying activation-based FFN channel pruning and two stages of distillation recovery to Qwen2.5-Omni-3B. The final language-model and encoder LoRA adapters are merged into the released weights.
Model and evaluation
| Item | Value |
|---|---|
| Task | MIntRec 2-class intent recognition |
| Inputs | audio, video and the provided utterance transcript |
| Weight dtype | BF16 |
| Runtime language-model parameters | 1,924,902,912 |
| Runtime audio encoder parameters | 637,676,544 |
| Runtime vision encoder parameters | 668,684,288 |
| Runtime total understanding-model parameters | 3,231,263,744 |
| Train / validation / official test | 1,334 / 445 / 445 |
| Official test accuracy | 92.13% |
| Rank within the selected published comparison cohort | 1 / 15 |
Counts cover the language body/output head, audio tower and vision encoder. All 36 decoder layers are retained, with FFN width reduced from 11,008 to 4,352. Each task has independent teachers and learned weights under one shared method.
Full official-test evaluation was performed on the saved/reloaded release with both answer-letter logit scoring and greedy generation. Aggregate metrics and comparison with the unmerged source checkpoint are in evaluation.json. Checkpoint selection uses validation data. The comparison cohort follows MIntRec, ARL and Emotion-LLaMA tables described in the method documentation.
Load the model
Use the versions pinned in the code environment.
import torch
from transformers import Qwen2_5OmniProcessor, Qwen2_5OmniThinkerForConditionalGeneration
repo_id = "dongminkim17/smarthome-omni-mintrec2"
processor = Qwen2_5OmniProcessor.from_pretrained(repo_id)
model = Qwen2_5OmniThinkerForConditionalGeneration.from_pretrained(
repo_id,
torch_dtype=torch.bfloat16,
attn_implementation="sdpa",
device_map={"": 0},
).eval()
The classification prompts, answer labels and input sampling settings are recorded in task_config.json. Use the linked code for the exact benchmark input and scoring pipeline.
Evaluate on the official test split
After cloning the code, activating its environment and preparing the dataset, run the following command from the repository root.
CUDA_VISIBLE_DEVICES=0 python scripts/evaluate.py \
--model dongminkim17/smarthome-omni-mintrec2 \
--data-root data --split test --modes both \
--output artifacts/evaluation/mintrec2_released
Use a new output directory for each evaluation. --revision can pin a Hub commit. Dataset preparation and source-training commands are in the README.
Labels
A— emotions_attitudesB— goals
Training and pruning
- Backbone revision
f75b40e3da2003cdd6e1829b1f420ca70797c34eofQwen/Qwen2.5-Omni-3B. - Task teacher SFT for five epochs, query/value LoRA rank 16 and alpha 32.
- Training-only activation calibration using 128 clips and seed 42, followed by FFN channel pruning to width 4,352.
- First recovery for five epochs with decoder LoRA rank 16 / alpha 32 and SFT plus class distillation.
- Final joint recovery for five epochs with decoder/encoder LoRA rank 64 / alpha 128, LM learning rate 1e-4 and encoder learning rate 1e-5.
- SFT/class-KD weights 0.25 / 0.75, temperature 2, and audio/vision feature-KD weights 0.1 / 0.1.
- Effective batch size four, AdamW, cosine learning-rate schedule, 3% warmup and seed 42.
- Video sampling at 2 FPS, up to eight frames and 50,176 pixels per frame.
Intended use and scope
The evaluated use is the closed-set intent or emotion task described above. General smart-home deployment, other label sets and missing-modality inputs require their own evaluation.
License and attribution
The model uses the Qwen Research License. See LICENSE and NOTICE for the applicable non-commercial model-use and redistribution terms. The repository code is available under MIT at the linked GitHub repository.
Modified model contributors are Sung-Ju Lee, Dong Min Kim, Ryuhaerang Choi, Hyungjun Yoon and Seohyeon Yoo. Modifications include task fine-tuning, FFN pruning and distillation recovery with decoder/encoder LoRA updates. File checksums and source checkpoint digests are recorded in release.json.