Paper 3 Flashcards

1
Q

What is Latency in the context of Natural Language Processing?

A

The delay that occurs in processing user input and generating a response

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define Dependency Reduction in the Critical Path.

A

Strategies for streamlining processes by minimizing dependencies that cause delays

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Critical Path?

A

The shortest and most efficient sequence of linked machine learning models required to process a user’s message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the main types of analysis challenges in Natural Language Processing?

A
  • Syntactic Analysis Failures
  • Semantic Analysis Failures
  • Pragmatic Analysis Failures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Syntactic Analysis Failures?

A

Problems with understanding sentence structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Semantic Analysis Failures?

A

Challenges in understanding meanings, such as idioms and homonyms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does Pragmatic Analysis Failures refer to?

A

Issues with understanding context, tone, or cultural differences

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an example of a Syntactic Analysis Failure?

A

Misunderstanding a request due to poor sentence structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Data Augmentation in NLP?

A

The process of artificially generating new data based on existing training data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some hardware types used in NLP?

A
  • CPUs
  • GPUs
  • TPUs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of CPUs in machine learning?

A

They are cost-effective for non-parallel processing tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are GPUs particularly good at?

A

Matrix operations and tasks requiring parallel processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the von Neumann bottleneck?

A

The limitation of memory access speed compared to calculation speed in CPUs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a common challenge faced by Natural Language Processing models?

A

Biases such as Historical Bias, Linguistic Bias, and Sampling Bias

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Historical Bias in NLP datasets?

A

Bias that arises from historical inequalities reflected in training data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is an example of Sampling Bias?

A

Algorithms predicting healthcare needs favoring one demographic over another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is an ethical challenge in AI?

A

Accountability for decisions made by AI systems

18
Q

True or False: Data augmentation can help reduce bias in AI training datasets.

19
Q

What is an example of a real-world scenario where NLP failed?

A

McDonald’s Drive Thru Chatbot Beta Test leading to incorrect orders

20
Q

What strategies can be used to solve tokenization problems in NLP?

A
  • Querying large tables of edge cases
  • Using context-aware tokenization models
  • Applying more complex heuristics
21
Q

Fill in the blank: _______ are problems with understanding context, tone, or cultural differences.

A

Pragmatic Analysis Failures

22
Q

What is the impact of cultural biases in NLP models?

A

Models trained on English datasets may not understand biases relevant to other cultures

23
Q

What is a potential solution to mitigate biases in NLP models?

A

Data augmentation and training on diverse datasets

24
Q

What is a common issue with tokenization in languages like Chinese?

A

Defining a ‘word’ is difficult due to the lack of spaces

25
Q

What technology advancements have GPUs made beyond high-performance graphics?

A

High-speed data processing and massively parallel computations

GPUs are now used in various applications, including machine learning.

26
Q

What type of calculations do GPUs handle in graphics rendering?

A

Complex mathematical and geometric calculations

This includes operations like matrix multiplication with floating point numbers.

27
Q

Why are GPUs considered ideal for models that require parallel processing?

A

They are capable of handling lots of computation efficiently

This is particularly true for models like Transformers.

28
Q

What are TPUs specialized for?

A

Neural network workloads

TPUs are designed specifically for matrix processing, which is essential for deep learning.

29
Q

What architecture do TPUs utilize for matrix operations?

A

Systolic array architecture

This consists of thousands of accumulating units connected on a single processor.

30
Q

What is the grid size of Google’s Cloud TPU v3?

A

128 x 128 grid of ALUs

This design allows for efficient propagation of products through the processor.

31
Q

From a capitalist viewpoint, what should happen to a chatbot providing ethically problematic responses?

A

It should not be profitable

Users would likely take their business elsewhere if the chatbot is not enjoyable to use.

32
Q

What ethical challenge is associated with chatbots that are not transparent about their use?

A

They are perceived as less ethical by customers

This perception can lead to reputational damage for companies using such chatbots.

33
Q

What was one of the errors made by Google’s Bard chatbot?

A

Claiming the James Webb Space Telescope captured the first images of a planet outside our solar system

Such misinformation can damage the reliability of chatbot companies.

34
Q

What is prompt hacking?

A

A hacking technique that manipulates prompts to exploit vulnerabilities of LLMs

This can lead to unintended responses from language models.

35
Q

What are the three types of prompt hacking?

A
  • Prompt jailbreak
  • Prompt injection
  • Prompt leaking

Each type involves different methods of exploiting LLM vulnerabilities.

36
Q

What is required for accountability in AI systems according to the European Commission?

A

Fair impact on people’s lives, adherence to values, and suitable accountability processes

These principles ensure responsible use of AI.

37
Q

What are the three conditions necessary for accountability?

A
  • Authority recognition
  • Interrogation
  • Limitation of power

These conditions must be met for an agent to be held accountable for actions.

38
Q

Fill in the blank: TPUs cannot run a word processor or perform the same tasks as a CPU because they are not _______.

A

Turing complete

This limitation means TPUs are specialized and not general-purpose processors.

39
Q

What ethical consequences can arise from chatbot errors or misinformation?

A

Loss of reliability and client support

This can have serious implications for businesses using chatbots.

40
Q

True or False: Prompt injection is a type of attack that can produce undesired input by overriding the original chatbot prompt.

A

True

This type of attack can lead to malicious outputs from chatbots.