AI's Evolution : From Symbolic Representations to Generative Intelligence
Kaoutar El Maghraoui36:112024
IBM премахна две трети от събраните си данни, за да създаде модел, на който може да се довери
Голям езиков модел, запитан за французин и румънец, последователно посочва румънеца като престъпника. Kaoutar El Maghraoui, Principal Research Scientist в IBM T.J. Watson Research Center, проследява как AI премина от ръчно написани правила към базови модели, чиито пристрастия, грешни отговори и енергийна консумация се наследяват от всеки, който ги внедри. Ако до 2030 г. 99% от данните в интернет са генерирани от AI, както тя цитира, какво прави един модел подходящ за корпоративна употреба?
Вижте филтъра за управление, с който IBM решава кои данни моделите ѝ никога няма да видят
Kaoutar El Maghraoui, Principal Research Scientist в IBM, проследява пътя на AI от ръчно създадените символни експертни системи през машинното и дълбокото обучение до самообучаващите се базови модели (foundation models), изградени върху трансформъра. Тя показва как един предварително обучен модел може да се адаптира към много задачи, от код и химия до геопространствения модел на IBM с NASA, и твърди, че грешните отговори, пристрастията, разходите и енергийната консумация изискват управлявани модели, готови за корпоративна употреба. Накрая представя тенденциите, които според нея ще оформят областта.
“Така че наистина виждаме възможност, която се появява веднъж на десетилетие.”
“Така че моделът наистина ви дава убедителни отговори, но отговорите са грешни.”
What you will learn
Проследете еволюцията на AI от ръчно създадените експертни системи през машинното обучение с ръчно проектирани признаци и дълбокото обучение до самообучаващите се базови модели.
Обяснете как трансформърите и самообучението с маскиране позволяват на един предварително обучен модел да се адаптира към много задачи чрез фино настройване, zero-shot или few-shot промптове.
Разпознайте приложения на базовите модели отвъд езика, от код и химия до Industry 4.0 и геопространствения модел на IBM и NASA.
Идентифицирайте основните рискове на днешните базови модели: убедителни грешни отговори, пристрастия, разходи за обучение, енергийна консумация и поверителност.
Предвидете следващите тенденции: синтетични данни, самокоригиращи се модели, компресирани специализирани модели, мултимодалност и мултиагентни системи.
Details
Level
Intermediate
Format
Talk
Technical depth
Introductory technical
For
All career stages
Length
36:11
Published
May 2024
Questions this talk answers
Как AI еволюира от символни системи до базови модели?
Премина от ръчно създадени символни експертни системи към машинно обучение с ръчно проектирани признаци, след това към дълбоко обучение с автоматично научени, но специфични за задачата признаци. Днес самообучението в голям мащаб и мощните изчислителни ресурси създават обобщаеми и адаптивни представяния в базовите модели.
С какво базовите модели се различават от класическите AI модели?
Класическите модели са създадени за конкретна цел и изолирани, като всеки изисква подбрани етикетирани данни и отделно обучение за всяка задача. Базовите модели се обучават предварително чрез самообучение върху огромни набори от данни и след това се адаптират към много задачи чрез фино настройване или zero-shot и few-shot промптове.
Какви са основните проблеми на днешните базови модели?
Те могат да дават убедителни, но грешни отговори, да затвърждават пристрастия, да растат с неустойчиви темпове по размер, разходи и енергийна консумация и да пораждат опасения за поверителността заради обучението върху отворени данни от интернет.
Как IBM се стреми да създава надеждни базови модели, готови за корпоративна употреба?
Чрез своята фабрика за данни и модели: произход на данните и правно одобрение, премахване на дубликати, филтриране на омраза и нецензурно съдържание, филтриране по качество, проследимост с карти на данните, експерти в процеса и оценка за пристрастия и токсичност. При моделите Granite около две трети от събраните данни са премахнати чрез този процес на управление.
Какви тенденции ще оформят базовите модели занапред?
По-качествени и все по-често синтетични данни, самокоригиращи се модели, архитектури с отделена памет, компресирани и специализирани модели, мултимодални модели и мултиагентни системи, които разпределят заявките между няколко модела според точност, латентност или енергия.
Защо днешните LLM могат убедително да грешат (67 s)
Защо реалните човешки данни са новото съкровище (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
Как базовите модели промениха начина, по който AI се учи
Kaoutar El Maghraoui от IBM проследява AI от ръчно написаните правила до самообучаващите се базови модели и обяснява защо силата им изисква внимателно управление.
Накратко
Kaoutar El Maghraoui, Principal Research Scientist в IBM, твърди, че AI е достигнал повратна точка. След десетилетия на ръчно написани правила и модели за конкретни задачи, базовите модели (foundation models), обучени чрез самообучение върху огромни данни, вече научават общи, адаптивни представяния, които един модел може да използва в много задачи. Тази сила носи реални проблеми (уверени грешни отговори, пристрастия, разходи, енергийна консумация и поверителност), затова тя застъпва внимателно управлявани модели, готови за корпоративна употреба.
Основни изводи
Разберете как AI се е развивал във времето.
Разберете някои от пробивите и как са повлияли на живота ни.
Вижте накъде вървим с AI.
Разгледайте бъдещите тенденции и иновации, които ще бъдат ключови през следващото десетилетие.
Провокираща размисъл презентация, която кара публиката да мисли за бъдещето.
От ръчно написани правила до научени представяния
El Maghraoui представя историята на AI като история за представянето на данните. Преминаването на сигналите в честотната област направи възможни филтрирането и премахването на шум, а релационните представяния направиха възможни гъвкавите, декларативни заявки към бази данни. Според нея базовите модели са най-новото и най-богато от тези представяния.
След това тя разглежда ерите. Ранните експертни системи разчитаха на ръчно създадени символни представяния. Ерата на големите данни донесе машинното обучение, но с много ръчно проектиране на признаци. Около 2010 г. големите етикетирани набори от данни и мощните изчислителни ресурси позволиха дълбокото обучение, което при някои конкретни задачи дори надмина човешката точност. Но едно ограничение остана:
„Признаците сега се научават автоматично от алгоритмите за дълбоко обучение, но все още са специфични за задачата.“ (5:26)
Новата ера, обяснява тя, съчетава самообучение, мащаб и изчислителна мощ, за да създаде обобщаеми и адаптивни представяния.
Трансформърът и самообучението в мащаб
Повратната точка, която тя изтъква, е статията от 2017 г. „Attention Is All You Need“ на изследователи от Google, която въвежда архитектурата на трансформъра. В сравнение с по-ранните рекурентни мрежи като LSTM, тя предлага ефективно обучение, паралелизация, мащабируемост и водеща производителност, както и мащабно предварително обучение и по-ефективен трансфер на знания. Тя посочва отворения код като основна причина за успеха ѝ:
„Така че не е само една компания или една организация, която доминира в това как тези архитектури се използват и прилагат, а цяла общност от целия свят, която допринася и развива тези мощни технологии.“ (7:19)
Тя противопоставя класическите AI модели, създадени за конкретна цел и изолирани, всеки със собствени подбрани етикетирани данни и обучение, на базовите модели, обучени върху огромни текстови корпуси чрез маскиране на думи и обучаване на модела да ги предсказва.
„Така че това някак създава самообучението в мащаб. Не ни трябват много етикетирани примери.“ (10:04)
Един предварително обучен модел може след това да се адаптира чрез фино настройване, zero-shot промптове без етикетирани данни, few-shot промптове с приблизително от един до десет примера или настройване с данни със стотици до хиляди примери, като разходите растат с добавянето на повече етикетирани данни.
Базови модели отвъд езика
El Maghraoui подчертава, че идеята стига далеч отвъд текста. Ако текстът е езикът на хората, то изображенията, молекулите и езиците за програмиране също са езици. Тя описва примери от IBM: CodeNet, изграден, по думите на лектора, върху 14 милиона примера код на 55 езика за програмиране за задачи като отстраняване на грешки и превод на код; модел AI for chemistry с над 30 000 потребители и 7,5 милиона предсказани реакции; и ранни резултати в Industry 4.0, включително с 9% по-добър F1 резултат при предсказване на повреди в потопяеми помпи в нефтени кладенци.
Най-подробният ѝ пример е геопространствен базов модел, създаден от IBM Research и NASA. С помощта на vision transformer и маскиран автоенкодер, обучени върху изображения от Harmonized Landsat Sentinel-2, моделът показва, по нейните данни, 20% подобрение в картирането на наводнения спрямо съществуващите подходи, като същевременно наполовина намалява усилията за етикетиране. Приложенията включват управление на наводнения, горски пожари и пасища, както и оценка на биомаса.
„Така че наистина виждаме възможност, която се появява веднъж на десетилетие.“ (22:06)
Проблемите, които идват с мащаба
Тя е също толкова директна за рисковете. Големите езикови модели могат уверено да грешат:
„Така че моделът наистина ви дава убедителни отговори, но отговорите са грешни.“ (23:05)
Тя посочва и пристрастията (илюстрирани от модел, който многократно определя румънец, а не французин, като престъпника), неустойчивия растеж на размера на моделите и изчисленията, нарастващата енергийна консумация и опасенията за поверителността при обучение върху непроверени данни от интернет.
Нейният отговор е дисциплинирано управление. Тя описва фабриката за данни и модели на IBM: произход на данните и правно одобрение, премахване на дубликати, филтриране на омраза и нецензурно съдържание, филтриране по качество, проследимост с карти на данните, експерти в процеса на обучение, настройване с инструкции и оценка за пристрастия и токсичност. При моделите Granite на IBM около две трети от събраните данни са премахнати чрез този процес. Тя приветства публикуването на методологията:
„Така че е чудесно, знаете, че публикуваме това, защото е добре да сме открити за методологията, която използваме, и се надяваме цялата общност да се възползва от това.“ (30:09)
Тенденции, които да следим
El Maghraoui завършва с промените, които очаква. Качеството на данните е по-важно от всякога и, по думите на лектора, Gartner прогнозира, че до 2030 г. 99% от данните в интернет ще бъдат генерирани от AI.
„Така че едно нещо е, че трябва, знаете, интернет скоро ще бъде замърсен, заразен със съдържание от генеративен AI. Така че данните, които събираме сега, ще бъдат много стратегически.“ (31:11)
Тя очаква също самокоригиращи се модели, които се оценяват и подравняват сами, архитектури с отделена памет за справяне с дългия контекст и халюцинациите, компресирани и специализирани модели, мултимодални базови модели и мултиагентни системи, които разпределят заявките между няколко модела според нуждите от точност, латентност или енергия.
Гледайте лекцията
„AI's Evolution : From Symbolic Representations to Generative Intelligence“ от Kaoutar El Maghraoui (36 минути): https://www.womentech.net/video/ais-evolution-symbolic-representations-generative-intelligence
За лектора
Д-р Kaoutar El Maghraoui е Principal Research Scientist в IBM T.J. Watson Research Center и хоноруван професор по компютърни науки в Columbia University, като работи в пресечната точка на системите и AI. В IBM тя ръководи тестовата среда за AI в IBM Research AI Hardware Center, глобален изследователски център за ускорители и системи от ново поколение за AI натоварвания.
Въпроси, на които отговаря лекцията
Как AI еволюира от символни системи до базови модели?
С какво базовите модели се различават от класическите AI модели?
Какви са основните проблеми на днешните базови модели?
Как IBM се стреми да създава надеждни базови модели, готови за корпоративна употреба?
Какви тенденции ще оформят базовите модели занапред?
Изготвено с AI от транскрипцията на лекцията. Предстои редакторски преглед.
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