The growing demand for machine learning applications in the context of the Internet of Things calls for new approaches to optimize the use of limited compute and memory resources. Despite significant progress that has been made w.r.t. reducing model sizes and improving efficiency, many applications still require remote servers to provide the required resources. However, such approaches rely on transmitting data from edge devices to remote servers, which may not always be feasible due to bandwidth, latency, or energy constraints. We propose a task-specific, trainable feature quantization layer that compresses the input features of a neural network. This can significantly reduce the amount of data that needs to be transferred from the device to a remote server. In particular, the layer allows each input feature to be quantized to a user-defined number of bits, enabling a simple on-device compression at the time of data collection. The layer is designed to approximate step functions with sigmoids, enabling trainable quantization thresholds. By concatenating outputs from multiple sigmoids, introduced as bitwise soft quantization, it achieves trainable quantized values when integrated with a neural network. We compare our method to full-precision inference as well as to several quantization baselines. Experiments show that our approach outperforms standard quantization methods, while maintaining accuracy levels close to those of full-precision models. In particular, depending on the dataset, compression factors of $5\times$ to $16\times$ can be achieved compared to $32$-bit input without significant performance loss.
Fast Trainable Multilinear Bases for Image Compression
Institute of Science Tokyo(东京科学大学);Center for Advanced Intelligence Project (AIP), RIKEN(理化学研究所先进智能项目中心);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Maestro: Uncovering Low-Rank Structures via Trainable Decomposition
Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学(MBZUAI));Brave Software(Brave软件公司);DataBricks(Databricks公司);Carnegie Mellon University(卡内基梅隆大学)
Tensor Contraction Layers for Parsimonious Deep Nets
Amazon AI(亚马逊AI);Imperial College London(帝国理工学院);University of California, San Diego(加利福尼亚大学圣迭戈分校);University of Southern California(南加利福尼亚大学);California Institute of Technology(加利福尼亚理工学院)