ДалееСледующее руководство
Оптимизация групповой относительной политики
Технический
РУКОВОДСТВО ПО ЯЗЫКУ ИИ
Proximal Policy Optimization is a policy-gradient method that limits policy updates using a clipped surrogate objective.
Прослушайте это руководствоОзвучено ИИ · ~2 min
In language-model RLHF, reward and KL terms are part of a larger training setup.
PPO uses a probability ratio between the new and old policies and clips it around a specified range in the surrogate objective. In RLHF implementations, reward models, KL penalties, and a value function may be included. A value estimate supports advantage calculation; it is not itself the reward. Implementations differ, so details should be scoped to a method or system. PPO clipping limits the surrogate objective’s incentive for ratios outside a clipping interval; it does not guarantee bounded parameter updates. In standard on-policy PPO, recent trajectories come from the policy being optimized. DeepSeekMath introduced GRPO, which estimates relative advantages among groups of sampled outputs without a separate value critic; this is a method description, not a guarantee of zero drift.
Collect responses from the current policy for a batch of prompts.
Score responses with a learned reward model or task signal.
Track KL divergence from a reference policy during updates.
Compare PPO runs with a fixed evaluation and rollout budget.
PPO remains a general RL method with implementation tradeoffs. Evaluate compute, rollout quality, and policy behavior under the actual training configuration.
Бесплатная рассылка
Три проверенных AI-истории каждое утро буднего дня, написанные простым английским. Бесплатно навсегда, без рекламы.
Одно электронное письмо каждый будний день. Отписаться в один клик. Мы никогда не продаем и не передаем ваш адрес.
Проверьте себя
Мгновенная обратная связь по каждому ответу и общий сертификат с проверяемым идентификатором после прохождения курса.
Поддержите бесплатное образование в области искусственного интеллекта. AI Understanding — это некоммерческая организация 501(c)(3). Никакой рекламы и платного доступа. Сделать пожертвование
Proximal Policy Optimization is a policy-gradient method that limits policy updates using a clipped surrogate objective. In language-model RLHF, reward and KL terms are part of a larger training setup.
PPO clipping limits the policy-ratio incentive in its surrogate objective when the ratio moves outside the clipping interval. It discourages large policy changes in that objective, but does not mathematically guarantee bounded parameter updates.
Модель вознаграждения обеспечивает скалярное вознаграждение за сгенерированные ответы, поскольку было бы невозможно заставить людей оценивать каждый результат во время RL.
Штраф KL для каждого токена по сравнению с исходной (эталонной) политикой не позволяет модели слишком резко менять свое поведение в погоне за вознаграждением.
PPO — метод актера-критика; сеть создания ценности оценивает ожидаемое вознаграждение, позволяя оценить преимущества (часто через GAE), которые уменьшают дисперсию.
Преимущество измеряет, насколько лучше (или хуже) выбранное действие было по сравнению с оценкой ценности, указывая политике, какие действия следует усилить.
Продолжайте учиться
Другие руководства, выбранные по этой теме
ДалееСледующее руководство
Оптимизация групповой относительной политики
Технический