Artificial intelligence, or AI, is a branch of computer science that aims to build machines that perceive, reason, learn and act in ways that we call intelligent.
Definitions of AI
There is no single definition, and the definitions fall into four groups. Some say that AI is thinking humanly, which is to model the human mind. Some say acting humanly, as in the Turing test. Some say thinking rationally, using the laws of logic. The most useful for engineering is acting rationally: an AI system is one that acts to achieve the best expected outcome. John McCarthy, who named the field in 1956, called it the science and engineering of making intelligent machines.
Definition: Artificial intelligence. The branch of computer science concerned with building systems that perceive their environment, reason, learn and act to achieve goals in ways that would need intelligence if done by people.
The Turing Test
In 1950 Alan Turing proposed a test for machine intelligence. A person holds a text conversation with a hidden partner, which is either a machine or a person. If the person cannot tell which it is, the machine is said to have passed. The test judges behaviour only, not the way in which the behaviour is produced. A machine that passes would need natural language processing, knowledge representation, reasoning and learning.
Concepts and Branches
The main areas are problem solving and search, knowledge representation and reasoning, machine learning, natural language processing, computer vision, robotics, expert systems and planning. AI is also split into narrow AI, which does one task well, as in a chess program, and general AI, which would match a person across many tasks. All systems today are narrow AI.
Applications
AI is used in healthcare for the reading of scans and for diagnosis, in finance for fraud detection and trading, in transport for navigation and self-driving, in education for adaptive tutoring, in agriculture for crop monitoring, in customer service for chatbots, in manufacturing for inspection and robots, and in entertainment for recommendations and games. Voice assistants, spam filters and translation tools are everyday examples.
Table 1.1: Approaches to defining AI
| Approach | Goal | Example |
|---|---|---|
| Thinking humanly | Model the human mind | Cognitive models |
| Acting humanly | Pass the Turing test | Chatbots |
| Thinking rationally | Follow laws of logic | Theorem provers |
| Acting rationally | Best expected outcome | Rational agents |
Example 1.1: Applying the Turing test idea
Problem: A judge chats for ten minutes with two hidden partners, A and B, one of whom is a program. The judge says that A is the human, but A is the program. Has the program passed the test?
Solution:
- The test is passed when the judge cannot reliably tell the machine from the person.
- Here the judge took the program for the human.
- A single trial is weak evidence, since the judge might guess, so the test is repeated with many judges.
Result: The program fooled this judge, so it passes this trial. It passes the test if it keeps doing so over many trials.
Common mistakes
- Thinking that AI means robots only.
- Treating all of today's systems as general AI. They are narrow.
- Thinking that the Turing test measures understanding. It measures behaviour.
Key takeaways
- AI builds systems that perceive, reason, learn and act.
- The four approaches are thinking and acting, humanly and rationally.
- The Turing test judges behaviour in a text conversation.
- Present systems are narrow AI.
Practice questions
- Define artificial intelligence.
- What is the Turing test?
- Give two applications of AI.
Answers to the practice questions
- The branch of computer science that builds systems which perceive, reason, learn and act to achieve goals, as intelligent beings do.
- A test in which a machine passes if a person cannot tell it from a human in a text conversation.
- Medical diagnosis and fraud detection (also self-driving, chatbots).
Sources
- Official BCA syllabus Artificial Intelligence and Expert Systems, course code 25BCA405DS02, Unit I
