A stable task makes adapters useful

Canva reviews hundreds of thousands of images for its public library each day. Repeated checks and subjective criteria made labeled examples useful alongside written instructions. LoRA keeps the base parameters frozen while training smaller update matrices; the published configuration uses rank 24, alpha 48 and all linear layers. QLoRA stores the frozen base in four-bit NF4 form. Canva says the resulting memory headroom allowed its training batch to grow from four examples to twenty-four, while other memory requirements still remained.

Training the decisions rather than the prompt

Training and serving share the same conversation template. Initially, loss applies only to the assistant JSON response, excluding instructions, image positions and padding. A second training stage focuses on true and false positions, turning the difference between their logits into a binary classification objective. The same score difference later produces a probability for each check. This separates the learned decision from the output contract: training encourages the answer, while constrained decoding enforces the required syntax.

Speculation without a separate draft model

The production output contains roughly 190 tokens, but only 33 boolean values change between images. Field names and punctuation are already known. A custom vLLM proposer drafts blocks of that fixed template, using false as the initial guess for each flag. The main model verifies those blocks and can choose true instead; the unaccepted suffix is discarded. XGrammar constrains structural positions while preserving either boolean choice. This exploits a predictable classification format, rather than adding retrieval or assuming that prewritten answers are correct.

Production measurements and their boundaries

Canva reports around 85 percent lower LLM costs and half the missed-violation rate without an increase in false positives. Serving changes reduced production p50 latency from 3.5 seconds to 240 milliseconds, with p99 falling from 4.6 to 0.52 seconds. A separate benchmark at 32 concurrent requests achieved a smaller 3.7-fold improvement, illustrating why the largest single-request gain cannot represent every load level. These are company-reported measurements, not an independent comparison. The account also describes weight-tying mistakes and vision-tower gradient problems, emphasizing that a plausible training run can still produce an incorrectly integrated serving system.