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
  • College In China Removes Power Sockets To Curb Phone Use, Students Protest
    College In China Removes Power Sockets To Curb Phone Use, Students Protest World
  • Sensex, Nifty Continue To Plunge For 6th Consecutive Day
    Sensex, Nifty Continue To Plunge For 6th Consecutive Day Business
  • Boeing to cut 17,000 jobs and delay first 777X delivery as strike hits finances
    Boeing to cut 17,000 jobs and delay first 777X delivery as strike hits finances Business
  • Under Fire Skipper Hardik Pandya Delivers Rousing Speech Amid MI’s Dismal Show In IPL 2024. Watch
    Under Fire Skipper Hardik Pandya Delivers Rousing Speech Amid MI’s Dismal Show In IPL 2024. Watch Sports
  • “They Had The Wicket To…”: Steve Smith’s Blunt ‘Spinners Remark’ After Australia’s Loss Against India In World Cup Opener
    “They Had The Wicket To…”: Steve Smith’s Blunt ‘Spinners Remark’ After Australia’s Loss Against India In World Cup Opener Sports
  • ‘Limited cars, no animals’: DU lists norms for students’ union election
    ‘Limited cars, no animals’: DU lists norms for students’ union election Nation
  • Brain undergoes major changes in pregnancy, some fleeting, some enduring, new study shows
    Brain undergoes major changes in pregnancy, some fleeting, some enduring, new study shows Science
  • Access Denied 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

  • Science quiz: Most powerful non-nuclear bombs
    Science quiz: Most powerful non-nuclear bombs Science
  • Analysis: Why NASA wants to build nuclear reactor on the moon
    Analysis: Why NASA wants to build nuclear reactor on the moon Science
  • Airline pilots’ body calls attention to lithium battery fire risk | Explained
    Airline pilots’ body calls attention to lithium battery fire risk | Explained Science
  • Private colleges account for 54% of 1.36 lakh MBBS seats in India
    Private colleges account for 54% of 1.36 lakh MBBS seats in India Science
  • Debris of rockets with ISRO logo found near uninhabited island in Maldives
    Debris of rockets with ISRO logo found near uninhabited island in Maldives Science
  • WHO urges rapid access to mpox diagnostic tests
    WHO urges rapid access to mpox diagnostic tests Science

More Related Articles

Making sense of DHRUV64 indigenous microprocessor | Explained Making sense of DHRUV64 indigenous microprocessor | Explained Science
What is quantum entanglement? – The Hindu What is quantum entanglement? – The Hindu Science
Ancient meteorite was ‘giant fertilizer bomb’ for life on Earth Ancient meteorite was ‘giant fertilizer bomb’ for life on Earth Science
India may have had 11.9 lakh excess deaths due to pandemic in 2020: study India may have had 11.9 lakh excess deaths due to pandemic in 2020: study Science
IMD: India’s weather tracker turns 150 years old IMD: India’s weather tracker turns 150 years old Science
Science This Week | India launches Aditya-L1 to study the sun, Pragyan safely parked and more Science This Week | India launches Aditya-L1 to study the sun, Pragyan safely parked and more Science
SiteLock

Archives

  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • 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

  • AIADMK, BJP leaders slam TVK-led Tamil Nadu government over electricity purchase at high rate
  • Two arrested for attacking security guard with knife in Besant Nagar
  • Women stage silent demonstration at Kathipara against police action on anti-CEC protesters in Delhi
  • DGCA bans specific power banks on flights
  • Saudi Supreme Court sets aside Sri Lankan migrant worker’s death penalty

Recent Comments

  1. RobertTes on UP Teacher Who Asked Students To Slap Muslim Classmate
  2. Manuelret on UP Teacher Who Asked Students To Slap Muslim Classmate
  3. RobertTes on UP Teacher Who Asked Students To Slap Muslim Classmate
  4. RobertTes on UP Teacher Who Asked Students To Slap Muslim Classmate
  5. BrentWes on UP Teacher Who Asked Students To Slap Muslim Classmate
  • Women’s T20 World Cup 2026: Misfiring India runs into Bangladesh in a must-win game
    Women’s T20 World Cup 2026: Misfiring India runs into Bangladesh in a must-win game Sports
  • “I Don’t Believe Israel-Hezbollah Fight Inevitable”: US Defence Secretary
    “I Don’t Believe Israel-Hezbollah Fight Inevitable”: US Defence Secretary World
  • Regal Reality excels – The Hindu
    Regal Reality excels – The Hindu Sports
  • South Korean prosecutors detain ex-Defense chief over martial law imposition
    South Korean prosecutors detain ex-Defense chief over martial law imposition World
  • Riyan Parag Receives Debut India Cap From His Father In Emotional Ceremony – Watch
    Riyan Parag Receives Debut India Cap From His Father In Emotional Ceremony – Watch Sports
  • Who Is Indian-American Kash Patel, Donald Trump’s Pick To Head FBI
    Who Is Indian-American Kash Patel, Donald Trump’s Pick To Head FBI World
  • “Not Nightmares…”: Rohit Sharma Reveals Toughest Bowler He Has Faced. Not Shaheen Afridi
    “Not Nightmares…”: Rohit Sharma Reveals Toughest Bowler He Has Faced. Not Shaheen Afridi Sports
  • Manchester City Held Without Rodri As Cole Palmer’s Four Goals Fire Chelsea
    Manchester City Held Without Rodri As Cole Palmer’s Four Goals Fire Chelsea Sports

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

Associate Journalists
1. Subrata Paul - AN/2020/01
2. Quamruz Zaman - AN/2021/22
3. Ahmed Sha - AN/2021/035
4. Ajay Kumar Shaw - AN/2021/39
5. Tahqiqul Hoda - AN/2021/21

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.