r/machinelearningnews • u/pallakatos • 5h ago
Research NeuroGit-GFN (Apache-2.0): Closed-Form Knowledge & Behavior Editing for Open-Weight LLMs (1B-14B) with Millisecond Selective Rollback in Standard PEFT .safetensors
Sharing an independent open-source research release + preprint: NeuroGit-GFN (gfn 1.0.6, Apache-2.0).
Problem: Dense and merged-adapter editors (ROME, MEMIT, AlphaEdit, AnyEdit, merged LoRA) output router-free weights, but entangle edits when you later need to retire one temporary rule (18.8-82.4% loss of working retained items under gradient-unlearning LoRA across six 1B-14B 20-rule panels). Semantic-routed adapters (SERAC, SoLA) revoke rules via router keys, but require per-request routing middleware.
Approach & key results:
- 0 optimizer steps, stock
PEFT/vLLMserving: Scans Transformermlp.down_projblocks in 1 pass and solves a constrained KKT quadratic program in closed form into a standardPEFTadapter_model.safetensors(44.5 mshot-load in stockvLLM --enable-lora,0custom server code) paired with an offlinefloat64ledger (gfn_ledger.npz). - Counterfactual
gfn blame& millisecondgfn revert**:** Re-solves only retained KKT weights on CPU in0.92-22.18 msacross 10 checkpoints (1B-14B:Qwen2.5,Qwen3thinking=ON+OFFin one adapter,Hermes-3,Mistral,OLMo-2,Gemma-3,DeepSeek-R1), with exact-ring rollback identities checked in Lean 4.36. - Scope & disclosed misses: Targets short, deterministic CLI/SDK/config and tool-call spans (not multi-paragraph prose), and for security defaults acts only as a compensating control alongside sandboxes and IAM (
gh attestation verifyscored0/1and chainedtarfile.openscored1/2, both shown openly in the interactive replay).
Links:
- Preprint (CERN/Zenodo): https://doi.org/10.5281/zenodo.24727941
- GitHub (Apache-2.0 + Lean 4 proofs): https://github.com/pallakatos/neurogit-gfn
- Interactive Replay (no download): https://pallakatos.github.io/neurogit-gfn/demo/
- HF
Qwen2.5-1.5BPEFT Adapter + Ledger: https://huggingface.co/p4lcsi/Qwen2.5-1.5B-Instruct-neurogit-gfn-demo - Background Writeup: https://pallakatos.substack.com/p/lift-the-quarantine-not-the-controls
P.S. Small personal ask: since this is my first independent preprint submission on arXiv (cs.LG), if any qualified cs.* author here reads the 6-page Zenodo PDF above and feels comfortable endorsing it for cs.LG*, I'd really appreciate a quick DM!*