AI's Evolution : From Symbolic Representations to Generative Intelligence
Kaoutar El Maghraoui36:052024
IBM ha eliminato due terzi dei dati raccolti prima di addestrare Granite
Interrogato su una persona francese e una rumena, un modello linguistico di grandi dimensioni indicava sempre il rumeno come criminale, e il suo ragionamento passo dopo passo si limitava a ripetere il bias. Kaoutar El Maghraoui, Principal Research Scientist presso IBM Research, ripercorre il passaggio dell'IA dalle regole costruite a mano ai modelli fondazionali, la cui potenza porta con sé allucinazioni, bias e costi energetici in forte crescita. Che cosa serve, dunque, per costruire un modello di cui un'azienda possa fidarsi?
Scopra come funzionano i modelli fondazionali, dove falliscono e le quattro tendenze che ne plasmeranno il futuro
Kaoutar El Maghraoui, Principal Research Scientist presso IBM, ripercorre l'evoluzione dell'IA come una storia di rappresentazioni dei dati: dai sistemi esperti costruiti a mano, al deep learning, fino ai modelli fondazionali auto-supervisionati. Spiega come funzionano i modelli fondazionali, presenta esempi IBM nel codice, nella chimica, nell'industria e un modello geospaziale con NASA, e sostiene che allucinazioni, bias e costi energetici richiedono una governance dei dati rigorosa. Chiude con quattro tendenze che stanno trasformando dati, allineamento, architetture e uso di più modelli.
“Quindi il modello ti dà risposte davvero convincenti, ma le risposte sono sbagliate.”
“Quindi una cosa è che dobbiamo, sapete, internet sarà presto inquinato, contaminato da contenuti di Gen AI.”
What you will learn
Ripercorrere l'evoluzione dell'IA dai sistemi esperti simbolici costruiti a mano al machine learning specifico per attività, al deep learning e ai modelli fondazionali auto-supervisionati.
Spiegare come il pre-addestramento auto-supervisionato con mascheramento, seguito da fine-tuning o prompting zero-shot e few-shot, riduca la necessità di dati etichettati.
Riconoscere i principali rischi dei modelli fondazionali attuali: risposte errate ma sicure, ragionamenti distorti, problemi di privacy e crescita di costi, emissioni di carbonio e consumi energetici.
Applicare prima dell'addestramento misure di governance dei dati come verifiche di provenienza, deduplicazione, filtraggio di odio e volgarità, filtraggio per qualità e data card di lineage.
Anticipare le tendenze su dati sintetici, modelli che si autocorreggono, architetture compresse e multimodali e sistemi multi-agente che instradano le richieste tra più modelli.
Details
Level
Intermediate
Format
Talk
Technical depth
Introductory technical
For
All career stages
Length
36:05
Published
May 2024
Questions this talk answers
Come si è evoluta l'IA prima dell'IA generativa?
È passata dai sistemi esperti basati su rappresentazioni simboliche costruite a mano, al machine learning con feature progettate a mano, fino al deep learning, che apprende le feature automaticamente ma per una singola attività. Oggi i modelli fondazionali apprendono rappresentazioni generalizzabili e adattabili tramite auto-supervisione su larga scala.
Come apprendono i modelli fondazionali senza enormi dataset etichettati?
Vengono pre-addestrati su enormi quantità di dati per lo più non etichettati, mascherando parole e insegnando al modello a prevederle. Pochi esempi etichettati, oppure prompt in modalità zero-shot e few-shot, adattano poi il modello ad attività come traduzione, sintesi o risposta a domande.
Quali sono i problemi principali dei modelli fondazionali attuali?
Possono dare risposte autorevoli ma errate, perpetuare bias, sollevare problemi di privacy perché addestrati su dati di internet aperti e crescere a un ritmo insostenibile in parametri, costi, impronta di carbonio e consumi energetici.
Come rende IBM i modelli fondazionali pronti per le aziende?
Attraverso la sua data and model factory: verifica della provenienza e governance dei dati, rimozione dei duplicati, filtraggio di contenuti d'odio, abusi, volgarità e di bassa qualità, tracciamento del lineage con data card, supervisione umana, instruction tuning e benchmark su bias e tossicità. Per un modello Granite sono stati rimossi circa due terzi dei dati raccolti.
Quali tendenze plasmeranno il futuro dei modelli fondazionali?
Dati di alta qualità e sempre più sintetici, modelli che si autocorreggono e si autoallineano, nuove architetture con memoria disaccoppiata, modelli compressi e multimodali e sistemi multi-agente che instradano le richieste tra più modelli in base ad accuratezza, latenza o efficienza energetica.
Come i modelli fondazionali apprendono senza etichette (77 s)
Risposte convincenti ma semplicemente sbagliate (67 s)
Perché i dati umani reali diventano il bene più prezioso (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
Come è passata l'IA dalle regole costruite a mano ai modelli fondazionali, e che cosa non funziona ancora?
Kaoutar El Maghraoui di IBM spiega i cambiamenti di rappresentazione alla base dell'IA generativa, i suoi usi concreti, i suoi gravi limiti e le tendenze che plasmeranno il prossimo decennio.
In breve
Kaoutar El Maghraoui, Principal Research Scientist presso IBM, sostiene che il progresso dell'IA si comprenda meglio come una storia di rappresentazioni dei dati: dalle regole simboliche costruite a mano alle rappresentazioni apprese e generalizzabili dei modelli fondazionali odierni. Questi modelli si stanno già dimostrando utili nel codice, nella chimica, nell'industria e nelle scienze del clima, ma allucinazioni, bias e costi energetici elevati rendono una governance dei dati accurata e nuove architetture non più facoltative.
Punti chiave
Capire come si è evoluta l'IA nel tempo.
Capire alcune delle principali svolte e il loro impatto sulle nostre vite.
Dove ci sta portando l'IA.
Tendenze e innovazioni future che saranno decisive nel prossimo decennio.
Una presentazione stimolante che lascia il pubblico a riflettere sul futuro.
Il vero tema sono le rappresentazioni
El Maghraoui non parte dai chatbot, ma dall'elaborazione dei segnali e dai database relazionali. Rappresentare i segnali nel dominio della frequenza ha reso possibili filtraggio e riduzione del rumore; le rappresentazioni relazionali hanno reso possibili interrogazioni flessibili e dichiarative. Secondo la sua lettura, ogni grande progresso dell'informatica si è basato su un modo più potente di rappresentare i dati, e i modelli fondazionali ne sono l'esempio più recente e più ricco.
Passa poi in rassegna le ere dell'IA. I sistemi esperti si basavano su rappresentazioni simboliche costruite a mano. L'era del machine learning ha portato modelli specifici per singole attività che richiedevano un intenso lavoro di feature engineering. Dal 2010 al 2017, enormi dataset etichettati e una grande potenza di calcolo hanno spinto il deep learning, in cui le feature vengono apprese automaticamente ma restano legate a un'unica attività. Come dice lei: "E per la prima volta abbiamo visto un'applicazione di deep learning che ha persino superato l'accuratezza umana in alcune attività specifiche." (4:43)
L'era attuale, spiega, è quella dell'auto-supervisione su larga scala, che produce rappresentazioni capaci di generalizzare e adattarsi a molte attività a valle.
Il Transformer e la forza dell'open source
El Maghraoui indica il paper del 2017 Attention Is All You Need, firmato da un gruppo di ricercatori di Google, come quello che ha dato inizio a tutto. L'architettura Transformer ha portato efficienza nell'addestramento, parallelizzazione, scalabilità e prestazioni superiori rispetto alle precedenti architetture ricorrenti, oltre al pre-addestramento su larga scala e al transfer learning. Ne ripercorre la genealogia attraverso i modelli GPT, InstructGPT e ChatGPT, con un ruolo crescente del feedback umano.
Attribuisce gran parte di questo slancio al contributo della comunità: "Quindi non è solo un'azienda o un'entità a dominare il, il modo in cui queste architetture vengono usate e applicate, ma è un'intera comunità da tutto il mondo che contribuisce e fa evolvere queste potenti tecnologie." (7:19)
Come funzionano i modelli fondazionali e fin dove arrivano
I modelli di IA classici, spiega, sono costruiti per uno scopo preciso e isolati: ogni nuova attività richiede di selezionare dati, etichettare migliaia o milioni di campioni e addestrare di nuovo. I modelli fondazionali ribaltano questo schema. Vengono pre-addestrati su enormi quantità di dati non etichettati, mascherando parole e insegnando al modello a prevederle. "Quindi questo crea in un certo senso l'auto-supervisione su larga scala. Non abbiamo bisogno di tanti esempi etichettati." (10:04)
Un modello pre-addestrato può poi essere adattato con prompting zero-shot, prompting few-shot con da uno a dieci esempi etichettati, oppure con tuning su centinaia o migliaia di esempi. E l'idea va oltre il testo: chimica, immagini e linguaggi di programmazione hanno ciascuno il proprio "linguaggio". Secondo i dati citati dalla relatrice, il progetto CodeNet di IBM si è basato su 14 milioni di campioni di codice in 55 linguaggi di programmazione, e il lavoro di IBM sull'IA per la chimica ha servito oltre 30.000 utenti e previsto 7,5 milioni di reazioni chimiche. Nei primi test industriali da lei descritti, un modello fondazionale ha previsto i guasti delle pompe di pozzi petroliferi con un F1 score superiore del 9% rispetto allo stato dell'arte, e ha ottenuto prestazioni 3,9 volte migliori sui dati di eventi dei veicoli.
Dall'assistenza clienti alle mappe delle alluvioni
El Maghraoui mostra modelli fondazionali che aiutano gli agenti di chat a risolvere problemi dei clienti con i dispositivi e supportano attività bancarie come compliance, sintesi e analisi del churn. L'esempio più significativo è una partnership tra IBM Research e NASA per costruire un modello fondazionale geospaziale basato su un vision transformer e un masked autoencoder, addestrato su immagini Harmonized Landsat Sentinel-2 (HLS). Secondo i dati citati dalla relatrice, è stato pre-addestrato su cinque anni di dati del Sud-Est degli Stati Uniti, circa un terabyte, e ha portato un miglioramento del 20% nella mappatura delle alluvioni dimezzando il lavoro di etichettatura.
Ne vede il valore ben oltre i benchmark: "Applicazioni davvero di impatto che possono aiutare a prevedere alcuni di questi disastri legati al cambiamento climatico e anche a gestirli." (21:30)
I limiti che nessuno dovrebbe ignorare
Poi arriva l'avvertimento. "Quindi il modello ti dà risposte davvero convincenti, ma le risposte sono sbagliate." (23:05) A ciò aggiunge la tendenza a perpetuare i bias, i problemi di privacy dovuti all'addestramento su dati di internet aperti e una crescita insostenibile: secondo i dati citati dalla relatrice, GPT-3 ha 175 miliardi di parametri e GPT-4 ne avrebbe, secondo le stime, più di mille miliardi, con una domanda di calcolo ed energia in forte aumento. In un test da lei mostrato, un modello interrogato su una persona francese e una rumena indicava sistematicamente il rumeno come criminale, e i suoi passaggi di ragionamento si limitavano a ribadire quel bias.
La sua risposta è una governance rigorosa. La data and model factory di IBM verifica la provenienza, rimuove i duplicati, filtra odio, abusi e volgarità, assegna punteggi di qualità, registra il lineage nelle data card, mantiene gli esperti nel processo e valuta bias e tossicità. "Quindi attraverso questo processo, circa due terzi dei dati raccolti sono stati rimossi secondo il processo di governance di IBM." (28:10) Ricorda inoltre che IBM ha pubblicato la metodologia alla base dei suoi modelli Granite, compresa la rendicontazione su energia e carbonio.
Quattro tendenze da seguire
El Maghraoui chiude con quattro cambiamenti. Cambiano i dati: la qualità conta di più, i dati sintetici sono in crescita e cita una previsione di Gartner secondo cui entro il 2030 il 99% dei dati di internet sarà generato dall'IA. "Quindi una cosa è che dobbiamo, sapete, internet sarà presto inquinato, contaminato da contenuti di Gen AI." (31:11) I dati umani o da sensori reali, sostiene, diventano un asset strategico. Cambia l'allineamento, verso modelli che si autocorreggono e si autovalutano. Cambiano le architetture, verso memoria disaccoppiata, compressione, sparsità e multimodalità. E cambia l'uso, con più agenti e modelli che collaborano e instradano le richieste in base ad accuratezza, latenza o efficienza energetica.
Guarda il talk
AI's Evolution : From Symbolic Representations to Generative Intelligence, di Kaoutar El Maghraoui (36 minuti): https://www.womentech.net/video/ais-evolution-symbolic-representations-generative-intelligence-0
La relatrice
Kaoutar El Maghraoui è Principal Research Scientist presso IBM, con sede all'IBM T.J. Watson Research Center, e Adjunct Professor di informatica alla Columbia University. Dirige il testbed di IA dell'IBM Research AI Hardware Center e la sua ricerca spazia tra sistemi, sistemi distribuiti, calcolo ad alte prestazioni e IA.
Domande a cui risponde questo talk
Come si è evoluta l'IA prima dell'IA generativa?
Come apprendono i modelli fondazionali senza enormi dataset etichettati?
Quali sono i problemi principali dei modelli fondazionali attuali?
Come rende IBM i modelli fondazionali pronti per le aziende?
Quali tendenze plasmeranno il futuro dei modelli fondazionali?
Bozza redatta con l'IA a partire dalla trascrizione del talk. In attesa di revisione editoriale.
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