activity
20232026
collaborators

7 papers

cs.LO2026

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

Veeti Ahvonen, Damian Heiman, Antti Kuusisto +2

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-atte…

cs.LO2025

Expressive Power of Graph Transformers via Logic

Veeti Ahvonen, Maurice Funk, Damian Heiman +2

Transformers are the basis of modern large language models, but relatively little is known about their precise expressive power on graphs. We study the expressive power of graph tr…

cs.LO2025

Graph neural networks and MSO

Veeti Ahvonen, Damian Heiman, Antti Kuusisto

We give an alternative proof for the existing result that recurrent graph neural networks working with reals have the same expressive power in restriction to monadic second-order l…

cs.LO2025

Formula size game and model checking for modal substitution calculus

Veeti Ahvonen, Reijo Jaakkola, Antti Kuusisto

Recent research has applied modal substitution calculus (MSC) and its variants to characterize various computational frameworks such as graph neural networks (GNNs) and distributed…

cs.LO2024

Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats

Veeti Ahvonen, Damian Heiman, Antti Kuusisto +1

In pioneering work from 2019, Barceló and coauthors identified logics that precisely match the expressive power of constant iteration-depth graph neural networks (GNNs) relative to…

cs.LO2024

Graded modal logic and counting message passing automata

Veeti Ahvonen, Damian Heiman, Antti Kuusisto

We examine the relationship of graded (multi)modal logic to counting (multichannel) message passing automata with applications to the Weisfeiler-Leman algorithm. We introduce the n…