6.5.14 · HinglishAdvanced & Emerging Architectures

Neuromorphic computing

2,268 words10 min readRead in English

6.5.14 · Hardware › Advanced & Emerging Architectures


Neuromorphic computing KYUN exist karta hai?

Neuromorphic hardware in teeno tricks ko silicon mein copy karta hai.


YE PRECISELY KYA HAI?

Key contrasts

Feature von Neumann (CPU/GPU) Neuromorphic
Memory & compute Alag, beech mein bus Co-located
Activity Clocked, hamesha on Event-driven (sparse)
Data Dense floats Sparse spikes
Encoding Register mein value Timing / rate of spikes
Energy High (data movement) Bahut low

EK NEURON COMPUTE KAISE KARTA HAI? — LIF model scratch se derive karo

Workhorse hai Leaky Integrate-and-Fire (LIF) neuron. Ise physics se banate hain, memorize nahi karte.

Figure — Neuromorphic computing

SYNAPSES KAISE SEEKHTE HAIN? — STDP first principles se


Worked examples


Common mistakes (Steel-manned)


Chips (20% worth knowing)

  • IBM TrueNorth — 1M neurons, 256M synapses, ~70 mW; fully digital, event-driven.
  • Intel Loihi / Loihi 2 — on-chip learning (programmable STDP), asynchronous cores.
  • SpiNNaker (Manchester) — kaafi saare ARM cores jo AER messaging ke saath spikes simulate karte hain.
  • Memristor crossbars — multiply-accumulate analog mein, in-memory karte hain (Ohm's law multiply karta hai, Kirchhoff's law sum karta hai). Ye co-located memory+compute ka physical embodiment hai.

Flashcards

Neuromorphic computing kaunsa bottleneck attack karta hai?
Von Neumann bottleneck — energy/time waste hoti hai data ko alag memory aur compute ke beech move karne mein.
Teen brain tricks ke naam batao jo neuromorphic hardware copy karta hai.
Co-located memory+compute, event-driven sparsity, massive parallelism.
Human brain mein roughly kitne neurons aur synapses hain?
~ neurons aur ~ synapses (lagbhag 100–150 trillion).
LIF membrane equation likho.
, jahan .
LIF neuron ko "leaky" KYUN kehte hain?
Bina input ke, to exponentially decay karta hai — neuron past input bhool jaata hai.
Constant current ke under time-to-first-spike ka formula.
.
LIF neuron kabhi fire kab nahi karta?
Jab steady-state voltage ho (log argument non-positive).
STDP kya hai?
Spike-Timing-Dependent Plasticity: synapse strengthen hota hai agar pre post se pehle fire kare, weaken hota hai agar baad mein; magnitude ke saath exponentially decay karti hai.
Sign convention: ka matlab?
Pre before post → potentiation (weight badhta hai).
AER ka full form kya hai aur ye kya karta hai?
Address-Event Representation: encode karta hai kaun sa neuron spike kiya aur kab, taaki sirf active events transmit hon. Ye ek common lekin universal neuromorphic protocol nahi hai.
Spike train mein kya encode hota hai (ML neuron ke comparison mein)?
Information time ke saath discrete spikes ki timing/rate mein hoti hai, na ki ek single continuous value mein.
Memristor crossbars in-memory MAC kaise compute karte hain?
Ohm's law current = conductance×voltage deta hai (multiply); Kirchhoff ek wire par currents sum karta hai (accumulate).
Do neuromorphic chips ke naam batao aur ek distinguishing feature.
IBM TrueNorth (~70 mW, digital, event-driven); Intel Loihi (on-chip programmable STDP learning).

Recall Feynman: 12-saal ke bachche ko explain karo

Imagine karo ek class jahan bachche sirf tab haath uthate hain ("spike") jab unke paas sach mein kuch kehna hota hai, aur baaki time chup rehte hain — isse sabki energy bachti hai. Har bachcha dheere dheere "excitement se bharta hai" jab doost unhe whisper karte hain, aur jab kaafi bhar jaata hai, to chillata hai, phir shant ho jaata hai. Doost jo shout se thoda pehle whisper karte hain woh closer friends ban jaate hain (unka whisper zyaada matter karta tha). Ek normal computer mein har bachcha har clock tick par chillata hai aur saari answers ko teacher ke paas room ke us paar le jaata hai — bahut thhaka dene wala. Neuromorphic chips woh quiet, sirf-jab-zaroorat-ho classroom hai, aur isliye ye brain ki tarah power sip karte hain.


Connections

  • Von Neumann architecture — woh bottleneck jo neuromorphic escape karta hai.
  • Memristors and ReRAM — analog in-memory synapses.
  • Spiking Neural Networks (SNN) — woh computational model jo hardware par run hota hai.
  • GPU vs Neuromorphic accelerators — dense vs event-driven compute.
  • RC circuits — LIF membrane ke peechhe ki physics.
  • Hebbian learning — STDP ki biological root.
  • In-memory computing — storage aur compute ko co-locate karne ka broader trend.

Concept Map

data movement wastes energy

inspires

motivates

co-located memory + compute

event-driven sparse

massive parallelism

implements

built from

stores locally

communicates via

modeled as

derived from

fires when V crosses Vth

von Neumann bottleneck

Efficiency problem

Brain ~20 watts

Neuromorphic computing

Spiking Neural Networks

Spiking neuron

Synaptic weights

Address-Event Representation

Leaky Integrate-and-Fire

RC circuit

Spike + reset