<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visualizing Attention in Transformer-Based Language Representation Models · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1904.02679/</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/1904.02679/feed.xml" rel="self" type="application/rss+xml" /><item><title>Visualizing Attention in Transformer-Based Language Representation Models — mentioned by visarga</title><link>https://news.ycombinator.com/item?id=36060976</link><guid isPermaLink="false">urn:hackerpapers:mention:1904.02679:36060976</guid><pubDate>Wed, 24 May 2023 17:01:15 GMT</pubDate><description>&lt;p&gt;The transformer doesn&amp;#x27;t have the nice pyramid shape of CNNs, but it still needs multiple layers. There have been papers showing non-trivial interactions between successive layers, forming more complex circuits. https://transformer-circuits.pub/2021/framework/index.html (warning, advanced difficulty) The Q an K matrices learn how to relate tokens. Each of the heads will learn to extract a different relation. For example, one will link to the next token, another will link pronouns to their references, another would be matching brackets, etc. Check out the cute diagrams here…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1904.02679/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.HC</category></item><item><title>Visualizing Attention in Transformer-Based Language Representation Models — mentioned by ypcx</title><link>https://news.ycombinator.com/item?id=23971763</link><guid isPermaLink="false">urn:hackerpapers:mention:1904.02679:23971763</guid><pubDate>Tue, 28 Jul 2020 02:37:29 GMT</pubDate><description>&lt;p&gt;Yes this seems like an early work in progress, compared to Jay&amp;#x27;s previous Transformer articles. In addition to your link, I&amp;#x27;ve found a really good Transformer explanation here (backed by a Github repo w/ lively Issues talk): http://www.peterbloem.nl/blog/transformers Additionally, there&amp;#x27;s a paper on visualizing self-attention: https://arxiv.org/pdf/1904.02679.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1904.02679/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.HC</category></item></channel></rss>
