Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Puzzle Games (Games) Math Games

Data Mining the Web Reveals What Makes Puzzles Hard For Humans 44

Posted by Unknown Lamer
from the sticking-to-breakout dept.
KentuckyFC (1144503) writes "The question of what makes puzzles hard for humans is deceptively tricky. One possibility is that puzzles that are hard for computers must also be hard for people. That's undoubtedly true and in recent years computational complexity theorists have spent some time trying to classify the games people play in this way (Pac Man is NP hard, by the way). But humans don't always solve problems in the same way as computers because they don't necessarily pick the best method or even a good way to do it. And that makes it hard to predict the difficulty of a puzzle in advance. Cognitive psychologists have attempted to tease this apart by measuring how long it takes people to solve puzzles and then creating a model of the problem solving process that explains the data.

But the datasets gathered in this way have been tiny — typically 20 people playing a handful of puzzles. Now one researcher has taken a different approach by mining the data from websites in which people can play games such as Sudoku. That's given him data on the way hundreds of players solve over 2000 puzzles, a vast increase over previous datasets and this has allowed him to plot the average time it takes to finish different puzzles. One way to assess the difficulty of Sudoku puzzle is in the complexity of each step required to solve it. But the new work suggests that another factor is important too — whether the steps are independent and so can be attempted in parallel or whether the steps are dependent and so must be tried in sequence, one after the other. A new model of this puzzle-solving process accurately reproduces the time it takes real humans to finish the problems and that makes it possible to accurately predict the difficulty of a puzzle in advance for the first time. It also opens the way for other studies of human problem solving using the vast datasets that have been collected over the web. Indeed work has already begun on the Sudoku-like puzzle game, Nurikabe."
This discussion has been archived. No new comments can be posted.

Data Mining the Web Reveals What Makes Puzzles Hard For Humans

