On Expressive Power of Quantized Neural Networks under Fixed-Point Arithmetic

Geonho Hwang, Yeachan Park, Sejun Park
8/30/2024
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Research into the expressive power of neural networks typically considers real parameters and operations without rounding error. In this work, we study universal approximation property of quantized networks under discrete fixed-point parameters and fixed-point operations that may incur errors due to rounding. We first provide a necessary condition and a sufficient condition on fixed-point arithmetic and activation functions for universal approximation of quantized networks. Then, we show that various popular activation functions satisfy our sufficient condition, e.g., Sigmoid, ReLU, ELU, SoftPlus, SiLU, Mish, and GELU. In other words, networks using those activation functions are capable of universal approximation. We further show that our necessary condition and sufficient condition coincide under a mild condition on activation functions: e.g., for an activation function $σ$, there exists a fixed-point number $x$ such that $σ(x)=0$. Namely, we find a necessary and sufficient condition for a large class of activation functions. We lastly show that even quantized networks using binary weights in $\{-1,1\}$ can also universally approximate for practical activation functions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{hwang2024expressive,
  title  = {On Expressive Power of Quantized Neural Networks under Fixed-Point Arithmetic},
  author = {Geonho Hwang and Yeachan Park and Sejun Park},
  year   = {2024},
  eprint = {2409.00297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.00297v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.00297.svg)](https://codeofpaper.com/paper/2409.00297)

Discussion