Jarvis: Towards Personalized AI Assistant via Personal KV-Cache Retrieval

Binxiao Xu, Junyu Feng, Ruichuan An, Yulin Luo, Shilin Yan, Hao Liang, Ming Lu, Wentao Zhang · Submission to ICLR 2026 · Rejected

TL;DR

Jarvis is a training-free framework that personalizes vision-language models (VLMs) by precomputing concept evidence into reusable Key-Value (KV) caches rather than retraining weights or rebuilding massive prompts. By pairing structured text metadata with mined "hard" visual patches and injecting their prefilled KV states at inference, Jarvis delivers state-of-the-art accuracy on fine-grained personalization tasks while dramatically cutting per-turn latency and server costs.

What Problem Does This Paper Address?

Adapting general-purpose VLMs into personal assistants—such as recognizing a user's specific pet, custom keyboard, or favorite mug—remains difficult. Existing approaches suffer from two major trade-offs:

  1. Parameter Adaptation (Adapters / Soft Tokens): Methods like LoRA or learned concept tokens require per-concept optimization and continuous storage/maintenance of user-specific weights.
  2. In-Context Concatenation / Retrieval-Augmented Generation: Injecting multiple reference photos and long text descriptions into the prompt at inference time inflates context lengths, increases latency, and frequently causes the model to attend to spurious background cues rather than subtle identity-defining details.

The goal is to achieve reliable, fine-grained personalization across both text-only and visual queries while keeping the base VLM completely frozen and serving fast, multi-turn interactions efficiently.

Methods

Jarvis decomposes personalization into offline evidence caching and lightweight online retrieval:

[Offline] Concept Images
  ├── GPT-5 ───────────► Structured Text Metadata ─► One-Time Prefill ─► Reusable KV-Cache
  └── SAM + Diffusion ─► Concept Hard Patches   ───► Visual Index ──────► (Injected on-the-fly)
  1. Offline Evidence Construction:
  2. Text Metadata: Synthesizes structured JSON records (canonical name, category, a ~25-word summary, and fingerprint attributes like eye: round amber) using GPT-5 with strict schema constraints.
  3. Concept-Only Hard Patch Mining: Localizes the target entity using GroundingDINO + Segment Anything (SAM) to eliminate background noise. Inside the mask, it combines a diffusion-inversion difficulty map (identifying fine details where generative reconstruction struggles) with an OpenCLIP relevance map (penalizing co-occurring backgrounds via negative prompts like floor, bed, or table). High-scoring crops form a visual Hard Patch Pool.
  4. Materializing Evidence as External KV:
  5. Linearizes the concept profile into a short text prefix and runs a one-time prefill through the frozen base model (instantiated on LLaVA-OneVision). The resulting layer-wise KV activations are stored externally.
  6. Query-Time Retrieval & Single-Pass Decoding:
  7. When a user asks a question, the system retrieves the top matching attributes and visual patch hints.
  8. Instead of inserting them as new prompt tokens, Jarvis prepends the prefilled external KV caches to the current sequence’s attention state (offsetting rotary position encodings accordingly). Decoding occurs in a single pass with no parameter updates.

Datasets

The authors evaluate on two established personalization benchmarks:

  • Yo’LLaVA (40 concepts, 570 QA pairs)
  • MC-LLaVA (118 concepts, 1,055 QA pairs)

Additionally, they introduce two fine-grained, text-only benchmarks:

  • Yo’LLaVA++ (480 QA pairs)
  • MC-LLaVA++ (1,416 QA pairs)

Constructed using hard-patch-guided GPT-5 question generation with human verification, the ++ variants explicitly test fine-grained, localized attributes (e.g., specific markings, asymmetries, or micro-patterns) while removing background shortcuts.

Key Insights and Ideas

  • KV Space vs. Token Space: Operating directly in KV cache space eliminates repeated prefill overhead across dialogue turns. The prefill cost is paid once per concept and amortized across sessions.
  • Diffusion Inversion as an "Identity" Detector: Generative models easily reconstruct common natural textures (walls, fabric), but struggle on rare, identity-carrying features. Accumulating latent updates during inversion reliably pinpoints discriminative local patches.
  • Semantic Scaffolding Matters Most: Component ablations reveal that textual fingerprint attributes provide the foundational semantic scaffold; removing them causes the sharpest drop in performance. Visual hard patches act as critical precision aids for fine-grained disambiguation.

Key Results

Jarvis was compared against training-free baselines (LLaVA-OV+Prompt, RAP-LLaVA) and parameter-adapted methods (Yo’LLaVA, MC-LLaVA, RePIC, PLVM) on a frozen LLaVA-OneVision backbone:

  • Accuracy Superiority:
  • On Yo’LLaVA++, Jarvis achieves 85.6% text-only accuracy—outperforming the best training-free baseline (70.2%) and best trained baseline PLVM (70.8%) by ~15 percentage points.
  • On MC-LLaVA++, Jarvis scores 83.5% (vs. 67.9% for Prompt and 70.1% for PLVM).
  • Jarvis achieves the highest performance on 7 of 8 benchmark evaluation columns (e.g., 97.0% VQA on Yo'LLaVA).
  • Inference Speed & Serving Capacity:
  • Because context length remains short and prefill is amortized, Jarvis maintains sub-second per-turn latency and achieves the highest throughput (QPS) across all concurrent session loads, while standard prompt concatenation degrades severely.

Limitations and Future Work

  • Static Evidence: The precomputed KV cache is frozen; it cannot dynamically self-correct if the initial evidence images or synthesized metadata contain errors or omissions.
  • Complex Multi-Step Reasoning: While well-suited for selective retrieval of specific attributes, external static KV caches provide fixed semantic anchors and may struggle on long-horizon, multi-step compositional reasoning.
  • Multi-Concept Scaling: Although the authors outline a concatenated cache strategy for multi-concept queries, optimal routing, sparse cross-attention, and memory eviction/compression policies remain open challenges for future work.

Summary updated

BibTeX
@misc{xu2025jarvis,
  author = {Binxiao Xu and Junyu Feng and Ruichuan An and Yulin Luo and Shilin Yan and Hao Liang and Ming Lu and Wentao Zhang},
  title = {{Jarvis: Towards Personalized AI Assistant via Personal KV-Cache Retrieval}},
  year = {2025},
  eprint = {2510.22765},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.22765},
}

Loading related content...

Figure