Technology News

Behind the scenes at ChatGPT – Le Droit

This content is produced by Laval University.

ChatGPT was launched in late November 2022 and quickly surprised the world with its amazing performance. The text generation application was able to deceive many readers, even the most attentive ones, because they were unable to distinguish texts created by artificial intelligence (AI) from those written by a human. But how could what many thought was impossible yesterday become reality so quickly?

“The explanation for this rapid rise of artificial intelligence and ChatGPT can be viewed as a triangle, the three vertices of which are equally important. First, the computing power of computers has increased dramatically. Second, the amount of quality data for training neural networks has exploded. Thirdly, there have been several innovations in the architecture of neural networks,” explains Professor Nicolas Doyon.

Nicolas Doyon, professor in the Department of Mathematics and Statistics and researcher at the CERVO Research Center, explained the rise of AI and Chat GPT in his talk

At the invitation of the Continuing Education Department of the Faculty of Science and Technology to hold a general public conference on this topic, this professor from the Department of Mathematics and Statistics and researcher at the CERVO Research Center spoke about some milestones in the history of AI and certain scientific and mathematical principles popularized, on which the success of the famous computer application rests.

A champion chess machine

One of the greatest achievements in artificial intelligence dates back to 1996, when the computer Deep Blue managed to beat world chess champion Garry Kasparov. Deep Blue was programmed to create a tree of possibilities, assign a value to the final positions of the tree's various branches, and then determine the best possible move.

However, this approach, which worked well in chess, was less suitable for the game of Go, whose board forms a 19 x 19 grid – providing many more possibilities for moves than chess' 8 x 8 format. The tree of possibilities became too large even for a computer. “That’s why,” says Nicolas Doyon, “the researchers then said to themselves: ‘This doesn’t correspond to the way we think at all.’ How could we take inspiration from the way the human brain and neurons work to improve artificial intelligence? »»

Mimic neurons

By studying how human neurons work, we found that they do not respond to all messages they receive. A message must reach a minimum threshold for the neuron to emit a so-called action potential, which always has the same strength and shape regardless of the intensity of the original message. This action potential is passed on to the next neuron via a synapse. It's an all-or-nothing law.

However, synapses are not just used to transfer information from one neuron to another; Their plasticity would play a central role in learning. In fact, researchers have found that the connection strength of synapses changes over time. “Simply put: the more frequently a synapse is used, i.e. the more it transmits an action potential to the next neuron, the stronger it becomes.” Under the microscope we can clearly see that the dendritic spine, an area of ​​the neuron, becomes larger, when a person learns. In short, by getting bigger and stronger, the synapse gradually changes the way we think,” explains the professor.

How can these biological facts be represented mathematically? “One way to transfer the all-or-nothing law into mathematics,” answers Nicolas Doyon, “is to use the Heaviside function.” In mathematics, functions often go continuously from 0 to 1. “The Heaviside function, on the other hand,” he explains, “is a function that has the value 0 until the input to the function reaches a certain threshold. Then suddenly it goes to 1.”

All or nothing can be represented mathematically by the Heaviside function.

“To illustrate the role of the synapses,” he adds, “we assign weights to the different inputs of the neuron.” From the graph, we can see that after determining the numerical values ​​of the inputs, we assign these values ​​to the weight of the Synapse, add the results of these multiplications to obtain a weighted sum, and finally we check whether this output value meets the required threshold, resulting in 0 or 1.

1706317003 822 Behind the scenes at ChatGPT – Le Droit

Train the network

In recent years, artificial intelligence has made major breakthroughs thanks to the development of deep learning. “We now work with neural networks with several layers: an input layer, intermediate layers and an output layer. Between a neuron in one layer and a neuron in another layer there is a connection strength, also called synaptic weight, and as the network learns, each of these weights is adjusted,” notes Nicolas Doyon.

