Next Article in Journal
Unconditionally Stable L1-2 FEMs for Nonlinear Schrödinger Equations with the Variable-Order Time-Fractional Derivative
Previous Article in Journal
Unsupervised Clustering of Cities Using Commercial Air Traffic: A Proxy for Economic Connectivity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

CADS: A Circular-Adaptive Density Smoother for Two-Dimensional Probability Density Estimation of Seasonal Geophysical Data

1
Department of Mathematics, The University of Tulsa, Tulsa, OK 74104, USA
2
Department of Plant Sciences, University of Saskatchewan, Saskatoon, SK S7N 5A8, Canada
3
Department of Accounting, Economics and Finance, Angelo State University, San Angelo, TX 76909, USA
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(10), 1655; https://doi.org/10.3390/math14101655
Submission received: 6 April 2026 / Revised: 11 May 2026 / Accepted: 12 May 2026 / Published: 13 May 2026

Abstract

Estimating the joint probability density of seasonal geophysical variables like Aerosol Optical Depth (AOD) and Day of Year (DOY) presents three unresolved challenges. The first of these challenges is the periodic nature of the temporal axis. The second is the physically distinct scales of the two variables. The third is the marginal inconsistency introduced by smoothing operations. Existing methods for estimating probability density do not address each of these challenges simultaneously. Here we introduce CADS (the Circular-Adaptive Density Smoother), a computationally efficient algorithm for estimating the joint probability density of two seasonal geophysical variables that simultaneously addresses each of these three challenges. CADS is evaluated on two synthetic datasets and one real observational dataset of AERONET measurements from NASA Ames ( n = 74 , 653 ) using five-fold cross-validation. CADS achieves the highest mean log-likelihood relative to other methods for estimating probability density, and it is approximately 3000 times faster than kernel density estimation. An ablation study confirms that each component of CADS contributes independently to its high performance. Finally, a novel metric for evaluating the geometric correctness of the treatment of the circular boundary of the DOY variable is introduced.

1. Introduction

Aerosol Optical Depth (AOD) is one of the most fundamental variables within climate science and air quality research. AOD helps to quantify the extinction of solar radiation that occurs due to aerosols in the atmosphere, and plays a key role in the understanding of variables related to radiative forcing, visibility, and health effects of those aerosols [1,2]. AOD can be directly measured at hundreds of ground-based monitoring stations around the world as part of networks like the Aerosol Robotic Network (AERONET) [1,3]. These monitoring stations have existed for multiple decades, allowing for the study of long-term trends in AOD [4,5].
A common approach to analyzing AOD is to plot it as a function of Day of Year. Such a plot reveals seasonal cycles of AOD. A common approach to analyzing these cycles is to calculate the mean AOD for each month of the year. However, this approach discards information about the distribution of AOD measurements within each month. The problem of identifying meaningful structure within datasets with complex and skewed characteristics is prevalent throughout the sciences, from clinical research databases with skewed class distributions [6] to remote sensing applications where automated discovery of interpretable features must account for non-uniform density patterns in multispectral data [7]. The joint probability density of AOD and Day of Year contains more information about the seasonal cycles of AOD than the means calculated for each month, but determining that joint probability density from AOD measurements is a practical problem.
Estimating a two-dimensional probability density from observational data is a classical problem in nonparametric statistics. Two families of methods are most widely used to solve this problem. One approach employs histograms with smoothing [8,9]. While fast and easy to implement, histograms do not account for differences between the variables and depend on choices about bin size and smoothing that can impact the method’s performance. An alternative approach is kernel density estimation (KDE) [10,11,12,13,14]. In KDE, a kernel function is placed at each observation, and the summation of those kernel functions produces an estimate of the density function. While KDE has a solid theoretical foundation for density estimation, the computational cost of the algorithm increases with the square of the number of observations. As a result, KDE is not well-suited to AOD-DOY data with tens of thousands of observations. Deep learning methods, such as normalising flows [15] and variational autoencoders [16], offer flexibility but do not naturally incorporate the circular structure of the DOY variable and the marginal consistency constraint, requiring more tuning of their hyperparameters to account for these features of the data. Finally, neither KDE nor histogram methods account for the structure of the AOD-DOY data, and neither ensures that the estimated density has the same marginals as the data after smoothing.
Three specific limitations motivate the present work. The first concerns the periodic nature of the DOY variable. Day 365 is immediately followed by day 1 in the annual cycle. The DOY axis is therefore circular rather than linear. Standard boundary conditions applied in histogram smoothing and KDE, including zero padding and reflection, treat the domain boundary as a hard edge. This creates an artificial discontinuity at the transition between December and January. The discontinuity has no physical basis and distorts both visual interpretation and quantitative summaries derived from the estimated density [17,18].
The second limitation regards the difference in the scales of the two variables. DOY is a variable that represents time with smooth seasonal transitions. AOD is a continuous variable that represents optical measurements with episodic events and noise. The use of kernels that apply the same bandwidth to two variables of different scales and variability is not a physically justified approach. More appropriate approaches utilize different bandwidths for each of these variables [13,14].
The third limitation relates to marginal inconsistency. Any smoothing operation will alter the marginal distribution of the estimated density. The integral of the joint distribution will not equal the one-dimensional distribution of the empirical data. There is no correction for this in existing methods. Hence, the estimated joint distribution will not be consistent with the observed one-dimensional distributions [19,20].
Extensions of KDE have been proposed to address some of these issues in isolation. For instance, there exists a theory of KDE using von Mises kernels for variables that are periodic in nature [17]. The extension of this method to variables of mixed types has not yet been developed. Another approach is to use adaptive methods to determine the bandwidth [21]. Such methods offer benefits in that high density regions of the data will be smoothed less than low density areas of the data. However, they are computationally expensive methods that do not appear to offer solutions to either the circular boundary issue or the marginal consistency issue. Finally, iterative methods for finding discrete distributions that have specific marginal distributions have long been used in statistical analysis [19]. These methods, known as iterative proportional fitting (IPF) methods, are guaranteed to converge to a solution via the Sinkhorn–Knopp theorem [22]. While these methods are well established in discrete probability theory, their application to the continuous case has not yet been explored.
Existing methods did not addresses all three limitations simultaneously. In this paper, we introduce CADS, the Circular-Adaptive Density Smoother. CADS is a two-dimensional density estimator that can be applied to situations in which one variable is seasonal and two variables have different scales. CADS incorporates three components. The first of these components is a method for treating the circular boundary of the seasonal variable. Specifically, torus replication is applied to the empirical histogram before smoothing to ensure that observations at the beginning of the season are represented in the smoothed density estimate as if they were at the end of the season, and vice versa. The second is an anisotropic locally adaptive smoothing scheme that automatically selects the bandwidth along each axis based on the local sample density; regions of high sample density are smoothed with narrow kernels, while regions of low sample density are smoothed with broad kernels. The third is an IPF marginal consistency correction that ensures the marginals of the smoothed distribution are equal to the sample histograms. Each of these methods addresses a specific limitation of previous approaches. Each of these methods can be individually ablated, yet each contributes to the overall performance of the algorithm.
We evaluate the proposed method on two synthetic datasets as well as on real AERONET observations from NASA Ames. The results demonstrate the ability of CADS to achieve gains in log-likelihood and computational benefit relative to KDE. The remainder of the paper is organised as follows. Section 2 reviews related work. Section 3 describes the CADS method. Section 4 presents the experimental results. The discussion of the results follows in Section 5. Finally, Section 6 concludes the paper.

2. Related Work

2.1. Histogram-Based Density Estimation

