Fluid Concepts & Creative Analogies

Douglas R. Hofstadter, Fluid Analogies Research Group

Mentioned 1

Describes research projects in cognitive science over the past twenty years, and discusses arithmetical play, analogy, research evaluation, and creativity

More on Amazon.com

Mentioned in questions and answers.

Are there any algorithms/tools to detect an a priori unknown pattern in input sequence of discrete symbols?

For example, for string "01001000100001" it is something like ("0"^i"1"), and for "01001100011100001111" it is like ("0"^i"1"^i)

I've found some approaches but they are applied when a set of patterns to detect in a sequence is a priori known. I've also found the sequitur algorithm for hierarchical structure detection in data but it does not work when the sequence is like "arithmetic progression" like in my examples.

So I'll be very thankful for any information about method/algorithm/tool/scientific paper.

I believe that as someone pointed out, the general case is not solvable. Douglas Hofstadter spent a lot of time studying this problem, and describes some approaches (some automated, some manual), see the first chapter of:


I believe his general approach was to do use an AI search algorithm (depth or breadth first search combined with some good heuristics). Using the algorithm would generate possible sequences using different operators (such as repeat the previous digit i times, or i/2 times) and follow branches in the search tree where the operations specified by the nodes along that branch had correctly predicted the next digit(s), until it can successfully predict the sequence far enough ahead that you are satisfied that it has the correct answer. It would then output the sequence of operations that constitute the pattern (although these operations need to be designed by the user as building blocks for the pattern generation).

Also, genetic programming may be able to solve this problem.