Case Study

Analysis of Sparse Attention Patterns

A team is optimizing a causal language model and is evaluating two different sparsity patterns for computing the attention output at token position i=20. The patterns are defined by the following index sets of non-zero attention weights. Based on these sets, which pattern implies a higher degree of sparsity (and thus greater computational efficiency), and which pattern is designed to focus more on the most recent context? Justify your reasoning for both.

0

1

Updated 2025-10-07

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

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science