AI RESEARCH
CoDec: Prefix-Shared Decoding Kernel for LLMs
arXiv CS.LG
•
ArXi:2505.17694v2 Announce Type: replace Prefix-sharing among multiple prompts presents opportunities to combine the operations of the shared prefix, while attention computation in the decode stage, which becomes a critical bottleneck with increasing context lengths, is a memory-intensive process requiring heavy memory access on the key-value (KV) cache of the prefixes. Therefore, in this paper, we explore the potential of prefix-sharing in the attention computation of the decode stage.