Non-Linear Inference Time Intervention: Improving LLM Truthfulness

التفاصيل البيبلوغرافية
العنوان: Non-Linear Inference Time Intervention: Improving LLM Truthfulness
المؤلفون: Hoscilowicz, Jakub, Wiacek, Adam, Chojnacki, Jan, Cieslak, Adam, Michon, Leszek, Urbanevych, Vitalii, Janicki, Artur
سنة النشر: 2024
المجموعة: Computer Science
مصطلحات موضوعية: Computer Science - Computation and Language, Computer Science - Machine Learning
الوصف: 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.
Comment: Accepted on Interspeech 2024 Conference. Code is available at https://github.com/Samsung/NL-ITI
نوع الوثيقة: Working Paper
URL الوصول: http://arxiv.org/abs/2403.18680
رقم الأكسشن: edsarx.2403.18680
قاعدة البيانات: arXiv