FGRF Version 2.0 - Structural Integrity Probe
FGRF Version 2.0
Version 2 represents a major evolution from the original proof-of-concept. It reframes FGRF from a direct optimizer into a structural integrity probe for neural networks.
What's New
- Numerical Stability: Hybrid ODE integrator (explicit with adaptive damping + implicit midpoint fallback)
- High-Fidelity Math: Finite-difference topological complexity and participation-ratio Hausdorff dimension estimator
- Rigorous Evaluation: Held-out evaluation with full ablation suite (
full,plain_gd,no_thermo,no_fractal,random) - Diagnostic Utility: Near-zero updates on highly optimized models like Qwen2.5-0.5B
New Files
fgrf_multi_model_v2.py,fgrf_multi_input_v2.py— V2 core scriptsexamples/run_*_v2.py— V2 example scripts for GPT-2 and Qwen2.5paper/fgrf_v2_paper.pdf— V2 research paperresults/V2/— V2 evaluation results
Quick Start
pip install -r requirements.txt
python examples/run_qwen_single_v2.py