# Understanding and Mitigating Memorization in Diffusion Models for Tabular Data

표 형식 데이터를 위한 확산 모델의 기억 현상 이해와 완화

Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · arXiv · 2024년 12월 15일

- **연구 문제** 표 형식 확산 모델이 학습 샘플을 재현하는 기억 현상이 있는지, 있다면 이를 줄일 수 있는지가 문제입니다.
- **연구 방법** 같은 클래스의 샘플 사이에서 특징을 교환하는 TabCutMix와, 상관 기반 군집 단위로 교환하는 TabCutMixPlus를 제안합니다.
- **주요 결과** TabSyn 기준으로 Shoppers와 Magic에서 기억 비율이 낮아졌고, 증강 비율이 높을수록 Default의 기억 비율이 줄었습니다.

## 표 데이터 확산 모델의 기억 문제

표 형식 데이터 생성에서 확산 모델은 생성 품질을 크게 높였지만, 학습 샘플을 거의 그대로 재현하는 기억(memorization) 현상은 이미지와 텍스트에 비해 충분히 연구되지 않았습니다. 이 논문은 TabSyn과 TabDDPM을 중심으로 기억이 실제로 나타나는지, 학습 에폭과 데이터셋 크기, 특징 차원에 따라 어떻게 달라지는지를 먼저 확인합니다. 그 위에서 기억을 줄이는 방법으로 TabCutMix와 TabCutMixPlus를 제안합니다. 기억 비율은 생성 샘플과 가장 가까운 두 학습 샘플까지의 거리 비율로 정의되며, 이 기준은 이미지 생성 문헌에서 가져온 1/3 임계값을 사용합니다.

![Figure 2: Memorization ratio curve of TabSyn and TabDDPM w.r.t. training epochs](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-f657388488f29c605ddc08cfea490f95.png?thumb=512)

**Figure 2** . Memorization ratio curve of TabSyn and TabDDPM w.r.t. training epochs.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Figure 3: Impact of dataset size among different datasets for Tab- Syn model](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-55100635347cfb95cfc16f6e925339a7.png?thumb=512)

**Figure 3** . Impact of dataset size among different datasets for Tab- Syn model.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 11: Correlation analysis between the memorization ratio with threshold 1/3 and Mem-AUC and the memorization ratio with different thresholds](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-656ad5f55910209bd0edde5e1c1fba70.png?thumb=512)

**Figure 11** . Correlation analysis between the memorization ratio with threshold 1/3 and Mem-AUC and the memorization ratio with different thresholds.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.

![Table 10: Mem-Ratio vs. Mem-AUC](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-a82af60d7b0b815b0fde998cff8d6300.png?thumb=512)

**Table 10** .Mem-Ratio vs. Mem-AUC

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.

## TabCutMix와 TabCutMixPlus의 혼합 연산

TabCutMix는 같은 클래스 레이블을 가진 두 학습 샘플 x\_A, x\_B를 골라 이진 마스크 M으로 특징을 교환합니다. 혼합 식은 x̃ = M⊙x\_A + (1−M)⊙x\_B이며, 마스크의 각 원소는 λ를 모수로 하는 베르누이 분포에서 독립적으로 뽑힙니다. 여기서 λ는 균등분포 U(0,1)에서 샘플링됩니다. TabCutMixPlus는 여기에 특징 군집화를 더합니다. 수치형 특징은 Pearson 상관계수, 범주형 특징은 Cramér's V, 수치형과 범주형의 쌍은 ETA 계수로 상관을 재고, 계층적 군집화로 묶인 각 군집을 하나의 단위로 취급합니다. 각 군집마다 별도의 마스크를 뽑아 교환하므로 상관이 큰 특징들이 함께 바뀌어 분포 밖(OOD) 샘플이 생기는 위험을 줄이려는 설계입니다.

## 잠재 공간 명제의 가정과 해석

