Non-Linear Inference Time Intervention: Improving LLM Truthfulness
About
In this work, we explore LLM's internal representation space to identify attention heads that contain the most truthful and accurate information. We further developed the Inference Time Intervention (ITI) framework, which lets bias LLM without the need for fine-tuning. The improvement manifests in introducing a non-linear multi-token probing and multi-token intervention: Non-Linear ITI (NL-ITI), which significantly enhances performance on evaluation benchmarks. NL-ITI is tested on diverse multiple-choice datasets, including TruthfulQA, on which we report over 16% relative MC1 (accuracy of model pointing to the correct answer) improvement with respect to the baseline ITI results. Moreover, we achieved a 10% relative improvement over the recently released Truth Forest (TrFf) method that also focused on ITI improvement.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Bias Evaluation | BBQ | Accuracy77.2 | 171 | |
| Question Answering | TruthfulQA | Accuracy56.67 | 164 | |
| Toxicity Detection | Toxigen | Score52.37 | 95 | |
| Truthful QA | Truthful QA | Accuracy61.45 | 83 | |
| Massive Multitask Language Understanding | MMLU | MMLU Accuracy83.6 | 43 | |
| Question Answering | ARC Easy | Accuracy (ARC-E)84.8 | 36 | |
| Question Answering | ARC Challenge | ARC-C Score63.3 | 36 | |
| Safety Evaluation | Refusal | Refusal Rate84 | 36 | |
| Truthful Question Answering | TruthfulQA | MC1 Score47.92 | 36 | |
| Toxicity Classification | Toxigen | Accuracy57.56 | 22 |