News for hackers. Stuff that matters.
Re:Facebook and Microsoft introduce ecosystem for interchang... by cs702 on Thursday September 07, 2017 @01:02PM (#15193711)
Translation from corporatespeak: "Our AI frameworks are losing developer mindshare to TensorFlow, which is controlled by Google, so we are joining forces."

Corporations like Facebook and Microsoft do not like interoperability... until and unless it's in their best interest.

The goal here is to make AI frameworks easily interchangeable: build your model with whatever framework you like; it will run unchanged on all other frameworks/platforms/stacks.

Regardless of the motivations, I actually think this is GREAT NEWS, and I hope that Amazon and maybe Apple, and eventually hopefully Google too will introduce and promote compatibility with this standard.

We all benefit from more interoperability.

Re:Facebook and Microsoft introduce ecosystem for interchang... by dsacco on Thursday September 07, 2017 @06:33PM (#15196417)
The way in which Google released TensorFlow (and the meteoric success it's enjoyed) is an excellent example of a company successfully commoditizing its complements using open source software.

TensorFlow (and stacks built over it) has the greatest mindshare, which allows Google to both optimize the capabilities of its ML offerings based on TensorFlow, knowing most developers will be familiar with it, and to increase profit margins on those services at the same time. TensorFlow makes a significant part of the ML stack convenient and accessible, and releasing it for free opened the flood gates for Google to expand the machine learning industry significantly while shifting the profit generation away from software and onto the cloud (data storage + compute resources).

Sublime execution, really. Once machine learning passes through this hype cycle (over the "trough of disillusionment" and onto the "plateau of productivity"), Google will likely have made the majority of the machine learning industry accessible enough for most software engineers to pick up something like TensorFlow and hit the ground running, which will gradually exert a downward pressure on ML specialized salaries for all but the top end. But this will continue even as the industry continues to expand, which means Google will come out ahead earning even more profit even if salaries plateau or decrease.

Re:Facebook and Microsoft introduce ecosystem for interchang... by nicodjimenez on Thursday September 07, 2017 @09:29PM (#15197263)
Two problems. 1) Tensorflow sucks 2) People that are actually experts in deep learning prefer Pytorch or Caffe2 so your mindshare thing is wrong, once the dust of the Tensorflow hype train clears people will choose tools that are actually any good
Re:Facebook and Microsoft introduce ecosystem for interchang... by dsacco on Thursday September 07, 2017 @10:13PM (#15197418)
Why do you believe "Tensorflow sucks", and why do you believe PyTorch or Caffe2 is better, and for what metrics?
Re:Facebook and Microsoft introduce ecosystem for interchang... by ActsJuvenile on Friday September 08, 2017 @12:22AM (#15197827)
Two metrics stood out in my experiments with CNNs back in May 2017:

1) Compilation speed for a jumbo CNN architecture: Tensorflow took 13+ minutes to start training every time network architecture was modified, while PyTorch started training in just over 1 minute. PyT suits my style of interactive coding far better.

2) Memory footprint: I was able to fit 30% larger batch size for PyTorch over Tensorflow on Titan X cards. Exact same CNN architecture.

Both frameworks had major releases since May, so I am sure these metrics might have changed by now. However I ended up adopting PyT for my project.

Re:Facebook and Microsoft introduce ecosystem for interchang... by chronic732 on Friday September 08, 2017 @12:31AM (#15197859)
This post is spot on.

Google is actually very scared of PyTorch since nearly all new AI research papers are using PyTorch. This means in 1-2 years or so, most companies will be using PyTorch for training and Caffe for deployment. Tensorflow doesn't even have an implementation of the latest ImageNet winner, DenseNet, but PyTorch does!

I have sources on the Tensorflow team saying they are scrambling to make another higher level wrapper for tensorflow at the level of PyTorch.

Re:Facebook and Microsoft introduce ecosystem for interchang... by jamesblonde on Friday September 08, 2017 @03:47AM (#15198560)
Jumbo CNNs are not the battleground. The real battleground is distribution. The first framework that scales out without placing much onus on the programmer will win, IMO. Facebook already showed that Caffe2 scales to 256 GPUs for imagenet. Tensorflow need to show it can scale as well. PyTorch needs to work on usability - model serving, integration in ecosystems like Hadoop, etc.
Re:Facebook and Microsoft introduce ecosystem for interchang... by visarga on Friday September 08, 2017 @12:26AM (#15197844)
Today I learned: "commoditize your complements". Quite interesting compact way to put it.
Re:Facebook and Microsoft introduce ecosystem for interchang... by arithma on Friday September 08, 2017 @01:30AM (#15198085)
It apparently isn't a new strategy, and is in the shared internet mind sphere. https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/
Re:Facebook and Microsoft introduce ecosystem for interchang... by dsacco on Friday September 08, 2017 @03:03PM (#15203062)
As another commenter mentioned, I can't take credit for it. I first read it from Joel's blog.
Re:Facebook and Microsoft introduce ecosystem for interchang... by jononor on Thursday September 07, 2017 @01:29PM (#15193966)
The corporations that got data are also very interested in open development of machine learning algorithms. They know that the data is key for getting value out of the algorithms anyway...

EDIT: I second that regardless of motivation, this is a step forward.

Re:Facebook and Microsoft introduce ecosystem for interchang... by slackoverflower on Thursday September 07, 2017 @03:21PM (#15194915)
You got it right. Tensorflow is HUGE in the AI community, Facebook and Microsoft are scared. I, for one, am a huge fan of Tensorflow and don't plan on learning anything new to do the work I'm already doing. Facebook and Microsoft should just join Google's coalition and use Tensorflow company-wide.
Re:Facebook and Microsoft introduce ecosystem for interchang... by blueyes on Thursday September 07, 2017 @05:18PM (#15195814)
Actually, Tensorflow is huge in the data science community, but PyTorch is taking over ML research. TF is last year's cool thing. That's one reason why fast.ai just adopted Pytorch for their courses. Tensorflow is surprisingly low-level and needs libraries like Keras to be used easily. The field of Python ML tools moves fast...
Re:Facebook and Microsoft introduce ecosystem for interchang... by lolive on Friday September 08, 2017 @05:25AM (#15198910)
I hope the ML community won't have to suffer the same kind of fatigue syndrom that has plagued the javascript community for the last decade.
Re:Facebook and Microsoft introduce ecosystem for interchang... by dmix on Friday September 08, 2017 @01:26AM (#15198074)
Excuse the newbie question but are PyTorch and/or TensorFlow sufficient for developing ML algorithms that can be used directly by a user-facing application? Or is there typically some translation layer involved?
Re:Facebook and Microsoft introduce ecosystem for interchang... by curiousDog on Thursday September 07, 2017 @06:40PM (#15196452)
Right, until you don't like something that Google does with Tensorflow in the future or breaks compatibility with your app. I think alternatives in complex abstractions like these are always a good thing. Only a few companies can afford to do it so we have a guarantee that you won't have tens of them. Just a viable alternative.
Re:Facebook and Microsoft introduce ecosystem for interchang... by Toast_ on Thursday September 07, 2017 @03:40PM (#15195046)
It's been a while since I played around with tensorflow, how difficult is it to deploy a model as a web service? I'm currently using azure and looking for other options (besides prediction.io).
Re:Facebook and Microsoft introduce ecosystem for interchang... by reilly3000 on Thursday September 07, 2017 @04:40PM (#15195500)
It's really designed around ease of use. What you're looking for is called TensorFlow Serving.
Re:Facebook and Microsoft introduce ecosystem for interchang... by Toast_ on Thursday September 07, 2017 @04:54PM (#15195610)
Cool, thanks for the info.
Re:Facebook and Microsoft introduce ecosystem for interchang... by xenihn on Thursday September 07, 2017 @06:27PM (#15196362)
I'd love to know what sort of ML/AI communities/forums/slacks/discords/whatever communities you participate in, since I'm interesting in joining some.
Re:Facebook and Microsoft introduce ecosystem for interchang... by lazzlazzlazz on Saturday September 09, 2017 @06:57AM (#15206500)
I don't take Tensorflow seriously anymore... PyTorch is the way to go (gotta try caffe2 at some point).
Re:Facebook and Microsoft introduce ecosystem for interchang... by bluetwo on Thursday September 07, 2017 @01:45PM (#15194101)
The implication is that this will make your ML better somehow. Not sure why that would be.
Re:Facebook and Microsoft introduce ecosystem for interchang... by nametube on Thursday September 07, 2017 @01:51PM (#15194155)
from the article

> We developed ONNX together with Microsoft to bridge this gap and to empower AI developers to choose the framework that fits the current stage of their project and easily switch between frameworks as the project evolves.

ML workflows tend to be very heterogenous with people using everything from sklearn to DL4J to play with data. standardized serialization formats make it possible to bring results from those experiments back into a hardened productionized environment for serving the model.

Re:Facebook and Microsoft introduce ecosystem for interchang... by bluetwo on Thursday September 07, 2017 @02:55PM (#15194728)
Thanks.
Re:Facebook and Microsoft introduce ecosystem for interchang... by gabeytani on Thursday September 07, 2017 @11:17PM (#15197676)
True. No matter what their intention is, they are doing the right thing. I don't like that DL framework controlled by Google like what they do with Android. This would probably motivate Facebook/MSFT to develop a shared intermediate representation for DL frameworks, that would benefit so many people.
Re:Facebook and Microsoft introduce ecosystem for interchang... by dmix on Friday September 08, 2017 @01:24AM (#15198063)
Whatever their incentives this hyper competition between companies is always good for the consumer. Same with iOS vs Android.