arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.01915cs.CVcs.AI
收藏

xT:嵌套分词实现大图像中的更大上下文

xT: Nested Tokenization for Larger Context in Large Images

Berkeley AI Research(伯克利人工智能研究院);UCLA(加利福尼亚大学洛杉矶分校);Princeton University(普林斯顿大学)

Ritwik Gupta, Shufan Li, Tyler Zhu, Jitendra Malik, Trevor Darrell, Karttikeya Mangalam

AI总结:

提出xT框架,通过嵌套分词和两阶段流式架构,在视觉Transformer中有效聚合全局上下文与局部细节,支持端到端大图像建模,显著提升分类与分割性能。

摘要:

现代计算机视觉流程处理大图像时通常采用两种次优方式之一:下采样或裁剪。这两种方法在图像所含信息量和上下文方面造成了显著损失。在许多下游应用中,全局上下文与高频细节同样重要,例如在真实世界的卫星图像中;在这种情况下,研究人员不得不做出令人不适的选择,即丢弃哪些信息。我们引入了xT,一个简单的视觉Transformer框架,它有效地聚合了全局上下文与局部细节,并能在当代GPU上端到端地建模大图像。我们选取了一系列经典视觉任务中的基准数据集,这些数据集能准确反映视觉模型理解真正大图像并在大尺度上融入精细细节的能力,并评估了我们的方法在这些数据集上的改进。xT是一种流式两阶段架构,它适配现有的视觉骨干网络和长序列语言模型,以有效建模大图像,而无需二次方内存增长。我们能够在具有挑战性的分类任务上将准确率提高高达8.6%,并在高达29,000×29,000像素的图像上,将上下文相关分割的$F_1$分数提高11.6。

英文摘要:

Modern computer vision pipelines handle large images in one of two sub-optimal ways: down-sampling or cropping. These two methods incur significant losses in the amount of information and context present in an image. There are many downstream applications in which global context matters as much as high frequency details, such as in real-world satellite imagery; in such cases researchers have to make the uncomfortable choice of which information to discard. We introduce xT, a simple framework for vision transformers which effectively aggregates global context with local details and can model large images end-to-end on contemporary GPUs. We select a set of benchmark datasets across classic vision tasks which accurately reflect a vision model's ability to understand truly large images and incorporate fine details over large scales and assess our method's improvement on them. xT is a streaming, two-stage architecture that adapts existing vision backbones and long sequence language models to effectively model large images without quadratic memory growth. We are able to increase accuracy by up to 8.6% on challenging classification tasks and $F_1$ score by 11.6 on context-dependent segmentation on images as large as 29,000 x 29,000 pixels.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