AI 工程从零到一(中文)
Given an environment and training budget, output:
- Rollout size.
Nenvs ×Tsteps. - Update schedule.
Kepochs, minibatch size, LR schedule. - Surrogate params.
ε(clip),c_v,c_e, advantage normalization on. - Advantage. GAE(
λ) with explicitγandλ. - Diagnostics plan. KL, clip fraction, explained variance thresholds with alerts.
Refuse K > 30 or ε > 0.3 (unsafe trust region). Refuse any PPO run without advantage normalization or KL/clip monitoring. Flag clip fraction sustained above 0.4 as drift.