Among the most widely used approaches to two-dimensional density estimation are histogram-based methods. The approach partitions the space into a grid of rectangles of equal size, and counts the number of observations that fall within each rectangle [8,9]. The counts within each rectangle are smoothed with a Gaussian distribution to create a continuous estimate of the density [12]. Finally, because the algorithm is based upon simple counting operations, the method is computationally efficient even for large data sets.
One of the main limitations of using histograms to estimate densities is the choice of bin width and smoothing bandwidth. These parameters are typically selected by heuristic rules or visual inspection, and suboptimal choices can lead to either over-smoothed or under-resolved estimates [8,9]. Bandwidth selection methods with theoretical justification exist for the one-dimensional case [12] but are less well developed for two-dimensional settings with heterogeneous axes [14].
Histogram-based estimators also do not account for the structure of the data. If one of the variables is periodic, using a histogram along that variable will create discontinuities at the boundaries of the domain of that variable. Furthermore, smoothing will alter the distribution of that variable in the estimated density. Histogram methods do not include a step to ensure that the marginal distributions of the variables are restored after smoothing, which introduces bias into the estimation process that is rarely accounted for in the literature.

2.2. Kernel Density Estimation

Kernel density estimation is rooted in strong theoretical foundations. The method was introduced by Rosenblatt [10] and Parzen [11] in the one-dimensional case and later extended to the multivariate case [13,14]. Essentially, the method places a kernel function at each observation and uses the sum of these kernels to estimate the density function. The bandwidth controls the degree of smoothing of the estimated density function and is, thus, a crucial tuning parameter of the method. Several rules exist to help select the bandwidth, such as Scott’s rule [14] and Silverman’s rule [12]. Both rules provide a formula for directly estimating the bandwidth parameter.
KDE has a few well-known limitations. The computational cost of the method is O ( n 2 ) in the naive implementation [23]. Thus, applying the method to datasets with more than around ten thousand samples can be prohibitive [23]. The question of when local observations suffice to approximate global predictors is also relevant in spatial statistics. In this setting, the screening effect formalizes conditions under which distant observations contribute negligibly to prediction accuracy and provides theoretical justification for computationally efficient local methods [24]. For these reasons, using KDE to analyze datasets like the AERONET datasets with tens of thousands of observations can be prohibitive.
Standard KDE applies a single global bandwidth to all regions of the domain. This is inappropriate when the data exhibits different densities in various parts of the domain. Given the different densities in AOD-DOY data, a bandwidth appropriate for the densest portion of the data will be too large for the tail of high AOD values, while a bandwidth appropriate for the tail will overly smooth the dense low-AOD baseline of the data. Furthermore, standard KDE treats all of the variables in the data set equally. Because the AOD and DOY variables have different scales and variation within the data, this is an inappropriate assumption. Finally, KDE does not allow for the marginal distributions of the variables to be corrected for the effect of smoothing the joint distribution.

2.3. Circular Statistics and Circular Density Estimation

Circular statistics provides the theoretical foundation for analysing periodic data. A comprehensive treatment of the subject is provided by Fisher [17] and Mardia and Jupp [18]. The von Mises distribution is the circular analogue of the Gaussian distribution and forms the foundation of circular kernel density estimation methods for one-dimensional periodic variables [17,25].
Extensions to mixed domains that include both circular and linear variables have received less attention from the researchers in the field. Di Marzio and colleagues proposed product kernel estimators for cylindrical data, in which one variable is circular and one is linear [26]. These methods provide a theoretically principled approach to mixed-domain density estimation. However, they are not widely used in practice.

2.4. Adaptive Bandwidth Methods

Adaptive methods of selecting bandwidth address the limitation of global bandwidth selection methods by permitting the bandwidth to be different at different points in the domain. Abramson [21] proposed an estimator for the bandwidth that is inversely proportional to the square root of a pilot estimate of the density at each observation. Thus, regions of high density are smoothed more narrowly than regions of low density. Terrell and Scott [27] developed this idea further and studied the properties of variable bandwidth estimators.
While the adaptive methods often provide improved estimates, they also introduce new challenges. Adaptive methods require obtaining an initial estimate of the density as part of the method, introducing additional computational cost and sensitivity to the bandwidth selected for that initial estimate. Furthermore, the methods are generally more difficult to implement than the estimators with fixed bandwidths. Finally, like kernel density estimators in general, adaptive methods do not appear to have been developed to address either the circular boundary problem or the marginal consistency problem.

2.5. Iterative Proportional Fitting

Iterative Proportional Fitting (IPF) is an algorithm for adjusting a matrix of non-negative values to have prescribed row and column sums. Deming and Stephan [19] introduced the algorithm for the purpose of adjusting matrices to have prescribed margins in their analysis of least squares. The algorithm repeatedly scales the rows and the columns of the matrix until the row and column sums converge to the prescribed values. The algorithm is guaranteed to converge under mild conditions on the initial matrix [22]. More specifically, Sinkhorn and Knopp proved that the algorithm will converge to a unique solution if all of the elements of the initial matrix are positive, and if all of the prescribed row and column sums are positive.
IPF has been applied to a wide range of fields including survey statistics [20], transportation modelling, and input-output economics. IPF’s application to the problem of continuous two-dimensional density estimation has not yet been explored. Specifically, there has been no attempt to apply IPF to density estimation methods as a means of performing a post-smoothing correction to ensure that the estimated densities are marginally consistent.

2.6. Neural and Deep Learning-Based Density Estimators

Recent advances in deep learning have produced a class of flexible density estimators based on neural networks. Normalising flows [15,28] transform a simple base distribution through a sequence of invertible mappings to model complex densities. Variational autoencoders [16] learn a latent representation from which the data distribution can be approximated. Masked autoregressive models [29] decompose a joint density into a product of conditionals, each parameterised by a neural network.
While these methods have achieved good results on other domains, their application to the problem considered in this paper has certain challenges. These methods require a large amount of training data to train the models. Additional efforts are also required to tune the models to achieve good results on the geophysical setting considered in this paper. Furthermore, they do not consider the circular nature of the DOY variable, the anisotropy of the two variables, or the constraint of consistency of the marginal distributions. CADS directly addresses all of these challenges, and achieves comparable or better results at a much lower computational cost.

3. Methodology

3.1. Problem Formulation

Let x X = [ 1 ,   365 ] and let y Y = [ 0 ,   y max ] be the variables to model, where y max is set to the 99.5th percentile of the y values plus some small margin to ensure that all of the data points fall within the interval. The variable x is periodic with period 365 and y is a non-negative variable with empirically bounded support. DOY is treated as a continuous variable that takes values in [ 1 , 365 ] . The fractional part of the year (including leap years and day 366) is not modeled; all dates are mapped to the interval [ 1 , 365 ] .
Given a set of n independent observations { ( x i , y i ) } i = 1 n drawn from an unknown joint density f ( x , y ) , the goal is to construct an estimate f ^ ( x , y ) that satisfies the normalisation condition
X Y f ^ ( x , y ) d y d x = 1 ,
respects the periodicity of x, and is consistent with the empirical marginal distributions of x and y individually.
The density is evaluated on a discrete rectangular grid of size N X × N Y = 220 × 180 . The grid vectors are
x g = { x 1 g , , x N X g } X , y g = { y 1 g , , y N Y g } Y ,
with uniform spacings Δ x = ( 365 1 ) / ( N X 1 ) and Δ y = y max / ( N Y 1 ) . The discrete normalisation condition is
j = 1 N Y k = 1 N X f ^ ( x k g , y j g ) Δ x Δ y = 1 .
All computations proceed in five stages. The first stage computes an empirical histogram. The second stage extends the histogram using a circular boundary extension. The third stage smoothes the histogram using anisotropic locally adaptive smoothing. The fourth stage denoises the histogram using a tail-aware denoising procedure. The fifth stage enforces marginal consistency using an IPF correction step. Stages 2 through 5 comprise the novel contributions of CADS.

3.2. Algorithm Overview

Algorithm 1 provides a concise description of the full CADS procedure.
Algorithm 1 CADS: Circular-Adaptive Density Smoother
Require: 
Observations { ( x i , y i ) } i = 1 n , grid size N X × N Y , replication width W, bandwidth parameters σ p , σ d , σ s , σ τ , percentile threshold q, IPF iterations T
Ensure: 
Normalised density estimate f ^ on the grid x g × y g
  1:
Stage 1—Histogram: Bin observations into count matrix H R N Y × N X
  2:
