[Paper Review] Real numbers, data science and chaos: How to fit any dataset with a single parameter
This paper demonstrates that any dataset—regardless of modality (time-series, images, audio)—can be perfectly fitted by a single-parameter, differentiable function $ f_\alpha(x) = \sin^2(2^{x\tau} \arcsin \sqrt{\alpha}) $, leveraging chaotic dynamics to encode all data into a single real-valued parameter $ \alpha $. The key contribution is a theoretical and practical framework showing that real numbers, as infinite-precision objects, can encode arbitrary datasets with arbitrary precision using just one parameter.
We show how any dataset of any modality (time-series, images, sound...) can be approximated by a well-behaved (continuous, differentiable...) scalar function with a single real-valued parameter. Building upon elementary concepts from chaos theory, we adopt a pedagogical approach demonstrating how to adjust this parameter in order to achieve arbitrary precision fit to all samples of the data. Targeting an audience of data scientists with a taste for the curious and unusual, the results presented here expand on previous similar observations regarding expressiveness power and generalization of machine learning models.
Motivation & Objective
- To demonstrate that any dataset—regardless of modality—can be represented by a single differentiable function with one real parameter.
- To explore the implications of this result for model expressiveness, generalization, and the limitations of parameter-counting heuristics in machine learning.
- To illustrate that real numbers, as non-terminating entities, inherently contain infinite information, making generalization impossible in such models.
- To provide a pedagogical framework for constructing such a function and tuning $ \alpha $ to achieve arbitrary precision fitting.
- To challenge conventional wisdom in machine learning about model capacity and generalization by showing that a single parameter can encode any dataset.
Proposed method
- The proposed method uses the function $ f_\alpha(x) = \sin^2(2^{x\tau} \arcsin \sqrt{\alpha}) $, where $ \alpha \in \mathbb{R} $ is the single learnable parameter and $ \tau \in \mathbb{N} $ controls precision.
- The function is derived from the dyadic transformation and chaotic dynamics, ensuring sensitive dependence on initial conditions, which enables high expressiveness.
- Data is encoded into $ \alpha $ by converting the dataset into a binary string of length $ n\tau $, then mapping it to a real number via binary-to-decimal conversion using arbitrary-precision arithmetic.
- The method uses the mpmath library for arbitrary-precision arithmetic to maintain fidelity during conversion between binary and decimal representations.
- The function is evaluated at integer points $ x \in [0, n] $, producing a sequence that matches the target dataset when $ \alpha $ is correctly chosen.
- The approach treats the dataset as a list of numerical values $ \mathcal{X} = [x_0, \dots, x_n] $, regardless of modality, and maps them to $ y = f_\alpha(x) $.
Experimental results
Research questions
- RQ1Can a single-parameter, continuous, differentiable function represent any arbitrary dataset across diverse modalities?
- RQ2To what extent does the infinite information content of real numbers undermine the concept of generalization in machine learning models?
- RQ3How does this construction challenge traditional measures of model capacity such as parameter counting, VC dimension, or Rademacher complexity?
- RQ4What is the role of chaos theory and the dyadic transformation in enabling such high expressiveness with minimal parameters?
- RQ5Can this method be used to generate complex signals such as audio, images, or text using only one real-valued parameter?
Key findings
- The function $ f_\alpha(x) = \sin^2(2^{x\tau} \arcsin \sqrt{\alpha}) $ can exactly reproduce any dataset of $ n $ numerical values when $ \alpha $ is chosen appropriately.
- The method successfully generates complex outputs such as animal shapes, audio signals (e.g., 'Hello world' speech), and CIFAR-10-like images using only one real parameter.
- The model achieves arbitrary precision fitting by encoding the entire dataset into the initial condition $ \alpha $, which is derived from a binary string of length $ n\tau $.
- When $ \alpha $ is represented with finite precision (e.g., $ \tau = 8 $), predictions diverge beyond the significant digits, confirming that the model lacks generalization.
- The results show that parameter counting is a poor proxy for model capacity, as a single real parameter can encode any finite dataset.
- The study highlights the importance of complexity bounds such as minimum description length, which trade off fit quality and expressive power, over naive parameter counts.
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.