Skip to content
Back to skills

Self Supervised Local Learning Rhm

ASecurity

Layerwise self-supervised local learning rules for deep networks on the Random Hierarchy Model (RHM). Direct feedback approximations fail due to input-specific masking nonlinearity; layerwise contrastive/non-contrastive self-supervised rules succeed and match backprop data efficiency while being cortex-compatible. Use when: designing biologically plausible learning rules, local learning algorithms, self-supervised contrastive learning, solving weight transport problem, hierarchical structure ...

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
developmentpythongo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add hiyenwong/ai_collection --skill self-supervised-local-learning-rhm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Self Supervised Local Learning Rhm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Self Supervised Local Learning Rhm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-self-supervised-local-learning-rhm/badge)](https://www.skillsdirectory.com/skills/hiyenwong-self-supervised-local-learning-rhm)

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

Download with Pro
SKILL.md
---
name: self-supervised-local-learning-rhm
description: "Layerwise self-supervised local learning rules for deep networks on the Random Hierarchy Model (RHM). Direct feedback approximations fail due to input-specific masking nonlinearity; layerwise contrastive/non-contrastive self-supervised rules succeed and match backprop data efficiency while being cortex-compatible. Use when: designing biologically plausible learning rules, local learning algorithms, self-supervised contrastive learning, solving weight transport problem, hierarchical structure learning, cortical-compatible plasticity."
---

# Self-Supervised Local Learning on Random Hierarchy Model (RHM)

## Core Problem

How do biological neural networks learn abstract hierarchical representations without backpropagation's symmetric weight requirement (weight transport problem)?

## Key Finding from arXiv:2605.18557

Two classes of local learning rules tested on RHM:

### Class 1: Direct Feedback Approximations → **FAIL**
- Use direct feedback signals to approximate error propagation from output layer
- Fail because they miss **input-specific nonlinear masking** that is essential in full backprop
- Cannot learn complex hierarchical tasks

### Class 2: Layerwise Self-Supervised Rules → **SUCCEED**
- Use layerwise contrastive or non-contrastive loss functions
- Do **not** approximate errors at the output layer
- **As data-efficient as supervised backpropagation**
- Compatible with known cortical synaptic plasticity rules

## Mechanism

Full backprop implements input-specific masking:
```
∂L/∂w_l = δ_l · x_l  where δ_l depends on downstream Jacobian AND input-specific gates
```
Direct feedback rules approximate δ_l globally but miss the input-specific component, causing failure on hierarchical tasks.

Self-supervised rules bypass this by learning structure directly at each layer.

## Application Patterns

```python
class LayerwiseSelfSupervisedLearning:
    def __init__(self, layers):
        self.layers = layers
        
    def train_step(self, x):
        h = x
        for i, layer in enumerate(self.layers):
            # Layerwise self-supervised objective
            # e.g., contrastive: maximize agreement between augmented views
            loss = self.contrastive_loss(layer(h))
            layer.update(loss)  # Local update, no global error signal needed
            h = layer(h)
```

## When to Apply

- Building biologically plausible deep learning models
- Solving the weight transport problem
- Training deep networks without symmetric feedback weights
- Learning hierarchical representations with local plasticity rules
- Neuromorphic computing implementations

Attribution

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

Loading comments…