Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little rearranging; add Chris' slide info #15

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Incorporate rest of what is AI stuff
avahoffman committed Dec 13, 2023
commit ac089551ee6332c4170110b5cb6426bd4154f256
68 changes: 49 additions & 19 deletions 01b-AI_Possibilities-what_is_ai.Rmd
Original file line number Diff line number Diff line change
@@ -15,13 +15,39 @@ When discussing artificial intelligence, people often envision humanoid robots,
ottrpal::include_slide("https://docs.google.com/presentation/d/1-Mm-Vym3xdtB8xLRHR24jNCLSbNgFHw6N62iJrYe63c/edit#slide=id.g2a68fa11a90_0_0")
```

Scientists are still working toward computers with full human problem solving and cognition, or **artificial general intelligence**. We aren't there yet. Currently, artificial intelligence systems are optimized to perform a specific task well, but not for general, multi-purpose tasks. For example, the AI application for recognizing voices can not be directly applied to drive cars, and vice versa. Similarly, a language translation app could not recognize images, and vice versa.
Defining what AI is can be tricky because what experts consider to be AI changes frequently. John McCarthy, one of the leading early figures in AI once said, "As soon as it works, no one calls it artificial intelligence anymore".

For instance, 20 years ago, the idea of an email spam checker was new. People were surprised that an algorithm could identify junk email accurately, and called it “artificial intelligence”. Since this type of algorithm has become so common, it is no longer called "artificial intelligence". This transition happened because we no longer think it is surprising that computers can filter spam messages. Because it is not learning something new and surprising, it is no longer considered intelligent.

```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1-Mm-Vym3xdtB8xLRHR24jNCLSbNgFHw6N62iJrYe63c/edit#slide=id.g2a162964683_1_176")
```

We often look at human intelligence the same way. For example, many years ago, only a few people knew how to use the internet. These people might have been considered extremely talented and intelligent. Now, the massive growth of online resources and social media mean that fluent internet use is almost required!

Scientists are still working toward computers with full human problem solving and cognition, or **artificial general intelligence**. We aren't there yet. Currently, artificial intelligence systems are optimized to perform a specific task well, but not for general, multi-purpose tasks. For example, the AI application for recognizing voices can not be directly applied to drive cars, and vice versa. Similarly, a language translation app could not recognize images, and vice versa.

```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1-Mm-Vym3xdtB8xLRHR24jNCLSbNgFHw6N62iJrYe63c/edit#slide=id.gcf1264c749_0_130")
```

<div class = "dictionary">
**Artificial General Intelligence (AGI)**: A type of artificial intelligence that can understand, learn, and apply knowledge across a wide range of tasks, similar to the broad cognitive abilities of a human being. It represents the aspiration for machines to have versatile intelligence rather than focusing on specific, narrow domains. Check out **Types of AI** to learn more.
</div>

## Our AI Definition

Going forward in this course, we define AI as having the following features:

1. **Dataset**: AI needs data examples that can be used to train a statistical or machine learning model to make predictions.

1. **Algorithm**: AI needs an algorithm, or a set of procedures, that can be trained based on the data examples. That way, it can take a new example and execute a human-like task. For instance, the algorithm learns which images feature a cat from pre-labeled images. When given a new image, it decides whether the image has a cat in it.

1. **Interface**: AI needs a physical interface or software for the trained algorithm to receive a data input and execute the human-like task in the real world. For example, you might interface with a chatbot in your web browser.

```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1-Mm-Vym3xdtB8xLRHR24jNCLSbNgFHw6N62iJrYe63c/edit#slide=id.g2a64e94b13a_0_0")
```

## AI In Practice

@@ -39,51 +65,55 @@ TODO: Text here.

## What Is and Is Not AI

It can be tricky to understand what is and isn't AI. Let's look at a few of examples that might seem like AI, but are not.
Let's look at a few of examples. We can then decide whether or not the examples constitute AI.

### Smartphones

```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1OydUyEv1uEzn8ONPznxH1mGd4VHC9n88_aUGqkHJX4I/edit#slide=id.g2a3877ab699_0_120")
```

The name "smartphone" implies these devices are making decisions and are powered by AI. While there are some features on smartphones that are powered by AI models, like virtual voice assistants and facial recognition, the device as a whole isn't considered AI.
The name "smartphone" implies these devices are making decisions and are powered by AI. Let's consider our three criteria:

1. **Dataset:** Smartphones do collect a lot of data. For example, they retain your text messages and collect motion tracking information.

1. **Algorithm:** The smartphone as a whole does not usually get trained with this data. However, some features like virtual voice assistants and facial recognition do adapt given your data.

1. **Interface**: Again, some features like voice assistants can be interacted with through the smartphone.

While there are some features on smartphones that are powered by AI models, like virtual voice assistants and facial recognition, the device as a whole isn't considered AI.

### Calculators

```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1OydUyEv1uEzn8ONPznxH1mGd4VHC9n88_aUGqkHJX4I/edit#slide=id.g2a3877ab699_0_279")
```

Many of us use basic calculators, as you might find in Microsoft Excel, every day. AI also makes many calculations. Is it just a scaled=up calculator? No, because AI also makes decisions on new data based on patterns. Traditional calculators can only execute predefined operations.
Many of us use basic calculators, as you might find in Microsoft Excel, every day. AI also makes many calculations. Is it just a scaled-up calculator?

### Computer Programs
1. **Dataset:** Calculators and spreadsheets can store data.

```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1OydUyEv1uEzn8ONPznxH1mGd4VHC9n88_aUGqkHJX4I/edit#slide=id.g2a3877ab699_0_289")
```

Computers follow set procedures for problem solving and computation. Everyday computers use these procedures, also called algorithms, to help automate repetitive tasks and save time. However, this isn't generally considered AI. AI systems exhibit the ability to learn, adapt, and handle new inputs for tasks that might be more complicated.
1. **Algorithm:** Calculators do not generally use this data to train algorithms. The procedures that are performed (addition, subtraction, etc.) are almost always predefined. However, some AI-powered assistants are starting to be integrated into software like Excel and Google Sheets.

### Are You Dealing With AI
1. **Interface**: Calculators do meet the criteria for an interface, whether through a physical device or software application.

It can be tricky to determine what kind of tools or systems are AI, especially if you don't come from a computational background. Here are a few questions on which you can reflect to determine if you're dealing with AI or not.
Traditional calculators are not considered AI, because they can only execute predefined operations.

<div class = "reflection">
**Does it Learn and Improve Over Time?** : AI systems can learn from feedback and enhance performance without explicit programming.
### Computer Programs

**Can it Perform Tasks Without Explicit Instructions?** : AI can carry out tasks beyond explicit programming, showcasing adaptability and autonomous decision-making when presented with new data or prompts.
```{r, echo=FALSE, fig.alt='CAPTION HERE', out.width = '100%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1OydUyEv1uEzn8ONPznxH1mGd4VHC9n88_aUGqkHJX4I/edit#slide=id.g2a3877ab699_0_289")
```

**Does it Exhibit Human-Like Intelligence in its Actions?** : AI mimics aspects of human intelligence, such as problem-solving, pattern recognition, and understanding natural language, even when presented with new data or instructions it hasn't encountered before.
</div>
Like calculators, computers follow set procedures for problem solving and computation. Everyday computers use these procedures to help automate repetitive tasks and save time. However, this isn't generally considered AI, because the computer's algorithms aren't being trained with new data you supply. AI systems exhibit the ability to adapt and handle new inputs for tasks that might be more complicated.

### DISCUSSION Is It AI

Consider the following examples. Are they examples of AI? Why or why not? Click to expand and see the answer.

<details><summary> <span> **A smartfridge that lets you know when replacement parts are needed**</span></summary><br>

This is not AI. The computer in the fridge is typically programmed to look for specific signs of wear or time passing.
This is not AI. The computer in the fridge is typically programmed to look for specific signs of wear or time passing. It is not typically trained with new data.

</details>

@@ -96,6 +126,6 @@ While the core functionality of speed cameras relies on sensor technology and pr

<details><summary> <span> **Suggested accounts on Instagram**</span></summary><br>

This is considered AI. Social media algorithms, like Instagram's, make recommendations based on user behavior. For example, if you spend a lot of time viewing a page that was recommended, the system interprets that as positive feedback and will make similar recommendations. Typically, these recommendations get better over time as the user generates more user-specific data.
This is considered AI. Social media algorithms, like Instagram's, make recommendations based on user behavior. For example, if you spend a lot of time viewing a page that was recommended, the system interprets that as positive feedback and will make similar recommendations. Typically, these recommendations get better over time as the user generates more user-specific data. You supply data through your behaviors, the algorithm gets trained, and you interact with the suggestions via the app.

</details>