Hyper-Transformer for Amodal Completion
Jianxiong Gao, Xuelin Qian, Longfei Liang, Junwei Han, Yanwei Fu
TL;DR
This work addresses amodal completion by introducing H-TAN, a dual-branch framework that learns object shape priors from background information using a transformer-based hypernetwork. The Hyper Transformer generates instance-specific weights for a Dynamic Head that, guided by mask features, predicts precise amodal masks without relying on extra information or multi-stage training. Across three benchmarks (KINS, COCOA-cls, D2SA), H-TAN achieves state-of-the-art results, with ablations confirming the critical roles of the hyper transformer, multi-scale fusion, and skip connections. The approach offers a scalable, efficient pathway for robust amodal segmentation with potential impact on autonomous driving, robotics, and AR applications.
Abstract
Amodal object completion is a complex task that involves predicting the invisible parts of an object based on visible segments and background information. Learning shape priors is crucial for effective amodal completion, but traditional methods often rely on two-stage processes or additional information, leading to inefficiencies and potential error accumulation. To address these shortcomings, we introduce a novel framework named the Hyper-Transformer Amodal Network (H-TAN). This framework utilizes a hyper transformer equipped with a dynamic convolution head to directly learn shape priors and accurately predict amodal masks. Specifically, H-TAN uses a dual-branch structure to extract multi-scale features from both images and masks. The multi-scale features from the image branch guide the hyper transformer in learning shape priors and in generating the weights for dynamic convolution tailored to each instance. The dynamic convolution head then uses the features from the mask branch to predict precise amodal masks. We extensively evaluate our model on three benchmark datasets: KINS, COCOA-cls, and D2SA, where H-TAN demonstrated superior performance compared to existing methods. Additional experiments validate the effectiveness and stability of the novel hyper transformer in our framework.
