Papers

SoftREU:可微分数值稳定的可修订证据更新

SoftREU: Differentiable and Numerically Stable Revisable Evidence Updates

Why we picked it

把贝叶斯证据更新做成了能反向传播的版本,撤回证据也不会数值崩坏,还给出全套误差界和验证脚本。做记忆系统、可信推理或概率编程的人值得看看推导和实现。

论文提出 SoftREU,将可修订证据更新(REU)扩展为可微分且数值稳定的版本,解决把贝叶斯条件化嵌入学习型记忆系统时的三大障碍:硬零掩码阻断梯度、log 域减法在 binary64 下遭遇灾难性消除、以及寻址梯度需尊重离散提交授权。REU 在 (Z×R)^Ω 空间用掩码 softmax 读出,分离零重数 n_z 与正对数质量 b_z,使具名证据可撤回、被屏蔽支持可恢复。

Body

理论上,SoftREU 的 p_β = softmax(b - βn) 被证明唯一最小化冲突惩罚变分自由能,在一致的账本上随 β→∞ 指数收敛到精确 REU,并在 log-sum 扰动下满足一致的 tanh(ε/2) 全变差界。数值结构上,作者设计了免减法的分段树,以 O(|Ω|log H) 次加法更新槽位,与固定树重建 bitwise 一致且无撤回漂移,支持原子块增量。

作者还对比提交门控直通(ST)更新与期望提交损失的精确梯度,证明 Popoviciu 曲率余项与符号一致性检验,并构造出确定性采样 ST 更新都指向 uphill 而后续撤回翻转分支偏好的反例。辅助脚本验证了全部界、H = 16,384 规模下的复杂度,以及固定零掩码账本上的二值信道拟合。

Original · arXiv cs.LG

SoftREU: Differentiable and Numerically Stable Revisable Evidence Updates

Revisable Evidence Update (REU) lifts Bayesian conditioning into $(\mathbb{Z}\times\mathbb{R})^Ω$ with masked softmax readout, separating zero multiplicity $n_z$ from positive log mass $b_z$ so named evidence can be withdrawn and blocked support can recover. Embedding REU in a learned memory system raises three obstacles: hard zero masks block gradients and return $\bot$ under total contradiction, log-domain subtraction suffers catastrophic cancellation in binary64, and addressing gradients must respect discrete commit authorization. We introduce SoftREU under a unified ledger invariant. First, $p_β= \mathrm{softmax}(b - βn)$ uniquely minimizes a conflict-penalized variational free energy, converges exponentially to exact REU as $β\to \infty$ on consistent ledgers, concentrates on minimum-conflict worlds under zero mass, and obeys a tight $\tanh(ε/2)$ total-variation bound under log-sum perturbations uniformly over $β> 0$; for smooth factor encodings, $ε\ge e^{-β}$ characterizes score monotonicity. Second, a subtraction-free segment tree updates slots in $O(|Ω|\log H)$ additions, matches a fixed-tree rebuild bitwise without withdrawal drift, supports atomic block deltas, and folds immutable records into the base aggregate with explicit rounding and total-variation bounds. Third, comparing commit-gated straight-through (ST) updates against the exact gradient of expected committed loss, we prove a Popoviciu curvature remainder and sign-agreement test, and construct a positive-support, exact-arithmetic witness where deterministic and sampled ST updates both point uphill while a later withdrawal flips branch preference. Ancillary scripts verify all bounds, binary64 stability, exact-rational protocol and ST witnesses, $O(|Ω|\log H)$ scaling to $H = 16,384$, and a binary-channel fit on fixed zero-masked ledgers.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Key entities and technical topics under continuous tracking include SoftREU, Bayesian inference, papers.

Source attribution: curated from arXiv cs.LG (@Junyi Zou, Avrova Donz).