home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / ai / neuraln / 3338 < prev    next >
Encoding:
Text File  |  1992-08-29  |  3.8 KB  |  81 lines

  1. Xref: sparky comp.ai.neural-nets:3338 comp.ai:3251 comp.theory:1833
  2. Newsgroups: comp.ai.neural-nets,comp.ai,comp.theory
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ubc-cs!fornax!jamie
  4. From: jamie@cs.sfu.ca (Jamie Andrews)
  5. Subject: Re: measuring complexity (was Re: Kolmogorov Complexity)
  6. Message-ID: <1992Aug27.181810.7249@cs.sfu.ca>
  7. Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada
  8. References: <1992Aug14.183256.20441@access.digex.com> <1992Aug17.171934.9364@cs.sfu.ca> <1992Aug27.010147.16422@fid.morgan.com>
  9. Date: Thu, 27 Aug 1992 18:18:10 GMT
  10. Lines: 69
  11.  
  12. In article <1992Aug27.010147.16422@fid.morgan.com> sethb@fid.morgan.com (Seth Breidbart) writes:
  13. |In article <1992Aug17.171934.9364@cs.sfu.ca> jamie@cs.sfu.ca
  14. |(Jamie Andrews) writes:
  15. |
  16. |>     So, for instance, the K-complexity of a given list of
  17. |>numbers might be defined as:  the length of the shortest program
  18. |>in pure LISP such that the value of the s-expression "(result)"
  19. |>is that list.  (Well, I guess it would have to be pure LISP plus
  20. |>some arithmetic functions.)  The "length" of a program might be
  21. |>defined as the total number of atoms plus the total number of
  22. |>sets of parentheses, to give a more realistic idea of the
  23. |>storage space needed by the program.
  24. |
  25. |If any number will fit in one atom, then all strings have complexity
  26. |bounded above by some small number.
  27.  
  28.      Good point, I should have said that the length of an
  29. integer is its log, or something like that.  When I said "atom"
  30. I was thinking only of LISP's symbols.  I suppose we would have
  31. to factor in the possibility of encoding via large numbers of
  32. distinct atoms:  the length of each symbolic atom should be the
  33. log of the number of distinct atoms in the program.
  34.  
  35. |>     A measure of K-complexity relative to some standard suite
  36. |>of function definitions could be given, too.  The relative
  37. |>K-complexity would be the length of the shortest pure LISP
  38. |>program containing that suite of definitions, _minus_ the length
  39. |>of those definitions.  The minimal program could then make use
  40. |>of the "knowledge" in the standard functions without having to
  41. |>derive it.
  42. |
  43. |Since the answer is almost always undecidable, I doubt you could get
  44. |any interesting results.
  45.  
  46.      Not interesting to automata theorists, perhaps, but the
  47. original poster was interested in AI applications where the
  48. minimal program is taken as an encoding of the knowledge.
  49. Randomized algorithms (see below) might be interesting to
  50. complexity theorists too.
  51.  
  52. |If a randomized algorithm is any that _can_ output the string, a
  53. |trivial one exists: (output random bit; maybe loop).  If it _must_
  54. |output the string, or can only output the string (or die), or outputs
  55. |the string with some minimal probability, then you haven't gained
  56. |anything from randomness.
  57.  
  58.      I suppose I was intending to mean something like this:  an
  59. epsilon-delta algorithm A which, when given a string S, outputs
  60. a program P such that
  61. (a) P outputs S, and
  62. (b) with probability (1-delta), the length of P is within
  63.     epsilon percent of the length of the minimal program which
  64.     outputs S.
  65. (It's trivial to output *some* program which outputs S -- it
  66. would be just (defun (result) (quote S)), where S is the listing
  67. of the string.  The problem is getting the length down, for long S.)
  68.  
  69.      This might not be the exact formulation needed... is this
  70. problem trivial too?  Do we need some tighter epsilon-delta
  71. bound?  What is the sample space -- all strings of length k
  72. or less, or all strings output by programs of length k or less,
  73. or something else?  What is the distribution on the sample
  74. space?  And what would the algorithms look like, and what would
  75. be their time and space bounds?  I think these are pretty
  76. interesting questions.
  77.  
  78. --Jamie.
  79.   jamie@cs.sfu.ca
  80. "Every \item command in item_list must have an optional argument." LaTeX pg.168
  81.