arXiv

Take a Peek: Efficient Encoder Adaptation for Few-Shot Semantic Segmentation via LoRA

Title: Take a Peek: Efficient Encoder Adaptation for Few-Shot Semantic Segmentation via LoRA

Abstract

Few-shot semantic segmentation (FSS) is designed to identify and segment novel object classes within query images, relying solely on a limited set of annotated examples. While previous studies have predominantly concentrated on optimizing decoders, the encoder’s constrained capacity to extract pertinent features for unseen categories continues to serve as a primary bottleneck. To address this, we present Take a Peek (TaP), a straightforward yet powerful approach that boosts encoder adaptability for both standard and cross-domain FSS tasks. TaP achieves this by inducing a lightweight feature-space shift that is conditioned on the support set.

Utilizing Low-Rank Adaptation, our method fine-tunes the encoder based on the support set, incurring minimal computational costs. This allows for rapid adaptation to new classes while effectively reducing the risk of catastrophic forgetting. Being model-agnostic, TaP can be effortlessly incorporated into existing FSS frameworks. We conducted extensive evaluations across various benchmarks, including COCO $20^i$, Pascal $5^i$, and cross-domain datasets such as DeepGlobe, ISIC, and Chest X-ray. The results indicate that TaP consistently enhances segmentation accuracy across different models and shot configurations.

Notably, TaP yields substantial improvements in complex multi-class environments, underscoring its utility in real-world applications. Furthermore, an analysis of rank sensitivity reveals that high performance is attainable even with low-rank adaptations, thus guaranteeing computational efficiency. By tackling a critical weakness in FSS—the encoder’s ability to generalize to novel classes—TaP advances the development of more robust, efficient, and generalizable segmentation systems. The source code is publicly accessible at https://github.com/pasqualedem/TakeAPeek.


Source: arXiv Generated at: 2026-06-04 00:00:00 UTC

Related Articles

TechCrunch

Ramp raises $750M at $44B valuation as investors hunger for fintechs with an AI story

Ramp secured $750M at a $44B valuation, driven by AI integration and $1.5B+ revenue. The fintech firm now serves 70,000 ...

TechCrunch

Is Silicon Valley ready to put robots in people’s homes? Hello Robot is.

Hello Robot’s Stretch avoids Silicon Valley hype, focusing on practical home deployment to gather essential real-world d...

Canada to Provide Funding, Buy Equity Stakes in AI Startups
Bloomberg

Canada to Provide Funding, Buy Equity Stakes in AI Startups

Canada will fund and buy equity stakes in AI startups to boost the sector. This investment aims to strengthen the nation...

TechCrunch

Chinese spies are using LinkedIn to lure Westerners into sharing sensitive information

A joint Western security alert warns that Chinese spies use LinkedIn to impersonate recruiters and extract sensitive dat...

Peter Thiel’s Family Office Pays Record Rent for Top Miami Tower
Bloomberg

Peter Thiel’s Family Office Pays Record Rent for Top Miami Tower

Peter Thiel’s family office set a record rent for a Miami tower lease. This deal establishes a new benchmark for the cit...

Who’s Excited for SpaceX’s I.P.O.? Space Nerds.
New York Times

Who’s Excited for SpaceX’s I.P.O.? Space Nerds.

Space enthusiasts are the most eager for SpaceX’s IPO, driven by their passion for space exploration.