# Test-Time Anchoring for Discrete Diffusion Posterior Sampling

이산 확산 사후 샘플링을 위한 테스트 타임 앵커링

Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay 외 1명 · arXiv · 2025년 10월 2일

- **연구 문제** 이산 확산 모델은 토큰 공간에서 미분이 어려워 측정 기반 사후 샘플링에 기존 연속 방법을 그대로 쓰기 어렵습니다.
- **연구 방법** APS는 코드북 기대값과 LFQ 양자화, 스트레이트-스루 추정기로 측정 안내를 만들고, 사후 추정의 신뢰도로 앵커 토큰을 먼저 unmask합니다.
- **주요 결과** FFHQ와 ImageNet 역문제, 스타일화, 질의응답 실험에서 APS는 지정된 이산 기준선과 비교해 수치 개선을 보고합니다.

## 이산 확산 모델의 사후 샘플링이 어려운 이유

이 논문은 역문제를 풀기 위해 사전학습된 확산 모델을 사후 분포에서 샘플링하는 문제를 다룹니다. 연속 확산 모델에서는 측정 우도의 그래디언트를 잠재 공간에서 계산해 역방향 과정을 안내할 수 있습니다. 그러나 이산 확산 모델은 토큰 공간에서 미분이 불가능하므로 같은 방식을 그대로 적용하기 어렵습니다. 원문은 기존 접근으로 미분 없는 안내, 연속 완화, 분할 깁스 샘플러를 들고, 각각 신호가 희박하거나 적용 범위가 제한되거나 시퀀스 길이에 따라 비용이 급증한다고 설명합니다. 이 논문은 이 한계를 줄이기 위해 학습 없이 재사용할 수 있는 이산 사후 샘플러 APS를 제안합니다.

## 양자화 기대값과 앵커 리마스킹

APS는 두 구성요소로 이루어집니다. 첫째, 양자화 기대값은 각 위치에서 소프트맥스된 확률로 코드북 임베딩의 기대값을 구하고, LFQ로 이를 이진 임베딩에 양자화합니다. 이때 스트레이트-스루 추정기를 사용하여 측정 손실의 그래디언트가 기대 임베딩을 통해 로짓 전체로 전파되도록 합니다. 둘째, 앵커 리마스킹은 최적화된 사후 추정의 토큰 신뢰도가 임계값 이상인 위치를 앵커로 선택해 먼저 unmask하고, 나머지는 마스크 상태로 둡니다. 원문은 이 선택이 사전 분포의 독립적 토큰 신뢰도 대신 사후 추정의 결합된 정보를 사용한다는 점을 강조합니다.

