Skip to Content
EntropyEntropy
  • Article
  • Open Access

16 February 2026

27 Pages

Outlier Detection in Functional Data Using Adjusted Outlyingness

,
,
,
and
1
School of Science, Harbin Institute of Technology, Shenzhen 518055, China
2
School of Economics, Xiamen University, Xiamen 361005, China
3
School of Business, Sun Yat-Sen University, Guangzhou 510006, China
*
Author to whom correspondence should be addressed.

Abstract

In signal processing and information analysis, the detection and identification of anomalies present in signals constitute a critical research focus. Accurately discerning these deviations using probabilistic, statistical, and information-theoretic methods is essential for ensuring data integrity and supporting reliable downstream analysis. Outlier detection in functional data aims to identify curves or trajectories that deviate significantly from the dominant pattern—a process vital for data cleaning and the discovery of anomalous events. This task is challenging due to the intrinsic infinite dimensionality of functional data, where outliers often appear as subtle shape deformations that are difficult to detect. Moving beyond conventional approaches that discretize curves into multivariate vectors, we introduce a novel framework that projects functional data into a low-dimensional space of meaningful features. This is achieved via a tailored weighting scheme designed to preserve essential curve variations. We then incorporate the Mahalanobis distance to detect directional outlyingness under non-Gaussian assumptions through a robustified bootstrap resampling method with data-driven threshold determination. Simulation studies validated its superior performance, demonstrating higher true positive and lower false positive rates across diverse anomaly types, including magnitude, shape-isolated, shape-persistent, and mixed outliers. The practical utility of our approach was further confirmed through applications in environmental monitoring using seawater spectral data, character trajectory analysis, and population data underscoring its cross-domain versatility.

1. Introduction

In signal processing and information analysis, the detection and identification of anomalies present in signals constitute a critical research focus. Accurately discerning these deviations is essential for ensuring data integrity and supporting reliable downstream analysis. This task is fundamentally about quantifying and interpreting uncertainty and unexpectedness in data, a domain where information-theoretic concepts like entropy and Kullback–Leibler divergence provide a natural and powerful framework. Entropy, as a measure of uncertainty or information content and mutual information which captures shared information between variables, offers principled methods to distinguish abnormal patterns that deviate from the expected information structure of a signal. Extending this reasoning to the analysis of continuous, high-dimensional signals leads directly to the domain of Functional Data Analysis (FDA). FDA has emerged as a crucial statistical framework for analyzing data where each sample is a function or a continuous curve, observed over a continuum such as time or wavelength [1,2,3,4]. Unlike multivariate data, which consist of vectors in a finite-dimensional Euclidean space, functional data are intrinsically infinite-dimensional objects. This fundamental distinction, treating a curve as a single entity rather than a discrete set of points, allows FDA to preserve and model the inherent smoothness and dynamic structure of the data. However, this very characteristic renders standard multivariate analytical techniques inadequate. In particular, the task of outlier detection, which is a cornerstone of measurement data quality assurance, faces significant challenges when applied to functional data. In FDA, the detection of outliers (observations with abnormal patterns or deviations) is a critical step in measurement data processing. It serves to ensure the accuracy and reliability of subsequent analysis by preventing distorted functional patterns and biased estimates, while also aiming to identify genuine unusual events that may be of primary interest.
We used seawater spectral absorption data from the Xiamen coastal area, China (Figure 1) to illustrate the critical need for functional outlier detection in practical analysis. Figure 1 displays the seawater spectral absorption curves of 69 samples, classified by color based on distinct spectral shapes: gray (majority), green (magnitude outlier), red (shape-based anomaly), and blue (mean shift). The green, red, and blue curves were designated as outliers due to environmental discontinuity, as they originated from a freshwater environment or an area with potential industrial contamination, unlike the core marine data. The presence of such outliers that affect the magnitude, shape, or both severely distorts functional means, trend estimation, and model parameters. For instance, a shift in magnitude can bias estimates of central tendency, while a change in the shape of a distribution can invalidate assumptions about trends. Therefore, reliably identifying these diverse anomalies is essential before functional modeling is performed.
Figure 1. Seawater spectral data from the Xiamen coastal waters in China.
While recent advances in outlier detection predominantly address multivariate data and streaming data [5,6,7,8], these methods are often inapplicable to functional data. Typically based on classification principles, they struggle with functional data where each sample is a curve originating from an infinite-dimensional function space. Simply discretizing curves fails to capture their intrinsic continuity and structure, creating a significant gap in measurement science for robust functional data analysis. Furthermore, many approaches rely on supervised or clustering techniques [5,9,10,11] that require labeled data. While some recent reviews [5,6] discuss anomaly detection in specific contexts like the IoT, they prioritize industrial applications over the theoretical underpinnings of functional data. Conventional outlier detection methods designed for multivariate data often fail to effectively detect shape-related or dynamic anomalies unique to functional observations. This methodological gap underscores the pressing need for novel approaches specifically tailored to the unique nature of functional data. Other related works include online detection [11], and neural network-based anomaly detection methods [12,13,14,15,16]. Most of them are designed for time series data, relying on strong assumptions of temporal ordering and dependency (e.g., sliding window segmentation and Kalman filtering). As such, they fall outside the scope of this study, which focuses on a formal inference framework for functional data without such constraints.
The complex nature of functional outliers, which can manifest as magnitude shifts, shape deformations, or localized disturbances, demands sophisticated methods capable of capturing diverse anomalous patterns. Although research studies on functional outlier detection are growing [17,18,19,20], they often fail to handle different types of anomalies simultaneously. What is more, a significant limitation persists: many current approaches rely on restrictive distributional assumptions (e.g., Gaussian process) or specific outlier models to ensure theoretical tractability. This reliance limits their practical applicability in real-world scenarios where data distributions are often unknown, complex, or non-Gaussian, which potentially leads to missed detections (false negatives) or misidentifications of valid data points (false positives). This gap underscores the urgent need for flexible and robust detection methods capable of handling diverse functional data types without stringent distributional constraints.
Our work in this paper addressed these gaps by proposing an unsupervised method that leverages the data’s underlying distribution. By utilizing quantiles of a robust measure, our approach relaxes restrictive assumptions like the Gaussian process, offering a novel solution for functional outlier detection. We propose a method to conduct outlier detection for functional data. The detection framework is established by incorporating a novel adjusted outlyingness metric, the robust Mahalanobis distance, and a bootstrap technique. The adjusted outlyingness metric integrates adaptive magnitude outlyingness, scaled variability, and directional skewness to comprehensively characterize diverse anomaly types in functional data. The robust Mahalanobis distance and bootstrap technique help determine the anomaly scores and the detection threshold.
Our method differs from the current reference in the following aspects. First, the literature on outlier detection is extensive; it predominantly focuses on multivariate data, often leveraging clustering-based methodologies [5,6,7,8,9,10,11], while our method is designed for functional data and is not clustering or classification based. Second, in the FDA area, some works make use of metrics like ranks or depths [21] and determine the outliers by hypothesis testing [22,23]. However, they need the assumption of a certain distribution. The distribution assumption is strong in applications. Our method is a distributionally adaptive framework through the systematic integration of the robust Mahalanobis distance with bootstrap resampling. Third, compared with the directional outlyingness metric used in [22] and other metrics in [19], we propose a new metric termed the skewness of directional outlyingness. In addition, we introduce the adjusted directional outlyingness that incorporates data-driven weights to effectively capture local features.
This paper makes several contributions. First, it addresses the gap in outlier detection for functional data, a domain underserved by methods designed for multivariate data. Methodologically, we propose a new metric termed the skewness of directional outlyingness, together with the weighted directional outlyingness metrics that provide a more nuanced characterization of anomalies. Second, we introduce a distributionally robust framework that innovatively integrates bootstrap resampling for threshold estimation, thereby eliminating the reliance on restrictive Gaussian process assumptions. The synergy of these elements results in a flexible, unsupervised algorithm that enhances the state-of-the-art in functional data quality assurance and is capable of detecting diverse types of anomalies.
The remainder of this paper is structured as follows: In Section 2, we introduce the framework and detection methodology. In Section 3, we validate the approach through simulation studies that compare performance against established methods. In Section 4, we demonstrate practical applications. We present concluding remarks and research implications in Section 5.

