1. Gyanastra
  2. Artificial Intelligence
  3. Approaches to AI
  4. Turing Test and Rational Agents
Free lesson, no account needed 9 min read 25 practice questions after it
Asked in past papers2 times
  • UGC NET20182017

Artificial Intelligence · Approaches to AI

Turing Test and Rational Agents

Overview

The Turing Test is a behavioural criterion for machine intelligence: a machine passes if a human interrogator cannot distinguish its text responses from a human’s.
The rational-agent approach instead defines intelligence by an agent’s ability to choose actions that maximise expected performance in its environment.
These approaches answer different questions—one asks whether a system behaves indistinguishably from a human, the other asks whether a system acts rationally under uncertainty.
The topic also requires the standard vocabulary of agents, PEAS descriptions, agent architectures, and task-environment properties because those ideas decide which agent design is appropriate.
Before studying this lesson, know the basic notion of an agent as a system that perceives and acts.

Key concepts

  • Turing Test (Alan Turing): a machine passes if a human interrogator cannot reliably tell whether the responder is a human or a machine in a text-only conversation.
    The interrogator is the human judge who asks questions and makes the identification.
  • Standard Turing Test: text-only; it deliberately avoids direct physical interaction. Total Turing Test: adds video/audio perception and motor behaviour, so physical skills can be tested.
    The test evaluates behaviour, not internal reasoning.
  • Rational agent: for each possible percept sequence, it selects the action expected to maximise its performance measure, given its percept history and built-in knowledge.
    Rationality is not omniscience: a rational agent can fail because it cannot know the actual future outcome.
  • Performance measure: the external criterion of success. It must reward the intended outcome; if it rewards a proxy such as “number of cleaning actions”, the agent may exploit it by re-cleaning clean rooms.
  • PEAS: Performance measure, Environment, Actuators, Sensors. These are the four components of a well-defined task environment.
  • Agent architectures: simple reflex agent uses condition-action rules; model-based reflex agent keeps internal state to track unobserved parts; goal-based agent uses goals and search/planning; utility-based agent uses a utility function and expected utility; learning agent improves behaviour from experience.
  • Learning agent components: performance element selects actions; learning element improves the performance element; critic gives feedback; problem generator suggests exploratory actions.
  • Task environment properties: fully or partially observable; deterministic or stochastic; episodic or sequential; static, dynamic, or semi-dynamic; discrete or continuous; single-agent or multi-agent; known or unknown.
    An uncertain environment is one that is not fully observable or not deterministic.
  • Semi-dynamic environment: the environment itself does not change with the passage of time, but the agent’s performance score does.
  • Standard planning algorithms assume the environment is both deterministic and fully observable.

How it works

Turing Test procedure

  1. The interrogator communicates by text with two hidden entities.
  2. One entity is a human; the other is the machine under test.
  3. The interrogator asks questions and receives text replies.
  4. If the interrogator cannot reliably identify the machine, the machine passes the standard test.
  5. The standard test avoids physical interaction; the total test includes perceptual and motor behaviour.

Rational-agent decision cycle

  1. Perceive the environment through sensors.
  2. Update internal state or knowledge from the percept sequence.
  3. Generate candidate actions.
  4. Predict possible outcomes and their probabilities.
  5. Compute the expected utility of each action.
  6. Select the action with maximum expected utility, using a fixed tie-breaking rule if needed.
  7. Execute the action through actuators.
  8. Receive the next percept and repeat.
Figure. Notice that the cycle starts with the agent, passes through sensors, percepts, state update, action generation, expected-utility computation, and best-action selection, then actuators affect the environment, which returns to the agent.

Formulas

  • Expected utility of action aa: EU(a)=∑oP(o∣a) U(o)EU(a)=\sum_{o} P(o\mid a)\,U(o)

  • where oo is a possible outcome, P(o∣a)P(o\mid a) is the probability of oo given aa, and U(o)U(o) is the utility of oo.

  • Rational choice: a∗=arg⁡max⁡a∈AEU(a)a^*=\arg\max_{a\in A} EU(a)

  • where AA is the set of available actions.

  • For two outcomes: EU(a)=p1U(o1)+p2U(o2),p1+p2=1.EU(a)=p_1U(o_1)+p_2U(o_2),\qquad p_1+p_2=1.

  • Tie-breaking: if EU(ai)=EU(aj)EU(a_i)=EU(a_j), a fixed rule such as “choose the lowest-index action” decides.

Worked examples

Example 1 — Turing Test role. An interrogator asks questions by text and must decide which hidden responder is the machine. If the interrogator cannot reliably distinguish, the machine passes the standard Turing Test.
The standard test avoids physical interaction; the total Turing Test adds perception and motor behaviour. Final answer: the interrogator is the human judge, and the standard test is text-only.

Example 2 — PEAS for a robot vacuum.

ComponentDescription
Performance measurerooms cleaned per hour, low battery use
Environmentrooms, dirt, obstacles
Actuatorswheels, vacuum, brush
Sensorsdirt sensor, bump sensor, camera

Final answer: PEAS = Performance measure, Environment, Actuators, Sensors.

Example 3 — Expected utility.
Action A: utility 8080 with probability 0.60.6, utility 2020 with probability 0.40.4.
EU(A)=0.6×80+0.4×20=48+8=56EU(A)=0.6\times80+0.4\times20=48+8=56.
Action B: utility 6060 with probability 0.80.8, utility 1010 with probability 0.20.2.
EU(B)=0.8×60+0.2×10=48+2=50EU(B)=0.8\times60+0.2\times10=48+2=50.
Choose A because 56>5056>50. Final answer: A.

