SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2304.12406 · CVPR · 2023

AutoFocusFormer: Image Segmentation off the Grid

Li Fuxin, Alvin Wan, Alex Schwing, Shuangfei Zhai, Kaushik Patnaik, Alex Colburn, Zhile Ren, Chen Ziwen

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Real world images often have highly imbalanced content density. Some areas are very uniform, e.g., large patches of blue sky, while other areas are scattered with many small objects. Yet, the commonly used successive grid downsampling strategy in convolutional deep networks treats all areas equally. Hence, small objects are represented in very few spatial locations, leading to worse results in tasks such as segmentation. Intuitively, retaining more pixels representing small objects during downsampling helps to preserve important information. To achieve this, we propose AutoFocusFormer (AFF), a local-attention transformer image recognition backbone, which performs adaptive downsampling by learning to retain the most important pixels for the task. Since adaptive downsampling generates a set of pixels irregularly distributed on the image plane, we abandon the classic grid structure. Instead, we develop a novel point-based local attention block, facilitated by a balanced clustering module and a learnable neighborhood merging module, which yields representations for our point-based versions of state-of-the-art segmentation heads. Experiments show that our AutoFocusFormer (AFF) improves significantly over baseline models of similar sizes. * Work done while Chen Ziwen was an intern at Apple Inc. Image Remaining tokens Stage 2 Prediction AFF Swin Remaining tokens Stage 4 Comparison between on-grid model Swin and off-grid model AFF. AFF downsamples non automatically focusing on more textured, important image regions, and successfully captu the background. The red pixels indicate the locations of the remaining tokens.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2304.12406")
get_code_for_paper("2304.12406")
have("2304.12406")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2304.12406.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2304.12406.svg)](https://syntology.ai/paper/2304.12406)

Connect an agent — have() is free.