The KL Divergence Is Not a Distance, but Its Second Derivative Is a Metric ── The Asymmetry Is Not a Defect but a Division of Labour: Every f-Divergence Collapses onto the Same Metric ── [Paper 137]
Year: 2026
Type: preprint
Abstract: The KL divergence is not a distance, but its second derivative is a metric. The Kullback-Leibler divergence, the relative entropy, is described as a measure of how far apart two distributions are. This paper writes that it is not a distance, that it nevertheless is one infinitesimally, and that its asymmetry is doing work. NO NEW MATHEMATICAL THEOREM AND NO NEW PHYSICAL LAW IS CLAIMED. Kullback-Leibler (1951), Csiszar's f-divergences, Chentsov's theorem and the difference between forward and reverse KL in variational inference are all standard. First, it is not a distance. For the three-point distributions (0.5, 0.3, 0.2) and (0.2, 0.5, 0.3) one direction gives 0.223805 and the other 0.193794, so the same two distributions give different values when the order is reversed. Inserting (0.34, 0.33, 0.33) in between, 0.223805 exceeds the sum 0.064083 plus 0.074746, that is 0.138829, so the triangle inequality does not hold. Over two hundred thousand random triples it failed in 50826 cases, that is 25.4 per cent. It is nevertheless non-negative and vanishes only when the two distributions coincide, so whether they are the same can be told. What cannot be told is a consistent ordering of which is further from which. One word, distance, contains two demands, deciding identity and closing a triangle, and KL meets only the first. Second, one of the two cores. Its second derivative is a metric. Shifting only the mean in a Gaussian family gives, in closed form, the square of the shift divided by twice the variance. The Fisher metric of Paper 133 has the mean component equal to the reciprocal of the variance, so the difference from half the metric times the square of the shift is zero, an exact agreement rather than an approximation. Shifting only the width, both the value and the first derivative vanish, and the second derivative is exactly two over the variance, that is, the width component of the Fisher metric. And the third-order term matters. In the width expansion its coefficient is minus five thirds, and it changes sign with the shift. Up to second order the divergence is symmetric; from third order it is not. That a thing can fail to be a distance globally while being one infinitesimally is exactly this term's doing. Paper 133 wrote that the Fisher metric is positive definite and unique in Chentsov's sense; this paper writes where that metric comes from, namely the second derivative of a divergence. Third, the other core. Every f-divergence collapses onto the same metric. Expanding the contribution from one outcome whose probability moves from a to a plus e, KL gives one over two a times e squared, reverse KL the same, chi-squared gives one over a times e squared, and squared Hellinger one over four a times e squared. All four are the same quadratic form up to a constant. Four quantities that differ entirely at global scale collapse onto the same form infinitesimally, and that is why the statement that the invariant metric is the Fisher metric and no other (Chentsov, Paper 133) can hold at all. Uniqueness is another way of saying that there was only ever one candidate. Put the other way, the quadratic coefficient does not tell which divergence one is looking at, so the reason to prefer one lies entirely outside second order. Fourth, the asymmetry is not a defect but a division of labour. Taking an equal mixture of Gaussians at minus three and plus six, each of width one, as the target, it was approximated by a single Gaussian. Minimising the forward divergence, from target to model, gives mean 1.50 and width 4.60: it stands at the midpoint of the two modes and spreads to cover them. Minimising the reverse divergence, from model to target, gives mean minus 3.00 and width 1.00: it sits exactly on one mode. The reason lies in how the penalty falls. A heavy penalty falls where the first argument is large and the second small, so in the forward direction the model is not allowed to vanish where the target lives, and it therefore covers; in the reverse direction the model is not allowed to live where the target vanishes, and it therefore dives into one mode. Reading the asymmetry as a defect to be repaired by symmetrisation is therefore a mistake. The two directions answer different questions, and which to use is decided by what one wants; symmetrising erases the distinction. As Paper 95 said, being a convention is not the same as being a free choice. Fifth, in thermodynamics it is the excess free energy. Writing the equilibrium distribution as the Boltzmann distribution and the equilibrium free energy through the logarithm of the partition function, for any distribution the expected energy minus the entropy term exceeds the equilibrium free energy by exactly the Boltzmann constant times the temperature times the relative entropy. So the excess free energy of a non-equilibrium distribution is its relative entropy to equilibrium. Non-negativity states that the free energy cannot fall below its equilibrium value, and that the relative entropy decreases under relaxation is one way of stating the second law (Papers 88, 136). This brings up units. Information and free energy are the same quantity in different units: whether to multiply by the Boltzmann constant times the temperature, and whether the logarithm is base two or base e, are both conventions (Paper 131). What is not a convention is the single fact of non-negativity. IMPORTANT (scope): a census of established standard material (Layer 2). Every work cited is standard. What is not claimed: any new mathematical theorem (there is none) / any new physical law (there is none) / that the KL divergence is in error (it is not) / that the asymmetry ought to be symmetrised away (it ought not; the distinction would be erased). What is added: counting the failures of the triangle inequality, showing in closed form that the second derivative is the Fisher metric, setting the quadratic coefficients of four divergences side by side, and demonstrating the asymmetry as a division of labour. What remains: the word apartness lumps together what can be measured and what cannot; shrink to the infinitesimal and every divergence becomes the same single metric, and the differences live only where the shrinking stopped. On the making of this work: The ideas and content of this work stem from the author's own considerations. Assistance from an AI (a large language model) was used for structuring, English translation, and checking the algebra. Any remaining errors or misinterpretations are solely the author's. Feedback and corrections are sincerely appreciated. ----- KL は距離ではない。だが、その二階微分は計量である。 カルバック=ライブラー・ダイバージェンス(相対エントロピー)は「二つの分布の隔たり」と説明される。本稿はそれが距離でないこと、それでも局所的には計量になること、そして非対称であることが働きであることを書く。新しい数学定理も新しい物理法則も主張しない。カルバック=ライブラー(1951)、チザールのf-ダイバージェンス、チェンツォフの定理、変分推論における順逆KLの違いは、いずれも標準的な内容である。 第一に、距離ではない。三点の確率分布 (0.5, 0.3, 0.2) と (0.2, 0.5, 0.3) について、一方向は 0.223805、逆方向は 0.193794 であり、同じ二つの分布について向きを変えると値が変わる。さらに (0.34, 0.33, 0.33) を挟むと、0.223805 が 0.064083 と 0.074746 の和 0.138829 を上回り、三角不等式が成り立たない。三点を無作為に 20 万組取ると、50826 組、すなわち 25.4 パーセントで破れた。ただし非負であり、二つが等しいときにだけゼロになるので、「同じかどうか」は測れる。測れないのは「どちらがどれだけ遠いか」の一貫した順序である。一語「距離」が、同一性の判定と三角形の成立という二つの要求を含んでおり、KL は前者だけを満たす。 第二に、これが本稿の芯の一つ。だが二階微分は計量である。正規分布族で平均だけを動かすと、閉じた形により、ずらし幅の二乗を二かける分散で割ったものになる。論文133 のフィッシャー計量は平均成分が分散の逆数だから、計量の半分かけるずらし幅の二乗と差はゼロ——近似ではなく厳密に一致する。幅だけを動かすと、値も一階微分もゼロになり、二階微分がちょうど二割る分散、すなわちフィッシャー計量の幅成分になる。そして三次の項がゼロでないことが重要である。幅をずらす場合の展開の三次の項は、係数がマイナス三分の五であり、ずらし幅の符号を変えると符号が変わる。二階までなら対称だが、三階から対称でなくなる。「大域では距離でないのに、無限小では距離である」という事態は、この項が作っている。論文133 はフィッシャー計量が正定値でありチェンツォフの意味で一意であることを書いたが、本稿はその計量がどこから来たかを書いている——ダイバージェンスの二階微分である。 第三に、これが本稿の芯のもう一つ。f-ダイバージェンスは全部同じ計量に潰れる。一つの事象の確率が a から a+e へずれたときの寄与を展開すると、KL は二 a 分の一かける e の二乗、逆KL も同じ、カイ二乗は a 分の一かける e の二乗、ヘリンガーの二乗は四 a 分の一かける e の二乗である。四つとも同じ二次形式の定数倍にすぎない。大域的にはまったく違う四つの量が、無限小では同じ形に潰れるのである。だからこそ「不変な計量はフィッシャー計量ただ一つ」(チェンツォフ・論文133)が成り立ちうる。一意性は、候補が最初から一つしかないことの言い換えである。逆に言えば、二次の係数を見てもどのダイバージェンスかは分からない。ダイバージェンスを選ぶ理由は、二次の外側にしかない。 第四に、非対称は欠陥ではなく分業である。平均が マイナス3 と プラス6、幅がともに 1 の正規分布の等混合を目標とし、単一の正規分布で近似した。順方向、すなわち目標から模型へのダイバージェンスを最小化すると、平均 1.50、幅 4.60 となり、二つの山の中点に立って両方を覆うように広がる。逆方向、すなわち模型から目標へのダイバージェンスを最小化すると、平均 マイナス3.00、幅 1.00 となり、片方の山にぴったり重なる。理由は罰の入り方にある。目標が大きく模型が小さい場所には大きな罰が入るので、順方向では目標が居るところで模型がゼロになることを許さず、ゆえに覆う。逆方向では模型が居るところで目標がゼロになることを許さず、ゆえに一つの山に潜る。したがって非対称を「対称化して直すべき欠陥」と読むのは誤りである。二つの向きは別の問いに答えており、どちらを使うかは何をしたいかで決まる。対称化すれば、その区別が消える。論文95 が述べたとおり、規約であることと、どちらでもよいことは違う。 第五に、熱力学では余剰自由エネルギーである。平衡分布をボルツマン分布、平衡自由エネルギーを分配関数の対数で書くと、任意の分布について、その分布のもとでのエネルギー期待値からエントロピー項を引いたものが、平衡自由エネルギーをボルツマン定数かける温度かける相対エントロピーだけ超える。すなわち非平衡分布の自由エネルギーの超過分が、平衡分布に対する相対エントロピーである。非負性は、自由エネルギーが平衡値より下がらないことを述べており、緩和の過程で相対エントロピーが減ることが第二法則の一つの言い方である(論文88・136)。ここで単位の話になる。「情報」と「自由エネルギー」は、単位を変えただけの同じ量である。ボルツマン定数かける温度を掛けるか掛けないか、対数の底を2にするかeにするか——どちらも規約である(論文131)。規約でないのは、非負であるという一点だけである。 重要(射程):確立された標準的事実の点呼(第2層)。挙げた文献はいずれも標準的な内容である。示さないこと:新しい数学定理(一つもない)/新しい物理法則(一つもない)/KLに誤りがあること(ない)/非対称を対称化すべきであること(すべきでない。区別が消える)。加えたもの:三角不等式の破れを数えたこと、二階微分がフィッシャー計量であることを閉じた形で示したこと、四つのダイバージェンスの二次係数を並べたこと、非対称を分業として実演したこと。残るもの:「隔たり」という言い方が、測れるものと測れないものを一緒にしている。無限小まで縮めれば、どのダイバージェンスも同じ一つの計量になる。違いは、縮めなかったところにしかない。 作成にあたって:本稿の着想と内容は、著者自身の考察に基づくものです。文章の構成整理や英訳、数式の確認には AI(大規模言語モデル)の助力を得ました。最終的な内容の解釈や誤りがあれば、それらはすべて著者の責に帰します。お気づきの点があれば、ご教示いただければ幸いです。
Author: Yuuki YAMAGISHI
Language: English
Subfield: Statistical and Nonlinear Physics
Field: Physics and Astronomy
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7204121407
