Regularized Halfspace Depth for Functional Data
summary
The gist
Regularized halfspace depth for functional data proposes a new depth notion to avoid degeneracy in Tukey’s halfspace depth when applied to functional data.<ref:2311.07034#pg2…
In short
The regularized halfspace depth (RHD) is a new method for measuring functional depth to avoid issues with Tukey's depth when applied to complex functional data. It works by restricting projection directions based on a regularization parameter $\lambda$, allowing the measurement to capture different aspects of variation, such as shape or magnitude, and enabling robust outlier detection in functional trajectories.
Key concepts
- Regularized Halfspace Depth (RHD)
- RHD is a modified depth notion for functional data that restricts projection directions to those with a small reproducing kernel Hilbert space norm. This regularization prevents degeneracy where standard Tukey's depth assigns zero depth to many points, leading to more meaningful rankings of functional data.
- Regularization Parameter ($\lambda$)
- The parameter $\lambda$ controls the level of regularization in RHD. A larger $\lambda$ emphasizes detecting higher-frequency shape differences, while a smaller $\lambda$ focuses more on overall magnitude variations within the data.
- Outlier Detection
- RHD is used to detect outliers by prescreening candidates with the least approximate depth values. The method is robust because its sensitivity to outliers helps reveal both shape and magnitude anomalies in functional trajectories, even when using a non-robust sample covariance operator.
Terminology used across episodes
This episode discusses
- Regularized Halfspace Depth for Functional Data · Paper Radio
- Hypothesis Testing for Functional Linear Models via Bootstrapping
The paper
Regularized Halfspace Depth for Functional Data · Read on arXiv
Department of Statistics, North Carolina State University · Division of Biostatistics, University of California, Berkeley · Department of Health Sciences, Northeastern University
Data depth is a powerful nonparametric tool originally proposed to rank multivariate data from center outward. In this context, one of the most archetypical depth notions is Tukey's halfspace depth. In the last few decades notions of depth have also been proposed for functional data. However, Tukey's depth cannot be extended to handle functional data because of its degeneracy. Here, we propose a new halfspace depth for functional data which avoids degeneracy by regularization. The halfspace projection directions are constrained to have a small reproducing kernel Hilbert space norm. Desirable theoretical properties of the proposed depth, such as isometry invariance, maximality at center, monotonicity relative to a deepest point, upper semi-continuity, and consistency are established. Moreover, the regularized halfspace depth can rank functional data with varying emphasis in shape or magnitude, depending on the regularization. A new outlier detection approach is also proposed, which is capable of detecting both shape and magnitude outliers. It is applicable to trajectories in L squared, a very general space of functions that include non-smooth trajectories. Based on extensive numerical studies, our methods are shown to perform well in terms of detecting outliers of different types. Three real data examples showcase the proposed depth notion.
Transcript
Introduction to the show: ident: Statistics. The day in statistics: methods, theory and the inference under them.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "Regularized Halfspace Depth for Functional Data".
Title and authors: Tom: So, we're looking at a paper called "Regularized Halfspace Depth for Functional Data". It’s dealing with a problem where standard methods for measuring depth break down when you have functional data.
Jane: Right, it sounds complicated because it’s trying to fix something that existing depth measures can't handle. What exactly is the core issue they are tackling here?
Tom: The main thing they point out is that with infinite-dimensional spaces, which functional data lives in, the set of projection directions becomes way too rich. That makes Tukey's halfspace depth degenerate because it essentially assigns zero depth to almost everything you look at.
Lu: Exactly. It’s that the naive extension of Tukey's depth to functional data fails because there are just too many directions available for projections, so the definition based on the most extreme projection ends up being tiny, like zero.
Meng: So if we try to use a standard method, we just get this bunch of observations all having zero depth? That sounds like useless information when you're trying to rank things.
Jane: Precisely. And they propose a new notion called the regularized halfspace depth, or RHD, which fixes this by putting a restriction on those projection directions.
Tom: They restrict the set of allowed projection directions to those with a small reproducing kernel Hilbert space norm. They define this restricted set using a parameter lambda, which controls how much regularization you use.
Lu: The paper says that this restriction resolves the degeneracy issue because it limits the set of directions we consider for defining depth, which is what they call V sub lambda.
Jane: And they introduce a flexibility here too; depending on the value of lambda, you can emphasize different kinds of variation in the data. A larger lambda seems to emphasize higher frequency shape differences.
Tom: And a smaller lambda focuses more on overall magnitude instead of those finer shapes, which is interesting because it lets you tune the depth measure yourself.
Meng: Tuning parameters like that is important when you're moving from theory to actual deployment; how do we actually pick the right lambda value for a real dataset?
Lu: They suggest that tuning lambda can be done by looking at things like the fraction of variance explained, which they call the FVE. But they also recommend setting lambda based on a quantile level of those RKHS norms, specifically u equals zero point nine five.
Jane: So it gives us a concrete starting point for tuning, which is helpful for practical applications when dealing with complex functional trajectories.
Tom: And they also established some solid theoretical properties for this RHD, like isometry invariance and maximality at the center of the depth function. That’s good stuff because it shows the measure is mathematically sound.
Meng: Theoretically sound is one thing, but what about practical performance? Does this actually help us find outliers or rank things better in a real-world scenario?
Title and authors: Lu: The paper introduces a new outlier detection approach alongside the RHD. It’s designed to detect both shape and magnitude outliers in those functional trajectories using L two norm measurements.
Jane: That sounds like it could be useful for finding anomalies that aren't just extreme values but are also structurally different from the rest of the data.
Tom: And they show that this RHD-based median performs well against most outliers in both magnitude and shape contamination scenarios compared to methods like Tukey’s depth or modified band depth.
Meng: So it handles both extremes and shapes better than what we usually use, which is promising for production pipelines where data quality isn't guaranteed.
Lu: They also tested this on real-world data sets like medfly and sea surface temperature data, showing that the RHD is adequate to deal with those complex structured curves.
Jane: That’s a big deal because functional boxplots fail on that kind of highly oscillatory data, so having a method that actually works there is what we need.
Tom: And they found it performs well even when you have shape outliers, especially when you set lambda to a larger value, like zero point nine or zero point nine five.
Meng: So if I'm looking at production data and I suspect some of the curves are just weird shapes, this method seems to give me a better signal than my current tools.
Lu: It does capture different modes of variation depending on lambda, so you get control over what aspect of the data you're measuring most strongly.
Jane: So, to wrap up on the methodology—we have a new depth notion called RHD that restricts projection directions based on their kernel space norm, and tuning that restriction with lambda lets us emphasize shape or magnitude.
Tom: And they also gave us a way to detect both shape and magnitude outliers using this framework. It’s a solid addition to the toolbox for functional data analysis.
Meng: It seems like a robust tool because it’s designed to handle the high variability in these complex curves without needing extra presmoothing steps first.
Lu: The theoretical properties they established, like upper semicontinuity and level sets being closed and convex, give us confidence that this new depth function behaves nicely mathematically.
Jane: It seems like a solid foundation for using depth-based rankings in functional data when you need more nuance than standard Tukey’s depth allows.
Tom: So we're looking at the paper "Regularized Halfspace Depth for Functional Data" and how RHD solves the degeneracy problem by regularization, letting us control sensitivity via lambda, and offering a new way to spot outliers.
Meng: It’s a good tool if you’re dealing with complex trajectories where you need to rank things accurately despite the noise.
Lu: It gives us more control over what we are measuring in those infinite-dimensional spaces.
Jane: It seems like a solid direction for applying depth measures to functional data when traditional methods fall short on these complex shapes.
The paper's summary: Tom: So, we just talked about how standard depth measures break down in functional data because there are too many directions for projections, leading to zero depth everywhere.
Jane: Right, and now Tom and I are going to look at how this new method, Regularized Halfspace Depth or RHD, fixes that problem by putting a restriction on those projection directions.
Lu: What they're doing is defining a specific set of allowed directions using something called lambda. This restricts the kernel space norm of those projections to be small.
Tom: So it’s like if you’re looking at an infinitely high-dimensional room, instead of checking every single direction, you only check the ones that have a relatively small footprint.
Jane: Exactly. And they show that this regularization helps prevent that zero depth problem from happening for almost all observations. It makes the depth values more spread out and positive in a useful way.
Lu: They also introduce a tuning knob called lambda, which controls the whole behavior of the RHD measurement. A bigger lambda lets you emphasize those finer shape differences in your data trajectories.
Tom: And smaller lambda focuses on that overall magnitude of the data instead of just the little wiggles in shape. That's a practical thing—you can tune it to what you’re actually trying to measure.
Jane: It also has these nice mathematical properties, like upper semi-continuity and level sets that are closed and convex, which means the results are theoretically sound.
Lu: And they pair this depth notion with a new outlier detection approach that can catch both shape outliers and magnitude outliers in those L two norm measurements.
Tom: That's the practical part for me—being able to flag anomalies without having to do all that heavy presmoothing work first, which is what I hate doing in production.
Jane: It seems like this gives us a more robust way to rank and spot problems in these complex, wiggly functional curves. But how much does tuning lambda actually matter for deployment?
Lu: They recommend setting lambda based on a quantile level of those kernel space norms, specifically the zero point nine five quantile.
Tom: So we have a specific starting point for setting that parameter without having to guess it randomly across all possible values.
Jane: And they also suggest using something like the fraction of variance explained, which is their FVE, to decide how much you regularize your measurement.
Lu: It’s about giving the user some levers to pull so they can choose whether they care more about the fine detail or just the overall trend.
Tom: So it’s a method that lets you control sensitivity and still get statistically reliable rankings for these functional data sets. This could mean better quality checks on things like sea surface temperature readings or growth patterns.
Jane: It definitely moves beyond the old methods where everything got crushed into zero depth, which is a big step forward for analyzing these kinds of complex trajectories.
The paper's improvements: Tom: So we've seen how they use regularization to stop that zero depth problem from happening in functional data, and now we're looking at what else they suggest to make this even better.
Jane: Right, so the paper isn't just about fixing a hole; it’s also offering ways to actually improve the measurement itself.
Lu: They established some solid theoretical properties for the regularized halfspace depth, like upper semi-continuity and level sets that are closed and convex in that infinite dimensional space.
Tom: That’s good for theory, but what about practical improvements? What do they suggest we use to make this system even more robust when we're actually running it on messy data?
Jane: They focus heavily on the outlier detection method they introduced alongside the RHD. They want us to use this RHD-based median for prescreening candidates before even looking for outliers.
Lu: The idea is that by using the RHD to find candidates with very low approximate depth values, you can then apply univariate boxplots onto directions that maximally separate those inliers from those outliers.
Tom: So instead of just finding the extreme values directly, you use this depth measure as a filter first, which helps reveal shape outliers much better.
Jane: They also show that the choice of adjustment factor f used in their outlier detection algorithm is resistant to those extreme outliers even though it depends on the sample covariance operator.
Lu: That dependence on the sample covariance operator is a bit risky for deployment, but they prove that Algorithm S one, which chooses that adjustment factor f, stays resistant to outliers under those conditions.
Tom: Okay, so you’ve built a filter based on depth and then used it to guide a more sensitive detection step. That sounds like something we could actually try to deploy in a production pipeline.
Jane: And they found that this RHD-based median performs really well against most outliers in both magnitude and shape contamination scenarios compared to older methods like modified band depth.
Lu: It seems the main improvement is making the detection process more adaptive; it uses the RHD to adjust its sensitivity based on what patterns are present in the data sample.
Tom: So, we’re moving from a static depth measure to a dynamic one that learns which features matter for ranking and detection. That’s exactly what I need when I'm trying to build something that doesn't break at scale.
Jane: It really changes how we think about outlier detection in these wiggly functional data sets, giving us a tool that respects the structure of the curve instead of just looking at raw magnitude.
Lu: The paper concludes by recommending a default setting for lambda based on a zero point nine five quantile of those kernel space norms, which gives practitioners something concrete to start with.
Tom: So we’ve got the theoretical fix, we’ve got the tuning advice, and now we have an improved way to detect anomalies that should be much more reliable in real-world data.
Conclusion: Tom: So to wrap up, we looked at how the Regularized Halfspace Depth for Functional Data fixes that zero depth problem by using regularization based on lambda, and how it gives us a smarter way to spot both shape and magnitude outliers in those complex curves.
Jane: That’s right. The main implication is that we have a much more reliable tool for ranking and detecting anomalies in functional data than we had before with standard measures like Tukey's depth.
Lu: The paper establishes the theoretical foundation, showing properties like upper semi-continuity and closed level sets, which gives us confidence in using this method for serious analysis.
Tom: It seems like a solid addition to the toolkit when dealing with messy data where you can’t just rely on simple projections anymore.
Jane: Exactly, and they even gave us concrete advice on how to tune that lambda parameter based on statistical measures like the zero point nine five quantile of those kernel space norms.
Meng: For me, the practical part is that we get a more reliable filter for production data without needing to spend all day pre-smoothing it just to find anomalies.
Lu: I agree, and they showed that this method is data adaptive; it adjusts its sensitivity based on the extreme patterns in the samples themselves.
Tom: It really changes how we approach quality control when we’re dealing with these high-dimensional trajectories, because we can now tune what kind of variation we care about most.
Jane: So this work on Regularized Halfspace Depth for Functional Data gives us a more nuanced way to understand the structure and anomalies within complex functional data sets.
Lu: It pushes the idea that depth measures need to be regularized when dealing with infinite dimensionality, which is a big conceptual step for representation learning.
Tom: Alright, so we’ve covered this paper on RHD, and next up we’re going to look at how Weighted Empirical Risk Minimization helps us find those change points in regression models.
More episodes
- 2604.16221-Network Meta-analysis and Diffusion
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2605.19034-Sparse Latent Class Analysis For Dichotomous Responses: Post-Estimation Refinement via Item-level Pseudo-Likelihood
- 2112.01338-Using Ecometric Data to Explore Sources of Cross-Site Impact Variance in Multi-Site Trials
- 2304.04519-On new omnibus tests of uniformity on the hypersphere
- 2503.08987-Multilevel Primary Aim Analyses of Clustered SMARTs: With Applications in Health Policy
- 2506.21190-Survival Inference with Label-Shifted, Label-Censored Source Data and Unlabeled Target Data
- 2510.01577-SLOPE and Designing Robust Studies for Generalization
- 2511.20481-Modelling Access to Violence Against Women Support Centres in Apulia Using PC-Priors for CAR-Based Spatio-Temporal Models