~erdo.dev


Introduction to AI, ML, and DL

2019-07-07

Nowadays, lots of people are all thinking and worried like;

“Will a robot take my job in the future? How is artificial intelligence likely to change my job in the near future? Where are AI technologies being used nowadays and where will they come later?”

Before we judge this, let us examine a few simple concepts. But before we start, let me give you a hint, you might think these will be in the future, all are happening right now! As you’ve noticed, artificial intelligence has been a hot topic for several years now. It’s not hard to see if you have an internet connection, because news about it is now everywhere. Some people fear that these developments can be dangerous, and others seem to be greeted with excitement. But it is not a new thing. Since the beginning of the ’50s, some researchers studying this concept. The most important people who play a role in bringing artificial intelligence to the present are computer scientists such as John McCarty and Alan Turing. They started their research based on the “Can machines think?” problem. In 1950, Alan Turing brings up whether machines can think or not, in an article. With his famous Turing Test, it is possible to distinguish whether a machine is intelligent or not. If a person cannot identify a human or a machine behind an interaction, then this means that a machine is an intelligent machine and it can think. However, in 1956, the eponym of artificial intelligence was John McCarthy, who organized an academic conference on the subject. At the end of the conference, the common views of the participants were that the studies on artificial intelligence should be developed to an advanced level. Priority topics included natural language processing, image recognition and classification, and machine learning, which became popular today. However, the real development of these began to be seen lately due to the advancement of hardware technologies and excessive amounts of data.

While initial research began at university laboratories, it is now becoming an attractive subject for the most prestigious companies. Such as Facebook or NVIDIA even if it is an electronic hardware company. In the last 10 years, artificial intelligence has emerged from a concept used in science fiction films, and books and has become a part of our lives. IBM’s Watson, who won the knowledge contest, and developments such as the Google AI that defeated the world champion in the GO intelligence game today have put artificial intelligence into the agenda of all of us. Today’s largest technology companies invest in artificial intelligence. We are now experiencing more artificial intelligence and even machine learning and deep learning in mobile phones, social media, search engines, and many other places. In the past, while artificial intelligence was the subject of science fiction films and books, today we can see AI impacts everywhere like self-driving cars, content recommendation, object detection, voice assistants, and medical disease diagnostics. It may be wrong to expect to see humanoid robots during this period because research and development are still being done on artificial intelligence, but I don’t think that is too far away.

Artificial intelligence is a very extensive concept. To understand some things more easily, we can examine AI in three parts and these are:

Also, we will touch on some AI-related fields such as:

Now let us understand these concepts one by one.

Artificial Intelligence

Among our concepts, artificial intelligence is the widest scope. We can think of artificial intelligence as a branch of computer science despite it is contradictory. The experts working on artificial intelligence, machine learning, and deep learning have not yet reached a consensus on these words. So far, the scientists involved in this subject have not made a clear definition of artificial intelligence. Because when artificial intelligence is called, many philosophical questions come with it, such as "What is intelligence? Can we call smart, a system that can do what people do? What if they only memorize that specific task?". Although no definite definition can be made, we can simply call artificial intelligence systems that people cannot do or do faster than people.

General vs Narrow AI

You may see the words "general" and "narrow" AI when reading the news. So what does that mean? Narrow AI is an AI that performs a single job. General AI or Artificial General Intelligence (AGI) refers to a machine capable of performing any intellectual task. All the AI techniques that we use today fall under narrow AI, while general AI stays in the science fiction domain. In reality, despite all the attempts, AI researchers have abandoned the idea of AGI due to the absence of advancement towards it in more than 50 years. Narrow AI, on the other hand, is progressing in leaps and boundaries according to developments on the side of deep learning.

Strong vs Weak AI

Strong AI would be a truly smart and self-conscious “mind.” Weak AI is what we truly have, namely systems that, despite being “merely” computers, display smart behaviors.

Autonomy

The capacity or ability to execute duties without constant user guidance in complex environments.

Adaptivity

The capacity or ability of learning from experience to enhance efficiency and productivity.

Machine Learning

Machine learning is the technique of using algorithms to parse data, learn from it, and then make a prediction or determination about something in the world. In doing so, it does not expect you to actively write various codes, but if you feed a machine learning algorithm with data it will start to output to you. The mainstay of machine learning is to create algorithms that can receive various data as input and use statistical analysis for estimation when updating the output as new data emerges.

Machine learning algorithms are categorized into three groups supervised, unsupervised, and reinforcement learning. Supervised learning consists of classification and regression algorithms that use data that have labels. An example can be orthopedic patients' data that have labels normal and abnormal. Unsupervised learning: It uses data that is unlabeled and uncovers hidden patterns from unlabeled data. An example of this can be another version of orthopedic patients' data that does not have labels. You do not know which orthopedic patient is normal or abnormal. On the other side, the reinforcement learning approach differs from supervised learning and unsupervised learning approaches in machine learning. Reinforcement learning is a machine learning technique that learns what needs to be done for the purpose. In reinforcement learning, our agent reacts to the situations it encounters and receives a numerical reward in return. The agent tries to maximize this reward point it receives. The trial and error method that works in this way is the most distinctive feature of reinforcement learning.

Deep Learning

Deep Learning is a subfield of machine learning, which itself is a subfield of AI, which itself is a subfield of computer science. Much more data brings out into the open better artificial intelligence functions. Problems will become more complex, as they become more complicated, changeovers will occur from artificial intelligence to machine learning. As it becomes even more complex, transitions from machine learning to deep learning will begin. The more data you have, the better your system work better. While the machine learning process is in one layer, deep learning processes in many layers at the same time. These simultaneous operating layers require advanced processor units. Thanks to today's technologies, GPUs are perfect for this job. GPUs have many more cores than CPUs, which allows them to perform parallel processing. For example, we need to separate a picture of a banana and a picture of an orange. In machine learning, we were trying to introduce the experience that human beings have acquired so far to the machine through the parameters. We had to define many parameters like "If it is orange-colored and round it is probably orange. If it is yellow with the form of a bow, it is probably banana".

However, deep learning can learn these differences by itself. Only by showing the orange and banana photos to the deep learning system, it can create its own rules, then to reveal the differences, it realizes color and shape are the main distinguishing features of the difference.

Why Deep Learning: When the amount of data is increased, machine learning techniques are insufficient in terms of performance and deep learning gives a better performance like accuracy.

What is the Amount of Big?: It is hard to answer but intuitively 1 million samples are enough to say “big amount of data”.

Usage Fields of Deep Learning: Computer vision, natural language processing (NLP), recommendation systems, autonomous driving.

What is the Difference Between Deep Learning and Machine Learning?:

AI-Related Fields

Data Science and Engineering

Data science is a fresh term that comprises several sub-disciplines such as machine learning and statistics, a certain domain of computer science including algorithms, data storage, and web. Solutions in data science often require at least a pinch of AI.

Robotics

Robotics implies building and programming robots to function in complex, real-world situations. In a manner, robotics is AI’s ultimate challenge as it needs a mixture of almost all AI fields such as:

Machine learning best addresses many of the robotics-related AI issues, making machine learning a key AI branch for robotics.

References