Frontier of Artificial Networks (FAN) Lab, Department of Data Science, City University of Hong Kong(前沿人工智能网络实验室,数据科学系,香港城市大学);Data Storage Product Line, Huawei Technologies Co., Ltd.(数据存储产品线,华为技术有限公司);Lagrange Mathematics and Computing Research Center(拉格朗日数学与计算研究中心);School of Cyber Science and Engineering, Sichuan University(信息科学与工程学院,四川大学);Key Laboratory of Data Protection and Intelligent Management, Ministry of Education, Sichuan University(数据保护与智能管理重点实验室,教育部,四川大学);Department of Industrial and Systems Engineering, The Hong Kong Polytechnic University(工业与系统工程系,香港理工大学)
Juntong Fan, Zhiwei Hao, Jianqiang Shen, Shang-Ling Jui, Yi Zhang, Jing-Xiao Liao, Feng-Lei Fan
本文提出无数据压缩算法 Birkhoff,通过 Hyper-Compression 算法将高维参数向量转化为低维标量,并设计 HyperLinear 算子加速推理,在保持性能的同时实现了对 SAM 及其变体的高效快速压缩。
摘要:
由于在产生高质量、零样本分割方面的卓越性能,Segment Anything Model (SAM) 及其变体已被广泛应用于医疗和智能制造等多种场景。因此,有效压缩 SAM 已成为日益紧迫的实际需求。在本研究中,我们提出了 Birkhoff,一种用于 SAM 及其变体的新型无数据压缩算法。与量化、剪枝、蒸馏和其他压缩方法不同,Birkhoff 体现了跨模型类型的通用性、部署的敏捷性、对原始模型的忠实性以及模型尺寸的紧凑性。具体而言,Birkhoff 引入了一种新型压缩算法:Hyper-Compression,其核心原理是寻找一条密集轨迹,将高维参数向量转化为低维标量。此外,Birkhoff 设计了专用的线性层算子 HyperLinear,将解压与矩阵乘法融合,以显著加速压缩后 SAM 的推理。在 COCO、LVIS 和 SA-1B 数据集上对 18 个 SAM 进行的广泛实验表明,Birkhoff 在压缩时间、压缩率、压缩后性能和推理速度方面表现一致且具竞争力。例如,Birkhoff 能在 SAM2-B 上实现 5.17 倍的压缩率,在不使用任何微调数据的情况下性能下降不到 1%。此外,所有模型的压缩均在 60 秒内完成。
英文摘要:
Due to the excellent performance in yielding high-quality, zero-shot segmentation, Segment Anything Model (SAM) and its variants have been widely applied in diverse scenarios such as healthcare and intelligent manufacturing. Therefore, effectively compressing SAMs has become an increasingly pressing practical need. In this study, we propose Birkhoff, a novel data-free compression algorithm for SAM and its variants. Unlike quantization, pruning, distillation, and other compression methods, Birkhoff embodies versatility across model types, agility in deployment, faithfulness to the original model, and compactness in model size. Specifically, Birkhoff introduces a novel compression algorithm: Hyper-Compression, whose core principle is to find a dense trajectory to turn a high-dimensional parameter vector into a low-dimensional scalar. Furthermore, Birkhoff designs a dedicated linear layer operator, HyperLinear, to fuse decompression and matrix multiplication to significantly accelerate inference of the compressed SAMs. Extensive experiments on 18 SAMs in the COCO, LVIS, and SA-1B datasets show that Birkhoff performs consistently and competitively in compression time, compression ratio, post-compression performance, and inference speed. For example, Birkhoff can achieve a compression ratio of 5.17x on SAM2-B, with less than 1% performance drop without using any fine-tuning data. Moreover, the compression is finished within 60 seconds for all models.
SparseSAM: Structured Sparsification of Activations in Segment Anything Models
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);College of Engineering & Computer Science, VinUniversity(Vin大学工程与计算机科学学院);VinUni-Illinois Smart Health Center, VinUniversity(Vin大学-伊利诺伊智能健康中心);DFKI;Max Planck Research School for Intelligent Systems (IMPRS-IS)(马克斯·普朗克智能系统研究学校);University of Stuttgart(斯图加特大学)
Can SAM Count Anything? An Empirical Study on SAM Counting
Shenzhen Institute of Advanced Technology, Chinese Academy of Science(中国科学院深圳先进技术研究院);Harbin Institute of Technology(哈尔滨工业大学);Peng Cheng Laboratory(鹏城实验室)
本文实证评估 SAM 在少样本目标计数任务上的能力,发现未经微调的 SAM 相比现有方法表现不佳,尤其难以处理小型和拥挤目标。
Eye image segmentation using visual and concept prompts with Segment Anything Model 3 (SAM3)
Lund University Humanities Lab \& Dept. of Psychology, Lund University Lund Sweden;Lund University Humanities Lab Lund Sweden;Lund University Humanities Lab \& Dept. of Psychology, Lund University;Lund University Humanities Lab
SAMAug: Point Prompt Augmentation for Segment Anything Model
School of Computing, University of Georgia(佐治亚大学计算机学院);School of Automation, Northwestern Polytechnical University(西北工业大学自动化学院);Department of Computer Science and Engineering, Lehigh University(里海大学计算机科学与工程系);Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院);Department of Computer Science and Engineering, University of Texas at Arlington(德克萨斯大学阿灵顿分校计算机科学与工程系);Department of Radiation Oncology, Mayo Clinic(梅奥诊所放射肿瘤科);School of Computer Science, Northwestern Polytechnical University(西北工业大学计算机学院)
A Comprehensive Survey on Segment Anything Model for Vision and Beyond
Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Cooperative Medianet Innovation Center, Shanghai Jiao Tong University(上海交通大学媒体网络协同创新中心);CloudWalk Technology Co., Ltd(云从科技有限公司);University of Oulu(奥卢大学);Northwestern Polytechnical University(西北工业大学);Central South University(中南大学)
Segment Anything for Satellite Imagery: A Strong Baseline and a Regional Dataset for Automatic Field Delineation
University of Modena and Reggio Emilia(摩德纳和雷吉奥艾米利亚大学);ABACO Group SpA(ABACO集团);Institute of Informatics and Telematics, National Research Council(信息与电信研究所,国家研究 council)
SAM3-UNet: Simplified Adaptation of Segment Anything Model 3
Sun Yat-sen University(中山大学);Jiangxi Normal University(江西师范大学);Hainan University(海南大学);Dalian University of Technology(大连理工大学);Chizhou University(池州学院);Wuhan University(武汉大学)
Nanyang Technological University(南洋理工大学);SenseTime Research(商汤科技研究院);Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
SAMJ: Fast Image Annotation on ImageJ/Fiji via Segment Anything Model
Bioengineering Department(生物工程系);Universidad Carlos III de Madrid(卡洛斯三世大学);Instituto de Investigación Sanitaria Gregorio Marañón(Gregorio Marañón卫生研究院);Institut Pasteur, Université Paris Cité(巴黎研究院);University of Wisconsin(威斯康星大学);University of La Rioja(拉里奥ja大学);VSB – Technical University of Ostrava(奥斯特拉瓦技术大学);Masaryk University(马萨里克大学);MRC Laboratory of Molecular Biology(分子生物学实验室);University of Cambridge(剑桥大学);Donostia International Physics Center (DIPC)(Donostia国际物理中心);CNRS UMR 3691;Ecole Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)
AI-SAM: Automatic and Interactive Segment Anything Model
The Pennsylvania State University(宾夕法尼亚州立大学);Huck Institutes of the Life Sciences(哈克生命科学研究所);Northwestern Memorial Hospital(西北纪念医院);Northwestern University(西北大学)