프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

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

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

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

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

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

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

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

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

비밀번호를 잊었어요.

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

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

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

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

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

논문 해설

RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill

RidgeFill: 더 빠른 프리필을 위한 학습 없는 후반 레이어 캐시 채우기

  • 연구 문제 긴 프롬프트의 프리필은 모든 토큰을 모든 층에 통과시키므로 첫 출력까지 시간이 오래 걸립니다.
  • 연구 방법 분할 층의 상태에서 닫힌 형태의 릿지 맵으로 늦은 층 입력을 예측하고, 선택된 행과 꼬리는 정확히 계산합니다.

긴 프롬프트의 프리필 대기 시간

긴 프롬프트를 처리하는 프리필 단계에서는 디코더가 모든 프롬프트 토큰을 모든 층에 통과시켜야 하므로, 첫 출력 토큰이 나오기 전까지 사용자는 긴 시간을 기다립니다. 예를 들어 Qwen3.8-27B에서 120,000개 토큰을 처리하는 데 A100 기준 128초가 걸린다고 원문은 보고합니다. RidgeFill은 이 대기 시간을 줄이기 위해 프롬프트의 위쪽 층 대부분을 완전히 계산하지 않는 방법입니다. 이 방법은 모델을 학습하지 않으며 토큰을 버리지도 않는다는 점이 핵심 제약입니다.

Figure 1: Speculative decoding and RidgeFill each spend the resource their phase has spare. Decoding
is bandwidth-bound, so a draft head spends the spare compu…

Figure 1 .Speculative decoding and RidgeFill each spend the resource their phase has spare. Decoding is bandwidth-bound, so a draft head spends the spare compute guessing tokens and the full model verifies every guess. Prefill reuses each weight read across hundreds of prompt rows, so it is limited by arithmetic. RidgeFill spends the spare bandwidth on extra reads, the fill maps from VRAM or host memory, and in return skips most of the late layers’ arithmetic. A filled cache has no affordable verifier, so the rows most likely to matter are kept exact instead (§2.4).

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

이 문제에서 어려운 점은 건너뛴 층의 캐시를 채울 때 생기는 오차가 어디에 몰리는지 파악하는 것입니다. 저자들은 전체 토큰 평균 손실이 이 오차를 가린다고 설명하며, 채워진 영역의 바늘 찾기, 질문 의존 토큰의 손실, 채워진 키나 값을 정확한 값으로 바꾸는 스플라이스 검사를 측정 도구로 제시합니다. 따라서 이 설명의 중심은 속도 향상뿐 아니라 어떤 측정이 오차를 드러내는지에 있습니다.

Table 23: Splices at the primary split. RULER at 8K to 32K: 136 samples on Llama and 138 on Qwen3-8B.
On Qwen3-8B, exact and RidgeFill differ on only 20 sample…

Table 23 .Splices at the primary split. RULER at 8K to 32K: 136 samples on Llama and 138 on Qwen3-8B. On Qwen3-8B, exact and RidgeFill differ on only 20 samples, too few for an interval on the gap closed. On Qwen3.5 the splices act on the five upper attention layers; the fifteen upper Gated DeltaNet layers stay filled in every row, including “exact keys and values”. Value-scale rows have no interval, and no value-scale run exists for Qwen3-8B.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.
Figure 14: Share of RidgeFill’s added novel-token loss removed by each splice at the primary split, with 95 %
intervals where they exist. On Qwen3.5 the Gated…

Figure 14 .Share of RidgeFill’s added novel-token loss removed by each splice at the primary split, with 95 % intervals where they exist. On Qwen3.5 the Gated DeltaNet layers stay filled in every splice. Qwen3-8B’s exact-keys bar,−222 %, is off the scale.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.

릿지 맵으로 늦은 층 입력을 예측하는 방식

