Soura Vamseekar Marti

Work / WhoPays

WhoPays

A preregistered audit of who pays when LLM inference is made cheaper: it measures how quantization, KV-cache compression and speculative decoding change quality and speed differently across 11 languages.

Source availableOct 2026 – PresentAudit complete · paper in preparation

The problem

Compression is reported as one accuracy number averaged over languages. A model can lose almost nothing on average and still lose most of its ability in the language with the longest tokenisation, and the average hides who is carrying the cost.

Audit

Make inference cheaperWeight quantizationRTN · GPTQ · 8/4/3-bitKV-cache compression4-bit · evictionSpeculative decodingspeed vs qualityQwen2.5-Instruct1.5B and 3BEleven languages · Belebeletoken premium differs by languageworst-offWorst-off language loss · Belebele points3-bit GPTQ · 1.5B523-bit GPTQ · 3B364-bit GPTQ · 1.5B9.44-bit GPTQ · 3B4.08-bit weights · 4-bit KV<1loss tracks token premium · ρ 0.51–0.94Disparity cardper-language change · token premium · worst loss
858 preregistered runs. An optimisation that costs almost nothing on average can cost the worst-off language most of its ability.

Three inference optimisations, weight quantization, KV-cache compression and speculative decoding, are applied to Qwen2.5-Instruct at 1.5 billion and 3 billion parameters and scored on Belebele in eleven languages across 858 preregistered runs. The chart reports the loss in the worst-off language, in Belebele points. 8-bit weights and a 4-bit KV cache cost every language under one point. 4-bit GPTQ costs the worst-off language 9.4 points at 1.5 billion parameters and 4.0 at 3 billion. 3-bit GPTQ costs 52 and 36. Losses track each language's token premium, with Spearman correlations of 0.51 to 0.94 across nine settings. Each configuration gets a disparity card of per-language quality change, token premium and worst-language loss.

How it works

  1. 01

    Write the hypotheses before running anything

    The study is preregistered: the questions, the configurations and the tests are fixed up front, so a finding cannot be chosen after the fact.

  2. 02

    Run the grid

    858 GPU runs across Qwen2.5-Instruct 1.5B and 3B, eleven languages, and the three inference optimisations at several settings, scored on Belebele.

  3. 03

    Attribute the gap to a layer

    Each language's loss is traced to the layer that causes it, using Shapley attribution and an Oaxaca–Blinder decomposition, and compared with the language's token premium.

  4. 04

    Report the worst-off language

    Every configuration gets a disparity card: per-language quality change, token premium and worst-language loss, so the cost sits in the output where a deployer can see it.

Engineering notes

  • Own PyTorch implementations of RTN and GPTQ weight quantization and fake-quant layers on Hugging Face transformers; GPTQ is calibrated on 128 × 2048 Wikipedia tokens and checked against the GPTQModel reference.
  • A job-list harness hashes every configuration into a run id, so runs resume across Colab and Kaggle sessions and the 858 results are traceable one by one.
  • Findings: 8-bit weights and a 4-bit KV cache cost every language under one Belebele point. 4-bit GPTQ costs the worst-off language 9.4 points at 1.5B and 4.0 at 3B; 3-bit costs 52 and 36. Losses track the token premium (Spearman ρ 0.51–0.94 across nine settings).
  • ParityQuant, a mixed-precision quantizer that minimises the worst language's loss at a fixed memory budget, is under way. Exploratory CPU tests on a 0.5B model show English-only calibration leaves the worst language about six times worse than an equal multilingual mix.
  • Open harness under Apache-2.0, with the statistics (inequality, attribution, decomposition) and the result tables kept in the repository.

Trade-offs

Preregistration

instead of exploring the grid and reporting what looks interesting

With eleven languages and several optimisations, some comparison will always look striking. Fixing the tests first makes a result mean something.

Worst-off language as the headline

instead of the average across languages

The average is what the optimisation papers report and it is exactly what hides the disparity this study is about.

Own GPTQ checked against a reference

instead of a library call used as a black box

Per-language calibration needs access to the Hessians. Implementing the method, then matching it to GPTQModel, gives both the access and the confidence.

Evidence

858

GPU runs, preregistered

11

languages

<1 pt

worst-language loss at 8-bit weights

9.4 pts

worst-language loss, 4-bit GPTQ at 1.5B