Mostrando entradas con la etiqueta Natural Language Processing. Mostrar todas las entradas
Mostrando entradas con la etiqueta Natural Language Processing. Mostrar todas las entradas

viernes, 23 de septiembre de 2016

What Are The Differences Between AI, Machine Learning, NLP, And Deep Learning?

(Image: Creative Commons)

What is the difference between AI, Machine Learning, NLP, and Deep Learning? originally appeared on Quora: the knowledge sharing network where compelling questions are answered by people with unique insights.

Answer by Dmitriy Genzel, PhD in Computer Science, on Quora:
  • AI (Artificial intelligence) is a subfield of computer science that was created in the 1960s, and it was/is concerned with solving tasks that are easy for humans but hard for computers. In particular, a so-called Strong AI would be a system that can do anything a human can (perhaps without purely physical things). This is fairly generic and includes all kinds of tasks such as  
    • planning, 
    • moving around in the world, 
    • recognizing objects and sounds, 
    • speaking, 
    • translating, 
    • performing social or business transactions, 
    • creative work (making art or poetry), 
    • etc.
  • NLP (Natural language processing) is simply the part of AI that has to do with language (usually written).
  • Machine learning is concerned with one aspect of this: 
    • given some AI problem that can be described in discrete terms (e.g. out of a particular set of actions, which one is the right one), and 
    • given a lot of information about the world, 
    • figure out what is the “correct” action, without having the programmer program it in. 
    • Typically some outside process is needed to judge whether the action was correct or not. 
    • In mathematical terms, it’s a function: you feed in some input, and you want it to to produce the right output, so the whole problem is simply to build a model of this mathematical function in some automatic way. To draw a distinction with AI, if I can write a very clever program that has human-like behavior, it can be AI, but unless its parameters are automatically learned from data, it’s not machine learning.
  • Deep learning is one kind of machine learning that’s very popular now. It involves a particular kind of mathematical model that can be thought of as a composition of simple blocks (function composition) of a certain type, and where some of these blocks can be adjusted to better predict the final outcome.
Add caption
The word “deep” means that the composition has many of these blocks stacked on top of each other, and the tricky bit is how to adjust the blocks that are far from the output, since a small change there can have very indirect effects on the output. This is done via something called Backpropagation inside of a larger process called Gradient descent which lets you change the parameters in a way that improves your model.

Artificial Intelligence: What is artificial intelligence and why do we need it?
Machine Learning: What is machine learning?
Natural Language Processing: What makes natural language processing difficult?

ORIGINAL: Quora
June 8, 2016

martes, 3 de marzo de 2015

What will happen when the internet of things becomes artificially intelligent?

From Stephen Hawking to Spike Jonze, the existential threat posed by the onset of the ‘conscious web’ is fuelling much debate – but should we be afraid?


Who’s afraid of artificial intelligence? Quite a few notable figures, it turns out. Photograph: Alamy

When Stephen Hawking, Bill Gates and Elon Musk all agree on something, it’s worth paying attention.

All three have warned of the potential dangers that artificial intelligence or AI can bring. The world’s foremost physicist, Hawking said that the full development of artificial intelligence (AI) could “spell the end of the human race”. Musk, the tech entrepreneur who brought us PayPal, Tesla and SpaceX described artificial intelligence as our “biggest existential threat” and said that playing around with AI was like “summoning the demon”. Gates, who knows a thing or two about tech, puts himself in the “concerned” camp when it comes to machines becoming too intelligent for us humans to control.

What are these wise souls afraid of? AI is broadly described as the ability of computer systems to ape or mimic human intelligent behavior. This could be anything from recognizing speech, to visual perception, making decisions and translating languages. Examples run from Deep Blue who beat chess champion Garry Kasparov to supercomputer Watson who outguessed the world’s best Jeopardy player. Fictionally, we have Her, Spike Jonze’s movie that depicts the protagonist, played by Joaquin Phoenix, falling in love with his operating system, seductively voiced by Scarlet Johansson. And coming soon, Chappie stars a stolen police robot who is reprogrammed to make conscious choices and to feel emotions.

An important component of AI, and a key element in the fears it engenders, is the ability of machines to take action on their own without human intervention. This could take the form of a computer reprogramming itself in the face of an obstacle or restriction. In other words, to think for itself and to take action accordingly.

Needless to say, there are those in the tech world who have a more sanguine view of AI and what it could bring. Kevin Kelly, the founding editor of Wired magazine, does not see the future inhabited by HAL’s – the homicidal computer on board the spaceship in 2001: A Space Odyssey. Kelly sees a more prosaic world that looks more like Amazon Web Services: a cheap, smart, utility which is also exceedingly boring simply because it will run in the background of our lives. He says AI will enliven inert objects in the way that electricity did over 100 years ago. “Everything that we formerly electrified, we will now cognitize.” And he sees the business plans of the next 10,000 startups as easy to predict: “Take X and add AI.”

While he acknowledges the concerns about artificial intelligence, Kelly writes: “As AI develops, we might have to engineer ways to prevent consciousness in them – our most premium AI services will be advertised as consciousness-free.” (my emphasis).

Running parallel to the extraordinary advances in the field of AI is the even bigger development of what is loosely called, the internet of things (IoT). This can be broadly described as the emergence of countless objects, animals and even people with uniquely identifiable, embedded devices that are wirelessly connected to the internet. These ‘nodes’ can send or receive information without the need for human intervention. There are estimates that there will be 50 billion connected devices by 2020. Current examples of these smart devices include Nest thermostats, wifi-enabled washing machines and the increasingly connected cars with their built-in sensors that can avoid accidents and even park for you.

The US Federal Trade Commission is sufficiently concerned about the security and privacy implications of the Internet of Things, and has conducted a public workshop and released a report urging companies to adopt best practices and “bake in” procedures to minimise data collection and to ensure consumer trust in the new networked environment.

Tim O’Reilly
, coiner of the phrase “Web 2.0” sees the internet of things as the most important online development yet. He thinks the name is misleading – that IoT is “really about human augmentation”. O’Reilly believes that we should “expect our devices to anticipate us in all sorts of ways”. He uses the “intelligent personal assistant”, Google Now, to make his point.

So what happens when these millions of embedded devices connect to artificially intelligent machines? What does AI + IoT = ? Will it mean the end of civilisation as we know it? Will our self-programming computers send out hostile orders to the chips we’ve added to our everyday objects? Or is this just another disruptive moment, similar to the harnessing of steam or the splitting of the atom? An important step in our own evolution as a species, but nothing to be too concerned about?

The answer may lie in some new thinking about consciousness. As a concept, as well as an experience, consciousness has proved remarkably hard to pin down. We all know that we have it (or at least we think we do), but scientists are unable to prove that we have it or, indeed, exactly what it is and how it arises.

Dictionaries describe consciousness as the state of being awake and aware of our own existence. It is an “internal knowledge” characterized by sensation, emotions and thought.

Just over 20 years ago, an obscure Australian philosopher named David Chalmers created controversy in philosophical circles by raising what became known as the Hard Problem of Consciousness. He asked how the grey matter inside our heads gave rise to the mysterious experience of being. What makes us different to, say, a very efficient robot, one with, perhaps, artificial intelligence? And are we humans the only ones with consciousness?

  • Some scientists propose that consciousness is an illusion, a trick of the brain. 
  • Still others believe we will never solve the consciousness riddle. 
  • But a few neuroscientists think we may finally figure it out, provided we accept the remarkable idea that soon computers or the internet might one day become conscious.
In an extensive Guardian article, the author Oliver Burkeman wrote how Chalmers and others put forth a notion that all things in the universe might be (or potentially be) conscious, “providing the information it contains is sufficiently interconnected and organized.” So could an iPhone or a thermostat be conscious? And, if so, could we in the midst of a ‘Conscious Web’?

Back in the mid-1990s, the author Jennifer Cobb Kreisberg wrote an influential piece for Wired, A Globe, Clothing Itself with a Brain. In it she described the work of a little known Jesuit priest and paleontologist, Teilhard de Chardin, who 50 years earlier described a global sphere of thought, the “living unity of a single tissue” containing our collective thoughts, experiences and consciousness.

Teilhard called it the “nooshphere” (noo is Greek for mind). He saw it as the evolutionary step beyond our geosphere (physical world) and biosphere (biological world). The informational wiring of a being, whether it is made up of neurons or electronics, gives birth to consciousness. As the diversification of nervous connections increase, de Chardin argued, evolution is led towards greater consciousness. Or as John Perry Barlow, Grateful Dead lyricist, cyber advocate and Teilhard de Chardin fan said: “With cyberspace, we are, in effect, hard-wiring the collective consciousness.”

So, perhaps we shouldn’t be so alarmed. Maybe we are on the cusp of a breakthrough not just in the field of artificial intelligence and the emerging internet of things, but also in our understanding of consciousness itself. If we can resolve the privacy, security and trust issues that both AI and the IoT present, we might make an evolutionary leap of historic proportions. And it’s just possible Teilhard’s remarkable vision of an interconnected “thinking layer” is what the web has been all along.

• Stephen Balkam is CEO of the Family Online Safety Institute in the US

ORIGINAL: The Guardian

Stephen Balkam

Friday 20 February 2015

miércoles, 10 de diciembre de 2014

Anyone Can Now Use IBM's Watson To Crunch Data For Free


You probably know IBM's Watson platform best from its winning performance on Jeopardy. But the supercomputer is more than just a mechanism for IBM to publicly shame smart people. It's arguably the most powerful natural-language supercomputer in the world, and thanks to a new public beta, its number-crunching abilities are open to all.

