paper-with-me

홈 › Papers

A Free Lunch From ANN: Towards Efficient, Accurate Spiking Neural Networks Calibration

2021-06-13 · Yuhang Li, Shikuang Deng, Xin Dong, Ruihao Gong, Shi Gu

Spiking Neural Network (SNN) has been recognized as one of the next generation of neural networks. Conventionally, SNN can be converted from a pre-trained ANN by only replacing the ReLU activation to spike activation while keeping the parameters intact. Perhaps surprisingly, in this work we show that a proper way to calibrate the parameters during the conversion of ANN to SNN can bring significant improvements. We introduce SNN Calibration, a cheap but extraordinarily effective method by leveraging the knowledge within a pre-trained Artificial Neural Network (ANN). Starting by analyzing the conversion error and its propagation through layers theoretically, we propose the calibration algorithm that can correct the error layer-by-layer. The calibration only takes a handful number of training data and several minutes to finish. Moreover, our calibration algorithm can produce SNN with state-of-the-art architecture on the large-scale ImageNet dataset, including MobileNet and RegNet. Extensive experiments demonstrate the effectiveness and efficiency of our algorithm. For example, our advanced pipeline can increase up to 69% top-1 accuracy when converting MobileNet on ImageNet compared to baselines. Codes are released at https://github.com/yhhhli/SNN_Calibration.

📄 PDF Abstract BibTeX arXiv:2106.06984

Code (1)

yhhhli/SNN_Calibration 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Towards Uncertainties in Deep Learning that Are Accurate and Calibrated

2021-09-29 · Volodymyr Kuleshov, Shachi Deshpande

Predictive uncertainties can be characterized by two properties---calibration and sharpness. This paper introduces algorithms that ensure the calibration of any model while maintaining sharpness. They apply in both class…

Deep Learningregression

Integer Scale: A Free Lunch for Faster Fine-grained Quantization of LLMs

2024-05-23 · Qingyuan Li, Ran Meng, Yiduo Li, Bo Zhang 외

We introduce Integer Scale, a novel post-training quantization scheme for large language models that effectively resolves the inference bottleneck in current fine-grained quantization approaches while maintaining similar…

Quantization

Free Lunch for Optimisation under the Universal Distribution

2016-08-16 · Tom Everitt, Tor Lattimore, Marcus Hutter

Function optimisation is a major challenge in computer science. The No Free Lunch theorems state that if all functions with the same histogram are assumed to be equally probable then no algorithm outperforms any other in…

The Implications of the No-Free-Lunch Theorems for Meta-induction

2021-03-22 · David H. Wolpert

The important recent book by G. Schurz appreciates that the no-free-lunch theorems (NFL) have major implications for the problem of (meta) induction. Here I review the NFL theorems, emphasizing that they do not only conc…

A No Free Lunch Theorem for Human-AI Collaboration

2024-11-21 · Kenny Peng, Nikhil Garg, Jon Kleinberg

The gold standard in human-AI collaboration is complementarity -- when combined performance exceeds both the human and algorithm alone. We investigate this challenge in binary classification settings where the goal is to…

Binary Classification