Preparing your design workspace

Loading the problem and your latest saved attempt…

Design Few-Shot Vision-Language Model Adaptation

Adapt a pretrained language model and vision backbone into a VLM using few supplied SFT examples, synthetic training data, and reproducible evaluation.

Problem statement

For this exercise, assume an ML team has a pretrained text language model, a pretrained vision backbone, 20 supplied image-question-answer SFT examples, and access to 100,000 approved image-caption pairs.

Design how to turn the two pretrained models into a vision-language model that answers questions about an image and follows short text conversations about it. You may generate synthetic training data, but you may not obtain additional human annotations.

Existing evaluation sets with established answers are available and must remain separate from training. Choose the visual-to-language interface, data preparation and quality checks, training stages and trainable parameters, reproducible run and checkpoint contracts, evaluation, and the decision to release a candidate.

A successful training run alone does not establish model quality. Training a foundation model from scratch, new human annotation, audio or video support, and a production chat-serving platform are outside scope.

What to build

  1. Build a versioned training set from supplied SFT examples, approved image-caption pairs, and filtered synthetic examples without requesting new human annotation.
  2. Train a compatible visual-to-language interface and selected adaptation parameters while retaining the identities of both pretrained backbones.
  3. Reproduce a run and resume an interrupted training attempt from a complete checkpoint within its fixed resource budget.
  4. Compare the adapted model against fixed baselines on independent visual and text evaluation sets and publish one complete candidate with its evidence.

At scale

  • For this exercise, assume 20 supplied SFT examples and up to 100,000 approved image-caption pairs; synthetic data must record its original image and generator lineage.
  • For this exercise, one experiment uses at most 16 simultaneous accelerator workers and 384 accelerator-worker hours in total. Charge allocated-worker count multiplied by elapsed allocation time, including startup, stalls, synthetic-data generation, training, evaluation, failed work and retries; CPU-only preprocessing does not consume this accelerator allowance. Resume keeps the original consumed allowance. The run’s current consumption and reservation ledger remains authoritative across attempts; checkpoint counters are audit snapshots and restoring an older checkpoint never refunds charged worker time.
  • For this exercise, retain complete recoverable checkpoints at least every 30 minutes and permit only a fully recorded checkpoint to resume a run.
  • For this exercise, release requires improvement on a fixed visual question-answering benchmark without more than a two-percentage-point absolute drop on a fixed text instruction-following benchmark; evaluation uncertainty and weak slices must be reported.