Skip to content
aiqbench takeMachine Learning

aiqbench analysis

This research introduces a Transformer mechanism provably invariant to token renaming, addressing a critical generalization gap in models handling interchangeable symbols like bound variables. By utilizing parallel embedding streams and aggregated attention, the approach enables robust open-vocabulary learning even when encountering novel symbols. The method offers a principled solution for improving model adaptability in scenarios where semantic equivalence must be preserved despite arbitrary symbol changes.
Source coveringarXiv

Names Don't Matter: Symbol-Invariant Transformer for Open-Vocabulary Learning

arXiv2 min read

arXiv:2601.23169v2 Announce Type: replace Abstract: 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/

Abstract: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: this https URL

Machine Learning (cs.LG); Logic in Computer Science (cs.LO); Symbolic Computation (cs.SC)

arXiv:2601.23169 [cs.LG]

(or arXiv:2601.23169v2 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2601.23169 Focus to learn more arXiv-issued DOI via DataCite

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 219 words