Join host Lauren Hawker Zafer - Squirro CMO as she sits down with Dr. Imanol Schlag, a prominent researcher in the field of artificial intelligence and machine learning.
Currently serving as a Postdoctoral Researcher at the ETH Zurich, Dr. Schlag has made significant contributions to the development of advanced neural network architectures and reasoning models. His academic journey includes a PhD under the guidance of renowned AI pioneer Jürgen Schmidhuber at the Swiss AI Lab, where he explored innovative approaches to enhance machine learning capabilities.
Dr. Schlag's research focuses on the intersection of language models and quantitative reasoning, with several of his papers gaining recognition in top-tier conferences. He is known for his work on Linear Transformers and their applications in fast weight programming, which has generated substantial attention in the AI community.
Join us, as we dive into Dr. Schlag's insights on the future of AI, the challenges of developing trustworthy models, and his vision for the role of machine learning in Swiss society.
Whether you're an AI enthusiast or just curious about the latest advancements in technology, this conversation promises to be both enlightening and inspiring.
Don't forget to subscribe and share your favourite episodes with your friends!
#techpodcast #squirro #ai #transformation
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Welcome back to Redefining AI, the tech podcast on behalf of Squirrel, the enterprise Gen AI platform. I'm your host Lauren Hawker Zaffer. Now in this episode, we're thrilled to welcome Doctor Imano Schlag, a prominent researcher in the field of artificial intelligence machine learning. Currently serving as a post doctoral researcher at the ETH Zurich, Doctor Schlag has made significant contributions to the development of advanced neural network architectures and reasoning models. His academic journey includes PhD under the guidance of
renowned AI pioneer Jorgen Schmidthoeber at the Swiss AI Lab, where he explored innovative approaches to enhance machine learning capabilities. Now, Doctor Schlag's research focused on the intersection of language models and quantitative reasoning, with several of his papers gaining recognition in top tier conferences. He's known for his work on linear Transformers and their applications and fast weight programming, which has generated substantive financial attention in the AI community. Now, I'd like you to join us as
we dive into Doctor Schlag's insight on the future of AI, the challenges of developing trustworthy models, and his vision for the role of machine learning in society. Now, whether you're an AI enthusiasts or just curious about the latest advancements in technology, this conversation really does promise to be both enlightening and inspiring. So I'd like to welcome you, welcome you to redefining AI with us. Thank you so much Lauren for having me. So I've introduced you with a sort of commulgated biography that I've taken from various
different places. I think that your introduction warrants a personal 1, so maybe you can expand on on how I've introduced you and share a little bit more with our audience of who you are and what you stand for at the moment. Oh well, those are those can be big questions. I guess I'll try to keep it short. Well, what you described before the these fast rate programmers that work on linear Transformers or scalable and these are very technical things that I dealt with during my PhD that I still dabble in. But since I finished my PHDI began the postdoc at ETH and after just a few months moved
into more of a research scientist position at the ATHAI Centre where I am Co leading the LLM, the large language model effort of the Swiss initiative. And here it's really about developing trustworthy and and transparent large language models for the benefit of society, with a particular focus here of the Swiss society. Interesting. So let's look like, let's take a step back because I would like to talk about your efforts at the AI Centre a little bit later in the conversation. But what would interest me is
where did you start your own journey into the field of artificial intelligence? Like what sparked your own curiosity? Oh, well, well, you know, when I was a kid, I wanted to be a detective really there was a need to figure out things and how they work. And after doing an apprenticeship in computer science since computers were the thing I wanted to figure out for initially I, I did my military service, which, which by the way, was a great experience and here in Switzerland and then afterwards decided that all right, I, this is now the time to, to study computer science in a bit more detail.
So I went to the Applied University of Northwestern Switzerland, where I really learned a lot about software engineering. And it was really only towards the end of the sort of this degree that I realised that, well, software engineering is cool, you can build things, but there are these algorithms that are that are doing very exciting or interesting things, magical sometimes almost. I would like to learn more about those and get a bit of a deeper knowledge. And that's why I went to Scotland, Saint Andrews in particular, to study artificial intelligence, because artificial intelligence is often like this
umbrella term for all of these algorithms which are a bit more sophisticated. And so that's then where I got to double a bit in just different areas. And there's one particular area which was about neural networks, which was really just touched upon. Like it was really just a very superficial introduction to it, just a small part of one class that that dealt with neural networks at this point because they weren't as popular as they are now. And I was really like fascinated by them and made them the central point of my thesis of like master thesis. And this was a fun project where
we sort of tried to identify the emperor on old Roman coins. Funny enough, I have no clue about Roman emperors, but I was able to use machine learning to classify if that's is this Roman emperor or some other. And I was able to find a professor who was so excited about it while being interested in statistics to host that master thesis. And so I was really able to have a great project. And that's when I realised that I want to really understand that more deeply. And that's when I started to do my PhD. And in my PHDI had a lot of opportunity and freedom thanks to my supervisor to really
explore these topics to the deepest technical levels. So now if you look at, you mentioned that when you were studying at Saint Andrew's, neural networks weren't as popular and the proportion of the curriculum that covered it was probably not as extensive as it is now nowadays. Anyways. When, when was that around? When did you look at that particular component? That should be about 2016 if 2015. Actually I think 2016 I started with my PhD, so 2015, two, 1014 somewhere there. OK, So I mean, now we find
ourselves at the end of 2024, almost going into 2025, a lot has happened in the AI space. Looking at where you are now in terms of your responsibilities, your role, your engagement, you're looking at the components of building trustworthy, transparent LLMS in particular. What and your own opinion has been some of the most exciting developments in that particular time frame, 2016 to now? Well, it's, it's been a a wild ride really. And it just keeps on on giving. And many people don't understand that we are on this exponential
trajectory where compute really doubles every fixed amount of time. And it's kind of hard to really grapple like how much more we are capable with how much more compute capability we have now compared to just like a few years ago. And this is, is the main driver of a lot of machine learning innovation, in addition to the large amount of data that's been available. So in the beginning, it was really sort of the deep learning, the these deep neural networks being trained for very specific problems. And so predictive AI or
supervised learning where we train small models in very specific tasks like image classification, where we could now suddenly see that if we train models on high quality data, then like we can surpass any sort of hand classifier. It was a huge shift in the, in the, in the AI or let's say computer science community really towards deep learning models. And that was already very impactful to, to witness. I just started like when, when this was happening right in the middle of it. But then 2019, two, 1020, we had a second sort of large shift,
which was the fact that you can't take neural networks for predictive AI models, but you can also learn, train generative AI models and generative AI models, they're a bit more tricky. They're about learning the distribution of the data. And so they're not necessarily useful immediately, but as a as a byproduct of learning the distribution of data, they learn a lot about the data itself. And that means that if you can train the predict generative models that are really powerful enough, then what you can do is you can you can sort of extract these predictive capabilities. You can take something like cha cha PT and use it as a poor
generator, for example, which is coming out of the blue. Basically no one programmed that in. And this is very exciting because it opens up a lot of opportunity to use these technologies for a greater good or to produce values. And that obviously links quite heavily. And again, like, I'm not super technical, but I do have some sort of technical understanding. And obviously the many conversations and working in a software organisation, I mean, what you focused on in your research was linear Transformers and they're obviously a variant
of traditional transformer models, which were heavily tied to the development of generative AI. Is there a coincidence in your linkage to obviously the excitement that you've shown about having so much computational power that's had an effect on the generative AI development? Was there coincidential intersection with your research there and obviously what's happening now? Yeah, it's, it's a bit of both really. So the work that I've been
building upon was based on this work called fast weight programmers or fast weight neural networks. Those are neural networks that don't just have the weights, but they are usually made-up of like 2 parts, 1 neural network that has regular weights that then generates weights for another neural network. And this introduces a lot of dynamic and a lot of plasticity. And what we sort of missed at this point is a bit this need for parallelisation. And that's really what the transformer architecture brought. And that's the fun that's AT and GPT, it's the main advantage of it.
It, it loses certain flex, certain theoretical capabilities, but it gains the ability to paralyse, which means that it is now good to throw money on it because now if you just buy more GPUs, more computers, you can now train much larger models. Whereas with other methods like recurrent neural networks, this wouldn't be as straightforward. And so this, what we noticed when the Transformer paper came out is that there exists a theoretical variation of it, which is a linear transformer. And this we then connected with
this previous work that I was actually engaging with this fast way programmers work, which is basically a linear transformer. It's, it's highly similar. And so we connected this and this has now been the foundation or has contributed to the foundation of a line of work, which are sometimes called state space models or or scalable RNNS. Those are neural network architectures that have better scale. They need basically less memory to do the same things as the regular transformer, and it
looks like we are now on the brink of them being a replacement for the transformer model because they have now seemingly matched the performance of of the regular Transformers that are being used. OK, so who's using these scalable neural network architectures? Well, at the moment there is just a handful of large models or even less than a handful of large language models, let's say above 76 billion parameters that are trained with these, with these architectures. It's a still, they're still like implementational efficiency
differences that sometimes means it's favourable to use something like a self attention mechanism because they're actually very similar to a transformer architecture. It's just the the layer that does the temporal mixing through time. Instead of that having a quadratic dependency on the context that it has that you include in your prompt. It has a linear dependency and that's the only component really that is different. Everything else is the same. And so there have been many research labs playing around with these and there's been a few research labs that have scaled them up to large extent
and they look to, they seem to be performing almost the same. We haven't seen them at the larger scale, but what we have seen is that you can also take an already pre trained model that has been trained in an expensive fashion and replace this self attention with an RNN component like a scalable RNN and then tune it to basically convert 1 to the other after training. And that means that during inference on the hardware, you have fewer memory requirements, so you can bring the model, for example, to the edge device like your smartphone, for example, and that many people have been
doing. And because there is a race to the bottom with the hyper scalers and the big AI companies, I wouldn't be surprised if some of them actually have implemented some of these techniques. They're just not telling us. Okay, okay. So is it, is it something that you desire to see as well? I mean, obviously you're working at present with the Swiss National AI Institute, you're Co lead in that from what you've mentioned as well. Like what's your aim there and how would that relate to obviously your past research,
your efforts? Yeah. So the the Swiss National AI Institute is really a more global institute as part of it, it has the Swiss initiative. And this part of the Swiss initiative is the LLM effort, the large language model Fund. It's the the biggest foundation model that is being trained as part of the Swiss initiative and that I'm Co leading. And we are very interested in having these models as efficient as possible, so that when you use this model, you pay the least amount basically per token. And this efficiency is a sort of
core research direction of of the AI centre as well. And in this context, we are highly interested in in these methods, but it's not the only method. There are also other techniques like distillation into smaller models, sparsifying the moles were such that not all the weights have to be active at the same time. Sometimes this is called mixture of experts as well, something as that's been becoming very popular this year or also running at lower precision. Often computer science things are 32 bit. Training is standard now in 16 bit. That has been since a few years
and now the Grace Hopper architecture from NVIDIA allows us to train at 8 bit or do inference at 8 bit. And we have also hardware, even specialised hardware that can do even lower bit computations. And all of these result in making the models more efficient and thus cheaper to run. And that means we can run them more at larger scale and maybe also more complex processes where the model is not just responding immediately, but has like a loop where it can feedback to itself and give itself feedback and and improve
iteratively. Those are still a bit expensive right now with the largest models, but those prices will come down very soon. Is there anything obviously in your own efforts in in the initiative itself that you would say align with Swiss values rather than any other values that may be present in the training of foundational models as a Swiss AI initiative and that? That's what happening in. Switzerland. We're also saying that we train a Swiss LLM, but we have to be
realistic here that we we can't just train on Swiss data, so to speak, you know, so we're aiming to train on 15 trillion tokens. That's, it's a number that's not even imaginable really. Yeah, that's so, So one way of of describing it, if we train on documents which are on the web, so they're publicly available for, for legal reasons, we don't train on on data that is acquired illegally. But you can think of it roughly like this. If we train the, the data that we expect to train them is roughly 18,000,000 books of, you know, regular size, like 100 to 150,000.
So think of it like a regular book, like an average book size. And now imagine that every Swiss person hands you ten of those separately. That's roughly the data that we train on. So it's a huge amount of data. It's a lot of data from past times as well from the web and it's all public data. So we are trying to we have to train on, on a very multilingual multicultural data because yes, we want to do a Switzerland, but we also want to have a foundation from which other sovereign and public AI efforts can benefit. So it's really we're hoping to
be a stepping stone for others. So that's that's one thing. But we do also collect a lot of Swiss data for a sort of post processing stage where then we introduce that data later on after this, let's say very international checkpoint in order to make the model much more sensible towards the Swiss culture and Swiss context. And this is mainly achieved by training on on Swiss data. And is this with the intention to implement it in certain governmental institutions, organisations, I mean, what is the desire around public
accessibility and maybe implementation of the the model at the end? Is there a certain? Direction that's been discussed or? Absolutely. So there it is. We are a research institution. The initiative, the Swiss National AI Institute is, is really a vessel for for funding and compute, but it's really led by EPFL and ETH. It's also mainly made-up by the two AI centres of these two technical universities. So we don't have any commercial interests in in the for any time. So we are intending of making everything publicly available,
share everything to be as transparent as possible and useful for research. But we also intend to share the mobile weights with licenced that allows commercial use such that it can be used in industry. And of course, it's going to be a public mall. So we're not going to be hosting it for people. We're not going to provide a subscription service. But we are already like talking with partners that could then host the models for us in case that it is useful. And we're already exploring collaborations with institutions and and companies in trying to figure out how can these models be deduced in their particular
context. And I believe that every organisation that produces a lot of text moves around a lot of text and consumes a lot of text. Well, it's a generative model. We can't tell you yet what it's going to be useful for, but most likely there will be some process that can benefit from these tools. And we want to talk to you to figure out what that process looks like exactly. I mean, one of the things that you emphasise in that as well is obviously the, the sort of requirement for well, it's not a sort of requirement is a requirement in, in a lot of implementation and emphasis around the building of models.
It's the need for transparency and trust, trustworthiness and and AI development. Sometimes though, you hear a lot in narratives, especially public narratives that come from various different geographical locations. And obviously there's different regulation and different geographical locations with less of an emphasis maybe on transparency. How do you in particular balance these priorities also with, you know, the requirement for cotton edge capabilities? Well, we are not a start-ups, so we don't necessarily have to hide the cutting edge
capabilities that we are introducing because they are part of the research that we would do anyway. And in computer science and in particular AI slash machine learning research, this is all publicly available. Almost all of it is in an open platform. So you don't even have to pay. Everyone can read these papers and very often also get access to these models if they decide to upload them the code on GitHub or the models on on Hugging Face. So we care more about being just as compliant as possible. You know, we care about how these models are going to be used.
We care about the technology and to democratise AI in general and not leave that capability to a handful of tech companies in the US basically. And I think many people share that interest as well. And that's where we where we draw strength from. And it you don't, it doesn't take much to just make. One can just look at the European AI Act. It has certain clauses for that demand transparency when it comes to general, perhaps AI models, which by now are basically not much. Now I'm not a lawyer and I can't really comment on the technical
implementation of the EUAI Act, So probably it's not going to be that strict. But if you would be strict, then by summer next year, the existing closed models and open source models wouldn't be compliant and would mean that you wouldn't be allowed to use them in Europe and Switzerland as being surrounded and in the in the heart of Europe basically can't allow itself to deviate too much from Europe itself because we have Europe as a market as well. If a Swiss company wants to build something with this, it's important that the models are compliant as much. And that's what we try to inform and we have the luxury and
research to be that transparent because we don't have IP that we need to protect. Yeah. Do you see that being a sort of problem, like obviously there is that necessity in the position that you are in and obviously the position that you represent the initiative that you're leading. Do you see it being a problem with the spread of like geographical emphasis or tilt that could motion towards less of an action around transparency? I mean if you look at maybe the
polarisation or the division of less trans. Models with more transparent models, do you see that having an impact in any way? So you mean the cultural differences, for example within? Cultural differences and let's say, you know, there's, there's always that race for like speed over quality or speed over transparency. Do you see that having an impact on AI democratisation or AI development in general? Well, not I think democratisation, not necessarily and more with respect to
companies trying to gather a market and and make a profit out of it there I think it has a big impact public models just because they are not living at that forefront and and trying to make money and thus also be able are not able to accumulate a large amount of VC money essentially to build, build products. They have the disadvantage of of being slower and come later. So it's also important to maybe bring a bit of a distinction. So a large language model is really sort of the core component of, let's say, an AI
system, if you want to call it that. So Chachi, BT, Cloud, Gemini, those are all for me. Those are essentially AI systems that combined with other systems, they have safety things in place that don't allow you to generate certain things, for example, because it doesn't fit their ideology. They also have the ability to search the web or other things. The large language model is the core component of that. And it also takes the most compute in the most effort to develop that. But the product in the end is and significant delta that is also introducing a lot of nuances like what sort of
queries do I want to fulfil or what is their personality that the agent should have. Because the Royal LLM doesn't really have a personality. It's an ultra complete model. The personality is something that's been being introduced afterwards. And so we hope that by providing a, a public model that is sort of like a raw diamond, others can take this and fine tune it for their particular needs. So particular companies, for example, or, or academic or, or state institutions. And so it gives others the
ability to adapt it to their own needs. And in a way that's, that is another way of democratising AI because now it's not just one central technological company that defines what this would look like, but everyone can make it their own. Although you still need like, like some complete efforts, It's like massively less like it's, it's like several orders of magnitude less money that you need to take into your hands. Yeah, definitely. And I suppose it's one of the benefits as well of the approach that you're taking that you do hope that you know Swiss SMEs
and also start-ups it can benefit from the practical application of this, this and AI as well. So that's always something that's that's given back and allowing a little bit more of a positive impact. Yeah, absolutely. Yeah. So we've had, I had a very interesting conversation around a variety of different topics and I'd certainly like to thank you for all of the useful insight that you've provided us with today, both through your research and also the actual application and what you're working and Co leading at the
moment. So thank you, Imano. Thank you so much for having me with Matt. I'd like to thank everyone else who's joined us in this journey today. Please share the episode if you'd enjoyed it and we look forward to being with you soon.
Episode Six: Why Do You Exist? Dr. Henna A. Karna on AI, Brain Health and Fixing Mental Health Care Why do you exist? It sounds like a question for a philosophy seminar. Dr. Henna Karna argues it’s the most urgent...
When an autonomous drone picks its own target and kills civilians, who’s responsible? The commander, the developer, or the state? Cybersecurity veteran Matthew Rosenquist (36+ years, advisor to governments and...
Six words, banned for thirty minutes: transformation, journey, reimagine, unlock, leverage, AI-native. Dave Wright (Chief Innovation Officer, ServiceNow) and Brian Solis (Head of Global Innovation, ServiceNow, and 10x...
Six words, banned for thirty minutes: transformation, journey, reimagine, unlock, leverage, AI-native. Dave Wright (Chief Innovation Officer, ServiceNow) and Brian Solis (Head of Global Innovation, ServiceNow, and 10x...
Most of the voices we hear on AI sit in one chair. Louisa Loran sits in several at once: operator, author, board director, and trusted advisor to Fortune 500 boards navigating once-in-a-generation change. In episode...