2. Methodology

Functional data outliers are classified into two types: magnitude anomalies (curves displaced vertically from the functional envelope) and shape anomalies (curves within the majority envelope but exhibiting a different trend) [24]. Magnitude outliers are easier to detect than shape outliers through the visual analysis of the samples. Based on the extent to which anomalies occur in the sample, functional data outliers can also be categorized into isolated anomalies and persistent anomalies [25]. Persistent anomalies can be further subdivided into shift outliers, magnitude outliers, and shape outliers. In practice, isolated outliers and magnitude outliers are considered as a type of shape outlier. In this paper, we focus on all these types of outliers.
We consider a stochastic process X t : I → R p that maps from a compact set I to R p according to the probability function F X t . With t in I , X t = X 1 t , X 2 t , … , X p t T is a p -dimensional function of t . F X t denotes the distribution of X t at each time point t . In Figure 1, for p = 1 , each absorption spectrum constitutes a functional observation, where t ∈ 190 ,   300 nm denotes a wavelength, with measurements recorded at 1 nm intervals. Functional data lack a natural ordering, which necessitates comprehensive statistical measures for curve comparison. To sort functional data, a comprehensive measure that evaluates the entire function is required. To address this, we define the adjusted outlyingness vector, which encodes the magnitude, scale, and shape characteristics of each functional observation. This transformation reduces the functional outlier detection problem to multivariate anomaly identification in the adjusted outlyingness space. Building on this, we propose the adjusted outlyingness detection (AOD) method.

2.1. Adjusted Outlyingness

To propose the adjusted outlyingness indices, we propose two weights and introduce the definition of directional outlyingness.
Definition 1. 
(Weight  w 1 ). For the stochastic process  X t , at time  t , the weight  w 1 t ∈ R p  is
w 1 t j = w 1 j t = s d X j t ∫ I s d X j t d t , j = 1 , … , p
where  s d X j t  is the standard deviation of function component  X j t  at time  t .
Remark 1. 
w 1 t  can be estimated from the standard deviations of sample values across different curves at the observed time points within the dataset. It quantifies the degree of variation at  t . Low variability indicates curve consensus and reduced anomaly potential. High variability reflects dispersion and elevated outlier likelihood. Although  w 1 t  was studied in [26,27], its application to outlyingness remains unexplored.
Definition 2. 
 (Weight  w 2 )
w 2 t j = w 2 j t = s d X j ′ t ∫ I s d X j ′ t d t , j = 1 , … , p
where X j ′ t = d X j t d t ,     j = 1 , … , p .
Remark 2. 
The weight function  w 2 ( t )  is the derivative-based counterpart to  w 1 ( t ) . It operates on  X j ′ t ,     j = 1 , … , p , thereby quantifying variability in the rate of functional change at each t. This generalized framework extends beyond prior weighting schemes [28] by explicitly capturing shape dynamics. An elevated standard deviation in  X j ′ t  at any t indicates heightened heterogeneity in instantaneous shape variation across curves. Such dispersion signals potentially shape anomalies localized at t, which warrants increased sensitivity to functional behavior in these critical regions.
Remark 3. 
The two proposed weight functions,  w 1 t  and  w 2 ( t ) , capture distinct structural features of the functional data. The weight  w 1 t , derived from the standard deviation, quantifies the pointwise variability of the process. It assigns higher importance to regions with greater dispersion, making it robust and effective for detecting magnitude-driven outliers. However, it may overlook subtle shape anomalies in regions with low variance. In contrast,  w 2 ( t )  incorporates derivative information, making it highly sensitive to the local rate of change. This allows for the detection of shape-related anomalies, such as sharp transitions or inflection points, even in the absence of high magnitude variability. Consequently, the choice between  w 1 t  and  w 2 ( t ) , should be guided by the specific nature of the anomalies expected in the application:  w 1 t  is preferable for magnitude outliers, while  w 2 ( t ) , is superior for identifying shape deviations.
Definition 3. 
(Directional Outlyingness, DO, [22])
O X t , F X t = o X t , F X t ⋅ v t
where  o X t , F X t = X t − μ F X t σ F X t ,  μ  and  σ  are the location and scale measures of  X t , respectively.  ⋅  represents the norm of a vector.  v t = X t − m e d i a n X t / X t − m e d i a n X t  is the spatial sign [21,29].
DO not only measures the eccentricity of the curve at time point t but also captures the direction v t of its eccentricity. It characterizes the deviation of a multivariate observation from the central tendency of a distribution by jointly accounting for the magnitude and the direction of the deviation. Unlike traditional scalar measures of outlyingness or data depth, which quantify only the extent of atypicality, directional outlyingness retains directional information with respect to the data center. It provides when evaluated a local description of how a curve departs from the central behavior at each time point. For details, please refer to [22].
With these notations and definitions, we propose the following adjusted outlyingness indices.
Definition 4. 
(Adjusted Mean of directional Outlyingness, AMO) For weights  w 1  and  w 2 , two types of weighted means are defined as
A M O 1 X , F X = ∫ I O ( X t , F X t ) ⊙ w 1 t d t
A M O 2 X , F X = ∫ I O ( X t , F X t ) ⊙ w 2 t d t
where ⊙ represents the Hadamard (element-wise) product operator. Consequently,  A M O 1  and  A M O 2  are  p -dimensional vectors.
Definition 5. 
(Adjusted Variance of directional Outlyingness, AVO) With weights  w 1  and  w 2 , two types of weighted variances are defined as
A V O 1 X , F X = ∑ j = 1 p ∫ J O X j t , F X t − A M O 1 X j , F X 2 w 1 t j d t
A V O 2 X , F X = ∑ j = 1 p ∫ J O X j t , F X t − A M O 2 X j , F X 2 w 2 t j d t
Remark 4. 
A M O k X , F X  and  A V O k X , F X ,  k = 1 ,   2 ,   reduce to Mean directional Outlyingness (MO) and Variation of directional Outlyingness (VO) [22], respectively, if and only if the weight function satisfies  w k t = λ J − 1 1 ,   where  1 = 1 , … , 1 T . For the univariate case ( p = 1 ), the Hadamard product ⊙ simplifies to scalar multiplication. Hence,  A M O k X , F X = ∫ I O X t , F X t w k t d t , and  A V O k X , F X = ∫ J O X t , F X t − A M O 1 X , F X 2 w k t d t , k = 1 , 2 .  The properties of the indices  A M O k  and  A V O k  are inherently determined by the chosen weight function   w k t ,  k = 1 , 2 . The indices based on   w 1 t  ( A M O 1  and  A V O 1 ) prioritize magnitude-driven variability. They provide a robust measure of overall outlyingness and are ideal for detecting outliers in data with smooth functional shapes where dispersion is the key feature. However, they may overlook subtle shape anomalies in low-variance regions. Conversely, the indices based on w_2 (t) ( A M O 2   and  A V O 2 ) leverage derivative information to detect shape-related outliers, such as abrupt shifts or changes in slope. While  A M O 2  and  A V O 2  excel at identifying structural irregularities that magnitude-based measures miss; they can be sensitive to high-frequency noise. Therefore, the choice between the two weighting schemes should be guided by whether magnitude deviations or shape dynamics are of primary interest in the data.
Definition 6. 
(Skewness of directional Outlyingness, SO)
S O X , F X = 1 λ J ∑ j = 1 p ∫ J O X j t , F X t − M O X j , F X V O X j , F X 3 d t
where  M O X , F X = ∫ I O X t , F X t w t d t ,  V O X , F X = ∫ I O X t , F X t − M O X , F X 2 w t d t  in [22].
Remark 5. 
S O  quantifies positional and shape deviations by assessing asymmetry relative to the functional mean. As a novel third-order moment metric,  S O  complements existing measures ( A M O 1 ,  A M O 2 ,  A V O 1 , and   A V O 2 ) by capturing distributional asymmetry in directional outlyingness. Specifically, SO identifies both the magnitude and direction (positive/negative) of skewness, which provides critical insights into asymmetric shape characteristics undetectable through lower-order moments.
The proposed A M O 1 metric advances beyond the mean directional outlyingness through adaptive weighting. A key limitation of m e a n   d i r e c t i o n a l   o u t l y i n g n e s s uniform weighting is that symmetrically opposing deviations can cancel out, obscuring the true anomaly magnitude. In contrast, A M O 1 strategically emphasizes regions that exhibit significant shape variation. This weighting enhances sensitivity to partial anomalies while preserving location measurement integrity. Concurrently, A V O 2 extends the variation of directional outlyingness by amplifying shape divergence signals. While the variation of directional outlyingness quantifies general dispersion, A V O 2 specifically magnifies localized shape anomalies. This ensures that outliers manifest pronounced statistical signatures at the affected time points.
Integrating these advances with the skewness metric SO, we define the adjusted outlyingness ( A O ) vector A O = A M O 1 , A V O 2 , S O . This triple metric representation comprehensively encodes functional curve characteristics (position, shape, and asymmetry) while achieving critical dimensionality reduction from the original infinite-dimensional space.

