# SuperSpike: Supervised learning in multi-layer spiking neural networks

SuperSpike：多層スパイキングニューラルネットワークにおける教師あり学習

Friedemann Zenke, Surya Ganguli · arXiv · 2017年5月31日

- **課題** 決定論的な多層LIFスパイキングネットワークは、発火の微分が定義しにくいため学習が難しいです。
- **手法** 膜電位にもとづく表面勾配とシナプス適格トレースを用いて、誤差信号を重み更新へつなぐ3要因の規則を提案しています。
- **結果** 単一ニューロンとXOR型タスクで学習が確認されました。複雑な時空間タスクでは、対称フィードバックがランダムフィードバックより高い性能を示しました。

## スパイキングニューラルネットワーク学習の難しさ

スパイキングニューラルネットワークは、入力と出力が時間に沿ったスパイクのパターンである点で、深層学習の実数値の活性化ベクトルとは異なります。決定論的LIFニューロンの発火はスパイクの時刻でのみ定義され、それ以外の時刻では出力の重みに対する微分が0になります。そのため、誤差逆伝播をそのまま適用するのは困難です。さらに、隠れ層の誤差をどう伝えるかについては、生物学的な妥当性と技術的な実装の両面で課題があります。従来の手法には、確率的なノイズを導入するもの、発火時刻を微分可能な式に置き換えるもの、電圧ベースの近似を用いるものがありました。この研究は、ノイズを入れず、隠れニューロンが最初は完全に静かな状態でも多層の決定論的LIFネットワークを学習させる規則を扱います。

## SuperSpike規則の中心となる演算

SuperSpikeは、スパイク列そのものの代わりに膜電位の連続関数σ(U\_i)を用いて微分を近似します。この表面勾配は高速シグモイドの負の方向の部分として定義され、発火閾値の近くで値が大きくなるよう設計されています。重みの更新は、誤差信号e\_iとシナプス適格トレースλ\_ijの積を時間について積分する形で表されます。適格トレースは、シナプス前のフィルタ済み活動と表面勾配の積を二重指数カーネルで再びフィルタリングして作ります。この規則は電圧ベースであり、出力ニューロンでは目標スパイク列と実際のスパイク列の差から誤差を作り、隠れ層にはフィードバック信号として伝えます。ここで重要なのは、隠れ層が静かな状態でも膜電位の勾配を通じて学習信号を流せる点です。

## フィードバック信号と重み更新の条件

隠れ層のニューロンは、3種類のフィードバックのいずれかを受け取ります。対称フィードバックは、下流の誤差を順方向の重みと同じ方法で重み付き和にします。ランダムフィードバックは、固定された正規分布の乱数重みで誤差を射影するもので、この重みは学習中も変わりません。一様フィードバックは、すべての重みを1とした大域的な信号に近いものです。重みは、誤差と適格トレースの積を0.5257秒の区間ごとに累積し、区間の終わりにper-parameterの学習率を掛けて更新します。さらに重みは−0.1から0.1の範囲に制限されます。学習率にはRMSpropに関連するmaxベースの変種を用いていますが、その既定の設定は実験ごとの条件と合わせて解釈する必要があります。

