Skip to main content
QUICK REVIEW

[Paper Review] Decoupling Vision and Language: Codebook Anchored Visual Adaptation

Jason Wu, Tianchen Zhao|arXiv (Cornell University)|Feb 23, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

CRAFT fine-tunes only the discrete vision encoder via a shared codebook to adapt LVLMs to domain-specific tasks, enabling cross-LLM transfer without re-alignment and improving domain accuracy while preserving language abilities.

ABSTRACT

Large Vision-Language Models (LVLMs) use their vision encoders to translate images into representations for downstream reasoning, but the encoders often underperform in domain-specific visual tasks such as medical image diagnosis or fine-grained classification, where representation errors can cascade through the language model, leading to incorrect responses. Existing adaptation methods modify the continuous feature interface between encoder and language model through projector tuning or other parameter-efficient updates, which still couples the two components and requires re-alignment whenever the encoder changes. We introduce CRAFT (Codebook RegulAted Fine-Tuning), a lightweight method that fine-tunes the encoder using a discrete codebook that anchors visual representations to a stable token space, achieving domain adaptation without modifying other parts of the model. This decoupled design allows the adapted encoder to seamlessly boost the performance of LVLMs with different language architectures, as long as they share the same codebook. Empirically, CRAFT achieves an average gain of 13.51% across 10 domain-specific benchmarks such as VQARAD and PlantVillage, while preserving the LLM's linguistic capabilities and outperforming peer methods that operate on continuous tokens.

Motivation & Objective

  • Motivate domain adaptation challenges for large vision–language models where vision encoders underperform in tail domains.
  • Propose a decoupled adaptation framework that uses a discrete codebook to anchor visual representations.
  • Enable cross-LLM transfer by training a discrete vision encoder that can plug into any LVLM sharing the codebook.
  • Achieve domain-specific gains with lightweight training and test-time token pruning without retraining the language model.

Proposed method

  • Quantize continuous visual features to a fixed codebook to obtain discrete tokens.
  • Train the vision encoder with a composite loss: surrogate alignment loss, commitment loss, and contrastive loss (LCRAFT = lambda_con L_con + lambda_commit L_commit + L_SAL).
  • Use a surrogate language model during training to guide token selection (L_SAL).
  • Maintain a fixed codebook and apply straight-through estimators through quantization during backpropagation.
  • Apply test-time token pruning using rarity-based token quotas and intra-token selection to keep informative tokens only.
Figure 1 : Continuous vs. Discrete Adaptation. (a) In conventional continuous-space adaptation, fine-tuning the vision encoder shifts its feature distribution, requiring costly re-alignment with each language model. (b) CRAFT introduces a discrete interface that anchors visual features to a shared c
Figure 1 : Continuous vs. Discrete Adaptation. (a) In conventional continuous-space adaptation, fine-tuning the vision encoder shifts its feature distribution, requiring costly re-alignment with each language model. (b) CRAFT introduces a discrete interface that anchors visual features to a shared c

Experimental results

Research questions

  • RQ1Can a discrete codebook interface enable domain adaptation of LVLMs without altering the frozen language model?
  • RQ2Do discrete vision tokens coupled with a surrogate supervision signal improve domain-specific reasoning compared with continuous-feature fine-tuning or PEFT methods?
  • RQ3Is cross-LLM transfer feasible when adapters share the same discrete codebook?
  • RQ4What are the effects of test-time token pruning on efficiency and accuracy across diverse domains?

Key findings

  • CRAFT yields an average 13.51 percentage point improvement across ten domain-specific benchmarks.
  • Discrete token interface enables cross-LLM transfer without re-alignment, maintaining instruction-following and explanations.
  • Compared to continuous fine-tuning and PEFT baselines, CRAFT provides stronger domain-specific understanding with balanced reasoning quality.
  • Token pruning reduces inference FLOPs and latency while preserving performance (keep ratio around 0.8 is reliable).
  • Training with a small surrogate can achieve substantial gains and reduce memory/time costs.
  • Ablation shows each loss component (saliently L_SAL and L_con) contributes to performance.
  • Decoupled vision encoder adaptation does not require re-training the LLM across backbones.
Figure 2 : Examples from plant pathology [ 37 ] , medical imaging [ 19 ] , and abstract diagram understanding [ 34 ] are shown using a general continuous LVLM [ 25 ] , its PEFT-tuned variant, and our CRAFT model built on the discrete LVLM [ 51 ] . General LVLM often lacks visual grounding or domain-
Figure 2 : Examples from plant pathology [ 37 ] , medical imaging [ 19 ] , and abstract diagram understanding [ 34 ] are shown using a general continuous LVLM [ 25 ] , its PEFT-tuned variant, and our CRAFT model built on the discrete LVLM [ 51 ] . General LVLM often lacks visual grounding or domain-

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.