Neuromimetic Activations
Stateful mechanisms for fast adaptation, spiking responses, and activity regulation.
In the ARCANE framework, activation functions are not merely static mathematical non-linearities. They incorporate Inference-Time State Adaptation, Spiking Dynamics, and Homeostatic Regulation to mirror the adaptive nature of biological neurons.
Available Activations
Mathematical Foundation
1. Resonant Spiking Dynamics
Grounding in the Leaky Integrate-and-Fire (LIF) model with hierarchical resonance.
The internal potential at time integrates incoming stimulus and decayed previous state:
Variables:
- : Incoming stimulus (bottom-up input).
- :
leak_rate(passive decay of membrane potential). - : Hierarchical resonance factor (top-down modulation).
- : Firing threshold.
State Evolution:
The forward pass is the hard indicator. The backward pass uses a sigmoid with slope sharpness (straight-through estimator).
2. Homeostatic Activity Scaling
Synaptic scaling mechanism to maintain firing rates in optimal ranges.
The gain is regulated by the deviation from the target activity :
Parameters:
- :
adaptation_rate(speed of homeostatic correction). - : Target firing rate (e.g., 0.12).
- : Moving average of historical activity.
- : Smoothing factor for activity tracking.
Activity Update:
3. Adaptive Softplus (Biological Approximation)
A smooth, differentiable activation for biological firing rate mimicry.
Core Formula:
Benefits:
- Sparsity: Naturally suppresses low-intensity noise.
- Optimization: Provides non-zero gradients even in the 'off' state.
- Flexibility: Sharpness can be tuned for different semantic granularities.
4. Inference-Time State Evolution
Neuromimetic activations shift from static mappings to dynamic state transitions.
ARCANE activations are stateful and contextual:
Key Differences:
- Memory: Standard activations are stateless ().
- Adaptation: ARCANE activations can update their feature-wise state across calls.
- Resonance: Responses are modulated by global semantic alignment.
Implemented State Behavior
Temporal Coherence
Maintains feature-wise state across calls and integrates a decayed contribution from the previous value.
Active Thresholding
Emits a hard forward spike above the configured threshold while using a surrogate gradient during training.
Structural Stability
Adjusts gain toward a target activity within fixed bounds. Entropy and task stability remain empirical measurements.