Analysis updated 2026-07-26
Train a vision-language model to rely more heavily on its image input when generating text.
Experiment with different visual contrast settings like blacked-out or degraded images.
Research how self-distillation techniques can improve multimodal AI model performance.
| joliang17/vcsd | alx-code/lingbot-video-1.3b-fp8 | andrevicencio/tmux-flash | |
|---|---|---|---|
| Stars | 7 | 7 | 7 |
| Language | Python | Python | Python |
| Setup difficulty | hard | — | easy |
| Complexity | 5/5 | — | 2/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an NVIDIA GPU and user-supplied data in Parquet format, no pre-trained checkpoints or datasets are provided.
This repository contains code for a research paper called "Visual Contrast Self-Distillation for Vision-Language Models." The paper and code are both works in progress, meaning the authors are still actively developing and refining them. The project addresses a specific problem in AI: how to train models that understand both images and text to pay closer attention to the visual information they receive. The core idea is a training technique called self-distillation through visual contrast. Here is how it works in plain terms. The model processes an image and produces predictions about what text should follow. Then, the model processes the same input but with the image removed, blacked out, or degraded. By comparing these two passes, the system identifies which predictions actually depend on seeing the image. The training process then sharpens exactly those image-dependent predictions. A safety mechanism called a plausibility guard ensures the model only redistributes probability among tokens it already considered reasonable, so it never learns to produce something the teacher model would not have generated anyway. The implementation is built on top of an existing reinforcement learning framework called verl. The authors describe their additions as minimal: a few files that add the contrast target and a loss function to a standard training loop. The repository includes scripts for launching training runs, preparing data, and handling degraded images for the control passes. Training requires an NVIDIA GPU and specific dependencies pinned in a requirements file. Data must be provided as Parquet files containing prompts and images. No model checkpoints, datasets, or pre-generated outputs are included, users must supply their own data. Configuration options let users adjust the tilt strength (how aggressively to sharpen image-dependent tokens), the plausibility threshold, and the type of control input used (black image, degraded image, or no image). The project is derived from two prior efforts: Vision-OPD and the verl framework. It is released under the Apache 2.0 license.
A research codebase for training vision-language models to pay closer attention to images by comparing model predictions with and without the visual input.
Mainly Python. The stack also includes Python, verl, NVIDIA GPU.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.