AI Natural Language Processing (NLP)

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following AI capabilities involves identifying and categorizing names of people, places, and organizations within a text?

  • Text Clustering
  • Topic Modeling
  • Named Entity Recognition (correct)
  • Sentiment Analysis

Which NLP capability is used to determine the emotional tone behind a piece of text?

  • Text Categorization
  • Sentiment Analysis (correct)
  • Information Extraction
  • Entity Resolution

What is the primary difference between extractive and abstractive summarization techniques?

  • Extractive methods use existing phrases, while abstractive methods generate new ones. (correct)
  • Abstractive methods rely on copy-and-paste, while extractive methods analyze the content.
  • Abstractive methods are more robust than extractive methods.
  • Extractive methods generate longer summaries than abstractive methods.

Which AI task involves identifying and linking records from different data sources that refer to the same real-world entity?

<p>Entity Resolution (C)</p> Signup and view all the answers

What is a key advantage of using neural networks for machine translation, compared to statistics-based models?

<p>Neural networks offer superior performance. (A)</p> Signup and view all the answers

Which AI capability is used to convert spoken language into written text?

<p>Speech Recognition (D)</p> Signup and view all the answers

What is the primary function of Natural Language Generation (NLG)?

<p>Transforming data into human language (C)</p> Signup and view all the answers

Which of the following is NOT a typical application of chatbots?

<p>Generating new scientific theories (D)</p> Signup and view all the answers

What is a significant limitation of current AI in question answering?

<p>Limited ability to understand complex or ambiguous questions. (B)</p> Signup and view all the answers

What does 'hallucination' refer to in the context of large language models (LLMs)?

<p>Producing confident but factually incorrect responses. (C)</p> Signup and view all the answers

Which AI vision capability is most closely related to reading text from images?

<p>Text Recognition (D)</p> Signup and view all the answers

What is the primary goal of a CAPTCHA test?

<p>To prevent robots from accessing websites. (B)</p> Signup and view all the answers

Which of the following object recognition tasks involves identifying the presence and location of multiple instances of a desired object within an image?

<p>Object Detection (C)</p> Signup and view all the answers

Which object recognition method is most suitable for autonomous driving applications where speed and accuracy are critical?

<p>YOLO (You Only Look Once) (B)</p> Signup and view all the answers

What is the main difference between 1:1 verification and 1:n identification in facial recognition?

<p>1:1 verification confirms identity, while 1:n identification finds identity. (C)</p> Signup and view all the answers

In action recognition, what is often used as a first step to analyze movement?

<p>Pose Recognition (B)</p> Signup and view all the answers

What is a practical application of visual question answering for individuals with visual impairments?

<p>Answering questions about images. (C)</p> Signup and view all the answers

What is a key challenge in generating videos from text descriptions using AI?

<p>Maintaining consistency. (B)</p> Signup and view all the answers

Which image processing task involves enhancing the resolution of an image?

<p>Super-Resolution (C)</p> Signup and view all the answers

How can reverse image search technology be used in online marketplaces?

<p>To identify duplicate listings. (C)</p> Signup and view all the answers

What is the function of a robot's sensing capabilities?

<p>To detect the environment. (D)</p> Signup and view all the answers

What is the purpose of Lidar technology in robotics?

<p>To measure distances and create 3D maps. (B)</p> Signup and view all the answers

How do AI systems help autonomous vehicles navigate?

<p>By processing data from sensors and determining the best course of action. (C)</p> Signup and view all the answers

Which of the following is a benefit of using AI with drones?

<p>Improved obstacle avoidance and navigation in tight spaces. (D)</p> Signup and view all the answers

What is the primary purpose of collaborative robots (cobots)?

<p>To work safely alongside humans in a shared workspace. (D)</p> Signup and view all the answers

What type of data can AI-enabled RPA handle that traditional RPA systems cannot?

<p>Semi-structured and unstructured data (A)</p> Signup and view all the answers

What is the main goal of Robotic Process Automation (RPA)?

<p>To automate tasks in computer systems by using virtual agents. (A)</p> Signup and view all the answers

Which of the following applications uses satellite signals for AI navigation?

<p>Global Positioning System (GPS) (B)</p> Signup and view all the answers

What is the purpose of data analytics?

<p>Converting raw data into actionable insights. (B)</p> Signup and view all the answers

What is 'predictive maintenance' in the context of smart factories?

<p>Tailoring maintenance routines to each piece of equipment. (B), Addressing issues proactively before they lead to breakdowns. (C)</p> Signup and view all the answers

How can AI help in agriculture?

<p>By plowing and spraying crops with enhanced precision (C)</p> Signup and view all the answers

