paper-with-me

Papers

Make Your LLM Fully Utilize the Context

2024-04-25 · Shengnan An, Zexiong Ma, Zeqi Lin, Nanning Zheng, Jian-Guang Lou

While many contemporary large language models (LLMs) can process lengthy input, they still struggle to fully utilize information within the long context, known as the lost-in-the-middle challenge. We hypothesize that it stems from insufficient explicit supervision during the long-context training, which fails to emphasize that any position in a long context can hold crucial information. Based on this intuition, our study presents information-intensive (IN2) training, a purely data-driven solution to overcome lost-in-the-middle. Specifically, IN2 training leverages a synthesized long-context question-answer dataset, where the answer requires (1) fine-grained information awareness on a short segment (~128 tokens) within a synthesized long context (4K-32K tokens), and (2) the integration and reasoning of information from two or more short segments. Through applying this information-intensive training on Mistral-7B, we present FILM-7B (FILl-in-the-Middle). To thoroughly assess the ability of FILM-7B for utilizing long contexts, we design three probing tasks that encompass various context styles (document, code, and structured-data context) and information retrieval patterns (forward, backward, and bi-directional retrieval). The probing results demonstrate that FILM-7B can robustly retrieve information from different positions in its 32K context window. Beyond these probing tasks, FILM-7B significantly improves the performance on real-world long-context tasks (e.g., 23.5->26.9 F1 score on NarrativeQA), while maintaining a comparable performance on short-context tasks (e.g., 59.3->59.2 accuracy on MMLU). Github Link: https://github.com/microsoft/FILM.

📄 PDF Abstract BibTeX arXiv:2404.16811

Code (2)

microsoft/FILM 공식 구현 pytorch
nvidia/ruler pytorch

Tasks

4kInformation RetrievalMMLURetrieval

Similar Papers 제목 키워드 기반

Bootstrap Your Own Context Length

2024-12-25 · Liang Wang, Nan Yang, Xingxing Zhang, Xiaolong Huang 외

We introduce a bootstrapping approach to train long-context language models by exploiting their short-context capabilities only. Our method utilizes a simple agent workflow to synthesize diverse long-context instruction …

Language ModelingLanguage Modelling

Four Ways to Scale Up: Smart, Dumb, Forced, and Fumbled

2021-01-13 · Bent Flyvbjerg

Scale-up is the process of growing a venture in size. The paper identifies modularity and speed as keys to successful scale-up. On that basis four types of scale-up are identified: Smart, dumb, forced, and fumbled. Smart…

Madera Contractors

2024-11-12 · 11/12 2024 11 · Madera Contractors

Early Life Madera Contractors: Trusted Commercial Cleaning Experts in Ottawa Since 2010 – Providing Quality, Reliable, and Eco-Friendly Cleaning Solutions for Your Business. Career About Madera Contractors Made…

SelfElicit: Your Language Model Secretly Knows Where is the Relevant Evidence

2025-02-12 · Zhining Liu, Rana Ali Amjad, Ravinarayana Adkathimar, Tianxin Wei 외

Providing Language Models (LMs) with relevant evidence in the context (either via retrieval or user-provided) can significantly improve their ability to provide factually correct grounded responses. However, recent studi…

Computational EfficiencyLanguage ModelingLanguage Modelling

Can AI Explanations Make You Change Your Mind?

2025-08-11 · Laura Spillner, Rachel Ringe, Robert Porzel, Rainer Malaka arxiv

In the context of AI-based decision support systems, explanations can help users to judge when to trust the AI's suggestion, and when to question it. In this way, human oversight can prevent AI errors and biased decision…