الملخص

تمت ترجمة أجزاء من هذه الصفحة آلياً وقد تحتوي على أخطاء.

Retrieval-based speculative decoding (SD) drafts tokens by copying continuations from existing text, which suits coding agents that repeatedly reproduce code, logs, and earlier attempts. Yet existing methods fall short in agent pipelines: much of the reusable text is missing from their corpora or stored in a form that differs from what the agent emits, and their draft lengths ignore that accept length varies across agents and drifts over turns. We present AgSpec, a framework that supplies the corpus and draft-length policies that existing retrieval engines lack in coding-agent pipelines. AgSpec retrieves from session, workspace, and global corpora, retaining the ongoing session trajectory and indexing opened files in the agent's emission format. It bounds each agent's draft length with an offline-profiled cap and adapts the length online from verification feedback. On two repository-level multi-agent coding benchmarks, AgSpec outperforms five retrieval-based drafters and EAGLE-3 in most evaluated settings, raising generation throughput over autoregressive decoding up to 4.37$\times$ at batch size 1 and 4.76$\times$ at batch size 16. AgSpec also remains effective on benchmarks without a repository or a multi-agent pipeline, showing that its gains generalize to coding agents broadly.

الكلمات المفتاحية

الموضوع

بيانات النشر

المجلة
غير متاح
وصول مفتوح
وصول مفتوح أخضر

اقتبس هذه المقالة

APA 7

Lee, S., Cho, S., Lim, S., & Kwon, Y. (2026). AgSpec: دفع حدود فك الترميز التخميني القائم على الاسترجاع في خطوط أنابيب وكلاء البرمجة. https://omanscience.com/ar/articles/agspec-pushing-the-limits-of-retrieval-based-speculative-decoding-in-coding-agent-pipelines

MLA 9

Lee, Sumin, et al. "AgSpec: دفع حدود فك الترميز التخميني القائم على الاسترجاع في خطوط أنابيب وكلاء البرمجة." https://omanscience.com/ar/articles/agspec-pushing-the-limits-of-retrieval-based-speculative-decoding-in-coding-agent-pipelines.

شيكاغو (المؤلف–التاريخ)

Lee, Sumin, Sukmin Cho, Seungjae Lim, and Youngjin Kwon. 2026. "AgSpec: دفع حدود فك الترميز التخميني القائم على الاسترجاع في خطوط أنابيب وكلاء البرمجة." https://omanscience.com/ar/articles/agspec-pushing-the-limits-of-retrieval-based-speculative-decoding-in-coding-agent-pipelines.

هارفارد

Lee, S., Cho, S., Lim, S. and Kwon, Y. (2026) 'AgSpec: دفع حدود فك الترميز التخميني القائم على الاسترجاع في خطوط أنابيب وكلاء البرمجة', Available at: https://omanscience.com/ar/articles/agspec-pushing-the-limits-of-retrieval-based-speculative-decoding-in-coding-agent-pipelines.

فانكوفر

Lee S, Cho S, Lim S, Kwon Y. AgSpec: دفع حدود فك الترميز التخميني القائم على الاسترجاع في خطوط أنابيب وكلاء البرمجة. https://omanscience.com/ar/articles/agspec-pushing-the-limits-of-retrieval-based-speculative-decoding-in-coding-agent-pipelines

IEEE

S. Lee, S. Cho, S. Lim, and Y. Kwon, "AgSpec: دفع حدود فك الترميز التخميني القائم على الاسترجاع في خطوط أنابيب وكلاء البرمجة," https://omanscience.com/ar/articles/agspec-pushing-the-limits-of-retrieval-based-speculative-decoding-in-coding-agent-pipelines.