atlas

Research map / Large language models / Retrieval and knowledge

Supervised Knowledge Makes Large Language Models Better In-context Learners

ICLR 2024 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SuperContext, which injects a fine-tuned small discriminative model's prediction and confidence into LLM prompts to improve OOD NLU generalization and reduce hallucination on SQuAD 2.0.

Problem

LLMs underperform task-specific small models on out-of-distribution NLU classification and hallucinate on unanswerable QA; existing work treats LLMs and SLMs as separate paradigms.

Approach

Insert a fine-tuned discriminative model's (ELECTRA-large / RoBERTa-large) predicted label and confidence into the LLM's in-context prompt, so the LLM can reason over supervised task knowledge plus its own domain knowledge, with an optional interpreter prompt asking for influential examples and rationale.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add SLM predictions and confidence to ChatGPT promptsChatGPT · GLUE-X OODaverage: 66.67 -> 80.05Helped
Add SLM predictions and confidence with 16-shot examplesLlama2-7B-chat · GLUE-X OODaverage: 58.54 -> 79.08Helped
Add SLM predictions and confidence to ChatGPT promptsChatGPT · SQuAD 2.0ACC. No.: 32.35 -> 54.65Helped
Add SLM predictions and confidence to ChatGPT promptsChatGPT · SQuAD 2.0EM: 55.82 -> 57.68Helped
Include SLM confidence in the prompt (ablation)SuperContext with ChatGPT · GLUE-X OODaverage: 78.43 -> 80.05Helped
Include SLM confidence in the prompt (ablation)SuperContext with Llama2-7B-chat · GLUE-X OODaverage: 75.68 -> 79.08Helped
Add the interpretation prompt (ablation)SuperContext with ChatGPT · GLUE-X OODaverage: 80.05 -> 78.77Hurt
Add 16 in-context examples to SuperContext (ablation)SuperContext with ChatGPT · GLUE-X OODaverage: 78.43 -> 80.05Helped
Use BM25 to retrieve 16 in-context examplesLlama2-7B-chat · GLUE-X OODaverage: 58.54 -> 59.69Helped
Add SLM predictions and confidence to Llama2-7B-chat promptsLlama2-7B-chat · SQuAD 2.0ACC. No.: 3.72 -> 63.65Helped
Add 16 in-context examples without SLM knowledgeChatGPT · SQuAD 2.0ACC. No.: 32.35 -> 13.22Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GLUE-X SQuAD 2.0 GLUE

Benchmarks: GLUE-X SQuAD 2.0

Metrics: accuracy F1 exact match valid JSON rate accuracy on no-answer questions accuracy on has-answer questions

Baselines: 16-shot ICL BM25 in-context example selection ELECTRA-large cluster+filter fine-tuned Llama2-7B-chat (single-turn and multi-turn)

Builds on: GLUE-X contrastive decoding SuperICL

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy