Saved in:
Bibliographic Details
Main Authors: Liu, Qinglin, Li, Zonglin, Lv, Xiaoqian, Sun, Xin, Li, Ru, Zhang, Shengping
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.03228
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910859457986560
author Liu, Qinglin
Li, Zonglin
Lv, Xiaoqian
Sun, Xin
Li, Ru
Zhang, Shengping
author_facet Liu, Qinglin
Li, Zonglin
Lv, Xiaoqian
Sun, Xin
Li, Ru
Zhang, Shengping
contents In this paper, we explore a novel image matting task aimed at achieving efficient inference under various computational cost constraints, specifically FLOP limitations, using a single matting network. Existing matting methods which have not explored scalable architectures or path-learning strategies, fail to tackle this challenge. To overcome these limitations, we introduce Path-Adaptive Matting (PAM), a framework that dynamically adjusts network paths based on image contexts and computational cost constraints. We formulate the training of the computational cost-constrained matting network as a bilevel optimization problem, jointly optimizing the matting network and the path estimator. Building on this formalization, we design a path-adaptive matting architecture by incorporating path selection layers and learnable connect layers to estimate optimal paths and perform efficient inference within a unified network. Furthermore, we propose a performance-aware path-learning strategy to generate path labels online by evaluating a few paths sampled from the prior distribution of optimal paths and network estimations, enabling robust and efficient online path learning. Experiments on five image matting datasets demonstrate that the proposed PAM framework achieves competitive performance across a range of computational cost constraints.
format Preprint
id arxiv_https___arxiv_org_abs_2503_03228
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Path-Adaptive Matting for Efficient Inference Under Various Computational Cost Constraints
Liu, Qinglin
Li, Zonglin
Lv, Xiaoqian
Sun, Xin
Li, Ru
Zhang, Shengping
Computer Vision and Pattern Recognition
In this paper, we explore a novel image matting task aimed at achieving efficient inference under various computational cost constraints, specifically FLOP limitations, using a single matting network. Existing matting methods which have not explored scalable architectures or path-learning strategies, fail to tackle this challenge. To overcome these limitations, we introduce Path-Adaptive Matting (PAM), a framework that dynamically adjusts network paths based on image contexts and computational cost constraints. We formulate the training of the computational cost-constrained matting network as a bilevel optimization problem, jointly optimizing the matting network and the path estimator. Building on this formalization, we design a path-adaptive matting architecture by incorporating path selection layers and learnable connect layers to estimate optimal paths and perform efficient inference within a unified network. Furthermore, we propose a performance-aware path-learning strategy to generate path labels online by evaluating a few paths sampled from the prior distribution of optimal paths and network estimations, enabling robust and efficient online path learning. Experiments on five image matting datasets demonstrate that the proposed PAM framework achieves competitive performance across a range of computational cost constraints.
title Path-Adaptive Matting for Efficient Inference Under Various Computational Cost Constraints
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.03228