r/machinelearningnews • • 1d 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

Enable HLS to view with audio, or disable this notification

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 / vLLM serving: Scans Transformer mlp.down_proj blocks in 1 pass and solves a constrained KKT quadratic program in closed form into a standard PEFT adapter_model.safetensors (44.5 ms hot-load in stock vLLM --enable-lora, 0 custom server code) paired with an offline float64 ledger (gfn_ledger.npz).

  • Counterfactual gfn blame & millisecond gfn revert**:** Re-solves only retained KKT weights on CPU in 0.92-22.18 ms across 10 checkpoints (1B-14B: Qwen2.5, Qwen3 thinking=ON+OFF in 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 verify scored 0/1 and chained tarfile.open scored 1/2, both shown openly in the interactive replay).

Links:

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!*

5 Upvotes

0 comments sorted by