Exploring the benefits of differentially private pre-training and fine-tuning for table transformers

Xilong Wang, Pin‐Yu ChenITU 2025

Abstract

For machine learning with tabular data, a table transformer (TabTransformer) is a state-of-the-art neural network model, while Differential Privacy (DP) is an essential component to ensure data privacy. In this paper, we explore the benefits of combining these two aspects together in the scenario of transfer learning, differentially private pretraining and fine-tuning of TabTransformers with a variety of Parameter-Efficient Fine-Tuning (PEFT) methods, including adapter, LoRA, and prompt tuning. Our extensive experiments on four ACS datasets with different configurations show that these PEFT methods outperform traditional approaches in terms of the accuracy of the downstream task and the number of trainable parameters, thus achieving an improved trade-off among parameter efficiency, privacy, and accuracy.

Introduction

Tabular data—the foundation of healthcare, finance, and public policy—often contains highly sensitive individual information. While Table Transformers (TabTransformers) have become state-of-the-art for modeling this data, they face a significant "privacy-utility trade-off." Standard techniques like Differential Privacy Stochastic Gradient Descent (DP-SGD) protect privacy by adding noise to gradients, but this noise often degrades model accuracy, especially when tuning the entire model (full tuning). This paper investigates whether Parameter-Efficient Fine-Tuning (PEFT) methods—which only update a tiny fraction of a model's weights—can mitigate this trade-off for tabular data.

Methods and Architecture

The authors implement a "Joint PEFT with DP-SGD" approach. Unlike previous works that only privatize the fine-tuning stage, this study applies DP-SGD during both pre-training (on a source dataset) and fine-tuning (on a target dataset) to provide an end-to-end privacy framework.

The study compares four specific PEFT methods against traditional full tuning:

  • Adapters: Inserting small, new modules between existing layers.
  • LoRA (Low-Rank Adaptation): Injecting trainable low-rank matrices into the transformer layers.
  • Deep Tuning: Tuning specific neurons across all layers of the Multi-Layer Perceptron (MLP) head.
  • Shallow Tuning: Tuning only the input layer of the MLP.
Architectural comparison of standard Transformer blocks, Adapters, and LoRA.

By using PEFT, the DP noise is only applied to a small subset of parameters (the "bottleneck"), which helps preserve the model's core knowledge and leads to better accuracy than tuning the entire model.

Experimental Setup

The study utilizes the ACS (American Community Survey) dataset, focusing on four distinct binary prediction tasks: Income, Public Coverage, Employment, and Travel Time. To simulate a realistic transfer learning scenario with distribution shifts, the authors pre-trained models on data from California (CA) and fine-tuned/tested them on data from Indiana (IN).

Key Results and Discussion

The experiments revealed a "Less is More" privacy paradox: adding noise to every parameter during full tuning can "drown out" the signal. By restricting updates to a small parameter subset, PEFT methods achieved massive parameter reductions—up to 99.3% in the case of LoRA and Adapters—while actually increasing accuracy.

Detailed accuracy results across various privacy budgets (epsilon) for different tuning methods.

Key findings include:

  • Adapter Superiority: Across 196 experimental scenarios, the Adapter method performed best in 126 of them, offering the most robust balance between privacy and accuracy.
  • Robustness to Strong Privacy: PEFT methods showed a much higher tolerance for strict privacy budgets (low $\epsilon$ values). On the Income dataset, PEFT methods were at least 3.5% more accurate than full tuning under high privacy constraints.
  • Baseline Outperformance: Compared to training from scratch or zero-shot inference, PEFT techniques increased accuracy by at least 4.7% while maintaining strict privacy guarantees.

Conclusion

This research establishes that combining Differential Privacy with PEFT allows Table Transformers to achieve high accuracy on sensitive tabular data while significantly reducing computational overhead. The results suggest that future differentially private machine learning should prioritize the design of "PEFT-friendly" architectures to maximize utility under privacy constraints.

Summary updated

BibTeX
@inproceedings{wang2025exploring,
  author = {Xilong Wang and Pin‐Yu Chen},
  title = {{Exploring the benefits of differentially private pre-training and fine-tuning for table transformers}},
  booktitle = {ITU},
  year = {2025},
  doi = {10.52953/lpxp4923},
}
Figure