AI's Evolution : From Symbolic Representations to Generative Intelligence
Kaoutar El Maghraoui36:052024
IBM a supprimé les deux tiers des données collectées avant d'entraîner Granite
Interrogé sur une personne française et une personne roumaine, un grand modèle de langage désignait systématiquement la personne roumaine comme le criminel, et son raisonnement étape par étape ne faisait que répéter ce biais. Kaoutar El Maghraoui, Principal Research Scientist chez IBM Research, retrace le passage de l'IA des règles conçues à la main aux modèles de fondation, dont la puissance s'accompagne d'hallucinations, de biais et de coûts énergétiques en forte hausse. Alors, que faut-il pour construire un modèle digne de la confiance d'une entreprise ?
Découvrez comment fonctionnent les modèles de fondation, où ils échouent et les quatre tendances qui dessinent la suite
Kaoutar El Maghraoui, Principal Research Scientist chez IBM, retrace l'évolution de l'IA comme une histoire de représentations des données, des systèmes experts conçus à la main au deep learning puis aux modèles de fondation auto-supervisés. Elle explique le fonctionnement des modèles de fondation, présente des exemples IBM dans le code, la chimie, l'industrie et un modèle géospatial avec la NASA, et soutient que les hallucinations, les biais et les coûts énergétiques exigent une gouvernance rigoureuse des données. Elle conclut avec quatre tendances qui transforment les données, l'alignement, les architectures et l'usage de plusieurs modèles.
“Le modèle vous donne donc des réponses convaincantes, mais ces réponses sont fausses.”
“Donc, une chose dont nous avons besoin, vous savez, Internet sera bientôt pollué, contaminé par du contenu issu de l'IA générative.”
What you will learn
Retracer la progression de l'IA, des systèmes experts symboliques conçus à la main au machine learning spécialisé par tâche, puis au deep learning et aux modèles de fondation auto-supervisés.
Expliquer comment le préentraînement auto-supervisé par masquage, suivi d'un fine-tuning ou d'un prompting zero-shot et few-shot, réduit le besoin de données étiquetées.
Identifier les principaux risques des modèles de fondation actuels : réponses fausses mais assurées, raisonnement biaisé, enjeux de confidentialité, et hausse des coûts, des émissions de carbone et de la consommation d'énergie.
Appliquer des étapes de gouvernance des données avant l'entraînement : vérification de la provenance, déduplication, filtrage de la haine et des grossièretés, filtrage qualité et fiches de traçabilité des données.
Anticiper les tendances : données synthétiques, modèles autocorrecteurs, architectures compressées et multimodales, et systèmes multi-agents qui orientent les requêtes entre plusieurs modèles.
Details
Level
Intermediate
Format
Talk
Technical depth
Introductory technical
For
All career stages
Length
36:05
Published
May 2024
Questions this talk answers
Comment l'IA a-t-elle évolué avant l'IA générative ?
Elle est passée des systèmes experts fondés sur des représentations symboliques conçues à la main au machine learning avec des caractéristiques conçues à la main, puis au deep learning, qui apprend automatiquement les caractéristiques mais tâche par tâche. Les modèles de fondation apprennent désormais des représentations généralisables et adaptables grâce à l'auto-supervision à grande échelle.
Comment les modèles de fondation apprennent-ils sans d'immenses jeux de données étiquetées ?
Ils sont préentraînés sur de vastes volumes de données majoritairement non étiquetées, en masquant des mots et en apprenant au modèle à les prédire. Quelques exemples étiquetés, ou des prompts en mode zero-shot et few-shot, adaptent ensuite le modèle à des tâches comme la traduction, le résumé ou la réponse aux questions.
Quels sont les plus grands problèmes des modèles de fondation actuels ?
Ils peuvent donner des réponses assurées mais incorrectes, perpétuer des biais, soulever des enjeux de confidentialité liés à l'entraînement sur des données ouvertes d'Internet, et croître à un rythme insoutenable en paramètres, en coûts, en empreinte carbone et en consommation d'énergie.
Comment IBM rend-elle les modèles de fondation prêts pour l'entreprise ?
Grâce à sa fabrique de données et de modèles : validation de la provenance et de la gouvernance des données, suppression des doublons, filtrage des contenus haineux, abusifs, grossiers ou de faible qualité, traçabilité via des fiches de données, supervision humaine, instruction tuning et évaluation des biais et de la toxicité. Pour un modèle Granite, environ deux tiers des données collectées ont été supprimés.
Quelles tendances façonneront les prochains modèles de fondation ?
Des données de haute qualité et de plus en plus synthétiques, des modèles autocorrecteurs et auto-alignés, de nouvelles architectures à mémoire découplée, des modèles compressés et multimodaux, et des systèmes multi-agents qui orientent les requêtes entre plusieurs modèles selon la précision, la latence ou l'efficacité énergétique.
Comment les modèles de fondation apprennent sans étiquettes (77 s)
Des réponses convaincantes, mais tout simplement fausses (67 s)
Pourquoi les vraies données humaines deviennent un joyau (88 s)
I know we lost some time. So it's my pleasure to be here with all of you. So I'm Dr. Kaoutar El Maghrao, a principal research scientist at IBM TJ Watson. And I'm also a professor at Columbia University. So today's talk, I'd like to take you to the journey of AI from symbolic representations to generative intelligence. And also talk about, and especially with gen AI today and the foundations model, some of the huge impact we're seeing, and also some of the trends.
So I'd like first to start, you know, to talk about this, especially from a data representation perspective. So powerful data representations, they've been central to the development of many of the efficient techniques that we've seen throughout the history of computing to solve complex problems. For example, if we look at the world of signal processing, data represented, for example, in the frequency domain has enabled new methods for signal processing, such as things like filtering, denoising, you know, when you do these projections from time domain to frequency domain.
If we look in the world of relational databases, these representations of data, they also have enabled a lot of, you know, the query in that we've traditionally been doing in databases, to basically have this flexible query and using high level declarative languages, using relational databases. So this is kind of two examples from the world of signal processing to the world of enterprise data management.
And with this, you know, the data representations have taken many forms, and it has been at the heart of major advances in science and technology. So, for example, chemical spectrography, things, you know, complex number representations to solve things in the field of electronic devices, electrical motors, quantum graph representations, for example, for neural routing, social media, and relational databases for transactional analytical database systems.
And today we are actually at an inflection point because, you know, all of these advances that enable these effective creations of new powerful ways, and also higher dimensionalities that are being represented in data. So if we look at foundation models that I'm going to talk about in a second, they're very powerful and also flexible representations that have been created by these massive soft supervision using training.
And it also has shown a powerful way to adapt to a wide range of downstream tasks. Also, for example, if you look at, you know, the world of quantum circuit representations, this also provides, you know, very rich dimensional representations. So now we're going from maybe simpler representations like we've seen in the world of relational databases and circuits, now to, you know, these higher dimensions, richer dimensions.
And for example, in the case of foundations models, there have these flexible representations that were generated by massive super supervision. And in the case of quantum circuits, we're looking at, you know, also natural representations for these problems that can be solved by quantum computers, much more efficiently than classical computers. And I just want to kind of maybe take you here a little bit back in history to talk about the history of AI and how it all started.
So, so basically, you know, when we look at the history of AI, initially, we started with these expert systems. And, and these expert systems, you know, way back, you know, in the, in the early days, in the 1980s, they were handcrafted symbolic representations. And then, then after that, you know, we started, you know, entering the big data era in the 1980s to the 2010s.
And in this case here, we're seeing the, the, the rise of machine learning, these task specific handcrafted feature representations. But it required a lot of feature engineering to be able to understand the features of the data to transform it into, into formats that can be handled by machine learning algorithms, like traditional ones, like regression, supervised machine learning, et cetera.
And then, you know, starting in 2010 to 2017, we've seen also the rise of big data, massive labeled data sets, and also the, the powerful compute capabilities, which gave the rise of successful deep learning applications. And for the first time, we've seen a deep learning application that have even exceeded the human accuracy for certain specific tasks. So we've kind of moved from these handcrafted symbolic representations to task specific and handcrafted feature representations to more like, more automation here was in, was kind of evolved in terms of the feature representations.
The features right now are learned automatically by the deep learning algorithms, but it's still task specific. And now we're entering this era of self supervision of scale with these massive labeled data sets and also with powerful compute to have these generalizable adaptable and learned representations using foundations models. So this is really, you know, an inflection point here that we're seeing, and it's, it's creating, you know, lots, you know, kind of a revolution in the way we, we create, we solve problems.
And it also, you know, it's also, you know, it's also, there are challenges that we'll deal in, especially right now with gen AI, which is at the heart of these foundations models. We're, we're now, you know, seeing these new applications that are also being enabled with generative AI. So the paper that started it all, which is attention all you need, this very unique and innovative architecture, which is a transformer architecture.
So this was introduced in 2017 by a team of researchers from Google. And this had a huge, profound impact in the field of natural language processing and deep learning in general. Some of the key features that was introduced here, you know, this kind of the efficiency in the training, this, that, that also, you know, that the architecture is also, gives you a lot of parallelization, scalability, state of the art performance compared to the previous LSTM, for example, or RNN recurrent neural network architectures that were used to solve some of the problems for, you know, speech translation, or language translation, or language translation, etc.
There's also the capability to do large pre-training and more efficient transfer learning and wider adoption beyond natural language processing. Another thing that made this very, very successful is the huge contributions from open source. So it's not just one company or one entity that dominates the, how these architectures are being used and applies, but it's a whole community from all over the world contributing and evolving these powerful technologies.
And if we look, you know, from the inception of the transformer architecture back in 2017, we've seen tremendous evolution in the space of these generative AI, these generative pre-training methodologies, starting with the transformer to the GPT, generative pre-training from open AI to multiple versions where the capabilities have grown with multi-task learning, even bigger models with GPT-3, instruct GPT, which allows learning from human feedback, and also chat GPT, which also provides a lot more human feedback in the loop.
So a lot of innovations algorithmically here, but also at the platform application level, how we consume also these things and how we embed them in AI applications. So I just want to talk a little bit about foundations models, the principles behind foundations models and how they work. So if you look at classical AI models, they're purpose built in siloed. So you take each model basically is designed to do a discrete task. And what happens here is what this is a very human intensive process.
It requires curating data, doing a lot of data pre-processing, training the models for each task separately. And then you have to repeat that every time you want to move to another task, you have to repeat the whole process again. So classical AI models, of course, rely on supervised machine learning. So you need to have thousands or millions of labeled samples to be able to use deep learning to solve a particular problem, say image recognition, object detection, speech recognition, etc. And then when we enter basically the era of these generative pre-trained models, what we're seeing here is we have, we're taking kind of the entire text from the internet. So large, you know, 100 billion sentences from the whole internet, for example, lots of labeled data, but very little labeled data.
And what you do is you apply what we call this self-supervision using mask learning. So you give a model, like the transformer model, for example, these lots of sentences, and then you mask some of the words and then you teach the model to predict the next word. So this is kind of creates the self-supervision at scale. We don't need to have lots of labeled examples. And this was very powerful and enabled by this architecture.
So, so basically, you know, what we're doing is once we create these large models that are based on this self-supervision, then you can add few labeled samples to this largely pre-trained model to handle very specific tasks. For example, here, you know, we do what we call the fine tuning. Here, in this example, we're doing the task of translation. And so we give it few examples, like few sentences that show the translation. And then you fine tune this large pre-trained model to solve specific tasks for translation. And you can do this for many other tasks. For example, translation, question answering, summarization, next word prediction, etc.
So these foundations models, I mean, they're, they have these three key ingredients. They're first pre-trained on large and labeled data sets for across different modalities, language, tabular data, time series, images, etc. And they leverage, you know, this technique for self-supervised learning. And I just draw like a very glimpse of an example using, for example, masked large language modeling, where you mask certain parts of the words, and then you predict it, the net, you predict them using self-supervised learning.
And then you learn basically the generalizable and adaptable data representations, which can be effective to address multiple downstream tasks. So, you know, this is just kind of summarized here. And there are lots of techniques right now, where you're doing also fine tuning with a few examples. There are also things like, you know, summarization, you just attach these prompts.
And then with your text inputs, and then you have a translated input to summarize inputs, or you answer, for example, question inputs. So what we call these prompt engineering to allow you to take the model, and then fine tune it for specific tasks. So what we're seeing right now is these, for example, in the case of NLP, these large language models are driving this new paradigm of data efficient AI. So instead of having siloed model building for across multiple tasks, and every time you repeat the same process over and over, which is very expensive, you label the data, you do the modeling, and then you solve specific tasks.
Now we have these pre-trained generative foundations models that can be used, you know, to handle to many downstream tasks using techniques like zero shot prompting when no label data are needed, or few shot prompting, one, you know, two few, like one to 10 label data points, or data driven tuning where we have hundreds to thousands of label data points.
Of course, of course, as you add more labeled data, it becomes also a little more expensive to do the tuning. So foundations models, of course, they started, you know, with natural language processing. And at IBM, this is something that is very strategic, it's part of our commercial capabilities, part of the WatsonX AI platform, or generative AI platform, we're using these NLP foundations models to address many problems with our clients across conversational systems, language and document understanding, leaderboards, etc.
However, the implications of these foundations models go beyond natural language processing. We like to think of this as, you know, the text is the language of humans, but across many other fields, you can find the language within each one of these fields, and you can use the same techniques to create foundations models to address computer vision problems, time series, programming languages, digital interactions, etc.
So for example, the language of images for computer vision, etc. So for example, the language of images for computer vision, the language of humans, the language of chemistry, molecules, interactions, etc. The language of machines with programming languages. So the same concepts can apply here to create also these generalizable models that we call foundations models across many modalities.
And some examples here, for example, for example, AI for code, with the language of software, one example project, CodeNet, where we've taken large scale data sets where 14 million lines of code samples across many programming languages, like 55 programming languages, and to retrain, massively train this large language model for For that is focused on programming languages. And some of the tasks you can do with this is things like debugging, translating from one language, from programming language to another one, etc.
Another great example is AI for material discovery. So here, it's like trying to understand the language of chemistry. And another great example is AI for chemistry, which also was trained on very large corpus of chemical reactions and documentation and manuals, etc. And here, we're trying to teach the language of chemistry. And we have lots of interactions here, more than 30,000 users, and 7.5 million reactions, chemical reactions predicted.
You can see here some of the tasks like predicting reactions, doing things like retro synthesis, pathways, experimental procedures, automating chemical synthesis, lots of great applications. And in the case of the industry 4.0 vertical, foundations models also showing a lot of promise. And these are some early non-optimized results, where we're seeing the performance of these foundations models way outweigh the state of the art algorithms using the traditional approaches.
So I'm just going to point to some examples here, like for example, here, the task is predicting when an oil well submersible pump will fail. And using the approach of foundations models, the F1 score, which is the predictive performance of the model combining precision and recall, was 9% better than state of the arts. And another great example is in this task. And another great example is in this task of events, you know, trying to predict and detecting potential problems of event data, for example, from vehicles.
You know, in this task of events. You know, the foundation model, the foundation model approach was given 3.9x better performance. So lots of examples. And right now we are seeing the proliferation of this methodology across many domains. And many are many industries are embracing this to help them embed AI and also kind of converge into creating maybe few big foundations model to solve many problems in their industries.
This is another example in customer care experience using large language models. And we can see here you have tons of, you know, existing corpuses. This is an example using, for example, devices at IBM to solve some of the technical issues with IBM devices for our customers. So we pre-build the foundation models for the NLP. We fine tune it with the label data.
And then this can be used to help chat agents deliver answers to customers that are having issues with some devices, screen cracking or, you know, issues with physical failures of the devices. Another use case here for banking, where you're doing things like personalized consumer experience, better compliance, summarization, client exchanges, advancing things like customer churn, doing things like smart translation, many, many applications here using Gen AI.
Just for the time, I'm going to skip this. And one interesting also very great example and cool example is the work that we're doing with NASA. This is a big collaboration and partnership between IBM research and NASA to create, you know, this huge geospatial foundations models. And the goal here is to basically build this GFM or geospatial foundations models to provide consistent global observations every two to three days.
And so what this is doing is using this vision transformer architecture where we're doing also this encoder to develop a VIT or vision transformer, which is using the transformer architecture to solve vision problems. This is also using the mask autoencoder learning similar to the mask NLP learning. And we take these HLS, HLS is the harmonized lens set Sentinel-2 data sets, which has lots of images about, you know, space, weather, etc.
And these images are divided into 14 by 14 patches. Then the algorithm using spatial attention across multiple patches, you see how the input images are projected into this multiple patches. And then this is used to train an encoder model and using the transformer architecture. And then you have the decoder model that reconstruct the images. So that's how this foundational model was created.
And so using this pre-trained using the mask approach along five years of data from Southeast United States. And the data like one terabytes of data was used to train the model. And the goal is to reach kind of the cover the data of the entire globe by the end of the year. And some of the interesting results, for example, flood mapping results.
The approach that was used here shows lots of promising results, 20% improvement in terms of the model performance compared to state-of-the-art approaches, existing approaches. And in addition to that, this also helped reduce the labeling effort by half. This also was tested in terms of the generalizability of the approach using fine-tuning the same data sets, but, you know, for images with high resolution or testing this on regions, other regions where the images that we have are from certain regions.
But then we've added, you know, we fine-tuned for another regions that the model hasn't seen before. And this also showed lots of promising results in terms of the generalizability of the model. What are some of the tasks this could do? Things like grassland management, flood management, biomass estimation, wildfire management. Really impactful applications that can help predict some of these and also help manage some of these disasters that are related to climate change.
So we're really seeing once in a decade opportunity here. And there are lots of these foundations models kind of turbocharging the AI progress with many use cases across natural language processing, sensor data, tabular data, digital interactions, code to be able to generate code from requirements translating between legacy and modern programming languages, detecting bugs and defect in code.
And even, you know, in the field of material science and chemistry, these foundations models are being used across many domains like polymer, drug discovery, and many modalities to accelerate also the speed of material discovery and scientific discovery. So lots of great applications. However, you know, you know, this is all great, but there are lots of issues and serious problems that we find in today's foundations models.
They're not always correct, especially with large LLMs. And you might have experienced these things in the while interacting with Chad GPT there tend to give these authoritatively incorrect answers sometimes to an alarming degree. So the model really gives you convincing answers, but the answers are wrong. There's also some strong propensity of perpetuating bias. Lots of bias, you know, you know, sometimes you find the answers are biased and the unsustainability because training these models comes with a huge cost.
So, of course, these LLMs are growing at an unsustainable rate in terms of the size of the parameters of these models. Chad GPT, for example, GPT-3 uses 175 billion parameters. It is estimated that GPT-4 has more than 1 trillion parameters. And training these models also emits huge carbon footprints. So this is showing the cost in terms of zeta flops, floating point operations per second.
And it is growing exponentially. The other issue is the energy consumption. So the computing that is demanded from these applications is almost, you know, exceeding the world's energy production. And you can see how the energy consumption of these models have been kind of growing dramatically over the years. Privacy concerns, a lot of issues, especially these public LLMs that have been trained on open Internet data.
And sometimes the data, you know, comes from pirated books or, you know, some of the data is not trustworthy. Some of the data has a lot of bias and profanity. This is just an example that shows the bias concerns using one of these LLMs. So the question was, there is a French person and a Romanian person which is a criminal.
And the model consistently was saying it's Romanian. And then when you ask the model, you know, show me your reasoning steps. It was saying, well, the French person is a good person. The Romanian person is a criminal. Therefore, the final answer is Romanian. Another version, larger version of the model was also saying that, you know, similar reasoning.
So this is pretty serious here. And so that's why we need to invest in what we call these self-alignment technologies to guide these models, make sure that we remove hate, profanity, abuse, bias, discrimination across, you know, across the data set before even we train these models. But we also have to always self-critique these models. So just, you know, one of the things I would like to feature here, for example, work we were doing at IBM to make sure that we are building trusted and enterprise-ready foundation models through what we call the IBM data and model factory.
So a lot of work goes in the data pre-processing, how will you acquire the data, the provenance of the data, the data governance. So the data needs to be cleared first before it can be ingested into the pre-training pipeline. There's also a lot of steps in terms of the data engineering aspects, like removing duplicates. We have special models that detect hate, profanity, and filtering.
Quality filtering of the data, how much really good semantics and language you find in the data. Snapshots and release management. You also create lineage. Anything you use, you create a data card to track, you know, where the data came from, how it is used. So the lineage, basically, of the data. And then, of course, once you do the training, some of them are automated for these smaller models, well understood.
But the larger, more complex need to be attended. And you need to have kind of a human in the loop, these experts, to make sure that the training is running smoothly. And a lot of instruction tuning to be able to customize or guide these models to do the right thing. And evaluations across general benchmarks, but also curated industry benchmarks for inference performance, but for other concerns like bias, toxicity, etc.
And these things, you know, of course, there are huge teams behind this. The legal team is behind all the governance and the clearance of the data sets. The product teams does a lot of work around also governance, product requirements, the benchmarking, the evaluations. A lot of it also is built on top of open source models. So we need also to have these vetting and recommendations to make sure that the open models are cleared for use for some of these production and enterprise models that need to be generated.
One example here, using one of the IBM Granite models, which you can find in WatsonX platform. You can see here what we call this governance funnel. Some of the steps that were taken to build this foundation model, which is an LLM. So through this process, kind of two thirds of the collected data was removed according to IBM's governance process.
Things like removing duplicates, removing hate, abuse and profanity, removing all the websites that were block listed or that have any informative content or bad content. So a lot of process here. And this is something that is kind of checked and readjusted and retuned and reevaluated continuously. And this is just an example of the full stack approach to generative AI, which has basically this layer that allows proficient performance efficient and purpose built models with a lot of guardrails.
Building on top of open standards and open cloud native approach on top of a hybrid infrastructure that allows, you know, using multiple accelerators that are available in the cloud or on prem infrastructure. Um, uh, one thing I just want to be mindful of the time here. Um, this is a great reference to, to see what some, especially the governance around creating enterprise ready foundations models.
And this is a great example from IBM research. This was published recently and this, uh, documents in lots of details, how we're, uh, introducing this granite series, which is a decoder only foundations models for generative AI tasks. And what are, uh, all the processes and steps that we take very seriously to, uh, make sure that these models are enterprise ready.
Uh, so lots of capabilities around the architecture capabilities, the underlying data, the data governance, the training algorithms that were used, the compute infrastructure. Also, we also report on the energy and carbon footprints and the test and evaluation with the methodology. So it's great, you know, that we're publishing this because it's good to be open about the methodology that we're using and hoping that the whole community would benefit from this.
Um, I'd like, you know, to end with, you know, these four big trends that we see in foundations models. Uh, the first one is the data is changing and especially we're interested, you know, the, it's, it is really becoming very important to ensure the data that we use to train these models, uh, is of high quality. And, and, and one trend also we're seeing is a lot of the data now that we're going to be relying on, especially in the future, it's going to be synthetic data.
Right now there are actually predictions from gardeners that by 2030 99% of the data we find in the internet will be AI generated. And this has a lot of implications. So one thing is we need, you know, the internet will soon be polluted, contaminated with Gen AI content. So the data collected that we do now, it's going to be very strategic.
It's a strategic advantage is going to be kind of the crown jewel of all the enterprises, because this is, um, human generated or sensor generated real data versus Gen AI data. How the models are aligning and tuning is also changing. So where there is a lot of research that we're doing around, you know, um, uh, the teacher models, students models, so big models as teachers, but with things like self enhancements.
So what we call self correcting LLMs, self X LLMs, which is an extremely powerful methodology that allows things like, you know, doing self alignment, self evaluation, self corrections. So these models need to have the capability to self evaluate, self correct, or self play, um, to address a wide range of applications and use cases. We also see that even the architectures are changing and, you know, to combat issues like, uh, uh, uh, longer context modeling, mitigate issues like hallucinations.
So of these models, we need to have model architectures with decoupled memory. Uh, another important trend is right now that we have these large models, there is also a tendency to have specialized, compressed, more focused models. So we see model compression and sparsity will gain a lot more popularity, especially to combat, you know, the issue of having these outrageously large LLMs.
Multi-model is also a huge trend. Uh, so far, a lot of focus has been on natural language processing, but right now with, uh, we will see these foundations models are also incorporating other modalities like vision, speech, uh, to really solve much more complex problems across many industries. And also how are we, we're using the models we're seeing that also these new programming paradigms and models that allows the interactions with these LLMs or these foundations models, uh, to be rapidly evolving.
Beyond just right now, a lot of things, you know, how we interact with these things is using prompt engineering, um, to evaluate or define how humans interact with AI. But now, you know, we will see also things like how AI is invoking other AI, multi-agents collaborating together, um, you know, mixtures of agents or mixtures of models, being able to tap into multiple LLMs, not just one.
And to be able to route across them, to be able to figure out which one would deliver me the best performance. And performance could be either the accuracy or it could be maybe the energy efficiency or the model or the latency. So there might be many facets of the performance that you care about, especially if you're doing things at the edge or embedded spaces.
So performance, energy consumption, the size of the model, all will become also very important. Uh, so lots of interesting things happening in this space and, uh, companies and research institutions, you know, across industry, academia, uh, are working, uh, on this. So some of the key items here are things like scale and efficiency, multimodal capabilities, you know, the ability to integrate different data modalities like text, images, and audio.
Uh, the creation of these domain specific models, uh, that are tailored for specific industries and domains, uh, the energy efficiency is also becoming very important. Uh, how do we automatically generate these, uh, energy efficient model architectures, uh, interpretability and explanity also is a big focus to make them more, you know, to be able to understand the decisions that these models are making privacy enhancements, global collaborations, uh, data bias and diversity, you know, mitigating bias.
Uh, and also, uh, a lot more human AI collaborations and how do we make this, uh, human AI, uh, collaboration much more efficient and sustainable. So thank you for, for your time and, uh, I'll be happy to take, uh, any questions online and also connect with me either through, uh, Twitter or LinkedIn if you have any more questions.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Comment l'IA est-elle passée des règles conçues à la main aux modèles de fondation, et qu'est-ce qui coince encore ?
Kaoutar El Maghraoui (IBM) explique les évolutions de représentation derrière l'IA générative, ses usages concrets, ses failles sérieuses et les tendances qui marqueront la prochaine décennie.
En bref
Kaoutar El Maghraoui, Principal Research Scientist chez IBM, soutient que les progrès de l'IA se comprennent le mieux comme une histoire de représentations des données : des règles symboliques conçues à la main aux représentations apprises et généralisables des modèles de fondation actuels. Ces modèles se révèlent déjà utiles dans le code, la chimie, l'industrie et les sciences du climat, mais les hallucinations, les biais et des coûts énergétiques élevés font qu'une gouvernance rigoureuse des données et de nouvelles architectures ne sont plus facultatives.
Points clés
Comprendre comment l'IA a évolué au fil du temps.
Comprendre certaines avancées majeures et leur impact sur nos vies.
Où nous mène l'IA.
Les tendances et innovations futures qui seront décisives dans la prochaine décennie.
Une présentation stimulante qui invite le public à réfléchir à l'avenir.
Les représentations, le vrai sujet
El Maghraoui ne commence pas par les chatbots, mais par le traitement du signal et les bases de données relationnelles. Représenter les signaux dans le domaine fréquentiel a rendu possibles le filtrage et le débruitage ; les représentations relationnelles ont permis des requêtes souples et déclaratives. Selon elle, chaque avancée majeure de l'informatique a reposé sur une manière plus puissante de représenter les données, et les modèles de fondation en sont l'exemple le plus récent et le plus riche.
Elle passe ensuite en revue les grandes ères de l'IA. Les systèmes experts reposaient sur des représentations symboliques conçues à la main. L'ère du machine learning a apporté des modèles spécialisés par tâche, exigeant un lourd travail d'ingénierie des caractéristiques. De 2010 à 2017, d'immenses jeux de données étiquetées et une forte puissance de calcul ont porté le deep learning, où les caractéristiques sont apprises automatiquement mais restent liées à une seule tâche. Comme elle le dit : « Et pour la première fois, nous avons vu une application de deep learning dépasser même la précision humaine pour certaines tâches spécifiques. » (4:43)
L'ère actuelle, explique-t-elle, est celle de l'auto-supervision à grande échelle, qui produit des représentations capables de se généraliser et de s'adapter à de nombreuses tâches en aval.
Le Transformer et la puissance de l'open source
El Maghraoui désigne l'article de 2017 Attention Is All You Need, signé par une équipe de chercheurs de Google, comme celui qui a tout déclenché. L'architecture Transformer a apporté efficacité d'entraînement, parallélisation, scalabilité et de meilleures performances que les architectures récurrentes antérieures, ainsi que le préentraînement à grande échelle et l'apprentissage par transfert. Elle retrace sa lignée à travers les modèles GPT, InstructGPT et ChatGPT, avec une place croissante du retour humain.
Elle attribue une grande partie de cet élan aux contributions de la communauté : « Ce n'est donc pas une seule entreprise ou une seule entité qui domine la manière dont ces architectures sont utilisées et appliquées, mais toute une communauté du monde entier qui contribue à ces technologies puissantes et les fait évoluer. » (7:19)
Comment fonctionnent les modèles de fondation, et jusqu'où ils vont
Les modèles d'IA classiques, explique-t-elle, sont conçus pour un usage précis et cloisonnés : chaque nouvelle tâche implique de préparer des données, d'étiqueter des milliers ou des millions d'échantillons et de réentraîner. Les modèles de fondation inversent cette logique. Ils sont préentraînés sur d'énormes volumes de données non étiquetées, en masquant des mots et en apprenant au modèle à les prédire. « Cela crée en quelque sorte l'auto-supervision à grande échelle. Nous n'avons pas besoin de beaucoup d'exemples étiquetés. » (10:04)
Un modèle préentraîné peut ensuite être adapté par prompting zero-shot, par prompting few-shot avec un à dix exemples étiquetés, ou par tuning avec des centaines à des milliers d'exemples. Et l'idée dépasse le texte : la chimie, les images et les langages de programmation ont chacun leur propre « langage ». Selon les chiffres cités par l'intervenante, le projet CodeNet d'IBM s'est appuyé sur 14 millions d'échantillons de code dans 55 langages de programmation, et ses travaux d'IA pour la chimie ont servi plus de 30 000 utilisateurs et prédit 7,5 millions de réactions chimiques. Lors des premiers tests industriels qu'elle a décrits, un modèle de fondation a prédit les pannes de pompes de puits de pétrole avec un score F1 supérieur de 9 % à l'état de l'art, et s'est montré 3,9 fois plus performant sur des données d'événements de véhicules.
Du service client aux cartes d'inondation
El Maghraoui montre des modèles de fondation qui aident des agents conversationnels à résoudre les problèmes d'appareils des clients et qui soutiennent des tâches bancaires comme la conformité, le résumé et l'analyse de l'attrition. Son exemple phare est un partenariat entre IBM Research et la NASA pour construire un modèle de fondation géospatial à l'aide d'un vision transformer et d'un autoencodeur masqué, entraîné sur des images Harmonized Landsat Sentinel-2 (HLS). Selon les chiffres cités par l'intervenante, il a été préentraîné sur cinq ans de données du sud-est des États-Unis, soit environ un téraoctet, et a permis une amélioration de 20 % de la cartographie des inondations tout en réduisant de moitié l'effort d'étiquetage.
Elle y voit une valeur qui va bien au-delà des benchmarks : « Des applications vraiment utiles, qui peuvent aider à prévoir certaines de ces catastrophes liées au changement climatique et aussi à les gérer. » (21:30)
Les failles que personne ne devrait ignorer
Vient ensuite l'avertissement. « Le modèle vous donne donc des réponses convaincantes, mais ces réponses sont fausses. » (23:05) Elle ajoute une tendance à perpétuer les biais, des enjeux de confidentialité liés à l'entraînement sur des données ouvertes d'Internet, et une croissance insoutenable : selon les chiffres cités par l'intervenante, GPT-3 compte 175 milliards de paramètres et GPT-4 en compterait plus de mille milliards, avec une demande en calcul et en énergie qui grimpe en flèche. Dans un test qu'elle a présenté, un modèle interrogé sur une personne française et une personne roumaine désignait systématiquement la personne roumaine comme le criminel, et ses étapes de raisonnement ne faisaient que reformuler ce biais.
Sa réponse : une gouvernance rigoureuse. La fabrique de données et de modèles d'IBM vérifie la provenance, supprime les doublons, filtre la haine, les abus et les grossièretés, évalue la qualité, consigne la traçabilité dans des fiches de données, garde des experts dans la boucle et évalue les biais et la toxicité. « Grâce à ce processus, environ deux tiers des données collectées ont été supprimés conformément au processus de gouvernance d'IBM. » (28:10) Elle souligne aussi qu'IBM a publié la méthodologie de ses modèles Granite, y compris un reporting sur l'énergie et le carbone.
Quatre tendances à suivre
El Maghraoui conclut avec quatre évolutions. Les données changent : la qualité compte davantage, les données synthétiques progressent, et elle a cité une prévision de Gartner selon laquelle, d'ici 2030, 99 % des données d'Internet seront générées par l'IA. « Donc, une chose dont nous avons besoin, vous savez, Internet sera bientôt pollué, contaminé par du contenu issu de l'IA générative. » (31:11) Les données réelles, humaines ou issues de capteurs, deviennent selon elle un actif stratégique. L'alignement évolue vers des modèles qui se corrigent et s'évaluent eux-mêmes. Les architectures évoluent vers la mémoire découplée, la compression, la parcimonie et la multimodalité. Enfin, les usages changent, avec plusieurs agents et modèles qui collaborent et orientent les requêtes selon la précision, la latence ou l'efficacité énergétique.
Regarder la conférence
AI's Evolution : From Symbolic Representations to Generative Intelligence, par Kaoutar El Maghraoui (36 minutes) : https://www.womentech.net/video/ais-evolution-symbolic-representations-generative-intelligence-0
À propos de l'intervenante
Kaoutar El Maghraoui est Principal Research Scientist chez IBM, en poste à l'IBM T.J. Watson Research Center, et professeure associée d'informatique à Columbia University. Elle dirige la plateforme d'essais IA de l'IBM Research AI Hardware Center, et ses recherches couvrent les systèmes, les systèmes distribués, le calcul haute performance et l'IA.
Questions abordées dans cette conférence
Comment l'IA a-t-elle évolué avant l'IA générative ?
Comment les modèles de fondation apprennent-ils sans d'immenses jeux de données étiquetées ?
Quels sont les plus grands problèmes des modèles de fondation actuels ?
Comment IBM rend-elle les modèles de fondation prêts pour l'entreprise ?
Quelles tendances façonneront les prochains modèles de fondation ?
Rédigé avec l'IA à partir de la transcription de la conférence. Relecture éditoriale en attente.
Frameworks and ideas mentioned
Transformer architecture
Self-supervised learning
Masked language modeling
Zero-shot and few-shot prompting
Fine-tuning
Vision transformer (ViT)
Masked autoencoder
IBM data and model factory
Teacher and student models
Mixture of agents and mixture of models
Resources mentioned
Attention Is All You Need (paper)
IBM Research paper on the Granite series of foundation models
IBM watsonx platform
Cite this talk
Kaoutar El Maghraoui. "AI's Evolution : From Symbolic Representations to Generative Intelligence." WomenTech Network, 2024. https://www.womentech.net/en-fr/video/ais-evolution-symbolic-representations-generative-intelligence-0