<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What Can Transformers Learn In-Context? A Case Study of Simple Function Classes · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2208.01066/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2208.01066/feed.xml" rel="self" type="application/rss+xml" /><item><title>What Can Transformers Learn In-Context? A Case Study of Simple Function Classes — mentioned by pama</title><link>https://news.ycombinator.com/item?id=45996757</link><guid isPermaLink="false">urn:hackerpapers:mention:2208.01066:45996757</guid><pubDate>Thu, 20 Nov 2025 19:42:09 GMT</pubDate><description>&lt;p&gt;LLMs have the ability to learn certain classes of algorithms from their datasets in order to reduce errors when compressing their pretraining data. If you are technically inclined, read the reference: https://arxiv.org/abs/2208.01066 (optionally followup work) to see how llms can pick up complicated algorithms from training on examples that could have been generated by such algorithms (in one of the cases the LLM is better than anything we know; in the rest it is simply just as good as our best algos). Learning such functions from data would not work with Markov chains at any level of…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2208.01066/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>What Can Transformers Learn In-Context? A Case Study of Simple Function Classes — mentioned by pama</title><link>https://news.ycombinator.com/item?id=42586400</link><guid isPermaLink="false">urn:hackerpapers:mention:2208.01066:42586400</guid><pubDate>Fri, 03 Jan 2025 15:23:58 GMT</pubDate><description>&lt;p&gt;&amp;gt; I wish people would understand what a large language model is. I think your view of llm does not explain the learning of algorithms that these constructs are clearly capable of, see for example: https://arxiv.org/abs/2208.01066 More generally, the best way to compress information from too many different coding examples is to figure out how to code rather than try to interpolate between existing blogs and QA forums. My own speculation is that with additional effort during training (RL or active learning in the training loop) we will probably reach superhuman coding performance within two…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2208.01066/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>What Can Transformers Learn In-Context? A Case Study of Simple Function Classes — mentioned by spyder</title><link>https://news.ycombinator.com/item?id=35522514</link><guid isPermaLink="false">urn:hackerpapers:mention:2208.01066:35522514</guid><pubDate>Tue, 11 Apr 2023 08:48:37 GMT</pubDate><description>&lt;p&gt;I agree, the in-context, few shot learning is the most interesting thing a about these transformer models, they have basically learned to learn (meta-learning). Some additional interesting papers about it: Transformers learn in-context by gradient descent: https://arxiv.org/abs/2212.07677 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes: https://arxiv.org/abs/2208.01066 &amp;quot;We also show that we can train Transformers to in-context learn more complex function classes -- namely sparse linear functions, two-layer neural networks, and decision trees -- with performance…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2208.01066/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>What Can Transformers Learn In-Context? A Case Study of Simple Function Classes — mentioned by spyder</title><link>https://news.ycombinator.com/item?id=34762227</link><guid isPermaLink="false">urn:hackerpapers:mention:2208.01066:34762227</guid><pubDate>Sun, 12 Feb 2023 12:08:23 GMT</pubDate><description>&lt;p&gt;Yea, this is an example of the transfomer models&amp;#x27; ability of in-context learning, they just don&amp;#x27;t incorporate them into their long-term fixed memory yet, but I imagine it&amp;#x27;s the next step. Some interesting recent papers about the in-context learning: https://www.lesswrong.com/posts/firtXAWGdvzXYAh9B/paper-tran... What Can Transformers Learn In-Context? A Case Study of Simple Function Classes: https://arxiv.org/abs/2208.01066 Transformers learning to learn (meta-learning): https://openreview.net/forum?id=t6tA-KB4dO&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2208.01066/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
