Ten pendulums hang from one cart. There is one force we can command: move the cart left or right. The task is to bring the whole chain upright, keep the cart on its rail, and hold every link there.
In Rage Mill, our ten-link controller passed all 32 fresh hanging starts on each of two physics engines. The JEPA model in that experiment has 78,784 trainable parameters and a checkpoint of about 443 KB. We are releasing the model, weights, data, controller and recorded evidence in Rage JEPA, under MIT.
The useful story is in how the pieces fit together. The learned encoder preserves the state. Classical feedback chooses the forces. Understanding that boundary explains both why a small model can serve the task and what remains to be learned.
Why this is a meaningful challenge
These are ten passive links in a serial chain: the first attaches to the cart, the next attaches to the first, and so on. There is no motor at each hinge. Moving the cart affects all ten links through the coupled mechanics.
The system has 22 physical state coordinates: the cart and ten link positions, plus their velocities. We control one input. Swinging up from hanging requires a coordinated maneuver; keeping the chain upright then requires continuous correction. A balance controller that works for a tiny upright perturbation does not automatically solve the hanging start.
We also keep constraints that make the result interpretable. Commands arrive at 50 Hz, with an actual one-tick queue that delays the new force by 20 milliseconds. The force is limited to ±10 N, and the cart must remain inside ±2.4 metres throughout the twenty-second episode. Every link must stay within 0.22 radians of upright and below 1 radian per second for the final five seconds.
The result is 32/32 on CPU Euler and 32/32 on independent MuJoCo, with every one of the 251 state endpoints bounding the final five seconds checked. The minimum observed final hold was 8.32 simulated seconds. The released recordings and audits let someone inspect the claim beyond a good-looking clip.
What we trained
JEPA means joint embedding predictive architecture. Its central idea is to predict a representation of the future rather than reconstruct every detail of the raw input. Our implementation follows that idea with state vectors and actions, drawing on I-JEPA, action-conditioned V-JEPA 2, and VICReg regularization. We built it independently in PyTorch and started from random weights.
Each observation contains 33 values: cart position and velocity; sine, cosine and angular velocity for each link; and the last applied cart force. Sine and cosine avoid an artificial jump when an angle wraps around. Training-only statistics normalize those values.
A small encoder maps the observation into 64 latent values. An action-conditioned predictor tries to advance those values over an eight-command window, or 160 milliseconds. A second encoder supplies the future targets. Its weights follow the online encoder through an exponential moving average, while gradients stop at the targets. Variance and covariance penalties discourage the easy failure where everything becomes the same embedding.
The ten-pole run used 48 simulated Euler episodes, split into 36 training and 12 held-out episodes, plus 12 fresh MuJoCo episodes for independent evaluation. We kept episode boundaries intact, so a training window could not cross into another episode or leak part of a held-out episode into training.
Training ran for 200 epochs, four updates per epoch, with batches of 128. On the DGX Spark's NVIDIA GB10, the recorded neural training took about 7.07 seconds and peaked at about 72.86 MiB of PyTorch allocation. Those figures describe this small model's training; trajectory planning and control validation are separate costs. Physics and controller inference ran on CPU. The model card records the exact configuration and limits.
How the successful controller works
At runtime, the current observation goes through the frozen target encoder. A local numerical inverse finds the physical state that reproduces that embedding, using the saved nominal trajectory as its starting guess.
The recovered state then goes to a classical controller. Time-varying linear quadratic feedback tracks the swing-up trajectory, and balance feedback catches and holds the upright chain. The controller accounts for the known force waiting in the command queue.
The information path is:
observation → frozen encoder → recovered state → classical feedback → queued force
The feedback receives the recovered state. If inversion fails its strict tolerance, the episode fails. There is no fallback that quietly feeds the original state into the controller.
The encoder's tested Jacobians have full rank for the 22 physical state coordinates. Reconstruction along 31 sampled reference states is accurate to below 5e−14. Those checks support local state recovery around the tested maneuver; they do not establish invertibility for arbitrary angles and speeds.
The reference trajectory deserves its own qualification too. Its optimizer timed out. The returned candidate separately passed dynamics and endpoint feasibility checks, so it could be used as a reference. We have not established that it is an optimal trajectory. The success claim comes from the actual closed-loop recordings.
Why the model can be small
The model receives explicit physical state information. It does not have to recognize a pendulum in an image, infer unseen motors, or discover the entire swing-up strategy. The observation is compact, and the classical controller already carries considerable knowledge of the plant.
This makes a small network a reasonable place to start. In this experiment, it preserves enough local state information for an engineered controller to act. The 64-value latent is larger than the 33-value input, so this is not a claim of dimensional compression.
There is a limit to the explanation. The ten-pole learned predictor failed its physical-forecast comparison with simply holding the last observation, and it failed the action-sensitivity gates. It does not plan the successful actions. A usable encoder and a useful world-model forecast are different results.
We also have not shown that JEPA training is necessary for this controller. Comparing the trained encoder with a random encoder and direct state feedback, under otherwise matched conditions, is an important next experiment. The small model's usefulness here is supported by reconstruction and control evidence; its advantage over those alternatives remains open.
Why release it
I want this work to be inspectable at the points where a claim can go wrong: data splits, model identity, numerical settings, actuator delay, failed prediction tests, and the final hold criteria.
Releasing weights alone would leave too much of the experiment behind. Rage JEPA includes the training data and history, the frozen controller and reference, all 64 final recordings, retained development receipts, and a verifier. A manifest distinguishes original archive hashes from the public files, whose machine-path metadata has been made portable. Model tensors, normalization values and numeric arrays are preserved.
That gives another person a way to reproduce, challenge, or improve the result. It also gives us a stable baseline while the private lab work continues.
From ten toward a record attempt
The later lab cohort has already qualified twelve links: 32/32 final starts on each engine. Eleven passed 31/32 Euler and 32/32 MuJoCo; its failed catch remains recorded. Thirteen is still in trajectory planning, with no qualified controller trials. The public release focuses on the ten-pole model and controller, with separate summary evidence for twelve.
The next step is to make thirteen's reference satisfy the original dynamics. Its current continuation candidate satisfies modified optimization equations, but still misses the original dynamics tolerance. Once the reference passes, we can check encoder recovery along it, run bounded development trials on both engines, freeze the configuration, and evaluate new reserved starts. We advance to fourteen only after thirteen passes the same task gates.
The numerical bill is growing sharply. Ten needed 640,000 Euler integration steps per simulated second. Twelve needed 163.84 million, and its final parallel batch took about 136 wall-clock minutes for twenty simulated seconds per trial. MuJoCo remained at 1,000 Hz. These rates describe integration accuracy, not faster commands or real-time operation. Better integration and numerical conditioning deserve separate experiments as we climb.
For a record attempt, the count is only one field in the comparison. We need to agree on serial links, one cart actuator, a hanging start, body parameters, rail and force limits, delay, hold duration, and fresh-trial coverage. Simulation and hardware need separate categories. Earlier n-link stabilization work and quadruple-pendulum controller research provide context; they do not establish a current record ceiling. Global priority remains unverified.
Our route toward a credible record is to qualify one count at a time, publish the conditions and failures, and invite independent reproduction. Alongside that, we can ask a separate learning question: can a better action-conditioned predictor eventually earn the job of choosing the forces?
If you want to work on either question, start with Rage JEPA. If you'd like to sponsor more time on the experiment, you can support the work on Ko-fi.

