Skip to content

DP-KAN: Differentially Private Kolmogorov-Arnold NetworksDP-KAN: Differentially Private Kolmogorov-Arnold Networks

arXiv· arXiv:2407.12569· Nikita P. Kalinin, Simone Bombari, Hossein Zakerinia, Christoph H. LampertInstitute of Science and Technology (ISTA)Indexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors combine KAN with DP-SGD for differentially private training; on tabular regression and MNIST, the authors state that KAN achieves accuracy comparable to MLP, with similar privacy-induced accuracy degradation.

Questions
KAN was proposed as an alternative architecture to MLP, but its performance under differentially private training has not yet been examined; the authors want to verify whether KAN can preserve model accuracy while protecting privacy.
Methods
Train KAN with DP-Adam from the DP-SGD family: clip gradients by a clipping constant, add Gaussian noise, then aggregate updates. Evaluate on two sets of experiments: tabular regression (compared with linear regression) and MNIST classification (using FasterKAN compared with MLP).
Experiments and results
On tabular regression, the authors state that KAN's privacy-induced R2 drop is smaller than linear regression's on most datasets (e.g., 8.5% vs 45.8% on Garbage, Table 1). On MNIST, DP FasterKAN and DP MLP have similar accuracy; the authors state that FasterKAN has higher accuracy and a smaller privacy drop at similar parameter counts.
Limitations and future work
The authors were unable to reproduce the results on the Beijing dataset, so it was not included in the analysis (footnote in Section 3). The experiments cover only tabular regression and MNIST classification, and the MNIST part is based on 3 trials; the paper does not report an empirical evaluation under privacy attacks.
Experimental setupKAN、FasterKAN · MNIST、Amin et al. (2022) 的表格数据集(Synthetic、California、Diamonds、Traffic、NBA、Garbage、MLB) · R2 score、Test Accuracy et al.
Evaluated models
KANFasterKAN
Benchmarks
MNISTAmin et al. (2022) 的表格数据集(Synthetic、California、Diamonds、Traffic、NBA、Garbage、MLB)
Metrics
R2 scoreTest Accuracy相对精度下降(drop, %)
AI summaryThe recently proposed Kolmogorov-Arnold Network (KAN), as an alternative architecture to the classic MLP, can directly implement differentially private training with the DP-SGD algorithm. Evaluation on multiple datasets shows that KAN's accuracy is comparable to MLP, and it exhibits a similar performance drop under privacy constraints, making it suitable for differentially private model training.

