局部信息至关重要:通过自适应局部感知Token剪枝加速基于上下文的对话生成模型的推理
Local Information Matters: Inference Acceleration For Grounded Conversation Generation Models Through Adaptive Local-Aware Token Pruning
AI总结:
针对GCG任务中现有Token剪枝方法破坏局部视觉特征导致性能下降的问题,提出自适应局部感知Token剪枝框架ALTP,通过DDC和DDF组件优先保留对象局部信息,在大幅减少视觉Token的同时显著提升了模型定位与生成性能。
摘要:
基于上下文的对话生成(GCG)是一项新兴的视觉-语言任务,要求模型生成自然语言响应,并将其与相应的对象分割掩码无缝交织。近期的模型,如GLaMM和OMG-LLaVA,实现了像素级的定位,但由于需要处理大量视觉Token而产生了显著的计算开销。现有的Token剪枝方法,如FastV和PyramidDrop,无法保留对精确定位至关重要的局部视觉特征,导致在GCG任务中性能显著下降。为了解决这一问题,我们提出了自适应局部感知Token剪枝(ALTP),这是一个简单而有效的框架,通过优先考虑局部对象信息来加速GCG模型。ALTP引入了两个关键组件:(1)细节密度捕获(DDC),利用超像素分割保留以对象为中心区域的Token,从而保留细粒度细节;(2)动态密度形成(DDF),根据信息密度动态分配Token,确保在语义丰富的区域具有更高的保留率。在GranDf数据集上的大量实验表明,ALTP在GLaMM和OMG-LLaVA模型上均显著优于FastV和PyramidDrop等现有Token剪枝方法。值得注意的是,应用于GLaMM时,与PyramidDrop相比,ALTP在视觉Token减少90%的情况下,实现了AP50提升4.9%和Recall提升5.0%。类似地,在OMG-LLaVA上,与PDrop相比,ALTP在Token减少90%的情况下,AP提升了2.1%,mIOU提升了3.0%。
英文摘要:
Grounded Conversation Generation (GCG) is an emerging vision-language task that requires models to generate natural language responses seamlessly intertwined with corresponding object segmentation masks. Recent models, such as GLaMM and OMG-LLaVA, achieve pixel-level grounding but incur significant computational costs due to processing a large number of visual tokens. Existing token pruning methods, like FastV and PyramidDrop, fail to preserve the local visual features critical for accurate grounding, leading to substantial performance drops in GCG tasks. To address this, we propose Adaptive Local-Aware Token Pruning (ALTP), a simple yet effective framework that accelerates GCG models by prioritizing local object information. ALTP introduces two key components: (1) Detail Density Capture (DDC), which uses superpixel segmentation to retain tokens in object-centric regions, preserving fine-grained details, and (2) Dynamic Density Formation (DDF), which dynamically allocates tokens based on information density, ensuring higher retention in semantically rich areas. Extensive experiments on the GranDf dataset demonstrate that ALTP significantly outperforms existing token pruning methods, such as FastV and PyramidDrop, on both GLaMM and OMG-LLaVA models. Notably, when applied to GLaMM, ALTP achieves a 90% reduction in visual tokens with a 4.9% improvement in AP50 and a 5.0% improvement in Recall compared to PyramidDrop. Similarly, on OMG-LLaVA, ALTP improves AP by 2.1% and mIOU by 3.0% at a 90% token reduction compared with PDrop.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。