RidgeFill은 하부 층을 정확히 실행한 뒤, 분할 층 S의 은닉 상태 x_S에서 각 늦은 층 ℓ의 입력을 예측합니다. 예측식은 x̂_ℓ = A_ℓ x_S + b_ℓ이며, 각 늦은 층마다 행렬 A_ℓ과 벡터 b_ℓ의 쌍을 가집니다. 이 예측 값은 그 층 자체의 정규화와 투영을 그대로 통과하므로, 어텐션 층에서는 키와 값이, Gated DeltaNet 층에서는 재귀 상태 갱신이 계산됩니다. 나머지 층 연산, 특히 MLP는 채워진 행에서 건너뜁니다.

Figure 2: Two ways to fill a late layer’s cache from a middle layer’s state. (a) kishida’s KVA projector:
trained heads on the layer-18 state write each late l…

Figure 2 .Two ways to fill a late layer’s cache from a middle layer’s state. (a) kishida’s KVA projector: trained heads on the layer-18 state write each late layer’s keys and values directly, bypassing the layer’s own key and value projections. (b) RidgeFill: a closed-form ridge map predicts each late layer’s input; the layer’s own projections run unchanged, and on a Gated DeltaNet layer so does its state update. Exact rows (§2.4) skip the map and run the layer from its exact input.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

맵은 보정 텍스트에서 한 번의 캡처 패스로 얻은 합계로 닫힌 형태의 릿지 회귀를 풀어 얻습니다. 원문은 페널티 α를 λ·tr(X^T X)/d_in으로 정의하며, 이 식에서 λ는 입력 크기에 따라 맞춰지는 상대적 세기입니다. 따라서 모델 가중치는 바뀌지 않으며, 학습 루프 없이 적합이 끝납니다.

채움 방법의 비교 설계와 측정 지표

주요 비교 대상은 같은 분할과 꼬리 조건에서의 identity 채움입니다. identity 채움은 늦은 층 입력을 x_S 그대로 복사하며, POP의 채움에 해당합니다. 참조 연구에서는 Llama-3.1-8B, Qwen3.5-9B, Qwen3-8B의 세 모델을 사용해 채워진 영역 검색, 질문 의존 토큰의 손실, 스플라이스 실험을 측정했습니다. 주 분할은 깊이의 3/8이며, 꼬리는 4,096 토큰입니다.

Table 1: Methods that skip late layers for prompt tokens, grouped by what they do with a skipped token’s
cache and whether they train. The reference study comp…

Table 1 .Methods that skip late layers for prompt tokens, grouped by what they do with a skipped token’s cache and whether they train. The reference study compares within the top-left cell (fitted fill against identity fill at the same split and tail) and down the left column (the ridge map against SwiftKV’s trained projections).

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Figure 3: The arms. (a) The four fills of §2.1, shown for the layers above the split: exact, no fill, identity
(POP’s fill) and RidgeFill; the lower layers and…

Figure 3 .The arms. (a) The four fills of §2.1, shown for the layers above the split: exact, no fill, identity (POP’s fill) and RidgeFill; the lower layers and the tail run exactly in every arm. (b) The reference study’s controls (§3.3): attention-selected exact rows, the same number of random rows, the same number of rows added to the tail, and no fill with the tail lengthened to the fill’s cost. Row positions are illustrative.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 5: Evaluation sets in the reference study

Table 5 .Evaluation sets in the reference study.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.
Table 6: Baselines and controls in the reference study

Table 6 .Baselines and controls in the reference study.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Table 21: POP comparison on filled-region retrieval. On Llama, exact and POP native score 99.6 and 93.4
in Appendix A and 99.8 and 94.1 here. These are two run…

Table 21 .POP comparison on filled-region retrieval. On Llama, exact and POP native score 99.6 and 93.4 in Appendix A and 99.8 and 94.1 here. These are two runs of the same configurations on different hardware, about one sample apart in 136; each is paired with the contrasts in its own table.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.