The recently proposed Kolmogorov-Arnold Network (KAN), as an alternative architecture to the classic MLP, can directly implement differentially private training with the DP-SGD algorithm. Evaluation on multiple datasets shows that KAN's accuracy is comparable to MLP, and it exhibits a similar performance drop under privacy constraints, making it suitable for differentially private model training.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors examine whether KAN can be trained with DP-SGD for differential privacy, with accuracy comparable to MLP and similar privacy-induced degradation.

    Core question: can Kolmogorov-Arnold Network (KAN) be trained under differential privacy (DP) constraints while maintaining accuracy comparable to MLP.

    • Problem setting: the authors note that the growing demand for data in machine learning raises concerns about misuse of personal information, and that differential privacy (Dwork, 2006) is a formally defined privacy-preserving concept. KAN (Ziming et al., 2024) has attracted attention as an alternative architecture to MLP, and the authors consider it necessary to examine whether it can be trained in a privacy-preserving manner.
    • Gap in existing work: the paper states that KAN has been studied on tasks such as symbolic regression, time series, and recommendation, but the authors state that this paper provides the first combination of KAN with a differentially private training algorithm (specifically DP-SGD).
    • Core hypothesis: KAN is trained with backpropagation and is compatible with standard optimization techniques, so the authors consider that DP-SGD's gradient clipping and noise-adding mechanism can be directly applied to make it private.
    • Approach of the paper: train KAN with DP-Adam from the DP-SGD family, compare against non-private models and MLP baselines on two sets of experiments—tabular regression and MNIST classification—and examine accuracy degradation under privacy constraints.
    • Nature: this is a training-method adaptation and empirical evaluation paper and does not involve a threat model; differential privacy itself defends against the risk of inferring training data membership from the model, and the paper does not conduct an empirical privacy attack evaluation.
  2. What related research exists?

    Related work falls into two categories: KAN architecture variants and differentially private optimization; this paper combines the two.

    KAN architecture and its variants

    • Ziming et al. (2024)—proposed KAN, replacing fixed activation functions with learnable univariate functions parameterized by B-splines, outperforming MLP on formula recovery and symbolic regression.
    • Zavareh & Chen (2024)'s Wav-KAN introduces wavelet functions; Genet & Inzirillo (2024)'s TKAN combines LSTM with KAN for time series forecasting; Vaca-Rubio et al. (2024) state that KAN surpasses MLP on satellite traffic forecasting with fewer parameters; Xu et al. (2024)'s FourierKAN-GCF is used for graph recommendation.
    • Poeta et al. (2024) conducted a benchmark study on real tabular datasets, stating that KAN's accuracy and F1 are better than or comparable to MLP (especially on large datasets), but with higher computational cost; Basim & Naveed (2024) proposed ConvKAN for image processing.

    Differentially private training

    • Dwork (2006)—proposed the concept of differential privacy; Bassily et al. (2014) proved the effectiveness of DP-SGD in convex optimization; Abadi et al. (2016) extended DP-SGD to deep learning.
    • Gylberth et al. (2017) studied DP-Adam, stating improvements in accuracy and convergence speed; Tang et al. (2024) proposed DP-AdamBC to correct the bias in second-moment estimation.
    • Amin et al. (2022)—used the exponential mechanism to select models with high Tukey depth for differentially private linear regression, without requiring data bounds or hyperparameter selection; Alabi et al. (2022) designed a DP simple linear regression algorithm for small datasets.

    Baselines and benchmarks: tabular regression uses linear regression as the baseline, with dataset and training setup taken from Amin et al. (2022); MNIST classification uses MLP as the baseline.

    Positioning of this paper: the authors state that this paper is the first combination of KAN and DP-SGD, and the tabular experiments directly build on the setup of Amin et al. (2022).

  3. How does the paper address this problem?

    Train KAN directly with DP-Adam (gradient clipping plus Gaussian noise), comparing against baselines on tabular regression and MNIST respectively.

    Overall approach: KAN is trained with backpropagation and is compatible with DP-SGD, so the authors directly apply DP-Adam from the DP-SGD family to KAN without architectural changes, then evaluate the accuracy loss on two sets of tasks.

    KAN structure

    • KAN is based on the Kolmogorov-Arnold representation theorem: any multivariate continuous function can be decomposed into sums and compositions of univariate functions (Equation 1 in the paper).
    • Learnable activation functions are parameterized with B-splines: spline(x) = ∑i ci Bi(x), where ci are coefficients learned during training and Bi(x) are B-spline basis functions.
    • Residual activation: φ(x) = wb b(x) + ws spline(x), where b(x) is SiLU and wb, ws are trainable weights.

    Differential privacy mechanism (Algorithm 1)

    • At each step, randomly sample a batch of size B and compute the gradient of each sample.
    • Clip the gradient norm by clipping constant C, add Gaussian noise scaled by noise multiplier σ, average, and update parameters with Adam.
    • The privacy guarantee is (ε, δ)-DP: P(A(D) ∈ S) ≤ eε P(A(D′) ∈ S) + δ, where D and D' are neighboring datasets differing by one sample.

    Tabular regression setup

    • The dataset and training setup are taken from Amin et al. (2022); a one-layer linear regression and a one-layer KAN are trained with mean squared error, and the metric is R2.
    • KAN has grid size 2 and k 2; per dataset, the noise multiplier is 0.998–2.468, epochs 1–20, clipping norm 1–106, and batch size 32–1024 (Table 3).
    • Guarantees (log(3), 10−5)-DP in the same way as Amin et al. (2022).

    MNIST classification setup

    • Implemented with FasterKAN (Delis, 2024); the authors state that the official pykan implementation is inefficient and impractical for large datasets; DP uses DP Adam from the pyvacy library (Waites, 2019).
    • Two-layer network; hidden layer width varies from 16 to 4096 (MLP)/2048 (FasterKAN) to change the parameter count; loss is CrossEntropyLoss, metric is test accuracy.
    • Hyperparameters (Table 4): 15 epochs, batch size 64; DP version noise multiplier 1, clipping norm 10−3; FasterKAN learning rate 0.001, DP MLP learning rate 0.005; non-private training uses batch clipping to ensure optimization stability; privacy budget (0.87, 10−5) (Figure 1).
  4. What experiments did the paper conduct?

    Two sets of experiments: DP regression (R2) on 7 tabular datasets, and DP classification on MNIST with two-layer networks of varying widths (3 trials).

    Experimental setup

    • Models tested: tabular regression uses one-layer KAN and one-layer linear regression; MNIST uses two-layer FasterKAN and two-layer MLP (each with DP and non-DP versions).
    • Datasets: the 7 tabular datasets from Amin et al. (2022) (Synthetic, California, Diamonds, Traffic, NBA, Garbage, MLB; the paper does not give the size of each dataset); MNIST.
    • Metrics: tabular regression uses R2 and the relative drop due to privacy (drop, %); MNIST uses test accuracy.
    • Privacy budgets: tabular experiments (log(3), 10−5)-DP; MNIST (0.87, 10−5)-DP.
    • Number of repetitions: MNIST experiments are based on 3 trials (Table 2); the paper does not report the number of repetitions for tabular experiments.
    • Implementation: MNIST uses the FasterKAN implementation and DP Adam from pyvacy; tabular experiment hyperparameters are in Table 3, MNIST hyperparameters in Table 4.

    Main results

    Tabular regression R2 (per Table 1, with the experimental setup of Amin et al. (2022)):

    Swipe horizontally to read the table

    DatasetLinear RegKANDP-SGD RegDP-KANLin Reg drop, %KAN drop, %
    Synthetic0.9970.9960.9970.9970.00.0
    California0.6370.6520.0840.15086.877.0
    Diamonds0.9070.9260.8300.9238.53.2
    Traffic0.9660.9790.9380.9402.94.0
    NBA0.6220.6310.5680.5848.77.4
    Garbage0.5460.5540.2960.50745.88.5
    MLB0.7220.7230.7190.7160.41.0
    • The authors state that KAN has a smaller privacy-induced quality drop on most datasets; the exception is Traffic, where KAN's relative drop (4.0%) is larger than linear regression's (2.9%).
    • In the non-private setting the two have similar R2, with the largest gap on California (0.637 vs. 0.652).

    MNIST classification

    • Per Table 2 (3 trials): non-private FasterKAN accuracy is 0.907–0.970 (width 16–2048), MLP is 0.810–0.968 (width 16–4096); after DP, FasterKAN is 0.754–0.783, MLP is 0.767–0.801.
    • Comparison at similar parameter counts: FasterKAN width 32 (52,448 parameters) has DP accuracy 0.783 ± 0.005, MLP width 64 (50,890 parameters) is 0.790 ± 0.006; FasterKAN width 2048 (about 3.26 million parameters) is 0.754 ± 0.018, MLP width 4096 (about 3.26 million parameters) is 0.798 ± 0.006.
    • The authors state that FasterKAN consistently achieves higher accuracy with fewer parameters and a smaller quality drop under DP; the highest DP accuracy in Table 2 is MLP width 512 (0.801 ± 0.016); Figure 1 has parameter count (log10) and hidden layer size (log2) on the horizontal axis and test accuracy on the vertical axis, and the paper does not annotate specific values in the figure.

    Other ablations and analyses

    • Hidden layer width sweep (Table 2): 8–9 widths for each of the two models; non-private accuracy decreases as width decreases, while DP accuracy changes relatively gently with width (FasterKAN 0.754–0.783, MLP 0.767–0.801).
    • Negative result: the authors were unable to reproduce the results on the Beijing dataset, so it was not included in the analysis (footnote in Section 3).
    • The paper does not report privacy attack experiments, membership inference evaluation, or statistical significance tests.
  5. What are some points that can be further explored?

    The authors only propose that future work could explore further optimization and application of KAN in privacy-preserving machine learning; the experimental coverage is relatively narrow.

    Limitations and future directions noted by the authors

    • The authors were unable to reproduce the results on the Beijing dataset in Amin et al. (2022), so it was not included in the analysis (footnote in Section 3).
    • The authors state that future work could explore further optimization and application of KAN in various privacy-preserving machine learning scenarios (Conclusion).
    • The paper has no dedicated Limitations section; apart from the two points above, no other limitations are discussed.

    Scope of experimental coverage

    • The models tested are one-layer KAN, one-layer linear regression (tabular regression), and two-layer FasterKAN, two-layer MLP (MNIST), for a total of 4 model configurations.
    • The datasets are the 7 tabular datasets from Amin et al. (2022) and MNIST; the paper does not report the sample size of each tabular dataset.
    • The privacy budgets are (log(3), 10−5)-DP for tabular and (0.87, 10−5)-DP for MNIST, each with only one setting; different ε were not swept.
    • MNIST results are the mean and standard deviation of 3 trials (Table 2); the paper does not report the number of repetitions for tabular regression.
    • The paper does not report empirical privacy evaluation (e.g., membership inference attacks), training time, or a quantitative comparison of computational overhead.
  6. Summarize the main content of the paper

    The authors apply DP-Adam directly to train KAN, verifying on tabular regression and MNIST that its privacy-accuracy trade-off is comparable to baselines.

    A training-method adaptation paper: the authors combine the new architecture KAN with differentially private training and examine whether it can maintain accuracy under privacy constraints.

    • Problem: KAN has attracted attention as an alternative architecture to MLP, but its performance under differentially private training is unknown; the authors state that this paper is the first combination of KAN and DP-SGD.
    • Method: train KAN directly with DP-Adam—gradients are clipped by norm, Gaussian noise is added, and updates are aggregated, without changing the architecture; tabular regression is compared against linear regression, and on MNIST FasterKAN is compared against MLP.
    • Tabular regression (Table 1, (log(3), 10−5)-DP): on 7 datasets, non-private KAN and linear regression have similar R2; the authors state that KAN has a smaller privacy-induced drop on most datasets, e.g., 8.5% vs. 45.8% on Garbage and 3.2% vs. 8.5% on Diamonds; the exception is Traffic (4.0% vs. 2.9%).
    • MNIST (Table 2, (0.87, 10−5)-DP, 3 trials): DP FasterKAN accuracy is 0.754–0.783, DP MLP is 0.767–0.801; the authors state that FasterKAN achieves higher accuracy with fewer parameters and a smaller privacy drop.
    • Authors' conclusion: KAN's non-private accuracy is comparable to MLP, and its degradation under privacy constraints is also similar; the authors consider KAN a viable choice for differentially private training, and future work could explore its further optimization and application in privacy-preserving machine learning.
    • Boundaries: the Beijing dataset was excluded because it could not be reproduced; the paper does not conduct an empirical privacy attack evaluation, and MNIST has only 3 trials.
Read originalarxiv.org