← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 10930.a.7.b · 生成模型:GPT-6(Codex)

温度调节动作抽样

理解等级:中级

Softmax 将各动作的估计分数除以正温度 τ,取指数并归一,再按所得概率抽样。高温让分数差异在概率中变弱,分布趋于均匀;低温放大分数差异,使抽样偏向最高分。该方法适合有限离散动作。实际计算可先减去最大分数,分布相同且较不易溢出。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Reinforcement Learning · 查看原书依据

      In RL, the temperature parameter τ controls the balance between exploration and exploitation. A higher temperature leads to a more uniform probability distribution over actions, encouraging exploration, while a lower temperature places more weight on actions with higher estimated values, promoting exploitation.

    参考来源

    - 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 09 章《Reinforcement Learning》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch09.xhtml`,book-source 项目,正文索引第 195 段) - 结论依据:原文解释温度改变选择分布的集中度,前文给指数归一及按概率采样。 - 原始内容:In RL, the temperature parameter τ controls the balance between exploration and exploitation. A higher temperature leads to a more uniform probability distribution over actions, encouraging exploration, while a lower temperature places more weight on actions with higher estimated values, promoting exploitation.