SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.16775 · 2024

A Comprehensive Evaluation of Quantization Strategies for Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

8 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2402.16775.json · badge: /api/ran/2402.16775.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.

RepositoryRoleRan
cordercorder/quant_eval canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
mean Ran
ran, violated the contract we drafted
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/metrics.py
pointer only (licence: NONE) · get_code("0928f497e20fb443")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

general_detokenize Ran
ran; our contract draft was wrong, not the code
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/utils.py
pointer only (licence: NONE) · get_code("0662e7a6743f488b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_result Ran
ran, honoured the contract we drafted
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/models/gpt3.py
pointer only (licence: NONE); the stored copy get_code serves, from MrGGLS/BlockPruner, is pointer only (licence: NONE) · get_code("d253589f2c78dad0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

group Ran
ran; our contract draft was wrong, not the code
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from hdong920/griffin, is pointer only (licence: NONE) · get_code("359c35fdcd7a0ee5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hash_args Ran
ran; our contract draft was wrong, not the code
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/base.py
pointer only (licence: NONE); the stored copy get_code serves, from opengvlab/videochat-r1, is pointer only (licence: NONE) · get_code("ea06eaae4fc1eaf0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pop_stddev Ran
ran; our contract draft was wrong, not the code
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/metrics.py
pointer only (licence: NONE); the stored copy get_code serves, from MrGGLS/BlockPruner, is pointer only (licence: NONE) · get_code("518b2201c66c2ad3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_stddev Ran
ran; our contract draft was wrong, not the code
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/metrics.py
pointer only (licence: NONE) · get_code("d40f0123e8a8f5c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

simple_parse_args_string Ran
ran; our contract draft was wrong, not the code
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from hdong920/griffin, is pointer only (licence: NONE) · get_code("cd999ad59caf84a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_models_tokenizer Not yet run
unverified (harvested, no recorded run)
cordercorder/quant_eval/benchmarks/alpaca_eval/evaluate_llm_int8_quant_qwen_chat.py
pointer only (licence: NONE) · get_code("2251707ba84890b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_table Not yet run
unverified (harvested, no recorded run)
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/evaluator.py
pointer only (licence: NONE); the stored copy get_code serves, from princeton-nlp/QuRating, is pointer only (licence: NONE) · get_code("9d95c14130837ee4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

stop_sequences_criteria Not yet run
unverified (harvested, no recorded run)
cordercorder/quant_eval/quant/SpQR/lm-evaluation-harness/lm_eval/models/huggingface.py
pointer only (licence: NONE) · get_code("069ffbe9aadaa2ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cordercorder/quant_eval when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

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, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 7 the same month, 9 later) and 1 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.

FunctionAlso present inEarliest-datedOthers named
hash_args 44 other papers
7 dated earlier, 2 the same month, 33 later, 1 same year, order not determinable, 1 undated
2005.14165 (2020-05)
Language Models are Few-Shot Learners
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 41 more not named here
mean 12 other papers
7 dated earlier, 1 the same month, 4 later
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2212.11702 (2022-12)
Robust Meta-Representation Learning via Global Label Inference and Classification
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 9 more not named here
make_table 9 other papers
4 dated earlier, 3 the same month, 2 later
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
and 6 more not named here
pop_stddev 9 other papers
4 dated earlier, 1 the same month, 4 later
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
and 6 more not named here
sample_stddev 9 other papers
5 dated earlier, 1 the same month, 3 later
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
2306.09200 (2023-06)
ChessGPT: Bridging Policy Learning and Language Modeling
and 6 more not named here
group 8 other papers
5 dated earlier, 1 the same month, 2 later
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
and 5 more not named here
get_result 5 other papers
4 dated earlier, 1 later
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
and 2 more not named here
simple_parse_args_string 5 other papers
3 dated earlier, 1 the same month, 1 later
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
2310.05620 (2023-10)
LAiW: A Chinese Legal Large Language Models Benchmark
and 2 more not named here
stop_sequences_criteria 4 other papers
2 dated earlier, 2 later
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
2025.naacl-long.237 (2025 (year only))
What We Talk About When We Talk About LMs: Implicit Paradigm Shifts and the Ship of Language Models
and 1 more not named here
general_detokenize 1 other paper
1 dated earlier
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams

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.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Increasing the number of parameters in large language models (LLMs) usually improves performance in downstream tasks but raises compute and memory costs, making deployment difficult in resource-limited settings. Quantization techniques, which reduce the bits needed for model weights or activations with minimal performance loss, have become popular due to the rise of LLMs. However, most quantization studies use pre-trained LLMs, and the impact of quantization on instruction-tuned LLMs and the relationship between perplexity and benchmark performance of quantized LLMs are not well understood. Evaluation of quantized LLMs is often limited to language modeling and a few classification tasks, leaving their performance on other benchmarks unclear. To address these gaps, we propose a structured evaluation framework consisting of three critical dimensions: (1) knowledge \& capacity, (2) alignment, and (3) efficiency, and conduct extensive experiments across ten diverse benchmarks. Our experimental results indicate that LLMs with 4-bit quantization can retain performance comparable to their non-quantized counterparts, and perplexity can serve as a proxy metric for quantized LLMs on most benchmarks. Furthermore, quantized LLMs with larger parameter scales can outperform smaller LLMs. Despite the memory savings achieved through quantization, it can also slow down the inference speed of LLMs. Consequently, substantial engineering efforts and hardware support are imperative to achieve a balanced optimization of decoding speed and memory consumption in the context of quantized LLMs.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.16775")
get_code_for_paper("2402.16775")
have("2402.16775")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.16775.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.16775.svg)](https://syntology.ai/paper/2402.16775)

Connect an agent — have() is free.