Stage 2—Circular boundary (Component 1):
  3:
   Prepend last W columns and append first W columns of H to form H ext (Equation (5))
  4:
Stage 3—Anisotropic adaptive smoothing (Component 2):
  5:
   Compute pilot estimate: local = G σ p H ext                (Equation (7))
  6:
   Compute blending weight w dense from local and percentile q     (Equation (8))
  7:
   Compute dense smoothed field: dense = G σ d H ext            (Equation (9))
  8:
   Compute sparse smoothed field: sparse = G σ s H ext           (Equation (10))
  9:
   Blend: hybrid = w dense · dense + ( 1 w dense ) · sparse            (Equation (11))
10:
   Crop central block to recover H ˜ on N Y × N X grid
11:
Stage 4—Tail-aware denoising:
12:
   Define support S from pilot density; compute distance map d ( j , k )
13:
   Blend H ˜ with heavily smoothed tail field using d           (Equation (15))
14:
   Output pre-IPF estimate H ^
15:
Stage 5—IPF marginal correction (Component 3):
16:
   Compute empirical marginals p ^ ( x k g ) and p ^ ( y j g )
17:
   for  t = 1 , , T  do
18:
      Scale columns to enforce DOY marginal              (Equation (17))
19:
      Scale rows to enforce AOD marginal                 (Equation (18))
20:
   end for
21:
   Renormalise to obtain f ^
22:
return  f ^

3.3. Empirical Histogram Construction

The first stage converts the observations into a two-dimensional empirical histogram. The count matrix H R N Y × N X is defined by
H j k = # i : x i B k x , y i B j y ,
where B k x and B j y denote the k-th and j-th bin intervals along the DOY and AOD axes respectively. The histogram is not normalised at this stage. All smoothing operations are performed on the raw counts.

3.4. Component 1: Circular Boundary Treatment

Since the DOY is periodic, the density at day 365 must be approximately equal to the density at day 1. Any estimator of the density that satisfies the assumptions regarding stationarity and invertibility must respect this constraint. However, standard approaches to Gaussian smoothing, such as zero padding, constant-value padding, and reflection violate this constraint. These approaches can lead to artificial discontinuities in the resulting time series, which may have an adverse effect upon both the visual and statistical analysis of that time series.

Torus Replication

To enforce periodic boundary behaviour, the histogram is extended by torus replication along the DOY axis before any smoothing is applied. Let W N denote the replication width. The extended histogram is
H ext = H [ : , N X W : ] , H , H [ : , : W ] R N Y × ( N X + 2 W ) ,
where H [ : , a : b ] selects columns a through b 1 of H. Equation (5) prepends the last W columns of the original histogram, which correspond to late December, and appends the first W columns, which correspond to early January. The resulting grid wraps the annual cycle. Smoothing kernels applied near the left boundary of H ext therefore incorporate density information from the right end of the year, and vice versa.
All smoothing operations described in Section 3.5 and Section 3.6 are performed on H ext . After smoothing, the central block
H ˜ = H ext smooth [ : , W : W + N X ]
is extracted to recover an estimate on the original grid of size N Y × N X . In all experiments, W = 30 is used. This value provides sufficient kernel overlap for the largest smoothing bandwidth applied, which is σ DOY = 3.2 grid units.
The extension consists of a single wrap-around: the last W columns of the data set (representing late December) are prepended to the data set, and the first W columns of the data set (representing early January) are appended to the data set. This adds 2 W = 60 columns of data to the histogram before smoothing, but discards the same number of columns after smoothing; thus, the extension has negligible computational overhead.

3.5. Component 2: Anisotropic Locally Adaptive Smoothing

DOY and AOD represent physically distinct quantities with different characteristic scales and noise levels. DOY is a dimensionless temporal index with gradual seasonal transitions. AOD is a continuous optical measurement that can change sharply during episodic events such as dust storms or wildfire smoke. Applying a single isotropic Gaussian kernel to both axes enforces equal smoothing in all directions. This is not physically justified, and an anisotropic kernel with axis-specific bandwidths is more appropriate.
The density also varies substantially across the domain. Some DOY-AOD combinations are observed thousands of times while others are rarely or never sampled. A fixed bandwidth that works well in dense regions will over-smooth sharp features elsewhere. One calibrated for sparse regions will amplify noise in high-density areas. A locally-adaptive scheme addresses this problem.

3.5.1. Pilot Density Estimate

A pilot density estimate is computed on the extended histogram by applying a narrow Gaussian filter. Let local R N Y × ( N X + 2 W ) denote this estimate. It is defined as
local = G σ p H ext ,
where * denotes convolution, G σ p is a 2D Gaussian kernel, and σ p = ( σ p , AOD , σ p , DOY ) = ( 0.9 , 1.0 ) grid units. The pilot estimate is used only to determine blending weights and is not used as the final density estimate.

3.5.2. Adaptive Blending Weight

A continuous blending weight w dense is defined at each grid cell as
w dense ( j , k ) = local ( j , k ) local ( j , k ) + q ,
where q is the 72nd percentile of the strictly positive values of local. This function maps local support strength to the interval ( 0 , 1 ) . Cells with local q receive w dense 1 and so use narrow kernels. Cells with local q receive w dense 0 and so use broad kernels. The threshold q is data-driven and adapts automatically to each dataset.

3.5.3. Dense and Sparse Kernels

Two axis-specific Gaussian smoothers are applied to H ext :
dense = G ( σ AOD d , σ DOY d ) H ext ,
sparse = G ( σ AOD s , σ DOY s ) H ext ,
where ( σ AOD d , σ DOY d ) = ( 0.6 , 0.8 ) and ( σ AOD s , σ DOY s ) = ( 2.6 , 3.2 ) in grid units. The dense kernel preserves sharp local structures in well-sampled regions. The sparse kernel suppresses noise in poorly sampled regions.

3.5.4. Adaptive Blend

The two smoothed fields are combined using the blending weight:
hybrid ( j , k ) = w dense ( j , k ) · dense ( j , k ) + 1 w dense ( j , k ) · sparse ( j , k ) .
This produces a spatially varying estimator. It applies narrow smoothing in dense regions and broad smoothing in sparse regions. The transition between the two regimes is continuous and data-driven.

3.6. Tail-Aware Denoising

After the adaptive blend, the estimate is cropped back to the original N Y × N X grid. A tail-aware denoising step is then applied to suppress residual artefacts in regions with no empirical support.
The empirical support region S is the set of grid cells where the pilot density exceeds its 15th percentile:
S = ( j , k ) : local crop ( j , k ) > Q 0.15 ( local crop + ) ,
where local crop is the pilot density on the cropped grid and local crop + denotes its strictly positive values.
A normalised distance map d ( j , k ) [ 0 , 1 ] is then computed. It measures the Euclidean distance from each cell to the nearest cell in S , scaled by the maximum distance across the grid:
d ( j , k ) = EDT ( S ¯ ) ( j , k ) max j , k EDT ( S ¯ ) ( j , k ) + ε ,
where EDT denotes the Euclidean distance transform and S ¯ is the complement of S . A heavily smoothed tail field is computed as
tail = G σ τ H ˜ ,
with σ τ = 1.6 grid units. The final pre-IPF estimate is
H ^ ( j , k ) = 1 0.5 d ( j , k ) · H ˜ ( j , k ) + 0.5 d ( j , k ) · tail ( j , k ) .
Equation (15) interpolates between the adaptive estimate H ˜ and the heavily smoothed tail field according to distance from the data support. Cells within the support are unchanged. Cells far from the support receive progressively stronger smoothing.

3.7. Component 3: IPF Marginal Consistency Correction

Any smoothing operation modifies the marginal distributions of the estimated density. After the adaptive smoother is applied, the integrals f ^ ( x , y ) d y and f ^ ( x , y ) d x no longer match the empirical marginal densities p ^ ( x ) and p ^ ( y ) computed directly from the data. This marginal inconsistency is a systematic bias that affects all smoothing-based estimators. A principled correction step is therefore needed.

