Frogs Flashcards
What is the definition of AI?
AI is the study and creation of machines that perform tasks normally associated with intelligence.
What are two ways AI is used?
To find out how people work through machine simulations, and to build machines which do useful things that require intelligence
What is an agent in AI?
In AI, an agent refers to a machine or entity that can perceive its environment through sensors and act upon it using actuators. Agents can range from humans, robots, and software bots (softbots) to simpler systems like thermostats.
What is an agent function?
An agent function is a mapping from the agent’s percepts (inputs from the environment) to its actions. Formally, it can be written as f : P?A, where P represents the set of percepts and A represents the set of possible actions.
How does an agent program differ from an agent function?
Agent function is a formal description mapping percepts to actions, the agent program is the actual implementation running on the agent’s physical architecture, executing this function.
What is a performance measure, and why is it important for evaluating an agent?
is a function that evaluates how well an agent is performing based on its actions in the environment over time. It provides a quantitative way to judge the agent’s effectiveness. Examples include points awarded for cleaning squares or penalties for too many dirty squares.
What are the main components of an agent in AI?
Sensors: To perceive the environment (e.g., cameras, light sensors). Actuators: To interact with the environment (e.g., motors, arms). Agent function: The mapping from percepts to actions. Agent program: The actual implementation of the agent function.
Describe the difference between fully observable and partially observable environments.
In a fully observable environment, the agent has access to complete information about the state of the environment at any given time through its sensors. In a partially observable environment, the agent only receives partial or incomplete information, requiring it to make decisions with some level of uncertainty.
What is the difference between a deterministic and a stochastic environment?
In a deterministic environment, the outcome of any action is predictable and certain. In contrast, a stochastic environment involves randomness or uncertainty, meaning that the outcome of an action might not always be the same even if the action is repeated in the same situation.
How does an episodic environment differ from a sequential environment?
episodic environment, the agent’s interactions are broken into seperate independent episodes with clear beginnings and ends (ie playing a game level). Each episode resets the environment, and the agents goal is to maximise rewards within that single
sequential environment, the outcome of the agent’s current action influences future decisions, rewards and states e.g automous car driving.
What is the difference between reflex agents and model-based agents?
Reflex agents make decisions solely based on current percepts, without consideration of history or internal states. Model-based agents maintain an internal model of the world that helps them keep track of past percepts and update their knowledge, allowing for more informed decision-making.
What are goal-based and utility-based agents?
Goal-based agents act with a specific goal in mind and search for a sequence of actions that will achieve that goal. Utility-based agents not only aim for a goal but also try to maximize a utility function that quantifies the desirability of different outcomes.
Is ChatGPT a model-based agent? Why or why not?
No, ChatGPT can be considered a model-based agent because it doesn’t maintains an internal state (the conversation history) and uses this context to generate coherent responses based on past interactions.
What is embodied AI, and why is it important?
Embodied AI emphasizes creating AI systems that physically interact with the real world, just like humans. This approach is important because simulating real-world conditions is complex, and physical interaction often presents challenges that are hard to model accurately in a simulation.
What is an AI agent?
A machine that perceives and acts in an environment
What are sensors/percepts?
Inputs from the environment
What are actuators/actions?
Outputs or responses to the environment
What is an agent function?
a formal mapping from percepts to actions - f : P -> A
What is an agent program
The software that implements the agent function
What is a performance measure?
a metric to evaluate an agent’s success
What is an environment?
The world in which the agent operates, which can vary (deterministic vs stochastic, fully observable vs partially observable, etc.)
What is a reflex vs. a model-based agent
Reflex agents act on immediate inputs, while model-based agents use internal states and history.
Describe the agent type and environment of a self-driving car.
Environment: Partially observable, stochastic, sequential, multi-agent. Agent Type: Goal-based agent (utility-based if optimizing for efficiency).
Describe the agent type and environment of a chess playing AI.
Environment: Fully observable, deterministic, sequential, multi-agent. Agent Type: Goal-based agent (can also be utility-based).
Describe the agent type and environment of a weather forcasting system.
Environment: Partially observable, stochastic, sequential, single-agent. Agent Type: Model-based agent.