IAI | HSLU | Jana Köhler

HSLU Artificial intelligence and machine learning Dozent Jana Köhler

HSLU Artificial intelligence and machine learning Dozent Jana Köhler


Kartei Details

Karten 106
Sprache English
Kategorie Informatik
Stufe Universität
Erstellt / Aktualisiert 09.10.2023 / 20.10.2023
Weblink
https://card2brain.ch/box/20231009_iai
Einbinden
<iframe src="https://card2brain.ch/box/20231009_iai/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>

Was ist der Unterschied zwischen symbolischer und subsymbolischer KI?

Symbolische KI (klassische KI):
Verwendet explizite Symbole und Regeln zur Wissensrepräsentation und Problemlösung.
Basiert auf Logik und symbolischer Repräsentation.
Zum Beispiel: Expertensysteme.
-> thinking rationally 

Subsymbolische KI:
Verarbeitet Informationen auf nicht-symbolischen, statistischen oder neuronalen Ebene.
Nutzt maschinelles Lernen, insbesondere tiefe neuronale Netzwerke.
Geeignet für Aufgaben wie Bilderkennung und natürliche Sprachverarbeitung.
-> thinking humanly

Was ist der Unterschied zwischen "Complex Computer Applications" und "Artificial Intelligence"?

Complex Computer Applications:
Bezieht sich auf komplexe Anwendungen von Computertechnologie, die verschiedene Aufgaben und Funktionen in verschiedenen Bereichen unterstützen.
Enthält Anwendungen wie Datenbankmanagement, Finanzmodellierung und Simulationen.

Artificial Intelligence (Künstliche Intelligenz):
Eine spezialisierte Technologie im Bereich der Informatik, die Maschinen die Fähigkeit gibt, menschenähnliche Intelligenz auf Aufgaben wie Lernen, Entscheidungsfindung und Problembehandlung anzuwenden.
Enthält Techniken wie maschinelles Lernen, neuronale Netzwerke und natürliche Sprachverarbeitung.

Symbolic Representations

Find a definition
- Describe a concept by listing explicitly its essential properties
• Challenge: what is essential?
- Apply automated reasoning procedures to infer that an object meets the
concept definition by verifying the explicitly stated properties

Subsymbolic Representations

*Use many different (arbitrary) features to describe the concept
- Features can be given implicitly through pictures or unstructured text or explicitly as a list of feature-value pairs
- Show object examples to the system and let it learn a generalization pattern

 - Each example must be annotated if it belongs to the concept that the system must learn or not (positive and negative examples)
* If the generalized pattern is correct, the system has «learned» the concept without using an explicit definition

Models and Algorithms – 3 Types of Systems

Types of Learning - Unsupervised learning

No feedback is given, the algorithm detects patterns in the sensory input data,

e.g., clustering and association algorithms

Types of Learning - Supervised learning

 

Algorithm processes example input–output pairs and learns a function that maps from input to output, e.g., decision trees and neural networks

Types of Learning - Reinforcement learning

Algorithm learns from a series of reinforcements (rewards or punishments)

returned from the environment when the agent executes actions, e.g., AlphaZero

McCulloch-Pitts “Unit” Model of a Neuron

  •  Neuron fires when a linear combination of its inputs exceeds predefined threshold
  • The bias weight (multiplied with input 1.0) is a constant to shift the result of the activation function towards the positive or negative side (offset the result)

Network Structures - Feed forward networks 

Feed-forward networks are directed acyclic graphs, they have no internal state other than the weights

– Single-layer perceptron 

– Multi-layer perceptron

Network Structures - Recurrent network

Perceptrons Can only Learn Linear Separable Functions

Consider a perceptron with a step function
– Can represent AND, OR, NOT, majority, etc., but not XOR
– Represents a linear separator in the input space
– Only a small fraction of all Boolean functions is linearly separable

Multi-Layer Perceptron / Feed-forward Network

  • Input and output layers are usually fully connected via at least one hidden layer 

  • Network architecture (number of hidden layers/edges typically chosen by hand)

    Description GPT:

  • A Multi-Layer Perceptron (MLP) or Feed-forward Network is a widely used neural network model.
  • It consists of at least three layers: an input layer, at least one hidden layer, and an output layer.
  • These layers are typically fully connected, with each unit in one layer connected to every unit in the next layer.
  • Data flows in one direction, from input to output, without feedback loops.

What is a Feed-Forward Network and how many hidden layers are needed to represent any Boolean function?

A Feed-Forward Network is a type of artificial neural network where data flows in one direction, from input to output, without feedback loops. To represent any Boolean function, at least one hidden layer is needed in the network.

