certainity is all we need?
1. Why is data probabilistic?
In the present paradigm of machine learning, what we all are quite familiar with is that these models are probabilistic in nature and it tries to model a distribution of the data.
But why aren't we deterministic, isn't that what hyper-intelligent models be like?
In quite some long time of history, things have been deterministic right? the laws of motion, the kepler laws of planetary motion, the law of thermodynamics*.
Well, so it seems, for many of the observable behavior of the universe, things have been deterministic because despite nature being wildly complex, at an aggregate level(observable behaviour), many variables cancel out. for eg.
-
Countless forces on a falling object → but motion is a parabola
-
A pendulum
Microscopically:
- trillions of atoms vibrating
- internal stresses
- microscopic friction
- air drag
- molecular turbulence
- electromagnetic interactions
But the observed behavior collapses to:
The many latent varibles which we still aren't aware of are still there, but at this macroscopic level they supressed each other.
The root of all this, Nature, which generates the data, the process which we oftenly refer to as Data Generating Process, is so much complex that it is for now not possible to deteministically model it.
this uncertainity stems out of our ignorance of the world and the underlying processes
Laplace famously articulated this vision in 1814, proposing a hypothetical intellect, often referred to as "Laplace's Demon," which, if it knew the precise position and momentum of every particle in the universe at a single instant, could calculate the entire future of the cosmos with absolute certainty. For Laplace, "nothing would be uncertain and the future, as the past, would be present to its eyes". Imagine a controlled environment where a its completely vacuum but a ball is moving at a constant velocity v, now we can deterministically say that after t seconds, the ball will be moving with v velocity. The environment was so simple, that we easily intuitively knew the latent variable which here was nothing.
Due to our incomplete knowledge of the world and the emergence of stochasticity out of this ignorance, the field of Machine Learning has been forced to abandon the deterministic dream of in favor of the probabilistic reality of . In this stochastic sense, a deterministic model is much less intelligent since its throwing away the information which is there in the disribution.
The raw material of ML is not "truth," but "observation."
A valid doubt would be, but all models look so deterministic, for eg. a linear regression model, given a the input, will deterministically predict the output. The model inherently is probabilitic, its just we report the MAP/Mean and not the distribution.
Noise = Uncertainity = (Epistemic + Aleatoric) noise
Epistemic uncertainty arises due to our incomplete knowledge of the world and the underlying processes. The latent variables that affect the process are unknown to us. With more data, we reduce this certainity. Aleatoric uncertainty is the so called inherent randomness in the data generation process. It captures the noise that is intrinsic to the phenomenon being observed. Crucially, aleatoric uncertainty cannot be reduced by collecting more data. It is a property of the data distribution itself. This is the variables which can't be resolved at macroscopic level.
But I believe its also just our ignorance of the true latent variables for this cause-effect relationship. Every event has a cause, so if outcomes look random, it’s because we haven’t identified the true complete state.
2. What Does It Mean to “Model” Data?
I earlier associated probability with the frequentist view that it is the relative occurence of an event. So are we teaching our model to just model the count of an event?
Well not exactly, what the model is learning, is actually the ability to generalize to new unseen data. As we are focusing on real data or data that has some structure or is meaningful, what we know is that this data is not just random, but has some structure or correlation between the variables of the data. Think of a real image, if one pixel's value changes to change the color, lets say, then nearby pixels also change to maintain the tag of it being a meaningful image to us. This is the very naive way to tell that our data is constrained by some rules.
So is not just a relative occurence of an event, but in higher dimensions it is like a constrain manifold. The natural training data is just a small sample of this manifold and the objective of our model is to learn this manifold using the limited data. Take protein sequences for example, what the model learn by seeing the naturally occuring sequences is the constraint manifold(constrained by various laws of physics and chemistry) and the model can generate new sequences which can actually fold and are stable in nature. As you may now think, when we speak of Data Generating Process, the nature has some fundamental rules governing the generation and this is what makes the data lie on a constrain manifold.
To summarize, is a function in higher dimensions of the constraints. Its high will be at a data point which is more likely to have been generated by nature or in other words, which is meaningful to us.