基于小波的特征提取与无监督聚类用于奇偶检测:特征工程视角
Wavelet-Based Parity Detection Revisited: Representation Dependence, Generalization, and Mechanistic Analysis
AI总结:
本文提出一种将基于小波的特征提取与无监督k-means聚类相结合的过度工程化方法,在不使用模运算和标签监督下实现约69.67%的奇偶检测准确率,揭示了经典信号处理技术在离散符号域的潜在结构发现能力。
摘要:
本文探讨了一种针对奇偶检测(判断数字是奇数还是偶数)经典问题的刻意过度工程化方法,该方法将基于小波的特征提取与无监督聚类相结合。不依赖模运算,而是将整数转换为小波域表示,从中提取多尺度统计特征,并使用k-means算法进行聚类。由此产生的特征空间揭示了奇数和偶数之间有意义的结构差异,在没有任何标签监督的情况下实现了约69.67%的分类准确率。这些结果表明,最初为连续数据设计的经典信号处理技术,即使在纯离散符号领域也能发现潜在结构。除奇偶检测外,该研究还提供了一个说明性视角,说明如何将特征工程和聚类重新用于非传统机器学习问题,从而可能弥合符号推理与基于特征的学习。
英文摘要:
Parity is exactly determined by the least significant bit (LSB), so machine learning is unnecessary for solving the task. This work instead uses parity as a controlled diagnostic for studying how a classical signal-processing pipeline preserves, amplifies, or suppresses access to symbolic information embedded in a numerical representation. Integers from 0 to 10,000 are encoded as fixed-width 32-bit binary signals, decomposed with a level-3 Daubechies-2 (db2) discrete wavelet transform, summarized by mean absolute coefficient magnitude, and clustered independently per subband with k-means. Clustering is unsupervised, while cluster-to-parity calibration uses training labels only under a stratified 60/20/20 train/validation/test protocol. The frozen configuration reaches 84.26% accuracy on the held-out test set (95% Wilson CI: 82.60-85.79%), and 84.20% +/- 0.57% across 20 stratified resplits. Raw binary summary statistics reach 61.30%, while masking the LSB reduces validation accuracy to 48.15%, consistent with chance. The A3 approximation band alone retains 83.20%, whereas detail bands remain near chance. Performance is strongly representation-dependent: moving the parity bit changes validation accuracy up to 98.60%, and changing the wavelet boundary mode ranges from 54.45% to 83.20%. Cross-magnitude extrapolation degrades from 79.98% on 10,001-20,000 to 59.69% on 100,001-1,000,000. These results do not show that wavelets discover the arithmetic rule of parity. Rather, they show that information already present in the binary encoding becomes more or less recoverable depending on multiscale filtering, spatial alignment, and boundary handling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。