채워진 영역 검색은 모든 바늘이 접두부에 있는 표본만 셉니다. 키 토큰은 마지막 4,096 토큰만 남겼을 때 정확 손실이 2 nats 넘게 늘어나는 토큰입니다. 원문은 전체 평균 손실이 채움 효과를 희석한다고 설명하므로, 이 두 측정이 방법의 차이를 직접 보여 주는 지표로 제시됩니다. 27B 모델은 기능을 끈 상류 빌드인 stock과 비교하며 identity 채움은 실행하지 않았습니다. Flash-Next는 포크의 정확 경로와 비교합니다.

Figure 9: (a) Filled-region retrieval counts a sample only if every needle lies in the prefix. (b) A key token
is one whose exact loss rises by more than 2 nat…

Figure 9 .(a) Filled-region retrieval counts a sample only if every needle lies in the prefix. (b) A key token is one whose exact loss rises by more than 2 nats when the context is cut to its last 4,096 tokens.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

속도와 품질의 주요 결과

Qwen3.8-27B에서 분할 층 16과 VRAM 상주 맵을 쓰면, RidgeFill의 첫 토큰 시간은 16K에서 120K 토큰에서 1.25에서 1.31배 빨랐습니다. 이 차이들의 95% 구간은 0을 포함하지만, 저자들은 이것이 몇 점의 손실을 배제하지 않는다고 설명합니다.

Table 7: Interval methods

Table 7 .Interval methods.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Table 8: Qwen3.8-27B time to first token and peak VRAM over stock, one A100 PCIe 40 GB

Table 8 .Qwen3.8-27B time to first token and peak VRAM over stock, one A100 PCIe 40 GB.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

Qwen3.8-Flash-Next에서는 vLLM 포크에서 9K에서 32K 토큰 구간에 정확 실행보다 1.50에서 1.60배 빨랐습니다. RULER 바늘 과제는 99.8점으로 정확 실행의 100.0점과 비교되며, 새 토큰의 혼란도는 2.65% 높았고 구간은 −0.02%에서 +4.93%입니다. 참조 연구에서 Qwen3-8B는 채워진 영역 RULER 점수가 identity 채움보다 49.6점 높았고, Llama-3.1-8B는 주 분할에서 손실이 identity보다 나빴습니다. 같은 Llama는 절반 깊이에서는 손실이 낮아졌습니다.

Figure 8: Qwen3-8B at the primary split: loss on 90 documents (63 for key tokens) and filled-region retrieval
on 138 RULER samples. On novel-token loss RidgeFi…

Figure 8 .Qwen3-8B at the primary split: loss on 90 documents (63 for key tokens) and filled-region retrieval on 138 RULER samples. On novel-token loss RidgeFill looks slightly worse than the identity fill. On the tokens that need the prefix it is better, and on retrieval from the filled region it is far better.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.
Table 9: RULER overall. Intervals are paired item bootstraps, 10,000 resamples, resampled within task

Table 9 .RULER overall. Intervals are paired item bootstraps, 10,000 resamples, resampled within task.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Table 15: Quality on Qwen3.8-Flash-Next. The perplexity gap is measured on novel tokens. RULER has no
interval: RidgeFill fell short of exact on two of 221 fil…

Table 15 .Quality on Qwen3.8-Flash-Next. The perplexity gap is measured on novel tokens. RULER has no interval: RidgeFill fell short of exact on two of 221 filled-region samples (§5.3).

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.
Table 16: Speedup over exact on Qwen3.8-Flash-Next; the last column also gives the median request time

Table 16 .Speedup over exact on Qwen3.8-Flash-Next; the last column also gives the median request time.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.
Figure 11: Serving on Qwen3.8-Flash-Next. (a) Time-to-first-token speedup over exact, each a ratio of
medians of five timed requests paired within a server sta…

Figure 11 .Serving on Qwen3.8-Flash-Next. (a) Time-to-first-token speedup over exact, each a ratio of medians of five timed requests paired within a server start, against the ceiling 1/r of §2.5. (b) Median time of a whole request over 25 single-needle samples at 64K, measured on separate server starts. No intervals were computed for the timings.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.
Figure 12: Novel-token loss across split depths. RidgeFill and identity use the same split and a 4,096-token
tail. Lower is better; the dashed line at zero is…

