Slide 54
Slide 54 text
In Context Learning
In-Context Learning : Model’s ability to learn and adapt to patterns, without updating its
internal parameters.
In-context learning Input prompt Output
Natural language
processing
apple, pomme, pear, poire, cherry cerise
Turkey, baklava, France, croissant, Japan mochi
Supervised learning
𝑦!
= 𝑓 𝑥!
+ noise
𝑥+, 𝑦+, 𝑥,, … , 𝑥-.+, 𝑦-.+, 𝑥-
𝑓(𝑥!
)
Dynamical system
𝑥!"#
= 𝑓 𝑥!
+ noise
𝑥+, 𝑥,, 𝑥/, … , 𝑥-.,, 𝑥-.+, 𝑥-
𝑓(𝑥!
)
Figure: From [Transformers as Algorithms, Li et al. 2023]
O. Zekri – Large Language models as Markov Chains 22