生成AIパスポート · LESSON 1
Chapter 1: AI Fundamentals and History13%(当サイト設定) · 4 topics
Learn how AI basically works, the types of machine learning, neural networks and the history of AI.
1.1How AI basically works (rule-based and machine learning)
Concept
Rule-based AI runs on “if X, then do Y” rules written by people. Its behavior is easy to explain, but it cannot handle situations outside its rules, and writing and maintaining rules takes effort. Machine learning learns rules (patterns) automatically from data. With lots of data it can make complex judgments, but it depends on the training data and its reasons can be hard to see.
How it works / steps
- If the rules of the problem are clear and stable, consider rule-based
- Use machine learning for complex judgments where rules can't be fully written (images, language)
- For machine learning, prepare data of suitable quality and quantity for the goal
Workplace example
Checking expense rules (send back if over the limit) suits rule-based; reading amounts from receipt images suits machine learning.
Common confusions and exam tips
- Rule-based systems are also a kind of AI (expert systems, etc.)
- Machine learning “learns from data” rather than “writing a program”
- Machine learning results are probabilistic and not always 100% correct
Mini quiz
Q1. What is an AI mechanism that judges according to rules written by people (if X then Y) called?
- Deep learning
- Machine learning
- Reinforcement learning
- Rule-based
Show answer and explanation
Answer: D Rule-based
Rule-based systems have rules written in by people. They are weak against unexpected input and become harder to manage as rules grow. This limit led to machine learning, which learns rules from data.
Q2. Which best describes a limitation of rule-based systems?
- They struggle with unexpected inputs, and the effort to add and maintain rules keeps growing
- They cannot create a single rule without large amounts of training data and high computing power
- Results change every run even for the same input, so behavior is not reproducible
- Because they often cannot explain the reason for a judgment or trace which rule produced a result
Show answer and explanation
Answer: A They struggle with unexpected inputs, and the effort to add and maintain rules keeps growing
Rule-based systems are easy to explain and reproducible within the range their rules cover, but writing rules for every varied real-world input is difficult.
Reference links
1.2Types of machine learning
Machine learning (supervised, unsupervised, reinforcement and semi-supervised learning; no free lunch theorem)
Concept
Supervised learning learns from data with correct answers (labels) to do classification or regression (predicting numbers). Unsupervised learning finds structure in unlabeled data, used for clustering and the like. Reinforcement learning learns actions that maximize reward through trial and error. Semi-supervised learning combines a little labeled data with lots of unlabeled data. The no free lunch theorem says “no universal algorithm is best for every problem.”
How it works / steps
- Check whether correct labels exist (if so, supervised)
- No labels and you want grouping: unsupervised
- Actions earn rewards and trial and error is possible: reinforcement learning
Workplace example
Spam detection suits supervised learning, grouping customers by buying patterns suits unsupervised, and mastering games suits reinforcement learning.
Common confusions and exam tips
- Classification predicts categories; regression predicts numbers
- Reinforcement learning learns from “rewards,” not “correct answers”
- The no free lunch theorem shows methods must be chosen to fit the problem
Mini quiz
Q1. What is the idea that “there is no universal algorithm that always beats the others on every problem” called?
- Scaling laws (power laws)
- Occam's razor
- No free lunch theorem
- Singularity hypothesis
Show answer and explanation
Answer: C No free lunch theorem
The no free lunch theorem shows that methods must be chosen to fit the nature of the problem. Scaling laws concern the relationship between model scale and performance; Moore's law is an empirical rule about semiconductor integration.
Q2. Which best describes the difference between discriminative AI and generative AI?
- Discriminative AI classifies or judges data; generative AI creates new data based on the features of the data it learned
- Discriminative AI runs on rule-based mechanisms; generative AI runs on neural networks
- They are distinguished by discriminative AI using only unsupervised learning and generative AI using only supervised learning
- Discriminative AI is a general term for models handling only images; generative AI handles only text
Show answer and explanation
Answer: A Discriminative AI classifies or judges data; generative AI creates new data based on the features of the data it learned
Discriminative AI judges which class an input belongs to; generative AI generates new data such as text, images and audio. They are not divided by learning method or modality.
Reference links
1.3Neural networks
Neural networks (how they learn, overfitting and countermeasures, transfer learning, CNN, RNN, LSTM, VAE, GAN, discriminative vs. generative AI)
Concept
Neural networks stack layers modeled on brain neurons and learn by adjusting weights with backpropagation. Deep stacks are deep learning. Overfitting (fitting training data too closely and doing poorly on new data) is handled by adding data, dropout, regularization and so on. Transfer learning reuses a trained model for another task. CNNs are used for images, RNNs and LSTMs for time series and text, and VAEs and GANs for generating images and more. Discriminative AI classifies and judges; generative AI creates new data.
How it works / steps
- For image tasks use CNNs; for sequence data, RNNs/LSTMs (Transformers in recent years)
- With little data, use a trained model via transfer learning
- Check for overfitting by comparing training and validation error
Workplace example
In product visual inspection, transfer learning from a trained image classifier achieves high accuracy even with few defect images.
Common confusions and exam tips
- LSTM improves on RNNs' difficulty learning long-term dependencies
- A GAN learns by pitting a generator against a discriminator
- Overfitting means “high performance on training data, low on test data”
Mini quiz
Q1. In neural network training, which method propagates the difference between output and correct answer from the output layer toward the input layer and adjusts each layer's weights?
- Regularization (weight decay)
- Backpropagation
- Stochastic gradient descent (mini-batch learning)
- Forward propagation
Show answer and explanation
Answer: B Backpropagation
Backpropagation computes the gradient of the loss function in order from the output side, and gradient descent updates the weights. Dropout and early stopping are countermeasures against overfitting.
Q2. In a neural network, what is the function that transforms the sum of a node's inputs and passes it to the next layer called?
- Activation function
- Loss function
- Reward function
- Target variable
Show answer and explanation
Answer: A Activation function
Activation functions (sigmoid, ReLU, etc.) add non-linear transformations so complex relationships can be represented. A loss function measures the difference between prediction and correct answer.
Reference links
1.4History of AI
History of AI (from the Dartmouth workshop to the third AI boom, generative AI, the singularity)
Concept
The term “artificial intelligence” was used at the 1956 Dartmouth workshop, and AI developed through the first boom (search and inference), the second (knowledge and expert systems) and the third (machine learning, deep learning and big data). After deep learning's success in the 2010s, the 2017 Transformer and 2022 ChatGPT spread generative AI widely. The singularity (technological singularity) is a concept for the point where AI surpasses human intelligence and society changes unpredictably.
How it works / steps
- Sort out each boom's core technology and limits (why winters came)
- Know the drivers of the third boom (data, computing resources, algorithms)
- Know generative AI's turning points (Transformer, ChatGPT)
Workplace example
In training, explain “why AI became usable now” with three points: more data, better GPUs and deep learning.
Common confusions and exam tips
- The second boom's limit was the effort of people writing in knowledge (knowledge acquisition bottleneck)
- The Dartmouth workshop was in 1956
- The singularity is a prediction and concept, not something that has already happened
Mini quiz
Q1. Which conference, held in 1956, is said to be where the term “artificial intelligence” was first used?
- Asilomar Conference
- NeurIPS
- G7 Hiroshima Summit
- Dartmouth Conference
Show answer and explanation
Answer: D Dartmouth Conference
The Dartmouth Conference is considered the start of AI research and led to the first AI boom.
Q2. Which best describes the main reason the second AI boom faded?
- It is thought that there was no way to collect large numbers of images, so deep learning could not be trained
- Generative AI output plausible errors and drew heavy public criticism
- Having people write specialists' knowledge in as rules took great effort, and handling exceptions was also difficult
- Semiconductors were expensive, so search and inference programs could not run at all
Show answer and explanation
Answer: C Having people write specialists' knowledge in as rules took great effort, and handling exceptions was also difficult
For expert systems, acquiring and maintaining knowledge became the bottleneck (the knowledge acquisition bottleneck).
Reference links
Lessons are written by this site based on public information and do not guarantee exam content. Product specifications change, so check the latest information at the reference links.
Notes (unofficial, original questions, no pass guarantee)
- The questions on this site are original practice questions written by this site based on publicly available skills outlines and exam guides. They are not actual exam questions.
- This site is not affiliated with or endorsed by GUGA, JDLA or other exam providers. Exam and organization names may be trademarks of their respective owners.
- This content is a study aid and does not guarantee a pass. Exam content, format and prerequisites may change without notice; always check the latest information on the official page before taking the exam.
- Your accuracy on the mock exam cannot be converted to the official (scaled) score and does not predict a pass or fail.
- Progress is saved only in this browser (localStorage) unless you sign in with Google to sync it. You can delete it from the Cookie & storage settings page (Japanese).