paper-with-me

Papers

ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers

2024-06-14 · CVPR 2024 1 · Narges Norouzi, Svetlana Orlova, Daan de Geus, Gijs Dubbelman

This work presents Adaptive Local-then-Global Merging (ALGM), a token reduction method for semantic segmentation networks that use plain Vision Transformers. ALGM merges tokens in two stages: (1) In the first network layer, it merges similar tokens within a small local window and (2) halfway through the network, it merges similar tokens across the entire image. This is motivated by an analysis in which we found that, in those situations, tokens with a high cosine similarity can likely be merged without a drop in segmentation quality. With extensive experiments across multiple datasets and network configurations, we show that ALGM not only significantly improves the throughput by up to 100%, but can also enhance the mean IoU by up to +1.1, thereby achieving a better trade-off between segmentation quality and efficiency than existing methods. Moreover, our approach is adaptive during inference, meaning that the same model can be used for optimal efficiency or accuracy, depending on the application. Code is available at https://tue-mps.github.io/ALGM.

📄 PDF Abstract BibTeX arXiv:2406.09936

Code (1)

tue-mps/algm-segmenter 공식 구현 pytorch

Tasks

SegmentationSemantic SegmentationToken Reduction

Similar Papers 제목 키워드 기반

StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models

2026-03-07 · Duy M. H. Nguyen, Tuan A. Tran, Duong Nguyen, Siwei Xie 외 arxiv

Recent token merging techniques for Vision Transformers (ViTs) provide substantial speedups by reducing the number of tokens processed by self-attention, often without retraining. However, their direct application to the…

FuncEvalGMN: Evaluating Functional Correctness of SQL via Graph Matching Network

2024-07-09 · Yi Zhan, Yang Sun, Han Weng, Longjie Cui 외

In this paper, we propose a novel graph-based methodology to evaluate the functional correctness of SQL generation. Conventional metrics for assessing SQL code generation, such as matching-based and execution-based metho…

Code GenerationGraph Matching

EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importance

2024-12-11 · Yingxin Li, Ye Li, Yuan Meng, Xinzhu Ma 외

As large language models (LLMs) continue to advance, the demand for higher quality and faster processing of long contexts across various applications is growing. KV cache is widely adopted as it stores previously generat…

A Generalized Deep Markov Random Fields Framework for Fake News Detection.

2023-08-19 · Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence 2023 8 · Yiqi Dong, Dongxiao He, Xiaobao Wang, Yawen Li 외

Recently, the wanton dissemination of fake news on social media has adversely affected our lives, rendering automatic fake news detection a pressing issue. Current methods are often fully supervised and typically employ …

ArticlesFake News DetectionImplicit Relations

Adaptive Protein Tokenization

2026-02-06 · Rohit Dilip, Ayush Varshney, David Van Valen arxiv

Tokenization is a promising path to multi-modal models capable of jointly understanding protein sequences, structure, and function. Existing protein structure tokenizers create tokens by pooling information from local ne…