*Posted by Danny Tarlow*

This is really only the beginning, though. There should be many more examples where we have local consistency but global inconsistency. For example, it's straightforward to extend the 3-cycle that produces the impossible triangle to any odd-cycle. This produces impossible pentagons, impossible heptagons, etc. I've drawn the pentagon and heptagon examples below: Naturally, I want to push this further, finding more interesting figures to draw. Here's a proposed algorithm:

- Generate a random constraint satisfaction problem that is arc-consistent but unsatisfiable.
- Translate the kernel--the locally consistent problem that remains after running arc-consistency--into a drawing.

For the first, how do we do it efficiently? I don't know, but we can think of doing guess and check for now. If somebody knows more about this, I'd be interested to hear about it. It seems related to generating hard instances to evaluate constraint satisfaction solvers.

For the second, perhaps somebody with some art background can help. How do we do this generally? I can extend the triangle example to odd cycles of this special form where each variable (corner) has two possible interpretations locally (

**UPDATE:**I'm not sure this is the right interpretation): one where the figure is coming out of the page and one where it is going into the page. But how do we draw a visual analog of a variable with only one legal interpretation? How do we draw variables with more than 2 possible states? How do we draw examples with higher connectivity?

Does anybody know of references to any prior work on this topic?

## 2 comments:

Your idea of mapping constraint satistfaction problems to visual illusions reminds me of something I saw a few years ago on "visual circuits":

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.140.9694&rep=rep1&type=pdf

Interesting. It's kind of two sides of the coin: the visual circuits are saying that human visual processing is powerful, so let's try to leverage it to do cool things, while this post is more about how to fool the human visual system. Cool connection, thanks for the pointer.

Post a Comment