Alcyone: a W-JEPA that predicts the topology of what it cannot see

GitHub first trained frozen data license

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.

pipeline: event, land, hidden window, watershed

🧩 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?

jet-multiplicity error by land type
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
  1. 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.
  2. 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.
  3. Hide. A random 8 Γ— 16 window goes dark.
  4. 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.npz holds 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.json lists 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.

✨ Alcyone, the brightest star of the Pleiades · built by Teerth Sharma
Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
5.89M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for teerthsharma/Alcyone-W

Finetuned
(4)
this model

Space using teerthsharma/Alcyone-W 1