--- license: mit library_name: pytorch pipeline_tag: video-classification tags: - gaze-estimation - gaze-following - gaze-target-estimation - world-model - v-jepa - video --- # Gaze World Model (GWM) [Paper](https://arxiv.org/abs/2611.31836) · [Code](https://github.com/roseandworld/GazeWorldModel) · [Project page](https://roseandworld.github.io/GazeWorldModel/) Given a video clip and the head box of a person, GWM estimates where the person looks and detects gaze shifts in the observed clip, and forecasts their gaze and gaze shifts over the next second from predicted scene features. GWM is built on a frozen V-JEPA 2.1 encoder. ## Files | file | model | encoder (download from [facebookresearch/vjepa2](https://github.com/facebookresearch/vjepa2)) | |---|---|---| | `gwm_vitl.pth` | GWM-L | `vjepa2_1_vitl_dist_vitG_384.pt` | | `gwm_vitl.json` | GWM-L config | | Each checkpoint holds every weight except the encoder. GWM-B and GWM-g will be added later. SHA-256 sums are in `SHA256SUMS`. ## Usage ```bash git clone https://github.com/roseandworld/GazeWorldModel.git && cd GazeWorldModel pip install -r requirements.txt huggingface-cli download Cecilia1212/GazeWorldModel gwm_vitl.pth --local-dir checkpoints python tools/demo.py --config gwm_vitl --checkpoint checkpoints/gwm_vitl.pth \ --vjepa-checkpoint checkpoints/vjepa2_1_vitl_dist_vitG_384.pt \ --frames path/to/16_frames/ --box 412 88 470 150 --out demo_out ``` The input is 16 frames of one person sampled at 8 fps (2 s) and the head box in each frame. The outputs are a gaze heatmap and in-frame probability per two frames over the observed 2 s and the next 1 s, the probability and type of a gaze shift in the observed clip (human-to-human, human-to-other, other-to-human), and the probability that a shift begins in the next second. See the [code repository](https://github.com/roseandworld/GazeWorldModel) for the Python API and the evaluation script. ## Citation ```bibtex @article{zhang2026gazeworldmodel, title = {Gaze World Model}, author = {Zhang, Jiawen and Yang, Houze and Cao, Xu and Shen, Yifan and Zhou, Zhongyi and Wong, Steve and Lourentzou, Ismini and Kim, Inki and Rehg, James M.}, journal = {arXiv preprint arXiv:2611.31836}, year = {2026} } ```