Astronomy
Asteroids and Comets Black Holes Children Chemical Elements Constellations Earth Eclipses Environment Equations Evolution Exoplanets Galaxies Light Matter Moons Nebulas Planets Dwarf Planets Probes and Telescopes Scientists Stars Sun Universe Volcanoes Zodiac New Articles Glossary
RSS astronoo
Follow me on X
Follow me on Bluesky
Follow me on Pinterest
English
Français
Español
Português
日本語
Deutsch
 
Last updated: November 13, 2023

Artificial intelligence and natural language

Artificial intelligence and natural language

Image: Natural language processing is a branch of artificial intelligence (AI). Using natural language processing (NLP) algorithms, machines understand, generate or translate human language as it is written or spoken.

What is a natural language processing (NLP) algorithm?

A classic computing algorithm allows you to perform a specific task using a collection of finite instructions and operations (they stop after a finite number of steps) and not ambiguous (they are clear and precise). In other words, classical algorithms are programmed to produce exact results, they are unambiguous and leave no room for adaptation.

An AI algorithm is based on artificial neural networks designed to learn from training data without being explicitly programmed.
AI algorithms are not finished because they can continue to learn and improve with experience. They are often ambiguous because they produce different results for similar data inputs. These are non-linear models, small variations in the inputs can lead to large variations in the output. This is why neural networks have so many parameters. These settings control how connection weights are adjusted during the training process.

What is the concept of adjusting connection weights?

The concept of weight adjustment is a fundamental concept in machine learning and artificial neural networks. This concept is inspired by the functioning of the human brain.

In the human brain, biological neurons are connected to each other by synapses. The strength of the connection between two neurons is called "synaptic weight". Synaptic weights are changed during the human learning process. This process, still poorly understood, is called "synaptic plasticity". Synaptic plasticity is the ability of synapses to change connection strength based on experience.

In addition, AI algorithms are designed on statistical mathematics models. This means that they do not produce exact results, but results that are probable. It is possible for the same neural network to produce different results for similar data inputs.
To minimize these effects, synaptic weights must be parameterized.
In the case of ChatGPT, 175 billion parameters determine the behavior of the model.

What are parameters used for in an AI?

Parameters are adjusted on a model's training data.
For example, the parameters of a language model can be, the probability that a word appears in a sentence, the probability that a word is followed by another word, the probability that a word is used in a context particular, etc.
In the case of ChatGPT, the language model data used to train it was a 500 billion word set of text and code. The ChatGPT model parameters are used to generate text similar to the text in the training data. That is, which words are most likely to appear in a given sentence.
For example, if the training data contains a sentence like "The house is white", the model will learn that the words "the", "house", "is" and "white" are likely to appear together.
The more the sentence is present in the learning model, the more the synaptic weights associated with this sentence will be updated to be higher. This means that the model is more likely to generate this sentence, "The house is white", as output.
The model also takes into account the context of the sentence and the environment in which it appears. For example, the sentence "The house is white" is more likely to appear in a context that talks about housing estates than in a context that talks about travel agencies.
Language rules can also influence the likelihood of a sentence appearing. For example, the sentence "The house is white" is grammatically correct in French, while the sentence "The white house is" is grammatically incorrect.
There are many other factors that determine the likelihood of a sentence appearing as output from a language model. These factors may be model or application domain specific.

NB: The language model is not a copying machine. It is capable of learning data and generating text that is similar to the training data, but it does not copy the text from the training data verbatim.

AI has reached an important milestone in computing!

An AI can be programmed with classic calculation algorithms, as in expert systems or recommendation systems which use learning techniques called "machine learning". However, these techniques have limitations when it comes to solving complex or unstructured problems. Furthermore, in traditional computing, it is difficult to take into account problems that have not yet been encountered.