3.7.1. Empirical Marginals

The empirical marginal densities are estimated from one-dimensional histograms with the same bin resolution as the 2D grid:
p ^ ( x k g ) # { i : x i B k x } , p ^ ( y j g ) # { i : y i B j y } .
A mild Gaussian smoothing with σ = 1.0 grid unit is applied to each marginal to reduce bin-edge artefacts before the correction step.

3.7.2. IPF Algorithm

Let f ( 0 ) denote the normalised density obtained after tail-aware denoising. The IPF procedure alternates between two scaling steps. The first step enforces the DOY marginal:
f ( t + 1 2 ) ( x k g , y j g ) = f ( t ) ( x k g , y j g ) · p ^ ( x k g ) j = 1 N Y f ( t ) ( x k g , y j g ) Δ y .
The second step enforces the AOD marginal:
f ( t + 1 ) ( x k g , y j g ) = f ( t + 1 2 ) ( x k g , y j g ) · p ^ ( y j g ) k = 1 N X f ( t + 1 2 ) ( x k g , y j g ) Δ x .
Equations (17) and (18) are applied alternately for T = 3 iterations. After the final iteration, the density is renormalised to satisfy Equation (1).
IPF is applied only once, after all the smoothing steps are completed. IPF is not applied iteratively. Three alternating row and column scaling steps are typically sufficient to reach numerical convergence, as indicated by the marginal residuals at each iteration step.

3.7.3. Convergence

Convergence of the IPF algorithm is guaranteed under mild conditions by the Sinkhorn–Knopp theorem [22]. If the initial matrix has strictly positive entries and the prescribed marginals are strictly positive and sum to one, the alternating scaling procedure converges to a unique solution with the desired marginals. Both conditions are satisfied here. The smoothed histogram has strictly positive entries after a small numerical floor of ε = 10 15 is added. The empirical marginals are strictly positive after the mild smoothing step described above.
The computational cost of each iteration of IPF is O ( N X · N Y ) . The cost of this step is negligible in comparison to the cost of constructing and smoothing the histogram. Three iterations are typically sufficient to converge to numerical precision. The fast convergence of IPF is in agreement with the results of numerous studies on iterative algorithms, which show that computationally efficient methods with theoretical statistical guarantees often outperform those that are more computationally intensive to implement [30,31].

3.8. Evaluation Metrics

Four metrics are used to evaluate and compare the density estimators.
The primary metric is the held-out log-likelihood. For a test set { ( x i , y i ) } i = 1 n test , the mean log-likelihood is
L = 1 n test i = 1 n test log f ^ ( x i , y i ) .
Density values are obtained by bilinear interpolation on the evaluation grid. A numerical floor of 10 15 is applied to prevent logarithm-of-zero errors. Higher values of L indicate better predictive performance.
The second metric is roughness, which describes the regularity of the density surface:
R ( f ^ ) = mean f ^ x 2 + mean f ^ y 2 ,
approximated by finite differences on the grid. Lower roughness indicates a smoother surface and higher roughness indicates finer-scale structure. This metric is descriptive and is not used as an optimisation criterion.
Two additional metrics that are sometimes used to evaluate density estimators are the integrated squared error (ISE) and the symmetrised Kullback–Leibler divergence (sKL). The integrated squared error (ISE) metric considers the L 2 distance between the estimated and true densities:
ISE ( f ^ ) = j = 1 N Y k = 1 N X f ^ ( x k g , y j g ) f ( x k g , y j g ) 2 Δ x Δ y .
The symmetrised Kullback–Leibler divergence (sKL) metric evaluates the information-theoretic difference between the estimated and true densities:
sKL ( f ^ f ) = j , k f ^ ( x k g , y j g ) log f ^ ( x k g , y j g ) f ( x k g , y j g ) Δ x Δ y + j , k f ( x k g , y j g ) log f ( x k g , y j g ) f ^ ( x k g , y j g ) Δ x Δ y .
Lower values of both metrics indicate that the estimated density is closer to the true density. Unfortunately, these metrics cannot be computed for the real AERONET dataset owing to the unavailability of the true density values.
The third metric is the boundary discontinuity. It is introduced in this work to quantify the periodic boundary artefact. Let f ( : , 0 ) and f ( : , 1 ) denote the first and last columns of the estimated density, which correspond to DOY = 1 and DOY = 365 respectively. The normalised boundary discontinuity is
D = mean | f ( : , 0 ) f ( : , 1 ) | mean ( f ) .
For the perfectly periodic estimator, the discontinuity measure D will be zero. Lower values indicate better continuity. This metric considers aspects of the method that are not reflected in the log-likelihood value.
The final metric to consider is the runtime of the estimators. The runtime is recorded in seconds. All of the implementations of the estimators are written in Python and executed on the same hardware using the same data grids and cross-validation splits.

4. Experiments

4.1. Datasets

Three datasets are used to evaluate the proposed method. Two of the datasets are synthetic, and one of them is a real dataset.

4.1.1. Synthetic Dataset 1

Synthetic Dataset 1 consists of n = 40 , 000 samples drawn from a generative model designed to mimic realistic seasonal AOD behaviour. The conditional mean AOD as a function of DOY is defined as a mixture of Gaussian components:
μ ( x ) = 0.08 + 0.07 exp ( x 105 ) 2 2 · 30 2 + 0.12 exp ( x 220 ) 2 2 · 45 2 + 0.03 exp ( x 300 ) 2 2 · 24 2 + 0.025 exp min ( x 1 , 365 x ) 2 2 · 20 2
where the last term introduces a cross-boundary winter signal. This term elevates the AOD near both DOY = 1 and DOY = 365 , which simulates winter pollution that spans the January boundary. The conditional variance is seasonally modulated:
σ ( x ) = 0.018 + 0.018 sin ( 2 π ( x 150 ) / 365 ) + 1 2 .
Episodic aerosol events are simulated by adding gamma-distributed increments to a fraction of observations. The event probability peaks near DOY = 230 in summer. A small lognormal background term is added to all observations to represent instrument noise. The resulting samples are clipped to [ 0.005 ,   1.2 ] .

4.1.2. Synthetic Dataset 2

Synthetic Dataset 2 also consists of n = 40 , 000 samples and represents a shifted episodic regime with stronger variability. The conditional mean is
μ ( x ) = 0.07 + 0.05 exp ( x 85 ) 2 2 · 24 2 + 0.14 exp ( x 205 ) 2 2 · 38 2 + 0.05 exp ( x 275 ) 2 2 · 28 2 + 0.03 exp min ( x 1 , 365 x ) 2 2 · 18 2 .
The episodic event probability is even higher in this dataset and has a peak near DOY = 215 . The strength of the cross-boundary winter signal is also stronger in this dataset, presenting a more challenging test of the method’s treatment of circular boundaries.

4.1.3. Real Dataset: AERONET NASA Ames

The real dataset comes from the AERONET ground-based sunphotometer network [1]. The site that is used is located at the NASA Ames Research Center in the San Francisco Bay Area, California [1]. The location has high seasonal variability in its aerosol loading, specifically smoke from wildfires that occur in the area from approximately July through October [4]. The data corresponds to the AOD20 quality level of the AERONET network [3]. The data spans the time period between January 2018 and December 2023 and contains n = 74 , 653 cloud-screened measurements of AOD. These measurements were taken on 363 out of 365 days within that time period. The data spans five years. The five folds used for cross-validation were constructed by randomly sampling the data without regard to temporal order. Because the model is based on the distribution of DOY and AOD values for all years, it is not modelled according to the individual years themselves. Thus, temporal concerns related to model fitting are eliminated. The AOD variable used is the 500 nm channel (AOD_500nm).

4.2. Baselines and Implementation

Two baseline methods are considered. They represent the two most commonly used approaches for 2D density estimation in geophysical applications.

4.2.1. Histogram with Gaussian Smoothing

