AI RESEARCH

Cross-Attention and Encoder-Decoder Transformers: A Logical Characterization

arXiv CS.AI

ArXi:2605.07705v1 Announce Type: cross We give a novel logical characterization of encoder-decoder transformers, the foundational architecture for LLMs that also sees use in various settings that benefit from cross-attention. We study such transformers over text in the practical setting of floating-point numbers and soft-attention, characterizing them with a new temporal logic. This logic extends propositional logic with a counting global modality over the encoder input and a past modality over the decoder input.