Submitted:
09 September 2025
Posted:
11 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Assess Learnability: Determine if a problem is fundamentally solvable by iterative methods. A "non-learnable" problem, as we define it, is guaranteed to fail with standard first-order techniques, saving countless hours of fruitless experimentation. This assessment directs efforts towards necessary reformulation or regularization.
- Assess Streamability: For learnable problems, determine if they possess the "streamable" property—a specific low-rank structure in their residuals. This is the gateway to extreme computational efficiency.
- Unlock Efficiency Gains: A positive streamability test guarantees that the problem can be solved with algorithms whose memory and computational footprints are orders of magnitude smaller than their traditional "batch" counterparts. For a problem in dimension with a streamable rank of , this translates to a staggering reduction in memory and per-iteration cost.
2. A Practical Decision Framework for Optimization
- 1.
-
The Learnability Test: Is the Problem Solvable? The first and most crucial question is whether the problem is learnable. In our framework, this means verifying the existence of an associated -averaged operator with a fixed point. A problem that fails this test is classified as non-learnable.
- Implication: A non-learnable problem is guaranteed to diverge or fail to converge with standard iterative first-order methods (like gradient descent and its variants). This is not a statement about a specific algorithm’s failure, but a fundamental property of the problem itself.
- Action: Instead of wasting resources on fruitless tuning of a doomed approach, the practitioner knows immediately that the problem must be fundamentally altered. The only paths forward are through regularization (to smooth the problem), reformulation (to create a different but related problem), or feature lifting (to embed the problem in a higher-dimensional space where it becomes learnable).
- 2.
-
The Streamability Test: Is Extreme Efficiency Possible? If a problem passes the learnability test, it is guaranteed to be solvable with a traditional batch algorithm (e.g., using the full dataset or a dense matrix operator at each step). The next question is whether we can do dramatically better. This is the streamability test. A problem is streamable if its underlying residual operator admits a uniform low-rank approximation. We provide a concrete numerical procedure, the ULRA-Test (Algorithm 10), to verify this property.
- Implication: A positive streamability test is a gateway to enormous computational savings. It certifies that the problem can be solved using a streaming algorithm that only requires a small, rank-K portion of the operator at each step.
- Action: If the problem is streamable, the practitioner can confidently select a streaming algorithm, knowing it will converge and knowing the trade-offs.
- 3.
-
Algorithm Selection: Matching the Algorithm to the Problem DNA The results of these two tests dictate the optimal algorithmic path:
- If Non-Learnable: The only choice is to go back and modify the problem itself. No off-the-shelf optimization algorithm will work.
- If Learnable but Not Streamable: The problem is solvable, but likely requires batch methods. The practitioner should budget for memory and computation proportional to for a d-dimensional problem. This is a perfectly valid and often necessary approach for many problems.
-
If Streamable at Rank K: The practitioner now has a choice, unlocking the possibility of extreme efficiency gains. The decision can be based on specific constraints:
- –
- Memory-Constrained Environments: Choose the streaming algorithm. Its memory footprint will be instead of —a potential reduction from terabytes to megabytes.
- –
- Communication-Limited Settings (e.g., Federated Learning): The low-rank structure allows for massive compression of updates, making distributed training feasible over slow networks.
- –
- When Maximum Accuracy is Paramount: If the small approximation error () of the streaming method is unacceptable for the final application, the practitioner can still fall back to the batch method, making a fully informed decision about the cost-accuracy trade-off.
3. Mathematical Preliminaries
4. The Three-Tier Hierarchy
- A problem is non-learnable if no α-averaged operator exists with a fixed point such that converges.
- A problem is learnable if there exists an α-averaged operator with fixed point such that the iteration converges to for all .
-
A problem is streamable at rank K if it is learnable and the residual mapping satisfiesfor bounded maps and some .
- Every learnable problem admits a convergent batch method
- Every streamable problem admits both batch and streaming solutions
- Non-learnable problems admit no iterative solution under first-order methods
5. Fundamental Theorems
Assumptions.
6. Koopman Operator Connection
- The system is learnable in the EDMD coordinates
- K has spectral radius (contractive dynamics)
- The system is streamable at rank r if K has effective rank r
7. Complete Problem Classification with Applications
| Problem Class | Batch | Streaming | Typical Applications |
|---|---|---|---|
| Streamable Subclass | |||
| PCA / Oja’s algorithm [6] | ✓ | ✓ (rank-1) | Dimensionality reduction |
| Matrix completion (Frank-Wolfe) [3] | ✓ | ✓ (rank-1) | Recommender systems |
| Separable proximal (L1) | ✓ | ✓ (coord.) | Sparse regression |
| Linearized attention [7] | ✓ | ✓ (approx) | Transformer efficiency |
| PowerSGD compression [8] | ✓ | ✓ (rank-K) | Distributed training |
| Federated learning | ✓ | ✓ (compress) | Edge computing |
| Learnable but Non-Streamable | |||
| Dense logistic regression | ✓ | × | Classification |
| PDE discretizations | ✓ | × | Scientific computing |
| General convex problems | × | Optimization | |
| Non-Learnable | |||
| XOR in raw features | × | × | Feature engineering needed |
| softmax | × | × | Regularization required |
| Chaotic dynamics | × | × | Stabilization needed |
| Discontinuous functions | × | × | Smoothing required |
8. Canonical Examples with Concrete Benefits
- Memory: Batch requires (storing Σ), streaming requires (two vectors)
- Computation: Batch ops, streaming ops per iteration
- Memory: Standard attention , linearized
- Computation: vs operations
- Scaling: Linear vs quadratic in sequence length
- Communication: Full gradients , compressed (100× reduction)
- Bandwidth: Enables training over slow networks (10 Mbps vs 1 Gbps required)
- Convergence: Maintains linear rates with bias floor
Dense Logistic Regression (Learnable but Non-Streamable).
9. The Payoff: Extreme Efficiency Gains from Streamability
- Batch Methods: Require storing a dense operator, typically a matrix. The memory complexity is .
- Streaming Methods: Only require storing the components of the rank-K factorization. The memory complexity is .
- Batch Updates: Involve operations with the dense operator, such as matrix-vector products. The computational cost is .
- Streaming Updates: Involve operations only with the low-rank components. The computational cost is .
9.1. The Practical Impact: From Terabytes to Megabytes, From Days to Seconds
-
Memory Savings:
- –
- Batch Requirement: Storing a matrix of double-precision floats (8 bytes each) requires bytes, which is 8 Terabytes (TB). This is beyond the capacity of all but the most specialized and expensive supercomputing nodes.
- –
- Streaming Requirement: Storing the rank-100 factors requires approximately bytes, which is bytes, or 1.6 Gigabytes (GB). This fits comfortably in the RAM of a standard laptop.
The memory reduction factor is . This is the difference between a problem being fundamentally impossible on most hardware and being easily manageable. -
Computational Speedup:
- –
- Batch Requirement: A single iteration involving a dense matrix-vector product would require roughly floating-point operations (FLOPs). On a processor capable of 100 GFLOPs (a reasonable estimate for a high-end CPU core), this single step would take seconds.
- –
- Streaming Requirement: A single iteration using the low-rank approximation requires roughly FLOPs. On the same processor, this takes seconds, or 2 milliseconds.
The per-iteration speedup is also a factor of . An optimization that might take a full day using a batch approach (assuming 8,640 iterations) could be completed in under 20 seconds with the streaming algorithm.
10. Algorithmic Verification Protocol
- Set sample size for universal constant C
-
For to m:
- Sample random point
- Compute residual
- Form matrix
- Compute SVD:
- Estimate approximation error:
- If : Return "Streamable at rank K"
- Else: Return "Not Streamable at rank K"
11. Necessary and Sufficient Conditions
- The effective dimension of the residual space is at most K
- For smooth problems, the Hessian has at most K significant eigenvalues near the optimum
- The problem admits a finite-dimensional Koopman representation with contractive dynamics
12. Impossibility Results
- 1.
- Chaotic Systems: The logistic map is non-learnable—no finite-rank streaming algorithm can approximate the dynamics with bounded error.
- 2.
- Deep Networks: For neural networks with layers and generic weights, streaming algorithms cannot achieve batch-equivalent performance without exponential rank growth in network parameters.
- 3.
- Discontinuous Functions: Problems with discontinuous objectives admit no averaged operator, hence are non-learnable.
13. Conclusions
- Rigorous Classification: Theorem 1 provides exhaustive categorization with strict inclusions
- Computational Mappings: Theorem 4 quantifies efficiency gains with concrete examples
- Koopman Integration: Lemma 1 connects to dynamical systems theory
- Practical Verification: Algorithm 10 enables streamability testing
- Fundamental Limits: Theorem 1 establishes impossibility results
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Use of Artificial Intelligence
Appendix A. Canonical Examples
Appendix A.1. PCA via Oja’s Algorithm (Exact Rank-1)
Appendix A.2. Matrix Completion / Nuclear Norm via Frank–Wolfe
Appendix A.3. L1-Regularized Logistic Regression
Appendix A.4. Koopman EDMD
Appendix B. Recursive Streaming and Finite-Layer Networks
Appendix C. Real-Time Streaming Control Under Compute Budgets
References
- H. H. Bauschke and P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces (Springer, New York, 2011). [CrossRef]
- A. Beck, First-Order Methods in Optimization (SIAM, Philadelphia, 2017). [CrossRef]
- M. Jaggi, Revisiting Frank-Wolfe: Projection-free sparse convex optimization, in Proceedings of the 30th International Conference on Machine Learning (2013) pp. 427–435. [CrossRef]
- B. O. Koopman, Hamiltonian systems and transformation in Hilbert space, Proceedings of the National Academy of Sciences 17, 315 (1931). [CrossRef]
- M. O. Williams, I. G. Kevrekidis, and C. W. Rowley, A data-driven approximation of the Koopman operator: Extending dynamic mode decomposition, Journal of Nonlinear Science 25, 1307 (2015). [CrossRef]
- E. Oja, Simplified neuron model as a principal component analyzer, Journal of Mathematical Biology 15, 267 (1982). [CrossRef]
- A. Katharopoulos et al., Transformers are RNNs: Fast autoregressive transformers with linear attention, in Proceedings of the 37th International Conference on Machine Learning (2020) pp. 5156–5165. [CrossRef]
- T. Vogels et al., PowerSGD: Practical low-rank gradient compression for distributed optimization, in Advances in Neural Information Processing Systems (2019) pp. 14348–14358. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).