이론 분석은 TabSyn의 VAE 잠재 공간에서 확산 과정을 다룹니다. 원문의 Proposition 3.1은 신경망이 최적 점수 함수를 완벽히 근사하고 역방향 SDE 해법이 완벽하다는 가정 아래, 생성된 잠재 샘플이 학습 샘플의 잠재 임베딩을 정확히 재현한다고 말합니다. 저자들은 실제 실험에서 100% 기억이 나타나지 않는 이유로 점수 근사의 불완전성과 VAE 디코더의 무작위성을 듭니다. 따라서 이 명제는 이상적 가정 아래의 설명으로 읽어야 하며, 실험에서 관찰된 부분 기억의 원인을 완전히 규명했다는 주장은 아닙니다.

## 기억 비율과 품질 지표로 본 결과

검증은 Adult, Default, Shoppers, Magic 등의 데이터셋과 STaSy, TabDDPM, TabSyn 같은 확산 모델에서 이루어졌습니다. 같은 모델과 데이터셋에서 Mixup, SMOTE, IJF와 비교했으며, 기억 비율과 함께 MLE, α-precision, β-recall, Shape Score, Trend Score 등을 보고했습니다. Shoppers에서 TabSyn의 기억 비율은 TabCutMix 적용 시 27.68%에서 25.38%로, TabCutMixPlus 적용 시 25.93%로 낮아졌습니다. Magic에서 TabSyn의 기억 비율은 TabCutMixPlus 적용 시 80.01%에서 76.46%로 낮아졌습니다.

저자들은 기억 감소폭만 보면 TabCutMix가 더 효과적이고, 데이터 품질 지표에서는 TabCutMixPlus가 더 나은 경향을 보인다고 해석합니다.

![Figure 1: The overview performance of TabCutMix in TabDDPM and TabSyn for Default dataset. “Mem. Ratio” represents the memorization ratio](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-af7ebd8d44111810da894afa338eb21c.png?thumb=512)

**Figure 1** . The overview performance of TabCutMix in TabDDPM and TabSyn for Default dataset. “Mem. Ratio” represents the memorization ratio.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

![Figure 10: Shape score comparison for each feature in synthetic data generated by TabSyn and TabSyn+TabCutMix across multiple datasets](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-2564eefea2b887798010bdcfd26c326d.png?thumb=512)

**Figure 10** . Shape score comparison for each feature in synthetic data generated by TabSyn and TabSyn+TabCutMix across multiple datasets.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.

![Table 8: The overview performance comparison for tabular diffusion models on IJF and our proposed methods. “TCM” represents our proposedTabCutMixand “TCMP” rep…](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-7a5bceafd73e74d6dc8ce659fe81e4c3.png?thumb=512)

**Table 8** . The overview performance comparison for tabular diffusion models on IJF and our proposed methods. “TCM” represents our proposedTabCutMixand “TCMP” representsTabCutMixPlus. “Mem. Ratio” represents the memorization ratio. “Improv” represents the improvement ratio on memorization.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 27쪽에서 그림 영역을 추출했습니다.

![Table 9: The overview performance comparison for tabular diffusion models on more generative models. “TCM” represents our proposedTabCutMixand “TCMP” represent…](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-927821b7cf7029399837ba9896ea3499.png?thumb=512)

**Table 9** . The overview performance comparison for tabular diffusion models on more generative models. “TCM” represents our proposedTabCutMixand “TCMP” representsTabCutMixPlus. “Mem. Ratio” represents memorization ratio. “Improv” represents the improvement ratio on memorization.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.

## 증강 비율에 따른 기억 감소

증강 비율 실험은 TabSyn을 Default 데이터셋에 적용하고, TabCutMix의 증강 비율을 0%, 10%, 20%, 30%, 100%로 바꾸어 기억 비율 변화를 봅니다. 0% 증강의 기억 비율은 20.11%이고 100% 증강에서는 15.34%입니다. 저자들은 증강 비율이 높을수록 데이터 다양성이 늘어 과적합과 기억을 줄인다고 해석합니다. 이 결과는 Default와 TabSyn에 한정된 것이며, 다른 데이터셋의 같은 감소 크기를 보장하지 않습니다.

![Figure 6: The memorization ratio v.s. training epochs with differ- ent augmented ratios for TabSyn](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-636c4c179220eacdf1c2f823636f6c0e.png?thumb=512)

**Figure 6** . The memorization ratio v.s. training epochs with differ- ent augmented ratios for TabSyn.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 3: Different augmentation ratios (Aug. Ratio) for TabCutMix](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92/figures/figure-286f297be087a737117c9ae0a397bade.png?thumb=512)

**Table 3** . Different augmentation ratios (Aug. Ratio) for TabCutMix.

[원문](https://arxiv.org/abs/2412.11044v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li · Understanding and Mitigating Memorization in Diffusion Models for Tabular Data · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

저자들이 밝힌 한계는 TabCutMix가 특징을 독립적으로 교환할 수 있다는 가정에 기대며, 강한 상관관계나 복잡한 상호작용이 있는 데이터셋에서는 이 가정이 성립하지 않을 수 있다는 점입니다. 또한 두 방법은 이산 클래스 레이블을 기준으로 샘플을 묶기 때문에 회귀 과제에 직접 적용하기 어렵습니다. 이 결과는 주로 분류 과제와 제시된 데이터셋에서 얻어진 것이므로, 다른 도메인이나 회귀 과제로 넓히려면 추가 검증이 필요합니다.

## 논문 정보

- **저자**: Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 12월 15일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 11월 10일
- **버전**: v2
- **arXiv**: 2412.11044
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2412.11044v2) · [원문 PDF ↗](https://arxiv.org/pdf/2412.11044v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Tabular data generation has attracted significant research interest in recent years, with the tabular diffusion models greatly improving the quality of synthetic data. However, while memorization, where models inadvertently replicate exact or near-identical training data, has been thoroughly investigated in image and text generation, its effects on tabular data remain largely unexplored. In this paper, we conduct the first comprehensive investigation of memorization phenomena in diffusion models for tabular data. Our empirical analysis reveals that memorization appears in tabular diffusion models and increases with larger training epochs. We further examine the influence of factors such as dataset sizes, feature dimensions, and different diffusion models on memorization. Additionally, we provide a theoretical explanation for why memorization occurs in tabular diffusion models. To address this issue, we propose TabCutMix, a simple yet effective data augmentation technique that exchanges randomly selected feature segments between random same-class training sample pairs. Building upon this, we introduce TabCutMixPlus, an enhanced method that clusters features based on feature correlations and ensures that features within the same cluster are exchanged together during augmentation. This clustering mechanism mitigates out-of-distribution (OOD) generation issues by maintaining feature coherence. Experimental results across various datasets and diffusion models demonstrate that TabCutMix effectively mitigates memorization while maintaining high-quality data generation.

## 원문 인용

Zhengyu Fang, Zhimeng Jiang, Huiyuan Chen, Xiao Li, Jing Li (2024). Understanding and Mitigating Memorization in Diffusion Models for Tabular Data. arXiv:2412.11044v2. https://arxiv.org/abs/2412.11044v2

**BibTeX**

```
@misc{fang2024understanding,
  title = {{Understanding and Mitigating Memorization in Diffusion Models for Tabular Data}},
  author = {Zhengyu Fang and Zhimeng Jiang and Huiyuan Chen and Xiao Li and Jing Li},
  year = {2024},
  eprint = {2412.11044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.11044v2}
}
```

## 이 논문의 용어

- [MixUp](https://refivu.com/terms/62023d7e891b-mixup)
- [variational autoencoder](https://refivu.com/terms/03e579ac2e7c-variational-autoencoder)
- [Pearson correlation coefficient](https://refivu.com/terms/62ac94eb78e8-pearson-correlation-coefficient)
- [SMOTE](https://refivu.com/terms/cbea1cf5e13b-smote)
- [CutMix](https://refivu.com/terms/f5a873c48d2e-cutmix)
- [out-of-distribution](https://refivu.com/terms/f0fb04947a68-out-of-distribution)
- [Adult](https://refivu.com/terms/de906faca9e6-adult)
- [hierarchical clustering](https://refivu.com/terms/0f8ea8d6ed7a-hierarchical-clustering)
- [Proposition 3.1](https://refivu.com/terms/fa14380ce1e4-proposition-3-1)
- [classifier two-sample test](https://refivu.com/terms/dea82e890e5e-classifier-two-sample-test)
- [latent diffusion](https://refivu.com/terms/777db0c80b01-latent-diffusion)
- [MAGIC](https://refivu.com/terms/d478828516ef-magic)
- [TabDDPM](https://refivu.com/terms/d9fa222ec581-tabddpm)
- [Default](https://refivu.com/terms/5a5f8d00b7dd-default)
- [TabSyn](https://refivu.com/terms/fc338b4bd2a7-tabsyn)
- [α-precision](https://refivu.com/terms/10238b2e3a73-precision)
- [β-recall](https://refivu.com/terms/69976619d94e-recall)

## 다른 논문 해설

- [FlexiFlow: decomposable flow matching for generation of flexible molecular ensemble](https://refivu.com/papers/535ef434-6ca5-4fe8-ab5c-9610f3f3d068-flexiflow-decomposable-flow-matching-for-generation-of.md)
- [Adversarial Training for Process Reward Models](https://refivu.com/papers/7c1e0ad9-7845-4aad-83fa-ef13917667e0-adversarial-training-for-process-reward-models.md)
- [The Diffusion Duality](https://refivu.com/papers/f26ce130-61df-42ce-8b6b-010dee449d4d-the-diffusion-duality.md)
- [Amortized Variational Inference for Partial-Label Learning: A Probabilistic Approach to Label Disambiguation](https://refivu.com/papers/ff12f71e-13c8-478d-b246-8cd68a0ac11d-amortized-variational-inference-for-partial-label-learning-a.md)
- [VJEPA: Variational Joint Embedding Predictive Architectures as Probabilistic World Models](https://refivu.com/papers/7d1a7573-5ea9-499e-aa7c-6e83cdbefb6b-vjepa-variational-joint-embedding-predictive-architectures.md)
- [Elign: Equivariant Diffusion Model Alignment from Foundational Machine Learning Force Fields](https://refivu.com/papers/321b9340-1a74-4cc0-a3fd-23798b4ca283-elign-equivariant-diffusion-model-alignment-from.md)
- [BanditSpec: Adaptive Speculative Decoding via Bandit Algorithms](https://refivu.com/papers/6700034d-7c08-40c5-aa82-a9a07368d19f-banditspec-adaptive-speculative-decoding-via-bandit.md)
- [Weight-sparse transformers have interpretable circuits](https://refivu.com/papers/57b058ed-824e-41f1-9bf7-37d4673924a5-weight-sparse-transformers-have-interpretable-circuits.md)
- [When, Where and Why to Average Weights?](https://refivu.com/papers/ea0222d8-22c9-471c-905e-e439a053b57c-when-where-and-why-to-average-weights.md)
- [Plantain: Plan-Answer Interleaved Reasoning](https://refivu.com/papers/384622e7-377a-495a-9a0f-a608b143e26f-plantain-plan-answer-interleaved-reasoning.md)
- [Improving Multi-Class Calibration through Normalization-Aware Isotonic Techniques](https://refivu.com/papers/b6c283c7-33a6-4837-bc33-2a99b929d4c9-improving-multi-class-calibration-through-normalization.md)
- [Differential Smoothing Mitigates Sharpening and Improves LLM Reasoning](https://refivu.com/papers/5c974711-ee92-4a55-a5c5-201120650a59-differential-smoothing-mitigates-sharpening-and-improves-llm.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92-understanding-and-mitigating-memorization-in-diffusion)
