paper-with-me

홈 › Papers

Why does in-context learning fail sometimes? Evaluating in-context learning on open and closed questions

2024-07-02 · Xiang Li, Haoran Tang, Siyu Chen, Ziwei Wang, Ryan Chen, Marcin Abram

We measure the performance of in-context learning as a function of task novelty and difficulty for open and closed questions. For that purpose, we created a novel benchmark consisting of hard scientific questions, each paired with a context of various relevancy. We show that counter-intuitively, a context that is more aligned with the topic does not always help more than a less relevant context. This effect is especially visible for open questions and questions of high difficulty or novelty. This result reveals a fundamental difference between the treatment of close-form and open-form questions by large-language models and shows a need for a more robust evaluation of in-context learning on the variety of different types of questions. It also poses a new question of how to optimally select a context for large language models, especially in the context of Retrieval Augmented Generation (RAG) systems. Our results suggest that the answer to this question can be highly application-dependent and might be contingent on factors including the format of the question, the perceived difficulty level of the questions, and the novelty or popularity of the information we seek.

📄 PDF Abstract BibTeX arXiv:2407.02028

Code (1)

mikelixiang88/context-matters 공식 구현

Tasks

In-Context LearningRAGRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

In-context Learning in Presence of Spurious Correlations

2024-10-04 · Hrayr Harutyunyan, Rafayel Darbinyan, Samvel Karapetyan, Hrant Khachatrian

Large language models exhibit a remarkable capacity for in-context learning, where they learn to solve tasks given a few examples. Recent work has shown that transformers can be trained to perform simple regression tasks…

In-Context LearningMemorization

When Fairness Isn't Statistical: The Limits of Machine Learning in Evaluating Legal Reasoning

2025-06-04 · Claire Barale, Michael Rovatsos, Nehal Bhuta

Legal decisions are increasingly evaluated for fairness, consistency, and bias using machine learning (ML) techniques. In high-stakes domains like refugee adjudication, such methods are often applied to detect disparitie…

ClusteringFairnessLegal Reasoning

DRInQ: Evaluating Conversational Implicature with Controlled Context Variation

2026-05-22 · Hirona Jacqueline Arai, Xiang Ren arxiv

Human conversation relies heavily on conversational implicature, in which speakers convey meanings that are suggested rather than explicitly stated. Although recent large language models exhibit strong conversational flu…

Contextual Reliability: When Different Features Matter in Different Contexts

2023-07-19 · Gaurav Ghosal, Amrith Setlur, Daniel S. Brown, Anca D. Dragan 외

Deep neural networks often fail catastrophically by relying on spurious correlations. Most prior work assumes a clear dichotomy into spurious and reliable features; however, this is often unrealistic. For example, most o…

Does context matter in digital pathology?

2024-05-23 · Paulina Tomaszewska, Mateusz Sperkowski, Przemysław Biecek

The development of Artificial Intelligence for healthcare is of great importance. Models can sometimes achieve even superior performance to human experts, however, they can reason based on spurious features. This is not …

valid