Manuscript Offprint

arXiv:2610.23338

SETAREH Transform: A Sorting-Assisted Haar-Wavelet Sparsification Method for Approximate Inner-Product Computation

Seyed Kamaledin Setarehdan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

SETAREH Transform: A Sorting-Assisted Haar-Wavelet Sparsification Method for Approximate Inner-Product Computation

Seyed Kamaledin Setarehdan

Control and Intelligent Processing Centre of Excellence, School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran

Abstract

Modern deep learning systems increasingly rely on high-dimensional vector operations, in which large input and parameter vectors are repeatedly stored, transferred, and processed. Although substantial research has focused on reducing neural-network model size through pruning, quantization, knowledge distillation, and efficient architectures, the storage, memory-traffic, and communication costs associated with repeatedly presented high-dimensional input vectors remain important practical considerations, particularly in distributed and edge-computing environments.

This paper proposes the SETAREH (Sorting-assisted Energy-concentrating Transform for Approximate Representation using Haar wavelets) transform, a Haar-wavelet-based sparsification approach for approximating the inner product between a fixed high-dimensional coefficient vector and successive input vectors. By applying the same sequence of permutations and Haar transforms to both vectors, SETAREH preserves the exact inner product before truncation. It then retains only a subset of the transformed coefficient-input pairs, reducing their representation cost while introducing a controllable approximation error.

To evaluate SETAREH, we consider two complementary experimental settings: a synthetic Gaussian-vector baseline and a real apparent-age estimation task using a convolutional neural network on the APPA-REAL dataset.

The results show that SETAREH can approximate the evaluated inner products using substantially fewer transformed coefficient-input pairs than the original vector dimension. The findings support its use as a potential structured data-representation method for repeated inner products with fixed weights, while the practical benefit depends on approximation accuracy and the cost of storing or transmitting permutation metadata.

Keywords: deep learning, data reduction, sparse representation, inner product, Haar wavelet transform, discrete wavelet transform, vector compression, edge computing, bandwidth reduction, neural networks, VGG16

1. Introduction

The rapid development and scaling of deep learning have resulted in neural network models with increasingly large numbers of parameters, wider intermediate representations, and higher-dimensional activation vectors [1–3]. The increasing size and computational complexity of deep neural networks have consequently motivated extensive research into efficient architectures. Modern architectures range from convolutional neural networks to attention-based and Transformer architectures, with increasing model capacity serving as an important mechanism for improving predictive performance. Representative architectures such as ResNet, MobileNet, and EfficientNet illustrate different approaches to balancing predictive accuracy, computational complexity, memory requirements, and model size [4–6]. Residual networks demonstrated that very deep models could be effectively optimized through residual learning while maintaining practical computational requirements [4]. MobileNets introduced depthwise separable convolutions as a mechanism for substantially reducing computation and model size, particularly for mobile and embedded applications [5]. EfficientNet further demonstrated that jointly scaling network depth, width, and input resolution can achieve improved accuracy–efficiency trade-offs compared with conventional scaling strategies [6].

At the same time, the computational burden of deep neural networks is not limited to arithmetic operations. Memory access, storage, and data movement can represent significant system-level costs, particularly when models and intermediate data must be processed on resource-constrained devices or transferred between computational units. Consequently, neural-network efficiency has been studied from several complementary perspectives, including architectural design, parameter pruning, quantization, knowledge distillation, and model compression [4–9]. For example, Han et al. proposed Deep Compression, which combines pruning, trained quantization, and Huffman coding to substantially reduce neural-network storage requirements. Their work demonstrated that large reductions in model storage can be achieved while preserving predictive accuracy [7]. Efficient architecture design has similarly been investigated in MobileNets and EfficientNets, where reductions in computation and model complexity are obtained through architectural choices and scaling strategies [5,6].

Beyond model compression and architectural optimization, reducing data movement has also emerged as an important consideration in efficient neural-network processing. Chen et al. demonstrated that data movement and memory access can represent major sources of energy consumption in deep neural-network processing. Their Eyeriss architecture explicitly targets data movement through the memory hierarchy by exploiting data reuse and an optimized dataflow, highlighting the importance of reducing data movement in addition to reducing arithmetic operations [8]. Quantization provides another widely studied approach to reducing the memory footprint and computational cost of neural networks. Jacob et al. proposed an integer-only inference framework that quantizes both weights and activations to lower-bit representations while main-taining accuracy close to floating-point inference [9]. Most existing approaches, however, primarily focus on reducing model size, computational complexity, or the representation cost of model parameters and activations.

A different but related problem arises when a fixed coefficient vector is repeatedly applied to a large number of input vectors to compute their inner products. Such inner-product operations arise in many neural-network computations, including fully connected layers and, more generally, linear projections used in convolutional and attention-based architectures. In these settings, the same coefficient vector may participate in a large number of successive inner-product operations, while the corresponding input vectors repeatedly enter the computation. Consequently, reducing the amount of input data that must be stored, transferred, or processed for each inner-product operation could provide a complementary form of data reduction without modifying the underlying network architecture or its learned parameters.

This observation motivates the approach proposed in this work. Rather than compressing the neural-network model itself, we investigate whether the permutation invariance of the inner product can be exploited to construct a compact representation of repeatedly occurring high-dimensional input vectors. By appropriately reordering a fixed coefficient vector, applying a Haar Discrete Wavelet Transform, and promoting a more compact distribution of its transform-domain representation, the proposed method seeks to approximate the original inner product using only a small subset of the corresponding input samples. We refer to the proposed framework as SETAREH (Sorting-assisted Energy-concentrating Transform for Approximate Representation using Haar wavelets). The method is designed as a complementary data-reduction technique, with potential applications in memory-constrained processing, repeated inference, and communication- or bandwidth-constrained neural-network systems.

In this work, two variants of the proposed framework are investigated. SETAREH-3 applies an initial sorting operation, followed by a Haar Discrete Wavelet Transform and a second sorting operation. SETAREH-5 extends this procedure by repeating the sorting and Haar-transform stages once before the final sorting operation. The two variants therefore provide different trade-offs between approximation accuracy, representation compactness, and computational cost. Their performance is systematically evaluated across different vector dimensions and retained coefficient counts, with particular emphasis on approximation error and the number of retained input samples.

The remainder of the paper is organized as follows. Section 2 introduces the proposed SETAREH framework and formally describes the SETAREH-3 and SETAREH-5 processing procedures. Section 3 presents the experimental methodology and defines the two experimental settings, statistical evaluation protocol, and performance metrics. Section 4 reports and analyses the results, including approximation accuracy, robustness, compression characteristics of SETAREH and also the effects of vector-dimension on its performance using synthetic and real scenarios. Finally, section 5 discusses the implications, limitations, and potential applications of the proposed algorithm.

References (20)