Does Low-Precision Quantization Reduce LLM Hallucinations?
This article examines whether a larger model with low-bit quantization or a smaller model kept at lower-precision floating point is less prone to hallucination. It breaks hallucinations into factual errors, faithfulness errors, and instruction drift, explains why quantization mainly affects stylistic detail rather than knowledge coverage, and shows that model scale usually matters more. It also covers decoding and reasoning settings, a task-based model selection strategy, and a practical self-built evaluation workflow.
1. Framing the Problem: Turning “Hallucination” into Measurable Metrics
When deploying large language models locally, a common question is whether a larger model that has been low-bit quantized, or a smaller model kept at a lower-precision floating-point representation, is less likely to hallucinate. To answer it, the vague notion of “making things up” has to be broken apart first; otherwise the discussion stays at the level of subjective impression. In engineering practice it is usually split into three categories:
- Factual errors: the entities exist but the relations are mismatched, for example mixing up API parameters.
- Faithfulness errors: conflicting with the given context, or inventing conditions that are not in the context.
- Instruction drift: the later part of a long answer gradually departs from the original constraints, a kind of “talking yourself into it.”
The three error types have different causes, and the mitigations differ accordingly. Factual errors depend mainly on knowledge coverage and memory capacity from the pre-training stage; faithfulness errors are more related to decoding strategy and context-length management; instruction drift is strongly tied to the reasoning mode (whether the model thinks before answering) and sampling parameters. Lumping them together leads to wrong conclusions such as “switching the quantization scheme will cure hallucinations.”
2. How Large Is the Precision Gap Between the Two Deployment Paths
The second point to clarify is quantization itself. Two approaches are common in the industry. One is low-precision floating-point representation, whose dynamic range is close to that of the original high-precision training representation, with very small per-layer error; on general question answering, writing, and summarization tasks this is usually imperceptible to users. The other is low-bit integer quantization, which introduces real reconstruction error, especially on long-tail weights.
The engineering compromise for the latter is mixed precision: keep higher precision for sensitive modules such as attention projections, embedding layers, and normalization layers, and apply aggressive compression only to the largest feed-forward layers, while measuring dynamic range per group. At the same model size, this kind of scheme does narrow the gap to full precision, but the nature of the gap is “rough details,” not “missing knowledge.”
A schematic sensitivity-tiering logic can be written as:
# Pseudocode: decide retained precision by module sensitivitySENSITIVE = ("embed", "norm", "attn_q", "attn_k", "lm_head")def pick_bits(module_name, weight_stats):if any(k in module_name for k in SENSITIVE):return 8 # keep sensitive layers at higher precisionif weight_stats.outlier_ratio > 0.05:return 8 # layers with many long-tail weights slow down, not degradereturn 4 # aggressively compress the remaining large layers
Conclusion: judged purely by “how much precision was hurt,” the low-precision floating-point path is cleaner; but a difference of this magnitude lands at the level of writing style and detail, and does not reach the layer where hallucinations live.
3. The Main Driver of Hallucination Is the Knowledge Boundary, Not Numerical Noise
Models fabricate content mostly in the zone where they “don’t know but must answer.” Parameter count determines the density of facts that can be stored and the distribution of problems that can be fitted; when scale differs by several times, the corpus patterns seen, the long-tail entities covered, and the internalized problem patterns are not on the same order of magnitude. This capability gap cannot be recovered by keeping a few more decimal places. A rougher jar still holds more; the more you know, the fewer situations you have to hardcode.
It can be written as a rough criterion:
Hallucination probability ≈ P(question falls in a knowledge blind spot) × P(model chooses to fabricate rather than abstain)
Low-bit quantization mainly affects the expressive stability in the second factor, with limited impact; model scale mainly pushes down the first factor. So for the goal of “less likely to make things up,” the weight of the scale advantage is clearly higher.
4. The Overlooked Variables: Reasoning Mode and Decoding Configuration
Large-parameter models often come with a longer explicit thinking process, running over the constraints once more before writing, with fewer short-range slips; speed-first small models tend to answer directly, and constraint relaxation easily appears in the later part of long answers. This is not a precision issue but a decoding and reasoning-budget issue. Actionable convergence measures include:
- Lower sampling randomness, fix the random seed, and avoid over-tuning repetition penalties.
- For key conclusions, require listing the evidence before the conclusion, making implicit reasoning explicit.
- Generate long tasks in segments, feeding the original constraints back in at each segment to suppress instruction drift.
- Set an abstention path for high-risk questions, allowing the model to answer “not sure.”
5. Routing by Task: A Practical Selection Strategy
In practice there is no need to choose one or the other; allocate compute according to the cost of errors:
| Task type | Error cost | Recommended path |
|---|---|---|
| Everyday Q&A, concept explanation, material summarization | Low, rough wording tolerable | Large-parameter low-bit quantization |
| Numerical calculation, API signatures, configuration items | High, one digit off is an incident | Small-parameter low-precision floating point + explicit thinking |
| Long-form generation | Medium, mainly drift | Segmented generation + constraint feedback |
If you use a cloud inference service, model hosting and elastic scaling can be handed to container platforms and inference service offerings, evaluation sets can be accumulated in object storage, and log services with monitoring and alerting can track abstention rate, retry rate, and late-stage drift metrics, forming a closed loop.
6. Build Your Own Evaluation: Get Your Answer in Half a Day
Generic leaderboards cannot replace your business distribution. Suggested process:
- Sample 20 to 30 high-frequency questions from real sessions, covering factual, computational, and long-form types.
- Fix the prompts and decoding parameters, run three passes on each side, and record inconsistent samples.
- Manually label the error type (factual/faithful/drift) and compute a weighted error rate rather than an average score.
- Turn the samples that fail consistently into a regression set, and run it first whenever you switch models or quantization schemes.
{"case_id": "q-017","type": "factual","runs": 3,"errors": {"factual": 1, "faithful": 0, "drift": 0},"abstain": false}
7. Conclusion
On the question of “who is less likely to make things up,” the knowledge-coverage advantage from scale usually outweighs the expressive loss from low-bit quantization; low-precision floating point wins on clean detail and suits zero-tolerance scenarios. The most reliable approach is still to turn your own question list into a regression set — leaderboards belong to everyone, your list belongs only to you.