Specifically, IBM has opening the Watson Analytics platform up to everyone in a public beta. The analytics platform is meant to make 'big data' processing available to people without a statistics degree — in theory, you'll be able to chuck in a dataset, and Watson will pull out the interesting correlations, predictive analyses and the like, and present it all in a series of infographics and graphs.

It's an interesting proposition for IBM. Although Watson has been used to pull off a number of stunts — useful and otherwise — allowing for easy data analysis is potentially one of its most handy applications. [ZDNet]

ORIGINAL: Gizmodo

sábado, 6 de diciembre de 2014

New Startup Sets Out to Bring Google-Style AI to the Masses

Getty Images

Richard Socher carries a resume that would seem to make him rather attractive to the giants of the internet.

He just finished a PhD at Stanford University, where he explored a form of artificial intelligence called “deep learning,” teaching machines to recognize images and understand natural language using software that operates a bit like the networks of neurons in the human brain. In recent years, the giants of net—including Google, Facebook, Microsoft, and Baidu—have seized on deep learning as a path to the future of automated computer systems, and they’ve been hiring researcher after researcher from the relatively small community of academics that specialize in this rather complicated technology.

Richard Socher. MetaMind
Socher says the big names have knocked at his door—“I had some very, very attractive offers”—but he turned them down. He wanted to start his own company, a company that would build deep learning technologies anyone can use, not just the internet giants. That company is called MetaMind, and it’s backed by $8 million in funding from Saleforce.com CEO Marc Benioff and big-name venture capital fund Khosla Ventures, with Khosla’s resident chief technology officer, Sven Strohband, serving as the new company’s CEO.

“They’re doing some amazing work—Google and Microsoft and Facebook and so on—and their work is impacting a lot of people,” Socher says. “But I felt like there’s a lot more potential if you give those tools to the remaining Fortune 500 companies—or to people on the internet, just to let them play with them on their own.”

MetaMind is just four months old, but its website, launched today, provides a taste of the technology the company will offer to businesses large and small—not to mention anyone else on the net. You can see how its deep learning tools can, say, recognize particular images or understand the meaning of particular sentences. If you drag and drop a few chocolate-chip-cookie photos onto one MetaMind tool, it can then automatically identify other images of chocolate-chip cookies. If you type “bald man on a horse,” it can show you images of bald men on horses.

These are neat party tricks. But if used on a larger scale, this kind of thing can be remarkably effective inside online businesses—i.e. practically any business. It’s certainly useful to Google and Facebook—they’re using similar deep learning technology to better understand search queries and identify images on their own online services—and Socher says MetaMind is already working with a wide range of businesses, including everything from companies with an interest in identifying food photos to medical outfits looking to automatically examine things like body scans and X-rays.

The startup is just one of many created to bring this type of advanced artificial intelligence to the larger online universe. Though several have been bought up by the likes of Google, Facebook, Yahoo, and Twitter, others remain independent, most notably a startup called Clarifai.

But whereas Clairfai focuses on image search, MetaMind aims to offer a rather broad set of tools, including natural language processing. At Stanford, Socher specialized this field, striving to build systems that can understand not just words but sentences or even entire paragraphs.

The jury is still out on MetaMind’s particular tools. But the company has at least pinpointed the important area of research. Though many companies have deployed deep learning tools that recognize images and speech, the “next frontier” is a breed of computer system that can truly understand language, says Yann LeCun, the deep learning founding father who now runs Facebook’s AI lab.

Sven Strohband. MetaMind
Yes, he explains, tools like Siri and Google Now can understand words you say, but not necessarily the meaning of those words. The hope is that deep learning will help drive machines that can learn to understand language as they go along. One of the technology’s key attributes is its ability to train itself on certain tasks, and this, LeCun says, is where many believe it can help with natural language processing.

This is the kind of thing being explored by another MetaMind tool, where you can type two sentences and it will tell you how similar they are. If you key in “surfers ride big waves” and “big waves are ridden by surfers,” it will tell you they mean the same thing. It’s the sort of technology businesses can use to, say, automatically answer questions from its customers. “A customer can ask a question a myriad of ways—even though they all mean the same things,” says Socher. Or it could help analyze what customers are saying about a company on social networking services like Twitter.

MetaMind—which currently spans only 10 employees—will act as a kind of deep learning consultant, but it will also offer its own deep learning services and software to businesses. Running across hundreds of machines loaded with tens of thousands of graphics processors, its online service will let business run deep learning tasks without setting up their own hardware. But if a business prefers to run their own deep learning systems, MetaMind will provide the software—and the expertise—needed to do so.

The company’s pitch is rather broad. It’s positioning itself as a catch-all deep learning company, and in all likelihood, it will hone its efforts in the coming months. But for Adam Gibson, the brains behind another deep learning startup called SkyMind, MetaMind is an outfit worth following, mainly because of Socher’s previous work. “They will occupy a niche,” he says, “if only because Richard knows what he’s doing.”


ORIGINAL: Wired
12.05.14