FP8 vs. 4-bit Quantization: Which Model Hallucinates Less?

    This article compares FP8 and 4-bit quantized models in terms of hallucination risk, focusing on what changes when bit width is the only variable and why FP8 is usually more stable under identical model, data, alignment, prompt, decoding, retrieval, and evaluation settings. It breaks hallucination into factual, logical, instruction-following, and calibration failures; explains weight, activation, KV-cache, and sensitive-module quantization errors; and outlines a reproducible A/B evaluation plan with claim-level verification. It also provides engineering practices and selection guidance for reducing hallucinations through retrieval, tool verification, structured output, decoding controls, quantization optimization, routing, fallback, and monitoring.

    Conclusion First: FP8 Is Usually More Stable by Default, but Bit Width Alone Does Not Decide

    If the comparison is limited to the same base model, the same training data, the same alignment strategy, the same prompts, the same decoding parameters, the same retrieval tools, and the same evaluation set, and the only change is moving weight quantization from FP8 to 4-bit, then the FP8 version is usually less likely to hallucinate. The reason is not that the FP8 label has any magic. Rather, FP8 preserves more numerical information, has a wider dynamic range, and introduces smaller quantization perturbations. This is especially helpful for long-tail knowledge, multi-hop reasoning, numerical computation, code generation, and long-context consistency.

    However, this does not mean that 4-bit is always worse. In real systems, a 4-bit version may use more advanced quantization granularity, outlier handling, mixed precision, and sensitive-layer protection. Meanwhile, an FP8 version can also produce many unsupported statements if it is based on a weaker base model, has worse alignment, uses a higher decoding temperature, or lacks retrieval and verification. Therefore, the more accurate judgment is: the default ranking favors FP8, but the final conclusion must be determined jointly by domain evaluation and system-level safeguards.

    1. “Hallucination” Is Not a Single Metric

    In an engineering context, “hallucination” covers at least four types of problems:

    1. Factual hallucination: generating facts, citations, numbers, or conclusions that look plausible but are not supported by evidence.
    2. Logical inconsistency: contradicting itself, repeating content, breaking the reasoning chain, or forgetting earlier constraints in a long document.
    3. Instruction non-compliance: failing to answer the question, producing the wrong format, passing incorrect tool-call parameters, or ignoring refusal requirements.
    4. Calibration failure: being overconfident about wrong answers, or still forcing an answer when evidence is insufficient.

    These four problems do not have the same relationship with quantization error. General benchmarks often cover multiple-choice questions, short answers, language understanding, or pattern matching. A high average score does not necessarily mean that open-ended factual question answering is more reliable. Some extremely low-bit schemes can significantly reduce average capability loss through rotation bases, group scaling, and mixed precision, but factual consistency, correct refusal rate, and long-context citation accuracy may still be more sensitive to quantization perturbations. Therefore, when you see claims that a model is “nearly lossless on general benchmarks,” you should continue to ask: does the test set include open-ended factual QA, refusal on unknown questions, multi-hop reasoning, long-document consistency, and structured output?

    2. Where Quantization Error Comes From

    Quantization affects models mainly through four layers.

    First, weight quantization error. After weights are compressed to lower bit widths, matrix multiplication results will deviate. 4-bit weight quantization is more aggressive than FP8. If only coarse-grained rounding is used, a small number of outliers may be flattened, which can affect attention distributions and deep feature representations.

    Second, activation quantization error. Some schemes quantize only weights, while others quantize both weights and activations. Activation values have a larger dynamic range, and outliers are more concentrated. Improper handling can amplify errors. FP8 usually has a wider dynamic range and more tolerance; 4-bit requires more careful calibration and grouping strategies.

    Third, KV-cache quantization error. In long-context scenarios, after historical key-value caches are quantized, errors accumulate as the number of tokens grows. This can appear as citation misalignment, repetition, contradiction, or forgetting key constraints. When comparing 4-bit and FP8, you should not look only at weight quantization; you should also check whether the KV cache, attention computation, and visual projection layers remain at higher precision.

    Fourth, sensitive-module error. Embedding layers, output heads, normalization layers, multimodal projection layers, and routing modules are often more sensitive to numerical perturbations. Using mixed precision, per-channel or per-group scaling, and keeping sensitive layers at higher precision is usually more reliable than simply pursuing a lower average bit width.

    Ternary-weight quantization combined with group scaling and rotation-basis space projection is a common technical approach in extremely low-bit compression: rotation bases spread spikes concentrated in a few dimensions into a smoother feature space, group scaling preserves local scale, and mixed precision protects key modules. These methods can reduce average error, but they cannot guarantee by principle that factual accuracy will not degrade. A high retention rate on average benchmarks does not equal a low hallucination rate.

    3. Same-Condition Comparison: FP8 Is Usually More Stable

    Under the same base model and the same inference configuration, FP8 is generally less prone to factual errors and logical drift than 4-bit. The reasons can be summarized in three points:

    • Numerical error is smaller, so long-tail knowledge is less likely to be “damaged” by compression;
    • The dynamic range is wider, providing better tolerance for outlier activations and long-context caches;
    • There is less dependence on calibration sets and quantization algorithms, so deployment stability is higher.

    However, real model selection is often not a “same-base, pure-quantization comparison.” If a 4-bit version comes from a stronger base model, better instruction alignment, or more sufficient domain fine-tuning, or if it includes retrieval augmentation, tool verification, and structured-output constraints, it may well hallucinate less than an FP8 version that has no retrieval, high temperature, and weak alignment. Conversely, if the 4-bit version uses distillation, pruning, or aggressive cache quantization for speed, the gap may come more from model capability and system design than from the three words “4-bit.”

    You can use the following dimensions for a quick assessment:

    Dimension 4-bit quantization FP8 quantization
    Memory usage and throughput Usually more advantageous Relatively higher
    Quantization error More dependent on algorithm and calibration Usually smaller
    Factual consistency Generally weaker than FP8 under the same base model Usually more stable under the same base model
    Long-context stability Cache precision needs focused validation Usually more comfortable
    Deployment cost Suitable for cost-sensitive scenarios Suitable for reliability-first scenarios
    Applicable strategy Combine with retrieval, verification, and fallback Use as the main model or fallback model for high-risk scenarios

    4. Evaluation Plan: Do Not Just Ask “Which Score Is Higher”

    It is recommended to make the comparison a reproducible A/B evaluation rather than looking only at a single general score. The evaluation set should cover at least:

    • Domain factual QA and open-ended QA;
    • Unanswerable questions and questions with insufficient evidence;
    • Multi-hop reasoning, numerical computation, and structured output;
    • Long-document summarization, citation localization, and consistency before and after;
    • Constraint preservation in multi-turn conversations;
    • Adversarial prompts, leading questions, and format constraints.

    Metrics should be broken down into factual precision, unsupported-statement rate, citation coverage, long-document contradiction rate, instruction-following rate, correct refusal rate, calibration error, latency, and cost. During evaluation, fix the system prompt, temperature, top-p, maximum output length, tool budget, and retrieval configuration; sample multiple times and provide confidence intervals; and perform blind review or claim-level verification on high-risk samples.

    Below is pseudocode illustrating the evaluation idea of “verifying claim by claim”:

    1. run_eval(model, cases, decode_cfg, retriever):
    2. rows = []
    3. for case in cases:
    4. evidence = retriever(case.question) if retriever else case.evidence
    5. answer = model.generate(case.question, evidence, decode_cfg)
    6. claims = split_claims(answer)
    7. labels = [verify(claim, evidence) for claim in claims]
    8. rows.append({
    9. factual_precision: supported_ratio(labels),
    10. unsupported_rate: unsupported_ratio(labels),
    11. citation_coverage: citation_ratio(answer, evidence),
    12. contradiction_rate: long_context_check(answer, case.documents),
    13. abstain_ok: check_abstain(answer, case.answerable),
    14. calibration: calibration_error(answer, labels)
    15. })
    16. return aggregate(rows)

    The key is not the code itself, but the evaluation philosophy: break “whether the overall answer is good” into verifiable claims, evidence, and constraints. Only in this way can you distinguish between “fluent language but factually wrong” and “plain expression but sufficient evidence.”

    5. Engineering Practices to Reduce Hallucination

    Whether you choose 4-bit or FP8, you should not rely entirely on model precision for reliability. More effective approaches combine system-level measures:

    1. Retrieval augmentation and evidence constraints: require the model to answer based on given evidence and output citations; clearly refuse when evidence is insufficient.
    2. Tool verification: use deterministic validators or code executors to verify numbers, dates, formats, and executable logic.
    3. Structured output: constrain output fields with schemas to reduce off-topic responses and format drift.
    4. Tiered decoding strategies: lower temperature for high-risk QA to reduce randomness; perform self-consistency checks or multi-path voting on key conclusions.
    5. Quantization strategy optimization: use group scaling, outlier suppression, and mixed precision for sensitive layers; in long-context scenarios, keep KV cache and attention computation at high precision as much as possible.
    6. Routing and fallback: route low-risk, high-throughput requests to 4-bit; fall back high-risk, evidence-intensive, or long-document requests to FP8 or higher-precision versions.
    7. Monitoring and regression: record unsupported statements, user corrections, refusal rates, and long-document contradiction rates, and continuously run version regression.

    6. Selection Recommendations

    If the business goal is to “hallucinate as little as possible” and the budget allows, prioritize FP8 or higher-precision versions as the main model for high-risk scenarios. 4-bit is better suited to cost-sensitive scenarios with clear task boundaries and an existing retrieval and verification loop. If 4-bit must be used, focus on validating long-context behavior, refusal on unknown questions, numerical computation, and multi-turn constraint preservation, and keep a fallback path to higher-precision versions.

    The final recommendation can be summarized in one sentence: under the same base model and configuration, FP8 is usually more stable; in cross-model comparisons, base-model capability, alignment quality, quantization algorithm, retrieval verification, and decoding strategy jointly determine hallucination risk. Do not draw conclusions from “4-bit” or “FP8” alone. Let domain evaluation and system safeguards speak.