We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In-context learning (ICL) in Large Language Models (LLMs) has emerged as a powerful new learning paradigm. However, its underlying mechanism is still not well understood. In particular, it is challenging to map it to the "standard" machine learning framework, where one uses a training set $S$ to find a best-fitting function $f(x)$ in some hypothesis class. Here we make progress on this problem by showing that the functions learned by ICL often have a very simple structure: they correspond to the transformer LLM whose only inputs are the query $x$ and a single "task vector" calculated from the training set. Thus, ICL can be seen as compressing $S$ into a single task vector $\boldsymbolθ(S)$ and then using this task vector to modulate the transformer to produce the output. We support the above claim via comprehensive experiments across a range of models and tasks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2310.15916")
get_code_for_paper("2310.15916")
have("2310.15916")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2310.15916.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2310.15916)
Connect an agent — have() is free.