SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative Verification
TL;DR - SpecCompact accelerates LLM-agent context compaction by drafting structured summary slots in parallel and having a target model verify and repair them. It delivers 2.04–5.63× benchmark speedups while exposing model- and task-dependent quality trade-offs.
- Fine-tunes a small drafter to generate independent summary slots concurrently.
- Uses semantic verification: the target model accepts proposed lines or repairs rejected content.
- System optimizations reduce repeated context processing and model calls.
- A Hermes user study reports an 8.68Ă— median compaction speedup.