Translution: Unifying Self-attention and Convolution for Adaptive and Relative Modeling

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Fan, Hehe, Yang, Yi, Kankanhalli, Mohan, Wu, Fei
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917005003587584
author Fan, Hehe
Yang, Yi
Kankanhalli, Mohan
Wu, Fei
author_facet Fan, Hehe
Yang, Yi
Kankanhalli, Mohan
Wu, Fei
contents When modeling a given type of data, we consider it to involve two key aspects: 1) identifying relevant elements (e.g., image pixels or textual words) to a central element, as in a convolutional receptive field, or to a query element, as in self-attention, and 2) encoding these tokens effectively. Self-attention can adaptively identify these elements but relies on absolute positional embedding for structural representation learning. In contrast, convolution encodes elements in a relative manner, yet their fixed kernel size limits their ability to adaptively select the relevant elements. In this paper, we introduce Translution, an operation that unifies the adaptive identification capability of self-attention and the relative encoding advantage of convolution. However, this integration leads to a substantial increase in the number of parameters, exceeding most currently available computational resources. Therefore, we propose a lightweight variant of Translution, named α-Translution. Experiments on computer vision and natural language processing tasks show that Translution (including α-Translution) achieves superior accuracy compared to self-attention. The code is available at https://github.com/hehefan/Translution.
format Preprint
id arxiv_https___arxiv_org_abs_2510_10060
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Translution: Unifying Self-attention and Convolution for Adaptive and Relative Modeling
Fan, Hehe
Yang, Yi
Kankanhalli, Mohan
Wu, Fei
Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
When modeling a given type of data, we consider it to involve two key aspects: 1) identifying relevant elements (e.g., image pixels or textual words) to a central element, as in a convolutional receptive field, or to a query element, as in self-attention, and 2) encoding these tokens effectively. Self-attention can adaptively identify these elements but relies on absolute positional embedding for structural representation learning. In contrast, convolution encodes elements in a relative manner, yet their fixed kernel size limits their ability to adaptively select the relevant elements. In this paper, we introduce Translution, an operation that unifies the adaptive identification capability of self-attention and the relative encoding advantage of convolution. However, this integration leads to a substantial increase in the number of parameters, exceeding most currently available computational resources. Therefore, we propose a lightweight variant of Translution, named α-Translution. Experiments on computer vision and natural language processing tasks show that Translution (including α-Translution) achieves superior accuracy compared to self-attention. The code is available at https://github.com/hehefan/Translution.
title Translution: Unifying Self-attention and Convolution for Adaptive and Relative Modeling
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2510.10060