mlsanityData to 24 Nov 2026

Shoonya: Zero-Socket In-Process Small Language Models for Graph Databases with Schema-Epoch KV Caching, Live Catalog Logit Masking, and Verifier-Advantage Distillation

arXiv 2611.28502 ↗Submitted 21 Nov 2026Announced 24 Nov 2026cs.DB cs.LG cs.PFcited by 0

New in Knowledge distillation; no direction yet. Knowledge distillation

Abstract (arXiv)

Coupling a property-graph database to an external language-model server imposes a three-part socket tax: serialization overhead dwarfing microsecond graph reads, repeated prefill of verbose schemas, and blind decoding divorced from the live catalog and multi-version concurrency control (MVCC) engine. We present Shoonya, from-scratch commercially clean (0.0% non-commercial or share-alike data) tri-modal (Python, Rust, OpenCypher) small language models (16.8M to 1.07B parameters) co-designed with shoonya-infer, a zero-dependency pure-Rust runtime embedded inside the samyama-graph-enterprise address space. Direct GraphStore references unlock three database-native primitives: (1) an epoch-invalidated SchemaPrefixCache over a copy-on-write PagedKvArena accelerating warm CPU time-to-first-token by 4.91x--13.68x with O(1) DDL invalidation; (2) a 36 us columnar catalog and source-span logit mask enforcing valid ontology identifiers and verbatim spans; and (3) a sub-65 us read-only MVCC gate serving Tier-0 queries inside 389.8 MiB INT8 RSS (59.8--67.9 tok/s) with 0.0% hallucination leak. Rank-factorized tied embeddings (-74.5% vocabulary weights), atomic indentation tokens (0/421 indentation errors), 4:1 grouped-query attention with 2:1 cross-layer KV sharing (-93.75% INT8 KV memory), Warmup-Stable-Decay training, KnOTS SVD merging, Step-GRPO, and Rust Jacobi SVD governance keep 100% of layers heavy-tailed (α ∈ [1.88, 2.20]). Finally, we synthesize nine lessons across v0.1--v1.0, resolving a Reverse-Token-Density Distillation Trap via teacher scaling and zero-VRAM Verifier-Advantage-Gated Knowledge Distillation (AdvKD), recovering +13.61 MBPP points (33.07%) while reaching 100% validity on enrichment, grounded extraction, and tool planning.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 31 of its 38 references that are in the map. Submitted 21 Nov 2026, announced 24 Nov 2026.

Builds on

31 of 38 references.

References · 31

  1. 2017Attention Is All You Needcited by 62,125
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,967
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  7. 2021Program Synthesis with Large Language Modelscited by 3,972
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,290
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,890
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  11. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
  12. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
19 more
  1. 2024Qwen2.5-Coder Technical Reportcited by 1,301
  2. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
  3. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
  4. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 913
  5. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 799
  6. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 788
  7. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
  8. 2023Textbooks Are All You Needcited by 625
  9. 2019Improved Knowledge Distillation via Teacher Assistantcited by 587
  10. 2023Active Retrieval Augmented Generationcited by 554
  11. 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 415
  12. 2022Efficient Training of Language Models to Fill in the Middlecited by 268
  13. 2023Efficient Guided Generation for Large Language Modelscited by 244
  14. 2018Implicit Self-Regularization in Deep Neural Networks: Evidence from Random Matrix Theory and Implications for Learningcited by 230
  15. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
  16. 2024Model merging with SVD to tie the Knotscited by 150
  17. 2026Samyama: A Unified Graph-Vector Database with In-Database Optimization, Agentic Enrichment, and Hardware Accelerationcited by 3
  18. 2026Knowledge-Graph Grounding Helps LLMs Only for Out-of-Training Knowledge: A Controlled Study on Clinical Question Answeringcited by 2
  19. 2026Removable and Irreducible: A Token-Cost Ledger for the Multilingual Tokenization Taxcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026WorldDB: A Vector Graph-of-Worlds Memory Engine with Ontology-Aware Write-Time Reconciliation
  2. 2026GraphSeek: Next-Generation Graph Analytics with LLMs
  3. 2026Graph Memory for LLM Agents: At What Cost? A Comparative Evaluation of Query, Ingest, and Update Performance Across Graph Database Engines
  4. 2026TGMS: An Agent-Native Bi-Temporal Graph Management System ↗
  5. 2026DW-Bench: Benchmarking LLMs on Data Warehouse Graph Topology Reasoning
  6. 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP
  7. 2026Breaking the Space Barrier and its Application to Language Model Inference
  8. 2026Graph Property Inference in Small Language Models: Effects of Representation and Reasoning Strategy