Saved in:
Bibliographic Details
Main Authors: Liu, Xinyu, Xu, Qing, Chen, Zhen
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.03297
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918427485011968
author Liu, Xinyu
Xu, Qing
Chen, Zhen
author_facet Liu, Xinyu
Xu, Qing
Chen, Zhen
contents In the field of Large Language Models (LLMs), Attention Residuals have recently demonstrated that learned, selective aggregation over all preceding layer outputs can outperform fixed residual connections. We propose Cross-Stage Attention Residuals (XAttnRes), a mechanism that maintains a global feature history pool accumulating both encoder and decoder stage outputs. Through lightweight pseudo-query attention, each stage selectively aggregates from all preceding representations. To bridge the gap between the same-dimensional Transformer layers in LLMs and the multi-scale encoder-decoder stages in segmentation networks, XAttnRes introduces spatial alignment and channel projection steps that handle cross-resolution features with negligible overhead. When added to existing segmentation networks, XAttnRes consistently improves performance across four datasets and three imaging modalities. We further observe that XAttnRes alone, even without skip connections, achieves performance on par with the baseline, suggesting that learned aggregation can recover the inter-stage information flow traditionally provided by predetermined connections.
format Preprint
id arxiv_https___arxiv_org_abs_2604_03297
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle XAttnRes: Cross-Stage Attention Residuals for Medical Image Segmentation
Liu, Xinyu
Xu, Qing
Chen, Zhen
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
In the field of Large Language Models (LLMs), Attention Residuals have recently demonstrated that learned, selective aggregation over all preceding layer outputs can outperform fixed residual connections. We propose Cross-Stage Attention Residuals (XAttnRes), a mechanism that maintains a global feature history pool accumulating both encoder and decoder stage outputs. Through lightweight pseudo-query attention, each stage selectively aggregates from all preceding representations. To bridge the gap between the same-dimensional Transformer layers in LLMs and the multi-scale encoder-decoder stages in segmentation networks, XAttnRes introduces spatial alignment and channel projection steps that handle cross-resolution features with negligible overhead. When added to existing segmentation networks, XAttnRes consistently improves performance across four datasets and three imaging modalities. We further observe that XAttnRes alone, even without skip connections, achieves performance on par with the baseline, suggesting that learned aggregation can recover the inter-stage information flow traditionally provided by predetermined connections.
title XAttnRes: Cross-Stage Attention Residuals for Medical Image Segmentation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2604.03297