프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation

BridgeKV: KV 캐시 변환을 통한 LLM 추론의 대형 모델 프리필과 소형 모델 디코딩

  • 연구 문제 대형 모델의 프리필과 소형 모델의 디코딩을 결합하면 지연을 줄이면서 정확도 손실을 작게 유지할 수 있는지가 문제입니다.
  • 연구 방법 BridgeKV는 큰 모델이 만든 프롬프트 KV 캐시를 학습된 스티칭 모듈로 작은 모델의 캐시 형식으로 변환하고, 작은 모델이 이후 토큰을 생성하게 합니다.

대형 모델 프리필과 소형 모델 디코딩의 긴장

LLM 추론은 프리필과 디코딩의 두 단계로 나뉘며, 두 단계는 서로 다른 병목을 가집니다. 프리필은 요청마다 한 번 실행되어 프롬프트 토큰을 병렬로 처리하고 키와 값을 KV 캐시에 씁니다. 디코딩은 출력 토큰마다 반복되며 모델 가중치와 커져 가는 KV 캐시를 다시 읽기 때문에 메모리 대역폭에 제약을 받습니다. 원문은 Llama-3.1-Instruct-8B를 A40 GPU 한 장에서 실행할 때 1K 토큰 프롬프트의 프리필이 0.19 s, 256개 출력 토큰의 디코딩이 8.6 s가 걸린다고 보고합니다. 따라서 요청 지연은 디코딩이 주로 결정합니다.

기존 분리형 서빙 시스템인 Splitwise, DistServe, Mooncake는 프리필과 디코딩을 서로 다른 GPU에서 실행하고 KV 캐시를 전송하지만, 두 단계에 같은 모델을 사용합니다. 한 모델로 두 단계를 모두 처리하면 지연과 정확도 사이에서 한 점을 골라야 합니다. 큰 모델은 더 정확하지만 모든 출력 토큰이 큰 모델을 통과해야 하고, 작은 모델은 빠르고 KV 캐시도 작지만 정확도가 낮습니다.

Table 27: Comparison of related approaches. ✓: supported; ×: not supported in the cited recipe; △: restricted or variant-
dependent; —: not applicable. The two…

Table 27 : Comparison of related approaches. ✓: supported; ×: not supported in the cited recipe; △: restricted or variant- dependent; —: not applicable. The two connector-specific columns distinguish layer assignment and training targets.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

이 논문은 그 사이의 설계점으로 BridgeKV를 제안합니다. 프리필은 큰 모델이 맡고 디코딩은 같은 계열의 작은 모델이 맡으며, 둘 사이에서 KV 캐시를 옮기는 가벼운 KV-stitching 모듈을 둡니다. 핵심 질문은 큰 모델의 정확도 이점이 프롬프트 KV 캐시에 충분히 실려 있는지, 그리고 캐시 핸드오프를 싸고 정확도 손실을 작게 유지할 수 있는지입니다.

KV 캐시 번역과 스티칭 모듈

BridgeKV에서 프리필 앵커 Mp는 큰 모델이고 디코드 앵커 Md는 같은 계열의 작은 모델입니다. Mp는 프롬프트를 한 번 처리해 캐시 Cp를 만들고, KV-stitching 모듈 Gψ가 Cp를 Md의 캐시 형태 ˜Cd = Gψ(Cp)로 변환합니다. 이후 Md는 이 변환된 캐시에서 출력 토큰을 생성하며 자신의 키와 값을 덧붙입니다. 따라서 캐시 변환은 요청당 한 번만 수행됩니다.

두 모델은 계층 수, KV 헤드 구성, 표현 공간이 다릅니다. 원문 예에서 Llama-3.1-Instruct-8B는 32개 계층에 128차원 헤드를, Llama-3.2-Instruct-1B는 16개 계층에 64차원 헤드를 사용합니다. 그래서 BridgeKV는 디코드 계층 j마다 상대 깊이가 가까운 프리필 계층의 창을 두고, 그 창의 키와 값을 가중합으로 섞는 windowed layer mapping을 사용합니다. 창 크기는 기본적으로 W=3이며, 가중합 대신 특징 차원으로 이어 붙이는 concatenation variant도 원문에서 검증 집합으로 선택합니다.

Table 2: The six anchors. L: layers; Hkv×dh: KV heads ×
head dimension;κ: KV-cache bytes per token in bf16

Table 2 : The six anchors. L: layers; Hkv×dh: KV heads × head dimension;κ: KV-cache bytes per token in bf16.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 10: Layer-mapping policies for the Llama-3.2-
Instruct-3B→Llama-3.2-Instruct-1B pair on NarrativeQA.
Each policy trains only the first stage for one epoc…

