Xuefei Ning, Huazhong Yang, Yu Wang, Xihui Liu, Shiyao Li, Guohao Dai, Shengen Yan, Xiuhong Li, Yingchun Hu, Ke Hong, Xiaotao Jia, Yaqi Yan, and 1 more
9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper.json · badge: /api/ran/Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| thu-nics/MBQ | canonical (classifier label) classifier basis: census |
9 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| calculate_zeros_width | Ran ran, honoured the contract we drafted |
thu-nics/MBQ/qmllm/methods/mbq/quantize/qmodule.py code served (permissive licence) · get_code("fd8719af3db2c5ae") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_act_scale | Ran ran; our contract draft was wrong, not the code |
thu-nics/MBQ/qmllm/methods/mbq/quantize/auto_scale.py code served (permissive licence) · get_code("0fbb308a9e0be4b1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_module_by_name_suffix | Ran ran; our contract draft was wrong, not the code |
thu-nics/MBQ/qmllm/methods/mbq/quantize/quantizer.py code served (permissive licence) · get_code("0ae488b77c73c6a6") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Linear. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_multimodal_calib_dataset | Ran ran; our contract draft was wrong, not the code |
thu-nics/MBQ/qmllm/calibration/coco_vl.py code served (permissive licence) · get_code("48fdfb9c1dfa6dee") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_named_linears | Ran ran; our contract draft was wrong, not the code |
thu-nics/MBQ/qmllm/methods/mbq/quantize/pre_quant.py code served (permissive licence) · get_code("0310065bdf9208bb") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_weight_scale | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
thu-nics/MBQ/qmllm/methods/mbq/quantize/auto_scale.py code served (permissive licence) · get_code("ec909faceaba76f5") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| load_image | Ran ran, honoured the contract we drafted |
thu-nics/MBQ/qmllm/calibration/coco_vl.py code served (permissive licence) · get_code("0921f960e75f4e82") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| make_divisible | Ran ran, honoured the contract we drafted |
thu-nics/MBQ/qmllm/methods/mbq/quantize/qmodule.py code served (permissive licence) · get_code("ad85b288e9acb9c2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| process_input | Ran ran; our contract draft was wrong, not the code |
thu-nics/MBQ/qmllm/methods/mbq/quantize/pre_quant.py code served (permissive licence) · get_code("72644f3889bd62df") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_blocks | Not yet run unverified (harvested, no recorded run) |
thu-nics/MBQ/qmllm/methods/mbq/quantize/pre_quant.py code served (permissive licence) · get_code("a2bf10bce9b439aa") How it ranno invocation recorded. |
| get_calib_dataset | Not yet run unverified (harvested, no recorded run) |
thu-nics/MBQ/qmllm/calibration/pileval.py code served (permissive licence) · get_code("fea5dc12fc287c8a") How it ranno invocation recorded. |
Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| calculate_zeros_width | 3 other papers 3 dated earlier |
2402.02750 (2024-02) KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache |
2402.10631 (2024-02) BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation 2403.05527 (2024-03) GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLM |
| make_divisible | 3 other papers 3 dated earlier |
2402.02750 (2024-02) KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache |
2402.10631 (2024-02) BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation 2403.05527 (2024-03) GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLM |
| get_act_scale | 1 other paper 1 dated earlier |
2402.18158 (2024-02) Evaluating Quantized Large Language Models |
|
| get_module_by_name_suffix | 1 other paper 1 dated earlier |
2402.18158 (2024-02) Evaluating Quantized Large Language Models |
|
| get_named_linears | 1 other paper 1 dated earlier |
2402.10631 (2024-02) BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation |
|
| get_weight_scale | 1 other paper 1 dated earlier |
2402.18158 (2024-02) Evaluating Quantized Large Language Models |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Vision-Language Models (VLMs) have enabled a variety of real-world applications. The large parameter size of VLMs brings large memory and computation overhead which poses significant challenges for deployment. Post-Training Quantization (PTQ) is an effective technique to reduce the memory and computation overhead. Existing PTQ methods mainly focus on large language models (LLMs), without considering the differences across other modalities. In this paper, we discover that there is a significant difference in sensitivity between language and vision tokens in large VLMs. Therefore, treating tokens from different modalities equally, as in existing PTQ methods, may over-emphasize the insensitive modalities, leading to significant accuracy loss. To deal with the above issue, we propose a simple yet effective method, Modality-Balanced Quantization (MBQ), for large VLMs. Specifically, MBQ incorporates the different sensitivities across modalities during the calibration process to minimize the reconstruction loss for better quantization parameters. Extensive experiments show that MBQ can significantly improve task accuracy by up to 4.4% and 11.6% under W3A16 and W4A8 quantization for 7B to 70B VLMs, compared to SOTA baselines. Additionally, we implement a W3A16 GPU kernel that fuses the dequantization and GEMV operators, achieving a 1.4→ speedup on LLaVAonevision-7B on the RTX 4090. The code is available at https://github.com/thu-nics/MBQ.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper")
get_code_for_paper("Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper")
have("Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/Li_MBQ_Modality-Balanced_Quantization_for_Large_Vision-Language_Models_CVPR_2025_paper)
Connect an agent — have() is free.