AI's Evolution : From Symbolic Representations to Generative Intelligence
Kaoutar El Maghraoui36:112024
IBM a eliminat două treimi din datele colectate pentru a construi un model de încredere
Un model lingvistic mare, întrebat despre o persoană franceză și una română, a indicat constant persoana română drept infractor. Kaoutar El Maghraoui, Principal Research Scientist la IBM T.J. Watson Research Center, arată cum AI a trecut de la reguli scrise manual la modele fundamentale al căror bias, ale căror răspunsuri greșite și al căror consum de energie sunt moștenite de oricine le adoptă. Dacă până în 2030 99% din datele de pe internet vor fi generate de AI, după cum citează ea, ce face un model potrivit pentru uz enterprise?
Descoperiți pâlnia de guvernanță prin care IBM decide ce date nu vor vedea niciodată modelele sale
Kaoutar El Maghraoui, Principal Research Scientist la IBM, urmărește drumul AI de la sistemele expert simbolice construite manual, prin machine learning și deep learning, până la modelele fundamentale auto-supervizate construite pe arhitectura transformer. Ea arată cum un singur model pre-antrenat se poate adapta la numeroase sarcini, de la cod și chimie până la modelul geospațial dezvoltat de IBM împreună cu NASA, și susține că răspunsurile greșite, biasul, costurile și consumul de energie impun modele guvernate, pregătite pentru mediul enterprise. Încheie cu tendințele care, în opinia ei, vor modela domeniul în continuare.
“Deci vedem cu adevărat aici o oportunitate care apare o dată la un deceniu.”
“Deci modelul vă dă cu adevărat răspunsuri convingătoare, dar răspunsurile sunt greșite.”
What you will learn
Urmăriți evoluția AI de la sistemele expert construite manual, prin machine learning bazat pe feature engineering și deep learning, până la modelele fundamentale auto-supervizate.
Explicați cum transformerele și învățarea auto-supervizată prin mascare permit unui singur model pre-antrenat să se adapteze la multe sarcini prin fine-tuning, prompting zero-shot sau few-shot.
Recunoașteți aplicațiile modelelor fundamentale dincolo de limbaj, de la cod și chimie la Industry 4.0 și modelul geospațial IBM și NASA.
Identificați principalele riscuri ale modelelor fundamentale actuale: răspunsuri greșite convingătoare, bias, costul antrenării, consumul de energie și confidențialitatea.
Anticipați următoarele tendințe: date sintetice, modele care se autocorectează, modele comprimate și specializate, multimodalitate și sisteme multi-agent.
Details
Level
Intermediate
Format
Talk
Technical depth
Introductory technical
For
All career stages
Length
36:11
Published
May 2024
Questions this talk answers
Cum a evoluat AI de la sistemele simbolice la modelele fundamentale?
A trecut de la sisteme expert simbolice construite manual la machine learning cu caracteristici proiectate manual, apoi la deep learning cu caracteristici învățate automat, dar specifice sarcinii. Astăzi, auto-supervizarea la scară mare și puterea de calcul produc, în modelele fundamentale, reprezentări generalizabile și adaptabile.
Prin ce diferă modelele fundamentale de modelele AI clasice?
Modelele clasice sunt construite pentru un scop anume și izolate, fiecare necesitând date etichetate atent selectate și antrenare separată pentru fiecare sarcină. Modelele fundamentale sunt pre-antrenate prin auto-supervizare pe seturi uriașe de date, apoi adaptate la numeroase sarcini ulterioare prin fine-tuning sau prompting zero-shot și few-shot.
Care sunt principalele probleme ale modelelor fundamentale actuale?
Pot oferi răspunsuri convingătoare, dar greșite, pot perpetua biasul, cresc într-un ritm nesustenabil ca dimensiune, cost și consum de energie și ridică probleme de confidențialitate din cauza antrenării pe date de pe internetul deschis.
Cum încearcă IBM să construiască modele fundamentale de încredere, pregătite pentru mediul enterprise?
Prin fabrica sa de date și modele: proveniența datelor și avizarea juridică, deduplicarea, filtrarea discursului instigator la ură și a limbajului vulgar, filtrarea calității, trasabilitatea cu data cards, experți umani implicați în proces și evaluarea pentru bias și toxicitate. Pentru modelele Granite, aproximativ două treimi din datele colectate au fost eliminate prin acest proces de guvernanță.
Ce tendințe vor modela în continuare modelele fundamentale?
Date de calitate mai înaltă și tot mai frecvent sintetice, modele care se autocorectează, arhitecturi cu memorie decuplată, modele comprimate și specializate, modele multimodale și sisteme multi-agent care direcționează cererile între mai multe modele în funcție de acuratețe, latență sau energie.
Cum învață modelele fundamentale fără etichete (77 s)
De ce LLM-urile actuale pot greși convingător (67 s)
De ce datele umane reale sunt noua bijuterie a coroanei (55 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
Cum au schimbat modelele fundamentale felul în care învață AI
Kaoutar El Maghraoui de la IBM urmărește AI de la reguli scrise manual la modele fundamentale auto-supervizate și explică de ce puterea lor impune o guvernanță atentă.
Pe scurt
Kaoutar El Maghraoui, Principal Research Scientist la IBM, susține că AI a ajuns la un punct de inflexiune. După decenii de reguli scrise manual și modele specifice sarcinilor, modelele fundamentale antrenate prin auto-supervizare pe volume masive de date învață acum reprezentări generale și adaptabile, pe care un singur model le poate reutiliza în numeroase sarcini. Această putere aduce probleme reale (răspunsuri greșite date cu încredere, bias, cost, consum de energie și confidențialitate), motiv pentru care ea pledează pentru modele guvernate atent, pregătite pentru mediul enterprise.
Idei principale
Înțelegeți cum a evoluat AI de-a lungul timpului.
Înțelegeți câteva dintre descoperiri și modul în care ne-au influențat viețile.
Vedeți încotro ne îndreptăm cu AI.
Explorați tendințele și inovațiile viitoare care vor fi esențiale în următorul deceniu.
O prezentare care dă de gândit și lasă publicul să reflecteze la viitor.
De la reguli scrise manual la reprezentări învățate
El Maghraoui prezintă istoria AI ca pe o poveste despre reprezentările datelor. Trecerea semnalelor în domeniul frecvenței a făcut posibile filtrarea și eliminarea zgomotului, iar reprezentările relaționale au făcut posibile interogări flexibile și declarative ale bazelor de date. Modelele fundamentale sunt, în viziunea ei, cele mai recente și mai bogate dintre aceste reprezentări.
Apoi parcurge erele. Primele sisteme expert se bazau pe reprezentări simbolice construite manual. Era big data a adus machine learning, dar cu mult feature engineering. Începând din jurul anului 2010, seturile mari de date etichetate și puterea de calcul au permis apariția deep learning, care pentru unele sarcini specifice a depășit chiar acuratețea umană. Totuși, rămânea o limită:
„Caracteristicile sunt acum învățate automat de algoritmii de deep learning, dar sunt încă specifice sarcinii.” (5:26)
Noua eră, explică ea, combină auto-supervizarea, scara și puterea de calcul pentru a produce reprezentări generalizabile și adaptabile.
Transformerul și auto-supervizarea la scară mare
Punctul de cotitură pe care îl evidențiază este lucrarea din 2017 „Attention Is All You Need” a cercetătorilor Google, care a introdus arhitectura transformer. Comparativ cu rețelele recurente anterioare, precum LSTM, aceasta a oferit antrenare eficientă, paralelizare, scalabilitate și performanță de vârf, alături de pre-antrenare la scară mare și transfer learning mai eficient. Ea consideră open source unul dintre motivele principale ale succesului său:
„Deci nu e doar o companie sau o entitate care domină felul în care sunt folosite și aplicate aceste arhitecturi, ci o întreagă comunitate din toată lumea care contribuie la aceste tehnologii puternice și le face să evolueze.” (7:19)
Ea contrastează modelele AI clasice, construite pentru un scop anume și izolate, fiecare necesitând propriile date etichetate atent selectate și propria antrenare, cu modelele fundamentale antrenate pe corpusuri enorme de text prin mascarea cuvintelor și învățarea modelului să le prezică.
„Deci asta creează oarecum auto-supervizarea la scară mare. Nu avem nevoie de multe exemple etichetate.” (10:04)
Un singur model pre-antrenat poate fi apoi adaptat prin fine-tuning, prompting zero-shot fără date etichetate, prompting few-shot cu aproximativ unul până la zece exemple sau tuning bazat pe date cu sute până la mii de exemple, costul crescând pe măsură ce se adaugă mai multe date etichetate.
Modele fundamentale dincolo de limbaj
El Maghraoui subliniază că ideea depășește cu mult textul. Dacă textul este limbajul oamenilor, atunci imaginile, moleculele și limbajele de programare sunt și ele limbaje. Ea descrie exemple IBM: CodeNet, construit, după cum a citat vorbitoarea, pe 14 milioane de mostre de cod în 55 de limbaje de programare, pentru sarcini precum depanarea și traducerea codului; un model AI pentru chimie cu peste 30.000 de utilizatori și 7,5 milioane de reacții prezise; și primele rezultate în Industry 4.0, inclusiv un scor F1 cu 9% mai bun în prezicerea defecțiunilor pompelor submersibile din sondele petroliere.
Cel mai detaliat caz al ei este un model fundamental geospațial construit de IBM Research și NASA. Folosind un vision transformer și un masked autoencoder antrenate pe imagini Harmonized Landsat Sentinel-2, modelul a arătat, potrivit datelor prezentate de ea, o îmbunătățire de 20% în cartografierea inundațiilor față de abordările existente, înjumătățind în același timp efortul de etichetare. Aplicațiile includ gestionarea inundațiilor, a incendiilor de vegetație și a pajiștilor, precum și estimarea biomasei.
„Deci vedem cu adevărat aici o oportunitate care apare o dată la un deceniu.” (22:06)
Problemele care vin odată cu scara
Ea este la fel de directă în privința riscurilor. Modelele lingvistice mari pot greși cu încredere:
„Deci modelul vă dă cu adevărat răspunsuri convingătoare, dar răspunsurile sunt greșite.” (23:05)
Ea indică și biasul (ilustrat de un model care a etichetat în mod repetat o persoană română, și nu una franceză, drept infractor), creșterea nesustenabilă a dimensiunii modelelor și a puterii de calcul, consumul tot mai mare de energie și problemele de confidențialitate legate de antrenarea pe date de pe internet neverificate.
Răspunsul ei este o guvernanță disciplinată. Ea descrie fabrica de date și modele a IBM: proveniența datelor și avizarea juridică, deduplicarea, filtrarea discursului instigator la ură și a limbajului vulgar, filtrarea calității, trasabilitatea urmărită cu data cards, experți umani implicați în timpul antrenării, instruction tuning și evaluarea pentru bias și toxicitate. Pentru modelele Granite ale IBM, aproximativ două treimi din datele colectate au fost eliminate prin acest proces. Ea salută publicarea metodologiei:
„Deci e minunat, știți, că publicăm asta, pentru că e bine să fim deschiși cu privire la metodologia pe care o folosim, sperând că întreaga comunitate va beneficia de ea.” (30:09)
Tendințe de urmărit
El Maghraoui încheie cu schimbările pe care le anticipează. Calitatea datelor contează mai mult ca oricând și, după cum a citat vorbitoarea, Gartner prezice că până în 2030, 99% din datele de pe internet vor fi generate de AI.
„Deci un lucru de care avem nevoie, știți, internetul va fi în curând poluat, contaminat cu conținut Gen AI. Deci colectarea de date pe care o facem acum va fi foarte strategică.” (31:11)
Ea se așteaptă, de asemenea, la modele care se autocorectează, care se evaluează și se aliniază singure, arhitecturi cu memorie decuplată pentru a aborda contextul lung și halucinațiile, modele comprimate și specializate, modele fundamentale multimodale și sisteme multi-agent care direcționează cererile între mai multe modele în funcție de nevoile de acuratețe, latență sau energie.
Urmăriți prezentarea
„AI's Evolution : From Symbolic Representations to Generative Intelligence”, de Kaoutar El Maghraoui (36 de minute): https://www.womentech.net/video/ais-evolution-symbolic-representations-generative-intelligence
Despre vorbitoare
Dr. Kaoutar El Maghraoui este Principal Research Scientist la IBM T.J. Watson Research Center și profesor asociat de informatică la Columbia University, activând la intersecția dintre sisteme și AI. La IBM conduce platforma de testare AI din cadrul IBM Research AI Hardware Center, un centru global de cercetare pentru acceleratoare și sisteme de nouă generație destinate sarcinilor de lucru AI.
Întrebări la care răspunde prezentarea
Cum a evoluat AI de la sistemele simbolice la modelele fundamentale?
Prin ce diferă modelele fundamentale de modelele AI clasice?
Care sunt principalele probleme ale modelelor fundamentale actuale?
Cum încearcă IBM să construiască modele fundamentale de încredere, pregătite pentru mediul enterprise?
Ce tendințe vor modela în continuare modelele fundamentale?
Redactat cu AI pe baza transcrierii prezentării. Revizuirea editorială este în așteptare.
Frameworks and ideas mentioned
Transformer architecture
Self-supervised learning (masked language modeling)
Fine-tuning
Zero-shot and few-shot prompting
Prompt engineering
Vision Transformer (ViT)
Masked autoencoder
IBM data and model factory
Governance funnel
Teacher-student models
Self-correcting LLMs
Mixture of agents and mixture of models
Resources mentioned
Attention Is All You Need (2017 paper)
IBM Research publication introducing the Granite series of decoder-only foundation models
IBM Granite models on the 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