<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Long Context on Nalar</title>
    <link>https://nalar.dev/tags/long-context/</link>
    <description>Recent content in Long Context on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 24 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/long-context/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Sliding-Window Attention Bounds Each Query to a Local Token Horizon</title>
      <link>https://nalar.dev/sliding-window-attention-bounds-each-query-to-a-local-token-horizon/</link>
      <pubDate>Thu, 24 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/sliding-window-attention-bounds-each-query-to-a-local-token-horizon/</guid>
      <description>&lt;p&gt;A causal attention layer does not always expose every earlier token to every query. With a sliding window of width &lt;code&gt;w&lt;/code&gt;, the query at position &lt;code&gt;i&lt;/code&gt; can be restricted to recent positions rather than the full prefix. The attention graph becomes local: old tokens fall outside the direct edge set even though they remain part of the sequence.&lt;/p&gt;&#xA;&lt;p&gt;That boundary changes computation, memory traffic, and information paths at the same time. It is not merely an optimized implementation of full attention. Once the mask removes distant key-value pairs, the layer implements a different dependency pattern.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
