Slashdot Mirror


A Faster Jigsaw Solving Algorithm

mikejuk writes "Andrew Gallagher at Cornell University in Ithaca, New York has improved the standard approach to automated jigsaw solving by copying what humans do in finding groups of pieces that best match and working outwards from there. With a speed of 10,000 pieces per 24 hours, it can solve large puzzles. Not only that, but the type of jigsaw it solves is more difficult than the usual in that the pieces are square and can be placed in any orientation. It is so good it can even solve problems consisting of a number of mixed up pieces without being told how many or their dimensions. Of course, as well as having fun beating humans at another recreational pastime, the technique could be used to unscramble shredded documents, as per the recent DARPA challenge."

3 of 104 comments (clear)

  1. Re:Seems slow. by ensignyu · · Score: 5, Informative

    Inexact matches. In the puzzle described in the paper, the pieces are all square (no notches). So the algorithm has to decide which edge matches best based on the similarity of the pixels, but it could be wrong or there may be multiple pieces that look like they match equally well (e.g. sky pieces which look very similar).

    In the cases where it's wrong, it may have to throw out some of the fittings -- e.g. if you have a bunch of smaller groups of tiles that seem to fit together, but when you put it all together the puzzle isn't rectangular, then you have to break up the groups and try again. You can't just match one tile and be done with it.

  2. Re:Progress. by ledow · · Score: 4, Insightful

    I find it sad that people actually think AI or any sort of AI is actually present here, or improving when they read about things like this.

    There is no intelligence here. Nothing. There's no guesswork, only statistics, rigorously calculated and applied the same every single time. It's a heuristic. It's programmed. It's immutable. It's basically a targeted improvement on a naive brute-force algorithm.

    That's *not* how intelligence works. To be honest, the nearest thing to "intelligence" we've had recently is the Kinect, but only because it was based on a genetic algorithm at one point and tweaked incessantly. And even that is more brute-force and dedicated processors than anything else.

    There has NEVER been, in the whole field of AI, a logical leap to join two abstract concepts. There has never been discovery or invention (no matter how minor) on the same scale as even a pigeon. No machine ever worked out something that it wasn't told how to do DOWN TO THE LETTER.

    This is not AI. Your science fiction is, and for the foreseeable future still will be, just that - fiction. There's nothing a computer does today that isn't just 60's theory and ideas applied with a sufficiently large amount of processing power to come up with pretty predictable results that do not approach AI. Yes, eventually, brute-force will allow us to come to resemble intelligence but it will not be intelligence, and brute-force is the most expensive thing to apply to a problem like that (and, strangely, own our intelligence is the cheapest!).

    Literally, the closest we get is genetic algorithms and lettings things just run off on their own, and we're pretty sure even that's just an illusion and not crossed the line into something we would consider actual intelligence. There's an example of a GA put to work on a chip design to distinguish two frequencies of input. When the input is of one frequency, it activates one output, when the input is of another frequency, it activates another. The GA "evolved" through generations based only on selection for those criteria and ended up with ingenious solution that took years of analysis to understand fully.

    But even that isn't "intelligence", so much as blind luck and brute-force. No machine, for the next 50-100 years at least, will be able to hold even quite a boring conversation with you (go look at the transcripts of Turing Test entries from as far back as you can and now - improvement but still no magic insight that makes it seem human unless you're terminally stupid). It certainly won't have a consistent or reasoned opinion. And certainly not one that it come to by itself and wasn't just a case of it picking a contrary / popular opinion deliberately.

    Prove me wrong, by all means, but sci-fi is for the TV. I still can't get my phone to recognise my voice on a simple phrase 8 times out of 10 and that has vast quantities of brute-force, previous patterns, pattern-matching code and statistics to work from. Sure, it *looks* impressive and intelligent when you say "Where is the post office?" and it analyses the waveform to think you said "post office" with 85% certainty and then stick that into a basic search to see what comes up in the local area. But it's NOT understanding what you said. Not by a long shot. If I'd said "Where's the post? Office?", it will get it completely, 100% absolutely wrong and I can't teach it to get it right even the same amount of the time that any trained animal would.

    This is not AI. Please stop thinking it is. It's pseudo-related at best.

  3. Re:Progress. by citizenr · · Score: 4, Interesting

    I find it sad that people actually think AI or any sort of AI is actually present here, or improving when they read about things like this.

    There is no intelligence here. Nothing. There's no guesswork, only statistics, rigorously calculated and applied the same every single time. It's a heuristic. It's programmed. It's immutable. It's basically a targeted improvement on a naive brute-force algorithm.

    You mean like a human brain?

    --
    Who logs in to gdm? Not I, said the duck.