NEB chain models: Kepler and TESS signal classifiers

Two small convolutional networks with 4-bit integer weights. The miners of the NEB proof-of-work chain train them: each mining attempt is one training step on 16 samples, and the chain keeps the result. These files are a snapshot of both models at one block.

file chain slot data it trains on answers
tess.bin 1, tess TESS signals from the QLP light curves 1 eclipse, 0 junk
kepler-v2.bin 0, kepler-v2 Kepler DR24 transit signals 1 planet candidate, 0 false positive

Snapshot: block 15,899 (block id 9ca17d22c80b4c8c5e22eff093f22240a49de76f4e8b72c31d3f51f8389c5ddb). config.json gives the architecture and the weights hash of each file, and meta.json the snapshot as the node returned it. Any NEB node returns the same values with the RPC call getmodel [slot].

Try it

The Space NeuralEngineByte/neb-tess-classifier runs the TESS model in the browser on the held-out test signals and on the 244 light curves of known planets around faint stars described under Limits.

Architecture

KEP1, from spec/nebhash-v2.md (section 3.1) in the NEB repository. The input is 784 values from 0 to 7: a global view of the folded light curve (583 values) and a local view around the event (201 values). Each value is the depth of the dip below the median.

layer input operation output
1 global view, 1 x 583 conv1d, 8 filters, kernel 5; max pool 4 8 x 145
2 8 x 145 conv1d, 16 filters, kernel 5; max pool 4 16 x 36
3 local view, 1 x 201 conv1d, 8 filters, kernel 5; max pool 4 8 x 50
4 8 x 50 conv1d, 16 filters, kernel 5; max pool 4 16 x 12
5 layers 2 and 4, 768 linear 32
6 32 linear 2

26,000 weights from -8 to 7, no bias. Every layer sums in int32, applies a rounding right shift, then clips to -8..7. There is no floating point, so every correct implementation gives the same bits on any hardware.

Weight format

13,000 bytes per model. Each byte holds two signed 4-bit weights, low nibble first, in layer order and row-major order inside each tensor. The weights hash is BLAKE3("neb-model-weights" || packed weights).

neb-model.js unpacks the weights and runs the forward pass. The class is the first maximum of the two raw output sums.

Results on held-out TESS signals

1,860 TESS signals that the chain never trained on (dataset NeuralEngineByte/neb-tess-test): 250 eclipses and 1,610 junk. TESS model, block 15,899:

measure value
eclipses found 217 of 250 (86.8%)
"eclipse" answers that are eclipses 217 of 267 (81.3%)
right answers 1,777 of 1,860 (95.5%)
always answering "junk" 1,610 of 1,860 (86.6%)

The JavaScript forward pass and the C reference of the NEB repository (neb2_model_predict in pow/ref/nebhash2.c) give the same answer on all 1,860 signals, for both models.

The Kepler model has no held-out score here.

Limits

  • The weights change with every block. The numbers above hold for block 15,899 only.

  • The TESS labels come from people who looked at the signals (Astronet-Triage-v2). Signals that the authors marked as a contact binary, a single transit or unsure are not in the data.

  • The test signals were processed the same way as the training signals. The score says nothing about light curves prepared another way.

  • The TESS model learned on stars brighter than T = 13.6. Two tests on fainter stars, with TGLC light curves (Han & Brandt 2023). A flipped light curve holds no eclipse, so it serves as the control.

    • 100 known planets from T = 13.5 to 15.6 (TOI disposition CP or KP in the NASA Exoplanet Archive), up to three sectors each between sectors 1 and 55: 244 light curves hold at least two transits. At the catalog period, the model called 90 of them an eclipse. The share follows how clearly the transit stands out of the noise: 70 of 80 with an in-transit signal-to-noise ratio of 10 or more, 17 of 54 between 5 and 10, 3 of 110 below 5. On the 261 flipped light curves, it called 9 an eclipse (weights of block 15,899).
    • 1,977 stars of sector 40 (median T = 15.2), blind search: the model called 319 dips of the flipped light curves an eclipse, against 56 in the real ones (science/tess-faint in the NEB repository, weights of block 11,457).

    A transit that stands out of the noise gets the right answer on a faint star. In a blind search of faint stars, the model does not sort.

  • An answer is a hint for a human. It does not confirm a planet.

Data

Code

The chain, the specification and the reference code: https://github.com/SilasEigen/neb (Apache-2.0).

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using NeuralEngineByte/neb-chain-models 1