pith:PFZHD3TF
What learning algorithm is in-context learning? Investigations with linear models
Transformers implement gradient descent and ridge regression implicitly when doing in-context learning on linear tasks.
arxiv:2211.15661 v3 · 2022-11-28 · cs.LG · cs.CL
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{PFZHD3TFIWOEKN4ZU3CDZP3APP}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more
Record completeness
Claims
Trained in-context learners closely match the predictors computed by gradient descent, ridge regression, and exact least-squares regression, transitioning between different predictors as transformer depth and dataset noise vary, and converging to Bayesian estimators for large widths and depths.
That results on linear regression as a prototypical problem will extend to the more complex, non-linear tasks typical of real in-context learning in language models.
Transformers performing in-context learning implicitly implement gradient descent, ridge regression, and least-squares predictors for linear models, with behavior shifting based on model depth, width, and data noise.
References
Formal links
Cited by
Receipt and verification
| First computed | 2026-05-17T23:38:13.930507Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
797271ee65459c453799a6c43cbf607be37dc8edbd11f2091c68b86538df2cc0
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/PFZHD3TFIWOEKN4ZU3CDZP3APP \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 797271ee65459c453799a6c43cbf607be37dc8edbd11f2091c68b86538df2cc0
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "e8bab37bc0e56fc58a49bf89d5cf2bbb25839cce6a80f49b692916efa402136b",
"cross_cats_sorted": [
"cs.CL"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.LG",
"submitted_at": "2022-11-28T18:59:51Z",
"title_canon_sha256": "6caaadf80372d564f29b370e6c37cced5e9e052c272d7b54f59c819c6937e6d2"
},
"schema_version": "1.0",
"source": {
"id": "2211.15661",
"kind": "arxiv",
"version": 3
}
}