Manuscript Offprint
arXiv:2608.29279Understanding Deep Learning via Entropy Space Theory
Abstract
Deep learning is often criticized for its theoretical research lagging behind practice. To make deep learning easier to understand, the entropy space theory is first introduced here. The entropy space can cover all the possibilities of any deep learning model by topological structure. It is independent of network parameters. Through the designed fundamental operations and norm, entropy space is proven to be a normed space within the formal axiomatic framework. Based on the theory, a unified coordinate system is proposed. It can coordinate every state of a model and rank them by compression of the maximal value of information entropy. The theory offers a novel priori framework for mathematical fundamentals of deep learning.
Keywords: Normed space, Information entropy, Coordinate system, Mathematical framework, Independent of network parameters
1 Introduction
Artificial intelligence (AI) evolves extremely quickly and achieves plenty of practical successes in the past decade[1–5]. However, the larger model, the less understandings for human-being self, forms of architectures range from classic machine learnings to deep neural networks and the transformer. Their respective mathematical frameworks usually are reproducing kernel Hilbert space (RKHS)[6], multi-dimensional vector based nonlinear function[7, 8] and embedding space[9]. While pragmatic, these high dimension spaces may be too complex to cognize. Such a complexity hampers human from opening the black box inside AI[10] and from AI being modelled more like human even beyond either[11]. Due to the shortcomings of fundamental mathematical and scientific principles[12], it is urgently required a theorized paradigm shift which initiates from a novel coordinate system for mutually bridging the gap across human understanding to AI[13].
To the best of our knowledge, there are currently only six review articles in deep learning theory field[12, 14–18]. The progresses about mathematical framework are starting to take shape in some areas, however still missing the critical piece to understand the whole jigsaw puzzle for various architectures. The geometric deep learning provides a versatile mathematical blueprint expensively for deep learning architectures, based on symmetry and invariance[19]. It downsizes the hypothesis space, but not depends on a widely accepted axiom. The RKHS offers a rigorous mathematical foundation for classical learning methods[6, 20, 21]. But it is difficult to adaptive to deep learnings due to its limited inner product structure[22]. The reproducing kernel Banach space extends from the RKHS originally designed to represent with nonlinearity, asymmetry and sparsity[23, 24]. Despite a undeveloped integrated model, owing to well-defined topological constructions and complete space, Banach spaces provide highly promising hypothesis space for deep learnings. Recently, the free boundary neural operator is proposed, a novel universal framework derived from the mapping between Banach spaces[25].
Here we introduce a normed space named entropy space by topology. It is defined by the collection of quotient sets composed of all the possible ways to partition a set into disjoint, non-empty subsets. Serving as an priori framework independent of network parameters, the entropy space can cover all possibilities of any deep learning model. The norming for entropy space is proved within the formal axiomatic framework. It offers the toolkit with a norm and the fundamental operations, including addition, subtraction, multiplication and Cartesian product. Based on the theory, a universal definition of depth for deep learning is given. An unified coordinate system is build on the entropy space with the state space of input as the origin and degeneracy as the positive direction. It ranks the compression of space of information by the maximal entropy. The essence of deep learning can be summarized as minimizing information losses while compressing space quantitatively.
Following the spirit of priors in the Cartesian space, the foundation of entropy space theory is build on a priori framework covering all possibilities of arbitrary system.
2.1 Definition of entropy space
Definition 1 Let S be a system, the state space of S is set , then we define the quotient set as the origin, based on the equivalence relation , denoted as and .
Notably, represents the all possible states of arbitrary system. It is different from microstates W in Boltzmann entropy which needs to meet a group of macroscale variables as constraint, such as pressure, volume and temperature. It leads to that W is always significantly smaller than .
As the quotient set of , is a set family, and traditionally should be denoted by calligraphic letter to distinguish it from set. But the is occupied by the collection of quotient sets in the following. Thus the subscripts are used to denote quotient sets in the article.
The physical meaning of is taking that every state of the state space of a system is distinct, as the origin. The system can not be more complex than , unless expanding the state space. The system will be simpler than , if states form equivalence class(es). Such simplification and expansion can take as the coordinate origin.
Definition 2 Let be a set. Its collection of quotient sets is obtained under the canonical projection of the equivalence relations: , which are induced by all the possible ways to partition into disjoint, non-empty subsets, . The entropy space is defined as the topological space , denoted as .
If is a infinite set, the ways to partition is infinite too. If is a finite set, then the upper bound of i is . is the cardinal number of . is the Bell number of . The Bell numbers are a sequence of numbers in combinatorics that count the number of ways to partition a set with elements into non-empty, disjoint subsets[30]. The elements of are unspecified, except . Obviously, satisfies the open set axioms. One maps to a unique .
It should be noted that the rough set theory first quantifies the degree of simplification through equivalence classes[31, 32]. However, the entropy space is defined by collection of quotient sets, which is intrinsically different from the topological space defined by the universe and the approximation space in the rough set theory. It will lead to different compressed targets. The target of entropy space is the space of information. The target of rough set is information itself.
For example, in the famous LeNet-5, the typical input is a pixel and 256 grayscale image. The set represents all the possible states of input, whose cardinality equals to . The entropy space is , denoted as . The upper limit of equivalence class is . Despite an astronomical number, as a priori framework, can cover all possibilities of the LeNet-5.
Broadly speaking, due to the topological structure, the entropy space is mathematically more rigorous than widely used nonlinear function . Where represents the input, represents the output, denotes the number of layers, is the weight matrix of the L-th layer, and is the activation function of the L-th layer. The topology spaces homeomorphic to the can cover with arbitrary precision. is independent of network parameters.
The key advance of entropy space is offering a connection between infinity to finite. Possible states of systems in the real world with precision up to the Planck scale, which are far more than , almost infinite. However, arbitrary output of the is physically limited by the memory distributed for data, states for float64 and states for float32 per node.
For example, in the LeNet-5, if let be output of the n-th node, and set family be composed by all the possible quotient sets of the n-th node, then , and due to the limit of float32. is significantly smaller than . Similarly, for all the nodes of L-th layer, let be composed by all the quotient sets of L-th layer, then , the number of elements of is significantly smaller than also.
Definition 3 The entropy space of real numbers is written as within .
Where equals to , so denoted for prevention of ambiguity and formal unification in a specific context.
2.2 Addition and subtraction
Definition 4 Let there exist set , , their entropy space are and . Then we defines that (1) the addition: , ; and (2) the subtraction: , .
Where , and .
Theorem 1 The entropy space is closed under addition and subtraction in the field of .
Proof Take any two sets , and their entropy space are and . Since the are complete, and . Thus . And .
Definition 5 The entropy space of empty set is written as within the .
Theorem 2 The addition operation of entropy space has (1) one identity element , (2) inverse elements, and satisfies (3) the commutative law (4) the associative law.
Proof Take any any three sets , and their entropy spaces . (1) One identity element: since , is an identity element. Assume there exists another entropy space that is also an identity element. In particular, take , then . But by the definition of addition, . Hence, , is the unique identity element. (2) Inverse elements: . (3) The commutative law: . (4) The associative law: .
A summary is provided in Tab. 1. Follow them there is a unique .
Table 1 Laws of addition of entropy space
| Identity element | ||
|---|---|---|
| Inverse element | s.t., | |
| Commutative law | s.t., | |
| Associative law | s.t., |
2.3 Multiplication
Definition 6 Let there exist , , the entropy space is . Then we defines the multiplication: , , also denoted as .
Theorem 3 The entropy space is closed under multiplication in the field of .
Proof Take any , , and the entropy space of is . Since the are complete, . Thus .
Theorem 4 The multiplication of entropy space has (1) one identity element 1, satisfies (2) the distributive law over entropy space addition, (3) the distributive law over scalar addition and (4) the associative law.
Proof Take any , and any two sets , their entropy spaces , . (1) One identity element 1: since , 1 is an identity element. Assume there exists another entropy space that is also an identity element. . Hence, , 1 is the unique identity element. (2) The distributive law over entropy space addition: . (3) The distributive law over scalar addition: . (4) The associative law: .
A summary is provided in Tab. 2. Follow them, there is a unique .
Table 2 Laws of multiplication of entropy space
| Identity element | 1, s.t., | |
|---|---|---|
| Distributive law over entropy space addition | s.t., | |
| Distributive law over scalar addition | s.t., | |
| Associative law | s.t., |
2.4 Cartesian product
Definition 7 Let there exist n sets , and the entropy space . Then we defines the Cartesian product: , denoted as . is called the j-th coordinate of .
Definition 8 is the n-dimensional entropy space
3 Norming of entropy space
3.1 Metric space
Theorem 5 Let there exist entropy space , , set , , then is a metric space about distance , .
Where . is the cardinality. The elements of or are equivalence classes.
Proof Let there exist a entropy space , . Take any . (1) Nonnegativity and positive definiteness: according to the definition, . If , , . Due to , by definition 2, if , there are at least two different elements between and . Hence if , . (2) Symmetry: obviously by the definition. (3) Triangle inequality: . The Venn diagram of , and can partition into 3 distinct regions as shown in Tab. 3. Yellow area represents , and blue area represents . Every possible case enumerated satisfies the condition. Therefore, we conclude that is a metric space about .
3.2 Vector space
Theorem 6 Let there exist set , and , then the entropy space is a vector space.
Proof (1) is closed under addition in the field of , has one identity element . Let there exist set and inverse elements, satisfies the commutative law and the associative law, as proved in the theorem 1.5 and 1.7. (2) is closed under multiplication in the field of , has one identity element 1, satisfies the distributive law over entropy space addition, the distributive law over scalar addition, and the associative law, as proved in theorem 1.9 and 1.10. Therefore is a vector space.
3.3 Normed space
Theorem 7 Let there exist set , , and , then the entropy space is a normed space about the distance , , denoted as .
Proof (1) is vector space as proved in theorem 2.2. (2) is a metric of as proved in theorem 2.1. Therefore is a normed space about .
4 Understanding of deep learning with entropy space
4.1 Shannon-Boltzmann isoentropy
Definition 9 Let there exist set , entropy space , , then is called the maximum entropy of , , .
is the maximal value of information entropy for a system. It is obtained by the MaxEnt, when probability of any state equals to . is always greater than or equal to zero. The x represents a variable symbol of quotient topology.
Table 3 Enumeration of all the possible cases of triangle inequality
| Distinct regions | Whether | ||
|---|---|---|---|
| ① , and |  |  | Yes, and yes when . |
| Yes, and yes when . | |||
| Yes, and yes when . | |||
| Yes, and yes when . | |||
| ② , and | Yes, and yes when . Also yes when . | ||
| Yes, and yes when . | |||
| Yes. | |||
| Yes. | |||
| ③ | Yes. The (yellow area) is the same in ① or ②, while the (blue area) in ① or ② additionally includes the area (deeper blue). |
Since the empty set represents a completely determinate state with no possibilities whatsoever, by convention, .
Take a six-sided die as an example, . Regardless of whether the die is fair, , . is the Bell number with 6 elements to partition. From the 203 situations, if we pick the quotient topology called big/small, denoted as bs: , , then .
Definition 10 Let there exist set , entropy space , , then the collection of quotient sets with equal maximum entropy , is defined as Shannon-Boltzmann isoentropy.
is named this way because of Shannon entropy and Boltzmann entropy are equal when the prior probabilities of all system states are equal (MaxEnt). It constitutes a bridge between physical world and digital world.
Take the perceptron as a example, the standard perceptron is modeled as , where is the input, is the output, is the activation function, is the weight of , and is the bias. The can be arbitrarily large, also for the . However, the is limited by the memory allocated for . If float32, then all the possible states of forms a isoentropy , . It means that, although the value of is uncertain, the maximum amount of information is certain and equals to . Usually . Hence the essence of the perceptron is compression of the space of information.
4.2 Reinterpret of deep learning
Definition 11 Let there exist set , entropy space , , then depth is defined as the function , that positively correlated with .
The concept of depth previously lacked a clear definition, people often described it by number of layers. However such kind of descriptions encounter problems like “how many layers qualifies as deep?”. is characterized by both physical relevance and mathematical precision.
Definition 12 A system whose depth markedly changes during computation process is called deep learning.
Here we offer a novel definition of DL more general than traditional ones. It can include human mind and distinguish between the others non-DL.
Definition 13 Let there exist a system of deep learning with n-dimensional input. The state space of input is , and the entropy space is . Let there exist and exist the mapping: . Then if , we call it degeneracy. If , we call it regeneration. If , we call it co-isoentropy.
Resolution of input of any system subjectively in a agent perspective such as a camera, an AI program or a human-being, should be discrete and finite, not continuous or infinite. However state space of input can be a astronomical number, much less the entropy space. It will require massive computing resources, if does not change during solving. Definition 13 specifies the directions when changes. Since the relevant concepts in topology are too rigorous, the definition of degeneracy is choose from physics.
The word degeneracy originates from the German word Entartung, is widely used in various branches of physics. Its meaning refers to the phenomenon where multiple states that were originally distinct degenerate, merge, or converge into the same characteristic or a coarser level due to certain conditions. Regeneration is the reverse process of degeneracy.
Definition 14 Let there exist deep learning system whose input is within the state space , entropy space , . Then the entropy space based coordinate system of deep learning is defined as: (1) The basis depends on the input . (2) The norm depends on the . (3) The origin is . (4) The positive direction is the degeneracy direction.
Where can be in arbitrary dimension, if input is a n-dimensional subspace of a vector space ( could be any set, contain vector space). Although the mapping shown in Fig. 1 is drawn in one dimension, to make it easier both for readers to understand and authors to draw, actually can be in arbitrary dimension based on . The endpoint of degeneracy is . ( ) can be expanded endlessly by the fundamental operations of entropy space. For example, the all possible states of a multimodal deep learning model can be represented as .
Based on entropy space theory, deep learning could be understood by very simple description. In a deep learning network, from input to any node , . Then the topology spaces homeomorphic to the can cover all the possibilities of node . Due to the is limited by storage resolution, it makes up a onto the node . The space is quantitatively compressed by designed network architecture, then the information is compressed when getting through. Network parameters decide which part of space should be compressed, which are optimized automatically through gradient descent of loss function and backpropagation. Most of space is gradually compressed to the one state of zero by activation functions, to make room for features.

