FudanCVL/AVTrack
About
[ICML 2026] AVTrack: Audio-Visual Tracking in Human-centric Complex Scenes
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAVTrack: Audio-Visual Tracking in Human-centric Complex Scenes
ICML 2026
A human-centric audio-visual instance segmentation dataset for dynamic real-world scenes.

News
- 2026-05 AVTrack code, dataset, and project page released.
- 2026-05 AVTrack is accepted to ICML 2026 π
- 2026-11 Original high-frame-rate videos:
Videos_high_fps.zipon Hugging Face. Seedocs/high-fps/for how to match annotated images to video timestamps.
Authors
Yaoting Wang, Yun Zhou, Zipei Zhang, Henghui Ding
Institute of Big Data, College of Computer Science and Artificial Intelligence, Fudan University, Shanghai, China
What is AVTrack?
AVTrack is a human-centric audio-visual instance segmentation (AVIS) dataset built specifically for evaluation in dynamic, real-world scenes. It complements existing AVIS benchmarks β which often rely on static, single-speaker, or laboratory-style footage β with the kind of messy conditions that real applications actually see.
- 871 videos, 100% test split, averaging 54 s per clip.
- Pixel-level instance masks with cross-frame identity (tracking), plus aligned audio.
- Spans interviews, films, anime, operas, narrations, and stage performances β broad coverage of speakers, languages, and acoustic conditions.
- Per-video challenge attributes: camera motion, occlusion, position changes, overlapping speech, and more.
- Released with a training-free baseline (AVTracker) to bootstrap future research.
See the project page for figures and a dataset comparison table.
Pipeline Overview (AVTracker baseline)
Input: Video Frames + Audio
β
ββββββ΄βββββ
βΌ βΌ
SAM3 Whisper
(Track) (ASR)
β β
β [Optional: Mossformer2 speech separation]
β β
β Speech Chunks (with timestamps)
β β
β [Optional: Speaker similarity compression]
β β
ββββββ¬βββββ
βΌ
Local Window Analysis
(VLM per-chunk: who is speaking?)
β
βΌ IoU matching (VLM bbox β SAM3 mask)
β
βΌ
Global Window Analysis
(VLM cross-frame: which frames = same person?)
[or DeepFace in face variant]
β
βΌ
Output: Per-person tracklets (mask sequences)
Project Structure
AVTrack/
βββ configs/ # Hydra configuration (all hyperparams here)
β βββ config.yaml # Main config with defaults composition
β βββ agent/ # Variant configs
β β βββ base.yaml # Full method (default)
β β βββ no_separation.yaml # Ablation: disable Mossformer2 separation
β β βββ no_compression.yaml # Ablation: disable speech-chunk compression
β β βββ fix_window.yaml # Ablation: fixed 8 s window
β β βββ face.yaml # Global stage uses DeepFace instead of VLM
β βββ model/ # Model selection configs (asr, vlm, tracker, speaker, separator)
β βββ data/avtrack.yaml # Dataset paths (env-var driven)
β βββ eval/default.yaml # Evaluation metrics config
β
βββ src/ # Core source code
β βββ agent/ # BaseAgent / SepAgent / FaceAgent + factory
β βββ skills/ # ASR Β· SAM3 tracker Β· Qwen3-VL Β· ECAPA speaker Β· Mossformer2 Β· DeepFace
β βββ data/ # AVTrackDataset loader
β βββ evaluation/ # HOTA / DetA / AssA / IDF1 / MOTA via trackeval
β βββ prompts/ # VLM prompt templates
β βββ utils/ # I/O, seeding, matching, text, visualization
β
βββ scripts/
β βββ run_inference.py # Hydra app: single-GPU & multi-GPU inference
β βββ run_inference_one_video_example.py # Single-video demo entry
β βββ run_eval.py # Hydra app: evaluation
β
βββ docs/ # Algorithm/method notes
βββ pyproject.toml # uv-managed project metadata
βββ uv.lock # Pinned dependency lockfile
βββ LICENSE # MIT
βββ .env.example # Environment variable template
βββ .gitignore
Setup
The project uses uv for dependency management. A pinned uv.lock is committed for reproducibility.
1. Install uv (one-time)
curl -LsSf https://astral.sh/uv/install.sh | sh
2. Clone and sync
git clone https://github.com/FudanCVL/AVTrack.git
cd AVTrack
# Core dependencies (Python 3.12 + PyTorch CUDA 12.6 by default)
uv sync
# Or include all optional groups (recommended for full pipeline)
uv sync --extra sep --extra face --extra dev
Run anything inside the managed environment with uv run, e.g.
uv run python scripts/run_inference.py.
3. Different CUDA / CPU-only
The default torch wheels target CUDA 12.6. Override with another PyTorch index when syncing:
# CUDA 12.1
uv sync --reinstall-package torch --reinstall-package torchvision \
--reinstall-package torchaudio \
--index-url https://download.pytorch.org/whl/cu121
# CPU only
uv sync --reinstall-package torch --reinstall-package torchvision \
--reinstall-package torchaudio \
--index-url https://download.pytorch.org/whl/cpu
4. Configure paths and API keys
cp .env.example .env
# Edit .env to set AVTRACK_DATA_ROOT and (optionally) local model paths.
# DASHSCOPE_API_KEY is only needed for the Qwen3-VL-Plus API agent.
Dataset
The dataset is hosted on Hugging Face: FudanCVL/AVTrack.
# Download and unpack
hf download FudanCVL/AVTrack AVTrack.zip --repo-type dataset --local-dir .
unzip AVTrack.zip -d avtrack_data
export AVTRACK_DATA_ROOT=$PWD/avtrack_data
After unpacking, AVTRACK_DATA_ROOT should contain:
$AVTRACK_DATA_ROOT/
βββ avtrack_meta.json
βββ Images/
βββ Audios/
βββ Instance_Masks/
βββ Instance_Masks_merged/
Individual paths can also be overridden directly, e.g. data.image_dir=/custom/Images.
The original high-frame-rate videos are packaged separately as Videos_high_fps.zip in the same repository. Download and extract them into the dataset directory:
hf download FudanCVL/AVTrack Videos_high_fps.zip --repo-type dataset --revision main --local-dir .
unzip Videos_high_fps.zip -d "$AVTRACK_DATA_ROOT"
This adds Videos/<category>/<clip>_merged.mp4 under AVTRACK_DATA_ROOT. The ZIP contains videos only; annotations remain in AVTrack.zip. See docs/high-fps/ for the mapping from labeled images to MP4 timestamps.
Models
Configs reference HuggingFace repo IDs and weights are downloaded automatically on first use. For offline runs, point each model config to a local directory via the corresponding environment variable (see .env.example) or via a CLI override.
| Model | Default (HF repo) | Local-path env var |
|---|---|---|
| SAM3 | facebook/sam3 |
SAM3_PATH |
| Whisper-large-v3-turbo | openai/whisper-large-v3-turbo |
WHISPER_LARGE_PATH |
| Whisper-small | openai/whisper-small |
WHISPER_SMALL_PATH |
| Qwen3-VL-4B | Qwen/Qwen3-VL-4B-Instruct |
QWEN3VL_4B_PATH |
| Qwen3-VL-8B | Qwen/Qwen3-VL-8B-Instruct |
QWEN3VL_8B_PATH |
| ECAPA-VoxCeleb | speechbrain/spkrec-ecapa-voxceleb |
β |
Inference
# Default: full method (compression + speech-boundary windows + VLM global
# matching + Mossformer2 speech separation), Whisper-large, Qwen3-VL-4B, single GPU
uv run python scripts/run_inference.py
# Specify GPU
uv run python scripts/run_inference.py device=cuda:2
# Default method with the larger 8B VLM
uv run python scripts/run_inference.py model/vlm=qwen3vl_8b
# Use face-based global matching
uv run python scripts/run_inference.py agent=face
# Ablation: disable speech separation
uv run python scripts/run_inference.py agent=no_separation
# Ablation: disable speech-chunk compression
uv run python scripts/run_inference.py agent=no_compression
# Ablation: fixed 8 s window instead of speech boundaries
uv run python scripts/run_inference.py agent=fix_window model/asr=whisper_small
# Use API-based VLM (requires DASHSCOPE_API_KEY in .env)
uv run python scripts/run_inference.py model/vlm=qwen3vl_plus
# Multi-GPU parallel inference (6 GPUs)
uv run python scripts/run_inference.py inference.mode=multi_gpu inference.gpu_list=[0,1,2,3,4,5]
# Custom output directory
uv run python scripts/run_inference.py output_dir=outputs/my_experiment
Single-video example
For a quick smoke test on one video without going through the full dataset loader:
uv run python scripts/run_inference_one_video_example.py \
--frames $AVTRACK_DATA_ROOT/Images/interview_Z_16 \
--audio $AVTRACK_DATA_ROOT/Audios/interview_Z_16.wav \
--output_dir outputs/one_video_demo \
--device cuda:0
The script also accepts a single --video clip.mp4 and runs ffmpeg under the hood to extract frames and a 16 kHz mono wav.
Evaluation
# Evaluate predictions
uv run python scripts/run_eval.py output_dir=outputs/base
# Evaluate with a specific variant config
uv run python scripts/run_eval.py output_dir=outputs/no_separation agent=no_separation
Config override examples
All hyperparameters live in YAML configs and can be overridden via CLI:
# Change speaker similarity threshold
uv run python scripts/run_inference.py agent.compression.threshold=0.4
# Change max frames per chunk
uv run python scripts/run_inference.py inference.max_frame_count=50
# Change IoU matching threshold
uv run python scripts/run_inference.py agent.thresholds.iou_matching=0.5
# Print resolved config without running
uv run python scripts/run_inference.py --cfg job
Variants
| Variant | Config | Description |
|---|---|---|
| Base (default) | agent=base |
Full method: compression + speech-boundary windows + VLM global matching + Mossformer2 speech separation |
| No Separation | agent=no_separation |
Ablation: disable Mossformer2 speech separation |
| No Compression | agent=no_compression |
Ablation: disable speech-chunk compression |
| Fixed Window | agent=fix_window |
Ablation: use fixed 8 s windows instead of speech boundaries |
| Face | agent=face |
Global stage uses DeepFace instead of VLM for person grouping |
| Plus | model/vlm=qwen3vl_plus |
Use the Qwen3-VL-Plus API for stronger VLM reasoning |
Citation
If you find AVTrack useful in your research, please cite our paper:
@inproceedings{wang2026avtrack,
title = {{AVTrack}: Audio-Visual Tracking in Human-centric Complex Scenes},
author = {Wang, Yaoting and Zhou, Yun and Zhang, Zipei and Ding, Henghui},
booktitle = {International Conference on Machine Learning (ICML)},
year = {2026}
}
License
This project is released under the MIT License. Note that the third-party models used by this pipeline (SAM3, Whisper, Qwen3-VL, ECAPA-VoxCeleb, Mossformer2, DeepFace) are governed by their own licenses; please consult each model card before redistribution.
Explore related projects
Loadingβ¦