<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Rlhf on k4i's blog</title><link>https://k4i.top/zh/tags/rlhf/</link><description>Recent content in Rlhf on k4i's blog</description><generator>Hugo -- gohugo.io</generator><language>zh</language><managingEditor>sky_io@outlook.com (K4i)</managingEditor><webMaster>sky_io@outlook.com (K4i)</webMaster><copyright>All content is subject to the license of &lt;a rel="license noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank"&gt;CC BY-NC-SA 4.0&lt;/a&gt; .</copyright><lastBuildDate>Tue, 07 Jul 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://k4i.top/zh/tags/rlhf/index.xml" rel="self" type="application/rss+xml"/><item><title>KL Divergence 为什么不是距离：方向一换，问题就变了</title><link>https://k4i.top/zh/posts/kl-divergence-not-a-distance/</link><pubDate>Tue, 07 Jul 2026 10:00:00 +0800</pubDate><author>sky_io@outlook.com (K4i)</author><atom:modified>Tue, 07 Jul 2026 10:00:00 +0800</atom:modified><guid>https://k4i.top/zh/posts/kl-divergence-not-a-distance/</guid><description>&lt;p&gt;KL divergence 最容易被误读成“两个分布之间的距离”。这个说法有一半对：它确实在比较两个分布；但另一半很危险：&lt;strong&gt;KL 不是距离，因为方向有意义。&lt;/strong&gt; 更准确地说，KL 虽然满足非负性，而且只有 \(P=Q\) 时才为 0，却不满足 metric 要求的对称性和三角不等式。&lt;/p&gt;</description><dc:creator>K4i</dc:creator><media:content url="https://k4i.top//images/icons/math-operators.png" medium="image"><media:title type="html">featured image</media:title></media:content><category>deep-learning</category><category>kl-divergence</category><category>cross-entropy</category><category>rlhf</category><category>information-theory</category><category>AI</category></item></channel></rss>