What is the significance of a single, sufficiently large hidden layer in a Feed-Forward Network?

A single, sufficiently large hidden layer in a Feed-Forward Network can accurately represent any continuous function of the inputs with arbitrary accuracy. It acts as a universal approximator for continuous functions.

 

How can a Feed-Forward Network with two hidden layers be useful in representing functions?

A Feed-Forward Network with two hidden layers can represent discontinuous functions. The added complexity and depth of the network make it capable of modeling and approximating functions with discontinuities.

 

Perceptron vs Feed Forward Network

Bild:

Initialization of Input Layer with Training Example Vector

 

What does the "environment" refer to in Reinforcement Learning?

 

 

In Reinforcement Learning, the "environment" describes the physical world in which the agent operates. It is the system that the agent interacts with and seeks to learn from.

 

What is the role of "state" in Reinforcement Learning?

"State" in Reinforcement Learning describes the current situation or configuration of the agent within the environment. It provides information about the context in which the agent is making decisions.

 How does "reward" function in Reinforcement Learning?

 In Reinforcement Learning, "reward" provides feedback from the environment to the agent. It serves as a numerical signal that indicates how good or bad the agent's actions are in a given state, guiding the learning process.

 

What is the purpose of an "action" in Reinforcement Learning?

 An "action" in Reinforcement Learning is a decision or choice made by the agent that leads to a transition to the next state within the environment. It drives the agent's interaction with the world.

 

What is the primary goal of Reinforcement Learning?

The primary goal of Reinforcement Learning is to learn a policy. A policy is a method or strategy that maps states to actions in a way that maximizes the future reward of the agent. The agent aims to make decisions that lead to the highest possible cumulative reward over time.

What is Artificial Intelligence?

  • The attempt to make computers more "intelligent"?
  • The attempt to better understand human intelligence?
  • Four possible orientations of AI research:

– Is it about thinking or acting?
– Using a human model with all its defects or a normative model using rational guidelines?

Selected Definitions for the four orientations of AI research:

Thinking Humanly

Selected Definitions for the four orientations of AI research:

Thinking Rationally 

Selected Definitions for the four orientations of AI research:

Acting Humanly

Selected Definitions for the four orientations of AI research:

Acting Rationally 

Thinking Humanly

  • What cognitive capabilities are necessary to produce intelligent performance? 
  • Not important: Being able to solve problems correctly
  • Important: Being able to solve problems like a human would

 Cognitive science and cognitive psychology: 

-Introspection (observing ourselves)

-Psychological experiments

-Brain research

Acting Humanly

Thinking Rationally

Acting Rationally

Working Definition of AI 

What is "The Turing Test," and how is it described in terms of a game?

"The Turing Test" is a test of a machine's ability to exhibit human-like intelligence. It is described in terms of a game known as the "imitation game." In this game, three participants are involved: a man (A), a woman (B), and an interrogator (C). The interrogator stays in a separate room from the other two participants. The goal of the interrogator is to determine which of the other two participants is the man and which is the woman.

  • It is A's objective to try and deceive the interrogator into making the wrong identification.
  • B's objective is to assist the interrogator.
  • The game raises the question of what happens when a machine takes the role of participant A, attempting to convince the interrogator that it is human, effectively replacing the original question of "Can machines think?"

This test, proposed by Alan Turing, seeks to distinguish between the physical and intellectual capacities of a machine by examining its ability to mimic human behavior.

Working Question

 

  1. Which question motivated the field and research towards artificial intelligence in the 1950s? 

The question that motivated research in artificial intelligence in the 1950s was whether it was possible to create machines that could exhibit human-like intelligence. In other words, "Can machines think?"

Working Questions

2.What do we mean by a symbolic or subsymbolic representation?

A symbolic representation refers to representing information using symbols, such as words or symbols in a language. Subsymbolic representations involve representing information at a lower level, often involving patterns and statistical relationships.

Working Questions

What characterizes the orientations of Artificial Intelligence towards normative or human-oriented models for thinking and acting?

The orientations of AI research involve whether AI is focused on thinking or acting and whether it uses human-like models or normative, rational guidelines for decision-making. These orientations shape the goals and approaches in AI research.

Working Questions

Does the Turing Test provide an adequate test of intelligence?

The adequacy of the Turing Test as a test of intelligence is a subject of ongoing debate. While it's a significant milestone in AI history, it has limitations, as it primarily evaluates a machine's ability to mimic human behavior and not necessarily its underlying intelligence.

Main Phases in AI Research History

Perception - Cognition - Action

“Big data” is high-volume, -velocity and -variety information assets that demand

->cost-effective, innovative forms of information processing 

->for enhanced insight and decision making