Built by Teerth Sharma Β· teerth.blog Β· from proved lemmas in Lean 4 + Haskell
β¨ First of its kind
Every JEPA we could find (I-JEPA, V-JEPA, Graph-JEPA, Point-JEPA) hides part of the input and predicts a learned embedding of it.
Alcyone predicts the hidden part's topology instead, as far as we know the first JEPA to do so. π It answers three questions about the hidden window:
| ποΈ basins | β³ persistence | π§ water |
|---|---|---|
| how many separate lakes form | how long each one survives as the water rises (elder rule) | how much energy each lake holds |
These targets are computed exactly by a union-find flood whose rules are proved in Lean. There's no teacher network to drift and no collapse.
π‘ Compute what the lemmas determine. Learn only what they leave open.
The claim rests on a literature search in November 2026. Know earlier work? Open a discussion and we'll credit it.
π§© What's inside
| size | role | |
|---|---|---|
| π W-JEPA | 5,893,976 params Β· trained | conv encoder on the (Ξ·, Ο) cylinder + watershed predictor |
| π Galactica-6.7B | 6,657,359,872 params Β· frozen | turns each particle's caption into 8 land channels; never trained; loaded from facebook/galactica-6.7b |
| βοΈ Exact hydraulics | 0 params | union-find flood, elder rule, energy conserved on merges |
| π§° Agent | rules + 4 tools | Galactica speaks; a runtime makes every number come from a tool |
β 6.66B total Β· β 5.9M trained
π Results
π― Its own task: basin count in the hidden window
| accuracy | |
|---|---|
| π Alcyone, 512 events from a held-out CMS file | 0.945 |
| π² always guessing the most common count | 0.572 |
| π Alcyone, 4,096 fixed validation windows | 0.936 |
π Does the language model shape the land?
| task (frozen encoder + MLP probe, 3 probe seeds, 200k events) | π Alcyone | no Galactica land | kinematics MLP |
|---|---|---|---|
| jet multiplicity Β· MSE β | 0.0103 | 0.0796 | 0.0016 |
| dimuon mass, leading muon hidden Β· MSE β | 25,211 | 25,629 | 24,640 |
| hidden-lepton charge Β· acc β | 0.503 | 0.502 | 0.500 |
- π’ Real text matters: on jet multiplicity, Galactica's captions beat shuffled captions, Galactica-125m and a no-LLM code, on all 3 seeds.
- π΄ One task of three: the pre-registered bars needed two, so they were not met.
- π΄ A plain kinematics MLP is still better on both answerable tasks.
- βͺ Charge is unanswerable as built: the terrain has no charge channel.
- βοΈ With a charge channel, the lemma wins: a separate pre-registered charge-aware W-JEPA learns charge (0.619 vs 0.539 without its Gauss target, 3/3 seeds), but the one-line Gauss rule scores 0.652 with zero parameters. Bar C1 failed.
- πΈοΈ Topology all the way down (lab result): an encoder with no convolution (learned height functions β exact union-find persistence β a set-function on the diagrams, 547k params) beats the CNN on charge (0.665 vs 0.619) and dimuon mass, and passes the Gauss rule (0.652). It is 2Γ worse on jet multiplicity, and random weights already get 0.660, so the credit goes to the lemma filtrations and the exact flood, not to training (bar N1 failed).
- π Text inside the topology (lab result): let those height functions also read Galactica's caption channels and jet-multiplicity error drops 6Γ (0.094 β 0.016), and 4Γ against shuffled captions, so it's the text doing it (3/3 seeds, bars X1 + X2 passed). Dimuon mass edges past the kinematics MLP (not a pre-registered bar). π Replicated on a second training seed: 0.016 again, and the dimuon edge holds on 6/6 probe runs. Charge dips 0.004 but stays above the Gauss rule. Trained weights beat random ones by the bar margin only on jet multiplicity, so bar X3 failed.
Every bar was written before training. Every failure is reported. π¬
π Try it
βΆ Run on real collisions (one minute)
hf download teerthsharma/Alcyone-W --local-dir alcyone && cd alcyone
pip install -r requirements.txt
python examples/example.py
# basin count of the hidden window: Alcyone 0.945, majority guess 0.572, n=512
π Python API
import sys; sys.path.insert(0, "code")
from alcyone import WatershedJEPA, exact_summary, window_mask
m = WatershedJEPA(".", galactica="facebook/galactica-6.7b") # Galactica only for unseen captions
z = m.encode(x) # x: (N, 15, 8) [pT, eta, phi, mass, charge, type, btag, valid]
win = window_mask(12, 24, len(x)) # hide eta rows 12-19, phi columns 24-39
pred = m.predict_summary(x, win) # π basin-count probabilities, persistence, water
true = exact_summary(x, win) # βοΈ the exact flood
π¬ Talk to Alcyone (agent with tools)
python code/agent.py "What charge must the hidden lepton of event 5 carry?"
TOOL: charge(5)
RESULT: visible lepton charge sum = -1; if the event is neutral the hidden lepton has charge 1 (Gauss-law lemma)
ANSWER: 1, if the event's total lepton charge is zero (that is an assumption, not a measurement).
| π§° tool | what it does |
|---|---|
watershed(k) |
the W-JEPA's prediction against the exact flood |
charge(k) |
the Gauss-law lemma |
describe(k) |
lists an event's particles |
calc(expr) |
arithmetic |
Guards: Galactica is a raw base model, so the runtime:
- forces a tool choice first;
- fills in the answer slot only after the tool result comes back;
- flags any number that no tool returned.
Honest identity: ask "which model are you?" and it answers from fixed text: a 5.9M-parameter W-JEPA by Teerth Sharma, with frozen Galactica-6.7B writing the words. It's not a chat model. The rules are in ALCYONE_RULES.md.
π The lemmas behind it (Lean 4 + Haskell)
- Lean 4: 1,818 built declarations with no
sorry, counted from build manifests. - Haskell: executable mirrors with QuickCheck property tests.
- The watershed rules live in
WatershedLemmas:- the beta0 step;
- the elder rule;
- water conserved under spills;
- n-1 merges;
- graph PoincarΓ©-Hopf.
Browse them in lemmas/.
π How a collision becomes a landscape
- Terrain. Every muon, electron and jet drops its momentum on a 32 Γ 64 grid wrapped around the beam. The Gaussian kernel conserves energy exactly. Height = βlog(1 + deposit), so energy pools into valleys.
- Warp land. Each particle gets a caption, such as
muon, negative charge, pT 40 GeV, eta 1.0. Frozen Galactica-6.7B reads it (layer 24, mean-pooled), and a fixed PCA turns that into 8 numbers. Those are painted onto the grid as extra land. - Hide. A random 8 Γ 16 window goes dark.
- Predict. Alcyone predicts the hidden window's basins, persistence and water, checked against the exact flood of the full event.
β οΈ Limits
- 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; this release deposits all visible objects.
- Window edges leak: deposits near the window edge are partly visible, so the task is partly readable from the context.
- Answers can still go wrong: the agent picks tools reliably, but its free-text answers can miscount.
π§Ύ Provenance
- Data: CMS Open Data (CERN Open Data portal), NanoAOD.
- 4M events with at least one lepton, split by source file: 2.24M train, 1.06M val, 693k test.
examples/cms_test_sample.npzholds 512 test events.
- Checkpoint: training seed 1 of 3, 38,155 steps. It was chosen by a rule fixed beforehand: the lowest final training-task loss.
- Freeze checks, every run:
- Galactica's weight hashes are unchanged;
- no Galactica parameter requires gradients;
- 1,000 captions re-embed bit-identically;
- the land-table hash matches its provenance.
- Hashes:
MANIFEST.jsonlists a sha256 for every file. - Galactica: Taylor et al., Galactica: A Large Language Model for Science, Meta AI, 2022.
π License
CC BY-NC 4.0 (non-commercial). The land table derives from Galactica-6.7B, which is CC BY-NC 4.0. Galactica's weights are not included.
Model tree for teerthsharma/Alcyone-W
Base model
facebook/galactica-6.7b