Yeh matter kyun karta hai? RL mein, ek agent ko interaction ke through seekhna hota hai. Supervised learning ke unlike jahan saara training data pehle se diya hota hai, ek RL agent ko khud apna training data gather karna padta hai actions lekar. Actions ka sequence decide karta hai ki agent kya seekhta hai.
Socho tumhare paas 10hainekfairmeinbahutsaaregameboothskesaathkhelnekeliye.Tumpehlagamekhelke3 jeette ho—kaafi accha! Ab tumhare paas ek choice hai:
Exploitation: Wahi game khelते raho. Tum jaante ho yeh $3 deta hai, toh zaroor paise banoge. Safe aur steady.
Exploration: Koi aur game try karo. Ho sakta hai yeh 5de(awesome!),yasirf1 (oops). Risky hai, lekin ho sakta hai kuch better mile.
Agar tum SIRF pehle game pe tike raho (exploit), toh har baar 3milega...lekinkyahogaagarpaasmeinhiekgamehojo5 deta hai? Tumhe kabhi pata nahi chalega!
Agar tum HАR game randomly try karo (explore), toh best wala dhoondh loge... lekin dhundte dhundte bahut saara paisa kharaab games pe waste hoga.
Smart strategy: Kuch alag games try karo pata lagane ke liye ki kaun se acche hain. Jab best game mil jaaye, zyaadatar time wahi khelo, lekin kabhi kabhi doosre bhi try karo bas yeh check karne ke liye ki kuch change toh nahi hua ya kuch miss toh nahi kiya.
Yahi computers karte hain jab woh video games khelna seekhte hain! Woh alag alag moves try karte hain (explore) yeh seekhne ke liye ki kya kaam karta hai, phir mostly best moves use karte hain jo unhe mile (exploit), lekin kabhi kabhi kuch naya try karte hain bas yeh check karne ke liye.
Exploration-exploitation tradeoff reinforcement learning ka fundamental challenge hai: current knowledge use karna (exploitation) aur nayi information gather karna (exploration) balance karna. Pure exploitation suboptimal actions pe stuck kar deta hai; pure exploration bad actions pe reward waste karta hai. Optimal strategies jaise epsilon-greedy, UCB, aur Thompson sampling dono ko balance karte hain is tarah:
Jab uncertain ho toh zyada explore karo (early mein ya under-sampled actions ke liye)
Jab confident ho toh zyada exploit karo (sufficient data ke baad)
Exploration ko time ke saath decay karo (jaise estimates improve hoti hain)
Yeh tradeoff regret analysis mein rigorous mathematical foundations rakhta hai, jahan optimal algorithms O(logT) regret achieve karte hain vs. naive approaches ke O(T).
#flashcards/ai-ml
RL mein exploitation kya hai? :: Current knowledge/estimates ke basis pe reward maximize karne wale actions choose karna
RL mein exploration kya hai? :: Environment ke baare mein nayi information gain karne ke liye uncertain outcomes wale actions try karna
Agar ek RL agent sirf exploit kare toh kya hota hai?
Suboptimal actions pe stuck ho jaata hai kyunki early estimates galat ho sakti hain; regret linearly badhta hai O(T)
Agar ek RL agent sirf explore kare toh kya hota hai?
Accurate value estimates seekhta hai lekin knowledge kabhi use nahi karta; regret phir bhi linearly badhta hai O(T)
Multi-armed bandit problem mein regret kya hai?
Optimal action ke reward aur agent ke actual reward ke beech ka cumulative difference: Regret(T) = T·μ* - Σ E[r_t]
Epsilon-greedy policy kya hai?
Probability ε se, ek random action choose karo (explore); probability 1-ε se, greedy action choose karo (exploit)
Epsilon-greedy mein epsilon ko time ke saath decay kyun karte hain?
Learning ke shuru mein, high exploration acche actions discover karne mein help karta hai; baad mein, lower exploration known-bad actions pe experience waste karne se bachata hai
UCB (Upper Confidence Bound) formula kya hai?
a_t = argmax_a [Q_t(a) + c·sqrt(ln(t)/N_t(a))], woh actions select karta hai jinka estimated value high ho YA uncertainty high ho
Bonus under-sampled actions ke liye bada hota hai (chhota N_t(a)) aur zyada data ke saath shrink karta hai; ln(t) time ke saath confidence threshold badhata hai
Thompson Sampling kya hai?
Har action ke reward ke upar ek probability distribution maintain karo, har distribution se sample karo, highest sample wala action pick karo
Thompson Sampling ki key insight kya hai?
Ek action pick karne ki probability us action ke optimal hone ki probability ke barabar hoti hai, naturally exploration aur exploitation balance karta hai
Ek chicken-egg problem create karta hai: accurate estimates ke liye actions explore karne chahiye, lekin greedy un actions ko try karna band kar deta hai jo thoda worse lagte hain early mein
Exploration mein information ki value kya hai?
Exploration se gain ki gayi information better future decisions enable karti hai, isliye explore karo jab expected future gain immediate reward loss se zyada ho
Curiosity-driven exploration kya hai?
Agents ko novel ya surprising states visit karne ke liye intrinsic reward bonuses dena, sparse-reward environments mein help karta hai
Optimal exploration strategies kaun sa regret bound achieve kar sakti hain?
O(log T) regret, jo sublinear hai—naive strategies ke linear O(T) regret se bahut dheere badhta hai