Example 4 — Threshold probability.
Stop gives utility 5050 for sure. Explore gives utility 120120 with probability pp and 00 with probability 1−p1-p.
EU(Explore)=120p+0=120pEU(\text{Explore})=120p+0=120p.
Explore is rational if 120p>50120p>50, so p>5/12≈0.4167p>5/12\approx0.4167.
At p=0.5p=0.5, EU=60>50EU=60>50, so explore. At p=0.4p=0.4, EU=48<50EU=48<50, so stop.

Example 5 — Matching agent types.
A. Simple reflex agent — condition-action rules.
B. Model-based reflex agent — internal state.
C. Goal-based agent — goals and search/planning.
D. Utility-based agent — utility function and expected utility.
E. Learning agent — improves from experience.
Final answer: A-condition-action, B-internal state, C-goals, D-utility, E-experience.

Comparison

Turing Test vs rational-agent approach

PointTuring TestRational-agent approach
Question askedCan a machine imitate a human?Does the agent act rationally?
CriterionBehaviour indistinguishable to interrogatorMaximises expected performance measure
FocusExternal behaviourDecision rule and outcomes
UncertaintyNot centralCentral through expected utility
FailureCan be tricked by imitationCan fail despite rationality due to unlucky outcomes

Agent architectures

Agent typeDecision basisInternal stateHandles partial observabilityHandles trade-offs/uncertainty
Simple reflexcondition-action rulesNoGenerally noNo
Model-based reflexinternal state + rulesYesYesLimited
Goal-basedgoals + search/planningYesCanNo explicit probabilities
Utility-basedutility function + expected utilityYesYesYes
Learningperformance element + learning elementYesCanCan improve over time

Environment properties

PropertyMeaning
Fully observablesensors give access to the complete state
Partially observablesensors do not give the complete state
Deterministicnext state is completely fixed by current state and action
Stochastic / non-deterministicnext state is not completely fixed
Episodicepisodes are independent
Sequentialcurrent action affects future decisions
Staticenvironment does not change while the agent deliberates
Dynamicenvironment changes while the agent deliberates
Semi-dynamicenvironment does not change while deliberating, but performance score does
Discrete / continuousstates, actions, percepts are discrete or continuous
Single-agent / multi-agentone agent or several interacting agents
Known / unknownagent knows the laws/outcomes or does not
Uncertainnot fully observable or not deterministic

Standard vs total Turing Test

TestWhat it includes
Standard Turing Testtext-only conversation; avoids physical interaction
Total Turing Testadds video/audio perception and motor behaviour

Revision summary

  • Turing Test: behaviour, not internal reasoning; interrogator is the human judge.
  • Standard Turing Test is text-only; total test adds perception and motor behaviour.
  • Rational agent maximises expected performance measure, not guaranteed actual success.
  • PEAS = Performance measure, Environment, Actuators, Sensors.
  • Simple reflex: condition-action; model-based: internal state; goal-based: goals/search; utility-based: expected utility; learning: experience.
  • Fully observable = complete state via sensors; deterministic = next state fixed by current state and action.
  • Uncertain environment = not fully observable or not deterministic.
  • Semi-dynamic = environment does not change while deliberating, but performance score does.
  • Standard planning assumes deterministic and fully observable.
  • Expected utility: EU(a)=∑P(o∣a)U(o)EU(a)=\sum P(o\mid a)U(o); choose maximum.
  • Rationality is not omniscience.
  • Learning agent components: performance element, learning element, critic, problem generator.

Previous-year exam insights

  • Direct concept questions ask for the definition of the Turing Test, the role of the interrogator, or the difference between standard and total tests.
  • Statement I/II/III questions test whether the standard test avoids physical interaction, whether a rational agent always succeeds, and whether a learning agent can improve performance.
  • Match List-I with List-II questions map agent architectures to decision bases or PEAS components to descriptions.
  • Assertion-Reason questions test rationality versus hindsight: a rational action may still produce a poor outcome because rationality is judged by expected performance.
  • Numeric questions compute expected utility, choose the maximum, apply a tie-breaking rule, or find a threshold probability.
  • Environment-classification questions ask whether an environment is uncertain, semi-dynamic, dynamic, or static; check the exact definitions first.
  • Traps: confusing rationality with omniscience; using AND instead of OR for uncertain environments; forgetting that standard planning assumes deterministic and fully observable; confusing performance measure with utility function.
  • Check first: identify whether the question is about the Turing Test, an agent type, an environment property, or an expected-utility calculation.

Practice at PARIKSHA

You are ready for the PARIKSHA tests of this sub-topic when you can:

  • Define the standard Turing Test and state the role of the interrogator.
  • Distinguish the standard Turing Test from the total Turing Test.
  • Write a PEAS description for a given agent.
  • Classify an environment as fully/partially observable, deterministic/stochastic, static/dynamic/semi-dynamic, episodic/sequential, discrete/continuous, single/multi-agent, and known/unknown.
  • Explain why an uncertain environment is not fully observable or not deterministic.
  • Match agent architectures with their decision bases.
  • Compute expected utility for two or three actions and select the rational choice.
  • Apply a tie-breaking rule when expected utilities are equal.
  • Explain rationality versus omniscience and why a rational agent can fail.
  • Identify the four components of a learning agent and explain how learning improves performance.

Attempt the sub-topic test first, then the subject test.

Pages 1–2 of 2