Grid Partitioned Attention:用于高分辨率细节生成的高效TransformerApproximation
Grid Partitioned Attention: Efficient TransformerApproximation with Inductive Bias for High Resolution Detail Generation
摘要:
注意力是一种通用的推理机制,可以灵活地处理图像信息,但它的内存要求使其迄今为止不适用于高分辨率图像生成。我们提出了网格分区注意力(GPA),一个新的近似注意力算法,利用稀疏的归纳偏见更高的计算和内存效率的图像域:查询只参加少数关键字,空间上接近的查询参加关闭键由于相关性。本文介绍了新的注意力层,分析了它的复杂性,以及如何通过超参数来调整内存使用和模型能力之间的权衡。我们将展示这种注意力如何实现具有复制模块的新型深度学习架构,这些复制模块对于姿势变形等条件图像生成任务特别有用。我们的贡献是(i)新GPA层的算法和代码1,(ii)一种新的深度注意力复制架构,以及(iii)人类姿势变形生成基准的最新实验结果。
英文摘要:
Attention is a general reasoning mechanism than can flexibly deal with image information, but its memory requirements had made it so far impractical for high resolution image generation. We present Grid Partitioned Attention (GPA), a new approximate attention algorithm that leverages a sparse inductive bias for higher computational and memory efficiency in image domains: queries attend only to few keys, spatially close queries attend to close keys due to correlations. Our paper introduces the new attention layer, analyzes its complexity and how the trade-off between memory usage and model power can be tuned by the hyper-parameters.We will show how such attention enables novel deep learning architectures with copying modules that are especially useful for conditional image generation tasks like pose morphing. Our contributions are (i) algorithm and code1of the novel GPA layer, (ii) a novel deep attention-copying architecture, and (iii) new state-of-the art experimental results in human pose morphing generation benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。