Skip to main content
QUICK REVIEW

[논문 리뷰] Adaptive Layer Selection for Layer-Wise Token Pruning in LLM Inference

Rei Taniguchi, Yuyang Dong|arXiv (Cornell University)|2026. 01. 12.
Natural Language Processing TechniquesComputer Science인용 수 0
한 줄 요약

ASL은 prefilling 중 토큰 랭크의 분산을 모니터링하여 토큰 선택 레이어를 적응적으로 선택함으로써 추가 학습 없이 LLM 추론을 위한 KV 캐시 감소를 가능하게 한다.

ABSTRACT

Due to the prevalence of large language models (LLMs), key-value (KV) cache reduction for LLM inference has received remarkable attention. Among numerous works that have been proposed in recent years, layer-wise token pruning approaches, which select a subset of tokens at particular layers to retain in KV cache and prune others, are one of the most popular schemes. They primarily adopt a set of pre-defined layers, at which tokens are selected. Such design is inflexible in the sense that the accuracy significantly varies across tasks and deteriorates in harder tasks such as KV retrieval. In this paper, we propose ASL, a training-free method that adaptively chooses the selection layer for KV cache reduction, exploiting the variance of token ranks ordered by attention score. The proposed method balances the performance across different tasks while meeting the user-specified KV budget requirement. ASL operates during the prefilling stage and can be jointly used with existing KV cache reduction methods such as SnapKV to optimize the decoding stage. By evaluations on the InfiniteBench, RULER, and NIAH benchmarks, we show that equipped with one-shot token selection, where tokens are selected at a layer and propagated to deeper layers, ASL outperforms state-of-the-art layer-wise token selection methods in accuracy while maintaining decoding speed and KV cache reduction.

연구 동기 및 목표

  • 기존의 계층별 토큰 가지치기 방법에서 고정된 선택 레이어가 작업 간에 가진 불 flexibil ity 를 식별한다.
  • ASL, 주의 랭크 분산을 기반으로 가지치를 수행하는 학습 없이도 선택 레이어를 선택하는 적응형 방법을 제안한다.
  • ASL이 기존 KV 캐시 감소 기법과 함께 작동하여 특정 KV 예산을 충족하도록 enable한다.
  • 여러 차장 컨텍스트 벤치마크에서 ASL의 정확도-효율성 트레이드오프를 입증한다.

제안 방법

  • prefilling 중 연속된 계층에서 주의 점수에 의해 정렬된 토큰 랭크의 분산을 모니터링한다.
  • 최근 계층들로부터 풀링된 주의 점수를 계산하고 분산 계산을 위한 상위 토큰의 합집합을 식별한다.
  • 상대 분산이 사용자가 지정한 임계값 아래로 떨어질 때 토큰 선택을 트리거하고 현재 계층을 선택 레이어로 지정한다.
  • 일회성 방식으로 토큰을 선택하고 KV 캐시 감소를 위해 더 깊은 계층으로 전달한다.
  • 디코딩 중 KV 예산 제약을 충족하기 위해 기존 KV 감소 방법(SnapKV, GemFilter 등)과 ASL을 선택적으로 통합한다.
Figure 1: Performance of FastKV (Jo et al. , 2025 ) on four tasks under different selection layer (referred to as “TSP layer” in Jo et al. ( 2025 ) ) settings: KV retrieval in InfiniteBench (Zhang et al. , 2024 ) , single-key NIAH (with varying difficulties) and QA in RULER (Hsieh et al. , 2024 ) .
Figure 1: Performance of FastKV (Jo et al. , 2025 ) on four tasks under different selection layer (referred to as “TSP layer” in Jo et al. ( 2025 ) ) settings: KV retrieval in InfiniteBench (Zhang et al. , 2024 ) , single-key NIAH (with varying difficulties) and QA in RULER (Hsieh et al. , 2024 ) .

실험 결과

연구 질문

  • RQ1적응형이고 학습이 필요 없는 계층 선택 기준이 다양한 작업에서 계층별 토큰 가지치기의 강건성을 향상시킬 수 있는가?
  • RQ2주의에 의해 주도되는 토큰 랭크의 분산 모니터링이 토큰 가지치기를 위한 최적의 시점을 효과적으로 나타내는가?
  • RQ3ASL은 고정 레이어 가지치기 방법에 비해 다양한 KV 예산과 작업 난이도에서 어떻게 성능이 되는가?
  • RQ4ASL이 추가 학습 없이 기존 KV 캐시 감소 기술과 매끄럽게 결합될 수 있는가?

주요 결과

  • ASL은 장-context 벤치마크에서 최첨단 고정 레이어 가지치기 방법 대비 우수한 정확도를 달성한다.
  • ASL은 KV 캐시 감소를 유지하면서 디코딩 속도와 작업별 성능 향상을 보이며, 특히 KV 검색과 같은 harder 작업에서 강점을 보인다.
  • ASL은 prefilling 중에 일회성 선택 방법으로 배치될 수 있으며, Target KV 예산을 맞추기 위해 SnapKV나 GemFilter와 함께 사용할 수 있다.
  • ASL의 적응식 선택 레이어는 작업별 튜닝 없이도 쉬운 작업과 어려운 작업 간의 성능 격차를 감소시킨다.
  • ASL은 InfiniteBench, RULER, Needle in a Haystack (NIAH)에서 우수한 정확도-효율성 트레이드오프를 보인다.
Figure 2: Comparison of FastKV and ASL.
Figure 2: Comparison of FastKV and ASL.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.