Designing Perceptual Puzzles by Differentiating Probabilistic Programs
Kartik Chandra, Tzu-Mao Li, Joshua B. Tenenbaum, Jonathan Ragan-Kelley
Abstract
We design new visual illusions by finding “adversarial examples” for principled models of human perception — specifically, for probabilistic models, which treat vision as Bayesian inference. To perform this search efficiently, we design a differentiable probabilistic programming language, whose API exposes MCMC inference as a first-class differentiable function. We demonstrate our method by automatically creating illusions for three features of human vision: color constancy, size constancy, and face perception.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Meschers: Geometry Processing of Impossible Objects cites Soft Rasterizer: A Differentiable Renderer for Image-Based 3D Reasoning
- ZeroGrads: Learning Local Surrogates for Non-Differentiable Graphics cites Soft Rasterizer: A Differentiable Renderer for Image-Based 3D Reasoning
- Inferring the Future by Imagining the Past cites Acting as Inverse Inverse Planning
Cited by top-tier papers7
- Acting as Inverse Inverse PlanningKartik Chandra, Tzu-Mao Li, Joshua B. Tenenbaum, Jonathan Ragan-KelleySIGGRAPH 2023 · 9 citations
- ZeroGrads: Learning Local Surrogates for Non-Differentiable GraphicsMichael Fischer, Tobias RitschelSIGGRAPH 2024 · 7 citations
- Inferring the Future by Imagining the PastKartik Chandra, Tony Chen, Tzu-Mao Li, Jonathan Ragan-Kelley et al.NeurIPS 2023 · 7 citations
- Meschers: Geometry Processing of Impossible ObjectsAna Dodik, Isabella Yu, Kartik Chandra, Jonathan Ragan-Kelley et al.SIGGRAPH 2025 · 2 citations
- Hand-Shadow PoserHao Xu, Yinqiao Wang, Niloy J. Mitra, Shuaicheng Liu et al.SIGGRAPH 2025 · 1 citation
Builds on8
- Soft Rasterizer: A Differentiable Renderer for Image-Based 3D ReasoningShichen Liu, Weikai Chen, Tianye Li, Hao LiICCV 2019 · 789 citations
- Improved Contrastive Divergence Training of Energy-Based ModelsYilun Du, Shuang Li, Joshua B. Tenenbaum, Igor MordatchICML 2021 · 171 citations
- Beyond blur: real-time ventral metamers for foveated renderingDavid R. Walton, Rafael Kuffner dos Anjos, Sebastian Friston, David Swapp et al.SIGGRAPH 2021 · 60 citations
- 3DP3: 3D Scene Perception via Probabilistic ProgrammingNishad Gothoskar, Marco F. Cusumano-Towner, Ben Zinberg, Matin Ghavamizadeh et al.NeurIPS 2021 · 59 citations
- Differentiable Annealed Importance Sampling and the Perils of Gradient NoiseGuodong Zhang, Kyle Hsu, Jianing Li, Chelsea Finn et al.NeurIPS 2021 · 46 citations
Related papers
- Evaluating Model Perception of Color Illusions in Photorealistic ScenesLingjun Mao, Zineng Tang, Alane SuhrCVPR 2025
- The Art of Deception: Color Visual Illusions and Diffusion ModelsAlexandra Gomez-Villa, Kai Wang, C. Alejandro Párraga, Bartlomiej Twardowski et al.CVPR 2025
- Exact Bayesian Inference on Discrete Models via Probability Generating Functions: A Probabilistic Programming ApproachFabian Zaiser, Andrzej S. Murawski, Chih-Hao Luke OngNeurIPS 2023 · 17 citations
- Online and Interactive Bayesian Inference DebuggingNathanael Nussbaumer, Markus Böck, Jürgen CitoICSE 2026
- Differentially Private Bayesian ProgrammingGilles Barthe, Gian Pietro Farina, Marco Gaboardi, Emilio Jesús Gallego Arias et al.CCS 2016 · 28 citations
