I'm learning about transformers and their components, and I understand that:
Masked attention ensures that each token can only attend to previous tokens (or itself) in causal language models, effectively encoding the order of tokens.
Positional embeddings are added to token embeddings to incorporate position information explicitly.
This makes me wonder: if masked attention already respects the sequence of tokens by enforcing causality, why do we still need positional embeddings? Doesn't the masking already capture the token order implicitly?
Can we get away without using the positional embedding if the masked attention already attends to the need of positioning of token ?