And how does the network learn? Through training, the researcher states. Consider the case of a neural network tasked with confirming whether the photo is that of a cat or a dog. We will assign a value of 0 to the cat and a value of 1 to the dog. To train the network, we will use thousands or even millions of images of these little creatures and examine the percentage of well-classified images. If the network does not give the correct answer, it did not get the correct output value because the synaptic weights were not well matched. We will therefore continue to adjust these weights until we achieve a very high success rate.

But how do I adjust the weights? “One of the things we use is the gradient descent method. To illustrate this, we can imagine a person trying to descend to the base of a mountain as quickly as possible. This is easy to imagine if there are only two inputs. On the x-axis we represent the success rate associated with different weights by which we multiplied the first entry, and on the y-axis we represent the success rate associated with different weights by which we multiplied the second entry. The error is displayed on the Z axis. Then it is possible to visualize the point where the error is smallest and try to adjust the weights so that they move in that direction,” explains Professor Doyon, who adds in the same breath that the principle, Although always the same, it is more difficult to visualize in reality when the number of parameters to be adjusted is in the millions or even billions.

We adjust the synaptic weights using the gradient descent method.

Math and reading at the heart of ChatGPT

The exact numbers are of course not disclosed publicly, but we can estimate that ChatGPT needs to adapt a network of 60 to 80 billion neurons, 96 layers and 175 billion weights. For comparison: there are around 85 billion neurons in the human brain. “The comparison remains a bit lame,” agrees Nicolas Doyon, “because our neurons are not quite similar to artificial neurons, but we are roughly in the same order of magnitude.”

When the computer application is asked to define itself, it responds: “ChatGPT uses a deep neural network structure. It is important to note that ChatGPT does not possess deep understanding or self-awareness. The answers are based solely on the statistical probabilities of the words or phrases.” To generate a text, ChatGPT calculates the probabilities that another word sequence will follow from a word sequence and then suggests the most likely sequence.

To achieve this, ChatGPT had to train billions of data points. The content of this reading is of course subject to confidentiality. However, it can be assumed that the network was trained on over 300 billion words. “If you read 300 words per page and one page per minute 24 hours a day, you would have to read for 1900 years to absorb that much information,” explains the mathematician, to get an idea of ​​​​the scale of the problem, using the library as a basis for learning ChatGPT.

“If you read 300 words per page and one page per minute 24 hours a day, you would have to read for 1,900 years to absorb that much information.”

– Nicolas Doyon on the supposed 300 billion words that make up the ChatGPT training database

Between amazement and fear

ChatGPT's sometimes breathtaking performance captures the imagination of some who see the future as a science fiction movie where artificial intelligences dominate the world. However, it is not this scenario that worries those among scientists who would like to see greater regulation of AI development. Rather, their intention is to prevent certain slips associated with human use. They also want us to take the time to better understand and analyze the negative impacts of this technology.

“What could possibly go wrong? Apparently students can use ChatGPT to cheat. Plus, people can lose their jobs. Recently, striking writers in Hollywood called for limiting the use of AI in screenwriting,” recalls Nicolas Doyon.

In addition, the professor reveals, other problems are less obvious and more insidious. “For example,” he says, “AI in the area of ​​facial recognition would more easily recognize white men than women or people who are visible minorities.” This fact is a little surprising since we imagine a neutral artificial intelligence. It can't be sexist or racist. But because the AI ​​was likely trained on a database that contained more male and white faces, it inherited our mistakes.”

Another example the professor gives comes from DeepL, a translation application that uses the same principles as ChatGPT. “If we ask DeepL to translate “she reads” into Hungarian, he says, we get “ὄ olvassa.” If we ask him to translate the same Hungarian words into French, he will say “il lit”. For what? Since the database has a statistical bias, the male subject is more often found before the verb “read”.

The often hidden environmental problem should not be taken lightly. “People think that AI is virtual and has no impact on the environment. However, according to an article, ChatGPT drinks 500 ml of water every time you talk to him. This image was used to remind us that massive amounts of water are required to cool supercomputers. In addition to this resource, ChatGPT also requires a lot of energy. Some say that AI will soon use as much electricity as an entire country,” says Professor Doyon.

