[Music] [Music] [Music] [Music] on today's episode of future says we have sahara sadie ai research lead at king prior to joining the famous creators of candy crush she had applied research to user experience at spotify distributed deep learning at cluster one nlp at meltwater and product recognition at oculus ai she's also a co-founder of women and data science ai and ml sweden hello and welcome to future says sahar great to have you on the show to talk about all things ai in gaming thank you for having me excited to be here so the i guess
the shared histories of ai and gaming are inextricably linked to the years we've seen a lot of use cases it dates all the way back to the late 1940s when the first one player online chess game was initially considered through the years of course things have gotten bigger and better than ever before but one thing has always remained constant that the gaming industry has been one of the earliest adopters of new novel groundbreaking research in ai for a range of use cases um creating more realistic gaming environments accelerating the game and level development process things
like personalization content automation we've all seen and many people would go so far as to say that ai is not just transforming gaming but with that it's transforming how humans in general act with perceive and and sort of interact with artificial intelligence so it's very very exciting time and king themselves have about 300 million monthly gamers so they have a scale that most people in the industry can only dream about and and with the gaming industry set to topple 250 billion dollars by 2025 there's no better time to talk about this and no better person
than sahar assadi to tell us all about it so zahar let's jump right in and can you talk to us about the evolution of ai in gaming and where we sort of fit today uh sure i think you gave a very good intro uh like you know where where it started and there's uh like you know i last year i had a lecture at the university where i was telling about the history and if you look at it it's like you know even a definition of uh artificial intelligence also started from like you know together
with the uh trying to solve uh games and puzzles uh and uh has been like the gaming has been used as a test vet for ai um but also like you would be surprised to see that the a lot of gaming teams gaming companies didn't started with having ai as their core part of their business because there's a lot of um easy wins that like you could have with with heuristics and at the same time also there's a lot of creative elements that builds games uh but the recent years um this like you know by
recent years i mean like the past decade uh this has uh changed so a lot of gaming gaming companies started looking more and in applying ai uh in different aspects so looking at uh automation around content looking at personalizations uh game economies and uh like you know chatbots and like you know narratives uh in gaming if you think about also the other side of like you know how ai is contributing to the development of ai and think about companies like deepmind and like you know research groups in academia a lot of interesting things are coming
out from there with the goal of achieving general ai and i'm like you know getting towards that direction and also using ai using gaming as a testbed for developing new ideas like you know we see a lot of progress in reinforcement learning in using like you know generative models that is uh happening by using gaming as a testbed and can you dig into some of those use cases then i think you're two and a half years or so at king sahara so what have you spent most your time at so um i mean the time
that i've spent that king has been in like you know a couple of areas one of them which has been very exciting is their own content automation so um creating content is one of the important pillars uh in in gaming and there's a lot of creative work that goes through by designers and uh having that it also improves the quality of the game experience that users have but also there are a lot of steps that they are repetitive and they are time consuming and we would like to take away those steps and rather have designers
to to spend time on creative side of it so with that our team has been focusing on two areas um validating content so before releasing content to players and validating its quality and they're helping designers to iterate faster and test the the quality of the levels in terms of the dynamic of the the gameplay uh by pl by designing play testing bots and the other aspect is around generation so um if there are a lot of levels for instance in candy crush that because some design principles has changed or like you know we got to
a point we would like to refine some of those levels so like you know how we can automatically tweak those levels so uh so for those two we started big projects so we have developed bots that is already part of the production and design is used for validating the content and we have published there on those we've looked at supervised learning methods we've looked at also reinforcement learning and the other side is that for for content tweaking where we managed to put together uh this this validating bot together with some some evolutionary methods together to
create a content tweaking agent and uh being able to release some some of the levels uh with with this spot actually was something exciting to see um and the second part is more around like you know understanding more the user experience or looking at clustering of users one of the things that i really like and we have been spending time is that a little research that happens in universities is hard to bring them and use them directly in industry so we have been investigating what are their requirements of industrial applications especially in gaming and if
you want to use clustering and also like recommend their systems to areas that we we looked at and we've published there how you can improve the state of the art in order to be able to solve and address the scale and the complexity of the dynamics that you have in gaming especially mobile games okay and how do you actually measure the benefits that these use cases are bringing king i think uh you're touching on a very uh good like your interesting topic um it's very it's very challenging to be a researcher in industry um because
you also need to support and understand the case the business cases and also align your time and like priorities based on those right so um like we've we've put a framework for instance where we are looking at different phases so we have discovery uh we have proof of concept development and operationalizing machine learning and in discovery phase we basically go crazy try out ideas we look at previous work we look at data and opportunities and it's usually a small a short cycle and where after like this initial invest assessment we look at the estimate of
how long time this research will take the potential business impact that it can bring and try to pitch that as an idea and to get prioritization on then proof of concept is a longer time that we get after showcasing with this discovery phase and then like you know we spend time on on a project and and the last phase you mentioned was sort of upper operationalization yes yeah and that's something i've seen you present before sahara so can you talk to us about aiops the benefits that would bring yeah sure um i mean one of
the like interesting things that our developments that we sent recently we had at king is like you know investing further in machine learning to democratize it and like you know make it accessible for everyone in the company to use especially data scientists and and then also like you know understanding better where you have like you know more production systems like you know how to maintain them and support them and be able to scale the work that we do and for that we started having a sister team to to my team which is called ml ops
uh it's turning to a hot topic like you know the past couple of years as you know and the um the goal there is to um not provide tools and apis and also like platform where we are taking away all of these complications of engineering from data scientists to be able to explore their data train their model and then easily deploy it and monitor it or and if needed to retrain it um and and look at like also like their features and get insights about um the thing is that the tools and the like you
know and like engineering packages they are developing fast and things change quickly and for a data scientist to be able to to be the swiss army of solving everything and spending eighty percent of the time actually on fixing the engineering challenges is something that i think we should move away from and that is one of the ambitions of having having such a uh such a platform like ml ops so do you think ml ops is as important as you know investing in ml ops is as important as investing in mm model development should it really
be hand in hand should there be no scale in terms of maturity every company doing ml should be doing mlaps as well i think it really depends on what type of company and what level of ai maturity we would we are talking about there are good articles that they are talking about maturity stages and like you know do we do we have the culture uh and adoption in the company and do we have the data available and data models available in the company and then like you know the modeling that sometimes you don't really like
you know the company might go with two models and the models they are they don't need like you know sensitive slas or like low latencies you don't really need that much support of operationalizing and you might just want to have it in the one simple team like ml engineers doing this job or like hiring just one ml ops engineer as part of an ml team to do it but if you get to a larger companies that is something that is inevitable uh i also want to highlight that like there are a lot of good platforms
so i wouldn't say a company would need to get into building everything by themselves they're also both open source but also like you know enterprises that can be used uh so as a first system i would avoid that but at the same time it's important if like you the if the company is in a certain level of maturity in ai to consider that nothing comes for free right and you need to invest and consider that there is there is like you know uh you need this initial investment to be to be able to have this
enablers for the data scientists to to be able to to great to have great amazing works in production yeah i think you mentioned an interesting point on hiring and i know gartner said for the coming year one of the emerging roles is an ex ops coach and is that something you're looking at a king i know you've been hiring quite recently there are um so we don't have or we are not planning to have something like x ops but we have x ops coach but we are hiring i actually we currently have two ml ops
engineers in our team and like you know building up that team definitely requires different set of skills like you know uh existing ones like you know data engineers ml engineers envelopes together but also um thinking about like you know what comes next in future i think there are also some other areas um like for instance advocates for ethics especially in europe ai ethics and fairness is something important especially with like eu legislations around the ai trustworthiness and like you know topics are responsible ai it's important to have advisory groups that they are looking at like
you know fairness and being able to have ex to explain what happens for the user and how ai is used and move away from ai as a black box so i see that's one also becoming a big future role so you've just introduced my favorite topic sahara in terms of sort of responsible ai so can you tell us at king how you ensure transparency in your division so um like my personal motto and also that is kind of aligned with what our team motto is is to bring research to product and production responsibly and so
we are trying to i think it's important to consider that in the hiring as well so like you know that should be part of the culture that like you you care about the like you have a diverse team that that reflects on like you know thinking about how what the user of the user experience would be and it and believes and cares about that so that's the very first step that we we have been looking at then the second part dimension is also like looking at explainability and interpretability for instance now we have an intern
uh working on this topic uh we have an industrial phd student who would touch on this topic in hair hairsties as well and where we want to know like you know if you are like you know if you're first of all whether we use like you know bright features and if you're using these features how this affects the output of the model so and integrating explainability as part of like platform of machine learning is an important piece that our team is striving for um so those are a few like you know areas that we've been
trying to to consider and then like you know as a third pillar uh is also like you know bringing awareness to the company right so we have been also giving talks about like you know responsible ai and how this affects this and the um like you know bringing that into also considerations in operations and executions and i think that ties into something you mentioned earlier in terms of the culture so when you want to democratize data oftentimes the biggest obstacle is culture so yeah this sort of awareness workshops you do sahar can you tell us
a bit more about that and how would you advise other companies to create this data-driven culture i think um so the thing is that nowadays a lot of companies are data-driven right but it's also important to know what kind of data we are using and why we are using and being cautious and mindful of that and so king is a very diversity include inclusion aware company so there's a lot of workshops that are happening inside the company or like you know having also like groups for instance women at king or like calioscope that is about
like you know different ethnicities uh and and many other uh groups that we have that they are promoting a lot of these different aspects about uh posts about like you know employees but also that is reflecting also that there are our users that we are bringing in and of course sahara you know you're being modest here but of course you don't just work at king and you do a lot of work outside of king uh so could you tell the audience more about women in data science.com and some of your initiatives in that space yeah
thanks um yes i mean that's uh something very close to my heart so since uh now almost five years ago we started with uh two of my like two of my co-founders galina shabina and rebecca jacobson we started women in data science sweden and now we've changed recently the name women in data science ai and ml sweden as you see like the field is changing and like in a cup like you know you need to also reflect that uh there and now our organization has grown so we have like you know four more amazing yeah
women joining us and we are running women in data science uh with stockholm conference every year so we have done four of them so far and which is uh in association with the stand with stanford a global initiative where like you know in a lot of countries and cities in the world around march there are conference featuring women on the stage and building community developing this community and we started with that and then we realized that we want to do more because there is so much interest from this community here in sweden so we have
been running mentorship programs we have been setting up meetups and a few social social events we are also running some long-term projects for instance uh very often you hear that from conference organizers that we couldn't find a female speaker while there are plenty of them it's just they are modest and they don't they don't promote themselves as much so we we are putting together a database of speakers uh to to share externally and also looking at the talent uh in general in sweden in this area if we can so we are talking to for instance
to ai sweden if we see we could do something together and to get to know the trends in sweden and potentially collaborate with nordic as well so uh not just limit limit uh our network to sweden yeah it's it's awesome initiative and i was lucky enough to be in stockholm for the data innovation summit recently so i met a lot of these guys and people in person and and they're all fantastic and and we're definitely on the right path but um so our four you know i guess executives may be watching this what are some
easy steps they could take to increase the diversity of their workforce do you have any tips in that respect um i think yeah that's a that's a that's a difficult question to answer right so uh one of the thing is that like you know going through talking about diversity and inclusions there are a lot of bias there that we are not aware of so uh i think yeah taking those tests around unconscious bias it helps us a lot to know more about like where our bias is it's not only related to women it could be
about like you know age and a lot of other things right and then the other thing is that diverse committee in the interviews usually also brings more diverse tasks a group and also um i think very often we are also like you know the ads if you look at the advertisements they are not really thought through you see advertisements that i would like to have someone a machine learning engineers or mlaps engineer with 10 years of experience these titles are not even 10 years old and so someone with a high confidence which is like more
prevalent maybe like you know in in like you know certain genders um then they would like you know look at the checklist okay maybe that means software engineer i'm fine and i don't meet these requirements it's okay i still apply and that person might be a great person but the thing is that a lot of people don't apply and that is very common in women uh so being more mindful and run through those kind of advertisements to true those who can like give input out would be something great and i think companies are also it's
not just hiring but it's also retaining uh and i think there's a lot of challenge also without having good mentors for women in uh in the companies uh to develop their career and become more senior especially as individual contributors or impactful leaders and that's something i think that the companies could could invest on too yeah it's a good point so at the conference a couple weeks ago matthias frass from nordia mentioned that for ai to work it depends on two things people and culture so yeah exactly we spoke about culture speaking about people now i
completely agree that it's not just getting people in it's retaining that best talent in your organization so sahar how do you do that then how do you you know within your team itself what are their career trajectories how do you avoid employee turn i think uh i learned a lot from my my previous manager and uh and they was like you know he was not trying to put the person in a box described that once wanted to hire was looking at the person and see like you know is this person would be an impactful person
and joining to my organization and then investing on that person right so um like you know one of the things for instance we do is that now we're gonna have that in two weeks as well we have hack weeks where like we collected the times of like you know that we you could have small hacks and hack days we put them together and we have a chunk of one week we do a good investment there of like you know helping the team to come up with ideas pair up and like you know work on on
on that on topics that they like and the one of our papers one of our good papers actually came out of one of these hack weeks and also one of the methods that we have in production also came from one of these hack weeks so it's quite fun it's very rewarding it's a small thing but it's still like you know it helps a lot in development the other thing is that um i think a lot of people thrive if you trust them and give them autonomy and that is what we have been trying to do
in our team and uh it's been really rewarding it initially probably takes a lot of time to to coach and like you know train people but uh but uh it's amazing like you know what what they can achieve so uh giving the opportunities uh having more defined uh career track around like individual contribute because now i'm jumping to another topic but uh you know management track historically has been very clear past and it's also like much easier probably to measure and like you know to to progress but if you go towards tech leads so something
like my role or like you know if you go towards individual contributors especially in data science and machine learning they are not really well defined because if you fall into engineering department is one thing if you fall into design or products uh department is another thing and like you know it's really hard and sometimes frustrating for for for individuals to learn how to grow their career so um it's it's good for for the if the companies could could help and define the craft and and like you know what they see the craft of machine learning
to be defined in their company and how how they can help uh individuals to grow themselves yeah what the the role of ai research leads sahara do you see that a lot should more companies have this uh it's a it's probably not well i mean there's a lot of these roles of like director of machine learning head of machine learning um or like you know research lead i think research is not a well-defined area in companies if you go to very small top top largest companies in the world like you know google they can afford
to have large large uh large research groups right but for other companies it is less and it's been like a less of a priority so research lead is kind of not that common i would say in smaller companies um but in it's i would say like you know it's important to have applied perspective as a research researcher in or research lead in in uh in industry because um a lot of we talked a bit about this but a lot of uh solutions from from from research in academia cannot be directly applied in industry and very
often also industry is not aware of potential solutions that you could bring in from other domains of research to solve us solve a problem and that is where i think a researcher needs to grow to be able to lead research in industry it's a it's a fun and rewarding thing but it's also very challenging yeah yeah yeah so fun and rewarding for me research has to be one of the cooler jobs in ai you must be very forward looking and forward thinking sahar so it's a rapidly evolving space but where are we moving next what
does the next five years in ai and gaming show us uh well i think it's a difficult question and like there's a lot of predictions especially when you get towards the end of the year you see a lot of articles that i keep an eye on and like you know talks about the trends and so it's hard to say but some of it is ties to applications so for instance especially like in the past two three years given the circumstances with covet like a lot of attention has gone to uh med tech and machine learning
for for health i see that continuing there are also some trends that are more research specific like for instance uh certain methods like you know transformers and this kind of things uh i think the research on reinforcement learning the research on transformers and on explainability especially explainability will continue and develop further and so on on the gaming front there was an article this week in the bbc about the robocop i know sort of a different game i know you had experience a few years ago sahara could you could you also introduce that topic and tell
us where we stand in there yeah sure um so i mean robocop has been around since 1996 seven and they uh division is to have uh and by the way by the way is robocop with you and not o for for those who are not familiar with it but uh it's it's uh the goal is to get to a point where we have a team of humanoid robots that can play football against a team of human players and then the the goal was for like you know by 20 50 so mid century to be able
to to achieve that and the with that like you know robocop consists of a few leaks so there are leaks like for instance simulation where it's it's focused around the distributed ai and not to think about the like you know the physical constraints of the robots but also like the intelligence of that uh where i've been working on for for a few years and then there are also like middle size small size robots that like you bring in computer vision some of the hardware of like wheel steering there's humanoid part where like you know you
have like you start like you know they learn the stability and then learn play to get there and they're also like in recent years like you know other parts like you know robot at work robot at home there's also rescue where the agents try to rescue uh in a scenario that like their their their airbend disasters so it's been a great platform very rewarding every year there's a symposium there's a also like you know competitions happening so i when i was bachelor student uh i i joined there in the simulation so we with my my
uh teammates we got third place award there and uh i also worked for a few years as a technical committee organizing committee and and also exec committee in in robocop it's been definitely a very fun journey to learn things try out things and get to know a community of great researchers which many of them now they are also in gaming companies or collaborate with gaming companies and has definitely motivated me to come to this domain yeah yeah yeah well that's what i think is so amazing about gaming is as you said earlier this is sort
of a test bed for innovation and all the latest and greatest go through gaming and then are generally sort of embedded into daily life and other applications so we've spoken about a lot and we've spoken past the time but uh any any final words of wisdom from yourself before we close out the show um i mean there's it's been like fun to talk about all of these topics yeah of course like if you let me talk i will talk another probably two hours about these topics because they are i'm really passionate i think it's a
luxury to have a job that you also enjoy it and like it's it's fun and i think um it's what maybe final words is just uh a lot of time machine learning in recent years is considered as like is treated as a hype and so companies come and say that oh everyone is doing machine learning so we should do machine learning so let's build a model i think yeah both for for the company and like you know c level but also for for like you know machine learning engineers in the company both of them it's
really important to understand the needs so that what we build is actually relevant and and it's also important to invest and give it some time so i mentioned about this like play testing but it was not just a one day thing that we built it like you know we it was like you know maybe like you know two three years of projects gradual projects that got to to this place that now is in production so be patient be realistic build the culture and also for researchers or machine learning engineers understand the needs before jumping into
the state of the art and and and putting that in production love it brilliant way to finish sahar words of wisdom indeed really appreciate your time today we'll include some of those things in the show notes and hopefully we'll get another two hours later this year or next year in person sahara where we can continue the conversation i look forward to that and thanks again for having me thanks for watching now next up on alter.com forward slash future says will be mink tang chief data officer at the nhs she'll be speaking about how the uk's
health service is responding to covert 19 with a digital first approach hope to see you there