![Figure 3: SuperSpike learning with different types of feedback allows to train multi-layer networks. (a) Network activity at the initial trial at reference tim…](https://refivu.com/papers/69e65b6b-2815-4179-aaac-1c5294019aba/figures/figure-7a36536734811228a237be72c685bc9a.png?thumb=512)

**Figure 3** : SuperSpike learning with different types of feedback allows to train multi-layer networks. (a) Network activity at the initial trial at reference timet = 0s. The bottom panel shows the membrane potential traces of the four hidden units. The membrane potential of the output unit is shown in the middle. The dashed line is the output neuron ﬁring threshold. The points correspond to target ﬁring times and the top plot shows the error signal at the output layer. Hidden units receive the same input spikes as shown in Fig. 1a. ( b) Same as (a), but after 250s of training. The two hidden units which have started to respond to the repeating input spiking pattern are the ones with positive feedback weights, whereas the two hidden neurons which receive negative feedback connections from the output layer (middle traces) respond mostly at the offset of the repeating stimulus. ( c) Learning curves of networks trained with random feedback connections. Gray lines correspond to single trials and the black line to the average. The dashed line is the same average but for a network with 8 hidden layer units. (d) Same as (d), but for a network with symmetric feedback connections. (e) Same as (d–e), but for uniform “all one” feedback connections.

[出典](https://arxiv.org/abs/1705.11146v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Friedemann Zenke, Surya Ganguli · SuperSpike: Supervised learning in multi-layer spiking neural networks · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

## 単一ニューロンとXOR課題による検証

最初の実験では、100個の入力スパイク列を受け取る単一のLIFニューロンに、500msごとに繰り返される入力に対して5個の等間隔の目標スパイクを出力させる学習を行います。初期重みは、出力ニューロンが発火しない静かな状態に設定しました。500回の試行、すなわち250秒のシミュレーションの後に、目標スパイク列を生成するよう学習させました。次に、隠れ層が必要なスパイキング排他的論理和タスクでは、ランダムフィードバックのネットワークが速やかに完全な精度に到達しました。一方、隠れ層のないネットワークは解けませんでした。この結果は、4個の隠れニューロンと当該タスク設定で得られたものです。

## 複雑な時空間パターンとフィードバック方式の比較

複雑な時空間実験は、100個の出力ニューロンが、繰り返される固定ポアソン入力に対して3.5秒の長さの目標パターンを学習するタスクです。対称フィードバックを用いたネットワークでは、32個以上の隠れニューロンがある場合、1000秒の学習内に目標パターンと見た目が似た出力が得られました。同じタスクでは、ランダムフィードバックは対称フィードバックより悪い性能を示しました。正則化項を加えると改善したものの、隠れ層のないネットワークと同程度には届きませんでした。この結果は、代表的な設定である対称フィードバックで隠れニューロン256個の比較と、ランダムフィードバックの条件に基づくものです。著者らは、この差はタスクが複雑になるほど対称フィードバックの必要性が高まるという解釈につながると見ています。

![Figure 5: Learning of complex spatiotemporal spike pattern transformations. (a) Spike raster of target ﬁring pattern of 100 output neurons. The whole ﬁring pat…](https://refivu.com/papers/69e65b6b-2815-4179-aaac-1c5294019aba/figures/figure-baee9a02575368c264e3dcd501b500a9.png?thumb=512)

**Figure 5** : Learning of complex spatiotemporal spike pattern transformations. (a) Spike raster of target ﬁring pattern of 100 output neurons. The whole ﬁring pattern has a duration of 3.5s. (b) Schematic illustration of the network architecture. (b) Spike raster of target ﬁring pattern for reference. ( c) Snapshot of network activity of the network with symmetric feedback after 1000s of SuperSpike learning. Bottom panel: Spike raster of repeating frozen Poisson input spikes. Middle panel: Spike raster of hidden unit spiking activity. Top panel: Spike raster of output spiking activity. The black arrow denotes the point in time at which SuperSpike learning is switched off which freezes the spiking activity of the fully deterministic network. (d) Histograms of different ﬁring statistics of hidden layer activity at then of learning. Top: Distribution of ﬁring rates. Middle: Inter-spike-interval (ISI) distribution on semi-log axes. Bottom: Distribution of coefﬁcient of variation (CV) of the ISI distribution.

[出典](https://arxiv.org/abs/1705.11146v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Friedemann Zenke, Surya Ganguli · SuperSpike: Supervised learning in multi-layer spiking neural networks · 論文の図を引用 · 元のPDFの17ページ目から図の部分を抽出しています。

![Figure 6: Learning of spatiotemporal spike patterns. (a) Learning curves for networks with symmetric feedback or no hidden layer respectively. Learning was act…](https://refivu.com/papers/69e65b6b-2815-4179-aaac-1c5294019aba/figures/figure-39f32b8affabe40ef36d5a2cce55f1ea.png?thumb=512)

**Figure 6** : Learning of spatiotemporal spike patterns. (a) Learning curves for networks with symmetric feedback or no hidden layer respectively. Learning was activated at the dashed line, whereas the learning rate was reduced by a factor of 10 at each dotted line. (b) Minimum cost after convergence for different feedback strategies and varying numbers of hidden units. Dashed line: Performance of a network without hidden units.

[出典](https://arxiv.org/abs/1705.11146v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Friedemann Zenke, Surya Ganguli · SuperSpike: Supervised learning in multi-layer spiking neural networks · 論文の図を引用 · 元のPDFの18ページ目から図の部分を抽出しています。

## 計算コストと近似の範囲

オンラインの適格トレースはシナプスごとに計算されるため、計算量はニューロン数nに対してO(n²)で増加します。著者らは、これを今後の最適化の対象として挙げています。また、重み更新式の近似は、発火率が低くリセット項が小さな補正しか与えないという仮定に依存しています。この仮定は、恒常性調節によって発火率を低く保つという条件と結びついています。ランダムフィードバックの結果は固定されたタスクと設定で得られたものなので、他のデータやより深いネットワークに一般化できたとは言えません。

## 論文情報

- **著者**: Friedemann Zenke, Surya Ganguli
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2017年5月31日
- **登録日**: 2026年11月6日
- **更新日**: 2017年10月14日
- **バージョン**: v2
- **arXiv**: 1705.11146
- **DOI**: 10.1162/neco\_a\_01086
- **カテゴリ**: q-bio.NC · cs.LG · cs.NE · stat.ML
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/1705.11146v2) · [PDF ↗](https://arxiv.org/pdf/1705.11146v2)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

A vast majority of computation in the brain is performed by spiking neural networks. Despite the ubiquity of such spiking, we currently lack an understanding of how biological spiking neural circuits learn and compute in-vivo, as well as how we can instantiate such capabilities in artificial spiking circuits in-silico. Here we revisit the problem of supervised learning in temporally coding multi-layer spiking neural networks. First, by using a surrogate gradient approach, we derive SuperSpike, a nonlinear voltage-based three factor learning rule capable of training multi-layer networks of deterministic integrate-and-fire neurons to perform nonlinear computations on spatiotemporal spike patterns. Second, inspired by recent results on feedback alignment, we compare the performance of our learning rule under different credit assignment strategies for propagating output errors to hidden units. Specifically, we test uniform, symmetric and random feedback, finding that simpler tasks can be solved with any type of feedback, while more complex tasks require symmetric feedback. In summary, our results open the door to obtaining a better scientific understanding of learning and computation in spiking neural networks by advancing our ability to train them to solve nonlinear problems involving transformations between different spatiotemporal spike-time patterns.

## この論文を引用

Friedemann Zenke, Surya Ganguli (2017). SuperSpike: Supervised learning in multi-layer spiking neural networks. arXiv:1705.11146v2. https://doi.org/10.1162/neco\_a\_01086

**BibTeX**

```
@article{zenke2017superspike,
  title = {{SuperSpike: Supervised learning in multi-layer spiking neural networks}},
  author = {Friedemann Zenke and Surya Ganguli},
  year = {2017},
  eprint = {1705.11146},
  archivePrefix = {arXiv},
  doi = {10.1162/neco_a_01086},
  url = {https://arxiv.org/abs/1705.11146v2}
}
```

## この論文の用語

- [RMSprop](https://refivu.com/ja/terms/a1984fdf7b1d-rmsprop)
- [surrogate gradient](https://refivu.com/ja/terms/41a940d543e2-surrogate-gradient)
- [fast sigmoid](https://refivu.com/ja/terms/8bf5b90af367-fast-sigmoid)

## ほかの論文解説

- [Attention Spiking Neural Networks](https://refivu.com/ja/papers/2c52d99c-a249-4911-96bd-79f6720c0a09-attention-spiking-neural-networks.md)
- [Tackling the Curse of Dimensionality with Physics-Informed Neural Networks](https://refivu.com/ja/papers/06c237e9-b634-4450-8252-7fb4dd712d2e-tackling-the-curse-of-dimensionality-with-physics-informed.md)
- [Continuous online sequence learning with an unsupervised neural network model](https://refivu.com/ja/papers/2850b462-149b-4637-8186-0e3a02a69df4-continuous-online-sequence-learning-with-an-unsupervised.md)
- [A Cost-Sensitive Deep Belief Network for Imbalanced Classification](https://refivu.com/ja/papers/140fac18-43ea-4f02-a761-0549f84a0de3-a-cost-sensitive-deep-belief-network-for-imbalanced.md)
- [OnionNet: a multiple-layer inter-molecular contact based convolutional neural network for protein-ligand binding affinity prediction](https://refivu.com/ja/papers/d363670e-b76b-46a2-bc53-1b22fb49dd68-onionnet-a-multiple-layer-inter-molecular-contact-based.md)
- [Avoiding Overfitting: A Survey on Regularization Methods for Convolutional Neural Networks](https://refivu.com/ja/papers/726fc9f2-ea0b-4f5f-b42e-cc0c9f6e4c3a-avoiding-overfitting-a-survey-on-regularization-methods-for.md)
- [Explainability for Large Language Models: A Survey](https://refivu.com/ja/papers/b3acf8e8-790e-4e5c-b4f9-9a9d779bf843-explainability-for-large-language-models-a-survey.md)
- [A Survey on Offline Reinforcement Learning: Taxonomy, Review, and Open Problems](https://refivu.com/ja/papers/69527e29-6b8a-4f07-bd11-48a71ae795cb-a-survey-on-offline-reinforcement-learning-taxonomy-review.md)
- [Training Tips for the Transformer Model](https://refivu.com/ja/papers/f2437599-de07-4bc9-b659-4823dff3be26-training-tips-for-the-transformer-model.md)
- [Self-supervised Learning: Generative or Contrastive](https://refivu.com/ja/papers/f29652bc-588e-4c10-accc-3c3ba6c23453-self-supervised-learning-generative-or-contrastive.md)
- [Deep Reinforcement Learning Based Intelligent Reflecting Surface for Secure Wireless Communications](https://refivu.com/ja/papers/7f104da3-3d98-4ecd-95d9-a25944d61e36-deep-reinforcement-learning-based-intelligent-reflecting.md)
- [Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data](https://refivu.com/ja/papers/7d06c47d-a111-423f-a4f8-68d244e1093c-self-supervised-learning-for-human-activity-recognition.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/69e65b6b-2815-4179-aaac-1c5294019aba-superspike-supervised-learning-in-multi-layer-spiking-neural)