Fig. 1 Schematic of entropy space based coordinate system
5 Conclusion
Compared with previous studies, the main contribution of this work lies in a novel normed space, the entropy space, proposed for unified mathematical framework of deep learning models. It offers a brief but compelling explanation of why deep learning can automatically learn features. Analogous to the spatial rectangular coordinate system, the coordinate system based on the entropy space theory has the potential to serve as the mathematical foundation for cross-architecture learning, and even for artificial general intelligence.
References
[1] Tsirtsakis, P., Zacharis, G., Maraslidis, G.S., Fragulis, G.F.: Deep learning for object recognition: A comprehensive review of models and algorithms. International Journal of Cognitive Computing in Engineering 6, 298–312 (2025) https://doi.org/10.1016/j.ijcce.2025.01.004
[2] Talaei Khoei, T., Ould Slimane, H., Kaabouch, N.: Deep learning: systematic review, models, challenges, and research directions. Neural Computing and Applications 35(31), 23103–23124 (2023) https://doi.org/10.1007/ s00521-023-08957-4
[3] Li, H., Zhang, H., Hassan, A.E.: The Rise of AI Teammates in Software Engineering (SE) 3.0: How Autonomous Coding Agents Are Reshaping Software Engineering (2025). https://arxiv.org/abs/2507.15003
[4] Krokidis, M.G., Koumadorakis, D.E., Lazaros, K., Ivantsik, O., Exarchos, T.P., Vrahatis, A.G., Kotsiantis, S., Vlamos, P.: Alphafold3: An overview of applications and performance insights. International Journal of Molecular Sciences 26(8), 3671 (2025)
[5] Zhao, W.X., Zhou, K., Li, J., Tang, T., Dong, Z., Hou, Y., Zhang, B., Min, Y., Zhang, J., Liu, P., Wang, X., Du, Y., Yang, C., Chen, Y., Chen, Z., Jiang, J., Ren, R., Li, Y., Tang, X., Liu, Z., Hu, Y., Nie, J.-Y., Wen, J.-R.: A survey of large language models. Frontiers of Computer Science 20(12), 2012627 (2026) https://doi.org/10.1007/s11704-026-60308-3
[6] Aronszajn, N.: Theory of reproducing kernels. Transactions of the American mathematical society 68(3), 337–404 (1950)
[7] Cybenko, G.: Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals and Systems 2(4), 303–314 (1989) https://doi.org/10.1007/BF02551274
[8] Hornik, K., Stinchcombe, M., White, H.: Multilayer feedforward networks are universal approximators. Neural Networks 2(5), 359–366 (1989) https://doi.org/10.1016/0893-6080(89)90020-8
[9] Dar, G., Geva, M., Gupta, A., Berant, J.: Analyzing transformers in embedding space. In: Rogers, A., Boyd-Graber, J., Okazaki, N. (eds.) Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 16124–16170. Association for Computational Linguistics, Toronto, Canada (2023). https://doi.org/10.18653/v1/2023.acl-long.893. https://aclanthology.org/2023.acl-long.893/
[10] Shwartz-Ziv, R., Tishby, N.: Opening the Black Box of Deep Neural Networks via Information (2017). https://arxiv.org/abs/1703.00810
[11] Lake, B.M., Ullman, T.D., Tenenbaum, J.B., Gershman, S.J.: Building Machines That Learn and Think Like People (2016). https://arxiv.org/abs/1604.00289
[12] Suh, N., Cheng, G.: A survey on statistical theory of deep learning: Approximation, training dynamics, and generative models. Annual Review of Statistics and Its Application 12(1), 177–207 (2025)
[13] Dohare, S., Hernandez-Garcia, J.F., Lan, Q., Rahman, P., Mahmood, A.R., Sutton, R.S.: Loss of plasticity in deep continual learning. Nature 632(8026), 768–774
(2024) https://doi.org/10.1038/s41586-024-07711-7
[14] Bartlett, P.L., Montanari, A., Rakhlin, A.: Deep learning: a statistical viewpoint (2021). https://arxiv.org/abs/2103.09177
[15] Belkin, M.: Fit without fear: remarkable mathematical phenomena of deep learning through the prism of interpolation. Acta Numerica 30, 203–248 (2021) https://doi.org/10.1017/S0962492921000039
[16] Fan, J., Ma, C., Zhong, Y.: A Selective Overview of Deep Learning (2019). https://arxiv.org/abs/1904.05526
[17] He, F., Tao, D.: Recent advances in deep learning theory (2021). https://arxiv.org/abs/2012.10931
[18] Ziyin, L., Xu, Y., Poggio, T., Chuang, I.: Parameter Symmetry Potentially Unifies Deep Learning Theory (2025). https://arxiv.org/abs/2502.05300
[19] Bronstein, M.M., Bruna, J., LeCun, Y., Szlam, A., Vandergheynst, P.: Geometric deep learning: Going beyond euclidean data. IEEE Signal Processing Magazine 34(4), 18–42 (2017) https://doi.org/10.1109/MSP.2017.2693418
[20] Schölkopf, B., Herbrich, R., Smola, A.J.: A generalized representer theorem. COLT '01/EuroCOLT '01, pp. 416–426. Springer, Berlin, Heidelberg (2001)
[21] Micchelli, C.A., Xu, Y., Zhang, H.: Universal kernels. The Journal of Machine Learning Research 7, 2651–2667 (2006)
[22] Ghorbani, B., Mei, S., Misiakiewicz, T., Montanari, A.: When do neural networks outperform kernel methods? Advances in Neural Information Processing Systems 33, 14820–14830 (2020)
[23] Zhang, H., Xu, Y., Zhang, J.: Reproducing kernel banach spaces for machine learning. In: 2009 International Joint Conference on Neural Networks, pp. 3520–3527. https://doi.org/10.1109/IJCNN.2009.5179093
[24] Lin, R.R., Zhang, H.Z., Zhang, J.: On reproducing kernel banach spaces: Generic definitions and unified framework of constructions. Acta Mathematica Sinica, English Series 38(8), 1459–1483 (2022) https://doi.org/10.1007/s10114-022-1397-7
[25] Long, Z., Zhou, Q., Zhu, A., Dai, D., Liu, Y.: Deep neural operator for free boundary problems. Nature Machine Intelligence 8(5), 806–817 (2026) https://doi.org/10.1038/s42256-026-01233-9
[26] Boltzmann, L.: Über die Beziehung Zwischen dem Zweiten Hauptsatze des Mechanischen Wärmetheorie und der Wahrscheinlichkeitsrechnung, Respective Den Sätzen über Das Wärmegleichgewicht. Kk Hof-und Staatsdruckerei, ??? (1877)
[27] Gibbs, J.W.: Elementary Principles in Statistical Mechanics: Developed with Especial Reference to the Rational Foundations of Thermodynamics. C. Scribner's sons, ??? (1902)
[28] Shannon, C.E.: A mathematical theory of communication. The Bell System Technical Journal 27(3), 379–423 (1948) https://doi.org/10.1002/j.1538-7305.1948.tb01338.x
[29] Jaynes, E.T.: Information theory and statistical mechanics. Physical review 106(4), 620–630 (1957)
[30] Bell, E.T.: Exponential polynomials. Annals of Mathematics 35(2), 258–277 (1934)
[31] Pawlak, Z.: Rough sets. International Journal of Computer & Information Sciences 11(5), 341–356 (1982) https://doi.org/10.1007/BF01001956
[32] Pawlak, Z., Grzymala-Busse, J., Slowinski, R., Ziarko, W.: Rough sets. Commun. ACM 38(11), 88–95 (1995) https://doi.org/10.1145/219717.219791