What is a significant concern regarding the use of AI in education?

<p>AI can collect student data via usage and performance tracking for personalization. (D)</p> Signup and view all the answers

How has the Singapore government utilized facial recognition technology?

<p>For user authentication in Singpass (B)</p> Signup and view all the answers

What is one way AI contributes to green initiatives in the aviation industry?

<p>By reducing fuel consumption through optimized flight planning. (D)</p> Signup and view all the answers

What role does AI play in cyber defense?

<p>By detecting attacks and finding system vulnerabilities. (B)</p> Signup and view all the answers

In the finance sector, how can AI be used to improve investment decisions?

<p>By predicting future performance and market trends. (C)</p> Signup and view all the answers

What is the role of drones in the insurance industry?

<p>To make risk surveys and site inspections faster and safer. (B)</p> Signup and view all the answers

How can data analytics help HR departments?

<p>By predicting job-hopping (C)</p> Signup and view all the answers

Flashcards

Natural Language Processing (NLP)

AI processes natural language like humans, using techniques to understand both written and spoken language.

Named Entity Recognition (NER)

Extracting and classifying names (persons, places, companies) from text into predefined categories.

Topic Modelling

Uncovering hidden topics from a large collection of documents.

Text Categorization

Sorting text into predefined categories or taxonomies.

Signup and view all the flashcards

Text Clustering

Grouping texts based on similarities in their content.

Signup and view all the flashcards

Sentiment Analysis

Identifying and quantifying subjective information and affective states from text or speech.

Signup and view all the flashcards

Summarization

Generating a condensed version of a document while retaining key information.

Signup and view all the flashcards

Information Extraction

Finding specific and meaningful details within unstructured text.

Signup and view all the flashcards

Entity Resolution

Identifying records from various sources that refer to the same real-world entity.

Signup and view all the flashcards

Translation

Converting text from one language to another while preserving meaning.

Signup and view all the flashcards

Speech Recognition

Converting spoken language into written text.

Signup and view all the flashcards

Speech Synthesis

Converting written text into spoken language.

Signup and view all the flashcards

Natural Language Generation (NLG)

Transforming structured data into human-readable language.

Signup and view all the flashcards

Sentiment Analysis

Detection of polarity, emotion, urgency, and intention in text or speech.

Signup and view all the flashcards

Extractive Summarization

Extracting relevant phrases from the input document and concatenating them.

Signup and view all the flashcards

Abstractive Summarization

Generates a summary based on the 'abstracted' content, using novel words.

Signup and view all the flashcards

Information Extraction from Big Data

AI NLP extraction of useful information from large datasets like the Internet.

Signup and view all the flashcards

Question-Answering AI

AI that generates answers to questions by querying a knowledge base.

Signup and view all the flashcards

Closed-Domain Question Answering

Deals with questions under a specific domain.

Signup and view all the flashcards

Open-Domain Question Answering

Deals with questions on almost everything.

Signup and view all the flashcards

Entity Resolution

Identifying different records refer to the same entity.

Signup and view all the flashcards

Rule-Based Machine Translation

Machine translation based entirely on dictionaries and grammars.

Signup and view all the flashcards

Statistics-Based Machine Translation

Translation based on the most likely translation according to sample data.

Signup and view all the flashcards

Neural Machine Translation

Translation models using neural networks for superior performance.

Signup and view all the flashcards

Chatbots

Software that conducts conversations in natural languages.

Signup and view all the flashcards

Chatbots

Software that conduct written or spoken conversations in natural languages.

Signup and view all the flashcards

AI Code Generation

Software to generate and translate computer code.

Signup and view all the flashcards

AI Music Generation

AI can synthesize music and other audio signals.

Signup and view all the flashcards

Text Recognition (OCR)

Converting images of text to machine text.

Signup and view all the flashcards

Object Recognition

Identifying the presence and location of an object within an image/video.

Signup and view all the flashcards

Facial Recognition

Identifying and verifying a person using facial features in an image/video.

Signup and view all the flashcards

Action Recognition

Identifying actions in a video.

Signup and view all the flashcards

Visual Question Answering

Answering questions about an input image or video.

Signup and view all the flashcards

Image/Video Generation

Generating images and videos.

Signup and view all the flashcards

Image/Video Processing

Enhancing the quality of images and adding color.

Signup and view all the flashcards

CAPTCHA

Challenge-response test to determine if a user is human.

Signup and view all the flashcards

Image Classification

Assigning a class label to an entire image.

Signup and view all the flashcards

Semantic Segmentation

Assigning a class label to each pixel in an image.

