[Paper Review] On Emergences of Non-Classical Statistical Characteristics in Classical Neural Networks
The paper introduces NCnet, a classical neural network that exhibits non-classical CHSH statistics arising from gradient competition in multi-task learning, with S occasionally surpassing the classical bound under specific capacity regimes and correlating with generalization.
Inspired by measurement incompatibility and Bell-family inequalities in quantum mechanics, we propose the Non-Classical Network (NCnet), a simple classical neural architecture that stably exhibits non-classical statistical behaviors under typical and interpretable experimental setups. We find non-classicality, measured by the $S$ statistic of CHSH inequality, arises from gradient competitions of hidden-layer neurons shared by multi-tasks. Remarkably, even without physical links supporting explicit communication, one task head can implicitly sense the training task of other task heads via local loss oscillations, leading to non-local correlations in their training outcomes. Specifically, in the low-resource regime, the value of $S$ increases gradually with increasing resources and approaches toward its classical upper-bound 2, which implies that underfitting is alleviated with resources increase. As the model nears the critical scale required for adequate performance, $S$ may temporarily exceed 2. As resources continue to grow, $S$ then asymptotically decays down to and fluctuates around 2. Empirically, when model capacity is insufficient, $S$ is positively correlated with generalization performance, and the regime where $S$ first approaches $2$ often corresponding to good generalization. Overall, our results suggest that non-classical statistics can provide a novel perspective for understanding internal interactions and training dynamics of deep networks.
Motivation & Objective
- Motivate a measurement-incompatibility perspective to analyze internal interactions in neural networks.
- Propose a simple classical architecture (NCnet) that can exhibit non-classical statistical behaviors in multi-task settings.
- Quantify non-classical correlations using the CHSH statistic and study their dependence on model capacity and training dynamics.
- Provide mechanistic insight into how gradient competition among shared representations drives non-local correlations.
- Explore the relevance of CHSH-based diagnostics for understanding representational capacity and generalization in real-world models.
Proposed method
- Define NCnet as a shared-hidden-layer architecture with two task-specific heads reflecting a multi-task setup.
- Formulate tasks on Alice’s and Bob’s sides to map to CHSH A_i, B_j outputs and compute C(A_i,B_j).
- Compute CHSH statistic S = C(A1,B1) + C(A1,B2) + C(A2,B1) - C(A2,B2) and compare with classical bound 2 and Tsirelson bound ~2.828.
- Investigate how S varies with hidden-layer size n (n=2,3,4) in a controlled XORnet-inspired setup.
- Extend to real-world architectures (Multilingual BERT and BERT with LoRA) and multi-task datasets to validate non-classical behavior in practice.
Experimental results
Research questions
- RQ1Can a classical neural network exhibit non-classical statistical correlations akin to Bell-type violations in CHSH tests?
- RQ2How do task structure and shared representations, under gradient competition, contribute to CHSH violations?
- RQ3How does model capacity (hidden units or LoRA rank) influence the CHSH statistic and training dynamics?
- RQ4Is non-classicality linked to generalization performance in multi-task learning, and does it persist in real-world models?
- RQ5Can CHSH-based diagnostics serve as a supplementary tool for analyzing internal coupling and capacity in neural networks?
Key findings
- S can exceed the classical bound 2 in NCnet for certain hidden-unit counts, indicating non-classical correlations.
- The CHSH statistic S peaks around a critical capacity (e.g., n=3 in the NCnet setup) and then decays toward 2 as capacity grows further.
- Non-classicality is driven by gradient competition due to shared parameters, not explicit communication channels.
- In real-world-like experiments with LoRA, S grows with capacity under multilingual training but can exceed 2 under mixed tasks, depending on task difficulty balance.
- Generalization correlates positively with S in low-to-moderate capacity regimes, aligning with near-optimal capacity where S approaches 2.
- S above 2 is a sufficient condition for non-classicality in this setting, suggesting a broader applicability of CHSH as a diagnostic in neural networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.