Table 10 : Layer-mapping policies for the Llama-3.2- Instruct-3B→Llama-3.2-Instruct-1B pair on NarrativeQA. Each policy trains only the first stage for one epoch with- out least-squares initialization, which supports only the weighted policy.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

그 다음 키와 값에 각각 별도의 잔차형 스티칭 계층을 적용합니다. 원문 식은 Gψ,j(z)=Pj z̄+bj+αj Dj σ(Uj z̄), z̄=LN(z)로 주어지며, 선형 투영 Pj에 GELU를 거치는 비선형 보정 가지를 더하는 구조입니다.

Table 11: Test ROUGE-L of KV cache stitching designs
for Llama-3.1-Instruct-8B→Llama-3.2-Instruct-1B on Nar-
rativeQA. Residual stitching is the design of Brid…

Table 11 : Test ROUGE-L of KV cache stitching designs for Llama-3.1-Instruct-8B→Llama-3.2-Instruct-1B on Nar- rativeQA. Residual stitching is the design of BridgeKV (Section 3.3).

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

위치 정보도 중요합니다. 두 앵커는 키를 RoPE를 적용한 뒤 저장하고, 회전 각도는 헤드 차원에 따라 달라집니다. 그래서 BridgeKV는 Mp의 RoPE를 먼저 제거하고 키 스티칭을 적용한 뒤, Md의 RoPE를 다시 적용합니다. 원문 식은 K̃d_j,t = R^d_t G^K_ψ,j((R^p_t)^T K̄_j,t)로 주어집니다. 값에는 RoPE가 적용되지 않으므로 값 스티칭 계층에 바로 들어갑니다.

두 단계 학습 목표

학습은 두 앵커를 동결한 상태에서 스티칭 모듈 ψ를 먼저 학습하는 1단계와, 작업 적응이 필요한 경우 ψ와 디코드 앵커의 LoRA 어댑터 η를 함께 학습하는 2단계로 나뉩니다. 1단계의 목적은 두 손실의 합입니다. 첫째는 스티칭된 캐시를 디코드 앵커의 네이티브 캐시에 가깝게 맞추는 정렬 손실 Lalign이며, MSE와 λcos=0.5로 가중한 코사인 항으로 구성됩니다. 둘째는 디코드 앵커가 스티칭된 캐시를 읽을 때의 다음 토큰 분포를 프리필 앵커의 분포에 맞추는 KL 증류 손실 LKL입니다. 원문은 기본 λKL을 0.1로 두고 검증에서 0.05나 0.5를 선택하는 경우가 있다고 보고합니다.

Table 13: Summary of observations from layer-wise
learning-rate and LoRA-rank ablations

Table 13 : Summary of observations from layer-wise learning-rate and LoRA-rank ablations.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

원문은 정렬 손실만으로는 디코드 앵커 자신의 정확도 수준까지만 회복할 수 있고, 큰 모델의 정확도 이점을 옮기는 역할은 증류 손실이 맡는다고 설명합니다. 2단계에서는 정답 y 또는 프리필 앵커가 생성한 출력에 대해 스티칭된 캐시를 조건으로 한 교차 엔트로피 Ltask를 최소화합니다. 체크포인트는 검증 손실이 가장 낮은 지점을 저장합니다.

추론 시에는 큰 앵커가 프롬프트 캐시를 만들고, 스티칭 모듈이 이를 변환한 뒤, 작은 앵커가 나머지 토큰을 생성합니다. 원문은 이 구조가 같은 노드에서 실행되는 colocated 설정과 디코딩 워커로 캐시를 전송하는 disaggregated 설정 모두에 적용될 수 있다고 설명합니다.

정확도 검증: 여섯 모델 쌍과 다섯 데이터셋

정확도 실험은 Llama 계열 세 쌍(3B→1B, 8B→1B, 8B→3B)과 Qwen 계열 세 쌍(3B→0.5B, 7B→0.5B, 7B→3B)에서 수행되었습니다. 데이터셋은 LongBench의 NarrativeQA, GovReport, Multi-News, SAMSum과 LongBench 밖의 CoQA입니다. 비교 대상은 BridgeKV와 같은 수의 학습 가능 파라미터를 LoRA로 맞춘 두 앵커의 fine-tuning 결과입니다. 지표는 NarrativeQA와 CoQA에서 토큰 F1, 나머지 요약 데이터셋에서 ROUGE-L입니다.

Table 8: Dataset statistics. Max in: prompt truncation
length; Avg. in: average prompt length; Avg. out: aver-
age output length of the fine-tuned Llama-3.2-In…

