In this Episode Open Source Unleashed: A Conversation on the Power of Community-Driven Tech Lauren Hawker Zafer is joined by Piero Molino PhD
Who is Piero Molino PhD?
Piero Molino, Ph.D., is CEO and co-founder of Predibase, a low-code AI platform that makes it easy for engineers to build, optimize and deploy state-of-the-art models - from linear regressions to large language models - with just a few lines of code.
He previously worked as a research scientist exploring machine learning and natural language processing at Stanford University, Yahoo, IBM Watson, Geometric Intelligence, and Uber, where he was a founding member of the Uber AI organization.
He is the creator of Ludwig, a Linux-Foundation-backed open-source declarative deep learning framework with more than 9000 stars on GitHub.
Why this Episode?
Dive into the world of AI democratization with our latest podcast episode featuring Piero Molino PhD, CEO of Predibase!
Join host Lauren Hawker Zafer as she discusses intriguing facts about the world of AI that will captivate tech enthusiasts and novices alike.
Discover the secrets behind "Ludwig" and learn how this open-source project is revolutionizing AI democratization. Explore the concept of universal access to AI technologies and how it benefits users who crave free access to cutting-edge tools.
Piero unveils the shift in the AI landscape, where data collection and labeling are no longer the initial hurdles. Explore the implications of this transformation on the democratization of AI and the security measures in place to protect sensitive data.
Find out how smaller organizations and individual developers are now empowered to harness the power of AI models through user-friendly APIs. Uncover the integration of classic machine learning techniques with large language models and how it's becoming accessible to a broader audience.
Get a glimpse of the evolving role of digital assistants in the tech world and how they fit into the changing dynamics of AI democratization.
Don't miss out on real-world examples of AI in action, from text classification to information extraction, and the transition from structured to unstructured data.
Join us on this captivating journey through the exciting landscape of AI democratization. Tune in now to redefine your understanding of AI! 🚀🤖 #RedefiningAI #TechPodcast #AIRevolution
REDEFINING AI is powered by The Squirro Academy - learn.squirro.com. Try our free courses on AI, ML, NLP and Cognitive Search at the Squirro Academy and find out more about Squirro here!
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.
So Piero, you are the CEO of Preddie Base and you're also someone who has explored machine learning and NLP in various roles and engagements. Can you maybe start off by telling us a few interesting facts about machine learning? You know, maybe a couple that are audience will enjoy hearing about. Sure. I would say in my experience, I've been working on many different projects. For instance, when I was at Uber, I worked on customer support models.
I worked on recommender systems for breeds, I worked on fraud detection, and I worked on the dialogue system for Uber drivers. And I would say the interesting thing that I gathered from all of these projects is the fact that what is common, there's a lot of things in common among all these projects and all these tasks, and what is not in common in many cases is relatively limited and it is boiled down to the data, the data schema that you're training on. But the techniques across all of these different tasks are
basically almost all the same. Right now, and so my ethos has been to try to find what is common among them and what is different, and making what's different easy to change. And what is common solids to build on, right? That is definitely one one thing that I discovered that I find interesting, right? You think it's a good thing though if there are extensive commonalities between certain components, like how do you strive for differentiation, then if there are so many commonalities and maybe the applications or the use cases that you highlight.
Yeah. So I would say the differentiation comes from. The let's say inventiveness if you want of the person developing the project that understands the domain and by understanding the domain, they can change the data, they can change the data schema, can change between some of the features that are used within the models. But in the end the training loop, for instance, the exact implementation of the models, making them train fast in a distributed way, making them efficient in inference. All these things can be done
once and in the best way possible. The people don't need to reinvent the wheel every single time on those. But the wheel, the parts that the process that is bespoke for each single project is the part that is the domain part that is more interesting and fun. Honestly. Sure, Yeah. Can imagine you've mentioned the word data schema a couple of Times Now. What is that? Just to people that are not familiar with that component of terminology. Very with depending on the machine learning tasks. But in the end it boils down to providing data in a format that is kind of standardised and,
well, there are exceptions, but the vast majority of machine learning tasks in the end the data is structured as a table where you have like all examples as rows of that table and all the columns of that table are features of those examples, characteristics that help you know, identify or perform the task right. And usually for each row there's also like the specific output. That you want the model to be trained to produce. And so that scheme of that table is actually the schema that you end up providing to the model
when you are training it. And then it's also the scheme of the data when you query the model that you need to provide to be able to obtain your predictions, right. Excellent. So hi everyone, it's Lauren Hawkers offer. Welcome back to Redefining AI, the tech podcast. Today I've been joined by Piero Molino, the CEO and Co founder of Pretty Base, a low code AI platform. So Piero Load Week, the name says something to you, does not. Who or what is Ludwig? Yeah, it's actually, you know, it connects really well with the
previous question. It is the open source decorative machine learning project that they created when I was working at Uber and now it's, you know, project is backed by the Linux Foundation, so has a proper open source governance. And it's also the project. It is at the foundation of technology of what we are building a pretty base and it actually encapsulates what we were discussing, the commonalities and the bespoke. Of different machine learning projects. Because actually the way it works is exactly by providing A mechanism for users to define
the machine learning models and pipelines through a configuration file. And so all the parts that I was mentioning like the training, the influence, the evaluation are all hard coded in the system, which actually really easy to extend. But they're all coded and the configuration file just contains the information about the data. For instance, you can specify many different. Inputs for your machine learning model. Outputs of what you want the model to predict, the data type associated with them. Like if it's a piece of text,
it's like a column of categories, or it's an image, or whatever. And that configuration is substantially easier and faster to write that the low level machine learning code, but achieves the same performance and the same goals much faster and with less effort. OK And you spoke about the IT has specific open source project governance, is that correct? What does that encompass when we're talking about like an open source project governance? Yeah, so the project started, as, you know, when I was working
at Uber, right? So it was owned by Uber as a project. And the problem with in particular large organisations, but almost, you know, every organisation that is not a foundation like the young foundation for instance, when governing like a a project like that, is that users never know what is going to happen to the project. They have no guarantees, right? And things that could happen is that a certain moment in time the licence? Of the project changes and it gonna contributor, I want to know that I'm contributing to a
project that will keep being open otherwise I will be basically working for Uber or whoever is the owner of that project for free if they then closed it and take advantage of my work, my previous work right. And so that's part of the reason why we donated it to Linux Foundation, because the new foundation is kind of like a guarantee that the project will always keep being open because there is a governance of the project that is set by the foundation and that's you know. You know that the project is not gonna change licence. Recently there have been a couple of companies that have
actually explicitly done that like there was Hashi Corp for instance, most recently at Volkswagen phase that took some of their projects and changed their licence of this project into something that is not fully open source and that's avoidable by you know having a open governance. It's always then a commercial or capital motivation that drives someone to change a project from keeping it open to actually making it close source. Or are there other reasons as
well? So yeah, mostly there are commercial reasons and you know, I would say in many cases preventing other companies from being able to commercialise the open source project that that company put out is the main reason. There have been examples in the past like for instance Elastic search. Amazon created like their own fork of Elasticsearch and started to sell it without, you know, contributing back to the open source. Which is not a great practise. But on the other hand, if the owners of the open source
project, creators of the open source project apply the same tactic, you know, and then it becomes like open source is not open anymore, right? Yeah, that's very true. I mean, if we look at from an interaction perspective of the provider, that's obviously providing the open source environment and the user that's interacting with that environment. And we're looking more sort of holistically at the universal approach to democratisation through open source. How does it benefit users then?
From what perspective are they benefit? And is it the option to access technologies like that for free? But what are the actual sort of potential avenues of positive enhancement for the user? So my experience with it has been that there's different types of users. If you want to find different kind of value, for instance, I'd consider myself also a user. Of looking big and the open source, right? So for my perspective of creating the project, my main intent was to honestly to give
back to the community because my project initially was looking Uber internal project, right? And it was using and importing many other open source products to begin with. And so it felt for me honestly, like you know, a little bit of an ethical thing to do to begin with, right? On the other hand, I really wanted to. I was one person developing this project, right? So I'm putting it out. There was a forcing function for me for increasing the quality of it and also for receiving
feedback and being able to improve and also receiving some help because you know, now there's a community around it and I'm not the one, you know, doing all the PR and all the changes and all of that. There's like a bunch of people who are doing that and improving the project, right. From a you know, more user perspective, I would say there's one advantage. Obviously you have access to potentially you know good technologies for and you can do with it whatever you want. But more than that, if you encounter an issue or an error or something that gets in the
way of you using it, if it was closed doors, you had nothing that you could do other than going to the, you know, software provider and asking them for for the change and wait for whatever time they had and their prioritisation. But if you're a user of open source, you can go there and change whatever, make the fix that unlocks you, right? So that's an empowering aspect and they say the very final aspect, which is super important though is the community aspect, right? So people that have. The same interest in using this project, collaborating between
each other, ask questions to each other. And the larger the community, the more likely that someone can find an answer and can find someone who can help them out, right? So there's that participatory aspect that is very, very important. Yeah. Which is really interesting because then you almost question if there can be some sort of metric that would measure the quality of the software development depending on the close, the the closeness or the openness. Like can you make a statement,
And I'm not saying that you can, I'm sort of questioning like, can you make a statement and say that one could hypothesise and maybe sort of speculate that open source software is more regulated than closed source software? Do you feel that also the sort of psychological pressure of being part of the community and having that accountability and transparency contributes to that? Or is none of that true? I'm really convinced of that
honestly. You know there is this famous book called The Cathedral and the Bazaar that really you know, highlights these kind of more collaborative projects as you know the Bazaar approach as opposed to the Cathedral top down. You can also rephrase it to be top down versus bottom up to a certain extent, right. And one of the really good examples there is Wikipedia that is like self regulated, but in the end it would not be would be really difficult to achieve that kind of average level of quality and that breadth of coverage. If it was not community
collaborative project, that is what makes it possible for it to exist to begin with would be too complex for an organisation, even a large one, to do on their own and the top down and the decision making could impact the quality negatively, right? And then that book makes an argument for the Bazaar to be like a better alternative to the Cathedral in most in most situations. So and I yeah, subscribe to it I guess. Yeah, I mean it's interesting analogy that you painted there as well Stephen.
Look at machine learning and model building per say. It's as we mentioned at the start, something that you have great expertise in. I think that you mentioned to me previously in our briefing that there's been this shift in the process of accessing and utilising machine learning models where data collection and labelling are sort of no longer the initial steps. Could you elaborate a little bit more that and talk about the change and maybe it's implemented, the the sort of implications on democratisation
of AI, et cetera? Absolutely. Yeah. It's a topic that I'm, you know, I'm spending a lot of time thinking these days because obviously impacts also us as a company, right. And so because of that, it's like really top of mind for me. The way I see it is, you know, there have been large language models for a while now, but they only gained steam starting last November with the release of Tragic PT, right. So I think it was more a matter of interface than technology, because what was going on behind the scenes behind charging PT were the same exact models that were available, like GPT 3. 5
Turbo that was available for a while before, right? But nobody was not nobody, but substantially smaller amount of people were paying attention to it then the ones that got whooped by interacting with tragedy team, right? And so that revealed to many people the fact that there are tasks, in particular some natural language based tasks, where a general model can perform really well without the need to provide the additional data. A really good example of that is for instance summarization,
right? If you try to use such tragic PT, point it to like some some piece of text, provide it in the prompt and tell it to summarise it, You get a really competent summary right? And you have done nothing, meaning you have not really trained any model right. It was already there available for you to query and get the results out right. So for the machine learning development process, you know you always kind of started from data collection and when you want to train a model.
The you know starting point of training that model is having the data that is collected. But the goal of training the model is that then you want to run inference on into new data points. But if there's a general model that is already available that you can run already inference on, why do you want to train at all to begin with, right. And so these questions led me to think about how the machine learning process is redefined by the access to large models and Lawrence pre trained models in general. Right. So my current thinking which is
still in flux but is like. My current conclusion, I would say, but a year from now, maybe we can have again this conversation and my answer could be different. It's actually really a positive change because it makes the power of these technologies available much earlier, right? And so the beginning of the process is not anymore. Collected data is thought to query a model and see if the model can already produce the outputs that you want. The reality though is that for many many tasks the trade off between the quality that you could get and the cost of
running these large general models is not ideal. In particular, you can have these large general models that produce anything, for instance French poetry, but maybe you want to use them for just the task of summarising. Um, tweets or categorising reviews of items in a recommender system or things like that, right? And so over time, if you build an application using the general model, over time you will collect data and the data then
can be used for training a smaller, specific, not general model that achieves the same if not higher performance than the general model on that specific task. And it's cheaper and faster to serve. But the discovery phase if it's worth doing it. No, thought if it's feasible at all, doesn't start with it anymore, but starts from like wearing a model. OK, exactly. And that was actually gonna be my question because I was thinking about the likelihood of it actually. So the the LLM, the large language model of it producing this specific data that you want
because obviously there's a lot of, given the fact that the majority of them are trained on the World Wide Web, then the specificity of data that certain enterprises require or want and also needs dependent on obviously the gated component of content that would want to be accessed. I think that there is that necessity for what you've just outlined that you've got smaller models that are obviously much higher performing. I completely agree with that and
I think it's like it combines a bunch of things, combines specificity with performance because again, the fact that is precisely the specific is what enables it to perform really well on, you know, on user data. Despite the fact of being smaller, right. And that makes it for like a cheaper model to serve because it's smaller and so also faster kind of latency and inference speed. So the combination of all these aspects makes it for something that is production grade at opposed to a general model that
you know may be doing its job well in the general case. But it's also potentially pretty slow. Like if you have streaming data, 10,000 data points a second, but you're running inference takes half a second for each of these data. Obviously these two numbers don't really work together really well, right? So, and I mean I think that regardless of the either or depending on what model you choose to use, there's always that impertinent concern and crucial concern of data security, especially when using machine learning models in an
enterprise set. And how do you address the the issue of data security? Well, enabling more people like including developers to access and use machine learning models, especially like genetic larger ones that are built for end consumption. Yeah. So our approach, which may not be the only one, but our approach is to first of all we decided that we want to provide it to all our customers only open source models. And the rationale behind it is that you know they are users,
can inspect them and can analyse them, and the whole community can provide evaluations and not really guarantees, but you know the the fact that all eyes are on them from the whole community. Increases the likelihood of having, you know, if there's something wrong or the business they generate unconstrained tax that is damaging or insulting or whatever, you know, everybody will notice that and will be able to do something about it, right? That's one aspect. And then purely on the data
safety, security and not leaking out data, the way we approach it is that we make it possible for people to deploy these models in their own virtual private clouds so that again the customer data that goes into these models never leave the run environment. And the outputs are never leave their environment and the models themselves live there, so that there's all full ownership. And so even if you train a model, fine tune one of the different source models on your data, the artefact that is the output of the new model weights belong to you as a customer,
right. We think that is very, very important. The reason is that otherwise, if all the data in the world is piped through one company, I think there's like a concern with that to begin with and the other. You know bigger concern is how do I as a company protect myself and differentiate myself from others and data is my asset, right? And so if I give up that asset, I am worse off by giving up that asset. So I don't think the companies will want to give up the that asset.
And so I think that this kind of approach of isolating the environment is the best one so far. Yeah, can imagine it is quite a concern. I mean, have you had any reservations, especially around the approach of offering the model as an open source model? Were sort of typical narratives that you are approached with and that you discussed just to give for listeners a little bit of an idea about sort of genetic concerns that come with providing an open source model especially to I imagine like B2B
customers. If you're targeting those, is it less of a concern for a B2C market like what sort of conversations are you having? So are you seeing like the potential downsides of of a model like that that I see that really you cannot control beyond again the specific commercial customers that you have. But again once you put it in the open source, you cannot fully control the usage of those models, right? And there is a potential concern because again the there could be a negative externalities for me,
people can use them for potentially for harm or different kind, right? On the other hand, I think one could make an argument that is similar to the argument of security. And in the security community is pretty well understood that security by let's say, obfuscating and obscuring the source code or what you're doing is not a great idea, because then you don't know if there's an exploit and exploit can go not caught for a long long time, while if it's in the open, there's multiple eyes there.
And so it's more likely that someone who will have discovered the exploit and is unable to fix it, right? Which is not true in the closed source case. And so, despite the fact that, again, I acknowledge the fact that open source models can potentially be used for harm, I think it's better to have them open so that those harms can be mitigated by the whole community, right? I would rather trust the community to mitigate the harm than a single company to do it. So I mean, I think like just
before we end our conversation, I think it's important to reflect on the possible development now of the machine learning and open source ecosystem and also how that plays into generative AI as a whole. What's your own opinion? What do you foresee or maybe your hopes and expectations The there are a few aspects of I think actually for me personally are particularly important. I think I I'm really enthusiastic about the development of machine learning in the open in particular
because I've seen the speed and the enthusiasm of the community in providing you know tools and models that are very, very effective. And if you see there was that famous leaked document from was an internal Google document where they were basically telling their own employees that they felt that they had no defensible mode when it comes through for for LMS. And the their rationale was as lied where they had performance don't know exactly how it was
calculated, but there was a GT4, the role internal Bard and the performance of open source models. And the earlier open source models like by earlier actually mean six months ago not so much longer. And the latest the speed of at which they were improving was so high that they were like that slide was basically projecting, matching if not overcoming the performance of the closer systems very, very fast. Right. And so that's one aspect that makes me very excited about it.
One concern that I have is explicitly about data and data ownership. Most of these models are trained honestly on data that they should not have been trained on. If you look at the lion data set in particular, it's you know data set has been scraped from the Internet without permission from the, you know, authors of these images. And the models generate image that can imitate the, you know source material they've been trained on And that's
detrimental to the people that have been produced these images potentially And I don't find that you know really ethical to begin with. It's to be seen if it's legal or not in different jurisdictions are are like moving to identify creating like new legislature about it. So we will see if it's legal or not. But for me personally, I don't think that that's article to begin with, right. So that is a potential issue that I see. But it's true for both closed source and open source. Yeah, that's closed source can also scrape the same data in the same way, right?
So. Yeah, sure. Do you think it's possible though to sort of cap or put a net around data ownership and really regulate it, especially when it pertains to data set as large as scraping the worldwide web court. And it's difficult also to have a guarantees more than anything else. But for instance, I believe that we should at least start by doing something like having licences around the pieces of content that not only include can I copy this, can I share
this, can I do something commercial with it? Like you know the the Creative Commons licences, but for instance could be commenters could start to include canine trainer. Model Trainer Model, right? Yeah, which would be an initial and an important step to approach what you're. That doesn't guarantee that nobody will ever train a model and this right, But at least it will give the authors of the content some, you know, a legal mechanism to potentially say, well, listen, this model is generating something exactly like my content or something very close to my content probably was trained also on it.
So maybe you know, can require a little bit more clarity and transparency about it. Yeah, well, it's certainly a fascinating discussion, and it's one that can go in so many different directions. I mean, I think that there's so many ethical and ownership concerns that come in. To more prominence nowadays as well because of the use of machine learning models and in generative AI and obviously the applications that they're being used for. So I want to thank you for being here with us today and obviously sharing your insight and experience with us.
It's been great. Yeah. It was my pleasure. And thank you so much for having me. Thank you. So I'd like to thank everyone else who's stayed with us today, who's listened to the conversation, who's enjoyed the conversation. Don't forget to subscribe to redefining AI on your favourite. Broadcast channel and we'll enjoy 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...