So what does the future of AI and ChatGPT look like? “I don’t know,” Professor Doyon answers humbly. “Are there things ChatGPT can never do? I have no answer. Every month we hear that Chat GPT has done something new. It is impossible to know where this will all end,” concludes the mathematician.

  • For an overview of Nicolas Doyon's work
  • Learn more about past and upcoming general public conferences organized by Continuing Education at the Faculty of Science and Engineering
  • Watch the conference “The Mathematical Secrets of ChatGPT”:

Behind the scenes at ChatGPT – Le Droit Read More »

Boston lettuce and parsley cream with garlic cloves and lime pesto – Les Radieuses

This Boston salad with parsley cream, garlic flower pesto and lime has everything to win the heart of your loved one.

As an appetizer or as a side dish, this simple flower-like recipe is delicious. What can we say about the parsley cream with garlic flower pesto and lime!

Boston lettuce and parsley cream with garlic cloves and limeBoston lettuce and parsley cream with garlic cloves and lime

Boston lettuce and parsley cream with garlic clove and lime pesto

Servings: 4 | Preparation: 15 minutes

Ingredients :

  • 1 large head of lettuce
  • 40 g (1/4 cup) red pepper, diced
  • Grind pepper
  • 2 TBSP. tbsp fresh chives, finely chopped

Parsley cream with garlic clove and lime pesto

  • 20 g (1/3 cup) fresh flat-leaf parsley, chopped
  • 2 TBSP. teaspoon of garlic scape pesto
  • Juice of 1 lime
  • 60 g (1/4 cup) mayonnaise
  • 60 ml (1/4 cup) 15% country cream
  • 1 C. tablespoon salted herbs
  • 1 C. tbsp fresh basil, finely chopped
  • 1 C. tbsp dry mustard