The first baseline method constructs a 2D histogram over the 220 × 180 evaluation grid, and applies a Gaussian filter of uniform bandwidth σ = ( 1.4 , 1.8 ) grid units along each of the AOD and DOY axes, respectively. The bin width along each axis is set by the grid spacing: Δ x 1.66 days along DOY and Δ y determined by the 99.5th percentile of AOD divided by N Y 1 = 179 along the AOD axis. This technique is often applied within the field of atmospheric science in general.

4.2.2. Standard Bivariate Kernel Density Estimation

The second baseline employs full kernel density estimation using SciPy’s gaussian_kde function [32], which implements a standard naive O ( n 2 ) KDE algorithm without FFT-based or tree-based acceleration. The bandwidth is chosen following Scott’s rule [14]. For robustness to this bandwidth choice, we also report results of an analysis using Silverman’s rule for the bandwidth [12]. The results of both rules are the same on the two synthetic datasets: 3.862 and 3.874 for Datasets 1 and 2, respectively. Thus, these results are robust to the choice of bandwidth. The estimated density is also post-smoothed with a mild Gaussian smoothing with σ = ( 0.5 , 0.5 ) grid units to reduce noise in the grid estimate. The reported runtime comparisons reflect this naive implementation of the algorithm; while it is likely that optimized KDE implementations would exhibit reduced runtimes in comparison to the methods described herein, such alternatives do not address the limitations relating to the selection of the bandwidth parameter.

4.2.3. Implementation Details

All three methods (Hist+Gaussian, Standard bivariate KDE, and CADS) are implemented in Python using the scientific Python library packages NumPy [33] and SciPy [32]. Each method uses the same grid of 220 × 180 points, the same bounds for the integration over the domain of the functions, and the same cross-validation splits. The runtime of each method is measured in seconds within the same Python script and on the same computational hardware: a single CPU core of an Intel Core i7 processor with 16 GB RAM. No GPU acceleration was used. All methods were run under Python 3.10 using NumPy 1.24 and SciPy 1.10. The performance of each of the algorithms is evaluated using five-fold cross-validation, where each fold has 6000 points sampled randomly from the dataset, and the log-likelihood of the held-out data is calculated using Equation (19).
The two baselines that were chosen represent methods that are most commonly applied to the problem of two-dimensional density estimation. More flexible methods, such as normalising flows [15], were considered for inclusion in the study, but were not included as baselines for this study for several reasons. Most notably, normalising flows models generally require more tuning and training infrastructure to be applied to a problem of this size. Furthermore, the models do not inherently account for features of the problem, such as the circular nature of the DOY variable, the different scales of the individual variables, or the requirement that the estimates are consistent with the univariate distributions of those variables. Finally, the main goal of the study was to evaluate the benefit of each of the three components of CADS relative to standard practice in geophysical sciences. Thus, these baselines were chosen to represent the standard practice for this type of problem.

4.3. Main Results

Table 1 reports the mean held-out log-likelihood and mean runtime for each method across all three datasets.
CADS achieves the highest held-out log-likelihood on all three datasets. Table 2 reports the fold-wise paired comparisons with bootstrap confidence intervals and paired t-test p-values.
All improvements are statistically significant. All 95% bootstrap confidence intervals exclude zero and all paired t-test p-values are below 0.01 . The improvement is substantially larger on the real AERONET dataset than on the synthetic datasets. The gain over Hist + Gaussian increases from + 0.014 nats on Dataset 1 to + 0.107 nats on the real data, which is a 7.7-fold increase. The gain over Standard bivariate KDE increases from + 0.028 nats to + 0.314 nats, which is an 11-fold increase. This pattern reflects the complexity of real observational data, which contains sharp episodic events such as wildfire smoke that are difficult to capture with uniform smoothing. Depending on dataset size, CADS is approximately 1500 to 3000 times faster than Standard bivariate KDE and achieves superior predictive performance.

4.4. Visual Comparison

Figure 1 shows the density estimates for Synthetic Dataset 1. The histogram baseline produces a diffuse estimate that over-smooths the summer AOD peak and fails to resolve the cross-boundary winter signal. Standard bivariate KDE captures the main seasonal structure but exhibits an artificial discontinuity at the DOY = 1 and DOY = 365 boundary that is absent in the underlying data. CADS produces a smooth and continuous estimate that captures all three seasonal peaks and correctly connects the density at both ends of the annual cycle.
Figure 2 shows the results for Synthetic Dataset 2. Due to the sharper episodic structure in this synthetic dataset, the limitations of the histogram method are more apparent. The high-density episodic events across a range of AOD values are smoothed uniformly across the episodes. The standard bivariate KDE distribution displays boundary artefacts at the annual boundary between fall and spring. CADS produces a distribution that captures both the episodic and seasonal structure of the data and is continuous at the boundary between annual seasons.
Figure 3 shows results for the AERONET NASA Ames dataset. The real observational data contain irregular temporal sampling, measurement noise, and sharp episodic events caused by wildfire smoke near DOY = 210 to DOY = 280 . The histogram baseline lacks the resolution to capture the high-AOD smoke events and produces a noisy estimate in the upper AOD range. Standard bivariate KDE substantially over-smooths the summer smoke signal into an indistinct region and also shows a large boundary artefact at the annual transition. CADS provides a stable estimate that captures the low-AOD baseline across most of the year. It resolves the summer smoke signal as a distinct high-density region and maintains continuity at the annual boundary.

4.5. Ablation Study

Table 3 and Table 4 report the ablation study results for Synthetic Datasets 1 and 2 respectively. Eight configurations are tested by independently enabling or disabling each of the three novel CADS components. The three components are circular boundary treatment (C), anisotropic adaptive smoothing (A), and IPF marginal correction (I).
The results are consistent across both datasets and support three conclusions.
The first conclusion concerns the IPF component. Comparing C0 to C3 shows a gain of + 0.003 nats on Dataset 1 and + 0.006 nats on Dataset 2 from IPF alone. No other single component produces a comparable gain in log-likelihood. IPF is therefore the primary driver of predictive improvement.
The second conclusion pertains to the treatment of the circular boundary component of the model. The circular component alone contributes to a 50% reduction in the bdisc metric for both datasets—from 0.218 to 0.111 for Dataset 1, and from 0.264 to 0.130 for Dataset 2. The circular component contributes minimally to the log-likelihood statistic due to few test points being located at the annual boundary; however, the geometric correction that the component provides is important for any application of the model requiring accurate representation of seasonal phenomena.
The third conclusion concerns the full CADS configuration. C7 achieves the lowest bdisc on both datasets and matches or exceeds the best log-likelihood of any partial configuration. Comparing C5, which uses circular treatment and IPF but not anisotropic smoothing, to C7 shows that adding the anisotropic component further reduces bdisc from 0.078 to 0.077 on Dataset 1 and from 0.086 to 0.078 on Dataset 2. This confirms that all three components contribute to the overall performance of the method.

5. Discussion

5.1. Performance on Real Versus Synthetic Data

The results show that CADS improves more substantially on real observational data than on synthetic datasets. The gain in held-out log-likelihood relative to the histogram baseline increases from + 0.014 nats on Synthetic Dataset 1 to + 0.107 nats on the real AERONET data. This is a 7.7-fold amplification. The gain relative to Standard bivariate KDE increases from + 0.028 nats to + 0.314 nats, which is an 11-fold amplification. This pattern is consistent and expected.
The synthetic datasets are generated from smooth parametric models with noise. The seasonal component of these synthetic datasets is regular. Hence, a histogram-based estimator can capture the seasonal component well, and the improvement brought about by CADS is not very significant. The real data from NASA Ames are very different from the synthetic data. The presence of sharp events in the data caused by wildfire smoke cannot be captured by smooth parametric models. These features introduce localised regions of high density in the AOD direction. Smoothing uniformly across the entire domain will spread these features over a large region. The density within the region where the events actually occur will be reduced, while the density in regions that contain no information about the events will increase. CADS compensates for this by automatically adapting to the regions that contain the events and those that do not, independently along each axis. Finally, IPF corrects differences between the marginal distributions of the estimated density and those directly observed in the data. Together, these methods produce a substantial improvement in the quality of the estimated density when applied to real data.

