Balance is not randomness
The balance-entropy gauge uses only the proportions of heads and tails. 01010101 scores 1 bit because half the entries are heads, even though the next entry is predictable. This gauge ignores order.
Can an AI guess heads or tails better than you? Start with a fair virtual coin, then try a deliberately added pattern. The lesson is learning when there is something to predict—and when there is not.
The computer picks heads or tails using a rule. You choose the rule; you and the AI then guess the next result. These are made-up software outcomes, not a model of a coin tumbling through the air.
Heads and tails each have a 50% chance, whatever happened before. Past results do not give the AI a predictive advantage.
Example: even after H H H, the next outcome is still equally likely to be H or T. H means heads; T means tails.
Watch for: short runs can favor either player by luck. More flips do not create a pattern in a fair process.
2. Make your first guess below. Leave the AI model on its recommended setting for now. Changing the coin rule or model clears the session so scores from different setups are not mixed.
Go to the coin and make a guess →
A model is the saved set of numerical settings the AI uses to make guesses. Both models were trained before this page loaded. Playing here does not retrain either one.
The newer model was trained in a controlled follow-up experiment. “Newer” does not guarantee a better score on every rule or short play session. The recorded comparison is below.
One round means one generated result. Guess heads or tails; the AI makes its own guess from earlier results. A correct guess earns one point, so ties are possible.
Choose 5, 10 or 20 rounds, or Endless to keep playing. Changing the round count or choosing Rematch resets the match scores; the session's flip history and overall AI accuracy continue until you change the coin rule or model.
The coin animation is decoration. The selected software rule determines each result; button timing does not control it.
Simulate 10, 50 or 100 generates that many extra results and checks the AI, without asking for your guesses or changing the match scoreboard. Auto-run adds about five per second; click it again to stop. These results do count toward the session's AI accuracy and history.
A value near 1 bit means a fairly even mix of heads and tails. It does not mean the order is unpredictable: H T H T is evenly mixed but follows a pattern. A streak is a run of the same face; Best is the longest run this session.
The model starts with the same ten example outcomes each time the coin rule or model changes. They give it initial inputs and are not scored rounds. The calculation below reads those inputs and the saved model settings; it is not a written thought process.
Window: 10 flips • Streak Length • Alternation Rate • P(H|H)
JavaScript forward pass
H means heads; T means tails. Each tile is an actual result from this session. A green check means the AI guessed that result correctly; a miss means it did not. The strip keeps the most recent 30 results.
What is backpropagation? During training, the model works backward from its prediction errors to calculate how its weights (saved numerical settings) should change. The notation ∂L/∂W describes how the error, L, changes with the weights, W. That training happened offline; this page uses the saved weights to make guesses.
Loss measures prediction error; lower is better on the same examples. Accuracy is the share of guesses that were correct. These charts show saved training until you play, when the accuracy chart switches to your session.
Training is practice on examples used to adjust the model. Validation is a separate set used to choose which saved version to keep. A final test uses another set after that choice. These are different checks.
Move the pointer across a chart, or touch it, to inspect recorded values. The legend names each colored line. An epoch along the bottom is one pass through the training examples. The charts initially show saved training records. Once you play, the accuracy chart switches to your current session. A high score on an invented pattern does not show an advantage on a real fair coin.
Both fixed models are evaluated on the same fresh test rows. Compare them with repeat-last-face and always-switch strategies. Changing the play-session generator above is separate from selecting the recorded test subset here.
The recovered original generator reconstructs 6,000 seed-42 rows. Its 1,200-row validation counts match the saved weights’ 52.58% result. That validates the final evaluation on that split, not every claim in the original write-up.
The new candidate trained on 20,000 synthetic rows, used 5,000 separate validation rows for early stopping, and was compared with the original on 15,000 fresh test rows. Validation selected checkpoint 36; training stopped after 44 epochs. The test set did not select the checkpoint. The recorded curve includes all epochs, while inference uses the selected checkpoint.
All examples are invented stochastic rules, not collected human choices or physical coin measurements. Independent draws can share the same short binary context; that is expected in a finite input space. The splits use separate random seeds.
The balance-entropy gauge uses only the proportions of heads and tails. 01010101 scores 1 bit because half the entries are heads, even though the next entry is predictable. This gauge ignores order.
For independent fair outcomes, any predictor based only on the past has 50% expected accuracy. Finite samples can finish above or below 50%; that alone proves no advantage.
With 51.5% persistence, always repeating the previous face already has 51.5% expected accuracy. Compare the model with that strategy, not just with random guessing.
Flipping a percentage of binary labels is not the same measurement as audio signal-to-noise power. For power SNR, 10 log10(signal/noise), 0 dB means equal powers. The old unsupported noise-sweep table has been removed.