Learn Before
Case Study

Interpreting an Attention Weight Matrix

Consider the sentence: 'The delivery robot dropped the package because it was faulty.' An attention mechanism processes this sequence. The table below shows the calculated attention weights in the row corresponding to the query word 'it', indicating how much 'it' attends to every other word in the sequence.

Attending To ->Thedeliveryrobotdroppedthepackagebecauseitwasfaulty
Query: 'it'0.050.050.700.050.050.080.010.000.0050.005

Based on this data, which word does 'it' most likely refer to? Justify your answer by explaining what the distribution of these weights signifies about the relationships the model has identified.

0

1

Updated 2025-10-03

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