Steps :

  • Strip the leaves from the Boston lettuce and arrange the leaves flat on a serving plate like a large flower.
  • In a deep, narrow bowl, use a mixer to combine all the ingredients, from the parsley cream to the garlic clove to the lime pesto, into a nice, creamy mixture.
  • Sprinkle the salad with parsley cream and pepper. Garnish with the red pepper brunoise and chives. Surcharge.
  • Enjoy your food!

    Jean Francois

    Do you like Jean-François Plante's recipes? Visit their website, Facebook page or Instagram.

    You will also like:

    Boston lettuce and parsley cream with garlic cloves and lime pesto – Les Radieuses Read More »

    Become a Samurai with the new RIPOUT update – NoFrag – NoFrag

    Just over a month after the first update, the studio Pet Project Games, responsible for developing RIPOUT, a cooperative FPS set on mutant-infested ships, published a Steam blog post announcing the release of the second update, Gear Up. In the latter case, you have access to a new melee weapon (a beautiful katana) with which to finish off enemies, as well as two new combinations (Cover Ops and Moth) for tactical action. Additionally, your trusty pet weapon benefits from a new ability via passive mods (Fire, Acid and EMP), which triggers as soon as it ends its direct attack on the enemy.

    Automatic turrets come into your game and deal enormous damage. If you manage to destroy them, a blaster beast (the small monster with the body of a blaster) will appear. Finally, since you will be failing in your fellowship duties if you do not join your friends' game on time, it is now possible for you to casually participate in their public game. To learn more, you can visit the English Steam blog post. Unfortunately, despite the updates, RIPOUT is still bad. Damage.

    If you're interested in wielding the Katana in RIPOUT, you can purchase it in Early Access for less than €25 on Steam.

    Become a Samurai with the new RIPOUT update – NoFrag – NoFrag Read More »

    Phantom Abyss has left the depths of Early Access – NoFrag – NoFrag

    As announced, Phantom Abyss left Early Access on January 25th. Studio Team WIBY therefore took the opportunity to publish its Steam blog post and the classic launch trailer for version 1.0 of the game. From now on you can play two game modes, namely the completely redesigned Adventure Mode and the Abyss (formerly Classic Mode), where only one of you can complete the Temple. New whips are added to the existing ones and permanent improvements are unlocked.

    The central hub was improved and the powers of both whips and prayer hotels were readjusted. You can also dash in the air and have the option to retry your parkour from the end of the game without having to go through the hub again. On the other hand, the developers have removed the ranking system and therefore you can no longer brag about your past successes. If you want to know more details about this new version, you can consult the Steam blog post.

    To celebrate its release in 1.0, Phantom Abyss is currently 50% off on Steam until February 1st, meaning less than €10 for the basic edition and less than €13 for the deluxe edition. Feel free to give us feedback about this new build in the comments section.

    Phantom Abyss has left the depths of Early Access – NoFrag – NoFrag Read More »

    It asks the AI ​​to create an image and recreates a copyrighted photo – Lebigdata.fr

    A famous photographer showed how AI can easily copy his copyrighted images. This case draws attention to the need to protect artists' works in the age of AI.

    Tim Flach, famous for his expressive animal photos, experimented with Midjourney, an AI image generator. To his surprise, he found that the AI ​​could easily recreate his own photos. Flach, whose name was on an artist list targeted by Midjourney, shares AI versions of his works with PetaPixel. These reproductions highlight AI's incredible ability to imitate artistic style and illustrate the copyright implications.

    Recreate your own images with AI, e.g. B. Mid-journey

    The controversy revolves around the use of works by AIs like Midjourney are available for their training. A British photographer known for his expressive wildlife images has successfully recreated his own photos using Midjourney AI. This proves the precision of artificial intelligence.

    To support his argument, Tim Flach showed two of his photos PetaPixels. He then reproduced it via Midjourney by typing his name. The very convincing results demonstrate the AI's ability to accurately mimic the style of a famous photographer.

    The ease with which AI reproduces works raises questions about intellectual property protection. The photographer suggests a model “Registration” for the use of the works. This model would reverse the current “unsubscribe” model. He compares this approach to publishing photos in a magazine. In this case, obtaining permission from the photographer is an essential step.

    The economic impact on artists

    The economic costs to artists are crucial to this issue. In fact, the photographer has invested a lot in his projects and attached importance to fair remuneration. This is particularly relevant when the AI ​​uses its own image. According to him, the danger lies in this Improving AI technology.

    Little by little, the artists' unique style could be copied. And that without recognition or compensation. He calls this phenomenon “Process image brightening” Or “data laundering”. In addition, it poses a serious threat to creative people.

    svg%3E

    On the other hand, the potential value of Midjourney is estimated at 10 billion dollars. This contrasts with the insecurity of the artists contributing to these technologies. Flach's example is telling. He recreated his own photos on Midjourney. This shows how easily AI generates stylized images. His experiments show the current performance of AI. They also point to future potential. It is believed that AI could become exponentially more powerful.

    The current situation involves a lawsuit against Midjourney and Stable Diffusion. This reflects a broader conflict between art and technology. The central issue is the control of authors over their original works. This ongoing case highlights the challenges artists face. You are facing a world that is increasingly dominated by artificial intelligence.

    It asks the AI ​​to create an image and recreates a copyrighted photo – Lebigdata.fr Read More »

    A fungus could help fight the pine beetle – Radio-Canada.ca

    Researchers at the University of Alberta have found that a fungus can make trees resistant to mountain pine beetles, a small insect that causes major damage. The only problem is that this fungus also causes significant damage to infected trees.

    Atropella canker, a fungus found primarily in western Canada, can produce toxins on an infected tree that are harmful to pine beetles.

    In general, infection with this fungus leads to a change in the tree's defense system, explains one of the study's co-authors, Rashaduz Zaman. In most cases, the infection makes the tree more susceptible to insect and disease attack.

    Of five fungi studied, four reduced the resistance of Alberta pines to mountain pine beetles.

    However, over the course of the study, atropella cancer was found to be effective in making pine trees more resistant to attacks by the small wood-boring insect, which has already devastated tens of millions of hectares of Canadian forests.

    In a huge forest there are red trees that have died due to the pine beetle.

    Open in full screen mode

    The small beetle is able to pierce the bark of trees and remove the layer between the bark and the wood. One of the signs of the presence of the insect is the reddish color of pine needles. The photo was taken in 2019 near Hinton, east of Edmonton.

    Photo: Government of Alberta

    Prevention instead of healing

    Atropelle canker is a fungus that affects the trunk of trees. According to Natural Resources Canada, it can cause tree death and is particularly common after wildfires.

    Mr Zaman believes that the results of their research are more of a starting point for developing a forest management system and limiting the damage caused by the insect.

    So it's not about infecting parts of an entire forest with this potentially deadly fungus in order to increase its resistance to small beetles.

    A tree trunk infected with a fungus.

    Open in full screen mode

    Atropella canker can cause the tree to slow its growth and even die. Infection is fatal if large canker growths surround the stems.

    Photo: Natural Resources Canada

    Rather, the results (New window) (in English) show that it is possible to identify the chemical profile of trees resistant to the insect, specifies the doctoral student in forest biology, by analyzing trees infected with the insect are.

    According to Richard Hamelin, professor of forest pathology at the University of British Columbia, this is an interesting development.

    If it is possible to identify less resistant trees, he believes it would be conceivable to use pheromone traps to attract insects to these trees and then perhaps sacrifice these trees.

    He sees this as a way to curb the spread of the insect.

    There is no way to eliminate the pine beetle, says Jakub Olesinski, Parks Canada forest health expert.

    Pesticides are simply not effective. They cannot be used to control them.

    Still far from reality

    For the professor, who also holds the position of director of the Department of Nature Conservation and Forestry at the University of British Columbia, it is an interesting study, but we are really far away from real-world applications.

    Because the tree's defense system was studied during a fungal attack, he says it is difficult to identify which tree has the profile of being resistant to insects before the atropellar canker begins to cause damage.

    If an attack then occurs, it is often too late.

    The authors of the study nevertheless expressed the idea of ​​being able to develop a diagnostic tool.

    Rashaduz Zaman believes it would be possible to identify which trees might be infected years before the fungus attacks its trunk. As with humans, if they have symptoms they will be tested by doctors.

    A fungus could help fight the pine beetle – Radio-Canada.ca Read More »

    Microsoft Teams is playing the Metaverse card with Mesh. But isn't it already too late? – Citrus press

    Since 2020, companies and employees alike have discovered the need for technology that helps them feel connected no matter where they work. At Microsoft, we've largely refined the Teams telecommuting tool and late last year we talked about Mesh, a new three-dimensional experience built into the software.

    Subscribe to Lemon Squeezer

    An even more immersive experience for Microsoft Teams

    “Over the years, we have learned that a thriving workplace fosters authentic human connections that enable employees and teams to build meaningful, trusting relationships so they can achieve their highest potential,” explains Microsoft.

    So, according to Microsoft, the new Mesh tool presents itself as a solution that allows different members of the same company to connect like never before in an immersive 3D space, making virtual meetings and events feel more like in-person contacts. Digital engagement is evolving from audio to video and now to spatial interaction.

    To use Mesh, simply go to the View menu of a Teams meeting. Here we choose the “Immersive Space” option and with just a few clicks we can transform a classic meeting (understandably 2D) into a brand new immersive 3D experience.

    Mesh offers a range of “ready-to-use” virtual environments that companies can customize with everything from informational videos to logos without having to enter any code. Through the Unity engine and Mesh resource kit, it is possible to create personalized immersive experiences adapted to the needs of each business.

    Microsoft says that the Mesh solution has been tested for almost two years by some privileged customers such as Accenture and pharmaceutical company Takeda, who praised the benefits of these more immersive meetings.

    For a more immersive experience, Microsoft's Mesh solution is currently only available in the desktop version and on Meta Quest VR headsets. Microsoft is offering a free six-month trial to anyone who already has a business account.

    We'll now see if this new mesh functionality will appeal to employees, but nothing is less certain given the relatively low interest (even from Microsoft) in this type of immersive technology…

    📍 In order not to miss any news from Presse-citron, follow us on Google News and WhatsApp.

    Microsoft Teams is playing the Metaverse card with Mesh. But isn't it already too late? – Citrus press Read More »

    The Ingenuity helicopter on Mars is over – Radio-Canada.ca

    NASA has announced the end of a mission that exceeded all expectations: after almost three years on Mars, the small helicopter Ingenuity will no longer fly over the Red Planet due to a problem on its 72nd flight.

    “What Ingenuity has accomplished goes far beyond what we thought possible,” NASA chief Bill Nelson said in a video. The helicopter paved the way for future flights in our solar system.

    In 2021, Ingenuity became the first powered device to fly on another planet. In doing so, he proved that it is possible to fly in Martian air, the density of which is only 1% of that of the Earth's atmosphere.

    The helicopter flies over the surface of Mars.

    Open in full screen mode

    NASA's Perseverance rover captured this image of Ingenuity during its second flight. This is a still image from a video sequence captured by one of the rover's cameras.

    Photo: NASA/JPL-Caltech/MSSS

    The helicopter was originally only supposed to take off five times, but due to its very good performance, the mission was extended until today.

    The accident occurred last week on the 72nd flight. The helicopter had reached a height of 12 meters, but shortly before landing the communication suddenly stopped.

    It was finally restored the next day, but NASA teams were able to detect damage in images recovered a few days later.

    A photo taken of the helicopter itself was released on Thursday, showing the shadow of one of its damaged rotor blades.

    About 25 percent of the blade is missing, Teddy Tzanetos, mission manager at NASA's Jet Propulsion Laboratory, said at a news conference.

    Because of the temporary loss of data transmission at the end of the final flight, we may never know exactly what happened, he noted. But our technical judgment leads us to believe that a blade struck the Martian surface during descent.

    The helicopter therefore no longer has the thrust necessary for flight. The cause of the communications disruption is still under investigation but, according to Tzanetos, could be related to the impact itself.

    Image of its shadow on the surface of Mars captured by Ingenuity.

    Open in full screen mode

    Image of its shadow on the surface of Mars captured by Ingenuity. The photo was taken during the first flight of a helicopter on April 19, 2021.

    Photo: NASA/JPL/CALTECH

    He said other blades were likely damaged, something NASA teams are still trying to confirm.

    Ingenuity had to make an emergency landing on its 71st flight, the space agency said. At the time, it was in difficult terrain because it didn't have much relief, which posed a challenge for its autonomous navigation system, which relied on landmarks on the ground.

    The 72nd flight, planned at short notice, was carried out under the same conditions.

    Far from being sad, the announcement made it possible to appreciate all of the machine's achievements.

    “Ingenuity has completely disrupted our exploration paradigm and added a new air dimension,” said Lori Glaze, director of planetary science at NASA.

    Weighing just 1.8kg, the helicopter looked more like a large drone.

    In total it covered around 17 kilometers and flew to a height of 24 meters. Its cumulative flight time is more than two hours.

    He arrived on Mars in February 2021 with the Perseverance rover, whose mission is to search for traces of ancient microbial life on Mars.

    Ingenuity was thus able to take on the role of an aerial reconnaissance aircraft to assist its wheeled companion.

    The latter is currently too far away to attempt to visit the helicopter and photograph it up close, NASA said.

    Because the rover serves as a relay for data transmission between Ingenuity and Earth, communication with the helicopter will be lost as Perseverance continues its journey.

    Ingenuity's longevity is remarkable, especially knowing that it had to survive the freezing nights on Mars by warming itself using solar panels that charged its batteries during the day.

    The American space agency is already working on another flying machine project as part of the Dragonfly mission, this time with Saturn's largest moon Titan as the target.

    Helicopters could also support human exploration of Mars in the future, argued Teddy Tzanetos: Nobody should be surprised anymore if in the future the first astronauts, the first woman and the first man on the surface are surrounded by a fleet of aircraft carrying them Capture scenes.

    The Ingenuity helicopter on Mars is over – Radio-Canada.ca Read More »