arXiv:2612.03321v1 Announce Type: new Abstract: Growing data-privacy and governance demands increasingly compel institutions to self-host language models rather than transmitting sensitive queries and proprietary knowledge graphs (KGs) to external cloud services; under practical hardware and serving-cost constraints, locally deployed 8B-27B small-to-medium language models (SLMs) offer economical choices yet operate under tight context-memory limits. However, existing KG retrieval methods suffer from slow traversal speed, complex fine-tuning or multi-agent deployment, and heavy prompt token consumption that inflates inference latency, raising a central hypothesis: can accurate multi-hop KG retrieval be achieved with fewer tokens, faster speed, and simpler training-free deployment? To test this hypothesis, we propose Coupled Activation-Flow Gated Memory Knowledge Retrieval (CAF-GMKR), a single-step, training-free framework that couples unique-predicate hybrid priors and one-hop compound value type (CVT) sibling lookahead with a forgetting-contracted graph memory, multi-parent atomic path blocks, and twin-greedy submodular knapsack selection under exact byte-pair encoding (BPE) ceilings. Across locked evaluations on WebQSP (N=1,639) and zero-shot MetaQA (N=3,000) spanning three local 5-bit SLMs (Qwen3-27B, Qwen3-8B, and Llama-3.1-8B-Instruct) and five BPE ceilings (1k-12k), CAF-GMKR attains 0.6817-0.7458 Set F1 on 27B (0.8063-0.8093 on two-hop CVTs at 8k-12k), outperforming nine single-step baselines (p <= 0.0002) and iterative Think-on-Graph agents (+23.5-31.3 points at 1k). Notably, 27B CAF-GMKR at 2,048 tokens (0.7158 F1) surpasses 8,000-token baselines, 8B backbones peak at 2k-4k (0.7022 and 0.6821 F1, exceeding 8k), and 12k retrieval accelerates by 26.7x (357.5 ms), validating token-frugal, cross-family KG retrieval for private on-premise SLMs.
Coupled Activation Flow and Submodular Path Selection for Context-Bounded Knowledge Graph Question Answering
A training-free retrieval framework called CAF-GMKR achieved 0.6817–0.7458 Set F1 on WebQSP (N=1,639) with a locally hosted Qwen3-27B model, outperforming nine single-step baselines (p ≤ 0.0002) and iterative Think-on-Graph agents by 23.5–31.3 points at a 1k-token ceiling, according to the arXiv paper 2612.03321v1. The method couples unique-predicate hybrid priors and one-hop compound value type sibling lookahead with a forgetting-contracted graph memory and twin-greedy submodular knapsack selection under exact byte-pair encoding ceilings, tested across Qwen3-27B, Qwen3-8B and Llama-3.1-8B-Instruct at five BPE ceilings from 1k to 12k tokens. The authors report that 27B CAF-GMKR at 2,048 tokens (0.7158 F1) surpasses 8,000-token baselines and that 12k retrieval runs 26.7x faster at 357.5 ms, aimed at institutions self-hosting 8B–27B models for privacy-sensitive knowledge graph question answering.
Cap KG retrieval context with exact BPE ceilings and submodular path selection: 2,048 tokens beat 8,000-token baselines on WebQSP, and 8B models peaked at 2k–4k tokens.
more in playbook: Retrieval and RAGRun your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.