home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / ai / neuraln / 5005 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: fischthal@vnet.ibm.com (Scott Fischthal)
  3. Message-ID: <19930128.060406.472@almaden.ibm.com>
  4. Date: Thu, 28 Jan 93 08:54:40 EST
  5. Newsgroups: comp.ai.neural-nets
  6. Subject: Re: a beginner's quiestion
  7. Organization: IBM Federal Systems Co.
  8. Disclaimer: This posting represents the poster's views, not those of IBM
  9. News-Software: UReply 3.0
  10. References: <93026.180345K77BC@CUNYVM.BITNET>
  11. Lines: 24
  12.  
  13. In <93026.180345K77BC@CUNYVM.BITNET> <K77BC@CUNYVM.BITNET> writes:
  14. > My question is: When I run the XOR problem with one hidden layer
  15. > it converges (abeit slowly). But if I use more than one hidden
  16. > layer, it gets stucked (in local maximum?).
  17. > Is this supposed to happen or It's just my code...?
  18.  
  19. It probably is not your code; standard backprop nets with multiple
  20. hidden layers are always more difficult to control.  How many nodes are
  21. you using in each hidden layer, what is your learning rate and momentum
  22. and what activation function are you using?  Also, how many epochs (runs
  23. through the data set) are you giving it before you throw in the towel?
  24. With some sets of random weights, I've found XOR-analogous sets to take
  25. literally hundreds of thousands of iterations to learn (on the other
  26. hand, sometimes the net converges very quickly).
  27.  
  28. Keep in mind that the XOR problem is not really an appropriate one to
  29. solve with neural nets; it's important to know that it *can* be solved,
  30. but such discrete, highly linearly non-separable problems are generally
  31. better handled with other techniques.
  32.  
  33. Scott Fischthal
  34. Artificial Intelligence Technology Center
  35. IBM Federal Systems Company
  36. Gaithersburg, MD
  37.