News for hackers. Stuff that matters.
Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @08:03AM (#30577325)
There are many caveats to this, esp. that this "fact" has nothing to do with whether training a neural network on a dataset will be useful.

There is often no function to find in solving a problem, ie., there is no mapping from ImageSpace -> DogCatSpace. Ie., most things are genuine ambiguitites --- a stick in a water appears bent, indistinguishably from an actually bent stick in some other transparent fluid.

Animals solve the problem of the "ambiguity of inference" by being in the world and being able to experiment. Ie., taking the stick out of the water. A neural network, in this sense, cannot "take the stick out the water" -- it cannot resolve ambiguities. So that it can "approximate functions" is neither necessary nor sufficient for a useful learning system.

More significantly, a NN is a very very bad approximator of many functions. Consider approximating a trajectory so that one can then find an acceleration, ie., here we need f(x) to find d2f/dx2 -- NN approximations are typically "OK" at the f(x) level and really really crappy at the df/dx level, because the non-linear functions NNs just glue together are only trainable if theyre very rough.

For these, and lots of other reasons, this theoretical approach to learning is largely marketing none-sense. If you go out and actually study the only known systems which learn effectively (ie., animals), one does not find the need for universal approximator theorems in explaining their capacities.

These theorems only show that NNs are, like many computational statistical techniques, sufficient for a wide class of "mere approximation" problems that are only narrowly useful within the whole field of learning-as-such.

Re:A visual proof that neural nets can compute any function by tiborsaas on Sunday March 06, 2022 @01:33PM (#30579807)
Did you really compare a single neural network with a real physical agent (dog) with 5 senses, trillions of cells, a complex inter-connected brain operating in the real world? This is close to what I'd call unfair, or straw-man argument.

This is like calling calculus useless, because it doesn't help you pick one kind of milk versus another in a supermarket.

Universal function approximation is a great tool if used correctly. From what I understand, it comes in handy when our puny human brain can't come up with an algorithm to produce such function. Let's stick to image recognition/processing. Can you write a function that recogizes a cat or a dog on a 64x64 greyscale image? Or write a function to remove the background from a picture of a person. Can you write a function to generate a 3D depth map for a 2D picture?

> These theorems only show that NNs are, like many computational statistical techniques, sufficient for a wide class of "mere approximation" problems that are only narrowly useful within the whole field of learning-as-such.

That's exactly what people are looking for in most cases, the mere approximation can be good enough to consider the problem solved.

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @01:55PM (#30580033)
I've spoken with no-end of people who think "universal fn approximation" is some magic token to be played in the AI debate -- people getting PhDs in ML no less.

These are people really, in my experience, with no science background -- c-sci programmers who dont have any conceptual foundations in applied mathematics or science (outside of the discrete math taught in csci) -- and who take these properties as genuinely quite magical.

"Intelligence" is, to them, just some function and if NNs can approximate any fn, then presumably they'll be intelligent.

They arent aware that in a sense, everything is a dynamical function of space and time (say, stuff(x, t)) and to instantite it, one requires the entire universe.

In otherwords, csci people are not used to thinking about applied mathematics in the sense of science (, implementation of functions, dynamical functions, and so on). I think it is important for this audience to demystify these properties.

Being a universal fn approximator, in my view, is neither a necessary nor sufficient property of any system implementing intelligence. It's really a misdirection.

Re:A visual proof that neural nets can compute any function by tiborsaas on Sunday March 06, 2022 @02:15PM (#30580222)
I'm one of these persons with no formal training in any scientific fields. I don't think any of what you assume people like me think in your stereotype. I know it's not magic, it's brute force problem solving. Once you are capable of training systems like this, you get to solutions which are really powerful.

All you see is numbers and functions, and all I see is problems being solved by these AI/ML methods and often in quantifiably better ways than intelligent humans can.

NN-s are the building blocks. Neurons in your brain are dumb as well, it's the quality of the network that matters. So instead of moving goalposts, what do you think is required to implement intelligence?

Re:A visual proof that neural nets can compute any function by AlotOfReading on Sunday March 06, 2022 @03:06PM (#30580725)
Just because you can brute force things doesn't mean it's a practical way to solve certain problems. The set of all C++ programs humans will ever write is finite and therefore parseable with a regular language, but no one's out there writing C++ compilers that way for obvious reasons. That's the essence of what I think GP is getting at.

I don't know if NNs are sufficiently powerful escape that argument because my formal understanding of "the world" simply isn't good enough, but it's not obvious to me that they are.

Re:A visual proof that neural nets can compute any function by tiborsaas on Sunday March 06, 2022 @03:33PM (#30580996)
I've seen a case when someone implemented an algorithm after an existing AI was created. I can't remember unfortunately, but the hand made version was better so it's certainly a possibility. NN-s automate human problem solving as it was demonstrated recently by DeepMind's AlphaCode.

It can be quite practical though as we failed to come up with solutions that were previously out of reach before deep neural networks (and massive increases in hardware capabilities).

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @09:13AM (#30588004)
AlphaCode works by first generating many millions of programs from a large language model trained on all of github and fine-tuned on a dataset of problems like the ones it's supposed to be solving. Then, those millions of problems are reduced to several thousand, by "filtering" on input/output examples of the target problem. Finally, these many thousands of examples are further reduced by hand-crafted heuristics, clustering and ranking, that finally select k prorgams, 10 in the paper introducing AlphaCode.

This is not a practical approach. It's a maddenlingly resource-intensive approach that spams programs at an insane rate and hopes to get lucky and catch a few that solve a programming task. In the evaluations listed in the AlphaCode paper, it performs awfully against the test set of its training dataset and a pre-existing benchmark. DeepMind have drummed up their systems ability to do about as well as the average participant in a code contest, but that's no measure of coding ability.

Deep neural nets are certainly very far from automating human problem solving, like you say in your comment. Your comment is exactly the kind of overhyped misunderstanding of the state-of-the-art that the OP is warning against.

Re:A visual proof that neural nets can compute any function by tiborsaas on Monday March 07, 2022 @11:25AM (#30589707)
Thanks for the deeper explanation. Even though it's not practical, it's an approach that previously wasn't possible so at least some cheering for it is valid.

Problem solving is getting automated, but to what extent is debatable, we are indeed in the early stages. I haven't suggested that it's already AGI.

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @11:31AM (#30589803)
>> Even though it's not practical, it's an approach that previously wasn't possible so at least some cheering for it is valid.

The approach taken by DeepCode -- generate-and-test -- was always possible and is a staple in inductive program synthesis. DeepCode's version is a particularly crude and backwards-looking attempt at implementing that approach. It's no advance of any kind and it only looks like it is because DeepMind's preprint reporting on it carefully ignores most of what has gone before in inductive program synthesis, the better to show off its new system. It's a scandalous tactic that is a staple of DeepMind's publications and I'm very sorry that I can't find anything positive to say about it.

Also, I'm not talking about AGI. At this point, AGI is a fantasy. What we can hope for is to create systems that we can control well, for example to make them learn what we want them to learn and not to overfit to their dataset. In this, also, there seems to be a regression, recently, as the tendency is to train systems end-to-end while trying to remove "the human in the loop" (which is, of course, impossible).

Re:A visual proof that neural nets can compute any function by tiborsaas on Monday March 07, 2022 @12:13PM (#30590422)
> At this point, AGI is a fantasy.

I thought you did, because fully automated problem solving is AGI, but I don't claim that we are anywhere near to reach it.

I agree it's probably far away, but it's a fantasy I like to imagine and I don't think it's an impossible goal. Don't be sorry, I appreciate a fair criticism.

> What we can hope for is to create systems that we can control well, for example to make them learn what we want them to learn and not to overfit to their dataset.

I wish you strong nerves, because it will have AGI written all over it :) Again, this is not a claim, just a prediction.

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Tuesday March 08, 2022 @08:12AM (#30599489)
I don't think that having control over machine learning systems must necessarily mean AGI. For example, suppose I train an image classifier to learn to identify dogs in images. And suppose I find that my classifier has learned to label all images that have a dog collar as "dog" and no image that doesn't have a dog collar as "dog". That means my classifier has learned an over-specialised definition of "dog" that doesn't generalise to dogs without dog collars, and at the same time an over-general definition that may accept, say, a fetish model with a dog collar as a "dog". That is not a system that performs as I want it to perform: I wanted a dog classifier but I got a dog collar classifier. What I want is to be able to control my system to learn to identify a dog as a "dog" rather than a dog collar as a "dog". That's "control" and when I achieve it my system is still not an AGI, just an image classifier that generalises well.
Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @02:37PM (#30580445)
Well, I'm not making a sterotype -- I'm offering an explanation of the people i've met. It's very hard to converse with people whose academic background is discrete mathematics, in an essentially empirical domain (that of modelling intelligence).

There's a lot which is odd (and dubious) in AI/ML that traces is origins to this peculilar situation of a discipline (csci) in the "early phases" of modelling an empirical phenomenon, without yet, an intra-disciplinary theoretical support for it -- csci people take geometry and classical physics to make video games. They dont yet take the equivalent to make intelligent systems (which would include stuff on learning in animals, humans; and in my view, more applied math).

In any case, to answer your question about implementation, see https://news.ycombinator.com/threads?id=mjburgess#30579711

Re:A visual proof that neural nets can compute any function by beaconstudios on Sunday March 06, 2022 @05:06PM (#30581747)
NNs are clever, but what they do is essentially reverse programming. Rather than you write a function that translates a -> b, you give it a -> b mappings and the training writes the function. What GP was saying is something that most programmers should already know: that writing the function is usually the easy bit, and the hard bit is defining and then modelling the problem; NNs can't do that.
Re:A visual proof that neural nets can compute any function by netizen-936824 on Sunday March 06, 2022 @05:04PM (#30581740)
There is far more computational power in a single neuron than any NN that I've heard of.

One of the single approximated "neurons" in a AI/ML NN doesn't even operate anywhere close to a real neuron. Real neurons are oscillators which exhibit nonlinear dynamic behaviors

Re:A visual proof that neural nets can compute any function by sifar on Monday March 07, 2022 @12:36PM (#30590802)
I think what the OP is implying that the intelligence we find in nature is not isolated computation but is physically situated - it can sense and manipulate it's environment.

The current DNN based approach do not do that. Sure you can create an autonomous vehicle that uses NN to help navigate - but it does not update it's inference if it is incorrect. That immediate feedback doesn't exist or rather it is not accessible to the system itself. One has to collect the data, retrain the network and deploy it again to close the loop.

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @08:45AM (#30587639)
[NOT THE OP]

>> All you see is numbers and functions, and all I see is problems being solved by these AI/ML methods and often in quantifiably better ways than intelligent humans can.

Maybe in playing chess and go, but in any other task that neural networks have been compared to humans directly, the ability to outperform humans is more informative of the limitations of the measures of performance, than of the capabilities of the tested systems (typically, deep neural networks).

Take large language models (LLMs) for example. Last time I looked -it was a while ago but- LLMs like BERT, ERNIE and their famous friends scored very highly and even above humans in natural language understanding tasks, such as those in the GLUE and SUPERGLUE benchmarks.

You'd think that a system that scores 85% in a language understanding task has developed at least _some_ ability to understand language. And yet this is not the case. LLMs, despite their ability to score highly in formal benchmarks, remain dumb as bricks and as incapable of understanding human language as a rock.

We know this because every once in a while someone in the field of NLP looks away from their favourite leaderboard for long enough to ask serious questions about the performance of systems, as for example [1] who started by asking why a language model like BERT would be any good at argument comprehension (BERT scored only three points below humans in a relevant benchmark task). Everytime anyone undertakes this kind of analysis of the abiltiy of LLMs to understand language, the conclusion is that they don't, and instead they learn "cheap tricks" and overfit to statistical regularities of the benchmark datasets. Similar analyses have found similar results in machine vision (e.g. [2], [3]) etc.

The question then is, in what sense, exactly, is an automated system solving problems "in quantifiably better ways than intelligent humans can", when that system is not even solving the problem it's supposed to be solving, like the problem of understanding language by LLMs? The idea that those systems "solve problems", when they 're really only overfitting to their training sets, is an artifact of the shoddy scholarship that is typical in deep learning research, and the OP is right to be concerned that there is little understanding between machine learning researchers of what, exactly, it is that their systems are doing- or even trying to do.

And, as the OP points out, I'm afraid that really is the result of a poor background, not only in sciences and mathematics, but in AI and even machine learning itself, among the current generation of machine learning researchers. Contrary to what the OP says, though, this paucity of relevant background is the result of an influx to the field of people from the sciences, who have a background in continuous mathematics, but not in AI or computer science. It is, indeed, a background in computer science that can best guard against misconceptions about computers being wonder machines with magickal intelligence abilities. At the very least, you don't have to explain to a computer scientist why solving one instance of a class of problems does not mean a general solution for the entire class. That comes built-in to most who have graduated in the discipline. But is it built-in to phycisists, or biologists, who study very different systems?

________________

[1] Probing Neural Network Comprehension of Natural Language Arguments

https://aclanthology.org/P19-1459/

[2] Intriguing properties of neural networks

https://research.google/pubs/pub42503/

[3] The Elephant in the Room

https://arxiv.org/abs/1808.03305

Re:A visual proof that neural nets can compute any function by mjburgess on Monday March 07, 2022 @10:32AM (#30588931)
The influx of scientists is a fascinating criticism. I guess maybe the lunatics run the asylum here, and what I've seen from recent csci grads is partly because theyre being educated by people without the traditional csci scepticism (which I agree, is there: the older generation of csci academics and much more aligned with my view).

Perhaps "scientist" is too vague a term. I mean people with a "in their bones" appreciation of experimentalism, empirical adequecy etc.

What you're saying overall aligns with my view -- no on here is defining empirical adequacy on ML systems as "theories of natural language". As soon as you do this, which would be step1 in any experimental endeavour, the whole show collapses.

No one here is being taught to target empirical systems and develop criteria of empirical adequacy... thinking somehow "accuracy on benchmarks" tracks "ability to understand language" -- this, as we both think, is mad.

I guess my cultural issue is better described then as "pureish mathematicians" having come to own an empirical field, with all the predicatable nonesenses which follow (whether they are discrete or continous).

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @11:38AM (#30589917)
Well, AI research is full of pathologies and I don't decry the "influx" of people from the sciences into the field. I'm just worried that the people who enter the field don't understand what's going on because they don't know what's been done before. To the extent that scientists from other fields can bring in the tools that computer science is lacking and a fresh new look at what AI reserach has done so far, then it's great to have them. I'm convinced, like I think you are, that progress towards artificial intelligence can only be achieved by an inter-disciplinary approach.

>> (...) the older generation of csci academics and much more aligned with my view).

That's true and hardbreaking. I don't know what we can do about that. The success of big tech corporations has broken computer science education, I'm afraid, and now all that graduates care about is how to make a six-figure salary at a FAANG.

Re:A visual proof that neural nets can compute any function by posix86 on Sunday March 06, 2022 @06:31PM (#30582346)
I think you don't recognize the power of an universal function approximator. You you seem to underestimate the possible number of ways that problems can be abstracted as functions to and from n dimensional vectors. It's a very non intuitive statement that a neural network can be used to recognize dogs and images from images.
Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @09:18AM (#30588074)
Is it more intuitive to say that a convolutional neural network can map sets of pixels to scalars denoting categories of objects? I think not, but it's harder to misunderstand the less intuitive description, and much, much easier to overhype the more intuitive one. "OMG, neural nets can recognise cats and dogs!". Humans can recognise cats and dogs and also know what cats and dogs are, so it's very easy to misunderstand the ability of CNNs to map between sets of pixels and category labels as a general ability to understand the world, which is not there.
Re:A visual proof that neural nets can compute any function by dchftcs on Sunday March 06, 2022 @10:45PM (#30584013)
The point is that there are many different universal function approximators, so just that adds no value to explaining why NNs are good. This type of theory is meaningful (because it's harder to have taken anything as complex as multi-layer perceptron seriously without it back in the 80s), but it's not a fact that's going to help us make any progress nowadays. Mentioning it over and over again just distracts us from the real problems we need to address.
Re:A visual proof that neural nets can compute any function by saeranv on Sunday March 06, 2022 @08:56PM (#30583346)
Personally, I feel like we're on the other end of this trend, and rather then people constantly claiming DL equals AI, there's now always someone who can't wait to explain why DL doesn't equal AI and bemoan the AI hype in the customer-facing side of the industry.
Re:A visual proof that neural nets can compute any function by jazzyjackson on Monday March 07, 2022 @02:16AM (#30585029)
> Did you really compare...

I think the guilty party is whoever chose the label "neural" to describe high dimensional regression.

I don't see a rebuttal in your reply. NNs can make for good classifiers but they certainly get overused trying to make predictions in spaces that are not predictable.

Re:A visual proof that neural nets can compute any function by tiborsaas on Monday March 07, 2022 @11:46AM (#30590060)
It's just so annoying to read a condescending tone of a cool mathematical and computational tool to the degree of almost ridiculing it. It happened before and it caused the first AI winter, which was unfortunate. Maybe they are annoyed too that it gets overhyped and misrepresented.
Re:A visual proof that neural nets can compute any function by version_five on Sunday March 06, 2022 @09:43AM (#30577855)
> There is often no function to find in solving a problem, ie., there is no mapping from ImageSpace -> DogCatSpace. Ie., most things are genuine ambiguitites --- a stick in a water appears bent, indistinguishably from an actually bent stick in some other transparent fluid.

That's tangential imo. There is a function that maps from image space to dog/cat/don't know space. A sentient being that get the "don't know" can get more info to resolve the ambiguity (or rephrase the question). A universal function approximator can still make itself useful even if all it can do it say it doesn't know. This is a question of problem setup.

NNs are bad at extrapolating, including e.g. trivially to periodic functions. This is a limitation if you thought they could do that, but again a question of understanding what they do.

Hype, as you say, leads some people to believe NNs are magic, leading to mismatched expectation. A universal interpolate-only function approximator is still pretty useful though, just maybe disappointing if you understood that to imply sentience

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @09:52AM (#30577912)
Sure, we could see `animal = f(image)` as a partial function and lift it into some total function space, `maybe_animal = f(image)`.

Is our reasoning here actually this total function though? We really do always need to keep in mind that animal reasoning will terminate, animals will act "guided by other reasoning", and resume the original reasoning process.

Action really messes up this neat "totalising option" for partial functions. If i'm not sure if "fluffy" is a dog or a cat, i might wait longer for it to move; I might throw something at it; I might ask its owner.

This isnt as simple as "don't know", since reasoning is kinda time-bound and time-parameterised, my very measuring process is sensitive to my own confidence in what-something-is.

Is this really "f(image) = dont-know"? I dont think so.

I think it's more like, "judgement = body-brain-state(t, reasoning-goal, {action policies}, ...large-number-of-other-things)".

This gets to my issue. In my view what animals are doing is better described by a dynamical equation of state (like a wavefunction), as the whole system is operating under its own dynamical evolution (including, eg., what fluffy does in response to your puzzlement).

I dont see Dog|Cat|DontKnow as the answer here. I dont think it's the actual total function which corresponds to our judgement, though it probably is total -- we just end up with "DontKnow" in all the cases actual intellkigence is requireds.... the very think we're aiming to model.

Re:A visual proof that neural nets can compute any function by sdenton4 on Sunday March 06, 2022 @11:05AM (#30578454)
"NNs are bad at extrapolating, including e.g. trivially to periodic functions."

WaveNet and its descendents are the obvious counter example here. It is excellent at learning to generate periodic and nearly periodic functions...

Re:A visual proof that neural nets can compute any function by version_five on Sunday March 06, 2022 @11:48AM (#30578817)
I know I've seen papers where they use sinusoidal nonlinearities to learn periodic functions. I felt like that's a bit of a hack though (not necessarily a bad thing)- you're bringing domain knowledge in, which if you allow makes it easy to extend to periodic functions. The failure of a vanilla nn to learn periodicity is I think a specific failure to extrapolate, which is the bigger problem.

I'll take a look at the architecture you mention.

Edit: looked it up, I see it's an auto regressive model, like pixel CNN in 1D. I do know pixelCNN, I hadn't really considered the connection to periodic functions but I see what you're saying. In a sense any AR model is extrapolating, but not in the sense I mean: it has seen training examples of the next point predicted from the last points, it's not extending a relationship it learned in training to something new. Anyway, thanks for pointing the model out

Re:A visual proof that neural nets can compute any function by sdenton4 on Sunday March 06, 2022 @06:02PM (#30582155)
There's ample literature showing that neutral vocoders generalize to new speakers not seen in training. IME, once you train on around ten speakers the models generalize quite well to new speakers, and in practice training sets for production models are often using hundreds of speakers for training.

There are also non autoregressive GAN vocoders which work great, with a tiny fraction of the compute of the original WaveNet. Soundstream is a good example of this.

My own work on bird song separation uses non AR models for generating separation masks. It works great and generalizes to new habitats and species without difficulty. https://ai.googleblog.com/2022/01/separating-birdsong-in-wil...

Calling architecture variants a hack is risking no true Scotsman arguments... The only true neutral networks are the ones that don't work, perhaps?

Re:A visual proof that neural nets can compute any function by rileyphone on Sunday March 06, 2022 @02:04PM (#30580128)
I think the approach of [0] is closer to what’s going on in our brains, basically evolving symbolic equations of partial derivatives until we get something good enough. Really fascinating and succinct paper.

0. https://cdanfort.w3.uvm.edu/courses/237/schmidt-lipson-2009....

Re:A visual proof that neural nets can compute any function by sdenton4 on Sunday March 06, 2022 @11:03AM (#30578442)
You've got a kind of narrow view of the matter... The need for interactive understanding is addressed in different ways by reinforcement learning, GANs, and autoregressive recurrent neutral networks.

In the latter cases, the generative output of the network is a kind of experiment, and back prop from the loss function provides a route to improvement.

I think it's an unfortunate historical accident that the field of machine learning is so transfixed with classifiers. But they're really not the only game in town.

Re:A visual proof that neural nets can compute any function by fxtentacle on Sunday March 06, 2022 @01:30PM (#30579773)
The article also conveniently glosses over the fact that all AI calculations are limited in their maximum complexity by the depth of the AI. For example, for x! the best a regular DL AI can do is to memorize some values and interpolate between them.
Re:A visual proof that neural nets can compute any function by shawnz on Sunday March 06, 2022 @08:55AM (#30577610)
> If you go out and actually study the only known systems which learn effectively (ie., animals), one does not find the need for universal approximator theorems in explaining their capacities.

What's the explanation for their capacities, then?

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @09:10AM (#30577696)
direct, theory-laden, causal contact and pro-active engagement with their environments... eg., taking the stick out of the water.

"data" (even from an animal's pov) is basically, by nature, ambiguous. Measurement is an event in the world (eg., light hitting the eye) which isn't somehow unambiguously informative. To over come this problem, basically, animals move stuff.

The adaptable motor cortex of the most intelligent animals, therefore, isnt something to be tacked-on to "intelligence", it's the precondition for it.

Glibly: tools before thoughts. Reason needs content to operate on, the content of our thoughts is built via our (sensory-)motor systems.

The idea that we need ever more theoretically powerful models of reasoning here is a misdirection -- it misses that the heart of everything we know arrives via some form of repeated experiment.

Every more automated "pure reasoning" either via statistics or symbolically, is always just a means of juicing the data we provide the system. Useful as a technology, but not as a genuine learning system. It will never have the means of resolving the many ambiguities within data itself.

In the case, for example, of NLP -- the structure of 1 trillion documents will never enable a machine to answer the question "what do you like about what i'm wearing?" -- because (1) the machine isnt here with me; (2) i am asking for its personal judgement, not a summary of a trillion documents; and (3) that summary of those trillion documents has to be unique, but the question has no "right answer".

Whilst computer science has the driving seat over what "intelligence" is, we will forever be stuck with this incredibly diminished view of our own capacities and the size of the technological challenge. The goal isnt to sift through everything we have already done and "take a mean", the goal is to produce a system which could have done "everything we have done" without us.

Re:A visual proof that neural nets can compute any function by shawnz on Sunday March 06, 2022 @01:24PM (#30579711)
That clearly doesn't explain how you get from the biological system to intelligence though. NNs can be imagined as a (highly simplistic) form of repeated experiment too.
Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @01:51PM (#30579980)
Intelligence starts when the internal physical structure of a system is "dynamically reflective" of its external environment in a way which is stable over time (basically, "complex hysteresis"). You get this with a hard drive (+CPU, etc.) sure. I'd call this sort of minimal intelligence merely "reactive".

You get, let's say "adaptive intelligence" when the physiological structure being changed adapts the system so that it is able to interact with its environment more (eg., it can move differently).

To get to more advanced forms we need an explicit reasoning process which can represent this physical state to the system itself to engage in inference. Let's say "cognitive intelligence".

We get typical mammalian intelligence when the broader physiological structure (in particular the sensory-motor structure) of the system is actually guided by this explicit reasoning process. (Eg., a cyclist grows their muscles differently by reasoning-when-cycling). Let's call this "skill intelligence".

You get human intelligence when the explicit reasoning process becomes communicable, ie., when interior representations can be shared without the physical activity of acquiring those representations. Human intelligence is really "outside-in" in a very important way, which AI today also neglects -- it took 100bn dead apes to write a book, not one. Let's call this "socio-symbolic intelligence".

What we have today is really just systems of "reactive intelligence" with weird frankesianian organs attached to them "look at alex turn the lights off!!!!". Alexa isnt turning the lights off in the manner of the "socio-symbolc intelligence" we attribute to alexa naively (and delusionally!).

Alexa is a reactive system which has something of socio-symbolic significance (to us, not it!) glued on. Alexa does not intend to turn the lights off, and we're not communicating our intent to her. She's a harddrive with a SATA cable to a lightswitch.

Re:A visual proof that neural nets can compute any function by abeppu on Sunday March 06, 2022 @02:15PM (#30580217)
I feel like bringing David Marr's "levels of analysis" into the discussion is useful here, at least in very loose terms.

> explicit reasoning process which can represent this physical state to the system itself to engage in inference

> when interior representations can be shared without the physical activity of acquiring those representations

Roughly, you're talking at the 'computational level' or perhaps above. You're describing qualities of the computation that an agent must be doing. You don't descend to the algorithmic level, which is where the 'universality theorem' discussion is taking place. Which is not to say that any of what you've said is wrong, but to someone like the parent asking "_how_ you get from the biological system to intelligence though" (emphasis mine), I think it's basically a non-answer.

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @02:26PM (#30580339)
Well, my answer there will alarm many. Broadly, it's whatever algorithm(s) you'd call biochemistry. I think the self-replicating adaptive properties of organic stuff, is the heart of how we get beyond what the mere hysteresis of hard-drives can do. We require cells, and their organic depth.

We dont often describe reality with algorithms in the sciences, if reality admits a general algorithmic description, it is surely beyond any measurable level. So I dont think the answer to the problem of intelligence will require computer science till much later in the game; if it is even possible to actually artificially create it.

Whatever "algorithm" would comprehensively describe the relevant properties of cells, even if it could be written down, will never be implemented "from spec". One may as well provide the algorithm for "a neutron star" and expect playing around with sand will make one.

Re:A visual proof that neural nets can compute any function by abeppu on Sunday March 06, 2022 @02:38PM (#30580464)
I think this is another non-answer.

Biochemistry is broad and does really diverse things, and if your answer to "how does a mammalian brain allow it to reason through interactions with its physical environment" is "biochemistry", and that's also presumably the answer to "why is that pond scum green?" and "why are fingernails hard?", then it fails to be an explanation of any sort.

Similarly, if someone asks "why is your program dying on a division-by-zero error", it's not an explanation to say "well, that's just a matter of how the program executes when provided those particular inputs".

What _specifically_ about the biochemistry of our nervous systems allows us to solve problems, or communicate, as versus just metabolize sugar?

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @02:56PM (#30580644)
It's about self-replication, adaption and "scale-free properties".

Consider that touch on the surface of my skin, which can be a few atoms of some object brushing a single cell -- that somehow "recuses up" the organic structure of my body (cell, tissue, organ, ...) both adapting it and coming to be "symbolically objectified" in my reasoning as "a scratch".

The relevant properties here are those that enable similar kinds of adaption (and physiological response) at all relevant scales from the cell to the organ to the whole-body.

I think cells-oragans-bodys are implementations of "scale-free adaption algorithms" (if you want to put it in those terms), which enable implementation of "higher-order intelligence algorithms".

If you want much much more than this, then even if I had the answer, it wouldnt be comment-sized, i'd be a textbook. But of course, no one has that textbook, or else we wouldnt be talking about this.

I think if you see cells as extremely self-reorganizing systems, and bodies as "recursive scale-free" compositions of "self-reorganizing adaptive systems", then you get somewhere towards the kinds of properties i'm talking about.

I think my ability to type because i can think, is a matter of that "organic recursion" from the sub-cellular to the whole-body.

Re:A visual proof that neural nets can compute any function by yazanobeidi on Sunday March 06, 2022 @03:21PM (#30580884)
I like what you wrote here and how you think.

However I have to make one remark.

Schopenhauer would say that Alexa does in fact have will to turn the lights off. A burning will, the same will within yourself and everything that is not idea. That it is your word that sets off an irreversible causal sequence of events leading to the turning off of the lights. Schopenhauer would ascribe his “Principle of Sufficient Reason” as the reason for happening. It is not that Alexa chooses to obey, but by the causal chain enforced by physics and more leaves the will of the universe no choice but to turn off the lights. Same reason why the ball eventually falls down when thrown up. I believe this is the metaphor Schopenhauer uses in his World as Will and Idea.

Re:A visual proof that neural nets can compute any function by mjburgess on Monday March 07, 2022 @03:45AM (#30585538)
Well Schopenhauer is an idealist, which confuses the issue. The world as will and representation is quite different than "the world as stuff with will" -- the latter is panpsychism.

To address "world as will", i'd just say it more-or-less doesnt matter what the world is in this sense. There's a distinction between my asking you "please turn the light off" and my rehearsing sounds "alexa, light off" -- and that difference "leaves open" the question of to what degree theyre both grounded in "the nature of the world". Since everything is "will", distinctions then just become distinctions in will.

As for panpsychism, which is really "materialism + the-material-is-conscious", this threatens to confuse the issue more -- since it isnt saying everything is "grounded in x" which allows you to ignore x, really -- as "everything-grounding" theories rarely disable your ability just to ignore them.

In misattributing the properties we are looking to create/find/etc. in things, panpsychism runs the risk of creating a false picture of continuity which impairs our ability to see genuine difference.

In other terms: whilst idealism borders on a dissociative paranoia, pansychism borders on schizophrenia -- whilst dissociation is your problem, schizophrenia might be our problem too.

Here the schiozphrenia of panpsychism is thinking that "Alexa is talking back" -- it isnt.

Re:A visual proof that neural nets can compute any function by sifar on Monday March 07, 2022 @01:00PM (#30591104)
I am interested in this way of looking at intelligence. Do you have any references which one can study where this is discussed i.e intelligence is affected by the physical nature of where/what it is situated in.

Another way of saying this is if I were to build atleast an animal level (cognitive or skill), I need to first give it tools to sense & manipulate it's environment and whose output it can understand. Has anyone worked on this before ?

Re:A visual proof that neural nets can compute any function by sifar on Thursday March 10, 2022 @01:39AM (#30623813)
I found a couple of references, bookmarking here

Physical Intelligence as a new paradigm https://www.sciencedirect.com/science/article/pii/S235243162...

How the Body Shapes the Way we Think https://books.google.co.in/books?hl=en&lr=&id=EHPMv9MfgWwC&o...

Re:A visual proof that neural nets can compute any function by shawnz on Sunday March 06, 2022 @02:02PM (#30580108)
It seems to me like a "reactive intelligence" is basically equivalent to an "adaptive intelligence" which just hasn't begun making use of all of its possible outputs yet. Obviously even though we adapt to our environment, there are still ultimate limits to how far we can adapt.
Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @02:11PM (#30580192)
The reason a dolphin isnt as smart as an ape, is that it's a tube of meat in the ocean; and an ape is a pianist up a tree.

I see non-trivial forms of intelligence as largely as symptoms of physiology. Even the human brain in a dolphin would be dumb, indeed that's basically just what a dolphin is.

There is something absolutely remarkable in a thought about something, moving my hands to type; and my hands actually typing. Personally, I think 90% of that miracle is organic -- it is in the ability of our ceullar microstructure to adapt quickly; and our macro-structure to adapt over time.

Either way, people who intend to build intelligent systems have a task ahead of them. Building a system which can really use tools it hasnt yet invented is, in my view, a problem of materials science more than it is of discrete mathematics.

Re:A visual proof that neural nets can compute any function by gowld on Sunday March 06, 2022 @09:46AM (#30577872)
Experiments are data collection. It's the iinput to the thinking process.
Re:A visual proof that neural nets can compute any function by bbqbbqbbq on Sunday March 06, 2022 @09:48AM (#30577884)
This is why we work with our tools though, no? A NN can decide where the ambiguities lie in the data set and communicate that to the data scientists who are working with it, who can then provide data to help disambiguate the data.
Re:A visual proof that neural nets can compute any function by slibhb on Sunday March 06, 2022 @11:01AM (#30578424)
> Animals solve the problem of the "ambiguity of inference" by being in the world and being able to experiment. Ie., taking the stick out of the water. A neural network, in this sense, cannot "take the stick out the water" -- it cannot resolve ambiguities.

Couldn't training data include a video of someone taking a stick out of the water?

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @09:32AM (#30588244)
In that case, a neural net will learn to predict the next frame in a video stream, but it still won't learn what a stick is or why it looks bent when it's in the water.
Re:A visual proof that neural nets can compute any function by ddingus on Sunday March 06, 2022 @12:01PM (#30578936)
Then we have no ambiguity. The data is inclusive.

And the cost is a very seriously larger problem space to classify.

Re:A visual proof that neural nets can compute any function by Der_Einzige on Sunday March 06, 2022 @10:08AM (#30578014)
Interpolation in GANs seems a lot like "being able to experiment. Ie., taking the stick out of the water"...
Re:A visual proof that neural nets can compute any function by tsimionescu on Sunday March 06, 2022 @01:21PM (#30579681)
They are not taking the stick out of the water, because they don't have hands and are not looking at a real stick. They are being trained on a static data set, and a picture of a stick isn't a stick. They can try to extrapolate all they want, but they are fundamentally not going to be able to get more information out of the data than there exists.

And in a static photo of a bent stick, or a fluffy critter, there simply isn't any information to tell whether this is a bent stick or a stick in water; or whether it's a cat or a dog. The intelligent response is not "I don't know", and it's not "60% it's a cat, 40% it's a dog". It's "here is the set of actions that need to be taken to create more data to be able to settle the question".

And creating that set of actions is completely different from current approaches. No state of the art GAN can say "you need to view the subject from a steeper angle, check for a reflection to see if it's in water" or "poke it with a stick, see if it meows or barks", because they don't have enough information about the world in their train g sets to be able to even know that these are possibilities.

Re:A visual proof that neural nets can compute any function by YeGoblynQueenne on Monday March 07, 2022 @09:39AM (#30588327)
They simultaneously have not enough information, and too much information. A human child can learn what a chicken is by seeing a chicken once, but "seeing a chicken" is not the same as the representation of a chicken as a set of pixels in an image. It's ... something else, that we don't quite have the words to describe. Clearly, when we look at things in the real world we take in much more information than when a CNN takes in an image. Machine learning datasets have too much data, but it's the wrong kind of data and they're the wrong kind of learning system, to learn what humans can learn from "single examples".

And humans can also learn about radically new categories of things that they have never experienced just by looking at an image, even a low-quality image.

And that's humans which are like the apex of intelligence on the planet (I know, right?). Neural nets can't even built the representation of the world that a simpler animal, like a cockroach, must have to be able to exist autonomously in its environment. We don't have anything like a machine that can get close to the ability of a cockroach for autonomy. It's mad. But people keep thinking, "hey, we'll just use more data and more layers" and get to the moon by jumping higher with a larger pogo stick.

Re:A visual proof that neural nets can compute any function by curiousgal on Sunday March 06, 2022 @08:30AM (#30577478)
> There is often no function to find in solving a problem

In finance NN can be used to calibrate models, i.e. generate parameters to a model (function) that replicates existing data (obsered prices/volatilities).

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @08:51AM (#30577596)
Well i dont think prices are functions of economic variables.

Recall a function is `y = f(x)`, not `y1, y2, y3... = f(x)`.

So what you're modelling is something like `E_hope[y] = f(x)` where `E_hope` is "a hopeful expectation" that the mean of the underlying ambiguous y1,..yn does "reliably" mean to a unique `x`.

This "hopeful expectation" is certainly more common than there being any actual function connecting `y` to `x`, but i think its often quite false too. Ie., even the expectation of prices is genuinely ambiguous.

To handle this we might ensemble models `E_ensemble[E1_hope[y], ...En_hope[y]]`, but to repeat a famous idiom in finance, this is very much "building sandcastles in the sky".

The idea that you can just "expect" (/statstics) your way out of the need for experimentation is a dangerous superstition which is at the heart of ML. It is impossible to simply "model data", measurement produces genuine ambiguities which can only be resolved by changing the world and seeing-what-happens. There is no function to find.

Re:A visual proof that neural nets can compute any function by thfuran on Sunday March 06, 2022 @09:25AM (#30577772)
>Recall a function is `y = f(x)`, not `y1, y2, y3... = f(x)`.

y1,...,yn is a perfectly reasonable function output. Functions don't have to produce scalars.

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @09:36AM (#30577817)
Functions have to resolve to one point in the output domain, even if that point is multi-dim.

Here, consider `y_houseprice = price(house data, economic data, etc.)`. There isnt a unique house price in terms of those variables. The real world observes many such prices for the same value of those variables.

An overly mathematical view of the world has obscured the scientific method from our thinking here. Generally, there arent actually functions from X to Y, and there arent actually stable XY distributions over time.

The world, as measured, is basically always ambigouous and discontinuous. Data, as measurement, isnt the foundation of our theory-building. We build theories by changing the world; data comes in as a guiding light to our theory building, not as the basis.

..wwhich is our direct causal interactions with our environment, ie., its the actual stuff of our bodies and the stuff of the world as we change it

Re:A visual proof that neural nets can compute any function by pedrosorio on Sunday March 06, 2022 @11:59AM (#30578912)
> There isnt a unique house price in terms of those variables

> An overly mathematical view of the world has obscured the scientific method from our thinking here

Since it is understood that houseprice is not a function of just three variables, the mathematical view (statistical learning theory) commonly used when training models, defines house price as a random variable. This takes into account the uncertainty from all the unknown factors they contribute to house prices.

The distribution defining this random variable is a function of the 3 input observations. Commonly, the inputs are used to compute the mean, and the shape of the distribution is fixed - a Gaussian, for example - but not necessarily.

Given observations of the 3 inputs, each observed y_houseprice is just a sample from this random variable.

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @01:39PM (#30579867)
Well a random variable is a function, from event space to the real line. We return to a single measure by taking its expectation. We dont model `Y = f(X)`.

This doesn't play well with the universal theorem in the article. NNs can only be said to model expectations of random variables.

Re:A visual proof that neural nets can compute any function by thfuran on Sunday March 06, 2022 @01:43PM (#30579909)
>We return to a single measure by taking its expectation

Only if you want to throw away most of the information in your model.

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @01:59PM (#30580074)
Well, indeed.

One then needs to explain how a NN being a "universal fn approximator" helps at all in this context.

One models RVs generativey using distributions (and so on), the actual model (eg., of house prices) isnt a function, it's often an infinity of them.

Re:A visual proof that neural nets can compute any function by thfuran on Sunday March 06, 2022 @02:23PM (#30580303)
>One then needs to explain how a NN being a "universal fn approximator" helps at all in this context.

Given that I can't tell why you don't think it does, I don't think I can explain it to you. From the other contexts you've talked about here, you seem to be implying that the only thing that is potentially useful is an AGI which either carries out or merely designs experiments. But that's patently absurd.

Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @02:41PM (#30580481)
I'm happy to hear the very narrow case on this. Can a NN learn geometric Brownian motion?
Re:A visual proof that neural nets can compute any function by emmelaich on Sunday March 06, 2022 @05:42PM (#30582024)
Can you just show the moving stick to the NN?

Are you just denying information to the NN that is available to the animal?

Re:A visual proof that neural nets can compute any function by benrbray on Sunday March 06, 2022 @08:21AM (#30577412)
What techniques are used to estimate trajectories? Would something like a Gaussian Process perform better?
Re:A visual proof that neural nets can compute any function by mjburgess on Sunday March 06, 2022 @08:56AM (#30577615)
Well NNs like GPs are "basically" non-parametric methods, in the sense that one does not start with a known parameterised statistical distribution that comes from domain expertise. These are worst-case techniques when we dont have the option to start with "the right answer", eg., in the case of large datasets where we have no idea how some pixels distribute over cat/dog images.

In the case of a trajectory we would likey already know the answer, in the form of just doing some physics. The role of computational stats here then is to start with the known form of the solution and find the specific parameters to fit it.

Since we have physics, we can find the "perfect answer" to the trajectory question with very few data points -- and take as many derivatives as we like.

Brute-force ML is often used when we dont have theories, making it all the more dangerous; and alas, all the more useful. We can get a 5% improvement on click-thru rate without having any theory of human behavioural psychology --- god knows then, what we are doing to human behaviour when we implement this system.

`

Re:A visual proof that neural nets can compute any function by aqme28 on Sunday March 06, 2022 @09:00AM (#30577635)
If you’re asking how to solve difficult differential equations in general, we use numerical methods like finite elements or finite differences
Re:A visual proof that neural nets can compute any function by adgjlsfhk1 on Sunday March 06, 2022 @01:22PM (#30579696)
that said, there has been some promising research on using NNs for solving nonlinear pdes.