5.2. Role of Each Component

The ablation study allows the contribution of each component to be assessed independently. Three conclusions emerge consistently across both datasets.
The IPF marginal correction is the primary driver of improvements in the log-likelihood. Since smoothing tends to distort the marginal distributions, correcting this distortion improves the density estimate at test points. Furthermore, the IPF correction is performed at negligible computational cost, and convergence of the IPF iterations is guaranteed by the Sinkhorn–Knopp theorem [22]. The role of regularization to constrain model outputs to lie within the distribution of the observed data has been studied extensively in the context of statistical learning theory, where the compactness of the hypothesis class is intimately related to the existence of solutions to the learning problem and the convergence of those solutions to the true underlying distribution [34]. A similar principle is at the foundation of the IPF step within the CADS method, which enforces consistency of the univariate margins of the estimated distribution with the observed data.
The anisotropic smoothing component provides additional improvement, especially on Synthetic Dataset 2 and the real AERONET data. The difference between C3 and C7 on both the bdisc and log-likelihood metrics indicates that the anisotropic component provides improvements that are independent of the IPF component. This is consistent with the motivation for using anisotropic smoothing. Each of these quantities has physically distinct scales; it is therefore more accurate to calibrate the smoothing separately along each dimension than to use a single smoothing parameter for all dimensions.
The circular component has a different character from the other two components. Its contribution to the log-likelihood is negligible on both datasets, yet it reduces the boundary discontinuity metric by approximately 50%. The reason for this is that the log-likelihood on the held-out dataset is not sensitive to boundary discontinuities. The observations are drawn uniformly along the DOY axis, so few observations fall near the circular boundary. Thus, the boundary discontinuity metric D, defined in Equation (23), is the appropriate metric for evaluating this component. The reduction in D from 0.218 (without circular treatment) to 0.077 (in full CADS on Dataset 1) indicates a substantial improvement in the physical realism of the model. A density estimate that is discontinuous at the January–December boundary implies that the atmosphere behaves differently on day 365 than on day 1, which is physically impossible. Thus, any application of this model that depends on the atmosphere behaving continuously over time will be affected by this artefact.

5.3. Comparison with Standard Bivariate KDE

A notable result in Table 1 is that CADS outperforms Standard bivariate KDE on held-out log-likelihood despite being orders of magnitude faster. This may seem counterintuitive, since KDE is a nonparametric method with well-established theoretical properties. The explanation lies in bandwidth selection. Scott’s rule and Silverman’s rule are global selectors that choose a single bandwidth optimised for the overall data distribution. For data with highly non-uniform density, such as the AERONET dataset with its dense low-AOD baseline and sparse high-AOD smoke events, a global bandwidth necessarily over-smooths dense regions or under-smooths sparse ones. The locally adaptive scheme in CADS addresses this by adjusting smoothing strength at each grid cell based on local empirical support. The bandwidth sensitivity analysis in Section 4.2 confirmed that this conclusion is robust. Scott’s and Silverman’s rules produced identical results, so bandwidth selection is not the explanation for KDE’s weaker performance.
The computational advantage of CADS is also practically significant. On the AERONET dataset of n = 74 , 653 observations, the standard bivariate KDE takes approximately 56 s per fold to estimate the KDE, while CADS takes only 0.019 s per fold. This represents a speedup of approximately 3000 times when using the full AERONET dataset of n = 74 , 653 observations on a single CPU core. CADS computes the KDE on a fixed grid of 220 × 180 pixels irrespective of the number of observations, n, while standard KDE must evaluate the bandwidth at each of the n observations, leading to computational costs of O ( N X · N Y ) versus O ( n 2 ) , respectively. Thus, for situations in which the density is to be estimated many times, such as in cross-validation or bootstrapping, the computational cost of CADS is considerably more favorable than that of the standard technique.
The computational complexity of CADS is O ( N X · N Y · log ( N X · N Y ) ) per density estimate. This computational complexity is independent of the number of observations, n, which is the case with the KDE algorithm. The additional cost of the IPF correction algorithm is O ( T · N X · N Y ) , which is negligible in the case of three categories of observations ( T = 3 ).

5.4. Limitations

Several limitations of the present study should be acknowledged.
The evaluation of the model with real data is available for only the NASA Ames site, which has a specific climate characterised by coastal fog and wildfire smoke. Other regions of the planet, with different types of aerosols, would likely lead to different results. Furthermore, many regions of the planet have limited availability of satellite data over time (due to, for example, the presence of clouds in that region), or have climates that are seasonal and monsoonal in character, which may also present challenges to the CADS methods that were not encountered in the relatively mild and coastal climate of California. Thus, evaluation of the method with these types of data is yet to be performed. Only through evaluation of the model on real data from various sites across the planet will the generalisability of the method become apparent.
To partially address this issue without collecting any additional data, the fact that the synthetic datasets were created to represent regimes of different seasonal characteristics can be mentioned. Dataset 1 was created to reflect seasonal characteristics that included weak winter regimes, while Dataset 2 was created to include regimes with stronger episodic characteristics and cross-boundary signals. CADS outperformed the other methods in both seasons. However, regions with sparse sampling, such as regions that are often covered in clouds in passive remote sensing, may present challenges to the application of the IPF step, indicating a need for future evaluation of these cases with the multi-site datasets.
The parameters of CADS, including the replication width W, the dense and sparse bandwidths, the density quantile threshold, and the number of IPF iterations, are set manually based on the characteristics of AOD-DOY data. The chosen values generalised well from synthetic to real data in this study. However, automating the parameter selection process would allow for CADS to be applied more broadly to other remote sensing data without requiring expert knowledge to tune the parameters.
The IPF correction relies on accurate estimation of the one-dimensional marginal distributions. Its performance may degrade with smaller sample sizes, with fewer seasonal observations, or with missing observations, such as those introduced by cloud contamination in passive remote sensing. In these situations, the empirical marginal distributions may not accurately represent the true marginal distributions, potentially introducing bias into the estimate.
Another limitation of the study relates to the temporal structure of the data. While the NASA Ames data has temporal autocorrelation, five-fold cross validation uses random sampling of the data. Furthermore, although CADS does not model year-to-year relationships within the satellite data, it is possible that five-fold cross validation does not accurately reflect the model’s performance on temporally-blocked test sets. Thus, future approaches to validating CADS could use blocked cross-validation techniques, such as leave-one-year-out cross validation, to evaluate the model’s robustness to temporally-blocked testing.
CADS operates on a fixed evaluation grid of size 220 × 180 . For applications outside of the original problem domain, it is likely that the parameters of the grid must be adjusted. Furthermore, the bandwidth parameters may also have to be re-tuned for such a case study.

6. Conclusions

This paper introduced CADS, the Circular-Adaptive Density Smoother, a computationally efficient method for two-dimensional probability density estimation of seasonal geophysical data. The method was motivated by three limitations of standard density estimators. The first is the failure to respect the periodic nature of the Day of Year axis. The second is the use of isotropic smoothing kernels that do not reflect the physically distinct scales of the two variables. The third is the marginal inconsistency introduced by any smoothing operation.
CADS addresses these three limitations through three independently motivated and individually ablatable components. The treatment of the circular boundary applies torus replication to the histogram prior to smoothing. This ensures that the density estimates at the January and December boundaries incorporate information from the opposite end of the year. The anisotropic locally adaptive smoothing scheme replaces the bandwidth with axis-specific bandwidths and a blending weight calculated from the data. It applies narrow smoothing in well-sampled regions and broad smoothing in poorly sampled regions, independently along the DOY and AOD dimensions. Iterative Proportional Fitting then enforces consistency between the smoothed estimates and the empirical univariate distributions. This removes bias introduced by the smoothing process at negligible computational cost.
Experiments on two synthetic datasets and one real AERONET observational dataset show that CADS achieves the highest mean log-likelihood across all datasets. All improvements are statistically significant. The improvements are particularly pronounced on the real data. The gain achieved by CADS over histogram methods is 7.7 times larger on the real data than in the synthetic datasets, and the gain over Standard bivariate KDE is 11 times larger. Furthermore, CADS is approximately 1500 to 3000 times faster than Standard bivariate KDE. Finally, an ablation study of CADS indicates that each component makes an independent contribution to its performance: the IPF component is responsible for most of the increase in log-likelihood, the circular treatment explains the reduction in boundary discontinuity, and anisotropic smoothing provides additional gains in both metrics.
There are three directions for future work. One direction involves expanding the evaluation to multiple AERONET sites that represent different climatic regimes. Such an approach would enable a thorough assessment of the generalisability of the method. Another direction for future work involves automating the selection of the smoothing bandwidth parameters. An automated approach would reduce the need for manual tuning of the method, which would increase its applicability to other domains. Finally, it may be possible to extend the CADS approach to higher dimensions. For instance, another dimension that could be included is the spatial coordinate of the measurement location, such as latitude or longitude. This dimension could be used to model seasonal and spatial variations in the measurements.

