News for hackers. Stuff that matters.
Re:Machine learning has become alchemy (2017) [video] by Barrin92 on Tuesday December 25, 2018 @08:19PM (#18759932)
The problem with ML in my opinion is not that we're missing some sort of fundamental theory, but that there simply is none. ML is essentially fancy pattern matching roughly resembling the human visual system, which is why it happens to be good at tasks related to perception.

It's not some master algorithm, it's not going to produce sci-fi AI, and it probably isn't even suited to solve most problems in the realm of intelligence.

In fact it basically hits the worst possible spot on the problem solving scale. It barely learns anything given the amount of computation effort an data that goes into it, but it just happens to be good enough to be practically preferable to old symbolic systems.

It is completely mysterious to me how networks that approximate some utility function are a huge step forward to giving insight into cognition, reasoning, modelling, creation of counterfactuals and the sort of mechanisms we actually need to produce human like performance.

Re:Machine learning has become alchemy (2017) [video] by typon on Tuesday December 25, 2018 @08:58PM (#18760020)
The annoying part is that ML is not sold to the world like this. I would say the truth (I believe) in this comment is the "dirty little secret" of our industry. Everyone working on it knows this but the research and VC dollars are flowing in so no one wants to talk about it too much.
Re:Machine learning has become alchemy (2017) [video] by chrstphrhrt on Wednesday December 26, 2018 @01:37AM (#18760973)
Can confirm, worked at an AI hype company for over a year and built all their systems outside the NN internals. There is going to be a correction.
Re:Machine learning has become alchemy (2017) [video] by kuhhk on Wednesday December 26, 2018 @02:09PM (#18764015)
May I ask if this insight is why you left? What do you work on now?
Re:Machine learning has become alchemy (2017) [video] by chrstphrhrt on Thursday December 27, 2018 @09:49AM (#18769698)
Actually left due to anti-engineering culture (no tech leaders), succumbed to the distortions of Conway's law due to imbalance between professional services and core/platform.

That said, the nature of the lack of leadership was around the MBA mindset that data science is the be-all end-all of AI, which IME is so far from the truth.

There needs to be many layers/spirals of naive methods (i.e. straight ahead engineering) as a vanguard on the front lines with the DS/NNs/NLP bringing up the flanks for aspects of the domains that become more well understood over time.

So yeah, tail wagging the dog, cart before horse etc. If you just barrel ahead with a monolithic NN pretending that all classes are created equal (structureless blob), which is what our DS PhDs were doing, it will quickly ossify. In our case it was intent prediction so we got to pretty high accuracy, but the labels were indicating many different categories that actually had relations in nature that could not be expressed. Ironically it took some regular engineers to research HMC (hierarchical multi-label classification) and ensembles and implement a new model training framework to support them. Not sure what they teach in school but it doesn't seem to be very practical.

EDIT: now working on messaging (SMS/MMS/RCS/ABC) with a focus on dialog management and logical rules with layering-in of progressively less naive stats methods strategically rather than blindly. It helps to have an existing revenue stream that can be leveraged to create even more value with AI features rather than the backwards hail Mary of not iterating from a foothold of existing traction.

Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Wednesday December 26, 2018 @08:08AM (#18761957)
Statistics is quite valuable and grounded in theory. It's a trusty tool if used with respect (like a knife).
Re:Machine learning has become alchemy (2017) [video] by candiodari on Wednesday December 26, 2018 @07:58PM (#18766300)
Yeah, too bad the theory requires a number of things to be true for data and models ... that are essentially never true. Once you think about

1) is the independance assumption really applicable here ?

2) does the underlying model satisfy the law of large numbers ? (NOT your model, the underlying model, ie. "reality")

3) am I really only interested in predictions within the data range ?

The answer for all these questions is almost universally "no", and the theory says that statistics is not guaranteed to work under those circumstances.

Correct statistical answers:

1) which average percentage of borrowers will default ? There is no answer to that question, because many non-random influences will make borrowers default in synchronized, and therefore very much non-independent ways (say, an economic crisis, an earthquake, an epidemic). Therefore you cannot correctly even calculate an average.

2) which average percentage of borrowers will default ? A model that describes whether an individual will default is going to be non-differentiable, and therefore certainly violate the law of large numbers (there will be sudden jumps in the default rate everywhere because of a million random reasons. An idiot tv anchor declares now the time to sell, and half the town finds out their loan is underwater, say). So underlying models involving humans essentially never satisfy the law of large numbers.

3) which average percentage of borrowers will default ? The number of factors changing that value do not match between the period your data is from (ie. the past) and the period you're predicting. Because there are so many real-world factors that affect your variable you can never avoid this situation. Therefore you cannot predict.

All of these issues allow one to construct realistic scenarios where even trivial statistics will fail spectacularly.

Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Thursday December 27, 2018 @08:32AM (#18769303)
It's true, statistics can't answer every question. There are some limits.
Re:Machine learning has become alchemy (2017) [video] by berkut on Wednesday December 26, 2018 @12:54AM (#18760844)
I'd agree with this assessment 100% - ML can achieve some very impressive results - in my domain (computer graphics for movie VFX) with regards to image generation / identification / modification, e.g. denoising for the latter - however the result is almost always effectively a black box of functionality which:

A: isn't always understood what it is actually doing or how.

B: often needs to be retrained when input data varies slightly outside original training data - this is expected at a technical level, but is annoying in practice and often then starts deviating and losing its effectiveness or gets inconsistent results with larger less homogeneous input data sets.

C: Can't really (at least easily) be used as a stand-alone / packaged component/library to re-use nicely in other places as a conventional algorithm would be.

Re:Machine learning has become alchemy (2017) [video] by groestl on Wednesday December 26, 2018 @05:17AM (#18761501)
I like that all of the issues you bring up around ML can be read as applying to a human expert/craftsperson as well! (still with a wider margin, of course)
Re:Machine learning has become alchemy (2017) [video] by kuu on Wednesday December 26, 2018 @04:30AM (#18761405)
ML != Deep Learning.

Deep Learning is just a branch (or even a sub-branch inside NN) of many ML techniques. Not all of them suffer the same problems or are based in the same theoretical background.

Re:Machine learning has become alchemy (2017) [video] by soared on Tuesday December 25, 2018 @09:00PM (#18760024)
> It barely learns anything given the amount of computation effort an data that goes into it, but it just happens to be good enough to be practically preferable to old symbolic systems.

I don’t follow this. Are you implying there haven’t been absolutely massive gains in computer vision, nlg, nlp, etc?

Re:Machine learning has become alchemy (2017) [video] by quanticle on Wednesday December 26, 2018 @04:19AM (#18761374)
Are you implying there haven’t been absolutely massive gains in computer vision, nlg, nlp, etc?

The implication is that the massive gains haven't been the result of any algorithmic breakthroughs, but rather have been due to the application of massive amounts of computational resources, which weren't available when current ML algorithms were invented. So far as I can tell, that's a true accusation. If you look at the papers coming out of Google and Facebook, they talk about throwing thousands of hours of specialized GPU (or even more specialized and expensive TPU) time at some of the problems. The advances have more to do with Moore's Law making brute force feasible than they have to do with algorithmic breakthroughs.

Re:Machine learning has become alchemy (2017) [video] by EmbarrassedFuel on Wednesday December 26, 2018 @05:22AM (#18761512)
A small bone of contention: it’s not about Moore’s law per se, which has been ‘dead’ since about 2013, coincidentally when the deep learning revival started. It’s matrix multiplication ASIC development that is driving the progress.

GPUs already existed when the idea to use them to make the feasible size of neural nets larger came about. For a long time the drive for the increase of GPU compute power was still gaming/commercial graphics houses. It’s really only in the last 1-2 years that we’ve seen highly specialised GPUs with features like tensor cores (or indeed google’s TPUs).

Also, calling neural nets ‘brute force’ because they use a lot of computing power to train a model is slightly reductionist - a true brute force approach to image recognition, ie enumerating all possible combinations of, say, 200x200x256x3 pixels, would be completely absurd and probably exceed the computing power currently available on earth.

Re:Machine learning has become alchemy (2017) [video] by quanticle on Thursday December 27, 2018 @10:15AM (#18769863)
I'm not saying that neural nets are brute force. I'm saying that there haven't been any algorithmic improvements in neural nets to make them more computationally feasible than they were when they were first invented. Instead, we have specialized hardware which can just do the necessary computation quickly enough to make neural nets feasible.

It's not like neural nets are a new technology. They've been known since the '80s, at least. It's just that they were considered a dead end, because we didn't have the computational resources to run deep neural nets, nor did we have sufficient training data to make neural-net approaches feasible. Once those preconditions were met, neural nets took off in short order.

Re:Machine learning has become alchemy (2017) [video] by EmbarrassedFuel on Sunday December 30, 2018 @01:22PM (#18790520)
There have - convolutional nets have far fewer weights to learn than an equivalent fully connected net of the same depth.

And you literally described it as a brute force approach in your comment.

Re:Machine learning has become alchemy (2017) [video] by turingspiritfly on Tuesday December 25, 2018 @09:05PM (#18760038)
Those massive gains have yet to considered reliable enough to be considered trusthworthy. Would you consider them trusthworthy in court, where lives are at stake? Gains are nice but we are still so far from the essence of AI systems and considering how much resources we are pouring into learning, at this point all of them appear as nothing more than massive fat expensive toys
Re:Machine learning has become alchemy (2017) [video] by another-one-off on Wednesday December 26, 2018 @03:12AM (#18761215)
> Would you consider them trusthworthy in court, where lives are at stake?

Probably. Human intelligence is extremely fallible - based on the statistics the only reason we trust humans to do half the stuff they do is because there is literally no choice.

If we held humans to a high objective engineering standard We wouldn't:

* Let them drive

* Let them present their memories as evidence in a court case

* Entrust them with monitoring jobs

* Allow them to perform surgical operations

Humans are the best we have at those things, but from a "did we secure the best result with the information we had" perspective they are not very reliable. A testable and consistently performing AI with known failure modes might even be able to outperform a human with a higher failure rate (eg, we can reconfigure our road systems if there is just one scenario an AI driver can't handle).

Basically, you might be dead on the money that they are not 'trustworthy enough', but lets not lose sight of the fact that even being an order of magnitude from human performance might be enough after costs and engineering benefits get factored in. The weakest link is the stupidest human, and that is quite a low bar.

Re:Machine learning has become alchemy (2017) [video] by denzil_correa on Wednesday December 26, 2018 @05:46AM (#18761573)
> Basically, you might be dead on the money that they are not 'trustworthy enough', but lets not lose sight of the fact that even being an order of magnitude from human performance might be enough after costs and engineering benefits get factored in.

Ironically, the thing that is lost in this comment would be "accountability". In case of a human, you can go back / trace decision making criteria and hold someone accountable. In case of an algorithm, everyone washes their hands off. Performance is not the only criteria to make a decision if algorithms are "trustworthy" over humans.

Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Wednesday December 26, 2018 @08:12AM (#18761973)
Linear models are highly interpretable and an operator can be held accountable.
Re:Machine learning has become alchemy (2017) [video] by perfmode on Wednesday December 26, 2018 @04:36AM (#18761418)
Re:Machine learning has become alchemy (2017) [video] by solotronics on Tuesday December 25, 2018 @09:30PM (#18760104)
I have the perspective of an informed layman as a programmer who hasn't messed with ML yet. Wouldn't the "safest" solution be a system with multiple algorithms and a consensus mechanism?
Re:Machine learning has become alchemy (2017) [video] by chartpath on Wednesday December 26, 2018 @01:54AM (#18761025)
Yeah. I'm coming from the same background, but with some experience orchestrating these systems in production. AFAIK a bunch of the submissions to the various "AGI" awards like Alexa prize use ensembles of models and some way of weighing each one based on a context in order to choose which classifier to trust in a particular scenario. E.g. MILABOT.

There is so much more than one monolithic NN since those are easy to saturate in terms of precision and recall with enough training data and features, but are not enough to provide good UX in any complex domain/ontology. So it makes more sense to have many different models trained on each subdomain/taxonomy so that each can be specialized and then combined orthogonally.

Then the question becomes "how do we orchestrate them?" Well, there is a lot of research from the 80s and 90s that kinda got left by the wayside due to hype cycles (see the last "AI winter"). My faves are Collagen and Ravenclaw. And there is a lot of literature around topic frame stack modelling, which can be combined with various expert systems or other logics. I am currently using CLIPS (PyKnow) with custom Ravenclaw implementation. I believe b4.ai is doing something similar without the logic/rules engine, and actually applying ML to topic selection as well. My systems are goal oriented so I like to give them a teleology for business reasons, which would not suffice for AGI ambitions.

TLDR data science isn't enough on its own. We need engineers to architect things properly to solve problems.

Re:Machine learning has become alchemy (2017) [video] by bumby on Tuesday December 25, 2018 @11:41PM (#18760567)
I believe some models do precisely that. Random forest ML as an example tallies "votes" on the outcome. I'm not sure how robustly multiple algorithms have been applied to this voting technique, but it would be an interesting read if anyone has information on it.
Re:Machine learning has become alchemy (2017) [video] by notafraudster on Wednesday December 26, 2018 @03:18AM (#18761232)
"Vote tallying" is basically taking a mode/weighted mode response rather than a mean/median/trimmed mean/weighted mean response. There are contexts where this is ideal (for example, classification in multiple unordered classes where mode is the only measure of central tendency that is even reasonable); cases where it's superfluous (in 2-class classification the mode is the median is the sign of the mean); and cases where it's bad (in regression with a continuous outcome where the modal prediction has probability exactly 0). So really it depends on the space where you want to use it.

Typically in a regression setting with an ensemble learner you're using a kind of weighted mean, where the weights are selected based on cross-validation performance. This is sometimes called a "super learner". See van der Laan, Polley, and Hubbard 2007.

Note that this suffers from being similarly awful in terms of theory as a lot of other ML stuff. It is not, for example, the case that two apparently similar datasets or problem domains will produce similar super-learner weights. Which is disturbing, because it's easy to believe that say SVM does better at X and penalized ordered logit at Y, but it's hard to believe that they both do better seemingly at random.

Re:Machine learning has become alchemy (2017) [video] by laretluval on Tuesday December 25, 2018 @09:11PM (#18760050)
Humans are often not considered trustworthy and reliable in court.
Re:Machine learning has become alchemy (2017) [video] by EpicEng on Tuesday December 25, 2018 @09:21PM (#18760082)
What does that have to do with engineering?
Re:Machine learning has become alchemy (2017) [video] by laretluval on Tuesday December 25, 2018 @09:59PM (#18760183)
Trustworthiness in court was advanced as a metric for AI success at which current methods are failing.

> Would you consider them trusthworthy in court, where lives are at stake?

Re:Machine learning has become alchemy (2017) [video] by module0000 on Tuesday December 25, 2018 @09:57PM (#18760177)
>> Those massive gains have yet to considered reliable enough to be considered trusthworthy.

We're using them at Generic Health Insurance Megacorp in production - lots of enterprises are. If you are in the IT industry, it might be useful to spend some lab time with ML. Possibly you have a misconception of ML and/or confuse it with AI.

Re:Machine learning has become alchemy (2017) [video] by mentalhealth on Tuesday December 25, 2018 @10:50PM (#18760377)
Going all in on the "unintelligible black box" model of health insurance, I see.
Re:Machine learning has become alchemy (2017) [video] by dang on Wednesday December 26, 2018 @02:31AM (#18761113)
Would you please stop being rude to others in HN comments? I'm sure you can express your substantive points without this.

https://news.ycombinator.com/newsguidelines.html

Also, please don't make single-purpose accounts on HN.

Re:Machine learning has become alchemy (2017) [video] by crankylinuxuser on Tuesday December 25, 2018 @10:09PM (#18760214)
So, long story short, when groups were talking about governmental death panels, they in actuality were black box AIs that we have no understanding of, yet they make the core decisions and recommendations?

Indeed...

Re:Machine learning has become alchemy (2017) [video] by ineedasername on Tuesday December 25, 2018 @10:33PM (#18760304)
I think the phrase "governmental death panels" is a rather loaded politically partisan phrase. Any system of insuring folks includes people who decide what treatments will be approved and what won't. And in the realm of universal health care systems where decisions like that must be made (as they're made an any insurance company) Something like the UK's quality-adjusted life year (QALY) is, if imperfect, not a wholly unreasonable concept that doesn't include black box AI.
Re:Machine learning has become alchemy (2017) [video] by module0000 on Wednesday December 26, 2018 @10:52AM (#18762706)
Geezus, not that type of health insurance. We're an insurance provider over a century old, blue cross and blue something or other. We're not in the business of death panels, and we have similar feelings towards the tin-foil-hat wearing masses that Catholic priests likely have towards people who assume since some priests are pedophiles, they must all be pedophiles. Some insurance companies(in the minority) are driven by greed and have a reputation that reflects that. Not all priests are pedos, and not all(or any that I've heard of) insurance providers are murderous thugs trying to extract every last cent of wealth from their customers. We're a non-profit organization for that matter. If we somehow extracted a ton of wealth, we wouldn't be allowed to keep it anyway.

We have some strict(and irritating for profit-centric people) governance... one of the more interesting pieces of governance is called the "85/15 rule", which roughly translated, means that if we take in $100 dollars, the government mandates we use $85 of them to pay your costs, and $15 to pay our staff, light bills, and any other expense we have. If we end up only using $80 to pay your costs, we have to refund the remaining $5 to your group plan.

Here's the obvious secret about health insurance that people like to have conspiracy theories about..I can't speak for other institutions in other countries, however...our stance is really simplistic: you can't pay premiums if you are not alive, therefore it is in our mutual interest for you to remain alive. All the conspiracy theories such as "but you don't want that cancer patient in your insurance group plan!" are just that..conspiracy theories. We absolutely do want that person in the group, because then that group's rates go up! The costs for that patient's care are more or less fixed(and known), built on the assumption of a terminal outcome. We're going to pay for it anyway, and try to make that miserable experience as pleasant as possible for everyone involved. That type of service is how you get repeat business, and a good reputation.

This likely falls on deaf ears. Feel free to return to the zealous insurance hatred, and I'm going to return to writing code. Not for death panel machines. Promise.

Re:Machine learning has become alchemy (2017) [video] by crankylinuxuser on Wednesday December 26, 2018 @12:06PM (#18763183)
Thank you for responding, firstly.

I'll only make a small comment about Catholic priests, since I was at one time a Catholic. The problem wasn't just some of the priesthood was into pedophilia, but that when the church was made aware, actively covered it up.

> one of the more interesting pieces of governance is called the "85/15 rule"

If I remember correctly, that was passed via the PPACA. And it is also in jeopardy with the continual "repeal and replace (with nothing)" procedures since the PPACA's passage and SCOTUS failed challenge to dismiss. I believe there is a current federal court case with 20 states or so suing on grounds of constitutionality. And with the makeup of SCOTUS now, has a good chance of having the whole law deemed unconstitutional.

> Here's the obvious secret about health insurance that people like to have conspiracy theories about..I can't speak for other institutions in other countries, however...our stance is really simplistic: you can't pay premiums if you are not alive, therefore it is in our mutual interest for you to remain alive. All the conspiracy theories such as "but you don't want that cancer patient in your insurance group plan!" are just that..conspiracy theories. We absolutely do want that person in the group, because then that group's rates go up! The costs for that patient's care are more or less fixed(and known), built on the assumption of a terminal outcome. We're going to pay for it anyway, and try to make that miserable experience as pleasant as possible for everyone involved. That type of service is how you get repeat business, and a good reputation.

My anger, as well as many other peoples' anger, is the fact that this system is opaque. I go to a doctor, and have procedure/drug prescribed, and there's this song and dance about "preapproval", "permission" and all other sorts of roadblocks. Whether the medical insurance company is for/non profit doesn't matter too much to me. All I know is that the medical insurance is sitting between me and my doctor and making decisions about my care without a medical degree and no patient-doctor association.

And the moment medical insurance is taken out, the prices go up by 10 fold. That's mot the medical insurance companies' fault... But that's the end result for us. And medical insurance companies become de-facto arbiters of patients' health. Again, when questions are shoved in this black box, magic answers come out.

And what I was criticizing is that the use of AI in this context means that the decisions are now truly black-boxed, rather than just a process of actuarilists (sp?). That was subpoena-able and discoverable. The fact that some neural network algo was trained on GBs of data and outputs magic weights of "accept or deny" is an anathema. Those decisions should be understandable. Those decisions should be defensible (as long as we have a profit-based medical system).

Even decision trees would show traceability of how an input got the appropriate result. And if there were questionable or illegal things in there, then they could be challenged or changed.

> This likely falls on deaf ears. Feel free to return to the zealous insurance hatred, and I'm going to return to writing code. Not for death panel machines. Promise.

Not at all. I do have grievances with how the US does medical, and insurance is only one part of the whole. I come from a point that we should have health provided by tax dollars. We as a nation already spend triple what France does peer capita, yet only a small fraction gets care. Simply put, too many people slip through the cracks. I wouldn't say it's a zealous hatred. It's a well informed long-stewing anger that people who are ill can't get help/fixed.

Thank you for the discussion :)

Re:Machine learning has become alchemy (2017) [video] by laretluval on Tuesday December 25, 2018 @09:04PM (#18760036)
There’s going to be people plugging their ears and shouting “but it’s just nonlinear function approximation!” all the way into the singularity.
Re:Machine learning has become alchemy (2017) [video] by perl4ever on Tuesday December 25, 2018 @09:29PM (#18760101)
Human intelligence involves choosing which context to use at any given point. So far, so called AI appears to take an external source of context for granted, which is why it seems to me fundamentally different from "real" intelligence, just like your eyes are different from your entire nervous system.
Re:Machine learning has become alchemy (2017) [video] by wetpaws on Tuesday December 25, 2018 @11:23PM (#18760500)
Every time there is some progress in AI people would yell "but this is not a real AI 'cause humans can..." ( play go/understand pictures/language/semantics/etc, goalpost is always in motion)
Re:Machine learning has become alchemy (2017) [video] by mtrimpe on Wednesday December 26, 2018 @05:39AM (#18761556)
AI carves away what it means to be human one trivial slice at a time.

That's how it always has been and always will be until perhaps one day there is truly nothing 'truly human' left to slice off.

[dead]
Re:Machine learning has become alchemy (2017) [video] by dang on Wednesday December 26, 2018 @02:30AM (#18761110)
This comment crosses into incivility. Please don't do that on HN, regardless of how right you think you are compared to someone else.

https://news.ycombinator.com/newsguidelines.html

Re:Machine learning has become alchemy (2017) [video] by pdimitar on Thursday December 27, 2018 @01:58PM (#18771592)
Understood and point taken. Thank you.
Re:Machine learning has become alchemy (2017) [video] by testrun on Wednesday December 26, 2018 @12:50AM (#18760827)
As if humans in cars does not make mistakes. Last time I checked humans have intelligence.
Re:Machine learning has become alchemy (2017) [video] by jsinai on Wednesday December 26, 2018 @03:12AM (#18761217)
Classic regression is only intelligible because there were only a few parameters and people could use ANOVA to try and interpret them. IMO ANOVA is alchemy as well and most people trained to use it, don’t fully understand it. Should we leave decisions to those kinds of models?

Not to mention that part of what makes NN such a step forward is precisely the high nonlinearity. When you have millions of parameters, the contribution of each is unimportant and so any kind of analog to ANOVA would be barking up the wrong tree. In a NN all those parameters work in concert to learn a decision boundary to separate data. It’s not intelligible at the minute level but at least we know what it’s doing in the end. The problem of course lies with the outliers and that’s not so much a problem with NN being a black box as it is a problem with the nature of large datasets and our own inability to rationalize each and every datapoint.

I’m going to defend NN as the natural evolution of regression. It’s precisely their high nonlinearity which makes them better. The problem is not that they “are” alchemy but that we treat them “as” magic. Society as no place leaving important decisions to algorithms unintended, NN or not. If major insurance companies left their decisions to logistic regression (which was and is still the case), then would we be making the same arguments? Probably not because someone paid by the insurance company will pull out that other kind of alchemy called ANOVA ...

Re:Machine learning has become alchemy (2017) [video] by vharuck on Wednesday December 26, 2018 @09:33AM (#18762295)
Classic regression's potential for intelligibility relies on the modeler choosing terms which are based on observed relations and improve performance. For example, population forecasts can be modeled as the current population plus forecasted changes through immigration, emigration, birth, and death.

Yes, somebody can produce "magical" regression models with terms divorced from reality. But unsupervised learning is never guaranteed to produce a reality-grounded model, no matter the user's skill. It goes through steps, tries different transformations, and chooses the algorithm which led to the best result. Logic and understanding played no part. That sounds like alchemy. It definitely works, but alchemy also stumbled onto theories later explained by chemistry.

And, yes, anyone who doesn't consider the implications of the linear model behind ANOVA would also be a "magician."

Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Wednesday December 26, 2018 @08:18AM (#18761991)
ANOVA is grounded by theory that has stood the test of time for decades. Statisticians that question ANOVA aren't a thing (despite such an accurate criticism being valuable career-wise to an academic). Gelman points out that multilevel models are easier to use than ANOVA and I tend to agree.
Re:Machine learning has become alchemy (2017) [video] by goatlover on Wednesday December 26, 2018 @12:01AM (#18760633)
If it happens and doesn’t involve more than the current DL approach.
Re:Machine learning has become alchemy (2017) [video] by ggm on Tuesday December 25, 2018 @09:26PM (#18760090)
Singularity be like fusion... Always far enough away to be hinted at from thin evidence
Re:Machine learning has become alchemy (2017) [video] by yesenadam on Wednesday December 26, 2018 @01:12AM (#18760896)
ML is essentially fancy pattern matching roughly resembling the human visual system, which is why it happens to be good at tasks related to perception.

It seems that an application like cancer diagnosis - feeding in test results and medical information to a NN, it finding patterns better than any human could, has nothing to do with human perception systems. It's just much better and faster at detecting patterns in complex things than humans are.

Re:Machine learning has become alchemy (2017) [video] by tjpnz on Wednesday December 26, 2018 @12:05AM (#18760646)
>It barely learns anything given the amount of computation effort an data that goes into it, but it just happens to be good enough to be practically preferable to old symbolic systems.

This is the part that's always bothered me. For many ML has just become the default tool to throw at a problem where other solutions (albeit less shiny) exist, that might give the same or even better results (and are very likely going to end up being more efficient). Would it be too much of a leap to suggest that we're forgetting to think?

Re:Machine learning has become alchemy (2017) [video] by baxtr on Wednesday December 26, 2018 @07:32AM (#18761839)
The moment I realized that Deep Learning is nothing more than a non-linear matrix operation I lost a big deal of respect for the field. I still believe the potential of Deep Learning is huge, since many, especially larger companies, have lots of data that just sits there waiting for some innovation. DL can deliver more productivity, i.e. higher quality, faster processes etc. That is great. But this has very little to do with the fancy sci-fi version of AI.
Re:Machine learning has become alchemy (2017) [video] by andreyk on Wednesday December 26, 2018 @08:07AM (#18761950)
While it's true that the basics of Deep Learning (eg ImageNet) are not that conceptually interesting, it is also worth noting people are working on tons of interesting directions within this framework combined with other ideas from AI (see eg 'Learning to Reason with Third-Order Tensor Products' - https://arxiv.org/abs/1811.12143 | 'Beyond imitation: Zero-shot task transfer on robots by learning concepts as cognitive programs' - https://arxiv.org/abs/1812.02788)
Re:Machine learning has become alchemy (2017) [video] by protonfish on Tuesday December 25, 2018 @10:08PM (#18760213)
It is a misconception that ANNs are based on human visual processing. Maybe "inspired by" is a better term. The 1959 paper "What the Frog's Eye Tells the Frogs Brain" disproved the belief that ANNs have anything to do real neural networks.
Re:Machine learning has become alchemy (2017) [video] by oldgradstudent on Wednesday December 26, 2018 @01:15AM (#18760905)
But it's a great brand name.
Re:Machine learning has become alchemy (2017) [video] by laretluval on Tuesday December 25, 2018 @09:02PM (#18760026)
Maybe the concepts of “cognition, reasoning, modelling, creation of counterfactuals” etc. were not well-formed to begin with. Maybe intelligence, like gravity, is nothing like what we came up with using intuition. The fact is that black-box function approximators regularly beat systems designed around intuitive notions of cognition on observable metrics. Yes, the function approximators are bad. But the fact that they do better than more intuitively-satisfying symbolic systems suggests that our intuitive ideas about intelligence are even worse.
Re:Machine learning has become alchemy (2017) [video] by QML on Tuesday December 25, 2018 @09:43PM (#18760134)
Wait, what? Are you confusing ML with AI? The last two courses I took on ML were all theory. For example, when we use linear regression, we make assumptions about the noise — i.i.d. and Gaussian.
Re:Machine learning has become alchemy (2017) [video] by tnecniv on Tuesday December 25, 2018 @11:24PM (#18760504)
I believe OP is speculating about state-of-the-art ML. The classical techniques, like linear regression, are well studied. However, at this point, there is a race to explain theoretically _why_ deep learning is so successful at generalization when, by classical standards, it shouldn't be. OP is speculating that this quest is in vain.
Re:Machine learning has become alchemy (2017) [video] by notafraudster on Wednesday December 26, 2018 @12:09AM (#18760670)
I agree with your interpretation and pushback against your parent comment, but wanted to elaborate that the "problem" here is much deeper. Deep learning is basically magic, okay, fine, so let's start much closer to linear regression.

Say we have a predictor matrix X with 2 predictors. We fit a model using a penalized linear regression (say LASSO) adding to our predictor matrix an interaction terms, arbitrary polynomial and logarithmic transformations of each X, and interactions between the transformations of the Xes. Ideally we motivate this because of some case knowledge about relevant nonlinear transformations of the predictors. Or maybe second best we use the kernel trick to run a kernelized regression that uses an infinite dimensional prediction of all possible transformations of the predictors. But realistically, we toss some shit in the model and run it.

The LASSO spits out X1, X2^2, and X1^3 * log(X2) as being the cross-validation selected non-zero parameters.

What real world scenario could possibly generate a causal process that is linear in X1 (say income), quadratic in X2 (say age, which often displays quadratic forms in regressions), but also predicted by a bizarre non-linear interaction of nonsense transformations?

What a practitioner would probably do is fit the model. In a lot of ML contexts, interpretation would lead to the practitioner saying "Well, okay, ML sometimes produces nonsense models, but you can't argue with the predictive results". Or maybe the practitioner is more sensitive to interpretability and instead takes another tack. Maybe the practitioner might say "clearly this interaction is nonsense, but there must be some interaction, I'll re-run with a linear interaction". Or else they'd re-run the LASSO with conditions about not including nonlinear terms without including the lower dimensional terms. Or else they'd run a grouped LASSO and make up some justification for the groups. All of these reveal that most ML practitioners are basically just doing alchemy.

And this is talking about what amounts to a minor version increment of linear regression, so probably the simplest possible technique we'd still call part of ML.

Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Wednesday December 26, 2018 @08:23AM (#18762009)
You're spot on. Another point I like to raise is that predictors are often extremely redundant in terms of information. The implication being that nearly as good predictions might be made with three predictors vs thousands.
Re:Machine learning has become alchemy (2017) [video] by nurettin on Tuesday December 25, 2018 @11:20PM (#18760488)
Would you describe AI as: automatic categorization and decision making?

If so, then Machine Learning is a part of modeling AI. Regardless of how they are taught in terms of University lectures.

Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Wednesday December 26, 2018 @08:24AM (#18762017)
I'd describe AI/ML as statistics by another name.
Re:Machine learning has become alchemy (2017) [video] by nurettin on Friday December 28, 2018 @04:07AM (#18775692)
I think this is meaningful.
Re:Machine learning has become alchemy (2017) [video] by RA_Fisher on Friday December 28, 2018 @10:00PM (#18781492)
Thanks! It took a lot of education and practice in statistics to realize this.
Re:Machine learning has become alchemy (2017) [video] by notafraudster on Tuesday December 25, 2018 @11:51PM (#18760597)
In the context of linear regression, there is no particular reason to assume noise is i.i.d. and Gaussian. The former is part of the the Gauss-Markov conditions, under which OLS is BLUE (the "best linear unbiased estimator"). The latter is not necessary at all. And of the Gauss-Markov conditions can be violated to varying degrees of consequence.

In fact, in real data, these assumptions are almost always violated. The Gaussian assumption doesn't matter at all, but to address the i.i.d. assumption: Almost all real data exhibits residual heteroskedasticity and almost all real data has observable clustering. Which is why almost no one uses OLS with classical errors. We have estimators to allow errors to be heteroskedasticity-consistent (the default in STATA and easily estimated in R e.g. by estimatr, clubSandwich, etc) or cluster-robust or both. By definition these cases have non-i.i.d. errors and there's no reason linear regression can't be used with them.

We also don't need to make assumptions, these can be interrogated. Most regression relies on using the residual matrix as sample plug-ins for the underlying error matrix, so there's a wide assortment of diagnostic techniques to check for the presence or absence of those assumptions.

Insofar as "machine learning" has any meaning -- which is to say, insofar as it is different than "statistics", the difference is purportedly that it focuses on minimizing out of sample prediction error rather than estimating population parameters, and typically this is motivated as an overfitting problem.

We use OLS because OLS is BLUE under the Gauss-Markov conditions. In ML we rarely care about "U" (unbiasedness) because we frequently prefer to make a bias-variance tradeoff if we're aiming to minimize out of sample error. When linear regression is used in an ML context it is typically penalized linear regression (i.e. ridge / LASSO). Of course it's also the case that the bulk of sexy ML results come out of non-linear estimators, and absent a need to characterize population parameters there's no real reason to care about interpretability so really we don't care about the "L" either.

I would say the grandparent is closer to right. Often in ML there is a view that we throw a bunch of processes at data, pick the thing that works best, don't care why it works at all, and then run with it. To the extent there's a protection against fishing expeditions, it's in the training/test separation or cross-validation or both.

Most of the time when someone talks about "regression theory", they're used 30 or 40 year old results. For an updated look, check out "Foundations of Agnostic Regression" (Aronow and Miller, both Yale Political Scientists) which is coming out some time in 2019. They've had a pre-print around for a while and if you're interested I'm sure you could get one.

Re:Machine learning has become alchemy (2017) [video] by EvilTerran on Wednesday December 26, 2018 @04:34AM (#18761416)
For the benefit of laypeople like myself:

- IID: "independent and identically distributed", https://en.wikipedia.org/wiki/Independent_and_identically_di...

- OLS: "ordinary least squares", https://en.wikipedia.org/wiki/Ordinary_least_squares (I think)

Re:Machine learning has become alchemy (2017) [video] by notafraudster on Wednesday December 26, 2018 @01:07PM (#18763537)
Yeah, to be clear, the discussion you're responding to is pretty out in the weeds. The great-grandparent to your content raised the imho well founded objection that many uses of machine learning "work" (produce good out-of-sample predictive accuracy) but we don't know "why". We have generated a distinct lack of theory. We know very little about assumptions and how they are violated. Separately, we know very little about why one technique works and another doesn't in a given context. We've also done very little thinking about how practitioners should deploy techniques except that predictive accuracy is good.

The grandparent to your content was raising an objection that, actually, linear regression, a very old technique which in plain English means fitting a straight line to a scatterplot (but in any number of dimensions), has a great deal of theory around it. The simplest form of solving a linear regression is by "ordinary least squares" (minimizing the sum of squared deviations from the fit line): OLS.

The grandparent was correct that especially in the mid-20th century to late 20th century, a lot of people did work on the conditions under which OLS works. What "works" means in a statistical sense is that it's efficient (has low uncertainty about the correct estimate), unbiased (on average gets the right answer), consistent (as you have more and more data gets closer to the right answer). Under a set of fairly impossible conditions about the real world data generated process, OLS is "BLUE" (the best linear unbiased estimator). Best here refers to efficiency, and unbiasedness I've already explained. OLS divides the data into structural elements (things that can be explained by the predictors you put into the estimator) and stochastic elements (the noise left over -- the deviations from the line). If we specify the correct model, the stochastic elements are the underlying stochasticity in the universe. If we specify an incorrect model, some of our omitted structural elements get put into the estimation of the noise.

The grandparent noted that two assumptions made in linear regression are that the underlying stochastic disturbances in the data are i.i.d. (each is a random draw from the same distribution) and Gaussian (form a normal / bell curve). These are not assumptions, these are conditions under which OLS is BLUE. The latter is not a necessary condition at all, the distribution can take any form. The former is the most succinct way to express one of the conditions.

My comment was to raise that actually when we use linear regression in the world, we rarely use classical OLS. In the real world underlying disturbances differ between observations. Imagine if I am running a regression on cross-country data, but while my US data is very precisely measured thanks to the widespread availability of polling firms, my Mexican data involves census enumerators going to rural villages. We might imagine that all of my US data is more precisely measured than all of my Mexican data, so we would expect the underlying stochasticity to differ between country. This is called clustering. Also, because we almost certainly do not have the correct model for the data (say log-dollars income predicts the result, not dollars income, but I put in dollars income), it can be the case that observations with higher values of our predicted Y also have more uncertainty. This is called heteroskedasticity. But the good news is we have answers to both, we just don't use OLS, we use more modern estimators. Yay!

In general the world has moved away from rigorously teaching the conditions under which OLS and works and toward teaching more flexible estimators that work under less restrictive conditions. And in general in ML, people aren't using anything that looks anything like OLS, because ML has specific goals OLS is inappropriate for -- namely minimizing overfitting and out-of-sample error, where OLS is designed to maximize the precision of estimates of the slope parameters (how a given predictor affects the outcome). So all the work in OLS theory doesn't really translate to a machine learning setting, where many methods have no theory at all.

Hope this is a plainer English version.

Re:Machine learning has become alchemy (2017) [video] by EvilTerran on Thursday December 27, 2018 @05:23AM (#18768689)
That's a huge help, thank you!
Re:Machine learning has become alchemy (2017) [video] by logicallee on Wednesday December 26, 2018 @05:51AM (#18761585)
> It barely learns anything given the amount of computation effort and data that goes into it

You know what else barely learns anything given the amount of computation that goes into it? A kid.

With 100 billion neurons -- so on the order of a hundred gigabytes of RAM -- after 72 months of closely supervised learning they're still far from being able to do many rudimentary tasks. It takes over 10 years of training to do that.

Something tells me most ML researchers wouldn't be too unhappy with such an awful performance.

Re:Machine learning has become alchemy (2017) [video] by make3 on Wednesday December 26, 2018 @04:34AM (#18761417)
there is huge with being done right now on the theoretical backing of deep learning.

classical machine learning has huge, sound theoretical backing.

scaling well is extremely important, and is the main advantage of deep learning. as planes don't need a bird's feathers to be useful, deep learning is already way sufficiently successful enough to justify their use.

no one serious claims that deep nets are biologically possible. they are still promising, and useful, powering translation, phone keyboard autocomplete, search, camera stuff like low light mode and cell phone portait mode, medical imaging diagnosis, malware detection, new planet detection in astronomy, plasma modeling in energy engineering, etc