atlas

Research map / Large language models / Instruction and fine-tuning

Reference Trustable Decoding: A Training-Free Augmentation Paradigm for Large Language Models

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 0 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 Reference Trustable Decoding (RTD), a training-free method that builds a datastore of hidden states from training examples and fuses a kNN-style reference distribution with the LM_Head output at decoding time.

Problem

Adapting LLMs to downstream tasks usually needs either in-context examples, which lengthen inputs and KV-cache, or fine-tuning, which needs gradient computation and substantial memory.

Approach

Bypass the LM_Head with a retrieval-based reference distribution: a datastore of last-token hidden states paired with labels from task training data is queried by Euclidean distance, and the resulting distribution is interpolated with the model's softmax output. A multi-head variant splits hidden states into per-head sub-datastores and averages their reference distributions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use multi-head RTD instead of regular RTD (ablation)RTD · Open Book QAscore: 27.4 -> 30.9; 47.1 -> 52.4; 63.3 -> 65.6Helped
Add 5-shot ICL to RTDRTD · Language understanding (25 model-benchmark configurations)average score: 63.31 -> 68.88Helped
Use RTD instead of the zero-shot baselineLLaMA2-7B · PIQAscore: 56.5 -> 71.4Helped
Use RTD instead of the zero-shot baselineLLaMA3-8B · MMLUscore: 47.5 -> 57.2Helped
Use RTD instead of the zero-shot baselineYi-34B · ARC (E & C)score: 93.3 -> 90.7Hurt
Use RTD instead of 5-shot ICLLLaMA2-70B · MMLUscore: 67.9 -> 56.9Hurt
Use RTD instead of the baselineLLaMA2-7B-Chat · Wikipedia knowledge injectionaccuracy: 39.0 -> 44.4Helped
Use RTD instead of Wiki RAGLLaMA2-7B-Chat · Wikipedia knowledge injectionaccuracy: 29.0 -> 44.4Helped
Use RTD instead of LoRAFitted model · Tiny-S test setperplexity: 1.3710 -> 1.4501Hurt
Set λ to 0.8 rather than 1 (ablation)RTD · OBQAscore: 71.4 -> 68.0Hurt
Set λ to 0.6 rather than 1 (ablation)RTD · OBQAscore: 71.4 -> 67.0Hurt
Set λ to 0.4 rather than 1 (ablation)RTD · OBQAscore: 71.4 -> 66.8Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MMLU ARC PIQA OpenBookQA C-MMLU MMLU-Recall Tiny-Shakespeare Wikipedia C-Eval validation Belebele zho_Hans ACLUE

Benchmarks: MMLU ARC PIQA OpenBookQA C-MMLU Tiny-Shakespeare perplexity

Metrics: accuracy perplexity confused rate tokens per second extra memory usage

Baselines: 5-shot ICL LoRA full-parameter fine-tuning Wiki RAG zero-shot baseline

Builds on: retrieval-augmented generation LoRA in-context learning faiss

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