Skip to content
  • Facebook
  • X
  • Linkedin
  • WhatsApp
  • Associate Journalism
  • About Us
  • Privacy Policy
  • 033-46046046
  • editor@artifex.news
Artifex.News

Artifex.News

Stay Connected. Stay Informed.

  • Breaking News
  • World
  • Nation
  • Sports
  • Business
  • Science
  • Entertainment
  • Lifestyle
  • Toggle search form
  • Badminton Star After Congress MLA’s “Kitchen” Remark Nation
  • Atishi Urges Haryana To Release Water Into Yamuna River Nation
  • Logo, Coordination, Campaign On Agenda As INDIA Meets In Mumbai Today Nation
  • Anti-Terror Agency Officials Attacked, Their Vehicle Vandalised In Bengal Nation
  • FinFluencers Face SEBI Heat As Markets Regulator Tightens Rules Nation
  • Venice Introduces Day Tickets To Battle Mass Tourism World
  • BJP’s Abhijit Gangopadhyay’s Swipe At Opposition Nation
  • Probe Agency Raids Multiple Locations In Kolkata Over Teacher Recruitment Scam Nation

A (very) basic guide to artificial intelligence

Posted on March 12, 2024 By admin


Intelligence is the capacity of living beings to apply what they know to solve problems. ‘Artificial intelligence’ (AI) is intelligence in a machine. There is currently no one definition of AI.

A simple place to begin is with AI’s materiality, as a machine-software combination.

What does the machine do?

A simple example-problem in AI is linear separability. You plot some points on a graph and then find a way to draw a straight line through the graph such that it divides the points into two distinct groups.

Let’s make this problem more abstract. For example, how would a machine differentiate between a cat and a dog?

Say you give the machine 1,000 pictures of cats and 1,000 pictures of dogs, and ask it to separate them. (This task is usually not given to a linear classifier but it illustrates a point.) You also equip the machine with tools — say, a camera and an app that can measure distances of different parts of an image, can analyse depth (using trigonometry), and can assess colours.

The machine can proceed by classifying the cat- and dog-pictures in different ways, say, by shape of the face, shape of the eyes, shape of the paw, body size, size of the tongue, fur colours, etc. Because the machine has the necessary computing power, it can plot these features two at a time on a graph. For example, the x-axis can represent the slope of the face and the y-axis the length of the paw. Or it can plot them three at a time in a 3D graph.

In all these cases, you watch until the machine has found a way to separate the pictures into two groups such that one group is mostly cats and the other is mostly dogs. At this point, you stop the machine.

How hard is decision-making?

Sometimes, it’s very easy to separate a given dataset into two pieces, like with the marbles, where you can make very reliable decisions with just one dimension, or parameter. Sometimes it’s more difficult, like with the cats and dogs, where you may need around a dozen parameters.

Sometimes it is difficult — like asking the computer on a driverless car to determine whether it should apply the brake based on how fast a bird is flying in front of the car. The set of outcomes on one side of the line stand for ‘no’ and the outcomes on the other side stand for ‘yes’ — and solving for this will require hundreds of parameters.

They will also have to account for the context of decision-making. For example, if the person in the car is in a hurry to get to a hospital, is killing the bird okay? Or if the person in the car is not in a hurry, how quickly should the car brake? Etc.

Sometimes it’s just mind-boggling. For example, ChatGPT is able to accept an input question from a user, make ‘sense’ of it, and answer accordingly. This ‘sense’ comes from its training corpus — the billions of sequences of words and sentences scraped from the internet.

In particular, ChatGPT learnt not by classifying words but by predicting the next word in a given sentence. More particularly, large language models (LLMs) like ChatGPT generate the text response without classifying it or relating the question to similar examples. (This is why generative AI is different from a classification model, which is like a sorting machine.)

LLMs are trained on a large corpus of text, where some words are randomly replaced by blanks and the AI is tasked with filling in the blank. And while trying to learn to predict the next word in the text correctly, the AI also learns something about the process that created the text, which is the real world.

ChatGPT is so good because it uses more than 100 billion parameters.

What are some types of machine-learning?

Linear separability is a fairly simple algorithm in machine-learning. There are many algorithms that serve this purpose, and some of them are very complex.

There are three main ways in which ‘machines’ can be classified depending on the way they learn: supervised learning, unsupervised learning, and reinforcement learning.

In supervised learning, the data is labelled (e.g. in a table, the row and column titles are provided and datatypes — numbers, verbs, names, etc. — are pointed out). In unsupervised learning, this information is withheld, forcing the machine to understand how the data can be organised and then solve a problem. Similarly, in reinforcement learning, engineers score the machine’s output as it learns and solves problems on its own, and adjusts itself based on the scores.

The way in which information flows inside the machine is governed by artificial neural networks (ANNs), the software that ‘animates’ the hardware.

What is an artificial neural network?

An ANN comprises computing units, or nodes, connected together in such a way that the whole network learns the way an animal brain does. The nodes mimic neurons and the connections between nodes mimic synapses. Every ANN has two important components: activation functions and weights.

The activation function is an algorithm that runs at a node. Its job is to accept the inputs from other nodes to which it is connected and compute an output. The inputs and outputs are in the form of real numbers.

The weight refers to the ‘importance’ an activation function gives to a particular input. For example, say there are different nodes to estimate the fur colour, tail length, and dental profile in a given photo of a cat or a dog. All these nodes provide their outputs as inputs to a node responsible for separating ‘cat’ from ‘dog’. This way, the nodes can be ‘taught’ to adjust their outcomes by adjusting the relative weights they assign to different inputs.

While nodes are computing units, the ANN itself is not a physical entity. It is mathematical. A node is the ‘site’ of a mathematical function. Put another way, the ANN is like an algorithm that passes information from one activation function to the next in a specific order. The functions modify the information they receive in different ways.

What are transformers?

Transformers are a specialised type of ANN. They are easy to train in parallel, unlike the ANN architectures that preceded it. This is how, for example, ChatGPT could be trained on the entire web.

Here, the ANN is broken up into two parts: the encoder and the decoder. Say an ANN is required to recognise the presence of a cat in a photograph. The encoder accepts the photograph, breaks it up into small pieces (say, 10 x 10 pixels), and encodes the visual information as numerical data (e.g. 0s and 1s). The decoder accepts this data and processes the numbers to reconstruct the information content in the photograph.

The transformer architecture, originally developed at Google and released in 2017, is designed to maximise the amount of attention an ANN devotes to different parts of the input data. It has better performance as a result.

The advent of transformers revolutionised machines’ ability to translate long, complicated sentences.

What are GPUs?

The GPU is the physical processor that ‘runs’ the ANN. It was originally developed to render graphics for video games. It was better at this task than other processors at the time because it was designed to run computing tasks in parallel. It has been widely adopted since as the basic computing unit for ANNs for the same feature.

The company Nvidia has emerged as a technology giant since AI started becoming more popular because of its production of GPUs. Nvidia’s valuation was the fastest in history to go from $1 trillion to $2 trillion (in nine months). Every other company that has been building large AI models is using Nvidia’s GPU-based chips to do so.

In a 2023 analysis, financial services provider Seeking Alpha wrote Nvidia’s overwhelming market share has stoked “resistance” in three ways: competitors are trying to develop and switch to non-GPU hardware; researchers are building smaller learning models (with smaller ANNs) that require less resources than a top-shelf Nvidia chip to run; and developers are building new software to sidestep dependency on specific hardware.

The author is grateful to Viraj Kulkarni for inputs.



Source link

Science Tags:artificial intelligence, artificial neural networks, large language models, Machine learning, Nvidia GPU, supervised learning, transformer models

Post navigation

Previous Post: Allahabad Court Dismisses Shooter Vartika Singh’s Plea Against Smriti Irani
Next Post: At least 67 Palestinians killed by Israel’s airstrikes in Gaza as Ramadan begins

