Pull down to go back
Is Attention Sink Without Positional Encoding Unavoidable?

Is Attention Sink Without Positional Encoding Unavoidable?

沒有位置編碼的注意力沉陷真的無法避免嗎?

A researcher experimenting with Transformer models discovers that removing Positional Encoding (PE) from self-attention and cross-attention causes 'attention sink' — where the model collapses attention weights into vertical hotlines in attention heatmaps instead of distributing them meaningfully. They're asking: is there a way to build query-conditioned attention without relying on positional encoding? This touches on a fundamental question about whether Transformers need explicit position information or if there's an alternative approach.