3 ms·
There are programs that given enough time will come up with piece values for arbitrary board games like chess. Non random board games are actually one of the e
by Retric 14y ago
There are programs that given enough time will come up with piece values for arbitrary board games like chess. Non random board games are actually one of the easier things to translate into computer code, the problem is games like go are inherently difficult. I suspect with perfect play the first go player completely dominates the board just like with smaller boards that have been solved, but the ultra aggressive gameplay required to pull this off is impossible to pull off with any sort of reasonable hardware. So, it's really a question of discovering heuristics that allow computationally reasonable pay to still create an acceptable level of imperfect play, and piece values are just one of those heuristics. Perfect play in chess can ignore positional concepts and just look for paths that either force a checkmate or a tie.
The problem with language translation is you need to understand the context of an idea before you can accurately translate it which is why humans have such issues translating technical content they don't understand.
That said, humans can decode things that are close to linguistic gibberish so even a poor translation is often good enough. Google translate is already rather useful though a great set of heuristics despite an endless array of edge cases it fumbles though. It's a useful path that get's ever more expensive the more demanding the problem.
- mgkimsal 14y ago"There are programs that given enough time will come up with piece values for arbitrary board games like chess. " Would different instances of those programs potentially develop different 'values' for the pieces based on their own history and experience of playing? There are some humans that 'prefer' (emotionally) knights over bishops, and will sacrifice one before the other all the time, even when they don't win. Part of that may be that they just don't play enough to develop better strategies, and part of it may just be human attachment to ideas vs 'facts'. I'm no chess master, and I'm not saying knights are better or worse than bishops :)
- drostie 14y agoI guess maybe I wasn't clear. Some modern chess algorithms begin by telling the computer, "here are some numbers you must determine, and how you combine them into an assessment of the game's winnability. Go and analyze a bunch of games and statistically determine which numbers are optimal." To me, that phrasing is itself the problem. I should be able to just say "here are the adequacy conditions for a solution" and then have my computer humming away to guess and then prove possible moves which tend to quickly bring you towards a solution. Mind you, they don't have to be complete rules that solve every case -- that would probably end up implying that P = NP. But most of my logic-puzzle-helpers begin with some sort of code which says, "here is how I will define rules, here is how you should match against them and what you should do when you find a match." Then I have to work out all of these rules for myself and then tell the computer about them one-by-one. If I could just tell my computer, "work out all of the automatic reductions where the logic tree goes less than 20 steps, build rules for those, I will try to handle anything more sophisticated," that would be much better. As yet I've never seen anything like a general algorithm for this, though. :< Turning the declarative to imperative in a portable way would simplify both these programs that I'm writing, and machine translations, I feel.
- jules 14y agoYou should look into constraint satisfaction algorithms and SAT solving algorithms. With these you can encode almost all logic puzzles meant for humans fairly easily. For example for sudoku you just say that each cell contains a number {1..9}, and that all the rows, columns and blocks cannot contain duplicates. This is usually done with a declaration like alldifferent(cell1, cell2, cell3 ..., cell9), where alldifferent is a built-in constraint in any constraint solver worth its salt. These algorithms usually solve the complete logic puzzle in less than a millisecond. Note that these are algorithms for combinatorial logic problems/puzzles, not for searching game trees.