TL;DR
This paper introduces TruthfulnessEval, a new framework to assess the truthfulness of quantized Large Language Models (LLMs). They discover that while quantization preserves internal knowledge, "deceptive" prompts can easily trick these models into generating false outputs, highlighting a critical vulnerability for deploying quantized LLMs in sensitive applications.
What Problem Does This Paper Address?
Large Language Models (LLMs) are becoming increasingly powerful, but deploying them on resource-constrained devices often requires model compression techniques like quantization. Quantization significantly reduces memory and computation costs, making LLMs more accessible. While previous work has shown that quantized LLMs can maintain performance on tasks like perplexity and zero-shot learning, their impact on truthfulness—whether they generate accurate or deceptive information—remains largely unexplored. This is a critical issue because many users rely on quantized models for local deployment, and existing LLMs, even when trained to be honest, can be prompted to lie. This paper asks: are quantized LLMs more prone to generating false or unreliable answers, and how can we systematically evaluate this?
Methods
The authors developed TruthfulnessEval, a comprehensive framework to evaluate the truthfulness of quantized LLMs across three dimensions:
- Truthfulness on Logical Reasoning: This assesses the LLM's ability to discern truth in affirmative, negated, conjunction ("and"), and disjunction ("or") statements. They adapted existing datasets for this.
- Truthfulness on Common Sense: This evaluates the LLM's accuracy in answering common-sense questions, using a dataset of ambiguous or controversial statements.
- Truthfulness on Imitative Falsehoods: This tests the LLM's robustness against deceptive queries, using the TruthfulQA benchmark.
They evaluated several popular LLM families (LLaMA, Mistral, Qwen) quantized using mainstream techniques like GPTQ and AWQ (4-bit), as well as newer methods like AQLM (2-bit). To probe prompt sensitivity, they used GPT-4 to rephrase "honest," "neutral," and "deceptive" prompts into 15 variants. They also employed layer-wise probing and PCA visualizations to analyze the internal representations of quantized models.
Datasets
- Logical Reasoning Datasets: Adapted from Bürger et al. (2024), Marks and Tegmark (2023), and Azaria and Mitchell (2023). These include statements on topics like cities, language translations, scientific facts, and more, structured into affirmative, negated, conjunction, and disjunction forms.
- Common Sense Dataset:
common_claim_true_falsefrom Casper et al. (2023), adapted by Marks and Tegmark (2023), containing 4,450 statements labeled as true or false. - TruthfulQA (Lin et al., 2021): Used for evaluating truthfulness on imitative falsehoods, comprising multiple-choice and open-ended generation tasks.
Key Insights and Ideas
- Quantization Preserves Internal Truth, But Creates Vulnerability: Quantized LLMs seem to retain their internal understanding of truth, but they become significantly more susceptible to prompt manipulation, especially when faced with "deceptive" instructions.
- "Deceptive" Prompts are Powerful Manipulators: Explicitly instructing a model to lie ("deceptive" prompts) can override its inherent truth-telling behavior, leading to false outputs even when the model "knows" the truth.
- "Honest" and "Neutral" Prompts Offer Stability: In contrast, "honest" and "neutral" prompts lead to more stable and accurate responses, helping to preserve the model's truthfulness.
- Disjunctions are Tricky: LLMs, especially smaller ones, struggle more with disjunctive statements ("or"), showing weaker separability between true and false representations, which can lead to hallucinations.
- Internal Representations Remain Similar: Layer-wise analysis suggests that quantized LLMs maintain similar internal representations of facts as their full-precision counterparts, indicating that the issue lies in how these representations are accessed or influenced by prompts.
Key Results
- Minimal Impact on Basic Truthfulness: For affirmative, negated, and conjunction statements, 4-bit quantization (AWQ, GPTQ) showed minimal degradation in truthfulness compared to 16-bit models.
- 2-bit Quantization Shows Degradation: Extreme 2-bit quantization (AQLM-PV) led to significant performance drops, particularly on disjunction statements, though this could be partially mitigated.
- Prompt Sensitivity is High: "Deceptive" prompts caused greater fluctuations and subverted truthful responses across various categories and model types. "Honest" and "neutral" prompts yielded more stable and accurate outputs.
- Internal Knowledge Persists: Layer-wise probing accuracy remained high across different prompts, suggesting that models can be prompted to lie while still internally "knowing" the truth. PCA visualizations showed clearer separation of true/false representations under "honest" prompts compared to "deceptive" ones.
Limitations and Future Work
The authors acknowledge several limitations:
- Model Size: Experiments were primarily conducted on models with parameters less than 72B. Larger models warrant investigation.
- Prompt Sensitivity Study: Further systematic studies on prompt sensitivity and KV cache compression in quantized LLMs are needed.
- Subtle Deception: The current work doesn't fully capture more nuanced forms of deception like lies of omission or multi-turn strategic deception.
- Quantization Process Itself: A deeper investigation into how the quantization process itself influences susceptibility to deception is suggested.
- Implicit Deception: Exploring implicit deceptive prompts and more complex logical statement types (XOR, XNOR) for testing quantized LLMs is a promising future direction.
The paper concludes by underscoring the need for caution when deploying quantized LLMs in truth-sensitive applications due to their susceptibility to deceptive prompts.
Summary updated