Signup and view all the flashcards

Object detection

Identifying and locating multiple objects in an image.

Signup and view all the flashcards

Instance Segmentation

Determing the objects from an image along with a mask.

Signup and view all the flashcards

Study Notes

  • AI can analyze, process, and generate speech or text.
  • Natural Language Processing (NLP) focuses on enabling computers to use human languages in written and spoken forms, similar to human capabilities.
  • NLP techniques are applicable to coding and music.

Major NLP Capabilities of AI

  • Named Entity Recognition (NER): Extracts and classifies names of persons, places, and companies into predefined categories.
  • Topic Modelling: Identifies hidden topics within large document collections.
  • Text Categorization: Sorts text into specific taxonomies.
  • Text Clustering: Groups text or documents based on content similarities.
  • Sentiment Analysis: Identifies, extracts, and analyzes affective states and subjective information.
  • Summarization: Generates concise versions of input documents, retaining key points.
  • Information Extraction: Locates meaningful information within unstructured text.
  • Entity Resolution: Identifies records in data sources that refer to the same real-world entities and their relationships.
  • Translation: Converts text from one language to another, preserving meaning.
  • Speech Recognition: Converts spoken language into text.
  • Speech Synthesis: Converts text into spoken language.
  • Natural Language Generation (NLG): Transforms data into human language.

Named Entity Recognition (NER)

  • Can be tested using the "displaCy Named Entity Visualizer" online demo.
  • The demo allows users to input text, select a language, choose entity types to label, and then see how well the model identifies those entities.

Sentiment Analysis

  • Involves detecting polarity (positive/negative), emotion (angry/happy/sad), urgency, and intention in text or speech.
  • Brands use it to analyze customer feedback from surveys and social media to improve products and services.
  • Online demos like Lexalytics highlight sentiment-indicating words in analyzed text, showing sentiment degrees and topics.
  • Lettria’s Customer Sentiment Analysis tool on Hugging Face determines if sentiment is positive, neutral, or negative.

Summarization

  • Extractive models select and combine existing phrases from the input document to create a summary.
  • Abstractive models generate a summary using abstracted content.

Information Extraction

  • AI NLP extracts useful information from large datasets (Big Data) that are too large for traditional analysis methods.

Entity Resolution

  • Involves identifying records that refer to the same real-world entity, even if the records are different.
  • Entity resolution can be used to detect fraud, improve risk assessment and compliance, improve customer insights, and reduce false positives/negatives.

Translation

  • Traditional machine translation used rule-based approaches relying on dictionaries and grammars but requires significant manual effort.
  • Neural networks provide superior translation performance compared to statistics-based models.
  • Google Translate started using neural network-based translation models in 2016.

Speech Recognition

  • AI Singapore, in collaboration with NUS and NTU, developed the Speech Lab engine, which recognizes conversations in multiple languages (e.g., Singlish).

Speech Synthesis

  • Google's DeepMind created WaveNet in 2016, which generates realistic human-like voices.
  • This tech can imitate a person’s voice.

Natural Language Generation (NLG)

  • Transforms data into human language.
  • Large language models (LLMs) are powerful NLG AIs that contain language information extracted from massive amounts of data.
  • Transformer models are currently the most popular type of LLMs.

Further Applications of NLP

  • Chatbots conduct written or spoken conversations in natural languages.
    • ChatGPT from OpenAI can adapt to the style and content of the prompt.
    • Microsoft integrated Copilot, powered by the GPT family of LLMs, into its 365 apps and Windows OS.
    • Google released Bard (now Gemini), Meta released LLaMA, Baidu released ERNIE bot, Alibaba released Tongyi Qianwen (Qwen), and Anthropic released Claude, all with ChatGPT-like capabilities.
  • Virtual Voice Agents: Google Assistant, Apple's Siri, and Amazon's Alexa.
  • Code generation: LLMs can generate and translate computer code.
  • Music Generation: WaveNet can synthesize audio signals like music, and AI Duet by Google is a music "chatbot".

Current Challenges in NLP

  • Voice recognition struggles with different languages and dialects.
  • ASEAN languages lack sufficient corpus data.
  • AI lacks true language understanding, limiting question answering.
  • Sentiment analysis is affected by the multiple meanings and implications within text.
  • Many NLP systems require additional training.
  • LLMs require significant computer power and can be slow.
  • Current LLMs may "hallucinate" and produce inaccurate responses.
  • AI is capable of analyzing, processing, and generating images and videos.

