← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 64
  1. I Removed Every MLP from Gemma 4 12B

    Deleting every feed-forward branch removes 8.5 billion parameters and makes local Gemma 4 inference roughly three times faster.

  2. A Network Made of Parts

    Cut the image into patches, run one shared kernel bank over every patch, average the results, and classify.

  3. How to Interrogate a Kernel Network

    A network whose hidden units are kernel prototypes is supposed to be legible.

  4. The Concept That Would Not Die

    An empirical feature covariance gives a trained kernel network ranked orthogonal axes.

  5. The Trained Network, Under Mercer's Microscope

    Every hidden representation induces an empirical kernel.

  6. Lazy Training a Yat Network in JAX/Flax NNX

    A runnable companion to the lazy-training post: the Yat layer with its frozen softplus scalars, the one-line NNX filter that trains a readout while the bank stays frozen, the per-arm learning-rate bracketing, and the movement telemetry that caught the ant…

  7. How Many Random Neurons Buy a Trained One?

    Freeze a bank of randomly initialized Yat units and train only the linear readout.

  8. Measuring Attention's Geometry in JAX/Flax NNX

    A runnable companion to the geometry-of-attention post: the telemetry that exports a trained head's actual query and key vectors, the offline replay that recomputes every row's winner under rescaled queries, the linear program that asks whether any key si…

  9. The Geometry of Attention Is a Choice of Kernel

    An attention head is only ever evaluated at the tokens of the sequence, but its formula accepts any query vector at all.

  10. Softmax-Free Attention in JAX/Flax NNX

    A runnable companion to the compatibility-kernel post: the attention module where one branch computes softmax and the other computes the Yat kernel with no exponential anywhere, the parameter-matched training harness, the telemetry that measured our bound…

  11. The Kernel Between the Roles

    The QK post in this series ended on a construction it refused to build: keep the query and key roles, but replace the bilinear-then-exponential score with a genuine Mercer kernel between them.

  12. An Error Controller for a Trained Net, in JAX

    A runnable companion to the depth-on-demand post: the leapfrog classifier trained with lax.scan at fixed depth, the step-doubling controller that re-renders it to tolerance at inference, the honest work accounting (probes included), and the measured tol^(…

  13. Depth on Demand

    The last post made depth a resolution: layers are time steps of a learned flow, and running more of them just renders the same trajectory finer.

  14. Reversible Backprop as a custom_vjp in JAX

    A runnable companion to the memory post: the momentum block and its exact inverse, the custom_vjp whose backward pass reconstructs the trajectory instead of storing it, XLA's memory_analysis as the measuring instrument, and the (1/mu)^L float cliff reprod…

  15. Backprop Without the Memory

    Training memory is a tax nobody chose: backprop must hold every activation of the forward pass hostage until the backward pass consumes it, so depth costs memory even when it costs little compute.

  16. Building the Hamiltonian-Step Net in JAX/Flax NNX

    A runnable companion to the energy-conservation post: the HNN pendulum field as the symplectic gradient of one learned scalar, the plain field model it beats on drift, and the leapfrog classifier whose residual block is a kick-drift-kick step of a learned…

  17. A Network Built from Hamiltonian Steps

    A pendulum organizes its motion around energy, while an ordinary residual network has no comparable scalar.

  18. Solving It and Descending It, in JAX/Flax NNX

    A runnable companion to the solve-vs-descend post: the Yat kernel and its Gram matrix, the exact kernel ridge solve via Cholesky, the same kernel as a Flax NNX module trained by AdamW with LR sweeps and best-epoch selection, the measured timing wall, mini…

  19. A Velocity Ledger for Transformers, in JAX/Flax NNX

    A runnable companion: the pre-norm Transformer block as a forward-Euler step, then the residual-stream velocity ledger as one line of Flax NNX state (mu = 0 recovers plain), the ngpt-lite retraction variant, best-val early-stopped training, and the depth…

  20. Running the Survival Trial, in JAX/Flax NNX

    Build the Yat DeepSurv trunk and Cox loss in Flax NNX, recover exact prototype contributions and explicit row edits, then run the LR-fair five-dataset benchmark with concordance, calibration, Brier, AUC, and classical baselines.

  21. One Kernel Family, Fitted Two Ways

    A dense kernel-ridge solve and a learned-center Yat expansion use the same kernel family but optimize different hypothesis classes.

  22. Transformers With a Velocity Ledger

    A pre-norm Transformer's residual stream is forward Euler: x += Attn(norm x); x += MLP(norm x).

  23. The White-Box Survival Model on Trial

    Build a survival network from learned prototype patients, derive its exact risk decomposition, and benchmark it on five datasets against Cox, penalized Cox, Random Survival Forest, and ReLU DeepSurv.

  24. Skip Connections With Inertia, in JAX/Flax NNX

    A runnable companion: the residual block as a forward-Euler step, then the momentum residual network as a Flax NNX module with one extra state, a velocity the blocks write into.

  25. Editing a Deep Equilibrium Network, in JAX/Flax NNX

    A runnable companion: build the weight-tied Yat equilibrium operator in Flax NNX, then teach a class by appending rows to the readout (F untouched, exact) or into the shared dynamics (one paste, present at every depth).

  26. Distillation as Kernel Transfer, in JAX/Flax NNX

    A runnable companion: the five-run distillation experiment in JAX/Flax NNX.

  27. Building the Second Layer by Hand, in JAX/Flax NNX

    A runnable companion: build a whole second feature layer by hand in JAX, on top of the hand-built first.

  28. Calibrating a Bounded Net, in JAX/Flax NNX

    A runnable companion: build the matched Yat and ReLU MLPs in Flax NNX with the same softmax head, then measure their honesty.

  29. Your Skip Connection Is Half of Newton

    A residual block x + F(x) is one forward-Euler step: depth is time, the block is a velocity, position moves directly.

  30. Edit One Operator, Edit Every Depth

    One post taught and forgot classes by editing rows of a Yat network, with proofs that nothing else moved.

  31. Distillation Is a Geometry, Not an Answer Key

    What crosses the wire in knowledge distillation besides the winning class?

  32. How Far Down Can You Build?

    One hand-built feature layer matched a trained backbone at 83.3% on Fashion-MNIST, and real networks are deep.

  33. When 80% Should Mean 80%

    A network hands you a probability with every answer, and the number is the part you act on.

  34. A Network That Is a Fixed Point, in JAX/Flax NNX

    A runnable companion: build the Yat deep-equilibrium network in JAX/Flax NNX.

  35. Your Network Is a Stack of Layers. It Could Be a Fixed Point.

    A deep network makes you choose its depth before you have seen the problem, and gives every layer its own weights.

  36. A White-Box Kernel FFN in JAX/Flax NNX

    A runnable companion: build a transformer whose feed-forward block is a finite learned-center kernel expansion.

  37. The MLP Block Can Be a Kernel Memory

    Replace an MLP activation with a kernel and its feed-forward block becomes an explicit learned-center expansion.

  38. What Can a Weight Be?

    A kernel is a spectral price list: it decides which functions are affordable, and regularization sets the budget.

  39. Where a Weight Lives, in JAX/Flax NNX

    A runnable companion: build the representer-theorem weight in JAX.

  40. Where Does a Weight Live?

    A standard neuron's weight and its input never actually meet: one is a point you can see, the other an arrow off in its own space, joined only by a shadow.

  41. Constructing the Fashion-MNIST Network, in JAX/Flax NNX

    Train a small backbone and place its prototype head, then remove training entirely: implement fixed Sobel orientation channels, pool them into 343 named features, and classify with a constructed Yat head.

  42. How Much of a Fashion-MNIST Network Can You Build by Hand?

    Construct the prototype head on random and learned features, then replace the backbone with named edge and corner measurements.

  43. Editing a Network by Hand, in JAX/Flax NNX

    A runnable companion: build the prototype Yat-MLP in Flax NNX, then add a class by concatenating a few prototype rows and forget a class by masking them out, with no gradient steps.

  44. A Kernel's Price List, in JAX

    Construct valid periodic kernel spectra, audit truncated RKHS norms for convergence, then solve kernel ridge regression and read regularization as spectral shrinkage, effective dimension, and a measured generalization curve.

  45. Your Network Is a List of Pictures. You Can Edit It.

    If a neuron is a labelled picture, a classifier is a list of them, and a list is something you edit.

  46. The Yat-Kernel MLP in JAX/Flax NNX

    Build a finite bank of Yat-kernel sections in JAX/Flax NNX, verify the kernel, train it on two moons and Fashion-MNIST, inspect exact prototype contributions, and test the initialization control that separates visible centers from noisy ones.

  47. What a Finite Kernel Buys an MLP

    Replace the activation with a finite bank of learned kernel sections.

  48. The Three States of Information, in JAX

    A runnable companion to The Three States of Information: train tiny models in JAX and measure the three states directly: the feature-covariance spectrum collapsing from high-rank (random) to a C−1-mode frame (structured), the distributional simplicity bias

  49. The Three States of Information

    In these training runs, representation geometry moves through three recognizable regimes: random, organized into local clusters, and globally structured around separated class means.

  50. Latent on the Spectrum, in JAX

    A runnable companion to Latent on the Spectrum: build a codebook as the spectral embedding of a label kernel in JAX (classical MDS with square-root eigenvalue scaling), watch a flat spectrum become the simplex and a graded one become the horseshoe, measure