Teerth Sharma

Essay 15Updated Project status: In active development

A JEPA that predicts the watershed of what it cannot see

Alcyone-W

Most JEPAs hide part of the input and predict a learned embedding of it. Alcyone hides a window of a particle collision and predicts its topology instead: what rain would do inside it, scored against an exact flood.

The questionIf the target of a JEPA is computed exactly by proved rules, instead of by a second network, can it learn the hidden shape of real collisions, and does a frozen language model that reads the particles help?

  • Python
  • PyTorch
  • Lean 4
ContentsWhat it is

In one paragraph

A particle collision becomes a landscape, where energy pools into valleys. A window of it is hidden. From the rest, Alcyone predicts what rain would do inside the window: how many lakes form, how long each survives as the water rises, and how much energy each holds. Those answers come from a union-find flood whose rules are proved in Lean, so there is no teacher network and nothing to collapse. Alcyone trains 5.9M parameters; a frozen Galactica-6.7B reads a caption of each particle and shapes the land before the flood. It is released on Hugging Face with its weights, a 512-event sample and every failure it was pre-registered to report.

What it is

Alcyone came out of resolvent and Asmodeus together.

From resolvent it takes the JEPA question itself: a joint-embedding predictive architecture guesses something about the part of the world it cannot see, and the hard part is deciding what that something should be. From Asmodeus it takes a split that runs through all of this work: keep exactly what can be counted exactly, and learn only the rest. Asmodeus keeps exact count tables beside a learned weight. Alcyone keeps an exact flood beside a learned encoder.

The model card puts the rule in one line: compute what the lemmas determine; learn only what they leave open. The usual JEPA predicts a learned embedding of the hidden part, produced by an exponential-moving-average copy of itself, and the known failure is collapse, where both sides agree on something constant. Alcyone's target is not an embedding. It is the watershed of the hidden window, computed by code whose rules are lemmas, so there is no second network to agree with.

The name is the brightest star of the Pleiades. The W is for watershed.

What it can do

One collision, guessed and checked

The grid is a flat cylinder: φ wraps round the beam and η does not. In three dimensions a cylinder can be rolled up, but it cannot be curved shut without stretching its cells. In four dimensions it can. The Clifford torus, the points (cos a, sin a, cos b, sin b)/√2, sits inside the 3-sphere and is exactly flat, so the figure puts the event on it with φ as a, round one circle, and η over half of the other circle, b. The grid is 32 by 64, so its cells stay square.

Figure 2
Animated: CMS Open Data run 280349, event 147509225 on a flat torus turning through four dimensions. Particles land and dent the surface, three muons, six jets and the missing energy. The motion slows, the hidden window goes dark and Alcyone's basin-count probabilities rise, 0.65 for three. The water rises as the sublevel set: the deepest crater floods first and lakes form in their own colours; the window lifts and the flood finds three basins, which ticks the guess. The torus tumbles on while the water keeps rising, two lakes merge by the elder rule, then the whole surface goes under and drains.
  • muons
  • jets
  • missing transverse energy
  • Alcyone's guess, and the rest of the torus

Figure 2. One real collision, CMS Open Data run 280349, event 147509225, from the 512-event held-out sample shipped with the model, on the Clifford torus. It turns by a double rotation through four dimensions and is drawn with a four-dimensional perspective, so the fourth dimension shows as size and the surface swells, twists and folds through itself; that motion is the drawing, not the data. The faint wire is the half of the torus that η does not cover. The water is the sublevel set, a point under water exactly when its height is below the level, so the rising water is the union-find flood. The bars are the released checkpoint's own probabilities for the hidden window. The live version, computed in the browser with the release's rules, is on teerth.dev.

Bending the grid this way changes nothing the model sees. The flood is a union-find sweep over each cell and its 8 neighbours on the grid itself, so it is intrinsic: it cannot tell a flat sheet from a torus in four dimensions, and the basins here are exactly the basins of the release.

In this event the water stops first at the release's level, τ = −log 2, where a basin is a connected region with at least 1 GeV deposited. There it finds 7 basins, and 3 of them touch the hidden window. Alcyone gave 3 a probability of 0.648 and 2 a probability of 0.325. Above τ the water keeps rising, and twice two lakes meet. The younger one, the one with the higher floor, dies into the elder: that is the elder rule, and the height it survived is its persistence. At h = 0 every lake dies into the eldest.

Results, the whole truth

Its own task. Alcyone gets the hidden window's basin count right 0.945 of the time on 512 real CMS events from a file it never trained on, against 0.572 for always guessing the most common count, and 0.936 on 4,096 fixed validation windows. The first number reproduces from the release: python examples/example.py prints it.

Downstream physics. A frozen encoder, a small MLP probe, 3 probe seeds and 200k held-out events:

taskAlcyonesame W-JEPA, no Galactica landplain kinematics MLP
jet multiplicity (MSE, lower is better)0.01030.07960.0016
dimuon mass, leading muon hidden (MSE)25,21125,62924,640
hidden-lepton charge (accuracy)0.5030.5020.500

The language model's text really shapes the land. On jet multiplicity the Galactica land cuts the error by 85–87% against a flat land, and beats each control on all 3 seeds: shuffled captions by 84–87%, Galactica-125m by 18–23%, and a code with no language model by 40–51%.

But it is one task. The pre-registered bars asked for two of three, so they failed, and the project does not claim the frozen model helps in general. A plain kinematics MLP beats Alcyone on both answerable tasks. Hidden-lepton charge is unanswerable as built, because charge is not in the terrain, so everything sits at chance. Every bar was written down before training, and every number traces to a results file.

