Natural Grad#
HyperCausal Natural Gradient (State-Space)#
Precondition estimated gradients using an empirical Fisher-like metric derived from the covariance of state branches. Operates in state geometry and maps back to parameter space via random projection (simple, effective proxy).
- Interface:
initialize(params) -> state
step_params(model, params, context) -> (new_params, state)
- Context:
context[“info”][“branches”]: (K x D) states from model.forward(…)
gradient estimated via context[‘grads’] or a grad_estimator