# Poster 27644

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/27644

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, my name is Zhongxiang Sun, a PhD student at Gaoling School of Artificial Intelligence. Today I am going to introduce our ICLR paper, Redip: Detecting Hallucination in Retrieved Argumented Generation via Mechanistic Interpretability. So what is RIT?
When we give a language model a query, language models can directly generate an answer based on their pre-trained knowledge, but if the query is very new and the language model didn't contain the pre-trained knowledge to answer the query, we can use the retrieval document to append the knowledge with the query to the language models and the language models can based on the retrieval document to correctly answer the query.
answer the query. This is what we want to make the
dragged to help us realize. But one deep question is can language always answer correctly with relevant documents? And there's a case in the right IDQ dataset. When we append the correct answer correct document with the query, the language models can generate a response that is completely both with the pre-trained knowledge and the retrieved document. We call this phenomenon as a rag hallucination.
So, from the opposition, we can find that although recent studies have examined the implications between the external context and the lifelong knowledge parametric knowledge of tracks, we can find this conflicts can lead to hallucinations but do not always case them. So how to analyze at right hallucinations?
We first define two scales. The first scale is internal context scale. This scale is used to measure whether the long nodes effectively retain and utilize the information from internal context during generation. And the second scale is the parametric knowledge scale, which is used to measure how much parametric knowledge does the long node use during generation.
And we have done a little experiment based on the two scales and found that the occurrence of recognition is closely related to two primary factors. While the coping heads may occasionally neglect necessary knowledge from the external context, a more prominent case is noticing the coping head revealed information during the generation process and the knowledge evidence.
Another thing within the language knows it's extensively injecting parametric knowledge into the residual streams. This case is a rank condition. So how to develop these methods to design rank condition detecting algorithm? We want to regress the explicit external context scale and the parametric knowledge scale to predict hallucinations, whereas a beta r is greater than zero.
And as the token -level hallucination detecting computer scores for each token, it is computationally impressive and lacks full contextual consideration. So we designed the token-level hallucination detecting score, which is based on embedding, which is based on, which considers the external context and the response as a track-level, and then we can computer the embedding similarities based on the track.
check out the embedding and all the context and the response to calculate the external context score and the parametric knowledge score in the track level is the sum of these tracks tokens. So we can calculate the final hallucination track level hallucination decoding by regression these two scores.
And based on these findings, we proposed to add attention -reduced FFN to reduce rare connections by entering an attention head and FFN modules without updating model parameters. So based on these two methods, detecting methods and the...
And the convolutional mitigation methods, we found that the relief consistently improves the performance across two datasets, various backbone methods and different metrics when dealing with the effectiveness in detecting drag hallucinations. And the hallucination mitigation methods AF can reduce hallucinations to a certain extent compared to the baseline models.
Since this is all my introduction to the paper, if you have more questions welcome to connect with me by the email.
