CLAIFeb 16, 2024

Where is the answer? Investigating Positional Bias in Language Model Knowledge Extraction

arXiv:2402.12170v312 citationsh-index: 39
Originality Incremental advance
AI Analysis

This addresses a key bottleneck for updating LLMs with new knowledge, offering insights to enhance fine-tuning and inform trade-offs with RAG, though it is incremental as it builds on known issues like the perplexity curse.

The study tackled the problem of positional bias in language models' knowledge extraction, finding that models accurately answer questions about the first sentence of fine-tuning documents but struggle with information in the middle or end, and showed that regularization like denoising auto-regressive loss can improve extraction from diverse positions.

Large language models require updates to remain up-to-date or adapt to new domains by fine-tuning them with new documents. One key is memorizing the latest information in a way that the memorized information is extractable with a query prompt. However, LLMs suffer from a phenomenon called perplexity curse; despite minimizing document perplexity during fine-tuning, LLMs struggle to extract information through a prompt sentence. In this new knowledge acquisition and extraction, we find a very intriguing fact that LLMs can accurately answer questions about the first sentence, but they struggle to extract information described in the middle or end of the documents used for fine-tuning. Our study suggests that the auto-regressive training causes this issue; each token is prompted by reliance on all previous tokens, which hinders the model from recalling information from training documents by question prompts. To conduct the in-depth study, we publish both synthetic and real datasets, enabling the evaluation of the QA performance w.r.t. the position of the corresponding answer in a document. Our investigation shows that even a large model suffers from the perplexity curse, but regularization such as denoising auto-regressive loss can enhance the information extraction from diverse positions. These findings will be (i) a key to improving knowledge extraction from LLMs and (ii) new elements to discuss the trade-off between RAG and fine-tuning in adapting LLMs to a new domain.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes