Show HN: LLM Attention Visualization

(ishamf.dev)

34 points | by ifz 1 hour ago

4 comments

  • wopak 0 minutes ago
    neat, combining info from two phrases is hard to see without such a tool.

    are you worried later-layer attention gets drowned out by earlier layers just because there are more of them contributing to the sum?

  • itsnasme 12 minutes ago
    I like the visualisation. Pretty cool
  • sva_ 56 minutes ago
    I highly question this simplistic idea of high vector magnitude = high influence.
    • ifz 46 minutes ago
      I don't disagree with that. I did add an entire caveat paragraph there.

      To me, it's more of a neat visualization, not something that can be used to interpret LLM behavior. Even with a lot of simplification, it can show some interesting patterns.

    • smallmancontrov 37 minutes ago
      You get what you pay for. If you want to think harder and get more, https://transformer-circuits.pub/2025/attention-qk/index.htm...
    • apnabhidu47 6 minutes ago
      Same I dont get it just, could you clarify it
  • colophontio 1 hour ago
    [dead]