Names Don't Matter: Symbol-Invariant Transformer for Open-Vocabulary Learning
Abstract
A Transformer-based mechanism is presented that achieves invariance to interchangeable token renaming through parallel embedding streams and aggregated attention for improved generalization to novel symbols.
Current neural architectures lack a principled way to handle interchangeable tokens, i.e., symbols that are semantically equivalent yet distinguishable, such as bound variables. As a result, models trained on fixed vocabularies often struggle to generalize to unseen symbols, even when the underlying semantics remain unchanged. We propose a novel Transformer-based mechanism that is provably invariant to the renaming of interchangeable tokens. Our approach employs parallel embedding streams to isolate the contribution of each interchangeable token in the input, combined with an aggregated attention mechanism that enables structured information sharing across streams. Experimental results confirm the theoretical guarantees of our method and demonstrate substantial performance gains on open-vocabulary tasks that require generalization to novel symbols. Project page: https://bu-depend-lab.github.io/Symbol-Invariant-Transformer/
Get this paper in your agent:
hf papers read 2601.23169 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 1
necrashter/interchangeable-token-embeddings-datasets
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper