Skip to content
  • Facebook
  • X
  • Linkedin
  • WhatsApp
  • YouTube
  • 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
  • Russians risk reprisals to visit Navalny grave on death anniversary
    Russians risk reprisals to visit Navalny grave on death anniversary World
  • 2023 ODI World Cup In India Generated Economic Impact Of .39 Billion: ICC
    2023 ODI World Cup In India Generated Economic Impact Of $1.39 Billion: ICC Sports
  • Access Denied World
  • Ind vs Aus 4th Test Day 4: We will come back strong, says Nitish Kumar Reddy
    Ind vs Aus 4th Test Day 4: We will come back strong, says Nitish Kumar Reddy Sports
  • “She Lives In A Village…”: Neeraj Chopra On His Mother Calling Arshad Nadeem ‘Her Son’
    “She Lives In A Village…”: Neeraj Chopra On His Mother Calling Arshad Nadeem ‘Her Son’ Sports
  • Curb on use of Aadhaar enrolment ID for PAN from October 1
    Curb on use of Aadhaar enrolment ID for PAN from October 1 Business
  • Russia rejects EU troops in Ukraine and speedy Zelenskyy meeting
    Russia rejects EU troops in Ukraine and speedy Zelenskyy meeting World
  • U.S. presidential election 2024: Growing clamour for Biden to step down; he says here to stay to defeat Trump
    U.S. presidential election 2024: Growing clamour for Biden to step down; he says here to stay to defeat Trump World
A (very) basic guide to artificial intelligence

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

  • Artemis astronauts to study the Moon’s surface using mainly their eyes
    Artemis astronauts to study the Moon’s surface using mainly their eyes Science
  • Earthlife is made of space stuff, studies of asteroid Bennu hint
    Earthlife is made of space stuff, studies of asteroid Bennu hint Science
  • Daily Quiz | On Pi Day
    Daily Quiz | On Pi Day Science
  • India to have 56 new Doppler weather radars soon, says Ministry of Earth Sciences
    India to have 56 new Doppler weather radars soon, says Ministry of Earth Sciences Science
  • First fossilised snake traces discovered in South Africa
    First fossilised snake traces discovered in South Africa Science
  • DRDO successfully tests 120-km strike range Pinaka rockets
    DRDO successfully tests 120-km strike range Pinaka rockets Science

More Related Articles

Could the near-extinct Asiatic cheetah rewild Saudi Arabia? Could the near-extinct Asiatic cheetah rewild Saudi Arabia? Science
What are Milankovitch Cycles? – The Hindu What are Milankovitch Cycles? – The Hindu Science
Do songbirds socialise during migration? Do songbirds socialise during migration? Science
The Science Quiz | Words that begin ‘cell-’ The Science Quiz | Words that begin ‘cell-’ Science
Hiccups explained: Small sounds, big answers Hiccups explained: Small sounds, big answers Science
Climate change and climate justice: India’s efforts to balance economic growth with green transition Climate change and climate justice: India’s efforts to balance economic growth with green transition Science
SiteLock

Archives

  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • 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

  • Visakhapatnam Collector calls for inter-departmental synergy to boost investments
  • Kohli’s masterful knock powers Royal Challengers to the top
  • Vijay Narayan earns rare distinction of being Advocate General under two different governments
  • Learn from Sri Lanka’s experience on impact of fertilizer supply chains: experts
  • Sewage pollution of Cooum, groundwater depletion raise alarm

Recent Comments

  1. Leonardren on UP Teacher Who Asked Students To Slap Muslim Classmate
  2. NathanQuins on UP Teacher Who Asked Students To Slap Muslim Classmate
  3. Davidgof on UP Teacher Who Asked Students To Slap Muslim Classmate
  4. NathanJobre on UP Teacher Who Asked Students To Slap Muslim Classmate
  5. Davidcag on UP Teacher Who Asked Students To Slap Muslim Classmate
  • Access Denied Sports
  • Realisation about fragility of earth common among astronauts upon return: Rakesh Sharma
    Realisation about fragility of earth common among astronauts upon return: Rakesh Sharma Science
  • “2 Overpaid Guys Playing IPL Final”: Mitchell Starc Reveals Hilarious Chat With Pat Cummins
    “2 Overpaid Guys Playing IPL Final”: Mitchell Starc Reveals Hilarious Chat With Pat Cummins Sports
  • BJP Candidate Naveen Jindal Files Nomination From Kurukshetra
    BJP Candidate Naveen Jindal Files Nomination From Kurukshetra Nation
  • Access Denied
    Access Denied Nation
  • Kamala Harris Draws On Prosecutorial Skills Against Donald Trump In Election Bid
    Kamala Harris Draws On Prosecutorial Skills Against Donald Trump In Election Bid World
  • Pope Appeals Ukraine To End War With Russia
    Pope Appeals Ukraine To End War With Russia World
  • “Justin Trudeau Politically Close To Khalistanis”: Envoy Targeted By Canada
    “Justin Trudeau Politically Close To Khalistanis”: Envoy Targeted By Canada 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.