YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

In the Eye of MLLM: Benchmarking Egocentric Video Intent Understanding with Gaze-Guided Prompting

Paper Project Page Dataset

Taiying Peng1, Jiacheng Hua2, Miao Liu2†, Feng Lu1†
1State Key Laboratory of VR Technology and Systems, School of CSE, Beihang University
2College of AI, Tsinghua University
NeurIPS D&B 2025


TrajGazeMerge β€” gaze-trajectory token selection for VisionZip (this fork)

This fork extends EgoGazeVQA with TrajGazeMerge: a study of gaze/hand-trajectory-guided visual-token selection for Qwen2.5-VL-7B under a fixed 10% token budget (VisionZip pruning). The headline result is M1 (VZ-complement, 63.01%) β€” selecting the gaze/hand-relevant tokens VisionZip's content attention discarded, added as a disjoint complement to its 7% content set.

  • Best model β€” M1 (VZ-complement top-k, 63.01%): MODEL_M1_VZ_COMPLEMENT.md
  • Full experiment grid & conclusions: TRAINING_RUNS.md
  • Scanpath side-channel (63.01 tie, gated off): MODEL_SCANPATH_OURS.md
  • Code: TrajGazeMerge/ (models, training, data, eval) Β· TrajGaze_v2/ (frozen TAS Stage-1 encoder) Β· scripts/ (launch scripts)

Protocol: egtea 2-way eval (n=1011), gaze-overlay frames, 3-epoch LoRA (eff-batch 8, early-stop), --merge-ratio 0.9. Model weights and raw datasets are not included in this repo.


Overview

This repository provides the official code for EgoGazeVQA, a benchmark for evaluating multimodal large language models (MLLMs) on egocentric video understanding tasks with gaze guidance.

Code Purpose:

  • Generate gaze-guided QA pairs from egocentric videos (spatial, temporal, causal intent questions)
  • Evaluate MLLMs with three gaze-guided prompting strategies (textual, visual marks, salience maps)
  • Calculate and analyze model performance on intent understanding tasks

EgoGazeVQA Overview

Timeline

  • [2025-10] Code and dataset publicly released
  • [2025-09] Paper accepted at NeurIPS 2025 D&B Track

TODO

  • Add fine-tuning scripts for LoRA adaptation

Repository Structure

EgoGazeVQA/
β”œβ”€β”€ generate_tool/
β”‚   β”œβ”€β”€ auto.sh
β”‚   β”œβ”€β”€ spatial.py
β”‚   β”œβ”€β”€ temporal.py
β”‚   β”œβ”€β”€ causal.py
β”‚   └── create_datasets.py
β”œβ”€β”€ test_tool/
β”‚   β”œβ”€β”€ qwenvl_test/
β”‚   β”‚   β”œβ”€β”€ test_wo.py
β”‚   β”‚   β”œβ”€β”€ test_gaze.py
β”‚   β”‚   β”œβ”€β”€ test_mark.py
β”‚   β”‚   └── test_saliencemap.py
β”‚   β”œβ”€β”€ prompt_gazees/
β”‚   β”œβ”€β”€ multiframes/
β”‚   β”œβ”€β”€ gaze_trajectory.py
β”‚   └── caculate.py

Installation

git clone https://github.com/taiyi98/EgoGazeVQA.git
cd EgoGazeVQA

conda create -n egogazevqa python=3.10
conda activate egogazevqa

pip install -r requirements.txt

Dataset

Download from πŸ€— Hugging Face:

huggingface-cli download taiyi98/EgoGazeVQA --repo-type dataset --local-dir ./data

Usage

Generate QA Pairs

cd generate_tool

# Generate for specific video
python spatial.py --video_id <VIDEO_ID> --target_index <INDEX>
python temporal.py --video_id <VIDEO_ID> --target_index <INDEX>
python causal.py --video_id <VIDEO_ID> --target_index <INDEX>

# Batch processing
bash auto.sh

Evaluate Models

cd test_tool/qwenvl_test

python test_wo.py              # Baseline (no gaze)
python test_gaze.py            # Textual gaze prompt
python test_mark.py            # Visual gaze marks
python test_saliencemap.py     # Gaze salience maps

Calculate Results

cd test_tool
python caculate.py --result_file <RESULT_CSV_PATH>

Citation

@misc{peng2025eyemllmbenchmarkingegocentric,
    title={In the Eye of MLLM: Benchmarking Egocentric Video Intent Understanding with Gaze-Guided Prompting}, 
    author={Taiying Peng and Jiacheng Hua and Miao Liu and Feng Lu},
    year={2025},
    eprint={2509.07447},
    archivePrefix={arXiv},
    primaryClass={cs.CV},
    url={https://arxiv.org/abs/2509.07447}
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Paper for po03087/trajgazemerge