Author Contributions

Conceptualization, M.M., A.L. and U.K.; methodology, M.M. and A.L.; software, M.M.; validation, M.M., A.L. and U.K.; formal analysis, M.M. and U.K.; investigation, M.M. and A.L.; resources, A.L. and U.K.; data curation, M.M. and A.L.; writing—original draft preparation, M.M.; writing—review and editing, M.M., A.L. and U.K.; visualization, M.M.; supervision, A.L. and U.K.; project administration, M.M. and A.L.; funding acquisition, U.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The real observational data used in this study are publicly available from the AERONET (Aerosol Robotic Network) database maintained by NASA. The AOD500,nm measurements from the NASA Ames observatory site between January 2018 and December 2023 are the main observational data used in this study, and are available from the AERONET database at the following URL: https://aeronet.gsfc.nasa.gov (accessed on 15 April 2026). The two synthetic datasets created by the authors will be provided with the code.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Holben, B.N.; Eck, T.F.; Slutsker, I.; Tanré, D.; Buis, J.P.; Setzer, A.; Vermote, E.; Reagan, J.A.; Kaufman, Y.J.; Nakajima, T.; et al. AERONET—A federated instrument network and data archive for aerosol characterization. Remote Sens. Environ. 1998, 66, 1–16. [Google Scholar] [CrossRef]
  2. Dubovik, O.; Holben, B.; Eck, T.F.; Smirnov, A.; Kaufman, Y.J.; King, M.D.; Tanré, D.; Slutsker, I. Variability of absorption and optical properties of key aerosol types observed in worldwide locations. J. Atmos. Sci. 2002, 59, 590–608. [Google Scholar] [CrossRef]
  3. Smirnov, A.; Holben, B.N.; Eck, T.F.; Dubovik, O.; Slutsker, I. Cloud-screening and quality control algorithms for the AERONET database. Remote Sens. Environ. 2000, 73, 337–349. [Google Scholar] [CrossRef]
  4. Jethva, H.; Torres, O.; Remer, L.A.; Bhartia, P.K. A color ratio method for simultaneous retrieval of aerosol and cloud optical thickness of above-cloud absorbing aerosols from passive sensors: Application to MODIS measurements. IEEE Trans. Geosci. Remote Sens. 2013, 51, 3862–3870. [Google Scholar] [CrossRef]
  5. Reid, J.S.; Eck, T.F.; Christopher, S.A.; Koppmann, R.; Dubovik, O.; Eleuterio, D.; Holben, B.N.; Reid, E.A.; Zhang, J. A review of biomass burning emissions part III: Intensive optical properties of biomass burning particles. Atmos. Chem. Phys. 2005, 5, 827–849. [Google Scholar] [CrossRef]
  6. Meysami, M.; Kumar, V.; Pugh, M.; Lowery, S.T.; Sur, S.; Mondal, S.; Greene, J.M. Utilizing logistic regression to compare risk factors in disease modeling with imbalanced data: A case study in vitamin D and cancer incidence. Front. Oncol. 2023, 13, 1227842. [Google Scholar] [CrossRef] [PubMed]
  7. Lotfi, A.; Carter, A.; Ha, T.; Meysami, M.; Nketia, K.; Shirtliffe, S. Interpretable machine learning–Derived spectral indices for vegetation monitoring. Mach. Learn. Appl. 2026, 24, 100914. [Google Scholar] [CrossRef]
  8. Scott, D.W. On optimal and data-based histograms. Biometrika 1979, 66, 605–610. [Google Scholar] [CrossRef]
  9. Freedman, D.; Diaconis, P. On the histogram as a density estimator: L2 theory. Probab. Theory Relat. Fields 1981, 57, 453–476. [Google Scholar]
  10. Rosenblatt, M. Remarks on some nonparametric estimates of a density function. Ann. Math. Stat. 1956, 27, 832–837. [Google Scholar] [CrossRef]
  11. Parzen, E. On estimation of a probability density function and mode. Ann. Math. Stat. 1962, 33, 1065–1076. [Google Scholar] [CrossRef]
  12. Silverman, B.W. Density Estimation for Statistics and Data Analysis; Chapman and Hall: Boca Raton, FL, USA, 1986. [Google Scholar]
  13. Wand, M.P.; Jones, M.C. Kernel Smoothing; Chapman and Hall: Boca Raton, FL, USA, 1995. [Google Scholar]
  14. Scott, D.W. Multivariate Density Estimation: Theory, Practice, and Visualization; Wiley: Hoboken, NJ, USA, 1992. [Google Scholar]
  15. Papamakarios, G.; Nalisnick, E.; Rezende, D.J.; Mohamed, S.; Lakshminarayanan, B. Normalizing flows for probabilistic modeling and inference. J. Mach. Learn. Res. 2021, 22, 1–64. [Google Scholar]
  16. Kingma, D.P.; Welling, M. Auto-encoding variational bayes. arXiv 2013, arXiv:1312.6114. [Google Scholar]
  17. Fisher, N.I. Statistical Analysis of Circular Data; Cambridge University Press: Cambridge, UK, 1993. [Google Scholar]
  18. Mardia, K.V.; Jupp, P.E. Directional Statistics; Wiley: Hoboken, NJ, USA, 2000. [Google Scholar]
  19. Deming, W.E.; Stephan, F.F. On a least squares adjustment of a sampled frequency table when the expected marginal totals are known. Ann. Math. Stat. 1940, 11, 427–444. [Google Scholar] [CrossRef]
  20. Bishop, Y.M.M.; Fienberg, S.E.; Holland, P.W. Discrete Multivariate Analysis: Theory and Practice; MIT Press: Cambridge, MA, USA, 1975. [Google Scholar]
  21. Abramson, I.S. On bandwidth variation in kernel estimates-a square root law. Ann. Stat. 1982, 10, 1217–1223. [Google Scholar] [CrossRef]
  22. Sinkhorn, R.; Knopp, P. Concerning nonnegative matrices and doubly stochastic matrices. Pac. J. Math. 1967, 21, 343–348. [Google Scholar] [CrossRef]
  23. Gray, A.G.; Moore, A.W. Very fast multivariate kernel density estimation via computational geometry. In Proceedings of the Joint Statistical Meeting, San Francisco, CA, USA, 2–5 August 2003. [Google Scholar]
  24. Meysami, M.; Lotfi, A. Screening effects in Gaussian random fields under generalized spectral conditions. Results Appl. Math. 2026, 29, 100681. [Google Scholar] [CrossRef]
  25. Hall, P.; Watson, G.S.; Cabrera, J. Kernel density estimation with spherical data. Biometrika 1987, 74, 751–762. [Google Scholar] [CrossRef]
  26. Di Marzio, M.; Panzera, A.; Taylor, C.C. Kernel density estimation on the torus. J. Stat. Plan. Inference 2011, 141, 2156–2173. [Google Scholar] [CrossRef]
  27. Terrell, G.R.; Scott, D.W. Variable kernel density estimation. Ann. Stat. 1992, 20, 1236–1265. [Google Scholar] [CrossRef]
  28. Rezende, D.; Mohamed, S. Variational inference with normalizing flows. In Proceedings of the International Conference on Machine Learning, PMLR, Lille, France, 6–11 July 2015; pp. 1530–1538. [Google Scholar]
  29. Papamakarios, G.; Pavlakou, T.; Murray, I. Masked autoregressive flow for density estimation. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  30. French, J.P.; Meysami, M.; Hall, L.M.; Weaver, N.E.; Nguyen, M.C.; Panter, L. A comparison of spatial scan methods for cluster detection. J. Stat. Comput. Simul. 2022, 92, 3343–3372. [Google Scholar] [CrossRef]
  31. Chakrabarty, D.; Khanna, S. Better and simpler error analysis of the Sinkhorn–Knopp algorithm for matrix scaling. Math. Program. 2021, 188, 395–407. [Google Scholar] [CrossRef]
  32. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef]
  33. Harris, C.R.; Millman, K.J.; van der Walt, S.J.; Gommers, R.; Virtanen, P.; Cournapeau, D.; Wieser, E.; Taylor, J.; Berg, S.; Smith, N.J.; et al. Array programming with NumPy. Nature 2020, 585, 357–362. [Google Scholar] [CrossRef] [PubMed]
  34. Meysami, M.; Lotfi, A.; Saleem, S. Deep learning and the geometry of compactness in stability and generalization. Mach. Learn. Appl. 2025, 23, 100820. [Google Scholar] [CrossRef]
