English

Non-Linear Inference Time Intervention: Improving LLM Truthfulness

Computation and Language 2024-06-07 v2 Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2403.18680,
  title  = {Non-Linear Inference Time Intervention: Improving LLM Truthfulness},
  author = {Jakub Hoscilowicz and Adam Wiacek and Jan Chojnacki and Adam Cieslak and Leszek Michon and Vitalii Urbanevych and Artur Janicki},
  journal= {arXiv preprint arXiv:2403.18680},
  year   = {2024}
}

Comments

Accepted on Interspeech 2024 Conference. Code is available at https://github.com/Samsung/NL-ITI

R2 v1 2026-06-28T15:35:43.691Z