估计超额概念证据
CRG 旨在仅当估计证据超过阈值时抑制目标图像概念。
概念存在分数由扩散模型自身的条件、无条件和负概念噪声预测构建。
它是证据分数,不是 [0,1] 内的校准概率。
推导省略概念先验,并以噪声预测差异近似似然差异。
在这一比较中,若提示所预测的生成相较无条件参考更接近负概念,其证据就更高。
Paper Notes
原创笔记逐句中英对照Sentence-aligned original note
合成教学数值,不是论文实验结果。默认静止;所有步骤均可在下方静态说明中阅读。Synthetic teaching values, not paper results. Nothing plays automatically; all steps remain available in the static explanation.
CRG 旨在仅当估计证据超过阈值时抑制目标图像概念。CRG aims to suppress a target image concept only when estimated evidence exceeds a threshold.
Yoonseok Choi, Chaeyoung Oh, Hyunjun Choi, Seokin Seo, Kee-Eung Kim
Original reading note; cited methods and evidence, not an experimental reproduction. · 2606.29801v1
CRG 旨在仅当估计证据超过阈值时抑制目标图像概念。
概念存在分数由扩散模型自身的条件、无条件和负概念噪声预测构建。
它是证据分数,不是 [0,1] 内的校准概率。
推导省略概念先验,并以噪声预测差异近似似然差异。
在这一比较中,若提示所预测的生成相较无条件参考更接近负概念,其证据就更高。
在线估计器结合已累积轨迹证据,以及围绕 Tweedie 干净图像估计的高斯前瞻近似。
方差尺度 k 控制前瞻项,仍是一个超参数。
固定当前负向方向和历史证据后,代理约束对新的噪声预测是仿射的。
若当前点可行,最优更新为零。
否则,最小距离投影沿负向引导方向移动。
这对仿射代理问题是精确的,但不对真实视觉概念缺失提供精确保证。
零方向需要显式处理:若约束被违反而法向为零,该投影公式无定义。
实用放大系数 λ₀ > 1 会越过最小距离边界,因此改变优化解释。
主设置使用 Stable Diffusion v1.4、50 步 DDPM 以及对抗提示套件。
表 1 中,CRG 的 P4D ASR 为 0.026,DNG 为 0.225,静态负提示为 0.338。
在 MMA-Diff 上,CRG 为 0.164,DNG 为 0.139,因此 CRG 并非每种攻击上最佳。
正常内容 FID 以原模型生成图像为参考,质量评估使用 1,000 个 COCO 提示。
较低值衡量相对该参考的保留程度,而不是通用照片真实感。
额外测试覆盖 SDXL、SD v3、确定性采样、暴力内容和艺术家风格移除。
在人工评估的 Van Gogh 风格移除中,目标风格准确率为 0.259,其他风格准确率为 0.820。
CP 近似、检测器标签、负提示和阈值共同影响观察到的安全与质量权衡。
逐步投影不保证后续模型动力学不会重新引入概念。
复现应记录约束超额量、方向范数、干预频率,以及最终独立评估的概念存在情况。
所检查 arXiv 版本仅有分发许可,因此这里交付原创双语笔记及其对照版。
本原创笔记覆盖上文讨论的方法和选定实验证据,不是论文全文翻译;本次未运行模型复现实验。来源许可:https://arxiv.org/licenses/nonexclusive-distrib/1.0/
原文所列作者或相关代码链接:https://github.com/notAI-tech/NudeNet
原图与数据来自原论文。解释与比较属于阅读笔记。版本和图表编号随正文标明。
Yoonseok Choi, Chaeyoung Oh, Hyunjun Choi, Seokin Seo, Kee-Eung Kim
Original reading note; cited methods and evidence, not an experimental reproduction. · 2606.29801v1
CRG aims to suppress a target image concept only when estimated evidence exceeds a threshold.
Its concept-presence score is built from the diffusion model's own conditional, unconditional, and negative-concept noise predictions.
It is an evidence score, not a calibrated probability in [0,1].
The derivation drops the concept prior and approximates likelihood discrepancies with noise-prediction discrepancies.
A prompt has higher evidence when its predicted generation is closer to the negative concept than to the unconditional reference in this comparison.
The online estimator combines accumulated trajectory evidence with a Gaussian look-ahead approximation around a Tweedie clean-image estimate.
The variance scale k controls the look-ahead term and remains a hyperparameter.
With the current negative direction and past evidence fixed, the surrogate constraint is affine in the new noise prediction.
If the current point is feasible, the optimal update is zero.
Otherwise the minimum-distance projection moves along the negative-guidance direction.
This is exact for the affine surrogate, not for true visual concept absence.
A zero direction needs explicit handling: if the constraint is violated and its normal is zero, this projection formula is undefined.
The practical amplification λ₀ > 1 moves past the minimum-distance boundary and therefore changes the optimization interpretation.
The main setting uses Stable Diffusion v1.4 with 50 DDPM steps and adversarial prompt suites.
In Table 1, CRG has P4D ASR 0.026 versus 0.225 for DNG and 0.338 for static negative prompting.
On MMA-Diff, CRG is 0.164 while DNG is 0.139, so CRG is not best on every attack.
The benign FID reference is images from the original model, with 1,000 COCO prompts used for quality evaluation.
A lower value measures preservation relative to that reference, not universal photorealism.
Additional tests cover SDXL, SD v3, deterministic sampling, violence, and artist-style removal.
For human-rated Van Gogh style removal, target-style accuracy is 0.259 and unrelated-style accuracy is 0.820.
The CP approximation, detector labels, negative prompt, and threshold all contribute to the observed safety-quality tradeoff.
Sequential projection does not guarantee that later model dynamics cannot reintroduce a concept.
A reproduction should log constraint surplus, direction norm, intervention frequency, and final independently assessed concept presence.
The inspected arXiv version has a distribution-only license, so the deliverable here is an original bilingual note and its aligned edition.
This original note covers the method and selected experimental evidence discussed above. It is not a full-paper translation. No model experiments were run for this note. Source license: https://arxiv.org/licenses/nonexclusive-distrib/1.0/
Author-code links in the source: https://github.com/notAI-tech/NudeNet
Original figures and data come from the cited paper. Explanations and comparisons are reading notes. Source versions and figure labels appear beside the material.