Skip to content
OpenTrain AIFor AI Companies

HFEPX · Eval paper review

A Circuit for In-Context Learning

Andrew Gao, William Gao

Published

Nov 3, 2026

Citations

0

Trust level

Low

Usefulness score

40/100 (Low)

Extraction confidence

45% (Low)

Derived from extracted protocol signals and abstract evidence.

Rater population

Not reported

Signals refreshed

Nov 3, 2026

Should you rely on this paper?

This paper is adjacent to HFEPX scope and is best used for background context, not as a primary protocol reference.

Use this as background context only. Do not make protocol decisions from this page alone.

Best use

Background context only

Use if you need

Background context only.

What to verify

Read the full paper before copying any benchmark, metric, or protocol choices.

Main weakness

The available metadata is too thin to trust this as a primary source.

Human feedback signal
Detected
From extracted signals
Evaluation signal
Weak or implicit
Validate from full paper
Usefulness for eval research
40/100
Adjacent candidate

Treat as adjacent context, not a core eval-method reference.

Abstract

In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates. With arbitrary labels the model must acquire a mapping it cannot have memorized, so the learning happens within a single forward pass. Prior work found candidate parts but not how they compose. We give the composition for few-shot sentence classification with arbitrary labels in three 3-4B-parameter transformers. The model implements a key-value memory over label-token positions: each label token's residual stream encodes the label's identity, and middle-layer attention heads write into it the class of the preceding demonstration as its key. At the query, upper-layer heads match the query's class against the stored keys and copy out the matching labels. An early-layer signal encoding whether any label has repeated gates this readout; in its absence the readers attend to the start of the prompt and no label is favored. A separate set of heads suppresses the most recently seen label. Each step is established causally by activation patching, head ablations against random-head baselines, and steering with the model's own signals. A softmax model of the readout with two constants per head, fit on one prompt distribution, predicts another. The computation is conserved across the three models, the named heads alone reproduce the behaviour, and a transformer trained from scratch grows the same parts. The circuit transfers to semantic concepts and to labels with meaning, and the same parts, with a causal gate, appear from 0.6B to 8B in one family and survive instruction tuning. ICL in this setting is a gated associative lookup built from a few identifiable component types, traced causally from demonstrations to prediction.

What we could verify

These are the protocol signals we could actually recover from the available paper metadata. Use them to decide whether this paper is worth deeper reading.

Human Feedback Types

partial

Demonstrations

Directly usable for protocol triage.

"In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates."

Evaluation Modes

missing

None explicit

Validate eval design from full paper text.

"In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates."

Quality Controls

missing

Not reported

No explicit QC controls found.

"In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates."

Benchmarks / Datasets

missing

Not extracted

No benchmark anchors detected.

"In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates."

Reported Metrics

missing

Not extracted

No metric anchors detected.

"In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates."

Benchmarks and datasets

No benchmark or dataset names were extracted from the available abstract.

Reported metrics

No metric terms were extracted from the available abstract.

Human feedback details
Uses human feedback
Yes
Feedback types
Demonstrations
Rater population
Not reported
Expertise required
General
Evaluation details
Evaluation modes
None
Agentic eval
None
Quality controls
Not reported
Evidence quality
Low
Use this page as
Background context only

Research brief

Metadata summary

In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates.

Based on abstract + metadata only. Check the source paper before making high-confidence protocol decisions.

Key takeaways

  • In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates.
  • With arbitrary labels the model must acquire a mapping it cannot have memorized, so the learning happens within a single forward pass.
  • Prior work found candidate parts but not how they compose.

Researcher actions

  • Compare this paper against nearby papers in the same arXiv category before using it for protocol decisions.
  • Check the full text for explicit evaluation design choices (raters, protocol, and metrics).
  • Use related-paper links to find stronger protocol-specific references.

Caveats

  • Generated from abstract + metadata only; no PDF parsing.
  • Signals below are heuristic and may miss details reported outside the abstract.

Contribution summary

  • In-context learning (ICL) lets a pretrained language model perform a task specified by demonstrations in its prompt, with no parameter updates.
  • With arbitrary labels the model must acquire a mapping it cannot have memorized, so the learning happens within a single forward pass.

Researcher checklist

  • Human feedback protocol is explicit

    Detected: Demonstrations

  • Evaluation mode is explicit

    No clear evaluation mode extracted.

  • Quality control reporting appears

    No calibration/adjudication/IAA control explicitly detected.

  • Benchmark or dataset anchors are present

    No benchmark/dataset anchor extracted from abstract.

  • Metric reporting is present

    No metric terms extracted.