Saved in:
Bibliographic Details
Main Authors: Shahriar, Asif, Shahriyar, Rifat, Rahman, M Saifur
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.20496
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912595074613248
author Shahriar, Asif
Shahriyar, Rifat
Rahman, M Saifur
author_facet Shahriar, Asif
Shahriyar, Rifat
Rahman, M Saifur
contents Encoder transformer models compress information from all tokens in a sequence into a single [CLS] token to represent global context. This approach risks diluting fine-grained or hierarchical features, leading to information loss in downstream tasks where local patterns are important. To remedy this, we propose a lightweight architectural enhancement: an inception-style 1-D convolution module that sits on top of the transformer layer and augments token representations with multi-scale local features. This enriched feature space is then processed by a self-attention layer that dynamically weights tokens based on their task relevance. Experiments on five diverse tasks show that our framework consistently improves general-purpose, domain-specific, and multilingual models, outperforming baselines by 1% to 14% while maintaining efficiency. Ablation studies show that multi-scale convolution performs better than any single kernel and that the self-attention layer is critical for performance.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20496
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Inceptive Transformers: Enhancing Contextual Representations through Multi-Scale Feature Learning Across Domains and Languages
Shahriar, Asif
Shahriyar, Rifat
Rahman, M Saifur
Computation and Language
Encoder transformer models compress information from all tokens in a sequence into a single [CLS] token to represent global context. This approach risks diluting fine-grained or hierarchical features, leading to information loss in downstream tasks where local patterns are important. To remedy this, we propose a lightweight architectural enhancement: an inception-style 1-D convolution module that sits on top of the transformer layer and augments token representations with multi-scale local features. This enriched feature space is then processed by a self-attention layer that dynamically weights tokens based on their task relevance. Experiments on five diverse tasks show that our framework consistently improves general-purpose, domain-specific, and multilingual models, outperforming baselines by 1% to 14% while maintaining efficiency. Ablation studies show that multi-scale convolution performs better than any single kernel and that the self-attention layer is critical for performance.
title Inceptive Transformers: Enhancing Contextual Representations through Multi-Scale Feature Learning Across Domains and Languages
topic Computation and Language
url https://arxiv.org/abs/2505.20496