Example

Two-Segment Memory in Segment-Level Recurrence

A common implementation of segment-level recurrence involves a memory structure composed of two segments: the current segment and the immediately preceding one. In this setup, the attention mechanism at any given position can access the historical key-value pairs contained within these two most recent consecutive segments. This approach effectively creates a form of local memory and has been widely adopted in various segment-level recurrent models.

0

1

Updated 2026-04-23

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences