Read along with the audio summary
Host Daniel Bashir notices that while the artificial intelligence world has taken a lot from the statistics community, there is a pretty heavy divergence in what researchers in each field are paying the most attention to. In this episode released on April 24, 2024, Bashir and his guest explore the cultural and methodological divide between statistics and machine learning. By the end, you will learn how advanced statistical tools like trend filtering and conformal prediction work, where their guarantees break down, and how to find reliable trends inside biased data.
Why AI and statistics grew into two very different cultures.
Artificial intelligence has roots in statistics, yet the two fields approach difficult problems from opposite directions. While statistics emphasizes careful assumptions and rigor, machine learning often prioritizes pragmatic, can do solutions. Faced with a tough problem, the machine learning approach is often to say, sounds good, we will get you something a couple days from now.
How trend filtering captures both smooth patterns and sudden shifts.
Trend filtering is a locally adaptive nonparametric regression method, allowing it to model functions that are smooth in some areas but have sharp, abrupt changes in others. It uniquely exists at the intersection of two frameworks: analysis, which penalizes complexity, and synthesis, which builds from simple functions.
A statistical wrapper that adds guaranteed prediction intervals to any AI model.
Conformal prediction acts as a powerful, distribution free wrapper, and can be applied to any machine learning model to produce prediction intervals with a valid statistical guarantee of coverage. For example, a 95 percent interval will contain the true value 95 percent of the time on average.
Why a 95 percent guarantee does not apply to every single prediction.
That 95 percent guarantee has a catch that can easily trip up practitioners. A key limitation of standard conformal prediction is that its coverage guarantee is marginal, meaning it is an average coverage over the features and across all possible data points. It is not conditional on a given feature value, so it does not guarantee that same accuracy for a specific input or subgroup.
When real world data breaks the core assumption of conformal prediction.
Even that average guarantee relies on a fragile foundation. Conformal prediction assumes that the data is exchangeable, which is similar to assuming every data point is independent and drawn from the same identical distribution. This assumption often breaks down in real world scenarios involving distribution shifts or time series data, where the patterns change over time.
How researchers are adapting conformal prediction for streaming data.
To make conformal prediction work when that exchangeability assumption fails, advanced research aims to relax the requirement. Researchers do this by treating problems in either a batch setting, which focuses on a single prediction, or an online setting where data streams in continuously. This online approach allows the method to adapt over time as the incoming data changes.
How a heavily biased survey can still reveal reliable trends.
A flawed dataset might seem useless at first glance, but throwing it out can be a mistake. A large dataset, like a large scale COVID 19 survey, can have systematic bias, such as bias due to non response, and still be extremely valuable if you do not confuse that consistent bias with statistical variance. As long as the bias is relatively stable, you can still compare things over time in a way that is not strongly affected by the bias.
Bridging the gap between statistical rigor and machine learning pragmatism means knowing both the power and the limits of your tools, from biased surveys to uncertainty wrappers. Today, the next frontier is to focus on integrating conformal prediction into practical pipelines.