Related Posts

  • What are the predicted effects of rising sea level on coastal habitats? Science
  • Can meteorite strikes cause quakes on Mars? Science
  • India reports far fewer people with orphan diseases Science
  • Why spacesuits need a major upgrade for the next phase of exploration Science
  • Traditional medicine provides health care to many around the globe – the WHO is trying to make it safer and more standardised Science
  • Long-term health issues following COVID-19 Science

More Related Articles

Rocks with the oldest evidence of Earth’s magnetic field discovered Science
Is there any evidence that eyes have evolved several times independently of one another? Science
The Science Quiz | A tribute to the universe’s nonmetals Science
Chandrayaan-3 | How NASA, ESA will support ISRO during the Moon landing on August 23 Science
Should we ditch BMI and use the ‘body roundness index’ instead? Science
With no central brain, can jellyfish learn from past experiences? Science
SiteLock

Archives

  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022

Categories

  • Business
  • Nation
  • Science
  • Sports
  • World

Recent Posts

  • Saudi congratulates Iran’s new reformist President
  • Putin congratulates Iran’s new president, hopes for closer ties
  • Israeli Strike Kills 16 At UN School In Gaza Ahead Of Truce Talks
  • England Beat Switzerland On Penalties To Keep Euro 2024 Dream Alive
  • Char Dham Yatra Temporarily Halted Due To Heavy Rain Forecast In Uttarakhand

Recent Comments

  1. GkJwRWEAbS on UP Teacher Who Asked Students To Slap Muslim Classmate
  2. xreDavBVnbGqQA on UP Teacher Who Asked Students To Slap Muslim Classmate
  3. aANVRzfUdmyb on UP Teacher Who Asked Students To Slap Muslim Classmate
  4. YQCyszVBmIP on UP Teacher Who Asked Students To Slap Muslim Classmate
  5. aiXothgwe on UP Teacher Who Asked Students To Slap Muslim Classmate
  • Anti-Terror Agency Arrests Man From Mysuru In International Espionage Case Nation
  • 250 Indians Lured To Cambodia With Fake Job Schemes Rescued: Centre Nation
  • Indian Mujahideen Terrorist Sentenced To 10 Years In Jail Nation
  • KL Rahul Snubbed As Ex-Batter Picks India’s XI For World Cup 2023 Opener Sports
  • Melania Trump’s Deal With Donald Trump If He Becomes President World
  • Last-Gasp Niclas Fuellkrug Goal Rescues Top Spot For Euro 2024 Hosts Germany Sports
  • Border Forces Neutralise ‘Hexacopter’ Drone, Seize 11 Kg Drugs In Punjab Nation
  • Jailed Separatist Amritpal Singh Gets “Mike” Symbol To Fight Lok Sabha Polls Nation

Editor-in-Chief:
Mohammad Ariff,
MSW, MAJMC, BSW, DTL, CTS, CNM, CCR, CAL, RSL, ASOC.
editor@artifex.news

Associate Editors:
1. Zenellis R. Tuba,
zenelis@artifex.news
2. Haris Daniyel
daniyel@artifex.news

Photograher:
Rohan Das
rohan@artifex.news

Artifex.News offers Online Paid Internships to college students from India and Abroad. Interns will get a PRESS CARD and other online offers.
Send your CV (Subjectline: Paid Internship) to internship@artifex.news

Links:
Associate Journalism
About Us
Privacy Policy

News Links:
Breaking News
World
Nation
Sports
Business
Entertainment
Lifestyle

Registered Office:
72/A, Elliot Road, Kolkata - 700016
Tel: 033-22277777, 033-22172217
Email: office@artifex.news

Editorial Office / News Desk:
No. 13, Mezzanine Floor, Esplanade Metro Rail Station,
12 J. L. Nehru Road, Kolkata - 700069.
(Entry from Gate No. 5)
Tel: 033-46011099, 033-46046046
Email: editor@artifex.news

Copyright © 2023 Artifex.News Newsportal designed by Artifex Infotech.