SymbolNet:面向压缩的具有自适应动态剪枝的神经符号回归
SymbolNet: Neural Symbolic Regression with Adaptive Dynamic Pruning for Compression
AI总结:
本文提出SymbolNet,一种面向模型压缩的神经符号回归框架,通过单一训练过程中的自适应动态剪枝同时优化权重、输入特征和算子,在高维数据集上实现低延迟推理。
摘要:
研究表明,在FPGA等定制硬件上实现时,紧凑的符号表达式在资源消耗和推理速度方面比神经网络模型更高效,同时保持相当的精度。这些能力在计算资源约束严格的环境中极具价值,例如CERN大型强子对撞机上的高能物理实验。然而,由于遗传编程这一大多数符号回归方法所采用的搜索算法的固有局限,为高维数据集寻找紧凑表达式仍然具有挑战性。与遗传编程不同,基于神经网络的符号回归方法能够扩展到高维输入,并利用梯度方法加快方程搜索。常见的约束表达式复杂度的方法通常涉及多阶段剪枝和微调,这可能导致显著的性能损失。在本工作中,我们提出SymbolNet,一种基于神经网络的符号回归方法,专门设计为模型压缩技术,旨在为FPGA等定制硬件上的高维输入实现低延迟推理。该框架允许在单一训练过程中对模型权重、输入特征和数学算子进行动态剪枝,同时优化训练损失和表达式复杂度。我们为每种剪枝类型引入稀疏正则化项,该项能够自适应调整其强度,从而收敛到目标稀疏率。与大多数现有符号回归方法难以处理包含超过O(10)个输入的数据集不同,我们在LHC喷注标记任务(16个输入)、MNIST(784个输入)和SVHN(3072个输入)上证明了模型的有效性。
英文摘要:
Compact symbolic expressions have been shown to be more efficient than neural network models in terms of resource consumption and inference speed when implemented on custom hardware such as FPGAs, while maintaining comparable accuracy~\cite{tsoi2023symbolic}. These capabilities are highly valuable in environments with stringent computational resource constraints, such as high-energy physics experiments at the CERN Large Hadron Collider. However, finding compact expressions for high-dimensional datasets remains challenging due to the inherent limitations of genetic programming, the search algorithm of most symbolic regression methods. Contrary to genetic programming, the neural network approach to symbolic regression offers scalability to high-dimensional inputs and leverages gradient methods for faster equation searching. Common ways of constraining expression complexity often involve multistage pruning with fine-tuning, which can result in significant performance loss. In this work, we propose $\tt{SymbolNet}$, a neural network approach to symbolic regression specifically designed as a model compression technique, aimed at enabling low-latency inference for high-dimensional inputs on custom hardware such as FPGAs. This framework allows dynamic pruning of model weights, input features, and mathematical operators in a single training process, where both training loss and expression complexity are optimized simultaneously. We introduce a sparsity regularization term for each pruning type, which can adaptively adjust its strength, leading to convergence at a target sparsity ratio. Unlike most existing symbolic regression methods that struggle with datasets containing more than $\mathcal{O}(10)$ inputs, we demonstrate the effectiveness of our model on the LHC jet tagging task (16 inputs), MNIST (784 inputs), and SVHN (3072 inputs).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。