Seedlabs

SessionBake: per-session document adapters for multi-turn chat

Software that remembers a document's content during a chat session so the AI doesn't have to re-read it every time.

A serving middleware that runs a hypernetwork once when a user attaches a document, producing a LoRA adapter so every follow-up question in the session is answered from a short prompt — the document's KV cache is never re-read turn after turn.

Computer ScienceTopic Modeling
Reasoning and Retrieval OptimizationEnterprise document chat / AI assistants (chat-with-your-docs SaaS)

Concept

A drop-in layer for existing LLM serving stacks (a vLLM/SGLang sidecar) built for multi-turn "chat with your document" products. When a user attaches a document, the layer runs the Doc-to-LoRA hypernetwork — a single forward pass — to emit a document-specific LoRA adapter. Every subsequent turn in that session runs as a short prompt plus the adapter, so per-turn prefill latency and peak GPU memory stop scaling with document length. Adapters are discarded at session end, or cached for documents many users re-query (manuals, policies). Because the paper demonstrates fact storage and QA accuracy (not verbatim generation), the first deployment should target factual Q&A, with a small excerpt-retrieval path kept alongside for exact quotes and citations.

Why now

Paper [0] shows a lightweight hypernetwork can meta-learn approximate context distillation and produce a working LoRA in one forward pass: near-perfect zero-shot needle-in-a-haystack accuracy at sequence lengths more than 4x the target LLM's native context window, and on real-world QA datasets it beats standard context distillation while significantly reducing peak memory and update latency. Older work [4] documents that the KV cache has become the dominant memory cost of long-context inference — exactly the per-session cost this removes. Critically, [0] also notes that per-prompt distillation was previously impractical due to training cost and latency; with baking reduced to a single forward pass, per-session economics become viable for the first time.

Written by GLM · 4 Dec 2026

AI assessment

Backed by 2 papers89

A high-impact infrastructure play that leverages a novel hypernetwork approach to solve the most expensive part of long-context LLM serving.

Evidence strength
5/5
The core idea is directly supported by the Doc-to-LoRA paper, which demonstrates a single-forward-pass hypernetwork capable of internalizing context into an adapter with high accuracy.
Market pull
5/5
Enterprise document chat is a massive, high-growth market where KV cache costs and prefill latency are primary bottlenecks for scaling to long documents.
Novelty & moat
4/5
While SleepCycle handles conversation history, this focuses on document internalization via hypernetworks, filling a distinct gap in real-time context compression.
Feasibility
3/5
Implementing this as a vLLM/SGLang sidecar is technically viable, though it requires tight integration with the serving engine's adapter loading mechanism.
Wedge clarity
4/5
The focus on factual Q&A for long documents with a fallback for citations is a sharp, well-defined entry point.
Simplicity / focus
5/5
The product is a single-purpose middleware layer with one clear function: converting documents to adapters to save memory and latency.

Scored by Gemma 4 · 4 Dec 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.

Act on this idea

Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.

Who benefits

  • Gleancompany

    Glean's enterprise assistant grounds answers in long company documents, re-processing that context on every follow-up turn; per-session adapters would cut per-turn KV-cache memory and prefill latency across its serving fleet.

  • Acrobat's AI Assistant chats with PDFs that routinely run hundreds of pages; baking the document once per session removes repeated long-context prefill on each follow-up question.

  • Notion AIcompany

    Notion AI Q&A grounds answers in long workspace pages; a session adapter lets multi-turn follow-ups run on short prompts, lowering serving cost per conversation.

  • Dropboxcompany

    Dropbox Dash and its file AI assistant query user documents; per-session adapters reduce the GPU memory needed to hold large-file KV caches, raising the density of concurrent chat sessions.

Research it builds on

  1. Doc-to-LoRA: Learning to Instantly Internalize Contexts
    Rujikorn Charakorn, Edoardo Cetin, Shinnosuke Uesaka et al. · 2026 · 76 citations
    All ideas from this paper →
  2. HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloading
    Luo, Cheng, Zefan Cai, Sun, Hanshi et al. · 2025 · 18 citations
    All ideas from this paper →
Leave feedback
feasibility