README.md

February 5, 2026 · View on GitHub

Sketch-in-Latents: Eciliting Unified Reasoning in MLLMs

Jintao Tong1, Jiaqi Gu2, Yujing Lou2, Lubin Fan2✉, Yue Wu2,
Jieping Ye2, Ruixuan Li1✉, Yixiong Zou1✉

1Huazhong University of Science and Technology
2Alibaba Cloud Computing

arXiv HF

🔥 News

  • 2026.02.05 🤗 The checkpoints of SkiLa 7B is released!
  • 2026.02.03 🚀 Code is released !
  • 2025.12.16 📝 We release our latest work Sketch-in-Latents (SkiLa), a novel unified reasoning MLLMs to flexibly and seamlessly interleave multi-step explicit textual thoughts and latent visual thoughts.

💡 Highlights

mask

TLDR: We propose SkiLa (Sketch-in-Latents), a unified multimodal reasoning paradigm that enables MLLMs to autoregressively generate continuous visual embeddings as visual thoughts alongside text tokens. The model alternates between textual thinking and visual sketching during multi step reasoning, and uses a semantic reconstruction mechanism to keep the latent sketches grounded.

🛠 Preparation

1. Code

git clone https://github.com/TungChintao/SkiLa.git
cd SkiLa

pip install -r requirements.txt
pip install qwen-vl-utils
pip install flash-attn --no-build-isolation

2. Training Data

Download Datasets of Zebra-CoT

🎯 Training

To run the training script, use the following command:

bash scripts/train_skila.sh

📖 Evaluation

We adopt VLMEvalKit to conduct the evaluation. You can get started as follows:

1. Install

cd VLMEvalKit
pip install -e.

2. Inference

bash test.sh

See here [QuickStar | 快速开始] for more details about arguments.

🔑 License

📌 Citation

If you find this project useful in your research, please consider citing:

@article{tong2025sketch,
  title={Sketch-in-latents: Eliciting unified reasoning in mllms},
  author={Tong, Jintao and Gu, Jiaqi and Lou, Yujing and Fan, Lubin and Zou, Yixiong and Wu, Yue and Ye, Jieping and Li, Ruixuan},
  journal={arXiv preprint arXiv:2512.16584},
  year={2025}
}

👍 Acknowledgment