Saved in:
Bibliographic Details
Main Authors: Park, Yeachan, Park, Sejun, Hwang, Geonho
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.00297
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908774576422912
author Park, Yeachan
Park, Sejun
Hwang, Geonho
author_facet Park, Yeachan
Park, Sejun
Hwang, Geonho
contents Existing works on the expressive power of neural networks typically assume real parameters and exact operations. In this work, we study the expressive power of quantized networks under discrete fixed-point parameters and inexact fixed-point operations with round-off errors. We first provide a necessary condition and a sufficient condition on fixed-point arithmetic and activation functions for quantized networks to represent all fixed-point functions from fixed-point vectors to fixed-point numbers. 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 representing all fixed-point functions. 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 represent all fixed-point functions for practical activation functions.
format Preprint
id arxiv_https___arxiv_org_abs_2409_00297
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On Expressive Power of Quantized Neural Networks under Fixed-Point Arithmetic
Park, Yeachan
Park, Sejun
Hwang, Geonho
Machine Learning
Existing works on the expressive power of neural networks typically assume real parameters and exact operations. In this work, we study the expressive power of quantized networks under discrete fixed-point parameters and inexact fixed-point operations with round-off errors. We first provide a necessary condition and a sufficient condition on fixed-point arithmetic and activation functions for quantized networks to represent all fixed-point functions from fixed-point vectors to fixed-point numbers. 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 representing all fixed-point functions. 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 represent all fixed-point functions for practical activation functions.
title On Expressive Power of Quantized Neural Networks under Fixed-Point Arithmetic
topic Machine Learning
url https://arxiv.org/abs/2409.00297