![Figure 6: Ablation study of design choices in APS.We study the posterior sampling problem with the input of the noisy image of a bird (top row, third image fro…](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257/figures/figure-e9a646e4b3e90a30e61fdfa084d3de06.png?thumb=512)

**Figure 6** .Ablation study of design choices in APS.We study the posterior sampling problem with the input of the noisy image of a bird (top row, third image from left). Since MMaDA (second row) uses an unconditional prior (no measurement) as the backbone, the final image is inconsistent with the noisy input image (image of person instead of bird). Thus, this shows the effect ofstandard remasking, where high-confidence background tokens are unmasked early. The third row (APS-I) addsquantized expectation, which mitigates sampling bias and improves consistency with the measurement, but still relies on prior-based confidence remasking. This results in blurry reconstructions. Finally, the fourth row (APS-II) combinesquantized expectationwithanchored remasking, preserving optimized anchor tokens while remasking uninformative background tokens. This combination yields the most stable and measurement-consistent generations, as discussed in Appendix C.3. Indeed, we note that best case one could hope for is the direct VQ-V AE reconstruction (top row, second from left) of the Ground Truth image (top row, leftmost). We observe that APS (top row, rightmost) is comparable in quality to the VQ-V AE reconstruction.

[원문](https://arxiv.org/abs/2510.02291v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira · Test-Time Anchoring for Discrete Diffusion Posterior Sampling · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.

## 변분 상한과 학습 없는 적용 조건

원문은 DDPS 상한과 LAPS 상한을 제시합니다. LAPS는 사전학습된 마스크 확산 모델의 NELBO를 재사용하며, 추가 항으로 마스크 위치의 적응 격차와 측정 일관성을 포함합니다. 이 상한은 음의 로그 사후확률에 대한 상계이며, 최적화되는 목적은 이 상한을 줄이는 대리 목적입니다. 따라서 APS는 점근적으로 정확한 MCMC 샘플러가 아니라 변분적으로 안내된 샘플러로 설명됩니다. 또한 정리 3.3은 pre-training 네트워크가 무조건부 사전분포를 밀접하게 근사한다는 가정에 기대고 있습니다.

## FFHQ와 ImageNet 역문제 결과

FFHQ 초해상도 4배 실험에서 APS는 G2D2 등 이산 기준선보다 LPIPS와 PSNR이 개선되었다고 보고됩니다. 보고된 값은 LPIPS 13.65% 감소와 PSNR 2.11% 향상입니다. 가우시안 블러에서는 LPIPS 3.83% 감소와 PSNR 5.88% 향상이 보고되며, 더 큰 APS-L 설정은 G2D2 대비 LPIPS 기준 최대 31.36% 개선을 보입니다. ImageNet 초해상도에서는 LPIPS 7.16% 감소와 PSNR 4.74% 향상이 보고됩니다. 이 수치는 해당 이산 기준선과 논문 설정에서 얻은 결과이며, 연속 확산 기준선과의 비교는 표에서 별도로 확인해야 합니다.

![Table 1: Quantitative results on Super Resolution (4 ×) and Gaussian Deblurring.APS consistently outperforms prior discrete samplers (G2D2, SGDD, and SVDD-PM)…](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257/figures/figure-4a2a7658931990db1688f5ef19a29d9b.png?thumb=512)

**Table 1** .Quantitative results on Super Resolution (4 ×) and Gaussian Deblurring.APS consistently outperforms prior discrete samplers (G2D2, SGDD, and SVDD-PM) and remains competitive with strong continuous diffusion baselines (shaded gray).

[원문](https://arxiv.org/abs/2510.02291v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira · Test-Time Anchoring for Discrete Diffusion Posterior Sampling · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Table 7: Quantitative results for super resolution (4×) on FFHQ. APS consistently outperforms G2D2 across standard evaluation metrics: PSNR, SSIM and LPIPS. A…](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257/figures/figure-5ecdcc7a0f4ff971ae5be309995f1c46.png?thumb=512)

**Table 7** . Quantitative results for super resolution (4×) on FFHQ. APS consistently outperforms G2D2 across standard evaluation metrics: PSNR, SSIM and LPIPS. All the methods have a reconstruction loss by default. Both G2D2 and APS use the same base discrete diffusion model VQ-Diffusion (Gu et al., 2022), which has a VQ-VAE (Van Den Oord et al., 2017) tokenizer as opposed to the LFQ (Yu et al., 2024) tokenizer used in MMaDA (Yang et al., 2025b). The runtime of G2D2 and APS is nearly identical (see Table 8).

[원문](https://arxiv.org/abs/2510.02291v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira · Test-Time Anchoring for Discrete Diffusion Posterior Sampling · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.

## 질의응답과 적용 범위

원문은 APS를 확산 언어모델 Dream-7B-Instruct의 추론 과정에 적용해 질의응답 품질을 평가합니다. 20개 질문 벤치마크에서 Qwen3-0.6B를 보상 모델로, Qwen3-8B를 독립 평가자로 사용합니다. 이 설정에서 APS는 Dream-7B-Instruct 기준선 대비 21.99%의 상대 향상을 보고합니다. 이 결과는 학습 없이 확산 언어모델을 안내한 한 설정의 결과이며, 다른 언어모델이나 더 넓은 과제로 확장된다는 결론은 원문에서 확인되지 않습니다.

![Table 4: Quantitative results on question answering](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257/figures/figure-39715ec1cfca95b3bde7df613d4b3c9f.png?thumb=512)

**Table 4** .Quantitative results on question answering.

[원문](https://arxiv.org/abs/2510.02291v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira · Test-Time Anchoring for Discrete Diffusion Posterior Sampling · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 10: Question Answering Benchmark Prompts.The evaluation set consists of 20 diverse instructions, including creative writing, list generation, and constra…](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257/figures/figure-0b313a2781b41f9cb58dfa85de675f6e.png?thumb=512)

**Table 10** .Question Answering Benchmark Prompts.The evaluation set consists of 20 diverse instructions, including creative writing, list generation, and constrained formatting tasks created usingQwen2.5-3B.

[원문](https://arxiv.org/abs/2510.02291v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira · Test-Time Anchoring for Discrete Diffusion Posterior Sampling · 원문 그림 인용 · 원본 PDF 33쪽에서 그림 영역을 추출했습니다.

## 근사 샘플링과 토크나이저 한계

저자들은 APS가 대리 변분 목적을 최적화하므로 점근적으로 정확한 사후 샘플을 보장하지 않는다고 밝힙니다. 또한 MMaDA가 사용하는 토크나이저의 재구성 품질이 APS 결과의 상한에 영향을 줄 수 있습니다. 스타일화는 pre-training 백본과 스타일 특징 추출기의 품질에 의존하므로, 학습되지 않은 스타일에는 충실한 전달이 어려울 수 있습니다. 이러한 제약은 원문이 명시한 범위이며, 이 논문의 결과를 모든 이산 확산 모델이나 모든 역문제로 일반화하는 근거로 쓰이지는 않습니다.

![Table 3: Quantitative results on stylization.APS enables new capabilities such as reference-based stylization in MMaDA](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257/figures/figure-a99a6fed34acdb175745a031c6219c01.png?thumb=512)

**Table 3** .Quantitative results on stylization.APS enables new capabilities such as reference-based stylization in MMaDA.

[원문](https://arxiv.org/abs/2510.02291v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira · Test-Time Anchoring for Discrete Diffusion Posterior Sampling · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 10월 2일
- **등록일**: 2026년 10월 30일
- **수정일**: 2026년 1월 30일
- **버전**: v2
- **arXiv**: 2510.02291
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2510.02291v2) · [원문 PDF ↗](https://arxiv.org/pdf/2510.02291v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

While continuous diffusion models have achieved remarkable success, discrete diffusion offers a unified framework for jointly modeling text and images. Beyond unification, discrete diffusion provides faster inference, finer control, and principled training-free guidance, making it well-suited for posterior sampling. Existing approaches to posterior sampling using discrete diffusion face severe challenges: derivative-free guidance yields sparse signals, continuous relaxations limit applicability, and split Gibbs samplers suffer from the curse of dimensionality. To overcome these limitations, we introduce Anchored Posterior Sampling (APS), built on two key innovations: quantized expectation for gradient-like guidance in discrete embedding space, and anchored remasking for adaptive decoding. APS achieves state-of-the-art performance among discrete diffusion samplers on both linear and nonlinear inverse problems across the standard image benchmarks. We demonstrate the generality of APS through training-free stylization and text-guided editing. We further apply APS to a large-scale diffusion language model, showing consistent improvement in question answering.

## 원문 인용

Rout, Litu, Lugmayr, Andreas, Jafarian, Yasamin, Varadharajan, Srivatsan, Caramanis, Constantine, Shakkottai, Sanjay, Kemelmacher-Shlizerman, Ira (2025). Test-Time Anchoring for Discrete Diffusion Posterior Sampling. arXiv:2510.02291v2. https://arxiv.org/abs/2510.02291v2

**BibTeX**

```
@misc{litu2025test,
  title = {{Test-Time Anchoring for Discrete Diffusion Posterior Sampling}},
  author = {Rout, Litu and Lugmayr, Andreas and Jafarian, Yasamin and Varadharajan, Srivatsan and Caramanis, Constantine and Shakkottai, Sanjay and Kemelmacher-Shlizerman, Ira},
  year = {2025},
  eprint = {2510.02291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.02291v2}
}
```

## 이 논문의 용어

- [Imagenet](https://refivu.com/terms/5eadad128667-imagenet)
- [PSNR](https://refivu.com/terms/fcbb9b8276a7-psnr)
- [SSIM](https://refivu.com/terms/a5c530b66e8d-ssim)
- [LPIPS](https://refivu.com/terms/21dda2beca88-lpips)
- [Gumbel-Softmax](https://refivu.com/terms/e169554398b3-gumbel-softmax)
- [straight-through estimator](https://refivu.com/terms/daa90b015f59-straight-through-estimator)
- [FFHQ](https://refivu.com/terms/77fa6feda97a-ffhq)
- [DPS](https://refivu.com/terms/f8a6a83854a6-dps)
- [APS](https://refivu.com/terms/4bb84153ee7c-aps)
- [SR](https://refivu.com/terms/bc5b49816d1c-sr)
- [masked diffusion](https://refivu.com/terms/999f72b9c79c-masked-diffusion)
- [NELBO](https://refivu.com/terms/5df7ff9b3d7d-nelbo)

## 다른 논문 해설

- [Simple Denoising Diffusion Language Models](https://refivu.com/papers/ca85b42a-5226-4776-b344-b5eea9944e5b-simple-denoising-diffusion-language-models.md)
- [A Unified Density Operator View of Flow Control and Merging](https://refivu.com/papers/897e7d07-4af1-4536-a196-1a3511d0b69f-a-unified-density-operator-view-of-flow-control.md)
- [Equalized Generative Treatment: Matching f-divergences for Fairness in Generative Models](https://refivu.com/papers/f5f2ea87-456a-4c48-814d-e6ffbc7c3f28-equalized-generative-treatment-matching-f-divergences-for.md)
- [Fast and Scalable Analytical Diffusion](https://refivu.com/papers/3738054f-1813-4c18-9dd7-e000625b4922-fast-and-scalable-analytical-diffusion.md)
- [Two Calm Ends and the Wild Middle: A Geometric Picture of Memorization in Diffusion Models](https://refivu.com/papers/b17e2b67-a040-4a28-94af-c10277207bf4-two-calm-ends-and-the-wild-middle-a.md)
- [Does Generation Require Memorization? Creative Diffusion Models using Ambient Diffusion](https://refivu.com/papers/e84ba794-295c-477e-8db1-aad14edc5ec3-does-generation-require-memorization-creative-diffusion.md)
- [Thoughtbubbles: an Unsupervised Method for Parallel Thinking in Latent Space](https://refivu.com/papers/d2d7e8f7-1ee5-47be-866d-499ed5f06d3e-thoughtbubbles-an-unsupervised-method-for-parallel-thinking.md)
- [Convergent World Representations and Divergent Tasks](https://refivu.com/papers/f0831191-780f-4012-acce-67fbfef1e91f-convergent-world-representations-and-divergent-tasks.md)
- [LiME: Lightweight Mixture of Experts for Efficient Multimodal Multi-task Learning](https://refivu.com/papers/4267cfd3-306c-4e4e-bd22-b94a64a87d77-lime-lightweight-mixture-of-experts-for-efficient-multimodal.md)
- [TQL: Scaling Q-Functions with Transformers by Preventing Attention Collapse](https://refivu.com/papers/51ddfaf2-6224-4482-b74a-f32fe84b65c7-tql-scaling-q-functions-with-transformers-by-preventing.md)
- [Overcoming Spurious Solutions in Semi-Dual Neural Optimal Transport: A Smoothing Approach for Learning the Optimal Transport Plan](https://refivu.com/papers/95dc2536-7026-4be6-9aef-2dd1eff59c6f-overcoming-spurious-solutions-in-semi-dual-neural-optimal.md)
- [Privately Fine-Tuned LLMs Preserve Temporal Dynamics in Tabular Data](https://refivu.com/papers/fdefc07f-52c8-4caf-8a13-e628c8e07259-privately-fine-tuned-llms-preserve-temporal-dynamics-in.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/cded6142-3433-4b7a-a45d-0139f6558257-test-time-anchoring-for-discrete-diffusion-posterior)