Thanks to the development of deep learning techniques (several hidden layers), AI can solve complex and unstructured problems, without needing to be explicitly programmed. Deep learning allows computer programs to learn from data.
However, machine learning models are complex. They can contain billions of parameters, all of which must be learned, weighted and optimized. This requires a lot of data and computing power. The learning process is often long and can take a lot of time. Despite these constraints, the development of AI is infinitely more productive than the development of expert systems. Without the concept of artificial neural networks, it would have been impossible for humans to achieve ChatGPT in such a short time.

Articles on the same theme

White Sands Footprints: America's First Steps White Sands Footprints: America's First Steps
Hominins: Appearance, Expansion, and Extinctions Hominins: Appearance, Expansion, and Extinctions
Major Natural Disasters: What Are the Most Likely Threats? Major Natural Disasters: What Are the Most Likely Threats?
Major Civilizational Collapses: Key Periods and Causes Major Civilizational Collapses: Key Periods and Causes
Generative AI vs AGI: Where does imitation end and consciousness begin? Generative AI vs AGI: Where does imitation end and consciousness begin?
Declining Births: Demographic Catastrophe or Natural Evolution? Declining Births: Demographic Catastrophe or Natural Evolution?
Natural Selection vs. Chance: Why Evolution is Not a Lottery? Natural Selection vs. Chance: Why Evolution is Not a Lottery?
What if Life Originated from Earth? A Revolution in the Theory of Panspermia What if Life Originated from Earth? A Revolution in the Theory of Panspermia
The Great Bifurcation that will Disrupt Our World: Survival or Collapse? The Great Bifurcation that will Disrupt Our World: Survival or Collapse?
Primordial Chemistry: Where Do the First Organic Molecules Originate? Primordial Chemistry: Where Do the First Organic Molecules Originate?
CO and CO₂: Two Gases, Two Risks, Two Biological Mechanisms CO and CO₂: Two Gases, Two Risks, Two Biological Mechanisms
Spontaneous Synchronization: A Universal Phenomenon, from Physics to Life Spontaneous Synchronization: A Universal Phenomenon, from Physics to Life
Artificial networks vs biological networks: Two systems, one common architecture Artificial networks vs biological networks: Two systems, one common architecture
Human Brain and Artificial Intelligences: Similarities and Differences Human Brain and Artificial Intelligences: Similarities and Differences
Time Challenge: How to Illustrate a Billion Years? Time Challenge: How to Illustrate a Billion Years?
The Three Essential Components for the Emergence of Life The Three Essential Components for the Emergence of Life
Why Did the Genus Homo Nearly Go Extinct 900,000 Years Ago? Why Did the Genus Homo Nearly Go Extinct 900,000 Years Ago?
AlphaGo vs AlphaGo Zero: A Revolution in Artificial Intelligence AlphaGo vs AlphaGo Zero: A Revolution in Artificial Intelligence
The Next Step for Intelligent Machines The Next Step for Intelligent Machines
The First Step Towards the Emergence of Life The First Step Towards the Emergence of Life
From Biological Neuron to Formal Neuron: Simplifying the Brain From Biological Neuron to Formal Neuron: Simplifying the Brain
The shadow biosphere The shadow biosphere
Decline of Anthropocentrism Decline of Anthropocentrism
Artificial intelligence: the explosion of gigantism Artificial intelligence: the explosion of gigantism
When AI models train on their own data, they go mad! When AI models train on their own data, they go mad!
Emergence of artificial intelligence: Illusion of intelligence or intelligence? Emergence of artificial intelligence: Illusion of intelligence or intelligence?
The horseshoe crab, a living fossil! The horseshoe crab, a living fossil!
Biosignatures or presence of life in the Universe Biosignatures or presence of life in the Universe
Challenge and threat of Artificial Intelligence Challenge and threat of Artificial Intelligence
Artificial intelligence and natural language How do machines understand, interpret and generate language in a similar way to humans?
How does an artificial neural network work? How does an artificial neural network work?
Origin of life on Earth: Panspermia theory Origin of life on Earth: Panspermia theory
Origin of life on Earth: White smoker theory Origin of life on Earth: White smoker theory
Why 37 degrees Celsius? Why 37 degrees Celsius?
Are We Alone in the Cosmos? Between Science and Speculation Are We Alone in the Cosmos? Between Science and Speculation
Traces of Life in the Ice: The Emergence of Prehistoric Mammoths Traces of Life in the Ice: The Emergence of Prehistoric Mammoths
The Younger Dryas: The Mini Ice Age That Wiped Out the Megafauna The Younger Dryas: The Mini Ice Age That Wiped Out the Megafauna
The Two Great Ice Ages: Surviving in the Oceans of a Frozen Earth The Two Great Ice Ages: Surviving in the Oceans of a Frozen Earth
Regeneration in Animals Following Amputation: Organic Regrowth Regeneration in Animals Following Amputation: Organic Regrowth
At the Limits of Life: Mephisto, Worm of the Infernal Depths At the Limits of Life: Mephisto, Worm of the Infernal Depths
Discovery of solid buckyballs in space Discovery of solid buckyballs in space
Human Walking: The Origins of Bipedalism in Hominids Human Walking: The Origins of Bipedalism in Hominids
The passage between the inert and the living The passage between the inert and the living
The Great Story of Complexity: From Elementary Particles to the First Organisms The Great Story of Complexity: From Elementary Particles to the First Organisms
Karabo: A Window into Human Evolution Karabo: A Window into Human Evolution
Megapod uses volcanic heat Megapod uses volcanic heat
Ardipithecus: The 4.4-Million-Year-Old Ethiopian Hominid Ardipithecus: The 4.4-Million-Year-Old Ethiopian Hominid
Natural Selection: The Peppered Moth Natural Selection: The Peppered Moth
The Ordovician: The Era of Corals, Trilobites, and Graptolites The Ordovician: The Era of Corals, Trilobites, and Graptolites
Liquid Water, Much More Than a Solvent: A Catalyst for Chemical Reactions Liquid Water, Much More Than a Solvent: A Catalyst for Chemical Reactions
Neanderthal: Humanity's Lost Cousin Neanderthal: Humanity's Lost Cousin
Asimo the future humanoid Asimo the future humanoid
What Conditions Allowed the Emergence of Life? What Conditions Allowed the Emergence of Life?
Fermi's paradox or Plato's cave Fermi's paradox or Plato's cave
Tardigrades: Indestructible Creatures That Defy the Laws of Biology Tardigrades: Indestructible Creatures That Defy the Laws of Biology
Toumaï: One of the Oldest Known Hominins Toumaï: One of the Oldest Known Hominins
The Origin of Life: From the First Organisms to Current Biological Diversity The Origin of Life: From the First Organisms to Current Biological Diversity
Life in the Abyss: The Extreme Adaptation of Creatures Life in the Abyss: The Extreme Adaptation of Creatures
Cyanobacteria and the Oxygen Crisis: A Primordial Ecological Catastrophe Cyanobacteria and the Oxygen Crisis: A Primordial Ecological Catastrophe
From Matter to Life: The Blurred Frontier of Biological Emergence From Matter to Life: The Blurred Frontier of Biological Emergence
The Smallest Frog in the World: Physiological Secrets of a Microvertebrate The Smallest Frog in the World: Physiological Secrets of a Microvertebrate
The explanation of the Little Ice Age The explanation of the Little Ice Age
The Light of Life: A Biosignature Revealed by the Moon The Light of Life: A Biosignature Revealed by the Moon
Living Light: The Dazzling Secrets of Bioluminescence Living Light: The Dazzling Secrets of Bioluminescence
Beyond our senses, the great scientific revolutions Beyond our senses, the great scientific revolutions
The Primordial Soup: Chemical Cradle of Terrestrial Life The Primordial Soup: Chemical Cradle of Terrestrial Life
WWorld Population: From One Billion Humans to Demographic Saturation World Population: From One Billion Humans to Demographic Saturation
Ecology and Collapse: The Case of Easter Island Ecology and Collapse: The Case of Easter Island
Fractals: Universally Self-Organized StructuresFractals: Universally Self-Organized Structures