Figure 12 .Novel-token loss across split depths. RidgeFill and identity use the same split and a 4,096-token tail. Lower is better; the dashed line at zero is exact. Each panel has its own vertical scale. Llama improves sharply at half depth (S = 16), while both Qwen models stay within a few hundredths of a nat of exact. The horizontal axis shows the split layer and its depth; Qwen3-8B uses 9, 13, 18 and 22 of 36. The paired RidgeFill−identity intervals are in Table 17; the figure has no per-arm error bars.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.
Table 18: Paired RidgeFill− identity contrasts at the primary split. Positive is better for retrieval, agreement
and LongBench; negative is better for loss. RU…

Table 18 .Paired RidgeFill− identity contrasts at the primary split. Positive is better for retrieval, agreement and LongBench; negative is better for loss. RULER uses 216 samples at 8K to 64K on Llama, 219 at 8K to 64K on Qwen3.5 and 138 at 8K to 32K on Qwen3-8B. On Llama’s 136 samples at 8K to 32K, the RULER contrast is +49.1 [+39.3, +57.5].

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.
Figure 13: RidgeFill − identity at the primary split, with paired 95 % bootstrap intervals. The shaded side
favors RidgeFill: positive for retrieval and negati…

Figure 13 .RidgeFill − identity at the primary split, with paired 95 % bootstrap intervals. The shaded side favors RidgeFill: positive for retrieval and negative for loss. Blue points favor RidgeFill and red points favor the identity fill. RidgeFill improves retrieval strongly on the dense models, but at this aggressive Llama split it increases both novel-token and key-token loss. Key tokens are the scored tokens whose loss rises by more than 2 nats when the prefix is removed (§3.1). These comparisons do not include exact prefix rows.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.
Figure 15: Novel-token contrasts on Llama-3.1-8B, on the 126 original documents and on 30 fresh documents
built after the splits were chosen. Below zero favors…

Figure 15 .Novel-token contrasts on Llama-3.1-8B, on the 126 original documents and on 30 fresh documents built after the splits were chosen. Below zero favors RidgeFill. No 126-document interval exists for RidgeFill at 5/8−POP native, so only its point estimate is shown.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 30쪽에서 그림 영역을 추출했습니다.

적용 범위와 남은 한계

이 결과는 세 참조 모델, 27B 모델, Flash-Next에 한정된 측정입니다. Qwen3.8-27B의 RULER와 일치도 연구는 32K까지만 측정되었고, 그 이상의 장문 품질 근거는 LongBench v2의 긴 그룹 108개 항목에 한정됩니다. Qwen3-8B에서는 attention 선택 행이 채워진 영역 검색을 93.7에서 89.9로 낮추었고, 무작위 행은 93.8점에 도달했습니다. 저자들은 이 현상의 원인을 아직 확인하지 못했다고 밝힙니다.

Table 11: LongBench v2, official CoT protocol, full length. Intervals are paired percentile bootstraps over
items, 10,000 resamples, computed by our report scr…

Table 11 .LongBench v2, official CoT protocol, full length. Intervals are paired percentile bootstraps over items, 10,000 resamples, computed by our report script.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.
Table 22: Exact-row contrasts on filled-region retrieval. Where a lower bound is given, it is the one-sided
bound against the 2-point margin; at these sample s…

Table 22 .Exact-row contrasts on filled-region retrieval. Where a lower bound is given, it is the one-sided bound against the 2-point margin; at these sample sizes it equals the binomial floor (§3.4). The first and last rows use 8K to 64K on Llama and Qwen3.5 (216 and 219 samples). The controls ran only at 8K to 32K, so the middle three rows use 136 and 139 samples. Qwen3-8B uses its 138 samples at 8K to 32K throughout. On Qwen3-8B the random-row and longer-tail controls differ on 13 of the 138 samples but have the same total, so their contrasts coincide.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.

