SGD:用一筆估計全體SGD estimates the full gradient
每一步比較便宜,但方向會帶抽樣噪聲。 / Each step costs less but uses a noisy direction.
平均損失Mean objective
統一採平均形式,避免總和與平均混用。 / Use the mean consistently.
單樣本更新Single-sample update
均勻抽 i 後,以該筆梯度更新。 / Sample an index uniformly.
期望方向Unbiased direction
在當前參數固定、均勻抽樣下,期望是全梯度。 / Unbiasedness is conditional on current weights.