Figure 1. Density estimation results for Synthetic Dataset 1. Top left: held-out samples. Top right: Hist + Gaussian baseline. Bottom left: Standard bivariate KDE baseline. Bottom right: proposed CADS. CADS preserves seasonal features and maintains continuity across the periodic DOY boundary.
Figure 1. Density estimation results for Synthetic Dataset 1. Top left: held-out samples. Top right: Hist + Gaussian baseline. Bottom left: Standard bivariate KDE baseline. Bottom right: proposed CADS. CADS preserves seasonal features and maintains continuity across the periodic DOY boundary.
Mathematics 14 01655 g001
Figure 2. Density estimation results for Synthetic Dataset 2. Top left: held-out samples. Top right: Hist + Gaussian baseline. Bottom left: Standard bivariate KDE baseline. Bottom right: proposed CADS. CADS captures sharper episodic structure while preserving periodic boundary continuity.
Figure 2. Density estimation results for Synthetic Dataset 2. Top left: held-out samples. Top right: Hist + Gaussian baseline. Bottom left: Standard bivariate KDE baseline. Bottom right: proposed CADS. CADS captures sharper episodic structure while preserving periodic boundary continuity.
Mathematics 14 01655 g002
Figure 3. Density estimation results for the real AERONET NASA Ames dataset. Top left: held-out samples. Top right: Hist + Gaussian baseline. Bottom left: Standard bivariate KDE baseline. Bottom right: proposed CADS. The sharp summer AOD spike reflects wildfire smoke events at this California site. CADS resolves this structure while KDE over-smooths it.
Figure 3. Density estimation results for the real AERONET NASA Ames dataset. Top left: held-out samples. Top right: Hist + Gaussian baseline. Bottom left: Standard bivariate KDE baseline. Bottom right: proposed CADS. The sharp summer AOD spike reflects wildfire smoke events at this California site. CADS resolves this structure while KDE over-smooths it.
Mathematics 14 01655 g003
Table 1. Mean held-out log-likelihood (five-fold cross-validation) and mean runtime for each method. Higher log-likelihood is better. DS1 = Synthetic Dataset 1, DS2 = Synthetic Dataset 2, Real = AERONET NASA Ames. KDE runtime reflects naive O ( n 2 ) implementation.
Table 1. Mean held-out log-likelihood (five-fold cross-validation) and mean runtime for each method. Higher log-likelihood is better. DS1 = Synthetic Dataset 1, DS2 = Synthetic Dataset 2, Real = AERONET NASA Ames. KDE runtime reflects naive O ( n 2 ) implementation.
MethodMean logL (DS1)Mean logL (DS2)Mean logL (Real)Mean Runtime (s)
Hist + Gaussian 3.848 3.831 4.098 0.006
Standard bivariate KDE 3.862 3.874 4.305 28 –56
CADS (proposed) 3.834 3.816 3.991 0.019
Table 2. Paired statistical comparisons of CADS against baselines using fold-wise held-out log-likelihood. CI denotes the 95% bootstrap confidence interval.
Table 2. Paired statistical comparisons of CADS against baselines using fold-wise held-out log-likelihood. CI denotes the 95% bootstrap confidence interval.
DatasetComparisonMean Difference95% CIp-Value
DS1CADS vs. Hist + Gaussian + 0.014 [ 0.011 , 0.017 ] 0.0019
DS1CADS vs. Standard bivariate KDE + 0.028 [ 0.027 , 0.029 ] 1.1 × 10 6
DS2CADS vs. Hist + Gaussian + 0.015 [ 0.010 , 0.021 ] 0.0086
DS2CADS vs. Standard bivariate KDE + 0.058 [ 0.051 , 0.065 ] 1.2 × 10 4
RealCADS vs. Hist + Gaussian + 0.107 [ 0.105 , 0.109 ] 7.3 × 10 8
RealCADS vs. Standard bivariate KDE + 0.314 [ 0.307 , 0.321 ] 1.8 × 10 7
Table 3. Ablation study of CADS components on Synthetic Dataset 1. C = Circular, A = Anisotropic, I = IPF. Higher logL and lower bdisc are better.
Table 3. Ablation study of CADS components on Synthetic Dataset 1. C = Circular, A = Anisotropic, I = IPF. Higher logL and lower bdisc are better.
ConfigComponentsMean logLMean Bdisc
C0None 3.837 0.218
C1C only 3.837 0.111
C2A only 3.837 0.234
C3I only 3.834 0.144
C4C + A 3.837 0.108
C5C + I 3.834 0.078
C6A + I 3.834 0.155
C7C + A + I (Full CADS) 3.834 0.077
Table 4. Ablation study of CADS components on Synthetic Dataset 2. C = Circular, A = Anisotropic, I = IPF. Higher logL and lower bdisc are better.
Table 4. Ablation study of CADS components on Synthetic Dataset 2. C = Circular, A = Anisotropic, I = IPF. Higher logL and lower bdisc are better.
ConfigComponentsMean logLMean Bdisc
C0None 3.822 0.264
C1C only 3.822 0.130
C2A only 3.821 0.283
C3I only 3.816 0.175
C4C + A 3.821 0.117
C5C + I 3.816 0.086
C6A + I 3.816 0.188
C7C + A + I (Full CADS) 3.816 0.078
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.

Share and Cite

MDPI and ACS Style

Meysami, M.; Lotfi, A.; Kumar, U. CADS: A Circular-Adaptive Density Smoother for Two-Dimensional Probability Density Estimation of Seasonal Geophysical Data. Mathematics 2026, 14, 1655. https://doi.org/10.3390/math14101655

AMA Style

Meysami M, Lotfi A, Kumar U. CADS: A Circular-Adaptive Density Smoother for Two-Dimensional Probability Density Estimation of Seasonal Geophysical Data. Mathematics. 2026; 14(10):1655. https://doi.org/10.3390/math14101655

Chicago/Turabian Style

Meysami, Mohammad, Ali Lotfi, and Umesh Kumar. 2026. "CADS: A Circular-Adaptive Density Smoother for Two-Dimensional Probability Density Estimation of Seasonal Geophysical Data" Mathematics 14, no. 10: 1655. https://doi.org/10.3390/math14101655

APA Style

Meysami, M., Lotfi, A., & Kumar, U. (2026). CADS: A Circular-Adaptive Density Smoother for Two-Dimensional Probability Density Estimation of Seasonal Geophysical Data. Mathematics, 14(10), 1655. https://doi.org/10.3390/math14101655

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop