12 ms·
Simple electrical circuit learns on its own–with no help from a computer
- beardyw 5y agoExcept it is a computer, an analogue one.
- tux1968 5y agoThey essentially made a simple analog computer. Veritasium just did a video about the future of such computers: https://youtu.be/GVsUOuSjvcg https://youtu.be/GVsUOuSjvcg
- NotAWorkNick 5y ago“If it’s made out of electrical components then you should be able to scale it down to a microchip,” he says. “I think that’s where they’re going with this.” Mind.Blown. This could be a very interesting development. Which would be best for this - ASIC,FPGA,VLSI? Something else? for a rapid prototype setup?
- FrozenVoid 5y agosearch 'memristor neural network'
- mmmBacon 5y agoNone. This is an analog computer. There are devices such as the field programmable analog array (FPAA) however that may be suitable. https://www.anadigm.com/fpaa.asp https://www.anadigm.com/fpaa.asp
- freemint 5y agohttps://anabrid.com/ https://anabrid.com/ is working on programmable analog computer on a chip though. So far they are only selling discrete hybrid calculators and an educational "cheap" analog computer. https://the-analog-thing.org/wiki/Main_Page https://the-analog-thing.org/wiki/Main_Page Those FPAA seem just to be programmable analog filters not analog (or hybrid) computers.
- mmmBacon 5y agoActually you can do a lot of computation with filters but you’re completely incorrect about what a FPAA is. The FPAA is a matrix of switched capacitors. Such a matrix can be used to design an analog computer. There’s a pretty huge body of literature on this subject. I’d bet that the OP could have implemented this using FPAA. Randomly picked a paper https://ieeexplore.ieee.org/document/7027875 https://ieeexplore.ieee.org/document/7027875
- freemint 5y agoYou are correct. However I don't see anything on implementing exponentials or logarithms of signals thus i am confused how one would implement the product of time time continuous signals. I saw an screenshot in anadimgs software which suggested that a small number of such multipliers can be modelled but I am unsure how. If you have some explanation where inside the block diagram these analog multipliers would be implemented that would be helpful. Anadigm is a bit shy about numbers one would care about as analog programmer. How many multipliers with constants, summers, multipliers of two signals and integrators are available on the chip? Resource on that would be welcome.
- oolonthegreat 5y ago"learns on its own" makes it sound like unsupervised learning, but it's labeled data: the researchers also input the correct "output voltage" which they want the system to learn. it's still neat tho. I feel that an AGI will come out of an analog computer rather than a digital one.
- isaacimagine 5y agoI feel like AGI will be an emergent property of a network of computers rather than an individual analog-or-digital one.
- phkahler 5y ago>> To train the system with a minimal amount of computing and memory, the researchers actually built two identical networks on top of each other. In the “clamped” network, they fed in the input voltages and fixed the output voltage to the value they wanted. In the “free” network, they fixed just the input voltage and then let all the other voltages float to whatever value they would, which generally gave the wrong voltage at the output. >> The system then adjusted resistances in the two networks according to a simple rule that depended on whether the voltage difference across a resistor in the clamped network was bigger or smaller than the voltage difference across the corresponding resistor in the free network. After several iterations, those adjustments brought all voltages at all the nodes in the two networks into agreement and trained both networks to give the right output for a given input. How is this not just a perceptron? I'm also curious about the rule for adjusting resistances in both networks.
- L_226 5y agoIt is a perceptron, just implemented in actual hardware. The Veritasium YT channel recently did a piece on analogue computers [0]. I didn't find his explanation too compelling, but it is still a good video. [0] - https://www.veritasium.com/videos/2021/12/21/the-most-powerful-computers-youve-never-heard-of https://www.veritasium.com/videos/2021/12/21/the-most-powerf...
- supercheetah 5y agoAna does a better job I think of explaining some of the finer details, and some specific implementations[1]. 1. https://youtu.be/67LXWocO9HI https://youtu.be/67LXWocO9HI
- mywittyname 5y agoIt sounds specifically like a linear adaptive filter.
- selimthegrim 5y agoCan you elaborate? Is there a windowing function at all?
- RaisinLoaf69 5y agoI actually work on this project! Feel free to ask any questions. Also, here’s an arxiv link to one of the papers if anyone is interested: https://arxiv.org/abs/2108.00275 https://arxiv.org/abs/2108.00275
- mlajtos 5y agoQuite fascinating paper. How did you come up with this twin architecture? Can this effect be simulated in software?
- RaisinLoaf69 5y agoThank you! Definitely a group effort. Two big things that contributed to the choice: We knew we didn’t want the system to have to store memory on each edge so that eliminated a lot of our options. In our experimental learning rule we only had to compare voltages which is actually easier to do if we have two simultaneous networks.
- mlajtos 5y agoInteresting, I haven't seen this twin approach anywhere in ANNs. (I know about Barlow twins and Siamese nets, but this is different.) How did you decide on the topology of the network/graph?
- RaisinLoaf69 5y agoSince we have no global processor, each edge is changing using only local information, a lot of stuff that makes sense in our network doesn't really make sense in ANNs and vice versa. For example, in our newest paper (https://arxiv.org/abs/2201.04626 https://arxiv.org/abs/2201.04626) we desynchronize the updates of our edges. Instead of changing the entire system all at once, we change random parts of it each training step. This doesn't really make sense to do in an ANN where you require global information for every edge update. The shape of the network is actually inspired by jamming solids (we're a soft matter lab), but is completely arbitrary. We've done a ton of different shapes and sizes in simulation.
- mlajtos 5y agoLink to arXiv: https://arxiv.org/abs/2108.00275 https://arxiv.org/abs/2108.00275
- TheRealPomax 5y agoI'm a little confused about this title: the circuit _is_ the computer. It gets help from literally being the computer necessary to update itself.
- ladyattis 5y agoThis reminds me of the circuit used by some folks to match transistors at home. In this case, it utilizes a form of wheatstone bridge with a potentiometer to deal with non-matching resistors to level out the test rig (source of the circuit in question: https://www.youtube.com/watch?v=t--0fCMzfIo https://www.youtube.com/watch?v=t--0fCMzfIo ).
- blt 5y agoSeems like continuous-time gradient descent on something approximating a ReLU network would not be too terribly difficult to implement in analog hardware. Instead of summing gradients over a minibatch we could do pure SGD with only one sample at a time, using a latch to hold the sample constant while loading another one from storage. Has this been done?
- dekhn 5y agoIsn't that the Mark I perceptron? https://en.wikipedia.org/wiki/Perceptron https://en.wikipedia.org/wiki/Perceptron with some exceptions (it's single-layer, and the entire dataset is a single batch input).
- deleted 5y ago[deleted]
- YeGoblynQueenne 5y ago>> We withhold 120 of the 150 flowers as a test set, and train on 30 flowers, 10 from each species. We designate 5 input nodes (one for each measurement plus one fixed ground) and three output nodes (Fig. 3D inset). Between training steps, the entire test set of 120 flowers is run through the network, and a flower is considered correctly classified if its three out- puts are closest (L2 norm) to the desired outputs of the correct species. I know this is the done thing in machine learning and I don't hold it against the authors, I just hold it up as an example of the broken training regime that is the golden standard throughout machine learning: a test set is said to be "held out" only because it is not used to directly adjust the parameters of a model. In truth, it is not held out, because it is used to control when training has achieved its goal and the inner loop can stop adjusting the model's parameters. In the paper, the device is nominally trained on "30 flowers" but in practice "the entire test set of 120 flowers is run through the network" between training steps. In other words, there is an "inner" learning loop performed on the "30 flowers" but this inner loop is dominated by an outer loop on another 120 flowers. At the end of each inner-outer loop pair, the system has seen all the data. Training ends only once the performance on the 120 flowers has stopped changing. Then it's asked to classify the 120 flowers again. What a surprise, it performs very well. But we have learned nothing of its ability to classify _truly_ unseen data that was not used in either its inner or outer training loop. So from that point of view, I'm sorry to say (and with apologies to the authors who are probably monitoring this thread) but nothing new has been done. The same old bad practices have been encoded in hardware.
- wannesm 5y agoI agree this is not how you should evaluate. But it is not how things are done in (correctly executed) ML. What is described is a validation set, not a test set. The test set should not be involved in training or(hyper)parameter optimization at any time.
- YeGoblynQueenne 5y agoYou are right of course that it shouldn't, but in practice it always is. The pragmatic reason for that is that if a team spends a month and a few thousand dollars developing and tuning a system, and then they find that the first time they test it on their held-out test set it doesn't work, there is no way that they'll just drop it and accept that all their effort and funds got to waste. They'll just keep trying until their system retruns the best results on the test set. At which point they've overfitted their system to the test set. It's rare that this is described as clearly as in the paper I quote from but I think that's because the authors of the paper are not machine learnig people. In most machine learning papers you really have to squint between the lines to be sure what's been done. Edit: btw, this is the paper I quoted from, linked by the author upthread: https://arxiv.org/abs/2108.00275 https://arxiv.org/abs/2108.00275 I should have posted my comment under theirs but I got distracted and posted it on top instead.