Sparse self-attention transformer for image inpainting

修补 变压器 计算机科学 人工智能 计算机视觉 模式识别(心理学) 图像(数学) 工程类 电压 电气工程
作者
Wenli Huang,Ye Deng,S. Hui,Yang Wu,Sanping Zhou,Jinjun Wang
出处
期刊:Pattern Recognition [Elsevier BV]
卷期号:145: 109897-109897 被引量:66
标识
DOI:10.1016/j.patcog.2023.109897
摘要

Learning-based image inpainting methods have made remarkable progress in recent years. Nevertheless, these methods still suffer from issues such as blurring, artifacts, and inconsistent contents. The use of vanilla convolution kernels, which have limited perceptual fields and spatially invariant kernel coefficients, is one of the main causes for these problems. In contrast, the multi-headed attention in the transformer can effectively model non-local relations among input features by generating adaptive attention scores. Therfore, this paper explores the feasibility of employing the transformer model for the image inpainting task. However, the multi-headed attention transformer blocks pose a significant challenge due to their overwhelming computational cost. To address this issue, we propose a novel U-Net style transformer-based network for the inpainting task, called the sparse self-attention transformer (Spa-former). The Spa-former retains the long-range modeling capacity of transformer blocks while reducing the computational burden. It incorporates a new channel attention approximation algorithm that reduces attention calculation to linear complexity. Additionally, it replaces the canonical softmax function with the ReLU function to generate a sparse attention map that effectively excludes irrelevant features. As a result, the Spa-former achieves effective long-range feature modeling with fewer parameters and lower computational resources. Our empirical results on challenging benchmarks demonstrate the superior performance of our proposed Spa-former over state-of-the-art approaches.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
RosecLuo完成签到 ,获得积分10
刚刚
1秒前
1秒前
1秒前
Dawn完成签到,获得积分10
2秒前
2秒前
2秒前
小新关注了科研通微信公众号
3秒前
gaoqixiang关注了科研通微信公众号
3秒前
yuheihei完成签到,获得积分20
5秒前
aurevoir完成签到,获得积分10
6秒前
mmm发布了新的文献求助10
6秒前
7秒前
邹幻雪发布了新的文献求助30
7秒前
喜悦的凝旋完成签到 ,获得积分10
8秒前
六六完成签到,获得积分10
8秒前
十七关注了科研通微信公众号
8秒前
智久完成签到 ,获得积分10
9秒前
9秒前
9秒前
9秒前
9秒前
10秒前
zzjjyy完成签到,获得积分10
11秒前
Akim应助天气不错呀采纳,获得10
11秒前
ZHAO应助tt采纳,获得10
11秒前
科研小菜鸡应助秀丽听安采纳,获得10
11秒前
11秒前
11秒前
czs发布了新的文献求助10
12秒前
英姑应助momo采纳,获得10
14秒前
可爱的函函应助yuheihei采纳,获得10
14秒前
sapphire完成签到,获得积分10
15秒前
yier发布了新的文献求助10
15秒前
yu发布了新的文献求助10
15秒前
15秒前
糖油果子发布了新的文献求助10
16秒前
Lucas应助我没昵称采纳,获得10
16秒前
16秒前
是啊余啊完成签到,获得积分10
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
A Study of the Model by which Principals’ Leadership Behaviour Influences Student Learning Outcomes in Elementary Schools 1000
Principles of town planning: translating concepts to applications 1000
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
核安全综合知识2024版 500
Photothermal Science and Techniques 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7710678
求助须知:如何正确求助?哪些是违规求助? 9267301
关于积分的说明 20064767
捐赠科研通 7286898
什么是DOI,文献DOI怎么找? 3296983
关于科研通互助平台的介绍 2451500
邀请新用户注册赠送积分活动 2304034