Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Predictive Suppression Layers Snn

ASecurity

Predictive coding layer variants for communication-efficient spiking neural networks — a per-layer predictor transmits only "surprising" spikes, via signed spiking residuals (error units) or an error-magnitude-driven gate that suppresses predictable activity (predictive suppression, including strictly event-driven hard-STE and respike binary variants). Achieves ~3× reduction in communicated inter-layer activity while increasing task accuracy, with metrics that decouple local processing cost (...

3 stars
0 votes
0 copies
0 views
Added 9/28/2026
businessgonode

Security Analysis

A100/100

Scanned 9/28/2026

$npx -y skills add hiyenwong/ai_collection --skill predictive-suppression-layers-snn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Predictive Suppression Layers Snn?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Predictive Suppression Layers Snn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-predictive-suppression-layers-snn/badge)](https://www.skillsdirectory.com/skills/hiyenwong-predictive-suppression-layers-snn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Files
SKILL.md
---
name: predictive-suppression-layers-snn
description: Predictive coding layer variants for communication-efficient spiking neural networks — a per-layer predictor transmits only "surprising" spikes, via signed spiking residuals (error units) or an error-magnitude-driven gate that suppresses predictable activity (predictive suppression, including strictly event-driven hard-STE and respike binary variants). Achieves ~3× reduction in communicated inter-layer activity while increasing task accuracy, with metrics that decouple local processing cost (E_local) from communication cost (E_comm). Use when optimizing SNN inter-core/wireless communication overhead, designing predictive coding layers for neuromorphic hardware, energy-constrained IoT edge inference, or when total-spike-count minimization is the wrong objective because communication dominates the energy budget. Activation: SNN communication efficiency, predictive coding spiking layers, event-driven gating, surprise encoding, neuromorphic inter-core communication, E_comm metrics, N-MNIST SHD.
license: MIT
metadata:
  arxiv_id: "2609.21583"
  published: "2026-09-18"
  authors: "Aidin Attar, Michele Rossi (University of Padova)"
  tags: [spiking-neural-networks, predictive-coding, communication-efficiency, neuromorphic, event-driven, iot-edge]
---

# Predictive Suppression Layers for Communication-Efficient SNNs

Source: arXiv:2609.21583 (2026-09-18) — Attar & Rossi, Univ. of Padova. EWSN workshop
(Neuromorphic Physical Layer Signal Processing for Wireless Systems).

## Motivation: Split the Cost Model

Standard SNN energy accounting uses **total spike count**, but that conflates two costs
that are not interchangeable on real hardware:

```
E_total = E_local + E_comm
```

- `E_local`: local processing activity (encoding, prediction) — cheap, stays on-core.
- `E_comm`: activity communicated across layers/cores/wireless links — expensive.

On many-core neuromorphic chips and IoT nodes, communication dominates the energy budget
(IoT nodes: comms ≈ most of consumed energy). A design that *adds* local computation to
*subtract* channel traffic is the right trade in these regimes. Define a cost ratio ρ =
communication weight / local weight; predictive suppression crosses break-even vs. a
matched SNN baseline at **ρ* ≈ 2.1** — above it, predictive suppression is cheaper.

## Architecture: Two Variants, One Predictor Block

Each predictive layer learns a predictor of its own input/latent activity, producing a
residual `e_ℓ[t]`; prediction error magnitude `m_ℓ[t]` drives the layer's output.

### 1. Error Units (direct predictive coding)
Transmit the signed residual as spikes (negative errors need a second population):

```
y_ℓ[t] = LIF( [relu(e_ℓ[t]) ; relu(−e_ℓ[t])] )
```

### 2. Predictive Suppression (residual as control signal) — the stronger variant
Use residual magnitude as an error-driven gate on the latent spike train:

```
g_ℓ[t] = clamp(1 − e^(−α m_ℓ[t]), g_min, 1)      # α = 10, g_min = 0.05
y_ℓ[t] = g_ℓ[t] · z_ℓ[t]                          # graded amplitude-modulated spikes
```

Predictable input → gate closes toward g_min, spikes suppressed; surprising input → gate
opens, spikes forwarded. The communicated signal is *graded* (continuous gate × binary
spikes) — the downstream layer remains a normal spiking LIF consumer.

### 3. Strictly Event-Driven Binary Variants
- **hard-STE**: `y_ℓ[t] = 1[g_ℓ[t] ≥ θ] z_ℓ[t]` — binary forward pass, gradients flow
  through the continuous gate via straight-through estimator. θ = 0.3 (N-MNIST), 0.1 (SHD).
- **respike**: `y_ℓ[t] = LIF(γ g_ℓ[t] z_ℓ[t])`, γ = 4 — re-binarizes the graded current
  through a LIF, yielding a conventional SNN block.

### Training Objective

```
L = L_task + β (L_pred + λ L_rate),   β = 0.1, λ = 2
L_rate = [0.05 − r̄_pred]₊²            # prevents predictor collapse to silence
```

The min-rate regularizer is essential — without it the predictor can trivially suppress
everything.

## Key Results (N-MNIST, SHD)

- **~3× reduction in communicated activity** while *increasing* task accuracy on both
  datasets (predictive suppression variant).
- First suppression layer: message carries **7× less weighted activity** than baseline
  (198 vs. 1397) with linear-probe accuracy on the compressed message ≈ the full
  representation — the gate removes only what the downstream decoder doesn't need.
- **Selectivity is prediction-driven, not random**: communicated activity rises
  monotonically with prediction-error magnitude; surprise-selectivity index SSI ≈ 0.75,
  redundant-communication fraction RCF ≈ 0.07. (A random gate could compress while wasting
  activity on predictable inputs — this diagnostic rules that out.)
- **Temporal transfer (SHD)**: error-units variant performs poorly; the error is more
  useful as a *control signal* (gate) than as the message itself. Binary variant choice is
  dataset-dependent, not universal.

## Evaluation Metrics (reusable protocol)

1. Report `E_local` and `E_comm` separately, never total spike count alone.
2. **Linear-probe decodability** of the communicated message vs. full local representation
   at each layer (channel preserves task information).
3. **Surprise-selectivity index (SSI)** and **redundant-communication fraction (RCF)**:
   communicated activity as a function of prediction-error magnitude must be monotone.
4. Weighted cost `C(ρ)` curves vs. the matched SNN baseline across communication/local
   cost ratios ρ; report break-even ρ*.

## When To Use

- Communication-dominated regimes: many-core neuromorphic hardware (inter-core
  fan-out), wireless feature transmission to a decision point, IoT edge nodes.
- Any SNN where you want output features that are *more linearly decodable* — the gate
  doubles as a redundancy filter that improves representation power.
- As a layer primitive to compose (feedforward here; top-down/iterative and convolutional
  gates are stated future work).

## Pitfalls

- Predictive coding **increases total spiking activity** (the predictor is extra local
  work) — it is a win only when ρ > ρ* ≈ 2.1. Never sell it as spike-count minimization.
- Graded gate output is not a pure binary event stream; if the substrate demands strict
  events, use hard-STE or respike and re-tune θ/γ per dataset.
- Without the min-rate regularizer the predictor collapses and the channel silences.
- Error-units (transmitting residuals directly) generalize worse on temporal data than
  gating the latent train.

## Related

- Classical Rao–Ballard predictive coding (transmit only what higher areas cannot predict)
  recast as a *hardware communication* principle.
- Complements spike-sparsity optimization: orthogonal axis — sparsity cuts activity,
  suppression cuts *redundant communicated* activity.

Attribution

hiyenwonghiyenwong
View sourceSee grades on GitHubMore from hiyenwong →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Email Composer

Draft professional emails for various contexts including business, technical, and customer communication. Use when the user needs help writing emails or composing professional messages.

304952 votes

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes
View all in business →