Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Parity needs no wavelet transform: an integer’s least significant bit (LSB) is 0 when it is even and 1 when it is odd. Yet a wavelet-based pipeline still classified a chosen binary encoding above chance. The useful lesson is not that wavelets discovered arithmetic, but that representation choices affect what a simple model can recover.

Why build a complicated classifier for a one-bit answer?

I revisited a deliberately over-engineered parity experiment to ask a more interesting question than whether a model could label integers as odd or even: what does the representation make accessible to a simple model?

For ordinary integer parity, the answer is directly available in the LSB. A system that can read that bit can determine parity without learning a broader arithmetic rule. The wavelet pipeline is therefore a diagnostic: it tests how a particular encoding and set of signal-processing choices expose information to a downstream classifier.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In the revised account of his experiment, Ertuğrul Mutlu notes that the results do not show that wavelets discovered parity’s arithmetic rule. The pipeline’s performance is evidence about this setup, not a demonstration that wavelets are a necessary or general-purpose way to calculate parity. Mutlu’s revised paper record (v2, revised September 26, 2026) and the accompanying repository document the experiment and its revised framing.

#1 Best Overall
Sale
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
  • Use scikit-learn to track an example ML project end to end
  • Explore several models, including support vector machines, decision trees, random forests, and ensemble methods
  • Exploit unsupervised learning techniques such as dimensionality reduction, clustering, and anomaly detection
  • Dive into neural net architectures, including convolutional nets, recurrent nets, generative adversarial networks, autoencoders, diffusion models, and transformers
  • Use TensorFlow and Keras to build and train neural nets for computer vision, natural language processing, generative models, and deep reinforcement learning

What the pipeline actually did

The study represented each integer from 0 through 10,000 as a fixed-width, 32-bit binary signal, using left-zero padding. It then applied a level-3 Daubechies-2 (db2) discrete wavelet transform with symmetric boundary extension. For each wavelet subband, it summarized coefficients using mean absolute value (MAV), then clustered the summaries independently with k-means using k = 2.

The data split contained 6,000 training examples, 2,000 validation examples, and 2,001 held-out test examples. Clustering itself did not use parity labels, but the mapping from each resulting cluster to an even-or-odd label was calibrated on training labels. The complete classifier was therefore not fully unsupervised.

That distinction matters because an unsupervised intermediate step does not make the end-to-end prediction procedure unsupervised when labeled data are used to interpret its clusters. Mutlu says an earlier version of the experiment had label leakage in this calibration and overstated the method as unsupervised; the revised setup separates training, validation, and test data and uses training labels for calibration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How well did it classify the chosen range?

With the revised, frozen configuration, the reported held-out test accuracy was 84.26%, with a 95% Wilson confidence interval of 82.60%–85.79%. Across 20 stratified random 80/20 resplits, the reported result was 84.20% ± 0.57%. These are results for the specified data range, encoding, transform, features, clustering, and evaluation—not a score that can be detached from that protocol.

The headline result answers a narrow question: this pipeline recovered parity labels from this encoding more often than chance on held-out examples drawn from the same stated range. It does not establish that the method learned a representation-independent parity rule or will extrapolate reliably to much larger integers.

What happens when the representation changes?

The ablations are the most revealing part of the experiment. They show that accuracy depended on where the parity-carrying information appeared and how the wavelet transform treated the signal.

Masking the LSB

When the natural LSB was masked while the rest of the pipeline remained unchanged, validation accuracy fell to 48.15%, consistent with chance. This supports the interpretation that the pipeline’s above-chance result depended on information already carried by the chosen binary representation; it does not support a claim that wavelets inferred parity independently of that bit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Using the approximation band

The level-3 approximation band, A3, alone reached 83.20% in the reported comparison, while detail bands remained near chance. That result is a reminder that a transformed signal can make information accessible through a particular subband even when the original task appears to be about a single bit. It does not make the approximation band a universal parity detector.

Moving the parity bit

Moving the parity-carrying bit to different signal positions changed the outcome; the best tested position reached 98.60% reported accuracy. Since the underlying arithmetic label is still parity, the shift in performance points to alignment between the encoded bit and the pipeline’s processing—not a change in what parity means.

Changing boundary handling

Validation accuracy ranged from 54.45% to 83.20% across the tested wavelet boundary modes. Boundary extension is part of the transformation’s behavior at signal edges, not an inconsequential implementation detail. In a fixed-width bit signal, those edges and the placement of meaningful bits can affect the coefficient summaries presented to k-means.

Does the classifier generalize to larger integers?

The frozen model’s reported accuracy declined as evaluation moved farther from its training range: it scored 79.98% on integers 10,001–20,000 and 59.69% on 100,001–1,000,000. Separately trained and tested models within fixed bit-length bands reportedly remained around 78%–88%.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Mutlu interprets this pattern as evidence that representation or distribution shift is a major factor in this experiment. The evidence supports a limitation in the frozen model’s out-of-range behavior; it does not establish a universal rule about all parity classifiers. A model trained and evaluated within a fixed bit-length band is a different comparison from one trained on a narrower range and then tested on much larger values.

Mutlu’s DEV article also reports that increasing the training set from 500 to 80,000 examples on a wider 0–100,000 distribution barely moved the performance ceiling. That detail is attributed to the DEV account; the cited arXiv abstract and repository do not provide those particular values.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to read the result without overclaiming

  • Separate the task from the representation. Parity is encoded directly in the LSB, so above-chance performance does not by itself show that the model learned arithmetic.
  • Keep the protocol attached to the score. The 84.26% figure belongs to the stated 32-bit, left-zero-padded, db2, symmetric-boundary, MAV, k-means setup and its held-out test split.
  • Distinguish unsupervised clustering from the full classifier. The clusters were mapped to parity using training labels.
  • Treat ablations as evidence about accessibility. Masking the LSB, moving its position, and changing boundary handling all altered performance substantially.
  • Do not conflate distribution tests. The frozen model’s out-of-range results and separately trained fixed-bit-length models answer different questions.

For anyone reproducing or inspecting the work, the repository README identifies the Git tag paper-v2 as the exact manuscript snapshot and advises using it instead of the moving main branch. The repository also identifies dependency versions and runtime information. Repository and reproducibility artifacts.

What the experiment taught me

The parity classifier is useful precisely because parity itself is so simple. Its LSB gives a clear reference point: when that information is hidden, this pipeline falls to chance; when bit position and boundary treatment change, its performance changes too. The strongest conclusion is about the interaction between representation and model, not a new way to solve parity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

As Mutlu puts it in his DEV article, “Before asking what a model learned, ask what the representation made easy to learn.”

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.