How attention sinks keep language models stable
hanlab.mit.edu
How attention sinks keep language models stable
1–10 of 38 posts
Re: How attention sinks keep language models stable
#2I wonder if it makes sense to use the first word as a title of sorts rather than going straight in grammatically correct sentence when prompting
Re: How attention sinks keep language models stable
#3This seems to go beyond just transformers. For example, I recall reading a paper a while ago that showed a similar effect in an image to image model with a GAN/U-Net architecture [1].
Re: How attention sinks keep language models stable
#4Re: How attention sinks keep language models stable
#5This sounds like it is working for the wrong reasons. Surely the right behavior is for the right neurons to receive attention rather than the first handful. Jamming everything there is the complementary sin of blurring. I would investigate attention equalization paired with a sparsity prior or something similar to prevent blurring.
Re: How attention sinks keep language models stable
#6> Barbero et al. have shown that attention sinks serve as "pressure valves" preventing what researchers call "over-mixing"—a pathological state where deep models processing long sequences blur important distinctions between tokens. The presence of a sink draws attention away from other tokens, limiting the spread of information (and noise) and resulting in more stable embeddings. This sounds like it is working for th…
Re: How attention sinks keep language models stable
#7> Barbero et al. have shown that attention sinks serve as "pressure valves" preventing what researchers call "over-mixing"—a pathological state where deep models processing long sequences blur important distinctions between tokens. The presence of a sink draws attention away from other tokens, limiting the spread of information (and noise) and resulting in more stable embeddings. This sounds like it is working for th…
The point is that there's not always a right token to attend to. If the information you're looking for is not there, no clever attention scheme will find it. The best you can hope for when that happens is that the value returned in the "not found" case is distinguishable from the "found" case. Having an attention sink serve as a fixed "not found" value is one way to do this.
Re: How attention sinks keep language models stable
#8Re: How attention sinks keep language models stable
#9This is nice and useful because the new GPT-OSS model uses this technique. Kudos to the original authors!
Re: How attention sinks keep language models stable
#10Earlier quoted context omitted.
The point is that there's not always a right token to attend to. If the information you're looking for is not there, no clever attention scheme will find it. The best you can hope for when that happens is that the value returned in the "not found" case is distinguishable from the "found" case. Having an attention sink serve as a fixed "not found" value is one way to do this.
Good point. Does that make them mitigate hallucinations?