decolle-snn-learning

Train spiking neural networks online with synthetic gradients in PyTorch.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hiyenwong/ai_collection --skill decolle-snn-learning
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: decolle-snn-learning
Source: https://github.com/hiyenwong/ai_collection/tree/main/collection/skills/decolle-snn-learning
Command: npx skills add https://github.com/hiyenwong/ai_collection --skill decolle-snn-learning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DECOLLE enables end-to-end online training of spiking neural networks using locally computed synthetic gradients, reducing reliance on full backpropagation across time.

Core Features & Use Cases

  • Local, layer-wise learning with synthetic gradients for deep SNNs.
  • Real-time online learning and adaptation for neuromorphic systems.
  • Suitable for research and experiments in event-driven vision and online learning.

Quick Start

Provide a spike-encoded input sequence to the DECOLLE network and run one training step to observe local and final losses.

Frequently Asked Questions about decolle-snn-learning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I train spiking neural networks online without full backpropagation across time?▼

You can train spiking neural networks online using locally computed synthetic gradients. This approach enables local, layer-wise learning for deep SNNs, reducing reliance on full backpropagation across time.

What is synthetic gradient learning for spiking neurons?▼

Synthetic gradient learning for spiking neurons is a mechanism that enables local, layer-wise updates in deep SNNs. It allows end-to-end online training by computing gradients locally, removing the need to backpropagate errors through time.

Does DECOLLE require PyTorch for neuromorphic computing research?▼

Yes, DECOLLE requires PyTorch for neural modeling and spike-encoded inputs. It is designed for neuromorphic computing research and real-time continuous learning scenarios.

How do I provide input to a DECOLLE network for real-time continuous learning?▼

You provide a spike-encoded input sequence to the DECOLLE network and run one training step. This process allows you to observe local and final losses during real-time continuous learning.

When should I use synthetic gradients for online SNN training instead of traditional methods?▼

Use synthetic gradients for online SNN training when you need real-time online learning and adaptation for neuromorphic systems. It is particularly suitable for experiments in event-driven vision and continuous learning scenarios.

Can I use this approach for event-driven vision and online learning experiments?▼

Yes, this approach is suitable for research and experiments in event-driven vision and online learning. It applies local layer updates with synthetic gradients to enable real-time adaptation in deep spiking neural networks.