Table 8 : Dataset statistics. Max in: prompt truncation length; Avg. in: average prompt length; Avg. out: aver- age output length of the fine-tuned Llama-3.2-Instruct-1B; Test: number of test examples. Lengths are in Llama-3 tokens.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

원문은 모든 설정에서 BridgeKV가 디코드 앵커보다 높다고 보고하며, 최대 상대 향상은 Qwen2.5-7B→0.5B의 NarrativeQA에서 8.4%, 최소는 Llama-3.1-8B→3B의 SAMSum에서 0.2%입니다. 또한 30개 설정 중 12개에서는 1단계만 사용하므로 디코드 앵커가 파라미터를 추가로 학습하지 않은 상태에서도 BridgeKV가 더 높은 점수를 보였다고 설명합니다. 학습 비용 표에서는 1단계 비용이 파라미터를 맞춘 PEFT 기준선보다 낮은 설정이 제시됩니다.

Table 3: Training cost in A40 GPU-hours of the two stages
of the KV-stitching module and of a PEFT baseline that
fine-tunes thedecode anchorwith LoRA at a para…

Table 3 : Training cost in A40 GPU-hours of the two stages of the KV-stitching module and of a PEFT baseline that fine-tunes thedecode anchorwith LoRA at a parameter- matched rank. “–”: the setting uses only the first stage. The PEFT rank is matched to the stitched model of each row, so it differs between rows with the samedecode anchor, and training stops early on the validation loss.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

이 결과는 세 가지 조건에 묶여 읽어야 합니다. 첫째, 대상은 LongBench의 일부 과제와 CoQA이며 다른 과제 일반의 결과가 아닙니다. 둘째, 비교 기준은 같은 파라미터 예산의 fine-tuning 소형 앵커입니다. 셋째, 설정별 학습 단계와 스티칭 방식은 검증 집합에서 선택되었습니다.

Table 9: Training stages and window combination selected
on the validation split for each setting

Table 9 : Training stages and window combination selected on the validation split for each setting.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

실제 하드웨어 지연과 스티칭 비용

원문은 A40 GPU 한 장, 배치 크기 1, bf16, Hugging Face Transformers 설정에서 중앙값을 측정했다고 설명합니다. 대표 요청은 1K 입력 토큰과 256개 출력 토큰입니다. BridgeKV는 Llama-3.1-Instruct-8B로 프리필하고(0.19 s), 캐시를 스티칭하며(6 ms), Llama-3.2-Instruct-1B로 토큰당 10.9 ms에 디코딩합니다. 전체 요청 시간은 2.96 s로, Llama-3.2-Instruct-1B 단독의 2.80 s에 가깝고 Llama-3.1-Instruct-8B 단독의 8.83 s보다 3.0배 빠릅니다.

Figure 1: Request latency and test accuracy of
Llama-3.1-Instruct-8B alone, Llama-3.2-Instruct-1B alone,
and BridgeKV with Llama-3.1-Instruct-8B →Llama-3.2-
In…

Figure 1 : Request latency and test accuracy of Llama-3.1-Instruct-8B alone, Llama-3.2-Instruct-1B alone, and BridgeKV with Llama-3.1-Instruct-8B →Llama-3.2- Instruct-1B. Latency is measured on real hardware (Sec- tion 4.3). The right columns give test F1 on CoQA and NarrativeQA (NQA).

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

스티칭 구현은 두 가지를 비교합니다. 계층별 구현은 Ld개의 디코드 계층과 키·값에 대해 작은 GPU 커널 체인을 반복하므로 실행 시간이 커널 실행 비용에 지배됩니다. 배치 구현은 모든 스티칭 계층의 가중치를 쌓고 torch.compile로 한 번에 실행합니다. 배치 구현은 프리필 시간의 1.6–6.7%를 더하고, 계층별 구현은 5–51%를 더한다고 원문은 보고합니다. 이 비용은 프리필 GPU에서 전송 전에 발생하므로 TTFT에 더해집니다.

분리형 서빙 시뮬레이션과 모델 크기 차이

시스템 수준 결과는 Splitwise 스타일 이산 사건 시뮬레이터에서 얻은 것입니다. 기본 설정은 1024 입력 토큰과 1024 출력 토큰을 가진 200개 요청이며, 도착 간격은 지수 분포이고 도착률은 2.0 requests/s입니다. 이 시뮬레이터는 큐 지연과 KV 전송을 포함하므로 실제 한 장 GPU 측정과 결과가 다르다고 원문은 설명합니다.

Table 17: Simulator system and workload configuration

Table 17 : Simulator system and workload configuration

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