Alcyone is about 6.66B parameters in total and about 5.9M trained: 5,893,976 in the W-JEPA core, 6,657,359,872 in the frozen Galactica, which is loaded from facebook/galactica-6.7b and not redistributed.

Talking to it

The release includes an agent, code/agent.py, in which Galactica speaks and four tools do the work: watershed(k) compares the W-JEPA's prediction against the exact flood, charge(k) applies the Gauss-law lemma, describe(k) lists an event's particles, and calc does arithmetic. Galactica is a raw base model, so the runtime does not trust it: it forces a tool choice first, fills in the answer only after the tool returns, and flags any number in the answer that no tool produced. Asked who it is, it answers from fixed text: a 5.9M-parameter W-JEPA trained by Teerth Sharma, with a frozen Galactica-6.7B writing the words.

How it was made

How a collision becomes land

Figure 1
Alcyone · W-JEPA collision → land → hide a window → predict its watershed (targets computed exactly, never learned) 1 · event muons · electrons · jets 2 · land on the (η, φ) cylinder pT terrain + 8 Galactica-6.7B channels 3 · hide an 8×16 window ? encoder sees only the rest 4 · predict the watershed basins · persistence · water union-find flood, elder rule
  • the energy terrain and the water
  • the 8 Galactica-6.7B land channels
  • the hidden window

Figure 1. The pipeline, from the project's own repository (assets/pipeline.svg). The targets on the right are computed exactly, never learned.

Terrain. Every muon, electron and jet drops its transverse momentum on a 32 × 64 grid wrapped around the beam, η by φ, through a Gaussian of one cell that is truncated to 7 × 7 and renormalised so the deposit conserves the summed momentum exactly. φ wraps; η does not. The height is h = −log(1 + deposit), so energy pools into valleys (code/terrain.py).

Warp land. Each particle gets a caption, such as muon, negative charge, pT 40 GeV, eta 1.0. A frozen Galactica-6.7B reads it, its layer-24 states are mean-pooled, and a fixed PCA turns them into 8 numbers that are painted onto the same grid as extra land. The language model shapes the land before the flood and is never trained.

Hide. A random 8 × 16 window goes dark. The encoder, a convolutional network on the periodic (η, φ) cylinder, sees only the rest.

Predict. From the context it predicts three things about the hidden window: its basin count, its top-8 persistences and the energy in each basin, all matched against the exact flood of the full event.

The flood that makes the targets

The flood that produces them (code/hydraulics.py) is a sublevel sweep with union-find. Cells enter in ascending height. When two components meet, the survivor keeps the lower minimum and the younger dies at the merge height. Its docstring names the lemmas it implements: β₀ changes by 0 or −1 per edge; the elder rule; water is conserved under merging; and the number of merges is the number of basins minus one. They are stated and proved in Lean 4 and mirrored in Haskell.

What’s new in it

The target. A JEPA usually predicts a learned embedding of the hidden part, made by a slowly updated copy of its own encoder, and has to be kept from collapsing onto a constant. Alcyone predicts the hidden part’s topology instead: its basin count, its persistences and its water, by the elder rule.

Because the targets are a fixed function of the full event, there is no exponential-moving-average teacher and no way for the two sides to drift together into a constant. The only thing learned is the guess.

The land. The language model does not answer anything. It reads one caption per particle and changes the shape of the ground the flood runs over, and the controls in the results show that its text, not just its presence, is what cuts the jet-multiplicity error.

What no one else built

The model card calls Alcyone the first model of a new design: a JEPA whose prediction target is computed by proved rules rather than learned, run on real collision data. The release ships the pieces that make that checkable rather than claimed: the exact flood as code, a sha256 for every released file in MANIFEST.json, freeze checks on Galactica in every run (its weight hash is identical before and after training, and 1,000 captions re-embed bit-identically), and an agent that will not state a number no tool returned.

Limitations

  • Narrow. One detector format, CMS NanoAOD objects, and one task family.
  • Training hid one lepton. Training never captioned the hidden lepton of one probe task, but the release deposits every visible object, a mild shift from training.
  • Window edges leak. A particle near the edge of the window is partly visible from outside it, so the training task is partly readable from the context.
  • Answers can still go wrong. The agent picks tools reliably and reports their results correctly, but its free-text answers can add copied phrases or miscount.
  • Non-commercial. The land table is derived from Galactica-6.7B outputs, so the release is CC BY-NC 4.0, like Galactica.

Read more

Model, weights and the 512-event sample: huggingface.co/teerthsharma/Alcyone-W. Code: github.com/teerthsharma/Alcyone-W. Data: CMS Open Data on the CERN Open Data portal, NanoAOD; 4M events with at least one lepton, split by source file into 2.24M train, 1.06M validation and 693k test. Checkpoint: arm L1, seed 1 of a pre-registered 3-seed run, 38,155 steps, picked by a rule fixed beforehand. Galactica: Taylor et al., Galactica: A Large Language Model for Science (2022).

Key files:

Related essays on this blog:

  • resolvent: one parent. A JEPA planner that ranks candidate futures as a set, not one at a time.
  • Asmodeus: the other parent. Exact count tables beside a learned weight, so a returning law is recalled, not re-learned.

Cite this essay

Used anything from here? Please credit and link. How to cite

Citation

Teerth Sharma (2026). "A JEPA that predicts the watershed of what it cannot see". teerth.blog. https://teerth.blog/alcyone (CC BY 4.0)

BibTeX
@misc{sharma2026alcyone,
  author = {Teerth Sharma},
  title = {A JEPA that predicts the watershed of what it cannot see},
  howpublished = {\url{https://teerth.blog/alcyone}},
  year = {2026},
  note = {CC BY 4.0}
}