b1<b2 par do steps lo aur ghataao:
bump(x)=σ(w(x−b1))−σ(w(x−b2)).Yeh step kyun? Pehla step b1 par "on" hota hai; doosra b2 par "on" hota hai. Ghataane ka matlab hai hum sirf b1<x<b2 ke liye on hain (value ≈1), baaki jagah off — ek rectangular bump jisme width b2−b1 hai.
Domain ko kai chote intervals mein divide karo. Interval k par height hk ka bump rakho:
F(x)=∑khk[σ(w(x−bk))−σ(w(x−bk+1))].Yeh step kyun? Yeh exactly f ka ek staircase / histogram approximation hai. hk=f(interval k ka midpoint) set karo.
Kyunki f ek compact set par continuous hai, woh uniformly continuous hai: interval width ghataao aur har step ki height error ε se neeche aa jaati hai. w bada karne se har step sharp ho jaata hai. Toh staircase uniformlyf ki taraf converge karta hai. ■ (intuitive version)
Universal Approximation Theorem kya guarantee karta hai?
Ek single-hidden-layer network jisme enough neurons hon, kisi bhi continuous function ko ek compact set par arbitrary accuracy ε tak uniformly approximate kar sakta hai.
Theorem ek ___ result hai, efficiency result nahi.
existence.
Kaun se activations shallow net ko universal banate hain (Leshno)?
Do sharp sigmoid steps ghataao: σ(w(x−b1))−σ(w(x−b2)).
ReLU(x) - ReLU(x-δ) actually kya produce karta hai?
Ek ramp jo [0,δ] par rise karta hai aur height δ par plateau karta hai — localized bump NAHI; ek sahi bump ke liye aur ReLU units chahiye.
Proof mein compactness kyun matter karta hai?
Yeh uniform continuity deta hai, toh bumps ka itna fine staircase har jagah ε ke andar rehta hai.
1-D mein M bumps ke liye neurons (sigmoids)?
N=2M (do sigmoids per bump).
Agar ek layer universal hai toh phir bhi deep networks kyun use karte hain?
Depth wahi functions exponentially kam neurons se achieve karta hai aur train karna aasaan hota hai; akeli width blast ho sakti hai.
Kya theorem acchi generalization ka promise karta hai?
Nahi — sirf ideal weights diye hue domain par fitting; generalization alag hai.
Ek example do jahan theorem apply NAHI hoti.
1/x on (0,1] — domain compact nahi aur function unbounded hai.
Recall Feynman: 12-saal ke bacche ko samjhao
Socho tum koi bhi wiggly line draw karna chahte ho. Tumhare paas ek stamp hai jo ek chhota rectangular block banata hai. Agar tum bahut saare blocks alag-alag heights ke saath side-by-side stack karo, tum koi bhi shape trace kar sakte ho, jaise Lego steps ek curve banate hain. Ek neuron ek "on/off" edge banata hai; do neurons ek block banate hain; bahut saare neurons bahut saare blocks banate hain. Toh enough blocks se tum koi bhi smooth line copy kar sakte ho. Catch yeh hai: kabhi-kabhi tumhe blocks ka bahut bada pile chahiye hoga — isi liye real networks layers stack karte hain taaki smart rahein, instead of millions of blocks pile karne ke.