CUHK AI Quiz Revision Notes - 2024 - 2025
CUHK AI Quiz Revision Notes - 2024 - 2025
Examples of AI technologies
1
Chatbots: Natural language processing Song recommendation systems: Deep
technologies are used to understand learning is used to recommend songs
user inputs and generate responses based on user history (decision making).
(communicate using human language).
Automated Teller
3D printer Web browsing
Machine (ATM)
2
Chapter 2 - Fundamentals of AI
What is an AI model?
AI models are based on mathematical algorithms that use a large amount of input
data for training and once trained, simulate the decisions made by experts.
For example, given a set of input data such as images of cats and dogs, the trained
AI model is able to classify the images as “cats” and “dogs”.
Model Training
In order to train an AI model for a specific task, we need a large amount of labeled
data. During training, the AI model learns to extract key features from the data.
3
Once trained, the model can make predictions on new data.
Training data has a critical influence on an AI system. The quantity and quality of
the training data affects the performance of the AI model.
● Quantity
○ More training data leads to higher accuracy
○ Insufficient data, including insufficient data coverage, leads to
incorrect results, e.g., a lack of data for Cantonese in Text-to-Speech
● Quality
○ High quality data leads to a high performing model
○ Low quality data leads to a low performing model
■ Biased data – imbalance between different classes of training
data (the model will pay more attention to the majority class)
■ Noisy data – training data is incorrectly labeled
4
Perceptrons and Neural Networks
Artificial Neural Networks are modeled after the human brain. Similar to how
neurons are the basic units of the brain and the nervous system, an artificial neural
network is made up of neurons called perceptrons.
A perceptron is able to generate output based on the given input(s) and its
associated internal parameter(s).
For complex tasks, multiple perceptrons are connected in layers to form a neural
network, where the output of a previous layer is passed on as the input to the next
layer.
During training, the internal parameters of each perceptron in the neural network
are updated at the end of each epoch according to the learning rate.
● If the learning rate is set too high, the model may learn faster, however, it
may produce a less-than-optimal model.
● If the learning rate is set too low, training will take too long.
5
Chapter 3 - See
Computer Vision (CV) is a field of AI that enables computers and systems to derive
meaningful information from digital images, videos, and other visual inputs – and
take actions or make recommendations based on that information.
In other words, computer vision allows computers to see, observe, and understand
the world. Computer vision ‘sees’ the world through sensors and cameras, and
analyzes it with the use of algorithms to perform tasks such as object detection,
classification, tracking, etc.
Sense
Analyze
6
Chapter 4 - Hear
Once model training is completed, the model will interpret the input speech and
output the transcription.
The input for an ASR system, i.e., spoken audio, is captured using acoustic devices
such as microphones.
7
● While ASR technology is quite mature now, the accuracy of recognition and
transcription is still affected by various factors:
8
Chapter 6 - Read
NLP Applications
NLP applications are widely used in our daily lives. The following are some
examples of NLP technologies:
9
Chatbots and Virtual Assistants are used for automatic question answering,
designed to understand natural language and deliver an appropriate response
through natural language generation.
10
Chapter 7 - AI Reasoning
A reasoning system is a system that uses logical techniques, such as induction and
deduction, to generate conclusions from a knowledge dataset.
Levels of reasoning
11
Chapter 8 - Simulation
What is Simulation?
To create a driving simulation, we first need to build and set parameters for objects
such as roads, traffic lights, driving rules, speed limits and pedestrian crossings.
After building the world model, we need to work on modeling the physics of some
objects in the simulation environment, such as car engines, transmissions, tires,
grips, steering and aerodynamics.
The last step would be to allow users to control or interact with objects in the
simulation environment, such as steering wheels, throttle pedals, brake pedals,
gearboxes and dashboards.
12
We also need to set the responses of some objects in the world model, such as
collision simulations, traffic light interactions and speed limits.
Similar to how humans learn something new, AI can learn from two approaches –
supervised learning (SL) and reinforcement learning (RL).
Supervised learning is mainly about using data that is well labeled, i.e., data that is
already tagged with the correct answer. For example, in the images of cats and
dogs that we went through above, each image in the training dataset was already
labeled as “cat” or “dog” .
13
Chapter 11 - AI and Ethics
AI Ethical Principles
14