AI engineering glossary · Reinforcement learning

What is importance sampling ratio?

Importance sampling ratio: The ratio between the probability that the target decision rule and the data-collecting rule would each choose an action. Multiplying returns by it corrects for the mismatch when learning from experience gathered by another rule. Formula: rho = pi(a given s) / b(a given s).

Level: advancedTopic: Reinforcement learning

Importance sampling ratio: an example

If the new rule picks an action with probability 0.6 and the old one with 0.2, that sample is weighted 3.

Related terms

More Reinforcement learning terms

Where you learn it

Importance sampling ratio is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.