Major Vision Capabilities of AI

  • Text recognition: Converts images of text into machine-readable text (OCR).
  • Object recognition: Identifies the presence and location of objects in images/videos.
  • Facial recognition: Identifies and verifies people using facial features.
  • Action recognition: Identifies categorized actions and when they occur in videos.
  • Visual question answering: Answers questions about images or videos.
  • Image/video generation: Creates new images and videos.
  • Image/video processing: Enhances resolution (super-resolution), adds colors to black-and-white images (colorization), and transfers styles.

Text Recognition

  • AI text recognition is more flexible than traditional OCR.
  • AI can pass traditional CAPTCHA tests.
  • Text recognition is useful for digitization.

Object Recognition

  • Types of object recognition: classification, semantic segmentation, object detection, and instance segmentation.
  • YOLO (You Only Look Once) is a popular object recognition model known for speed and accuracy.

Facial Recognition

  • Systems like Google's FaceNet accurately verify, recognize, verifying, and comparing faces.
  • AI systems can recognize faces even when wearing masks.

Action Recognition

  • One way to recognize action is to first recognize pose.

Visual Question Answering

  • Systems like ChatGPT and Google’s Gemini can answer questions about images.

Image/Video Generation

  • AI can generate high-quality images from text descriptions.

Image Processing

  • AI can enhance the resolution of images, add colors to black and white photos, etc.

Further Applications of AI Vision

  • Reverse image search
  • Games, augmented reality (AR), virtual reality (VR), and the metaverse
  • Deepfakes are synthetic videos that are digitally altered.

Vision Challenges

  • Technical and ethical.
  • A robot is a machine that can carry out complex tasks with little human intervention.

Major Capabilities of AI Robots

  • Sensing: Detecting the environment using various sensors.
  • Navigation: Finding location and planning routes.
  • Physical Activities: Moving and handling objects.
  • Interacting with Other Machines: Communicating with other machines.
  • Interacting with Humans: Engaging with humans.
  • Robotic Process Automation (RPA): Automating software processes.

Sensing

  • Weight, contact, accelerometer, and gyrometer sensors
  • Sound perception
  • Depth cameras
  • Hyperspectral sensors
  • Radar, lidar, and ultrasonic sensors
  • GPS, Bluetooth, Wi-Fi, and mobile phone signals
  • Google's Visual Positioning System uses cameras for more accurate indoor and urban navigation.

Physical Activities

  • Autonomous vehicles use AI to process sensor data and determine actions.
  • Robots walking on two or four legs.
  • Drones.

Interacting with Other Machines

  • Robots can communicate using local networks or the Internet.

Interacting with Humans

  • Collaborative robots (cobots) work safely with humans in the workplace.

Robotic Process Automation (RPA)

  • Automates mundane tasks in computer systems.
  • AI allows RPA to handle semi-structured and unstructured data.

Further applications

  • Robot cleaners.
  • Robots can be used to chat with people.

Challenges

  • Regulations on where robots can operate
  • Behavior in unfamiliar situations may be hard to predict.
  • Imitating emotions is still difficult.
  • Key tasks for which AI is generally deployed: Perception, Notification, Suggestion, Automation, Prediction, Prevention, and Situational awareness.
  • Adopting AI is key to the ongoing “Fourth Industrial Revolution”, aka “Industry 4.0”.

Data Analytics

  • Converts raw data into actionable insights.
  • Data analytics can be descriptive, diagnostic, predictive, and prescriptive.
  • Personalization is a general application of data analytics.

Manufacturing

  • Smart factories use connected devices, machinery, and production systems.

Agriculture

  • Farming's labor crunch is seen to be a global problem.
  • AI robotics allows farmers to control equipment remotely, optimize operations, and improve productivity.
  • AI can be used to sort crops.

Education

  • AI automation makes education more widely available.

Government

  • Smart Nation projects in Singapore integrate technology into daily life.

Green

  • AI can be used to optimize flight paths in order to save fuel.

Weather

  • AI vision to detect the weather in specific locations.

Retail

  • Facial recognition, speech analytics, and text analytics can be used to analyze customer behaviors.

Information Technology

  • AI helps automate computer infrastructures.

Finance

  • AI can extract information from complex documents.

Insurance

  • Chatbots and NLG technology can help promote products.

Human Resources

  • Chatbots can help, screen candidates, and help with the process of providing employee feedback.
  • Key factors that enable AI: artificial neural networks, hardware acceleration, and Big Data.
  • Key factors for AI availability today: open source code, low-code development, cloud computing, and edge computing.

Artificial Neural Networks

  • The challenge
  • Human programmers must give a computer each and every instruction precisely to get it to perform a task.
  • Machine learning
  • Using a (generally simpler) algorithm to find, within a specific class

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser