LGAICVMar 22, 2021

Evaluating Post-Training Compression in GANs using Locality-Sensitive Hashing

arXiv:2103.11912v12 citations
Originality Incremental advance
AI Analysis

This addresses the computational and memory challenges in deploying GANs, offering a practical solution for efficient compression and evaluation, though it is incremental as it builds on existing compression techniques.

The paper tackles the problem of compressing generative adversarial networks (GANs) after training without fine-tuning, showing that existing methods like clipping and quantization can be applied directly, and it introduces new locality-sensitive hashing (LSH)-based metrics that reduce evaluation complexity from O(n) to O(log(n)) or O(1) while improving outlier robustness.

The analysis of the compression effects in generative adversarial networks (GANs) after training, i.e. without any fine-tuning, remains an unstudied, albeit important, topic with the increasing trend of their computation and memory requirements. While existing works discuss the difficulty of compressing GANs during training, requiring novel methods designed with the instability of GANs training in mind, we show that existing compression methods (namely clipping and quantization) may be directly applied to compress GANs post-training, without any additional changes. High compression levels may distort the generated set, likely leading to an increase of outliers that may negatively affect the overall assessment of existing k-nearest neighbor (KNN) based metrics. We propose two new precision and recall metrics based on locality-sensitive hashing (LSH), which, on top of increasing the outlier robustness, decrease the complexity of assessing an evaluation sample against $n$ reference samples from $O(n)$ to $O(\log(n))$, if using LSH and KNN, and to $O(1)$, if only applying LSH. We show that low-bit compression of several pre-trained GANs on multiple datasets induces a trade-off between precision and recall, retaining sample quality while sacrificing sample diversity.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes