PTQ4RIS: Post-Training Quantization for Referring Image Segmentation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jiang, Xiaoyan, Yang, Hang, Zhu, Kaiying, Qiu, Xihe, Zhao, Shibo, Zhou, Sifan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910833652531200
author Jiang, Xiaoyan
Yang, Hang
Zhu, Kaiying
Qiu, Xihe
Zhao, Shibo
Zhou, Sifan
author_facet Jiang, Xiaoyan
Yang, Hang
Zhu, Kaiying
Qiu, Xihe
Zhao, Shibo
Zhou, Sifan
contents Referring Image Segmentation (RIS), aims to segment the object referred by a given sentence in an image by understanding both visual and linguistic information. However, existing RIS methods tend to explore top-performance models, disregarding considerations for practical applications on resources-limited edge devices. This oversight poses a significant challenge for on-device RIS inference. To this end, we propose an effective and efficient post-training quantization framework termed PTQ4RIS. Specifically, we first conduct an in-depth analysis of the root causes of performance degradation in RIS model quantization and propose dual-region quantization (DRQ) and reorder-based outlier-retained quantization (RORQ) to address the quantization difficulties in visual and text encoders. Extensive experiments on three benchmarks with different bits settings (from 8 to 4 bits) demonstrates its superior performance. Importantly, we are the first PTQ method specifically designed for the RIS task, highlighting the feasibility of PTQ in RIS applications. Code and video are available at {https://github.com/gugu511yy/PTQ4RIS}.
format Preprint
id arxiv_https___arxiv_org_abs_2409_17020
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PTQ4RIS: Post-Training Quantization for Referring Image Segmentation
Jiang, Xiaoyan
Yang, Hang
Zhu, Kaiying
Qiu, Xihe
Zhao, Shibo
Zhou, Sifan
Computer Vision and Pattern Recognition
Referring Image Segmentation (RIS), aims to segment the object referred by a given sentence in an image by understanding both visual and linguistic information. However, existing RIS methods tend to explore top-performance models, disregarding considerations for practical applications on resources-limited edge devices. This oversight poses a significant challenge for on-device RIS inference. To this end, we propose an effective and efficient post-training quantization framework termed PTQ4RIS. Specifically, we first conduct an in-depth analysis of the root causes of performance degradation in RIS model quantization and propose dual-region quantization (DRQ) and reorder-based outlier-retained quantization (RORQ) to address the quantization difficulties in visual and text encoders. Extensive experiments on three benchmarks with different bits settings (from 8 to 4 bits) demonstrates its superior performance. Importantly, we are the first PTQ method specifically designed for the RIS task, highlighting the feasibility of PTQ in RIS applications. Code and video are available at {https://github.com/gugu511yy/PTQ4RIS}.
title PTQ4RIS: Post-Training Quantization for Referring Image Segmentation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.17020