WhoBuilt

From RL to IRL

Aug 14, 2026· 18 min· 2.7K views·Watch on YouTube

Speaker

Gaurav Mishra, a researcher at Amazon AGI Lab and former Google and Google DeepMind researcher, explains how to adapt reinforcement learning for computer-use agents operating in real applications at an AI Engineer talk.

Where reinforcement learning works

Mishra says RL is useful when tasks are easy to generate, demonstrations are hard to collect, and multiple valid solutions can be checked by their outcomes. He names coding as a strong fit because solutions are verifiable and the reasoning process can vary. Effective training also depends on tasks that target the right skills and sit within a useful difficulty range, plus safe execution environments and verifiers such as tests or compilers.

What goes wrong in real interfaces

Mishra argues coding agents could handle email, chats, receipts, and web research through APIs and browser tools, but real applications introduce risks. In two browser examples, an agent guessed an expired password until the account was blocked, then another clicked a sponsored button and began entering personal details on a different site. He identifies partial observations, irreversible actions, unpredictable behavior, expired credentials, ambiguous success, and adversarial content as key challenges.

Train for recovery and risk

Mishra says computer-use agents need realistic simulated environments that include slow loads, pop-ups, layout changes, missing labels, and stale tabs. Agents should learn to recover from errors using actions such as waiting, refreshing, backtracking, abandoning a task, or escalating to a user. Training should also penalize dangerous steps during a trajectory, calibrate when to ask for help, and include adversarial tasks.

Build perception and harness safeguards

Mishra says coding ability alone is insufficient: agents also need to ground screen elements, understand their purpose, detect changes, and combine incomplete visual and DOM observations. The harness connects the model to tools and can add checkpointing, rollback, action risk classification, credential checks, execution monitoring, audit logs, and human handoff. These controls address real-world conditions where states are partial, actions costly, success unclear, and failures persistent.

Close the loop with real use

In a later training example, the agent distinguishes a sponsored Submit button from the correct one, then hands control to a user simulator when it reaches an expired-credentials screen. After sign-in, it resumes the expense task with the amount preserved. Mishra says teams should deploy with design partners, learn from failures, and strengthen the harness early so mistakes are captured without harming users; as the model improves, the harness can become thinner.

Takeaways

  • Use RL when you can generate tasks and verify outcomes more easily than you can collect demonstrations.
  • Treat expired sessions, misleading UI elements, and partial observations as core training cases.
  • Score risky actions throughout a task, not only whether the final outcome was correct.
  • Give agents explicit recovery options and a clear path to hand off to a person.
  • Use real deployments to discover failure modes, with safeguards that limit harm while you learn.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • previously at
    Gaurav Mishra previously at Google
    “I spent more than 10 years at Google”
    YouTube
    Unverified3 sources· Talk, Web· archived
  • works at
    Researcher
    “I'm a researcher at Amazon AGI Lab.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    high-fidelity digital sandboxes: Model interface messiness such as layout shifts, slow loads, missing labels, pop-ups, and stale tabs
    “train with all the messiness: layout shifts, slow loads, missing labels, pop-ups”
    YouTube
    Unverified1 source· Talk
  • feature
    agent harness: Manages context, tools, tool execution, and guardrails between the model and the world
    “Context management, the tools available to the model, tool execution—everything is handled by the harness.”
    YouTube
    Unverified1 source· Talk
  • feature
    agent harness: Supports checkpointing and rollback when possible
    “we've built into our harness are checkpointing and rollback when possible”
    YouTube
    Unverified1 source· Talk
  • feature
    agent harness: Can force control back to the user when confidence calibration is incorrect
    “the harness can override the model and force it to give control back to the user”
    YouTube
    Unverified1 source· Talk

Related talks