Comments Filter:
  • Isn't sudoku extraordinarily easy for a computer? I think it would be more interesting to investigate human problem solving strategies in opposite scenarios, games that humans are really good at but that are nearly intractable for computers.

    • by UnknownSoldier (67820) on Wednesday April 02, 2014 @10:33AM (#46639631)

      > Isn't sudoku extraordinarily easy for a computer?

      Yes, "solving" sudoku is extremely trivial. Few years back wrote less then 100 lines of C/C++ code to solve any Sudoku using back tracking. Solves any 9x9 sudoku in less then a second.

      The more interesting question is how players use the advanced deduction / induction such as x-wing, swordfish, etc.

      > games that humans are really good at but that are nearly intractable for computers.

      You mean like asking a person to identity the movie / actors / plot from a 5 or 10 second movie clip?? ;-)

      Computers completely suck at meta-searching through large amounts of "noise".
      They are _extremely_ good when you have tons of "signal" and want to find that 1 special entry.

    • by Bob Hearn (61879) on Wednesday April 02, 2014 @10:35AM (#46639665) Homepage

      Generalized (NxN) sudoku is NP-complete. That's the only sense in which any puzzle is computationally intractable.

      This is very fascinating work, but I am skeptical. I design puzzles like this, with computer assistance, and automatically gauging how difficult a puzzle is seems to be basically impossible. The fundamental problem is that the logical structure of a puzzle is not in itself sufficient to gauge difficulty. A huge amount of it is in the presentation, and how the player conceptualizes the puzzle, and how much of the problem can be handled automatically by visual processes. There are puzzles with trivial game trees that I have watched players get totally lost in, because the game tree is not apparent in the puzzle manifestation.

      If this research addresses this problem, I will be very impressed.

      • by harrkev (623093)

        Well, the ARE right about Sudoku. I can tell you from experience that, sometimes, just looking at a board is not enough. For some configurations of some types of puzzles (sudoku being a great example), you just have to mentally go through the possibilities until you find one that takes you a little further along. If there are 10 possible next steps instead of just one, you only have to search, on average, 1/10 the solution space to get your next move. These results are actually quite obvious once you th

      • by Wycliffe (116160) on Wednesday April 02, 2014 @11:53AM (#46640475) Homepage

        He's looking at both complexity of the move and how many possible moves there are at each step.
        It is much easier to find a valid move and solve a puzzle if there are 10 opening moves.
        It is much harder if there is only a single path of 20 moves in a particular sequence.
        A puzzle with 20 steps that must be done in order is much much harder than a puzzle with 20
        steps that can be done in any order just like it would be much harder to solve a word search if
        you had to find the words in order.
        This should be pretty accurate as a truly serial puzzle would be the sum of time to solve each
        step while a puzzle with parallel steps would be the average time to discover one of the possible
        next moves. On average if there is more than one solution on a step then finding one of the
        many solutions should be faster than finding the one solution.

      • by epine (68316) on Wednesday April 02, 2014 @03:07PM (#46642455)

        A huge amount of it is in the presentation, and how the player conceptualizes the puzzle, and how much of the problem can be handled automatically by visual processes.

        It's not just that. The puzzle solvers essentially adopt their own rules for what consistutes a valid solution step.

        Once I started completing most five stars puzzles in twelve minutes or less, I started to mainly work the "insane" category. My preferred method is to logically eliminate a single digit placement: this digit can't go here in this box. In the insane puzzles, one often gets to a place where are few digit placements one can reasonably crack with an inference chain without going more than three levels deep.

        At that point, it's pretty easy to get completely stuck for ten minutes looking in all the wrong places. That same situation can often be "solved" in under a minute with a four colour pen and the willingness to posit and backtrack. Normally this is against my personal code.

        Once upon a time I compiled Knuth's dancing links and threw some "hardest ever" puzzles at it that came up in a quick Google search. One of the first such puzzles I tried solved without a single backtrack step: at each point where the algorithm made a guess, it happened to guess right. There were only three or four or five such junctures of valence 2 or 3. I think I had slightly modified how it sorts the list based on my own intuition about the potency of guesswork, but still, it made a completely mockery of the whole "difficulty" notion. Purportedly one of the hardest of all puzzles (by a certain metric) and Dancing Links goes Rain Man without so much as scuffing its eraser.

        When I challenged myself to solve five star puzzles in under ten minutes, there was a complex dance inside my mind to keep track of where I'd shaken the tree already, and what part of the tree needed to be revisited based on recently completed digits. At the slightly faster pace, my mistake production would skyrocket: somehow my double-checking circuit and my "what next" circuit became competitive.

        Also, the critical junctures became too thin on the ground, and the punishment for my errors too great, so I lost interest in pushing it any further. It was always for me an excercise in observing my own solution strategies and mental capacities/incapacities.

        I think the only way a puzzle-setter can get consistent solution times for a hardness category is by patiently training the puzzle solvers to appoach the task in a certain way, rather than just doing their own thing. I certainly knew with each puzzle setter that I could exploit my familiarity with previous puzzles set at that level of difficulty if I followed the main sequence.

        From time to time I would spot an advanced inference early, and then the puzzle would melt away posing no further difficulty whatsoever.

    • Yup, see http://perl.abigail.be/Talks/S... [abigail.be] for an interesting example of how a Sudoku puzzle can be solved via Regex :)

  • While I find this very interesting, there are chess puzzles which have been categorized for a long time now in different levels. Of course chess is a 'dependent' puzzle where each move must be made in sequence. I imagine there are many other puzzles which have different (accurate) difficulty levels. I may be missing something here.

  • Value (Score:5, Interesting)

    by dtmos (447842) * on Wednesday April 02, 2014 @10:02AM (#46639311)

    Somewhere I read an article by a guy who makes and sells Sudoku puzzles to newspapers. He explained that the value of providing the puzzle was near zero, since anyone with a computer could easily generate thousands of them, and anyone without a computer could get them from any number of sources. The value of his service, and the reason newspapers paid him to provide the puzzle, he said, was that he provided an accurate difficulty estimate to the puzzle. People attempting, and failing to solve, a difficult puzzle rated "easy", and people quickly solving an easy puzzle rated "difficult", were dissatisfied, and complained. People that had the experience they expected -- easy puzzles quickly solved, hard puzzles solved only with difficulty -- were much more satisfied.

    The result was, newspaper editors got fewer complaints using his puzzles than they did from his competitors, so they bought from him.

    He said he spent far more time tweaking his difficulty-rating algorithm than he did his software that generated the puzzles themselves -- since that was what kept him in business.

    • by dr_blurb (676176)

      Absolutely spot on.

      I wrote a Calcudoku generator/solver a while ago (now in heavy use at http://www.calcudoku.org/ [calcudoku.org] and spent a _lot_ of effort on the difficulty rating bits (and still know there is room for improvement).

      One idea that isn't in there yet is to somehow incorporate the distance between the solving steps: if the next logical step is in a cell very near the previous one, you see it more quickly, hence the puzzle is easier.

  • by oodaloop (1229816) on Wednesday April 02, 2014 @10:07AM (#46639361)

    Indeed work has already begun on the Sudoku-like puzzle game, Nurikabe."

    Great. Another time-consuming addictive game I have to play. Thanks, slashdot!

    • The nurikabe is a Yokai, or spirit, from Japanese folklore. It manifests as a wall that impedes or misdirects walking travelers at night.

      Well, the name sounds apt to me! ;)

    • by jpvlsmv (583001)

      Don't worry, there's 2048 [github.io] other games to consume your time.

  • by davidwr (791652) on Wednesday April 02, 2014 @10:09AM (#46639369) Homepage Journal

    Due to the lack of enough (or any?) use of a random-event-generator, some early versions of the original Pac-Man arcade game had "canned solutions" that worked for every level. After the hardest level, the hardest level just repeated itself forever. One version ended at the "5th key" and another at the "9th key."

    I say "some early versions" - it might be "all versions." I don't know if there were any other versions of the official Pac Man arcade game back in its heyday.

    • Re: (Score:3, Informative)

      by L1mewater (557442)
      I believe it is "all versions." Pac-Man does have a perfect solution, and the maximum possible score has been achieved. Several people have done this, but Billy Mitchell is credited with being the first.
  • by globaljustin (574257) <justinglobal.gmail@com> on Wednesday April 02, 2014 @10:26AM (#46639557) Homepage Journal

    I like this research area but the researchers need to dramatically improve their definitions and measures of 'difficulty'

    But the new work suggests that another factor is important too — whether the steps are independent and so can be attempted in parallel or whether the steps are dependent and so must be tried in sequence,

    parallel steps, by the researchers definition, increase ***complexity*** which is incorrect

    parallel steps increase the length of time required, b/c you must use **trial and error** but that is **not more complex**

    making a game more difficult by making it more tedious is bad game design...the challenges must increase in complexity as the player progresses

    tedious games are like homework...no one plays them

    • by Carewolf (581105)

      I read it the other way if applied to video games. A sequence of steps is a linear game and boring and not really a game as much as a movie with grind. Parallel steps are sandbox, open world.

      • hi Carewolf...interesting...

        "trial and error" is only relevant when there **is a goal to try for**

        by definition, a "sandbox" game isn't programmed to have accomplishments (of course you can have both in one game ex: GTA)

        so a "sandbox" game *cant* have goals...or it wouldn't be "sandbox"

        part of this is, gaming became so reductive with the introduction of the "cut scene"...and just lazy game design

      • by mikael (484)

        I though the Nintendo games (Super Mario 64, Ocarina of Time) started off in parallel steps as you explored each level to find keys and unlock other levels. But eventually after figuring out the optimum sequence of completing levels (get the flying hat first, then get the invisibility hat, get the ten keys, get the skulltulas), then the game becomes linear.

  • Human vs computer (Score:5, Insightful)

    by gurps_npc (621217) on Wednesday April 02, 2014 @10:28AM (#46639573) Homepage
    Computers do certain things very very well - in depth repetition, aka recursive.

    People do not do well with recursive. People do well with hidden simple pattern recognition. Give us a simple pattern, and we can recognize it everywhere. The simplest example of this is optical character recognition, i.e. recognizing letters in a picture. In part because there are infinite number of fonts, but humans can recognize them all, because we look for the pattern. Computers have major issues with this - and to get any real accuracy, do it slower than people do.

  • Once in a great while, I drag it out and try yet again to solve it. (Sigh)

    PS Yeah I know there are books that tell how to do it. That's not what I'm after.

    • by captjc (453680)

      I prefer the engineer's method. It involves a screwdriver.

    • by narcc (412956)

      It's not too bad until you get close to the end. That's where it takes the longest to work out a set of useful moves. (e.g. sequences which ultimately affects just a few cubes while leaving the others in place) for the end-game. Keep at it, make lots of notes, and you'll work out your own solution in no time.

    • Rubik's cubes are easy. You can solve yours in 3 seconds. [youtube.com]

  • Pac Man is NP hard, by the way

    So you mean each time a level is passed, a NP hard problem is solved. I'm a genius!

  • Considering the information in TFA, can we infer anything about what type of puzzles would be easy for humans, but hard for computers? Traditional captchas were an attempt at that, but they don't work that well.

    So far, I've come up with only one puzzle our wetware does much better than software - spotting attractive members of the opposite sex. That's what we use in our captchasystem.

    • by bws111 (1216812)

      I would think crossword puzzles, especially the kind that uses puns, etc.

      • by jfengel (409917)

        Has anybody tried to hook Watson up to a crossword puzzle? Its Jeopardy-answering skills should give it a substantial jump on the puzzle, and combined with the combinatorial crunching power of a computer should be able to narrow down a lot of places to the point where it can just plain guess. Which is what a lot of human players have to do when faced with overly "clever" clues anyway.

        Some puzzles have extra thematic elements that would make it tricky for a computer (such as misspellings), though a lot of th

  • by braindrainbahrain (874202) on Wednesday April 02, 2014 @11:23AM (#46640151)

    I have to wonder how/if this research translates into the games arena. Recently, there have been several attempts to make games playable by humans but which negate the computer's advantage of massive search. These games include Arimaa [boardgamegeek.com], Octi [boardgamegeek.com], and Havannah [boardgamegeek.com]. One speculates whether it would be possible to design a game that is equally difficult, and a fair contest, between humans and computers.

  • One possibility is that puzzles that are hard for computers must also be hard for people. That's undoubtedly true...

    Not really. I would imagine something like a riddle would be easier for a human than a computer. On a more mundane level, computers, even with robotic bodies, so far can't interact with the world we live in as easily as humans do. Yes, they can do some things we can't but the reverse is also true.

  • Tinfoil hat time :-)
  • by mynamestolen (2566945) on Wednesday April 02, 2014 @03:43PM (#46642885)

    Different humans use different approaches. I knew a physics professor when rubric's cube first came out. He looked at it without touching it, wrote some stuff on paper, then picked it up and solved it instantly. Some humans will know the "key" to a puzzle, others won't.

EARTH smog | bricks AIR -- mud -- FIRE soda water | tequila WATER

Working...