2.2. Adjusted Outlyingness Detection Method

The core innovation of our approach lies in the transformation of functional outlier detection into a multivariate problem through the A O vector A O = A M O 1 , A V O 2 , S O and the bootstrap estimation of its distribution. This representation distills the essential features of functional curves while achieving significant dimensionality reduction. Subsequent outlier identification operates within this A O space using robust Mahalanobis distance metrics. For notation convenience, A M O 1 , A V O 2 , S O is denoted by A M O , A V O , S O . To address the critical limitation of the conventional Mahalanobis distance, we introduce the robust Mahalanobis distance ( B R M D 2   ( A O ) ). These elements constitute our proposed AOD framework.
The complete workflow processes functional observations X 1 , … , X n as follows: Each curve is mapped to its A O i = ( A M O i , A V O i , S O i ) representation, from which B R M D 2 A O is computed. The α -th quantile of the robust Mahalanobis distance ( B R M D α 2 ) is then determined via the smoothed bootstrap. Observations that exceed this threshold, B R M D 2 A O i > B R M D α 2 , are flagged as outliers. This integrated approach combines the representational efficiency of A O with the robustness of bootstrap-based distance metrics.

2.2.1. Robust Mahalanobis Distance

The Mahalanobis distance [30] is a distance measure that quantifies the distance of a sample from the center:
M D Z = Z − μ T Σ − 1 Z − μ
where Z ∈ R p ,   p ∈ N + , μ is the mean of Z , and Σ is the covariance matrix of Z . When μ and Σ are unknown, they need to be estimated. As the variance estimate used in M D Z is easily influenced by outliers, the robust Mahalanobis distance is required. To obtain the robust Mahalanobis distance B R M D 2 ( A O ) , we use two approaches: the bootstrap minimum covariance determinant (MCD) robust Mahalanobis distance statistic or the FAST-MCD [31].
(1)
Bootstrap minimum covariance determinant robust Mahalanobis distance statistic
We introduce a bootstrap-enhanced MCD estimator for the robust Mahalanobis distance computation. This approach strategically combines bootstrap resampling with MCD principles to mitigate outlier contamination in parameter estimation. The core innovation lies in adaptive subsampling during bootstrap iterations; multiple subsample proportions are evaluated, with the optimal proportion selected by minimizing the determinant of the covariance matrix estimate. This accommodates unknown outlier prevalence in real-world data.
Formally, for each bootstrap iteration b , candidate subsamples yield estimates μ ^ b , Σ ^ b . The optimal robust estimators are determined by μ ^ , Σ ^ = a r g m i n d e t Σ b ( μ b )   . The robust Mahalanobis distance ( B R M D 2 A O is then defined as the square root of B R M D 2 A O , where
B R M D 2 A O = A O − μ ^ T Σ ^ − 1 A O − μ ^
and μ ^ , Σ ^ are defined above. This dual-phase approach, iterative subsample optimization followed by distance computation, effectively insulates estimates from anomalous influences while maximizing information extraction from uncontaminated data regions. The implementation detail is formalized in Algorithm 1.
Algorithm 1. Bootstrap Minimum Covariance Determinant Robust Mahalanobis Distance Statistic
Input: A O i , i = 1,2 … , n : The adjusted outlyingness of X i , i = 1 , … , n ; p e r c e n t : The sampling proportions, here p e r c e n t = 0.85 ,   0.9 ,   0.95 T ; B : The total resampling rounds
Output: B R M D 2 A O i , i = 1 , … , n : The bootstrap minimum covariance determinant robust Mahalanobis distance statistics
Steps:
(1)
for b in 1:   B
    for j in 1: length ( p e r c e n t )
         c = p e r c e n t j
     D =Resampling c of whole samples
            Calculate the mean μ ^ j and covariance matrix Σ ^ j of D
    end
         μ ^ b , Σ ^ b = a r g m i n d e t Σ j ( μ j )  
      end
(2)
Σ ^ = m e a n b Σ ^ b ; μ ^ = m e a n b μ ^ b
(3)
Calculate B R M D 2 A O i based on B R M D 2 A O i = A O i − μ ^ T Σ ^ − 1 A O i − μ ^ , i = 1 , … , n .
(2)
FAST-MCD
FAST-MCD [31] can quickly obtain robust estimates, and it is faster and more accurate when the sample size is large. The key step in this process is referred to as the C-step. The C-step procedure iteratively refines the robust location and scatter estimates for a p -dimensional dataset. Beginning with an initial h -sized subset H 1 , it computes the mean μ ^ 1 and covariance Σ ^ 1 . Mahalanobis distances for all observations are then calculated relative to these estimates. The subset is updated to H 2 by selecting h observations with the smallest distances. This process repeats, thereby generating successively refined estimates ( μ ^ 2 , Σ ^ 2 ) with monotonically decreasing covariance determinants. Convergence occurs when either the determinant becomes singular or subsequent determinants stabilize ( det Σ ^ 2 = det Σ ^ 1 ), which indicates optimal robust parameter estimation. The algorithm for FAST-MCD is in [31].

2.2.2. Threshold Determination

Outliers are identified by applying the robust Mahalanobis distance statistics, which quantifies the deviation of samples from the multivariate center. To decide whether a sample is considered anomalous, we need to set a threshold. To avoid the assumption of a stationary Gaussian process for the data, we propose using the smoothed bootstrap [32] to determine the threshold, which is applicable to data from non-Gaussian processes.
Sampling probabilities p = p 1 , … , p n T in the bootstrap are weighted by the Mahalanobis depth to minimize outlier influence. Depth is computed as
B M H D A O i = 1 + B R M D 2 A O i − 1 , i = 1 , … , n
Following the principle of assigning sampling probabilities based on depth measures [33], the sampling probability for each sample in the bootstrap is defined as
p i = B M H D A O i Σ j = 1 n B M H D A O j , i = 1 , … , n
Each bootstrap replication b generates smoothed functional data:
X i s b t = X i b t + z i b t , i = 1 , … , n
where z i b t ~ N 0 , β Σ X and β is the smoothing coefficient, usually set to 0.05 [32]. Σ X is the covariance matrix of X t . { X 1 s b ( t ) , … , X n s b ( t ) } is used to obtain their A O i b , and then B R M D 2 A O i b . B R M D 1 − α , b 2 is obtained as the 1 − α quantile of B R M D 2 A O i b i = 1 n . The final threshold is B R M D 1 − α 2 = m e a n b B R M D 1 − α , b 2 across B times. Samples exceeding this threshold are classified as outliers. Algorithm 2 shows the procedure for AOD.
Algorithm 2. Adjusted Outlyingness Detection
Input: X 1 t , … , X n t : Data set; β : The smoothing coefficient; 1 − α : Quantile value; B : The total resampling rounds
Output: Outlier Detection results (true or false)
Steps:
(1)
Calculate the sample covariance matrix Σ X = c o v X t
(2)
Calculate the adjusted outlyingness A O i ,     i = 1 , … , n based on Equations (4), (7) and (8)
(3)
Get B R M D 2 A O 1 , … , B R M D 2 A O n according to or FAST-MCD
(4)
Get the resampling probability p i according to Equation (12)
(5)
for b in 1: B
  • Resample n samples X 1 b t , … , X n b t from X 1 t , … , X n t with replacement according to p i , i = 1 , … , n
  • Let X i s b t = X i b t + z i b t , where z i b t ~ N 0 , β Σ X
  • Calculate B R M D 2  of X 1 s b t , … , X n s b t  based on their A O i s b   according to Algorithm 1
  • Determine the 1 − α -th quantile of the robust Mahalanobis distances, denoted as B R M D 2 1 − α b
end
(6)
Compute the mean of the B quantile estimates: B R M D 1 − α 2 = m e a n b B R M D 2 1 − α b
(7)
Output: { i : B R M D 2 A O i > B R M D 1 − α 2 } .

3. Simulation Study

To demonstrate the effectiveness and practical significance of the skewness metric, we use the following Model 0 for illustration.
  • Model 0:
  • Normal samples: X t = 4 t + ε t , where ε t is a zero-mean normal distribution, and the covariance function is γ s , t = 0.3 exp − s − t .
  • Isolated shape outlier samples: X t = 4 t + 2 U × I T ≤ t ≤ T + 0.05 + ε t , where U has a 50% probability of being 1 and a 50% probability of being −1; I T ≤ t ≤ T + 0.05 is an indicator function that equals 1 in the interval T ,   T + 0.05 and 0 otherwise, with T drawn from a uniform distribution U 0,0.8 .
The simulation comprises n = 100 functional samples with k = 30 observation points, which contain 10% anomalous curves (red, Figure 2). Figure 3 presents scatterplots of the different outlyingness statistics. The distinct separation between nominal and anomalous samples in the ( A M O ,   A V O ) , ( A V O , S O )  planes demonstrates the discriminative power of these metrics. Anomalies consistently occupy peripheral regions beyond the nominal sample clusters, which validates the detection efficacy of the integrated statistics.
Figure 2. Samples generated from Model 0 (with a total of 100 samples, 30 observation points).
Figure 3. Scatter plots of different outlyingness statistics under Model 0. (a) 2D plot of ( M O , V O )  in [22], (b) 2D plot of A M O ,   A V O , (c) 2D plot of A M O ,   S O , (d) 2D plot of ( A V O ,   S O ) .
In the following simulation study, we evaluated the proposed method through two integrated components: performance assessment on univariate and multivariate functional outlier detection. We set the outlier proportion to c and detection threshold to the α = 0.95 quantile. We replicated each simulation 100 times and averaged the metrics. We quantified performance using true positive rate ( p c , the proportion of correctly identified anomalies), false positive rate ( p f , the proportion of misclassified nominal samples). Thus, a high p c coupling a low p f indicated superior detection performance. The visual representations consistently depict anomalous samples in red and nominal samples in gray.

3.1. Univariate Functional Data

We compared the following methods: W1_1, the proposed AOD method using the bootstrap MCD robust Mahalanobis distance statistic; W1_2, the proposed AOD method using FAST-MCD; W2, the DO detection method [22]; W3, the functional boxplot [34]; W4, the functional bagplot [24]; and W5, FAST-MUOD [19].
We designed four examples: magnitude outliers, persistent shape outliers, isolated shape outliers, and mixed outliers. For each simulation configuration, we used samples with k = 30 equidistant observation points over [0,1]. Additionally, to demonstrate the advantages of relaxing the Gaussian distribution assumption required in W2, we further implemented all examples under three error distributions:
(1) Scenario 1: Multivariate Gaussian distribution. The error term ε t follows a zero-mean normal distribution and the covariance function is γ s , t = 0.3 exp − s − t .
(2) Scenario 2: Multivariate t -distribution. The error term ε t follows a t -distribution with 5 degrees of freedom and the covariance function is γ s , t = 0.3 exp − s − t .
(3) Scenario 3: Multivariate skewed t -distribution. The error term ε t follows a skewed t -distribution with 5 degrees of freedom and the covariance function is γ s , t = 0.3 exp − s − t , with a location parameter of 0 , … , 0 T and skewness parameter 2 , … , 2 T .

3.1.1. Example 1: Magnitude Outliers

The data generation process is defined as follows:
  • Normal sample: X t = 4 t + U + ε t , where U follows a uniform distribution U − 1 ,   1 .
  • Anomalous sample: X t = 4 t + T + ε t , where T follows a uniform distribution U 5,8 with a probability of 50% and U − 8 , − 5 with a probability of 50%.
When ε t follows scenarios 1, 2, or 3, they are referred to as Model 1, 2, or 3, respectively. The data (with an anomaly rate of 5%) are shown in Figure 4.
Figure 4. Data generated by Model 1, Model 2, and Model 3. (a) Model 1. (b) Model 2. (c) Model 3.
For W2, we assumed that the mean and variance of the outlyingness followed a multivariate normal distribution, with the Mahalanobis distance forming a statistic that follows an F-distribution. In Model 3 with multivariate skewed t-distributed errors, Figure 5 shows a clear violation of the multivariate normality assumption for the outlyingness distribution.
Figure 5. Normal Q-Q Plot for AMO and AVO (Model 3, c = 5%). (a) Q-Q Plot for  A M O . (b) Q-Q Plot for A V O .
The proposed method demonstrated robust performance across all scenarios. It achieved a near-optimal balance between detection accuracy ( p c ) and false positive control ( p f ), as summarized in Table 1 and the tables in the Supplementary (standard deviations in parentheses). Notably, our approach consistently outperformed FAST-MUOD (W5) by maintaining a competitive p c while significantly reducing p f rates. Although the functional boxplot (W3) and bagplot (W4) methods achieved favorable p c and p f metrics, they lacked the adaptive capabilities of our technique in complex outlier configurations.
Table 1. Example 1 result (standard deviations in parentheses, n = 100).
The proposed method demonstrated enhanced outlier detection capability under skewed t-distributions compared with standard t-distributions. Table 2 reports the average precision and F1 score of each method.
Table 2. Example 1 result on precision and F1 score.

3.1.2. Example 2: Persistent Shape Outliers

The data generation mechanism is as follows:
  • Normal sample: X t = 4 t + ε t .
  • Anomalous sample: X t = 4 t + 1.5   s i n 4 π t + η + ε t , where η follows a uniform distribution U 0.25,0.75 .
When the error term ε t follows scenarios 1, 2, or 3, the terms are referred to as Model 4, 5, or 6, respectively. The data sample plots (with an anomaly rate of 5%) are shown in Figure S1 in the Supplementary. Table 3 and Table S2 in the Supplementary summarize detection performance (standard deviations in parentheses) and demonstrate that our proposed method achieved consistently high accuracy comparable with W2 while exhibiting superior robustness across distributional scenarios. Notably, our proposed method maintained optimal performance under non-Gaussian conditions, whereas the competing methods deteriorated. Crucially, our method matched W2’s performance under Gaussian assumptions (Model 4), whereas it established clear superiority in non-Gaussian environments. Table 4 reports the average precision and F1 score of each method.
Table 3. Example 2 result (standard deviations in parentheses, n = 100 ).
Table 4. Example 2 results on precision and F1 score.

3.1.3. Example 3: Isolated Shape Outliers

The data generation mechanism is as follows:
Normal sample:   X t = 4 t + ε t .
Anomalous sample:   X t = 4 t + 2 U × I T ≤ t ≤ T + 0.05 + ε t ,  where U has a 50% probability of being 1 and a 50% probability of being −1, and I T ≤ t ≤ T + 0.05   is an indicator function that takes the value 1 in the interval T , T + 0.05 and 0 elsewhere. T follows a uniform distribution U 0,0.8 .
When the error term ε t follows scenario 1, the model is Model 0. When ε t follows scenario 2 or 3, the models are referred to as Model 7 or 8, respectively. The sample plots (with an anomaly rate of 5%) are shown in Figure 6.
Figure 6. Sample plots of Model 0, Model 7, and Model 8. (a) Model 0. (b) Model 7. (c) Model 8.
The detection results are presented in Table 5 and analogous patterns for sample size n = 50 are shown in Supplementary Table S3. The proposed method demonstrated superior performance across all evaluation scenarios. It significantly outperformed W2–W5 in detection sensitivity while maintaining lower false positive rates. Crucially, our method exhibited consistently better performance than FAST-MUOD (W5) under all tested conditions. Moreover, the benchmark methods demonstrated significant degradation in p c values, which indicates their limited suitability for isolated shape outlier detection. Our proposed method has the best performance on precision and F1 score under this scenario, which is shown in Table 6. ROC curves of Model 8 are shown in the Supplementary File as an example.
Table 5. Example 3 result (standard deviations in parentheses, n = 100 ).
Table 6. Example 3 result on precision and F1 score.

3.1.4. Example 4: Mixed Outliers

The data generation mechanism is as follows:
Normal sample:   X t = 4 t + ε t .
Anomalous sample: (two types of anomalies mixed in equal proportions)
(1) X t = 4 t + T +   ε t , where T follows a uniform distribution U − 5 , − 3 .
(2) X t = 4 t + 1.5 sin 4 π t + η + ε t , where η follows a uniform distribution U 0.25 ,   0.75 .
When the error term ε t follows scenarios 1, 2, or 3, the terms are referred to as Model 9, 10, or 11, respectively. The sample plots (with an anomaly rate of 5%,   n = 100 ) are shown in Figure S2 in the Supplementary.
As summarized in Table 7 (standard deviations in parentheses), our AO methods (W1_1 and W1_2) demonstrated robust performance across all scenarios. They achieved the optimal balance between high sensitivity and low false positive rates. Although competing methods demonstrated comparable sensitivity in most cases, critical deficiencies emerged in the false positive control: W2, W4, and W5 exhibited substantially elevated false positive rates, whereas W3’s conservative approach yielded unacceptable sensitivity reduction. This comparative analysis establishes our methodology’s distinct advantage in maintaining diagnostic precision without compromising detection power. Results with n = 50 are shown in Table S4 in the Supplementary with a similar pattern. Precision and F1 score have similar patterns to the prevision examples. We put the record in the Supplementary File.
Table 7. Mixed outlier detection result (standard deviations in parentheses, n = 100 ).

3.2. Multivariate Functional Data

There are two types for multivariate functional data outlier detection. The marginal approach applies detection methods dimension-wise to individual components X i j t ,   j = 1 , … , p , i = 1 , … , n , thereby classifying curves as outliers when anomalies appear in any dimension. This constitutes a union operation over dimension-specific outliers. Conversely, the multivariate approach analyzes the complete functional structure using holistic multidimensional methodologies that preserve cross-dimensional dependencies. Our proposed method is implemented through both marginal (Mar.W1) and multivariate (Tot.W1) approaches with the bootstrap MCD robust Mahalanobis distance statistic. Similarly, the DO method [22] is executed marginally (Mar.W2) and multivariately (Tot.W2). Functional boxplot [34] and functional bagplot [24] methods lack inherent multivariate support and are thus applied only marginally (Mar.W3, Mar.W4). FAST-MUOD uses a random projection technique [19] (Prj.W5). This comparative structure enables equitable evaluation across methodological paradigms.
Models 12–15 were used in [35], which followed the setup of López–Pintado [36]. X ( t )   =   e ( t ) , where e t = { e 1 t , e 2 t } T is a mean-zero bivariate Gaussian process with the cross-covariance function C i j s , t = ρ i j σ i σ j M s − t ; ν i j , α i j ,   i , j = 1,2 , where ρ 12 represents the correlation between X 1 t and X 2 t , ρ 11 = ρ 22 = 1 , σ i 2 are the marginal variances, and M h ; ν , α = 2 1 − ν Γ ν − 1 α h ν K ν α h (with h = s − t ) is the Matérn class [37], where K ν is the modified Bessel function of the second kind. ν > 0   is a smoothness parameter, and α > 0 is a range parameter. Throughout the simulations, we used the following parameters for the bivariate Matérn cross-covariance function: σ 1 = σ 2 = 1 ,   α 11 = 0.02 , α 22 = 0.01 , α 12 = 0.016 ,   ν 11 = 1.2 , ν 22 = 0.6 , ν 12 = 1 , ρ 12 = 0.6 .
  • Model 12 (Isolated outlier)
Normal sample: X ( t )   =   e ( t ) .
Anomalous sample: X i t = e i t 1 ± 5 I T ≤ t ≤ T + 0.1 ,   i = 1 ,   2 ,  where the sign is +5 if T > 0.45 and −5 otherwise.
  • Model 13 (Shift outlier)
Baseline model: X ( t )   =   e ( t ) .
Contaminated model: X i t = e i t + 1.2 ,   i = 1 ,   2 .
  • Model 14 (Consistent outlier)
Baseline model: X ( t )   =   e ( t ) .
Contaminated model: X 1 t = 1.7 e 1 t and X 2 t = 1.5 e 2 t , i = 1,2 .
  • Model 15 (Shape outlier)
Baseline model: X 1 t = e 1 t + U 11 cos 4 π t  and X 2 t = e 2 t + U 12 sin 4 π t , where U 11 and U 12 are independent and uniformly distributed on [ 2 , 3 ] .
Contaminated model:   X 1 t = e 1 t + U 21 cos 4 π t and X 2 t = e 2 t + U 22 sin 4 π t , where U 21 and U 22 are independent and uniformly distributed on [ 4,5 ] .
We set the contamination proportion in the contaminated model to c = 0.1 . The sample size was n = 100 , and we observed the samples at 50 equally spaced time points within the interval [0,1]. We replicated each simulation 100 times. Sample plots are shown in Figure 7. The results are summarized in Table 8.
Figure 7. Samples of Model 12, Model 13, Model 14, and Model 15. (a) Model 12. (b) Model 13. (c) Model 14. (d) Model 15.
Table 8. Results on Models 12–15 (standard deviations in parentheses, n = 100 ).
Across Models 12–15, our proposed methods demonstrated superior performance. Mar.W1 achieved the highest sensitivity ( p c ) for Models 12–14 and maintained competitive p c for Model 15. Tot.W1 consistently ranked second in p c   for Models 12–14. Among the comparison methods, W2 yielded the lowest false positive rate ( p f ), but exhibited reduced sensitivity. W3 failed to detect anomalies effectively across all models. Prj.W5 demonstrated moderate p f control, but suboptimal p c   performance.

3.3. Simulation Results Summary

The proposed AOD method demonstrates significant advantages across diverse analytical scenarios. It maintains robust outlier detection capabilities under varying models, anomaly proportions, and sample sizes while effectively controlling false positive rates. Crucially, AOD performs reliably under non-Gaussian distributions where conventional methods deteriorate. For isolated shape outliers, AOD achieves significantly higher detection accuracy than benchmark methods. Our bootstrap minimum covariance determinant implementation demonstrates superior detection performance compared to the FAST-MCD variant, albeit with higher computational demands. Friedman test and Wilcoxon test are conducted on p c and p f superlatively on different outlier proportions with the methods compared. Our method has significantly better performance on p c and p f . For details, please refer to the Supplementary File.

4. Application

4.1. Sea Water Spectral Data Outlier Detection

4.1.1. Data Introduction

In an empirical analysis, we used seawater spectral data collected from coastal waters near Xiamen City, Fujian Province, China. The dataset comprised spectral measurements from 40 seawater samples obtained across three strategically selected regions: (1) the Jiulong River estuary, (2) the transitional zone from the estuary to the open sea, and (3) the surrounding waters of Xiamen Island. Figure 8 provides the precise geographical distribution of the sampling locations.
Figure 8. Seawater sampling locations. Red dots indicate sampling points, and we conducted the spectral characterization of seawater samples across a 190–1100 nm range at 1 nm resolution, with the resultant profiles presented in Figure 9. A qualitative assessment demonstrated four distinct spectral classes: representative baseline spectra (gray curves), magnitude-shifted profiles (blue curves), shape-variant spectra (red curves), and combined magnitude-shape anomalies (green curves). Consistent with established spectroscopic protocols for aqueous matrices, we restricted the analytical scope to the 190–600 nm spectral window. This selective spectral truncation mitigated interference from water absorption bands and detector noise amplification beyond 600 nm, thereby ensuring analytical fidelity during subsequent chemometric processing.
Figure 9. Seawater sample absorbance data. (a) Full spectrum from 190 nm to 1100 nm. (b) Zooming in on the wavelength range from 190 nm to 300 nm.

4.1.2. Outlier Detection

We performed outlier detection on seawater spectral data (40 samples) using the proposed AOD method (W1, W1_1, and W1_2 had the same result and are hence denoted by W1) and benchmark methods (W2–W5 as in the simulation). As shown in Figure 10, the proposed AOD method identified the most comprehensive set of outliers (samples 15–18 and 20–27). The comparative results demonstrated that DO (W2) detected samples 15–18 and 20–25; functional boxplot (W3) detected only samples 15–18; functional bagplot (W4) detected samples 15–18 and 20–22; and method W5 yielded identical results to AOD. This analysis demonstrates AOD’s superior sensitivity, particularly in detecting additional spectral anomalies (samples 26–27) missed by other approaches (W2, W3, and W4). Scatter plots of all method indices are provided in the Supplementary.
Figure 10. Seawater outlier detection results. (a) The adjusted outlyingness detection method. (b) The directional outlyingness detection method. (c) The functional boxplot. (d) The functional bagplot. (e) FAST-MUOD.

4.1.3. Performance

To validate detection accuracy, we conducted a contextual analysis of sampling locations: Samples 15–18 originated near Xiamen’s S Power Plant, where potential industrial contamination may compromise spectral integrity. Samples 20–27 represented freshwater environments from the Jiulong River estuary, which are fundamentally distinct from marine spectral profiles. Therefore, we designated these 12 samples as validated outliers based on environmental discontinuity. Using this expert-verified ground truth, we calculated precision ( p c ), false positive ( p f ), F1 score, and AUC metrics for all detection methods. Comparative performance results are quantified in Table 9.
Table 9. Detection results for seawater spectral data.
As shown in Table 9, the proposed AOD method (W1) demonstrated superior performance in both sensitivity and false positive control compared with the benchmark methods. Its robustness in discriminating shape and positional outliers, coupled with comprehensive detection capabilities, established a particular efficacy for FDA. Although DO (W2) outperformed the functional boxplot (W3) and bagplot (W4) approaches, it exhibited detection deficiencies in complex outlier configurations. FAST-MUOD yielded identical results to AOD. ROC curves are in Figure 11.
Figure 11. Outlier detection ROC curves.
Collectively, these results confirm that AOD and FAST-MUOD optimally enhanced inference accuracy through effective outlier removal.

4.2. Character Dataset Outlier Detection

We applied outlier detection to the character trajectory dataset analyzed by [19], originally sourced from the UCI Machine Learning Repository [38]. This multivariate dataset was comprised of 174 bivariate functional observations (pen-tip coordinates) recorded at 100 time points for the letter “i” Following established methodologies [19,39], 10 samples within this set were identified as consensus outliers. To augment the test environment, we incorporated 19 additional outlier samples from the letter “a” dataset (first 19 entries). The combined test set was comprised of 193 trajectories, including 29 confirmed anomalies (approximately 15%), thereby exhibiting structural heterogeneity relative to the base “i” distribution. Figure 12 illustrates both the complex trajectory patterns and detection outcomes.
Figure 12. Character trajectory dataset data and results. (a) Character trajectory dataset data with outliers. (b) The adjusted outlyingness detection method marginally (c) The adjusted outlyingness detection method jointly. (d) The directional outlyingness detection method jointly. (d) The directional outlyingness detection method marginally. (e) The directional outlyingness detection method jointly. (f) The functional boxplot. (g) The functional bagplot. (h) FAST-MUOD.
We compared our results with the four benchmark methods, as conducted in the simulation, and obtained results which demonstrated our method’s capability to identify script anomalies across diverse handwriting profiles. Based on the detection results in Table 10, we drew the following conclusions regarding the proposed method’s performance on character trajectory data. The proposed AOD method marginally (Mar.W1) achieved the highest anomaly detection rate p c = 89.7 % , outperforming all benchmark methods. Although Tol.W2 and Mar.W3 achieved 0% false positives, their low sensitivity ( p c ≤ 68.9 % ) indicated high missed detection rates. Mar.W1 maintained a moderate false positive rate ( p f = 12.2 % ) comparable with Mar.W4. Additionally, FAST-MUOD (W5) exhibited suboptimal performance.
Table 10. Detection results for character trajectory dataset data.
This analysis validates the method’s robustness for real-world handwriting analysis applications where writing style heterogeneity necessitates adaptable anomaly detection frameworks.

4.3. Outlier Detection for Population Data

The data is sourced from the publicly available United Nations World Population Dataset” https://www.un.org/development/desa/pd/ (accessed on 11 November 2025)”. After filtering, it covers the total population estimates from 1950 to 2025 for 100 countries or regions across Europe and Asia, constituting 100 observation curves. The original data and its normalized results are shown in Figure 13. The data overall exhibits an upward trend. However, the population curves for some countries or regions show an initial increase, followed by a decline starting around 1990. We define these curves as outlier population curves; there are 18 such countries or regions (see Supplementary Materials for the list). Outlier detection was performed using the method proposed in this paper and several methods (W1–W5) mentioned in the simulation study. The results are presented in Table 11 and Figure 13.
Figure 13. Outlier detection results on population data. (a) Normalized population curves with outliers. (b) ROC curves for population data outlier detection.
Table 11. Outlier detection results.
The AOD method proposed in this paper and the FAST-MUOD method demonstrated superior performance. FAST-MUOD successfully identified all preset anomalous countries but also incorrectly flagged Qatar as an outlier. Based on its population curve, Qatar remains in an overall upward trend, which aligns more closely with the growth patterns of other normal samples and should not be classified as anomalous. In contrast, although the proposed AOD method missed one true anomaly, it resulted in zero false alarms. FAST-MUOD exhibited a higher false positive rate, which is consistent with findings from the earlier simulation study. F1 score shows the overall best performance by these two methods. Traditional methods such as boxplot and directional outlyingness approach missed several anomalies, indicating limited detection capability. The bagplot method not only performed poorly but also misclassified several clearly upward-trending countries as anomalies, reflecting its low sensitivity to variations in population curve shapes. In summary, the AOD method shows strong potential in achieving both high detection rates and low false positive rates.

5. Conclusions and Discussion

The detection and identification of anomalies in signals is a cornerstone of reliable information analysis. In functional data, this translates to the critical task of pinpointing aberrant curves that deviate from the dominant process, a process essential for data integrity. Accurately achieving this using probabilistic, statistical, and information-theoretic principles is paramount, as it allows us to formally quantify the “unexpectedness” or information gain associated with anomalous patterns, moving beyond purely geometric distance metrics. In this study, we proposed the AOD method, which transforms the functional data outlier detection problem into a multivariate paradigm. The core innovation lies in the AO representation—comprising the Adjusted Mean, Variance, and Skewness of Directional Outlyingness A M O , A V O , S O —which achieves significant dimensionality reduction while preserving critical functional features. This representation, combined with bootstrap-based distribution estimation and the robust Mahalanobis distance, forms an integrated framework that overcomes the limitations of restrictive data distribution assumptions.
Our approach provided a detailed characterization of the magnitude and shape information of functional data. Metrologically, our method enhances measurement accuracy by assuring functional data quality through robust outlier detection, while the bootstrap-based threshold offers a data-driven uncertainty evaluation for the diagnostic process itself, establishing it as a reliable tool for validating measurements under non-ideal non-Gaussian conditions.
Simulation studies demonstrated that AOD performs best in detecting isolated and mixed shape outliers. It also alleviated the distributional assumption, which enhances its practical applicability—a claim verified by an empirical analysis of seawater spectral data. A limitation was observed at extreme outlier proportions (≥10%), where performance degraded in line with statistical intuition and benchmark methods. For such high-contamination scenarios, we recommend using a lower quantile threshold (e.g., 0.95 instead of 0.975) to maintain detection precision. This aligned with statistical intuition and was consistent with all benchmarks.
In practice, many data collection processes naturally yield observations at regular time points (e.g., spectral data), or the data can be obtained in a regular format through alignment. The AOD method can be directly applied to analyze such data. However, the AOD method cannot be directly applied to functional data with different sampling sequences (irregular grids) in its raw form. Unlike [40], which models the continuous latent process to handle irregularity, the AOD method implicitly requires a pre-processing step to align all curves onto a common grid using smoothing or interpolation. What is more, in the context of this paper, ‘Non-Gaussian’ refers to asymmetry (skewness) and heavy tails, not multi-modality. Consequently, the proposed metric does not accommodate multi-modal scenarios. If the dataset contains multiple valid modes (e.g., two different ‘normal’ operating conditions), the AOD method, which aggregates data into a single adjusted outlyingness vector and calculates a distance from a global center, will likely misclassify samples from the smaller (or further) mode as outliers. To handle such scenarios, a mixture model structure or a pre-processing step involving functional clustering would be required before applying AOD. These are valuable directions that warrant further research in our future work.
Future research directions include incorporating higher-order derivatives and moments to enhance anomaly detection capabilities: developing more efficient resampling strategies, such as subsampling or parallelized bootstrap algorithms, to improve computational efficiency without sacrificing statistical accuracy. Applying the complete clustering-detection-classification framework [9] to the AO metric vector and exploring methods for scenarios where normal data exhibit subgroup structures is another potential extension. While recent literature has moved toward explicit classification of anomaly types, real-world functional data often exhibits complex or hybrid patterns that defy pre-defined categories [19]. Consequently, our approach aligns with generalized frameworks, like those of Al Samara et al. [9] and Dai and Genton [22], by prioritizing robust, universal detection over rigid categorization. Future work will explore how components of the AOD vector could be adapted to provide more granular diagnostic insights without sacrificing this flexibility.
Furthermore, we can consider the proposed method for batch processing scenarios, such that future research could address its scalability to very large datasets and its extension to an online, real-time detection framework. The detection threshold is established using a representative subset of the data, it can be applied consistently to new or larger datasets without repeating the bootstrap resampling. This makes the anomaly detection for a large dataset computationally efficient. Although not covered in this study, other anomaly detection methods, such as time series data, present theoretical ideas of considerable merit.

Supplementary Materials

The Supplementary Materials can be downloaded at: https://www.mdpi.com/article/10.3390/e28020233/s1.

Author Contributions

Z.F.: Writing—review and editing, Methodology, Project administration, Conceptualization. X.H.: Writing—original draft, Software, Methodology, Simulation. Y.L.: Writing—review and editing, Methodology. X.S.: Writing—review and editing, Simulation, Validation. K.Z.: Writing–editing, Software, Simulation, Real data analysis. All authors have read and agreed to the published version of the manuscript.

Funding

Zhenghui Feng’s work is supported by the Basic Research Fund in Shenzhen Natural Science Foundation (No. JCYJ20240813104924033), and the Humanities and Social Sciences Foundation of Ministry of Education of China (No. 25YJA910002). Yingxing Li’s work is supported by the National Natural Science Foundation of China (No. 72173104).

Data Availability Statement

Data will be made available on request.

Acknowledgments

We thank the anonymous reviewers for their valuable time and constructive comments, which have helped improve this manuscript.

Conflicts of Interest

The authors declare that they have no known competing financial interests, conflicts of interest, or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Ramsay, J.O. When the data are functions. Psychometrika 1982, 47, 379–396. [Google Scholar] [CrossRef] [Scilit]
  2. Misumi, T.; Matsui, H.; Konishi, S. Multivariate functional clustering and its application to typhoon data. Behaviormetrika 2019, 46, 163–175. [Google Scholar] [CrossRef] [Scilit]
  3. Calle-Saldarriaga, A.; Laniado, H.; Zuluaga, F.; Leiva, V. Homogeneity tests for functional data based on depth-depth plots with chemical applications. Chemom. Intell. Lab. Syst. 2021, 219, 104420. [Google Scholar] [CrossRef] [Scilit]
  4. Brnich, S.; Abou Tayoun, A.; Couch, F.; Cutting, G.; Greenblatt, M.; Heinen, C.; Kanavy, D.; Luo, X.; McNulty, S.; Starita, L.; et al. Recommendations for application of the functional evidence PS3/BS3 criterion using the ACMG/AMP sequence variant interpretation framework. Genome Med. 2019, 12, 3. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Chen, Z.; Gao, C.; Zhou, J.; Yu, Y. Fusing local density and approximate distance for nonparametric outlier detection. Appl. Soft Comput. 2025, 185, 113898. [Google Scholar] [CrossRef] [Scilit]
  6. Degirmenci, A.; Karal, O. Efficient density and cluster based incremental outlier detection in data streams. Inf. Sci. 2022, 607, 901–920. [Google Scholar] [CrossRef] [Scilit]
  7. Kiersztyn, A.; Kiersztyn, K.; Horodelski, M.; Pylak, D. Novel Evaluation Techniques for Outlier Detection Methods: A Case Study with RCOD. IEEE Access 2025, 13, 139719–139731. [Google Scholar] [CrossRef] [Scilit]
  8. Degirmenci, A.; Karal, O. Robust Incremental Outlier Detection Approach Based on a New Metric in Data Streams. IEEE Access 2021, 9, 160347–160360. [Google Scholar] [CrossRef] [Scilit]
  9. Al Samara, M.; Bennis, I.; Abouaissa, A.; Lorenz, P. Complete outlier detection and classification framework for WSNs based on OPTICS. J. Netw. Comput. Appl. 2023, 211, 103563. [Google Scholar] [CrossRef] [Scilit]
  10. Samara, M.A.; Bennis, I.; Abouaissa, A.; Lorenz, P. A Survey of Outlier Detection Techniques in IoT: Review and Classification. J. Sens. Actuator Netw. 2022, 11, 4. [Google Scholar] [CrossRef] [Scilit]
  11. Samara, M.A.; Bennis, I.; Abouaissa, A.; Lorenz, P. SA-O2DCA: Seasonal Adapted Online Outlier Detection and Classification Approach for WSN. J. Netw. Syst. Manag. 2024, 32, 31. [Google Scholar] [CrossRef] [Scilit]
  12. Wu, S.; Beaulac, C.; Cao, J. Functional autoencoder for smoothing and representation learning. Stat. Comput. 2024, 34, 203. [Google Scholar] [CrossRef] [Scilit]
  13. Gertheiss, J.; Rügamer, D.; Liew, B.X.W.; Greven, S. Functional Data Analysis: An Introduction and Recent Developments. Biom. J. 2024, 66, e202300363. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Demeniconi, C.; Davidson, I.; Akoglu, L.; Terzi, E. (Eds.) Proceedings of the 2021 SIAM International Conference on Data Mining (SDM), Virtual, 29 April–1 May 2021; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2021. [Google Scholar] [CrossRef] [Scilit]
  15. Tran, D.H.; Nguyen, V.L.; Nguyen, H.; Jang, Y.M. Self-Supervised Learning for Time-Series Anomaly Detection in Industrial Internet of Things. Electronics 2022, 11, 2146. [Google Scholar] [CrossRef] [Scilit]
  16. Han, H.; Fan, H.; Huang, X.; Han, C. Self-supervised multi-transformation learning for time series anomaly detection. Expert Syst. Appl. 2024, 253, 124339. [Google Scholar] [CrossRef] [Scilit]
  17. Ramos-Carreño, C.; Torrecilla, J.L.; Carbajo-Berrocal, M.; Marcos, P.; Suárez, A. scikit-fda: A Python package for functional data analysis. J. Stat. Softw. 2024, 109, 1–37. [Google Scholar] [CrossRef] [Scilit]
  18. Qu, Z.; Genton, M.G. Sparse functional boxplots for multivariate curves. J. Comput. Graph. Stat. 2022, 31, 976–989. [Google Scholar] [CrossRef] [Scilit]
  19. Ojo, O.T.; Fernández Anta, A.; Genton, M.G.; Lillo, R.E. Multivariate functional outlier detection using the fast massive unsupervised outlier detection indices. Stat 2023, 12, e567. [Google Scholar] [CrossRef] [Scilit]
  20. Tukey, J. Exploratory Data Analysis; Addison-Wesley Pub Co., Ltd.: Boston, MA, USA, 1981. [Google Scholar]
  21. Elías, A.; Jiménez, R.; Paganoni, A.M.; Sangalli, L.M. Integrated depths for partially observed functional data. J. Comput. Graph. Stat. 2023, 32, 341–352. [Google Scholar] [CrossRef] [Scilit]
  22. Dai, W.; Genton, M.G. Directional outlyingness for multivariate functional data. Comput. Stat. Data Anal. 2019, 131, 50–65. [Google Scholar] [CrossRef] [Scilit]
  23. Archimbaud, A.; Boulfani, F.; Gendre, X.; Nordhausen, K.; Ruiz-Gazen, A.; Virta, J. ICS for multivariate functional anomaly detection with applications to predictive maintenance and quality control. Econom. Stat. 2022, 33, 282–303. [Google Scholar] [CrossRef] [Scilit]
  24. Hyndman, R.J.; Shang, H.L. Rainbow plots, bagplots, and boxplots for functional data. J. Comput. Graph. Stat. 2010, 19, 29–45. [Google Scholar] [CrossRef] [Scilit]
  25. Hubert, M.; Rousseeuw, P.J.; Segaert, P. Multivariate functional outlier detection. Stat. Methods Appl. 2015, 24, 177–202. [Google Scholar] [CrossRef] [Scilit]
  26. Claeskens, G.; Hubert, M.; Slaets, L.; Vakili, K. Multivariate functional halfspace depth. J. Am. Stat. Assoc. 2014, 109, 411–423. [Google Scholar] [CrossRef] [Scilit]
  27. Huang, H.; Sun, Y. A decomposition of total variation depth for understanding functional outliers. Technometrics 2019, 61, 445–458. [Google Scholar] [CrossRef] [Scilit]
  28. Hardin, J.; Rocke, D.M. The distribution of robust distances. J. Comput. Graph. Stat. 2005, 14, 928–946. [Google Scholar] [CrossRef] [Scilit]
  29. Dai, W.; Genton, M.G. Functional boxplots for multivariate curves. Stat 2018, 7, e190. [Google Scholar] [CrossRef] [Scilit]
  30. Mahalanobis, P.C. On the Generalized Distance in Statistics. Proc. Natl. Inst. Sci. India 1936, 2, 49–55. [Google Scholar]
  31. Rousseeuw, P.J.; Driessen, K.V. A Fast Algorithm for the Minimum Covariance Determinant Estimator. Technometrics 1999, 41, 212–223. [Google Scholar] [CrossRef]
  32. Cuevas, A.; Febrero, M.; Fraiman, R. On the use of the bootstrap for estimating functions with functional data. Comput. Stat. Data Anal. 2006, 51, 1063–1074. [Google Scholar] [CrossRef] [Scilit]
  33. Febrero, M.; Galeano, P.; González-Manteiga, W. Outlier detection in functional data by depth measures, with application to identify abnormal NOX levels. Environmetr. Off. J. Int. Environmetr. Soc. 2008, 19, 331–345. [Google Scholar] [CrossRef] [Scilit]
  34. Sun, Y.; Genton, M.G. Functional boxplots. J. Comput. Graph. Stat. 2011, 20, 316–334. [Google Scholar] [CrossRef] [Scilit]
  35. Stahel, W.A. Breakdown of Covariance Esitmators. 1981. Available online: https://people.math.ethz.ch/~stahel/publications/resrep31-wst.pdf (accessed on 28 December 2025).
  36. López-Pintado, S.; Sun, Y.; Lin, J.K.; Genton, M.G. Simplicial band depth for multivariate functional data. Adv. Data Anal. Classif. 2014, 8, 321–338. [Google Scholar] [CrossRef] [Scilit]
  37. Matérn, B. Spatial Variation; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  38. Williams, B.H.; Toussaint, M.; Storkey, A.J. Extracting motion primitives from natural handwriting data. In International Conference on Artificial Neural Networks; Springer: Berlin/Heidelberg, Germany, 2006; pp. 634–643. [Google Scholar] [CrossRef] [Scilit]
  39. Dai, W.; Genton, M.G. Multivariate functional data visualization and outlier detection. J. Comput. Graph. Stat. 2018, 27, 923–934. [Google Scholar] [CrossRef] [Scilit]
  40. Montagna, S.; Tokdar, S.T.; Neelon, B.; Dunson, D.B. Bayesian Latent Factor Regression for Functional and Longitudinal Data. Biometrics 2012, 68, 1064–1073. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.