paper-with-me

홈 › Papers

Bug or Feature$^2$: Weight Drift, Activation Sparsity and Spikes

2026-05-17 · Egor Shvetsov, Aleksandr Serkov, Shokorov Viacheslav, Redko Dmitry, Vladislav Goloshchapov, Evgeny Burnaev arxiv

The design of modern neural architectures has converged through incremental empirical choices, yet the mechanisms governing their training dynamics remain only partially understood. We identify and analyze a negative weight drift induced by the interaction between standard losses and positively biased activation functions. We prove that under MSE or cross-entropy loss, the gradient with respect to positive pre-activations is non-negative in expectation at initialization, driving downstream weights toward negative values during early training. The drift is intrinsic to optimization rather than data, and persists across architectures (MLP, ResNet, ViT, GPT-nano, MP-SENe) and asymmetric activation functions (ReLU, GELU, SiLU). Coupled with ReLU, weight drift produces activation sparsity reaching up to 90\% in GPT-nano. We characterize the sparsity-accuracy tradeoff across 79 configurations and identify a sharp accuracy cliff above $\sim$70\% activation sparsity. While ReLU$^2$ achieves a good sparsity--accuracy ratio in GPT-nano, it pathologically amplifies identified activation spikes in intermediate transformer layers. Clipping resolves this while preserving the representational benefits of squaring: clipped ReLU$^2$ outperforms its unclipped version, and GELU$^2$ achieves the lowest validation loss on GPT-nano. Code is available at https://github.com/On-Point-RND/BugOrFeature.

📄 PDF Abstract BibTeX arXiv:2605.17659

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Efficient Hardware Acceleration of Sparsely Active Convolutional Spiking Neural Networks

2022-03-23 · Jan Sommer, M. Akif Özkan, Oliver Keszocze, Jürgen Teich

Spiking Neural Networks (SNNs) compute in an event-based matter to achieve a more efficient computation than standard Neural Networks. In SNNs, neuronal outputs (i.e. activations) are not encoded with real-valued activat…

Scheduling

Sigma-Delta Neural Network Conversion on Loihi 2

2025-05-09 · Matthew Brehove, Sadia Anjum Tumpa, Espoir Kyubwa, Naresh Menon 외

Neuromorphic computing aims to improve the efficiency of artificial neural networks by taking inspiration from biological neurons and leveraging temporal sparsity, spatial sparsity, and compute near/in memory. Although t…

Mitigating Quantization Errors Due to Activation Spikes in GLU-Based LLMs

2024-05-23 · Jaewoo Yang, Hayun Kim, Younghoon Kim

Modern large language models (LLMs) have established state-of-the-art performance through architectural improvements, but still require significant computational cost for inference. In an effort to reduce the inference c…

Quantization

Ultra-low-power Image Classification on Neuromorphic Hardware

2023-09-28 · Gregor Lenz, Garrick Orchard, Sadique Sheik

Spiking neural networks (SNNs) promise ultra-low-power applications by exploiting temporal and spatial sparsity. The number of binary activations, called spikes, is proportional to the power consumed when executed on neu…

Classificationimage-classificationImage Classification

DIET-SNN: Direct Input Encoding With Leakage and Threshold Optimization in Deep Spiking Neural Networks

2020-08-09 · Nitin Rathi, Kaushik Roy

Bio-inspired spiking neural networks (SNNs), operating with asynchronous binary signals (or spikes) distributed over time, can potentially lead to greater computational efficiency on event-driven hardware. The state-of-t…

Computational Efficiencyimage-classificationImage Classification