속도 면에서는 측정된 가속이 생략된 연산량 예측보다 작았고, 이 차이는 아직 프로파일링되지 않았습니다. 따라서 이 방법은 모든 모델과 질의에 일반화된 보증을 주지 않습니다.

Figure 7: Compute against POP, from the multiply-accumulate model of §2.5. (a, b) Share of exact prefill
compute for POP at its own split and for plain RidgeFi…

Figure 7 .Compute against POP, from the multiply-accumulate model of §2.5. (a, b) Share of exact prefill compute for POP at its own split and for plain RidgeFill with a 4,096-token tail and no exact prefix rows, on Llama-3.1-8B and Qwen3-8B. (c) RidgeFill’s cost relative to POP; above 1, RidgeFill costs more. Shaded: the 8K to 32K needle range.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.
Figure 10: Qwen3.8-27B on one A100. (a) Where the prompt’s rows go: filled, exact prefix rows, and
the 4,096-token tail, as shares of prompt tokens. (b) Measur…

Figure 10 .Qwen3.8-27B on one A100. (a) Where the prompt’s rows go: filled, exact prefix rows, and the 4,096-token tail, as shares of prompt tokens. (b) Measured speedup over stock, resident and streamed, against the ceiling if time were proportional to multiply-accumulates, 1/(1− skipped share). The shaded gap is discussed in §4.4.

원문 · CC BY 4.0 · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Dylan Johnston, Robert P. Smith
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 6일
등록일
2026년 11월 9일
수정일
2026년 11월 6일
버전
v1
arXiv
2611.09709
DOI
10.5281/zenodo.23890246
분류
cs.LG · cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

초록

RidgeFill shortens prefill by not computing most of a model's upper layers for the prompt. The lower layers run exactly up to a split; from the split layer's state a per-layer map predicts every later layer's input, and each late layer writes its cache from that prediction. The design follows YOCO and DeepSeek-V4.1-Flash, where the projection is trained into the model. RidgeFill retrofits it onto models that were never trained for it: the map is a ridge regression fitted once in closed form from one pass over calibration text, the layer's own projections run unchanged, and a chosen set of rows, the last few thousand tokens, and every decoding step run the full model. Nothing is trained and no token is dropped. Most of the work was in measurement, finding a repeatable methodology. Loss averaged over all tokens hides RidgeFill's error. Needle retrieval in the filled region, loss on tokens that depend on distant context, and splice tests that swap filled keys or values for exact ones show which component carries it: the keys on Llama-3.1-8B, half of it in their scale, and the values and the recurrent state on Qwen3.5-9B. On Qwen3.8-27B in a llama.cpp fork on an A100, time to first token is 1.25 to 1.31x faster at 16K to 120K tokens with the maps in VRAM; RULER changes by -1.2 and -1.4 points and LongBench v2 by -1.4; the 95 % intervals include zero but do not rule out losses of a few points. On Qwen3.8-Flash-Next in vLLM it is 1.50 to 1.60x faster than exact at 9K to 32K tokens, with RULER's needle tasks at 99.8 against 100.0 and perplexity on novel tokens 2.65 % higher [-0.02 %, +4.93 %]. On three 8 to 9B reference models, at the same split and tail as the identity fill, the fitted map retrieves 49.1 and 49.6 more filled-region RULER points on the two dense models (at that split Llama's loss is worse), and its long-document loss is +/-0.03 nats of the released SwiftKV checkpoint's.

원문 인용

Dylan Johnston, Robert P. Smith (2026). RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill. arXiv:2611.09709v1. https://doi.org/10.5281/zenodo.23890246

BibTeX
@article{johnston2026ridgefill,
  title = {{RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill}},
  author = {Dylan Johnston and Robert P. Smith},
  year = {2026},
  eprint = {2611.09709},
  archivePrefix = {arXiv},
  doi = {10.5281/zenodo.23890246},
  url = {https://arxiv.org/abs/2611.09709v1}
}

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

논문 미리 보기
계정 보안

Google 계정 연결

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

Refivu

회원탈퇴

Refivu
Refivu

회원가입