Llama-3.1-Instruct-8B→Llama-3.2-Instruct-1B 설정에서는 응답 시간이 39.80 s에서 9.13 s로 줄어 4.36배 빠르고, 에너지는 11.98 Wh에서 2.78 Wh로 4.31배 줄어듭니다. 이 워크로드는 디코딩이 지배적이므로 두 배율이 가깝습니다. 모델 크기 차이를 키운 설정에서는 Llama-70B→1B가 응답 시간 33.86배, 에너지 27.5배의 향상을 보고합니다. 다만 Llama-13B→7B의 1.75배와 Qwen-14B→0.5B의 10.41배 응답 속도 향상은 각각 다른 크기 차이와 조건에서 나온 값이므로 하나의 일반 법칙으로 묶으면 안 됩니다.

Table 18: Llama-2-13B→Llama-2-7B latency and through-
put results for 200 requests with 1024 input and 1024 output
tokens

Table 18 : Llama-2-13B→Llama-2-7B latency and through- put results for 200 requests with 1024 input and 1024 output tokens.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Table 23: Qwen2.5-Instruct-14B→Qwen2.5-Instruct-0.5B
latency and throughput for 1024 input and 1024 output
tokens

Table 23 : Qwen2.5-Instruct-14B→Qwen2.5-Instruct-0.5B latency and throughput for 1024 input and 1024 output tokens.

원문 · CC BY 4.0 · Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey · BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

적용 범위와 한계

저자들은 BridgeKV가 프롬프트 캐시를 한 번 변환한 뒤 디코드 앵커가 네이티브로 생성을 이어간다고 설명하며, 생성 중에 핸드오프를 적응시키는 정책은 향후 과제로 남겨 둡니다. 또한 스티칭 모듈은 모델 쌍과 데이터셋마다 학습해야 하고, 두 앵커는 같은 토크나이저를 공유해야 합니다. 원문은 fine-tuning 없이 더 높은 정확도를 내는 스티칭 방법이 아직 과제라고 밝힙니다.

정확도 향상의 범위도 제한됩니다. 원문의 실험은 Llama와 Qwen 계열 여섯 쌍과 다섯 데이터셋에 한정되며, 시스템 시뮬레이션은 실제 서빙 엔진이 아닌 별도 모델링입니다. 따라서 보고된 배율은 이 설정과 측정 방식의 결과로 읽어야 하며, 다른 하드웨어나 다른 계열 모델로 바로 옮길 수 있다고 결론내릴 수는 없습니다.

논문 정보

저자
Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 9일
등록일
2026년 11월 10일
수정일
2026년 11월 9일
버전
v1
arXiv
2611.11761
분류
cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

LLM inference has two phases with different bottlenecks: LLM prefill runs once per request and is compute-intensive. Decoding repeats for every output token and is limited by memory bandwidth. To address the challenges associated with this issue, different solutions have been proposed. All of these solutions use the same model for both prefill and decode phases. We propose BridgeKV, which uses a larger model for prefill and a smaller model of the same family for decoding. A lightweight KV-stitching module translates the larger model's prompt cache into the smaller model's cache layout. It handles differences in cache shape and representation through learned local layer mixing and separate nonlinear maps for keys and values. With both models frozen, we train the module to align their caches and make the smaller model follow the larger model's next-token predictions. A second training stage adds low-rank adapters when further task adaptation is needed. Across six model pairs and five datasets, BridgeKV outperforms fine-tuned small-model baselines with matched trainable parameter budgets in all 30 settings. It closes up to 80% of the quality gap to using the larger model for both phases. On one A40 GPU, Llama-3.1-Instruct-8B to Llama-3.2-Instruct-1B achieves 3.0X faster requests than the larger model alone, with latency close to the smaller model alone. BridgeKV can improve the hardware and system solutions that separate prefill and decode phases across GPUs. A separate serving simulation models request arrivals, queues, and cache transfer. For Llama-3.1-Instruct-70B to Llama-3.2-Instruct-1B, it predicts up to 33.86X faster requests and 27.5X lower energy use than using the larger model for both prefill and decode phases.

원문 인용

Behnam, Payman, Sanyal, Debopam, Ponnusamy, Pranav, Ravi, Kusum Meda, Sastry, Pranav, Bandaru, Mani Chandana, Khare, Alind, Lee, Myungjin, Tumanov, Alexey (2026). BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation. arXiv:2611.11761v1. https://arxiv.org/abs/2611.11761v1

BibTeX
@misc{payman2026bridgekv,
  title = {{BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation}},
  author = {Behnam, Payman and Sanyal, Debopam and Ponnusamy, Pranav and Ravi, Kusum Meda and Sastry, Pranav and Bandaru, Mani Chandana and Khare, Alind and Lee, Myungjin and Tumanov, Alexey},
  year = {2026},
  eprint = {2611.11761},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11761v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입