<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2401.17377/</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/2401.17377/feed.xml" rel="self" type="application/rss+xml" /><item><title>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by yorwba</title><link>https://news.ycombinator.com/item?id=47846268</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:47846268</guid><pubDate>Tue, 21 Apr 2026 08:47:22 GMT</pubDate><description>&lt;p&gt;You can build an unlimited-order Markov chain by, instead of pre-computing a table of counts for all possible contexts, using a substring-search index on the training data to count possible continuations on the fly: https://arxiv.org/abs/2401.17377 That paper uses suffix arrays, but more compact indices are possible: https://arxiv.org/abs/2506.12229&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by shenberg</title><link>https://news.ycombinator.com/item?id=46002735</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:46002735</guid><pubDate>Fri, 21 Nov 2025 09:17:15 GMT</pubDate><description>&lt;p&gt;The short and unsatisfying answer is that an LLM generation is a markov chain, except that instead of counting n-grams in order to generate the posterior distribution, the training process compresses the statistics into the LLM&amp;#x27;s weights. There was an interesting paper a while back which investigated using unbounded n-gram models as a complement to LLMs: https://arxiv.org/pdf/2401.17377 (I found the implementation to be clever and I&amp;#x27;m somewhat surprised it received so little follow-up work)&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by astrange</title><link>https://news.ycombinator.com/item?id=45999554</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:45999554</guid><pubDate>Thu, 20 Nov 2025 23:54:00 GMT</pubDate><description>&lt;p&gt;&amp;gt; This is entirely different from saying it can only reproduce samples which it was trained on. It is not a memory machine that is surgically piecing together snippets of memorized samples. (That would be a mind bogglingly impressive machine!) You could create one of those using both a Markov chain and an LLM. https://arxiv.org/abs/2401.17377&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by astrange</title><link>https://news.ycombinator.com/item?id=45933580</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:45933580</guid><pubDate>Fri, 14 Nov 2025 23:52:16 GMT</pubDate><description>&lt;p&gt;If you&amp;#x27;re claiming a transformer model is a Markov chain, this is easily disprovable by, eg, asking the model why it isn&amp;#x27;t a Markov chain! But here is a really big one of those if you want it: https://arxiv.org/abs/2401.17377&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by sadiq</title><link>https://news.ycombinator.com/item?id=44900337</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:44900337</guid><pubDate>Thu, 14 Aug 2025 13:48:07 GMT</pubDate><description>&lt;p&gt;You might find https://arxiv.org/abs/2401.17377v3 interesting..&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by yorwba</title><link>https://news.ycombinator.com/item?id=40545115</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:40545115</guid><pubDate>Sat, 01 Jun 2024 12:17:52 GMT</pubDate><description>&lt;p&gt;In this case, the curse of dimensionality is working in our favor, as the volume of an n-dimensional simplex also grows exponentially, so it is perfectly suited to hold the exponential state space of the mixed-state presentation. Updating from one mixed-state to another just involves updating for each pure state in the mixture and then mixing the resulting states together, so everything is neatly linear. One way to represent the training data would be to have one state per token position that emits the corresponding token and advances to the next position, or to a randomly sampled other…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — HN submission</title><link>https://news.ycombinator.com/item?id=40266791</link><guid isPermaLink="false">urn:hackerpapers:submission:2401.17377:40266791</guid><pubDate>Sun, 05 May 2024 17:58:13 GMT</pubDate><description>&lt;p&gt;Infini-Gram: Scaling unbounded n-gram language models to a trillion tokens&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;142 points; 58 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — HN submission</title><link>https://news.ycombinator.com/item?id=39295280</link><guid isPermaLink="false">urn:hackerpapers:submission:2401.17377:39295280</guid><pubDate>Wed, 07 Feb 2024 22:38:05 GMT</pubDate><description>&lt;p&gt;Infini-Gram: Scaling Unbounded N-Gram Language Models to a Trillion Tokens&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — mentioned by Al-Khwarizmi</title><link>https://news.ycombinator.com/item?id=39218210</link><guid isPermaLink="false">urn:hackerpapers:mention:2401.17377:39218210</guid><pubDate>Thu, 01 Feb 2024 17:04:22 GMT</pubDate><description>&lt;p&gt;Not 100M I guess, but this is fresh from today&amp;#x27;s arXiv: &amp;quot;Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens&amp;quot; https://arxiv.org/pdf/2401.17377.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&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>Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokens — HN submission</title><link>https://news.ycombinator.com/item?id=39215777</link><guid isPermaLink="false">urn:hackerpapers:submission:2401.17377:39215777</guid><pubDate>Thu, 01 Feb 2024 13:38:35 GMT</pubDate><description>&lt;p&gt;Infini-Gram: Scaling unbounded n-gram language models to a trillion tokens&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 1 discussion reply on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2401.17377/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
