<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RNNs can generate bounded hierarchical languages with optimal memory · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2010.07515/</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/2010.07515/feed.xml" rel="self" type="application/rss+xml" /><item><title>RNNs can generate bounded hierarchical languages with optimal memory — mentioned by canjobear</title><link>https://news.ycombinator.com/item?id=35830545</link><guid isPermaLink="false">urn:hackerpapers:mention:2010.07515:35830545</guid><pubDate>Fri, 05 May 2023 15:31:34 GMT</pubDate><description>&lt;p&gt;An RNN with infinite-precision rational weights can implement a counter with a bounded number of neurons. With finite precision the number of neurons scales linearly in your desired depth of matching brackets: https://arxiv.org/pdf/2010.07515.pdf For a Transformer you need to add a new layer of self-attention to increase bracket matching depth by 1. https://direct.mit.edu/tacl/article/doi/10.1162/tacl_a_00306... Transformers are formally a lot weaker than RNNs/LSTMs.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2010.07515/"&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>
