1 Introduction

Artificial Intelligence · Unit 1 · 3 hrs

Introduction

Exam-focused notes for Introduction (Artificial Intelligence, CSC266): what the TU syllabus asks and how it has actually been tested, with 6 solved past questions from this unit.

Introduction in short

This unit introduces artificial intelligence as a field of study: how the discipline is defined from four different angles, how it developed from the 1940s to the present, the other disciplines it draws its foundations from, and the areas where it is applied today.

Introduction: notes

Artificial Intelligence (AI)

Intelligence is the capacity to learn from experience, reason about a situation and solve problems that have not been seen before. Artificial Intelligence (AI) is the branch of computer science concerned with building systems that exhibit these characteristics, that is, systems that reason, plan, represent knowledge, learn, perceive and communicate in a way that would be called intelligent if a human did it. Work in AI therefore spans several closely related concerns: automated deduction, planning, problem solving, knowledge representation, learning, and natural language processing, each of which becomes its own unit later in this subject.

AI Perspectives: Acting and Thinking Humanly, Acting and Thinking Rationally

There is no single agreed definition of AI. Different researchers have framed the goal of the field along two independent axes: whether the system should think or act, and whether the standard it is measured against is human behaviour or an idealised standard of rationality. Crossing these two axes gives four perspectives.

Thinking humanly (the cognitive modelling approach). A program is said to think like a human only once we have a precise enough theory of how humans actually think and can express that theory as a program whose input-output behaviour matches human behaviour on the same task. A theory of mind of this kind can be built in three ways: through introspection (catching one's own thoughts as they occur), through psychological experiments (observing a person performing a task), and through brain imaging (observing the brain while it works).

Acting humanly (the Turing test approach). Alan Turing proposed that a computer can be called intelligent if a human interrogator, after posing written questions to both a computer and a person, cannot reliably tell which of the two answered. Passing this test would in practice require natural language processing (to communicate in English), knowledge representation (to store what it is told), automated reasoning (to answer questions and draw new conclusions from stored information), and machine learning (to adapt to new circumstances and detect patterns).

Thinking rationally (the "laws of thought" approach). Aristotle was among the first to try to codify correct reasoning through syllogisms, patterns that give a guaranteed correct conclusion from correct premises: "Socrates is a man; all men are mortal; therefore Socrates is mortal" is the standard example. This line of thought led to the field of formal logic, and the logicist tradition in AI tries to build intelligent systems directly on top of logical inference. Two obstacles limit this approach in practice: informal, uncertain knowledge is hard to state in the strict form logic requires, and there is a large gap between showing a problem is solvable "in principle" by logic and actually solving it efficiently.

Acting rationally (the rational agent approach). A rational agent acts so as to achieve the best expected outcome given what it perceives and what it knows; this is the definition used throughout this subject. Compared with the laws-of-thought approach, acting rationally is more general, since correct logical inference is only one of several possible routes to a good action, and it is more amenable to scientific development than approaches anchored to human behaviour or human thought, since rationality can be defined mathematically and independently of whether it resembles how people actually think.

What this unit covers

  • Artificial Intelligence (AI)
  • AI Perspectives: acting and thinking humanly, acting and thinking rationally
  • History of AI
  • Foundations of AI
  • Applications of AI

Foundations of AI

2081 · 5 marks

What is intelligence? Describe the foundation of AI. [5]

Show solved answer

What is Intelligence? Foundations of AI


Intelligence

Intelligence is the capacity to learn and solve problems. More specifically, it is the ability to:

  • Solve novel problems
  • Act rationally
  • Act like humans

In the context of computer science, intelligence refers to designing computer systems that exhibit characteristics we associate with intelligent human behaviour, including reasoning, planning, problem solving, knowledge representation, learning, and natural language processing.


Artificial Intelligence (AI)

AI is the field concerned with giving machines human-like capabilities to perform tasks normally associated with reasoning and intelligence. There are four main approaches to defining AI:

a) Thinking Humanly (Cognitive Modeling Approach)

This approach focuses on making computers think like humans. To determine how humans think, three methods are used:

  • Introspection - catching our own thoughts as they go by
  • Psychological experiments - observing a person in action
  • Brain imaging - observing the brain in action

"The automation of activities that we associate with human thinking, such as decision-making, problem solving, learning..." - Bellman, 1978

b) Acting Humanly (Turing Test Approach)

A computer is called intelligent if it passes the Turing Test, where a human interrogator cannot distinguish written responses from a computer versus a human. The computer must possess:

  • Natural language processing - to communicate successfully
  • Knowledge representation - to store what it knows
  • Automated reasoning - to answer questions and draw conclusions
  • Machine learning - to adapt to new circumstances

"The art of creating machines that perform functions that require intelligence when performed by people." - Kurzweil, 1990

c) Thinking Rationally

Focuses on using computational methods to model mental faculties and reasoning.

"The study of computations that make it possible to perceive, reason and act." - Winston, 1992

d) Acting Rationally

Focuses on designing intelligent agents that behave rationally in their environment.

"Computational Intelligence is the study of design of intelligent agents." - Poole et al., 1998


Foundations of AI

AI is built upon contributions from several disciplines:

DisciplineKey ContributionsCore Question
PhilosophyLogic, reasoning, mind as physical systemWhere does knowledge come from? How does it lead to action?
MathematicsFormal proof, algorithms, probabilityWhat can be computed? How do we reason under uncertainty?
PsychologyAdaptation, perception, motor controlHow do humans and animals think and act?
EconomicsRational decision theory, game theoryHow should we make decisions to maximize payoff?
LinguisticsKnowledge representation, grammarHow does language relate to thought?
NeurosciencePhysical substrate for mental activitiesHow do brains process information?
Control TheoryHomeostatic systems, optimal agent designHow can artifacts operate under their own control?

These foundations together provide the theoretical and practical basis upon which AI systems are designed, making AI a truly interdisciplinary field.

Open this answer on its own page →

2078 · 5 marks

How philosophy, sociology and economics influence the study of artificial intelligence? [5]

Philosophy is one of the foundational disciplines that directly shaped the development of AI. Philosophy contributes the following: - Logic and methods of reasoning - Mind as a physical system - Foundations of learning and language - Concepts of rationality - Where does knowledge come from? (Epis...

Open this answer on its own page →

AI Perspectives

2080 · 5 marks

What is Turing Test? What properties an agent should have to pass the Turing Test? [5]

Show solved answer

Turing Test and Properties Required to Pass It

What is the Turing Test?

The Turing Test was proposed by Alan Turing in 1950 as a way to determine whether a machine can exhibit intelligent behaviour equivalent to, or indistinguishable from, that of a human.

Setup of the Turing Test

The test involves three participants:

  • A human interrogator (C) who communicates via text only
  • A human respondent (A)
  • A machine/computer (B)

The interrogator asks questions to both A and B through a terminal (without seeing them). If the interrogator cannot reliably distinguish the machine from the human based on the responses, the machine is said to have passed the Turing Test and is considered to be exhibiting intelligent behaviour.

In simple terms: If a machine can think and respond like a human, it is considered intelligent.


Properties an Agent Should Have to Pass the Turing Test

To pass the Turing Test, an agent must possess the following capabilities:

1. Natural Language Processing (NLP)

  • The agent must be able to understand and communicate in human language (e.g., English).
  • It should parse questions, understand context, and generate grammatically correct, meaningful responses.

2. Knowledge Representation

  • The agent must store and manage a large knowledge base about the world.
  • A knowledge base is "a collection of knowledge" that is updated periodically as the agent acquires new knowledge.

3. Automated Reasoning

  • The agent must use stored knowledge to draw valid conclusions and answer new questions.
  • It must handle logical inference and reasoning under uncertainty using tools like probability theory.

4. Machine Learning

  • The agent must have the ability to learn from previous experience and adapt its behaviour.
  • As stated in the notes: "An agent has ability to learn from previous experience and to successively adapt its own behaviour to the environment."
  • This includes supervised learning and other learning paradigms.

5. Reactivity

  • The agent must be capable of reacting appropriately to information from its environment (the interrogator's questions).
  • It should respond in a timely and contextually relevant manner.

6. Computer Vision (for Total Turing Test)

  • In the extended or Total Turing Test, the agent must also perceive and interpret images or video, requiring computer vision capabilities.

7. Robotics (for Total Turing Test)

  • The agent must be able to manipulate objects and move purposefully, demonstrating physical intelligence.

Summary Table

PropertyPurpose
Natural Language ProcessingUnderstand and generate human language
Knowledge RepresentationStore and manage world knowledge
Automated ReasoningDraw conclusions from knowledge
Machine LearningAdapt and improve from experience
ReactivityRespond appropriately to inputs
Computer VisionPerceive visual inputs (Total Turing Test)
RoboticsPhysical interaction (Total Turing Test)

Conclusion: The Turing Test remains a foundational benchmark in AI. An agent that successfully integrates NLP, knowledge representation, reasoning, and learning can convincingly mimic human intelligence and pass the test.

Open this answer on its own page →

2078 · 5 marks

What is Turing test? How it can be used to measure intelligence of machine? [5]

The Turing Test was proposed by Alan Turing in his 1950 paper "Computing Machinery and Intelligence", which is considered the first complete vision of AI. The Turing Test states that: A computer could be called intelligent if it passes the test where a human interrogator, after posing some writte...

Open this answer on its own page →

2076 · 5 marks

What is AI? How can you define AI from the perspective of thought process? [5]

Artificial Intelligence (AI) is a branch of computer science that deals with the simulation of intelligent behavior in computers. It is the science and engineering of making intelligent machines, especially intelligent computer programs, that can perform tasks that would normally require human in...

Open this answer on its own page →

2080.1 · 5 marks

How can you define AI from the dimension of behavioural process? When a machine is said to pass Turing Test? [5]

AI can be defined from four dimensions based on thinking/acting and humanly/rationally. The behavioural (process) dimension focuses on how a system acts rather than what it thinks internally. The two behavioural approaches are: "A computer could be called intelligent if it passes the test of a hu...

Open this answer on its own page →