-
Notifications
You must be signed in to change notification settings - Fork 0
Glossary
Raul Montoya Cardenas edited this page Jul 29, 2026
·
2 revisions
Codebase-specific terms for LiquidCortex.jl onboarding. Pointers refer to main layout.
| Term | Definition | Code pointer |
|---|---|---|
| LSM | Liquid State Machine — recurrent reservoir + readout | package overview |
| SparseBrain | 65,536-neuron sparse CUDA lobe with OU-SDE LIF dynamics | src/sparse_brain.jl |
| EnsembleBrain | Four SparseBrain lobes with fixed aggregation weights | src/sparse_brain.jl |
| Reference LSM | 2,048 dense tanh reservoir for prototyping | src/reference_lsm.jl |
| OU-SDE | Ornstein–Uhlenbeck stochastic differential equation for membrane noise |
SIGMA, noise term in _step_impl!
|
| LIF | Leaky integrate-and-fire style spike / reset / refrac |
V, S, refrac
|
τ_m / tau_m |
Membrane time constant (ms); per-lobe in ensemble |
LOBE_TAUS, constructor arg |
| cuSPARSE | CUDA sparse mat-vec for W * S in Float16 |
CuSparseMatrixCSC |
| Float16 weights | Recurrent sparse values stored as F16 to fit VRAM |
W field |
| Echo-state scaling | Init scales sparse W toward spectral radius ≈ 0.9 | constructor scale_factor |
| Xavier / Glorot | Variance scaling for W_in / W_out init |
constructor |
| Global inhibition | Caller scalar raises v_thresh_dynamic
|
INHIBITION_GAIN, MAX_INHIBITION
|
| Reflex gating | ` | reflex_signal |
| Flash-learning | Informal name for the 5× Fast-lobe rate boost | ensemble path |
| STDP / covariance learning | Trace-based plasticity framing; implemented Hebb on W_out
|
traces + 10-tick update |
| Eligibility trace | Decaying pre/post spike memory |
trace_pre, trace_post
|
| History buffer | Circular HIST_DEPTH × N spike log |
history, hist_idx, hist_full
|
| COV_SUBSAMPLE | 8192 neurons for tractable covariance | compute_reservoir_covariance! |
_cuda_available |
Ref{Bool} set in __init__ from CUDA.functional()
|
src/LiquidCortex.jl |
cpu_randn_cu |
Host Gaussian sample + upload (CUDA RNG workaround) | sparse_brain.jl |
n_in / n_out |
Configurable input/output dimensions | constructors |
| MarketPulse (removed) | Former domain pulse type; not exported after PR #12 | tests assert absence |
| Sentry capture | Non-blocking exception report when DSN set | _capture_runtime_exception |
| Lobe weights | 0.4 / 0.3 / 0.2 / 0.1 Fast→Integrator | LOBE_WEIGHTS |
| Name | Value |
|---|---|
N |
65_536 |
CONN_PROB |
0.01 |
HIST_DEPTH |
1000 |
ETA |
0.001 |
Default SparseBrain n_in / n_out
|
14 / 16 |
Reference REF_N
|
2048 |
Last updated: July 28, 2026
Updated by: Grok Build: Grok 4.5
Package tip reference: 4e2698c (main)