--- license: cc-by-4.0 tags: - research-papers - technical-reports - pii-redaction - privacy - apple-silicon - mps - multilingual - kvchub pretty_name: KvcHub Research Papers & Reproducible Benchmarks --- # KvcHub Research Papers (Markdown + arXiv-Ready LaTeX) This repository hosts **5 complete, empirically grounded research papers & technical reports** from **[KvcHub](https://huggingface.co/KvcHub)**, complete with **300-DPI publication figures**, **arXiv-ready LaTeX sources (`paper.tex` + `references.bib`)**, and raw reproducible experimental telemetry (`paper_experiments.json`). ## The 5 Papers | # | Paper Title | Key Empirical Headline | Read (Markdown) | arXiv Source (LaTeX) | |---|---|---|---|---| | **1** | **Kava-Privacy-30M: Training a 36-Language, 30-Entity PII & Secrets Redaction Encoder from Scratch in Two Hours on a Single Laptop** | **`91.46%`** Exact Span F1 across 36 langs & 30 entities in **116 MB** (`0.00%` HN FPR); **8.5×** numeric boundary gain from digit-split BPE | [`PAPER.md`](./01_Kava_Privacy_30M/PAPER.md) | [`paper.tex`](./01_Kava_Privacy_30M/paper.tex) | | **2** | **Zero-Swap Training on Unified Memory: Eliminating MPSGraph Cache Explosion and Dynamic-Shape Leaks on Apple Silicon** | Diagnoses **`+2617 MB / 25 steps`** `MPSGraph` leak & cuts growth to **0 MB** with **`0.00 MB` swap** over 2h on 24 GB Mac | [`PAPER.md`](./02_Zero_Swap_Apple_Silicon_MPS/PAPER.md) | [`paper.tex`](./02_Zero_Swap_Apple_Silicon_MPS/paper.tex) | | **3** | **How Small Is Safe Enough? Scaling Laws for From-Scratch On-Device PII Redaction from 636K to 30M Parameters** | **`96.73%`** 36-lang & **`97.23%`** non-Latin redaction F1 in 116 MB — outperforming 9.2× larger 280M baseline | [`PAPER.md`](./03_PII_Scaling_Laws_636K_to_30M/PAPER.md) | [`paper.tex`](./03_PII_Scaling_Laws_636K_to_30M/paper.tex) | | **4** | **PolyPII-36: A 36-Language, 12-Script Benchmark for Joint Personal PII and Developer Secret Redaction** | Open CC-BY-4.0 benchmark (**284,526** docs, 36 langs, 30 entities, 20K hard negatives) + standardized cross-model leaderboard | [`PAPER.md`](./04_PolyPII_36_Dataset_Benchmark/PAPER.md) | [`paper.tex`](./04_PolyPII_36_Dataset_Benchmark/paper.tex) | | **5** | **The Zero-Cloud AI Workstation: Combining Sub-30ms Deterministic PII Firewalls with Local Code and In-Browser Language Models** | Reversible Redact→LLM→Rehydrate gateway at **`29.9 ms` p50** (MPS), blocking **`100.00%`** verbatim PII with **100% lossless re-hydration** | [`PAPER.md`](./05_Zero_Cloud_AI_Workstation/PAPER.md) | [`paper.tex`](./05_Zero_Cloud_AI_Workstation/paper.tex) | ## Highlight Figures | Training Dynamics (Paper 1) | MPSGraph Leak vs Zero-Swap (Paper 2) | |---|---| | ![Training Curves](./figures/fig1_training_curves.png) | ![MPS Memory](./figures/fig4_mps_memory_leak.png) | | Scaling Pareto Frontier (Papers 3 & 4) | Zero-Cloud Gateway Latency (Paper 5) | |---|---| | ![Scaling Pareto](./figures/fig6_scaling_pareto.png) | ![Gateway Latency](./figures/fig7_gateway_latency.png) | ## Related KvcHub Repositories - **Model:** [`KvcHub/Kava-Privacy-30M`](https://huggingface.co/KvcHub/Kava-Privacy-30M) - **Dataset:** [`KvcHub/Kava-Privacy-30M-Dataset`](https://huggingface.co/datasets/KvcHub/Kava-Privacy-30M-Dataset) - **Organization:** [`KvcHub`](https://huggingface.co/KvcHub)