Seedlabs
Researcher

Guofan Fan

1 paper here · 4 ideas from their work

View on OpenAlex ORCID 0009-0008-3094-7621

Advanced Neural Network Applications

Ideas from their papers

  • DocWarm: a shared-document prefill cache for document-grounded LLM apps

    DocWarm is a caching layer for document-Q&A products that runs a long document's expensive prefill pass once, stores the resulting KV blocks on the serving cluster's spare DRAM and SSDs, and lets every later question about that document skip prefill — so the hundredth analyst asking about the same filing gets a fast, cheap answer. New evidence both strengthens and bounds the idea: production traces confirm document reuse is skewed and predictable, and KV compression makes the storage tier far denser, but measurements also show that naively transferring whole KV caches over the network can be slower than recomputing prefill — so DocWarm must load cached blocks via selective, compressed, pipelined paths, with a break-even fallback to plain prefill.

  • RingKV: Sliding-Window-Aware KV Cache Manager for Hybrid-Attention LLM Serving

    A serving-stack memory manager that reads each layer's attention type and trained window size from a hybrid-attention model's config, gives sliding-window layers a fixed ring buffer, and reserves paged KV cache only for global-attention layers — turning the architecture's KV-footprint saving (about 6x for 5:1 hybrids like MiMo-V2-Flash, about 4x for 3:1 designs like KIMI Linear) into several-fold more concurrent long-context sessions per GPU. The gains are bounded by sliding-window attention's documented weakness on multi-step, cross-window dependencies, so the manager ships with workload-suitability routing that sends dependency-heavy agent tasks to full-attention models.

  • Session-Sticky Agent Inference Tier with Offloaded KV Caches

    A hosted inference tier that computes an agent's long context once and keeps the compressed KV cache resident across all of the agent's steps — the active step in GPU memory, idle sessions parked on host DRAM or NVMe SSD and re-materialized via direct-storage, pipelined I/O — so long-running coding and browsing agents pay prefill once per session instead of once per step. New systems research corroborates the economics (multi-tier HBM/DRAM/SSD management, 4-6x compression at near-full accuracy, NVMe-direct offloading cutting prefill latency up to a third) while sharpening the design: at high concurrency, KV-transfer I/O rather than compute becomes the dominant latency source, so swap scheduling and prefetching are the product, not an afterthought.

  • Resident Repo: load-once, query-many million-token context sessions

    A hosted context service where a customer uploads an entire codebase or document bundle (up to ~1M tokens) once; the service keeps it resident in a hybrid-attention model's KV cache and answers unlimited cross-file questions per session — no chunking, no retrieval, no drift.

Related ideas

Close to their work, not derived from it.