News for hackers. Stuff that matters.
Re:Researchers: Are we on the cusp of an ‘AI winter’? by thrower123 on Friday January 17, 2020 @04:30PM (#22079575)
I've been waiting for the hype and marketing to collapse for a few years.

Probably the fastest way to tarnish public perception of AI would be to keep pushing "AI-enhanced" products in front of the consumer as has been done. These things tend to demo well and have a nice cool factor for the first fifteen minutes or so, but after any kind of prolonged usage the limitations and rough-edges come up quick.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by allovernow on Friday January 17, 2020 @05:51PM (#22080413)
This is brand new technology. It's going to take a few years to reliably productionize - and most of the applied solutions will look nothing like the research. Many real world problems are going to combine multiple neural nets into systems with specific applications and there's a lot of detail to work out.

The hype may collapse in the short term, but that's only because many of the first movers are stereotypical tech startups who overpromise without truly understanding the problem or solution spaces and therefore underdeliver.

But, speaking from personal experience, some of the tech has already been proven - one example is massively accelerated modeling as an alternative to slow finite difference/finite element simulation with 99% accuracy, which will in the next 6-12 months totally change the approach to a wide range of modeling problems, and enable a totally new form of work where instead of setting up a model and waiting days or weeks, one may iterate effectively in real time. There are emerging solutions to knowledge management and "intelligent" data harvesting, where ML outputs are being manipulated in a rudimentary form of reasoning. Think specialized industries like petroleum, mechanical engineering, EM engineering - plenty of "layman" related features like recommendation engines are going to flop, but the cat is out of the bag for heavy industrial knowledge work. Just give it some time - we are on the cusp of a monumental leap in R&D across the spectrum of human endeavor. Very exciting times.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by semi-extrinsic on Friday January 17, 2020 @06:22PM (#22080710)
> one example is massively accelerated modeling as an alternative to slow finite difference/finite element simulation

I work in the field of numerical modelling (fluid simulation), and I haven't seen any convincing demos of anything but utterly trivial problems solved this way. Care to share some examples?

(There are some works that focus on fluid simulation for CGI. That's neat, but a) only interpolates between real simulation data, and b) doesn't achieve physical accuracy, just looks good.)

Re:Researchers: Are we on the cusp of an ‘AI winter’? by allovernow on Friday January 17, 2020 @06:54PM (#22080977)
>Care to share some examples?

Unfortunately, the only example I know of is confidential, with a provisional patent filed. But what I can tell you is that we are already solving non-trivial problems some 3-6 orders of magnitude faster than FDM/FEM. Not quite navier-stokes tier, but still in the realm of PDEs.

Sorry I can't be more specific, such is the nature of cutting edge industry, as I'm sure you understand!

Re:Researchers: Are we on the cusp of an ‘AI winter’? by semi-extrinsic on Saturday January 18, 2020 @10:02AM (#22084766)
"Nullius in verba" - I'll believe it when I see it.

And not sure I see the point in patenting such a thing. If it's as good as you say, in less than six months a research group in some country where US patents aren't held in very high regard will have duplicated the work and either sell it as a service or publish it in the scientific literature. They might not even mention knowing about the patent at all! Things have been discovered by multiple people almost simultaneously so many times in the history of science that it's almost a natural law; it'd be impossible to prove foul play.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by jacques_chester on Saturday January 18, 2020 @12:08PM (#22085520)
> in less than six months a research group in some country where US patents aren't held in very high regard will have duplicated the work and either sell it as a service or publish it in the scientific literature

US patents can be used to prevent the sale or import of violating foreign products into the US market. It's still the largest market and US patents are still the lynchpin of any patent portfolio.

Simultaneous discovery does occur and primacy is difficult to prove. Most patent offices had first-to-file as the deciding rule, the USPTO adopted first-to-file a few years back to cut down on endless litigation.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by metalens on Friday January 17, 2020 @07:11PM (#22081089)
I used to do electromagnetic modeling using finite element methods (though now a product manager for AI software infra) and it would to take me on the order of hours to days or weeks to model wave interaction with real-world objects.

A machine learning model trained to understand Maxwell's Equations can in principle be used perform said simulations, resulting in probably an order or more of magnitude increase in simulation speed. Getting this to work well will reduce the time (and cost) it takes to design optical sensors, radar for autonomous vehicles, smartphone antennas, MRI machines, and more.

Having said that, it would require a lot of heaving lifting to pull this off to achieve near-physical accuracy for real-world physics problems.

A cursory search on Google for "arxiv deep learning electromagnetics" returns results of proofs of concept in this direction.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Friday January 17, 2020 @07:44PM (#22081300)
Were would the speedup come from? I don't understand.

If I understand your comment correctly, essentially you have a hand-crafted simulator for some physical process and then you train a neural net model to approximate the simulator. Why would the approximated simulator have "an order or more of magnitude increase in simulation speed"? Unless the approximation has massive losses in accuracy, of course.

Honestly asking and really interested to know what you mean.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by allovernow on Friday January 17, 2020 @08:20PM (#22081465)
It's all about precision heuristics, derived from joint probabilities of inputs and outputs. That, by and large, is how I am increasingly coming to understand the power of neural networks.

Imagine you are given a picture of a candle, overlaid with a grid, and asked to fill in, with colored pencils, colors for the air surrounding the candle representing relative temperature. Of course a human utilizes intuition to rapidly assign high temperature to the flame and decreasing temperature with increasing distance.

A "dumb" finite method would need, even for such a relatively simple problem (for a human), to perform calculations for a series of time steps in each grid until some steady state condition to arrive at a much more precise but still overall similar coloring of the grid cells. You can do the same task much more quickly because you have developed intuition of the physics, which is to say you have learned heuristics which capture the general trends of the problem (air is hot close to a flame and cold far away).

Neural nets take the best of both worlds - by effectively learning probability relationships between input and output pixels, they internalize heuristic approaches to produce outputs approaching finite method accuracies at a fraction of the computation. There's a lot of waste that can be optimized out of finite computation by hardcoding rules (heuristics), but doing so for real problems is impractical. Neural nets learn these rules through training - a far simpler task is organizing the data to teach the net the right trends; much like designing lessons for a child to teach a predictive ability.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Friday January 17, 2020 @10:48PM (#22082132)
I'm skeptical of the claim that it's easier to train a neural net than to hand-code a set of heuristics _when the heuristics are already known_. For the time being, optimal results with neural nets need more data and more computing power ("more" because it's never enough) and are primarily useful when a hand-coded solution is not possible.

I also don't understand how it is possible for a neural net (or any approximator, really) to approximate a "precision heuristic" faster than a hand-coded heuristic and without a gross loss of well, precision in the order that would make the results unusable for engineering or scientific tasks. Could you elaborate?

Re:Researchers: Are we on the cusp of an ‘AI winter’? by richk449 on Friday January 17, 2020 @11:16PM (#22082224)
I’m also skeptical, but after reading the explanation above, I am intrigued.

Say I have a cube with 100 x 100 x 100 mesh cells inside, and ports on opposing faces. Given enough time, I can literally run through every possible combination of PEC and air for every cell and solve the FD form of maxwells equations, then save the results. Now, a user can ask my solver for any of those cases, and I simply pull the presolved result, and give the user the answer with orders of magnitude reduction in time.

Obviously, the presolving approach doesn’t scale. More materials, more mesh cells, eventually it is impractical to presolve every case. But the beauty of neural networks is that they can be very good at generalizing from a partial sample of the problem space. In effect, they can give results close enough to the presolve solution with drastically reduced numbers of computations.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Friday January 17, 2020 @11:25PM (#22082251)
>> But the beauty of neural networks is that they can be very good at generalizing from a partial sample of the problem space.

That is really not the case. Neural nets generalise very poorly, hence the need for ever larger amounts of data: to overcome their lack of generalisation by attempting to cover as many "cases" as possible.

Edit: when this subject comes up I cite the following article, by François Chollet, maintainer of Keras:

The limitations of deep learning

https://blog.keras.io/the-limitations-of-deep-learning.html

I quote from the article:

This stands in sharp contrast with what deep nets do, which I would call "local generalization": the mapping from inputs to outputs performed by deep nets quickly stops making sense if new inputs differ even slightly from what they saw at training time. Consider, for instance, the problem of learning the appropriate launch parameters to get a rocket to land on the moon. If you were to use a deep net for this task, whether training using supervised learning or reinforcement learning, you would need to feed it with thousands or even millions of launch trials, i.e. you would need to expose it to a dense sampling of the input space, in order to learn a reliable mapping from input space to output space.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by allovernow on Saturday January 18, 2020 @11:52AM (#22085407)
Well...I think that take is a little overly cynical, and I disagree particularly with this:

>the mapping from inputs to outputs performed by deep nets quickly stops making sense if new inputs differ even slightly from what they saw at training time

In my experience that isn't really true, if you have an appropriately designed net, training data which appropriately samples the problem space, and the net is not overtrained (overfit).

You can think of training data as representing points in high dimensional space. Like any interpolation problem, if you sample the space with the right density, you can get accurate interpolation results - and neural nets have another huge advantage, in that they learn highly nonlinear interpolation in these high d spaces. So the net may be unlikely to generalize to points outside of the sampled space - although now that I think of it I'm not sure of how nets handle extrapolation - but when you're dealing with space with thousands of dimensions (like each pixel in an image) you can still derive a ton of utility from the interpolation which effectively replaces hardcoded rules about the problem you're solving.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Saturday January 18, 2020 @01:01PM (#22085864)
I may be jumping the gun a little because I was thinking about this in the context of another thread, but a practical problem with machine learning in general is that, for a learned model to generalise well to unseen data, the training dataset (all the data that you have available, regardless of how you partition it to training, testing and validation) must be drawn from the same distribution as the "real world" data.

The actual problem is that this is very difficult, if not impossible, to know before training begins. Most of the time, the best that can be achieved is to train a model on whatever data you have and then painstakingly test it at length and at some cost, on the real-world inputs the trained model has to operate on.

Basically, it's very hard to know your sampling error.

Regarding interpolation and dense sampling etc, the larger the dimensionality of the problem the harder it gets to ensure your data is "dense", let alone that it covers an adequate region of the instance space. For example, the pixels in one image are a tiny, tiny subset of all pixels in all possible images- which is what you really want to represent. Come to that, the pixels in many hundred thousands of images are still a tiny, tiny subset of all pixels in all possible images. I find Chollet's criticism not cynical, but pragmatic and very useful. It's important to understand the limitations of whatever tool you're using.

>> although now that I think of it I'm not sure of how nets handle extrapolation

They don't. It's the gradient optimisation. Gets stuck to local minima, always has, always will. Maybe a new training method will come along at some point. Until then don't expect exrapolation.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by richk449 on Friday January 17, 2020 @11:45PM (#22082338)
It doesn’t need to generalize, just do sophisticated interpolation.

Basing the results on a dense sampling of the input space is exactly what I was suggesting.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Saturday January 18, 2020 @05:36AM (#22083645)
Apologies for the misunderstanding. You said "generalizing from a partial sample of the problem space" and I thought you meant generalisation to unseen data from few examples, which is generally what we would all like to get from machine learnig models (but don't).

But, if a neural net can't _extrapolate_ to unseen instances, I don't see how it can solve problems like the one you describe with any useful precision, again unless it's trained with gigantic amounts of examples (which you say is not required). And how is this reducing computational costs with respect to hand-coded solvers?

Re:Researchers: Are we on the cusp of an ‘AI winter’? by richk449 on Saturday January 18, 2020 @01:22PM (#22086003)
To be clear - I have absolutely no experience in this domain. I'm just speculating.

In the example I gave, everyone agrees that if you had long enough and enough processing power, you could solve every possible configuration, and store the results. Then you could instantaneously "solve" any problem.

Unfortunately, the problem I describe is a toy problem (too simple to be useful), and yet it would still take way way too long to solve all the possible configurations.

What if you solved some tiny fraction of the configurations though? That would be a sampling of the configuration space. Then a neural network could use that sampling to interpolate to the cases not solved. That would provide a significant speedup over actually solving the problem.

So the real question is what density you need to pre-solve the configuration space to make it work? It definitely depends on what accuracy you need in the solution, as well as how good you can do with the interpolation. If I said previously that gigantic numbers of examples are not needed, then I misspoke. I am sure they would be needed. Gigantic is vague though - is it the kind of number that can be rented from AWS, or is it the kind of number that would require civilization resources?

I have no idea if the math actually works out to make it a useful approach. All I am saying is that conceptually I can see that in some cases, it could be possible.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Sunday January 19, 2020 @05:18AM (#22090572)
>> So the real question is what density you need to pre-solve the configuration space to make it work?

Yes, that's the main question. I don't know the answer of course but if we're talking about an engineering problem where precision is required, intuitively the more the merrier.

The thing is, with neural nets you can do lots of things in principle and many things "in the lab". When you try to take them in the real world is the tricky bit. Anyway, another poster here is saying we'll see big things in the next five years so let's hold on to our hats for now.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by allovernow on Saturday January 18, 2020 @11:44AM (#22085345)
Well, there are pretty convincing examples in other domains: try hardcoding rules to classify animals or objects in photos, especially an algorithm which can handle thousands of different categories. Totally impractical - but if we appropriately design the net and structure the training data, you can train a pretty accurate net on a mid-range GPU in a matter of hours to do what would take far, far longer to hardcode!

Perhaps not quite appropriate to call them heuristics in this context, but the principle is the same - you are leveraging joint probabilities of pixels to generate some conditional output. Similar principle in ML accelerated modeling.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by YeGoblynQueenne on Sunday January 19, 2020 @05:21AM (#22090581)
I think I understand what you meant by heuristics. I agree that it's impractical to try and hand-code image recognition rules and all attempts to do that in the past have failed as they have in similarly complex domains (like machine translation, say). My concern is particularly about the use of neural networks (or in general machine learning models that learn to approximate a function) in domains where precision is normally required, like engineering. I mean, I know there's plenty of approximation in engineering already but of course we're not talking about computing integrals here (er, I think?).

Anyway I was especially trying to understand the OP's comment about speedup using a neural network. I'm still a bit confused about that. But thanks for the conversation.

Re:Researchers: Are we on the cusp of an ‘AI winter’? by allovernow on Friday January 17, 2020 @07:28PM (#22081187)
You're on the right track. A lot of this tech is a potential goldmine and I'm sure there are many players developing in secret and not publishing yet (or ever).
Re:Researchers: Are we on the cusp of an ‘AI winter’? by KaoruAoiShiho on Friday January 17, 2020 @05:54PM (#22080441)
The hype only started in 2015ish, how many years could you have been waiting for it to collapse?
Re:Researchers: Are we on the cusp of an ‘AI winter’? by thrower123 on Friday January 17, 2020 @06:04PM (#22080558)
Watson has been an IBM hype-brand for a decade. It is finally getting to the point that it can reliably achieve some parts of what I was sold on back in 2012.
Re:Researchers: Are we on the cusp of an ‘AI winter’? by KaoruAoiShiho on Saturday January 18, 2020 @12:07PM (#22085512)
IBM doesn't count, or at least HN completely disregarded it. Modern AI hype really only became a thing after GAN and NVIDIA Pascal, 2014 and 2016 respectively.