Introduction
This paper provides a theoretical proof for a phenomenon long observed but poorly understood: why well-trained Deep Neural Networks (DNNs) seem to learn "symbolic" concepts. By establishing three common-sense conditions regarding model derivatives and robustness to occlusion, the authors prove that DNNs naturally converge toward a small set of sparse "interaction primitives"—essentially simple AND-relationships between input features—rather than a chaotic mess of fuzzy patterns.
The Challenge of Proving Symbolic Logic in DNNs
In the field of Explainable AI (XAI), researchers frequently attempt to map a neural network’s internal logic to human-understandable concepts. However, most existing methods are heuristic, relying on manual annotations or intuitive assumptions about what a neuron represents.
The fundamental challenge remains: Can we strictly prove that a black-box DNN encodes symbolic logic? While empirical observations suggest that networks often focus on a few salient features, there has been no rigorous mathematical proof explaining why this sparsity emerges. This paper seeks to bridge that gap by mathematically defining "symbolic concepts" and proving their emergence under common training conditions.
Theoretical Framework: Harsanyi Interactions
To formalize the notion of a "concept," the authors utilize Harsanyi interactions (or Harsanyi dividends). In this framework, an interaction represents a pure AND relationship between a set of input variables (such as image patches or words). An interaction effect $I(S)$ is only "activated" when all variables in the set $S$ are present.
To prove that these interactions are sparse, the authors propose three axiomatic conditions:
- Zero High-Order Derivatives: The network does not rely on extremely complex, high-order combinations of inputs.
- Monotonicity: On average, the model's confidence increases as more of the input is "unmasked" or visible.
- Bounded Degradation: The model’s confidence does not drop precipitously when parts of the input are occluded; the decrease is bounded by a polynomial of degree $p$.
By applying Taylor expansions to the network output and leveraging these assumptions, the authors derive a mathematical upper bound for the number of "valid" (salient) interactions, proving they are significantly fewer than the $2^n$ total possible combinations.
Key Insights
- Sparsity as a Task Property: The most profound insight is that interaction sparsity isn't necessarily a result of model architecture or specific regularization (like $L_1$ loss). Instead, it's a property of the task itself. If a task requires a model to be robust to occlusion (smooth inference), the model is mathematically incentivized to learn sparse primitives.
- The "AND" Logic of DNNs: The paper reinforces the idea that DNNs function as a collection of "soft" symbolic rules. For example, to recognize a "dog," the network might learn a primitive that triggers only when specific facial features are jointly present.
- Universality: The proof is architecture-agnostic. Whether evaluating a Transformer, a CNN, or a simple MLP, if the three conditions are met, sparse symbolic concepts will emerge.
- High-Order Interactions are "Noisy": Experiments showed that very high-order interactions (combinations of many input variables) usually have near-zero effects, supporting the assumption that models prefer simpler, lower-order logic.
Empirical Validation and Results
The authors validated their theory across a diverse range of architectures and tasks, including Large Language Models (OPT, LLaMA, Aquila) on SQuAD, Vision models (PointNet, ResNet, VGG) on ShapeNet and image datasets, and MLPs on tabular data.
- Theoretical vs. Real Sparsity: In experiments with LLMs, the authors found that while the mathematical upper bound for valid interactions was around 200–260, the actual number of salient interactions was even lower (typically 30–50). This is a tiny fraction of the $2^{10} = 1024$ potential interactions for a 10-word input.
- Monotonicity Prevalence: The "Monotonicity" assumption held true for approximately 85% to 90% of samples across different LLMs, suggesting the theory applies broadly to real-world cases.
- Visual Evidence: Using PointNet++ on ShapeNet, the authors visualized specific interactions and showed they consistently contributed positive numerical effects to the classification score across different samples.
Limitations and Future Directions
While groundbreaking, the theory has limitations. It currently explains sparsity for the ~85% of samples that follow the monotonicity rule, but it doesn't yet strictly prove sparsity for the remaining "non-ideal" samples (though they are empirically sparse too). Additionally, the derived upper bound for the number of interactions remains somewhat loose.
Finally, the authors identify specific edge cases where sparsity fails, such as tasks involving parity (judging if a binary sequence has an odd/even number of 1s) or periodic functions, where the monotonicity assumption is inherently violated. Future work will aim to tighten these bounds and quantify the exact boundaries where symbolic emergence breaks down.
Summary updated