saijuluri (@julurisc) header
saijuluri (@julurisc) profile picture

Building Medical Robots | prev autonomous driving @Hyundai

San Francisco, CA
Joined March 2018
Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)Photo by saijuluri (@julurisc)
Day 3 of #60DaysOfRL: Why a 99% accurate policy still crashes 🧵 Yesterday: behavior cloning = supervised learning on expert demos. So train it to 99% accuracy and you're done? No. On a 100-step task, 1% error per step gives only a 37% chance of a clean run (0.99¹⁰⁰ ≈ 0.37). And the real picture is worse, because in imitation learning errors are not independent. One mistake makes the next one more likely. This is the compounding error problem. It is why imitation learning is its own field and not just "supervised learning on actions".
Day 2 of #60DaysOfRL: Imitation learning 🧵 Yesterday: a policy maps states → actions. Today: the simplest way to train one. No rewards at all. Just copy an expert.
1
18
For LLM folks: you already know this problem. It is called exposure bias. Training (teacher forcing): the model always continues a clean, human-written prefix. Generation: it continues its own tokens. One odd token gives a prefix unlike the training data, which makes the next token odder. Same structure: trained on the expert's distribution, tested on its own. A big reason LLMs cope: they train on so much text that almost any prefix looks familiar. A robot has a few hundred or a few thousand demos, not the internet. So robotics had to face this problem directly.
1
6
So what do we do? The lecture gives two options: 1. Collect a lot of demos and hope they cover the states the policy drifts into. This is the LLM route. 2. Collect corrective data: show the policy what to do in the exact states where it goes wrong. Option 2 needs far less data, and it has a name: DAgger. Run the policy, have the expert label the states it actually visits, retrain, repeat. In theory it brings the worst case back from O(ε·T²) to O(ε·T). That is tomorrow. Takeaway: behavior cloning is trained on the expert's states but tested on its own. That gap is the whole problem. Slides: Stanford CS224R by @chelseabfinn #ReinforcementLearning
8
Mood right now.. just building stuff
1
2
51
Got a guest pass at @fdotinc . Excited for my journey here and looking forward for meeting lot of founders, build, expand, learn from them and also help each other.
8
260
Day 2 of #60DaysOfRL: Imitation learning 🧵 Yesterday: a policy maps states → actions. Today: the simplest way to train one. No rewards at all. Just copy an expert.
Day 1 of #60DaysOfRL: What is a policy? If you know neural nets and LLMs, you're closer to RL than you think. A policy π is just a neural network (MLP, CNN, transformer…) that takes in the current state and outputs an action, or a probability distribution over actions. 🧵
1
1
38
Behavior cloning (BC): 1. An expert (a human driver, a robot operator) does the task 2. Record (observation, action) pairs 3. Train the policy with supervised learning: given o, predict the expert's a It's exactly SFT for LLMs: given a prompt, predict the human-written answer.
1
11
Why start here? • Fully offline: no robot crashing around while it learns • No reward function to design • Just a dataset + supervised learning But copying has a catch. #ReinforcementLearning
4
Day 1 of #60DaysOfRL: What is a policy? If you know neural nets and LLMs, you're closer to RL than you think. A policy π is just a neural network (MLP, CNN, transformer…) that takes in the current state and outputs an action, or a probability distribution over actions. 🧵
🚀 60 Days of Reinforcement Learning! I’m learning Reinforcement Learning from Stanford’s @chelseabfinn, and I’m turning it into a 60-day challenge! Every day, I’ll break down ONE concept into a simple, easy-to-understand explanation. No complicated jargon, just learning made simple which can be used for learning about robotics aswell. 60 days. 60 concepts. 🤖 Follow along and let’s learn RL together and apply into robotics! #ai #rl #robotics
1
1
40
Why this isn't just supervised learning: • No label says what the "right" action was at each step, only a reward, and it's often delayed (in chess you only find out at the end if you won) • Your actions change what you see next, so the training data depends on the policy itself LLM folks, this should feel familiar. Text generation is already this loop: prompt + tokens so far = state, next token = action. In RLHF, the reward usually comes only after the whole response is written. Same delayed-reward problem.
1
3
The closest bridge from supervised learning: imitation learning (behavior cloning). Collect (observation, action) pairs from an expert, like a human driver, and train the policy to copy them. Plain supervised learning, just like SFT for LLMs. #ReinforcementLearning
9
🚀 60 Days of Reinforcement Learning! I’m learning Reinforcement Learning from Stanford’s @chelseabfinn, and I’m turning it into a 60-day challenge! Every day, I’ll break down ONE concept into a simple, easy-to-understand explanation. No complicated jargon, just learning made simple which can be used for learning about robotics aswell. 60 days. 60 concepts. 🤖 Follow along and let’s learn RL together and apply into robotics! #ai #rl #robotics
1
34