Transcript

Episode 8 · Building Machine Learning Products: Problem Definition, Domain Experts and AI Video Interviews

65 min

Download (.txt)

0:00 Episode Introduction

Alexey

0:00

Hi everyone, welcome to our event. This event is brought to you by DataTalks.Club, which is a community of people who love data. We have weekly events. Today is one of such events. If you want to find out more about the events we have, there is a link in the description. Go there, click on that link and you'll see many events we have in our pipeline. Actually, right now there are quite a few of them, so go check it out.

0:23

Then do not forget to subscribe to our YouTube channel. This way you will get notifications about future streams like the stream we have today. And we have an amazing Slack community where you can hang out with other data enthusiasts. During today's interview, you can ask any question you want, but Slido does not work for some reason today, so ignore that part of the slide. Just use live chat for asking questions, and I will keep an eye on the questions because I have them on my phone here.

0:55

So ask your questions during the interview in the live chat. I will stop sharing right now. So just use the live chat, ask your questions, and then I'll be keeping an eye on these questions. And I think that's pretty much it. Now I am opening the questions we prepared for you, but mostly you yourself prepared.

Reem

1:16

I'm a huge fan of the community, by the way, so I do encourage everyone to join the Slack. And I also have your events set up on my Google Calendar, so I'm always up to date with them. So you guys do great things.

Alexey

1:31

Thank you. You're setting a very good example. That's what everyone should do. Okay, I just want to make sure I pronounce your name correctly. It's Reem?

Reem

1:40

Yeah, so it's like long "e", right. Yeah, if you know French, it's like an "i". R-i-m is also another way you can pronounce it.

Alexey

1:50

I learned French like 10 years ago. I actually spent one year learning French and now I cannot even count to 10.

Reem

2:00

I get that. I actually studied French all of my elementary and high school and I can barely put a proper sentence together.

Alexey

2:11

Yeah, I remember how to say "I do not speak French." That was very useful when I lived in France. Yeah, probably if I start living in a French-speaking country again, then it will come back. But now I live in Germany, I don't need French.

Reem

2:28

Yeah, German displaced all the French, like, immediately.

2:36 Guest introduction: Reem Mahmoud, intervu.ai

Alexey

2:36

Anyways, let's start. So this week we will talk about building machine learning products and teams, and we will see where it goes. Originally the topic was that, but we changed the questions a little bit in between. But we have a very special guest today, Reem. Reem is the director of data science at intervu.ai. Do I pronounce it correctly? Intervu?

Reem

3:03

Yeah, intervu.ai.

Alexey

3:03

Which is an HR tech startup. She has a lot of experience in training and mentoring people in the data space. She also co-founded an AI education company and has skilled more than 3,000 people in total. She has over 8 years of experience in the data space and she also has a PhD. And you researched transfer learning, right?

Reem

3:31

Yes, machine learning from limited data. Yeah, exactly. Transfer learning was essentially where that led.

Alexey

3:39

So yeah, welcome to the interview, to our event.

Reem

3:42

Thank you. It's a pleasure to be here. Like I said, a huge fan of what you guys do, so I was very happy to get the chance to be here and contribute back in some way.

Alexey

3:54

Yeah, thank you for being here. And yeah, the questions for today's interview are prepared by Johanna Bayer. Thanks, Johanna, for your help as always. And before we go into our main topic of building machine learning teams, let's start with your background. Can you tell us about your career journey so far?

4:17 Career journey: from electrical engineering to AI

Reem

4:17

Yes, so I originally started my career in my bachelor's studies, as most people, and there I was actually an electrical engineer. So I was fascinated with physics. I was a huge nerd when it came to electromagnetics and that was something I was very passionate about. It led me into electrical engineering. So it was not too far, but a bit of a different field than where I am today. But there was still an intersection with software engineering, computer engineering in general.

4:46

But it was in my last year where I took, accidentally actually, my first course in AI, and that was my first exposure to the topic. And I got fascinated. I was someone who was always curious about how things are built. And so when I came across this idea that we can get machines to do things in a smart way, that was fascinating for me, because I was only familiar with traditional software and explicitly giving machines instructions on how to do things. So this idea of being able to do more than that was very cool for myself back then.

5:21

So I decided that I wanted to pursue a master's degree specializing in this area, purely out of just being more curious. And back then, I mean, it wasn't that long ago, but back in 2015, it was kind of an obvious choice to go for graduate school. I think today you have a lot more options on how you can dive into the field. So that's what I did. I went into graduate school, really enjoyed the research that I did, so I extended it into the PhD as well and continued working in the field.

5:57

During my PhD, that's when I co-founded the startup on AI education. So I started kind of balancing between my academic work as well as the startup world and how things worked there. Got fascinated with startups, finished my PhD, joined another startup, where I'm currently building the HR tech solution that you mentioned. And yeah, this is where I'm at today.

Alexey

6:28

Yeah, well, it must be not easy to simultaneously start a startup and do your PhD, right?

Reem

6:39

No, yeah, it was not easy, but it was a lot of fun actually, because it was a nice balance. PhD is very intense and you get to do a lot of work. I mean, for those who have been on a similar journey, you get to do a lot of very intense work, and mostly, to some extent, alone. And I balanced that out with the excitement of working with a team and training people, and kind of that community aspect, because everything that we also did in that company was very much community-driven. So it was kind of a balancing act. As long as you're enjoying what you're doing, really, you end up managing somehow, I guess.

7:21 PhD research: multitask learning and transfer learning

Alexey

7:21

Yeah, so you said that you had your first course in AI in the last year of your bachelor studies, you really liked it, and you enrolled in the master program. You also liked it, so then you continued researching it during your PhD. And your research was about transfer learning with limited data, right? Can you tell us a bit more?

Reem

7:48

Yeah, sure. So, I mean, that was a very long time ago, but I hope I can remember how things came together. So during my masters, my adviser was already working on certain areas, and he was specifically focused on natural language processing and context-aware sensing. And back then NLP was still not the hype that it is today. So it was more foundational NLP stuff, I would say. Not basic, but more foundational. I was fascinated with the context-aware sensing because the applications that he was working on were very much touching people's lives.

Alexey

8:24

You said context-aware sensing? So something like context-aware sensing?

Reem

8:33

Yeah, like wearable devices for human activity recognition, emotion recognition, sensing human behavior and environments, stuff like that, right. So he was working on a variety of these things, so I started looking down this direction. I didn't end up going down that path, but along the way I came across the idea of transfer learning and multitask learning, and this concept of getting models to learn from each other.

9:05

Again, I was starting in the field back then, so for me, driven by the same curiosity, I was like, wow, okay, that's interesting. Not only can you teach a machine, but you can get them to kind of learn from each other's experiences. That sounds very cool. So that's when I got into diving into multitask learning, specifically a branch of transfer learning where you're able to learn multiple tasks, multiple problems that you're trying to optimize the model for, using one model essentially. So saving on resources. If your data sets are limited, you're able to share and leverage knowledge across the tasks to boost the performance and stuff like that.

9:44

And that was the focus in my Master's. It extended into my PhD and branched out a bit more, where I started looking into teacher models and, if you want, more overarching challenges in multitask learning and transfer learning. Like the challenges of catastrophic learning, where when you fine-tune a model, you forget the old task. Are you able to maintain tasks as you fine-tune models even though their data is missing? And kind of diving into these things in more detail. But all within the realm, or the umbrella, of leveraging trained models to boost performance on other tasks and new tasks that suffer from limited data. Whether some tasks naturally suffer from limited data, or whether you're in your initial stages of training and you don't have access to this data.

Alexey

10:41

It's the first time I hear the term catastrophic learning. That's interesting.

Reem

10:46

Sorry, forgetting.

Alexey

10:49

Yeah, I know not the term, but the concept. Because it happened when you set the learning rate too high, the model just overrides the weights accidentally. I don't know, if you take this ImageNet model...

Reem

11:08

Yeah, exactly. It just forgets. Or even if you fine-tune it on a smaller data set, it's going to become optimized for the new one and not really be able to perform the same on the old task. Very, very interesting problems. Again, research-driven, so they were very detailed, but it was an interesting space, and this is the direction that I took.

11:32 Moving from academia to industry

Alexey

11:32

And how did you switch your focus more towards the industry? You were doing your PhD and then you probably wanted to have something more practical, or how did it happen?

Reem

11:50

Yes, actually. So even though I enjoyed the research that I was doing and the work that I was doing, I wasn't very much driven by the way that academia worked, and kind of the reward that you would get out of this heavy, heavy effort that you would put in. And I really wanted to be in a place where I was able to build something that would actually make it into practice, and I would actually be able to see the impact and touch people's lives, basically. Because most of the research that you do today doesn't end up making it to industry, because of many, many factors.

12:29

So that was something I actually decided early on, that I would be switching to industry once I'm done with my PhD. And so yeah, it was driven from that, being able to make a direct impact with a solution that people can actually use.

Alexey

12:50

Yeah, I guess touching people's lives with PhD research is way more difficult, because in industry the loop between you doing something and then it affecting people is way shorter, right?

Reem

13:04

Yes, yes. And then, again, most research doesn't make it to industry, right? On the industry side you don't see it that way, because you do see these foundational models that come up from R&D teams, but they are really centralized in these big tech companies. Everyone else in the world who's doing research, most of the time they're contributing to the body of work that's out there, yes, but it's not making it to production.

13:33

And one of the main reasons actually is, when you do research and you're optimizing models or you're improving them, you're not really doing it with industry standards in mind. So many of the methods that are out there are probably not practical to make it into production, probably not needed, especially with companies that are still in early stages. At least where I am, I know that getting to a point where you have R&D-grade models in production is not really needed in most of the companies. In the region where I am, people are still in very early stages, kind of discovering how AI can help bring value to their organizations.

Alexey

14:19

And did you immediately start with a startup, or was there something else? How did your transition go? What did you do?

Reem

14:29

I did. I immediately started with a startup. Actually, I started before I finished my PhD, by a few months. It was a coincidence really. I got approached by the founders.

Alexey

14:43

So you accidentally started the startup?

Reem

14:48

Not really. I'm not a founder of the startup, but I was approached by the founders, who I'm sure did not accidentally begin their startup. But they were still in the initial stages of thinking it out and they wanted to brainstorm feasibility and all that stuff. And through the conversation we got to a point where I was like, yeah, I'm finishing my PhD, and they're like, oh, would you be interested to join? It was a very interesting product that they had in mind. It was something I knew would be very challenging and interesting to work on, and the impact for me was very meaningful. So I was like, okay, here we go, that's what I'll be doing after I'm done.

Alexey

15:27

Was it a difficult transition?

Reem

15:33

Not really. I know a lot of people think that the transition from PhD to industry is challenging. I think the one area that it's challenging in is the perception on the opposite side. I think people in industry look at you as a PhD candidate and they have certain assumptions that are difficult for you to navigate, depending of course on who you're talking with. But I've seen this a lot. People assume you're going to be driven by whatever you were doing in research, and you're going to be very detail-oriented, and you're not going to be able to adapt to industry standards and industry requirements. Prejudices, how do I say...

Alexey

16:14

Prejudices.

Reem

16:15

Yes, exactly. That you're going to be stuck with your academic mindset. And obviously some people think you're overqualified and they don't consider you, et cetera. These challenges.

Alexey

16:25

It's not like you're going to be stuck with your academic mindset. It's what people think you're going to do, right?

Reem

16:30

Well, yeah, exactly. And then there's also this thing that I faced, and I know many people who face it, which is, you leave your PhD and in industry your experience is counted in years of work in other companies. So for them it's a bit weird to process: you've been in school for the past X years, so do you have work experience? I've been there and I was like, right. It's hard to explain, honestly. I've been in situations where it was hard to explain. I have the experience. I might not have the experience that you have structured in your mind. I gained it elsewhere and in different ways. So it's hard to communicate that to the opposite side.

17:18

But the transition, at least for me personally, wasn't that difficult. Maybe especially because I had already gotten exposed to industry. I was already consulting on projects, so working on industry projects wasn't something entirely new for me. And so I knew that the mindset would have to be different. You're not coming in to try and build complex models that are one to two percent outperforming state-of-the-art, and so on and so forth, right? So as long as you have the right expectations in mind when you do this transition, it shouldn't be difficult. And in many cases, actually, there are industry roles specifically tailored for PhD graduates. In my case, I wasn't working in a role that would require, let's say, a PhD. But there are many roles that would require that, in which case you don't really need to transition from your mindset.

18:12 intervu.ai: AI video interviews for candidate screening

Alexey

18:12

So maybe let's talk a bit in more detail about what you were doing for this HR tech company. As I understood, first it was a startup, not the one you joined. I don't know, was it in HR tech too, the first one?

Reem

18:34

You mean the first startup? So the first startup was the training, it was an education startup. That was my startup that I co-founded with a group of friends and that I worked on during my PhD. But the one I'm in right now, I joined after I finished my PhD. And I was one of the initial team members. I'm not a founder, but I was one of the people who kind of initiated the whole thing. And yes, it's an HR tech startup.

19:01

So we're building an AI... Actually, HR tech in general, in a nutshell, is any technological solution that's serving the HR space, right? Which is hiring or upskilling people, or both. So usually in HR you can talk about hiring, right, which involves actually many, many things. So screening and then the different interviewing phases that could be involved, managing, like what ATSs probably do today. And then you can talk about employee... I don't know what's the exact term, but kind of employee retention, employee assessment, right? And training as well. So this is all within HR. In my case, we're focusing specifically on recruitment, so the initial stages of people coming in, and more specifically on the screening phase.

Alexey

19:59

So this is the company where you work at right now, right? So what do you do?

Reem

20:08

So we're building an AI video interviewing solution.

Alexey

20:11

That's cool.

Reem

20:14

It is. It's very cool. Of course I'm biased. But the idea, or the motivation behind what we're doing is, and I think we'd all agree, CVs are not really the best way to present yourself, right? And so the motivation is to give everyone a chance to present themselves through a richer medium than just their CV. Usually in the screening process, you submit your CV wherever you submit it, the ATS system would do some keyword matching and decide if you match the requirements or not. Many flaws there, right, on many different levels.

20:54

We want to kind of change that and allow you to start with an interview and your CV. I mean, we're not going to get rid of your CV. The recruiter still needs to know what you've done. But to allow you to interview, so it's kind of like you're getting directly into the first HR interview, where you usually would not get this chance. And we assess you basically on behavioral traits. So we're not looking to assess you on your technical capacity, that would happen in later stages beyond screening. But the point is to give you a chance to present yourself and your qualifications as an individual.

Alexey

21:30

So behavioral aspects, like soft skills, right? And is the interview with an actual human or with an AI?

Reem

21:40

No, it's with an AI. So it's an avatar that interviews you. She actually has a name, her name is Isa. At the moment, we're going to have more interviewers in the future, but you get interviewed by an avatar. So the entire process is automated. It's cool because you get to do the interview really at any time that suits you, anywhere that you like, your phone, your laptop, et cetera. It's like a 15, 20 minute interview, and you get a chance to really give more than just your CV, right? And then in the background, your recruiter is able to look at your CV as well as your richer representation, if you will, of what you can bring to the table as an individual.

Alexey

22:28

So then it's also, I guess, recorded. So then the recruiter can look at the interview itself. Probably there is a summary, right, at the end of the interview?

Reem

22:39

There's a whole assessment. So you're getting interviewed by an AI, you get assessed by an AI, but the point of the AI assessment that happens in the background is to rank the candidates based on their performance, in terms of your level of soft skills, right? So in the background, the recruiter has an open position, whatever that position may be, let's say it's for a software engineer, and they would define the required level of soft skills that they believe is necessary for the role. And so you perform the interview, and then your performance on those soft skills is compared and benchmarked against the requirements, and you get ranked.

23:19

So the recruiter, at the end of the day, gets a ranked list of candidates. We don't tell them you should hire this person. The decision is up to them. But they get an easier filtration, if you want, where they can start with the best-fit candidates in terms of behavioral qualifications, check their CVs, see if they make it through the requirements, and they get into the system for the next stage of the interview. So this is essentially how it works.

23:47 How candidates feel about being interviewed by an avatar

Alexey

23:47

And what do candidates think about being interviewed by an avatar?

Reem

23:52

Mixed feelings. I've seen mixed feelings, actually. And one interesting pattern I noticed is that it seems younger generations really enjoy it, which I find weird. I get it if you're neutral, but they really enjoy it. I even had candidates who would tell me they were more comfortable interviewing with the avatar than an actual person, because the avatar was not judging them with facial expressions. I was like, we've probably had bad interviews in the past. I don't know what kind of recruiter was judging you straight on.

24:24

But yeah, I've had mixed. So I see candidates who are excited about this innovation and this new way of doing things. Candidates who are obviously uncomfortable, like, I'm not comfortable talking to the screen. And then candidates who refuse the process altogether, candidates who are not comfortable getting recorded and their data being stored or being used for training, or whatever reasons they may have.

Alexey

24:56

I was wondering, maybe there are cases when people think it's disrespectful that instead of a human, an actual human being... Can't you just find time for me? Why is there a robot?

Reem

25:04

That's interesting. That's a good point. I would get that as a candidate, right? For me, I would motivate it from the perspective of: this is not even an interview you would get, right? It's not like we're replacing the recruiter's interview or the interviews that come in the process. We're giving you an extra opportunity to showcase yourself better. You can think about it in a way like we present ourselves on LinkedIn as well, right? So you have your LinkedIn profile, which is an additional representation to your CV, and now this is kind of an additional step where you can present yourself as naturally as possible and have that taken into consideration.

25:55

I mean, what was the other option? You're going to upload your CV and some ATS is going to screen you for keywords, and you'll probably not hear back from the recruiter for a while. So again, that's my perspective. I'm on the inside. But that's interesting. I will see how we can translate that into the solution so no one feels disrespected. That's a good point, actually. It never crossed my mind.

Alexey

26:21

Because I imagine this is a replacement for when I apply for a job, there could be a questionnaire that I need to fill in, right? And this is kind of a replacement, but more interactive. Instead of thinking and typing, and that might take even more time actually than just having a 15 minute chat. And I guess the time is when it's convenient for me as a candidate. It's not like, okay, you need to show up at 3 p.m., right?

Reem

26:53

Yeah, exactly.

Alexey

26:58

You can take it whenever you want.

Reem

27:00

Exactly. So we tried to make it as convenient as possible. And this is actually what I do. So when I recruit for my positions, this is your application process: upload your CV and take the interview, and this is where the screening would start. We can talk about this a bit more, but I've had many cases where I really felt like if I had looked at your CV, I would not have picked you out of the screening. But it was because of the interview, and because of the way I saw that you presented yourself, that I was interested in you, and I thought, this candidate looks like they have promise and I would like to interview them further. So I've been there personally and I sense the value that can be brought to the table out of this experience.

Alexey

27:44

It's like a CV is a soulless thing, just a piece of paper. Not even a piece of paper, like one or two PDF pages, right? And you don't always remember that there is a human. But when it's recorded, you can see what kind of person it is, right? Maybe it gives...

Reem

28:06

Yeah, exactly. And they provide richer responses. They give you examples from their work experience and you get to know them a bit better. Also, a lot of us are not very good actually at making our CVs. It's probably better these days because you get all these tools that kind of help you. Still, most of us are not good at designing our CVs, so it's really not a good representation of you, even in that single page.

28:37 Journey of an ML project: problem definition, domain experts, and data

Alexey

28:37

Well, I imagine in this company you have a lot of ML products, and since we talk about building ML products today... We have a lot of questions, but there's a question from Peter, which maybe is a summary of all the questions we have. The question: can we have an overview of the journey of a machine learning project from the beginning to the end, and how to track value from the product? So I guess this is quite an extensive question, which covers pretty much everything.

Reem

29:13

Especially the last part. That's a good one, actually.

Alexey

29:18

So should we start from this question?

Reem

29:24

Yeah, let's do that. I would prefer, actually, if we can take the questions of the people who are interested in them, that would be better even.

Alexey

29:32

Yeah, if we talk about an overview from the beginning to the end, maybe you have a sequence of steps in mind, like how do we actually usually approach that?

Reem

29:44

Yeah, I don't know if there's a global skeleton for this, but I'll just talk based on my experience. I think there are essential steps that we're all familiar with, and obviously step number zero is to start with really understanding what it is that you're trying to solve. And I feel like this is actually a step that many people go past pretty quickly. In many cases, I mean, I've been there, we make the mistake of assuming things that are not necessarily the case, and we get past a lot of information that's missing from the table.

30:24

Defining the problem doesn't really happen in one stage. I've tried to do this, where I would sit and be like, okay, I'm going to define the problem and work through the data science life cycle, collect the data and build the models and put them into production. It never actually ends up working that way. And especially when you're in a startup and there's a lot of changing dynamics, what you define today may not be what you need in another month, and being aware of that is very important. So you would start with a cycle, and I'll walk through my cycle, and then I'll add an important point at the end of it.

31:03

So defining the problem: this could be with the stakeholders, so the business owners or whatever business department you're working with to make this product happen, whoever is involved in bringing this product to life, depending on your problem. And in most cases, I assume you're going to need domain experts. This is not something you should overlook. In my case, for example, in the case of the HR tech company, I came into this problem of, let's do behavioral interviews and let's get AI to assess them. And the first thing that popped into my mind is, how on Earth are we going to assess soft skills? Because as people, we can assess them quite differently. And I had no idea how to tackle this problem, even just from a general sense, not from a machine learning sense.

31:57

And we came to realize that actually there are experts who are specialized in designing these behavioral interviews and in scoring behavioral interviews. In real life, this is actually a process that happens. Humans usually score, they have a system, they have a framework, and it's very, very well defined and it's very rigorous, right? So there's a scientific framework behind it. It's very important that the domain expert is involved at that stage to define the problem properly.

32:28

In parallel, I would say, not even as the second step but in parallel to this, you need to keep in mind access to data, right? And obviously, depending on your situation, this may vary a lot. Do you already have access to the data? Do you not have access to the data? How long would it take you to get access to the data? This was for me one of the biggest challenges, at least in the latest venture that I have with the HR tech startup, because you have this kind of balance. You need to get a product out there, the product is still not there, the data is still not in, right? So where do you start?

33:03

And there's a lot that you can do here. So you can try to find proxy data that might serve as an initial data set for your problem, if that's something that you can find. So something available online that's as close as possible to what you're trying to solve. You could try to somehow get data in any way possible. So for example, for me it was trying to get people I know to conduct interviews and start collecting that initial base to run experiments, right, and some PoCs to see how we can get this off the ground. So defining the problem and access to data would be the initial stage of starting the whole process.

33:47 Translating criteria into data science problems; start simple

Reem

33:47

Once you have a good idea of what the problem is, and you've understood from the domain expert what it would take to actually bring that to life... So for example, in my case, with the product that I have right now, it's understanding that there are psychologists who conduct these interviews. They have criteria. When I say criteria, I mean an Excel sheet of criteria, right? This is what we look for in a candidate when we're evaluating their communication skill, let's say. So once I was able to get this criteria, I was like, okay, now this is something I can work with, right?

34:20

If you were to tell me, score the person's communication skill, I wouldn't even know where to start. But when you tell me we need to look specifically at how the person presents certain things in the conversation, or how the person speaks, or how fluent they are in the conversation, this is where you can start to translate the business problem into a data science problem and have something solid that you can actually build in the data science world.

34:48

And then you start diving into the modeling side. So how do I tackle the problem? The most straightforward way is to see what others have done in a similar place, what they have used before, what has worked, what has not worked. And from there, I'm always someone who would opt to start with a simpler solution as a starting point, PoC, see how it goes, and then add complexity if needed. I have seen a lot of direction, especially recently, where people would jump directly on, oh, let's get a GPT to take all the data and solve the problem for us. And it really, really doesn't work that way.

35:29

I mean, there's a lot of benefit to the latest type of LLMs that we've seen. There's a lot of amazing things that you can do. But for example, there is no way that I could throw whatever criteria I have at a GPT and be like, score this interview for me. That would be a disaster. So you really want to work with what you have, right? Make sure that you really understand the problem, see what people have done, how they solved it, and start with the simplest possible solution that you can find, and iterate from there.

36:05 Serving models simply, ignoring MLOps noise, and iterating

Reem

36:05

Once you've had an initial good starting point with PoCing, the modeling stage, where you actually have a brain that functions for the functionality that you want, you want to also start thinking about the engineering side. I actually did those things at the same time. So I was thinking of the modeling and, when I say engineering, I mean serving of the models and what that would require. With that, I would stress even more on simplicity. Because for me, this was the area that I was newer to, coming from a PhD, right? So what would be the best way to do it, the best way to serve, the best way to put things into production? And I was bombarded. When you read online, there are so many recommendations, best practices, so many tools.

Alexey

36:56

So many tools.

Reem

36:56

And I really felt like, at least at the stage that I was, I don't really need this whole world of MLOps, with all the delicate pieces and all the complexities that would come into it, to do what I need to do today. So one very critical thing for me was to block out this noise of "you need to do it this certain way," and really try to have the best judgment that you can, taking into consideration your resources, the size of your company, the number of users that you're serving, and the reliability that you need to offer in the product that you're serving. There are certain places where mistakes are tolerable, certain places where mistakes are not.

37:43

So this is kind of how I went through the flow. It's a typical flow, but the most important point that I said I'll mention at the end is the iteration. I know it's cliche, we all say that, right? But if you don't stop, maybe every sprint, or however you work, every month, at a certain interval, and look back at the decisions that you've made, and see what has changed and what needs to be improved, or what needs to be put on hold, or what needs to be added now that wasn't necessary before, you will end up finding yourself in a disastrous position, really.

38:23

Because, especially again in a startup, or it doesn't even have to be a startup, but a smaller organization, or even an organization that's large but starting with their data initiatives, there's going to be a lot of change. And if you're not conscious, if you get sucked into the work... This is something that happened to me. If you get sucked into the details of your work and you forget to zoom out and reflect and see what needs to change, what needs to be moved up, et cetera, you will face very challenging situations, I believe. So yeah, this is as much as I could put into details in a road map of how I would tackle things.

Alexey

39:06

And what you describe is a CRISP-DM simplified version of this, you know. Okay, so let me try to summarize what you said. The zero step is understanding what you want to solve. We don't need to assume things, we need to understand. And then step number one is defining the problem, which to me sounds very related to step number zero. I guess one follows from the other. And then in parallel, we understand what kind of data we have, right? So we define the problem and then we see what kind of data is available, and if not, what kind of proxy data we can get, how we can actually do the modeling, right? And then the next part is modeling, and here we start with the simplest solution. And the last part, which is the iteration, which is always there in those images that we see online, but it kind of slips by, right?

40:12 Collecting the right data: improving interview questions and UX

Reem

40:12

And I would add, for the point about what data is available, also what data do you need, right? Because sometimes you have data available and you might think this is what works for your problem, but you have things that are missing. And I've been there over and over again. Actually, this is an ongoing process for me, where you collect data and then you look at it, and when you really evaluate, you find it's missing something that's critical for you, right? You need to go back, adjust the data generation processes, recollect data and see, does that really give you the data that you're looking for or not.

40:47

So for example, to give you something practical, when we first started collecting interviews, we started with a set of questions. We realized the candidates are not really giving very detailed responses. We need details from them, right? So we were like, okay, maybe the questions are too broad. So we improved the questions and we made them more detailed and more specific. The responses got a lot better. Candidates were responding for longer. Previously they had really short responses, they were not enough to extract information from. Now they got to a point where they're giving longer responses, they're giving examples, et cetera.

41:24

We noticed in some cases candidates were kind of assuming that a person is watching, and they were referring to the CV, et cetera. So we added guidelines that clarified: you're being assessed by an AI, make sure that each response is complete and coherent, don't refer to other responses or something offline, right? This helps, and so on and so forth, right? So you collect, you evaluate, you see something's missing, you adjust. This is also something that I assume would happen in any case where you're building something new.

Alexey

42:01

And many of these things are more related to the product work and user experience work rather than only the model, right? Like how you present the thing to the user, how the user interacts with this thing. Probably you cannot easily separate one from another.

Reem

42:21

Not really, exactly. Because how did we realize that the interviews were not sufficient? It was because of the modeling results. We came back and we were like, why are things not going well? What's happening? We went back to the interviews and we were like, oh, okay, that makes sense, because the interviews are really quite bad, right? But it's not the candidate's fault. It's never the candidate's fault, right? So you have to improve the user experience. And it's an ongoing thing. Till today, I've found it's always about going back and changing something in the user experience that would improve how they interact with these models, right? So that you end up getting the results that you need. So they're quite intersected.

Alexey

43:05

I'm thinking about your use case. So you said that you want to understand the soft skills, and for that, people have developed frameworks. There are criteria that let you assess candidates according to different dimensions, so to say. So there is fluency you mentioned, there is something else. And I guess what you need to do is have a model that assesses one or multiple of these criteria, dimensions, right? So let's say if we talk about fluency, how can we build a model that says whether a candidate is fluent or not fluent, right? So then this is your problem. And then you start from this: okay, what do I want to solve? I want to understand the fluency of a candidate. How can I do it with AI, with machine learning? And this is how the process looks, right? So then for each of the criteria you would have a model, something like that?

Reem

44:10

Or more. Yeah, exactly. Because the criteria are defined for humans, right? So when you read it as a person, it makes sense, it's quite easy to assess. But when it comes to doing it through machine learning or data science, or maybe even basic text analytics, you end up having to probably use several techniques for assessing one single criterion, right? So yeah, depending on what the criterion is, some of them are easier than others.

44:48 Do LLMs change the ML product process?

Alexey

44:48

Yeah. And you mentioned LLMs, and you also said something along these lines, that nowadays some people think that all you need to do is just throw your problems at an LLM and then the LLM will just magically solve it, which is not the case. It would lead to a disaster when you do that, right? So in your opinion, in your experience, with all the LLMs that we have now, does it change the process we follow when working with ML products? Or is it just one of the tools and the process still stays the same as, I don't know, four or five years ago?

Reem

45:31

I would say the process should not change. Has it? Probably. I think people are taking shortcuts. Whoever is following the mindset that I shared, which is, okay, let's get a GPT to solve it, or to score it, or to assess it, or whatever. Because that would get you past all the initial stages of understanding the problem, of choosing the right technique to solve the problem, maybe even finding the right data for it, right? Especially if you're not eloquent enough to be able to properly assess these LLMs and how they're performing at the end of the day.

46:09

I say GPTs because LLMs have been around for longer, but I'm talking about the GPTs, the generation models, and kind of the hype that happened there. We still have the LLMs, like BERT, for example, text classification, all that stuff. So these are still very task-specific. I would say these are still tools that we can use. What they have changed is the way that we can do things, right? So one application of LLMs that I really love, and I feel like there's a lot of value there, is using it as an interface to your product. You can use it as an orchestration layer. So just the way that a user will be able to interact with your application can be enhanced greatly because of this advancement that we've seen. But I wouldn't use it as a replacement, right?

47:03

I have been in many scenarios where I have people tell me, can we get OpenAI models to predict a certain classification value for us in a certain problem? And this is what people assume, right? They assume these models can do anything, and they forget the initial capabilities of the model. They're not built to support such tasks. And this is kind of the challenge that I've seen. And I don't know if you've been there, I actually want to hear your opinion on this, but I've been in many situations where I felt like I was looked upon like I'm outdated, right? It's like, oh, you're anti... I'm like, no, but this is not the intention of these models, right? You're setting yourself up for failure if you work with them with an incorrect assumption. So I think these models have brought about a lot of opportunity, but I don't see it changing the way that things have been done, but more new opportunities, actually, that can be presented in how we solve problems. What's your take?

Alexey

48:10

Well, it looks like if we manage to keep the process the same, we can have a first iteration way faster with these new tools, right? So for example, we can just say, hey, these are criteria for assessing fluency, just tell us if the candidate is fluent or not. Well, fluency maybe is a bad example, because you probably analyze audio rather than text. But let's say coherence, right? Whether they speak coherently or not. You just throw a bunch of text at this and say, here are criteria for how you evaluate coherence, and then what do you think, right? So probably you can arrive at the first solution rather quickly, right? And then maybe it will work, maybe it will not, but at least you will start getting some feedback.

Reem

49:00

First PoC, yeah. That's also one of the good opportunities that you could have, right? So being able to, if it's applicable for you, test things quickly and have something that works for you quickly. That's something I was faced with, honestly. And one thing that might come back to bite you is if you start PoCing with these models and you think that they work, but they're not working, and then you realize you have to take a step back and you're going into more basic techniques, right? So now, instead of starting with something that works, you're put behind, right? You're put behind on schedule. This is something that I've at least faced in the past.

Alexey

49:48

I see. Well, it's not like I have a lot of experience of using LLMs to solve business problems, but as a user, I use them quite extensively. So for example, right now I'm preparing for an exam in German, and there is this writing part, and they have strict criteria. And what I do is I give ChatGPT my text and a set of criteria and say, okay, ChatGPT, what do you think, how many points will I get? And then, oh, your text is awesome, you'll get like 15 out of 15.

Reem

50:27

Don't trust it. Yeah, because I've played around with it, honestly, with specifically these criteria, and seeing if it's able to do things as needed, right? Because it depends on what you're trying to solve. If you're trying to just say the person is good, the person is bad, maybe it can do that decently well. But if you're trying to distinguish between people on a scale of 0 to 100, and really be very specific about the criteria and how good this person is versus this person, you really need something that's a lot more specialized for what you're trying to build. And for me, GPTs did not do that.

Alexey

51:11

Which means, for you, your life doesn't really become simpler. You still need to do all this modeling, collect all this data, right, for this specific problem?

Reem

51:23

Yes. In other areas, a lot of things have been simplified.

Alexey

51:28

Yeah.

Reem

51:30

Because, like I told you, there are a lot of opportunities, for example, enhancing the interview process, being able to make it more user-friendly, giving the candidates maybe live feedback. These are things that you can very easily do leveraging these models without having to build complex engines.

Alexey

51:46

Yeah, I imagine that if I talk to a screen, right... One thing is if I just talk to the screen and it's recorded, and the other thing is if there is an avatar. It's still not a human, but something that reacts to me, maybe nods...

Reem

52:03

She talks to you, she encourages you. She's really nice.

Alexey

52:09

Yeah, things can be built with these chatbot capabilities that are way better with LLMs than without them.

Reem

52:19

Yeah, exactly. So there's definitely a lot that's improved, a lot that can be done better, some things that can be done a lot faster, right? I didn't get that lucky with my specific use case. But I'll give you another example. One thing that I assumed was that we can leverage these models for data generation, right? Maybe they can produce a few interviews for us. They really don't do a good job at it, because it's really hard to get them to diversify and to give you enough diversity. And it's really hard to get them to reflect a bad interview. Actually, this was one of the challenges that I had. It would very explicitly tell you that it's doing a bad job, and people would never really do that. So they didn't really serve the job as well as needed. So yeah, I guess it was one of those use cases that didn't see much value, at this point at least.

53:19 Mitigating bias in ML-based candidate assessment

Alexey

53:19

I see an interesting question from Brendon. So I imagine that in these evaluation systems, we can have some biases. Because when humans rate other humans, we have some biases, and these biases inadvertently creep into our machine learning solutions for rating people. So how can we mitigate these biases when we work with machine learning?

Reem

53:49

It's a very good question, because the bias comes up in many different areas, right? The first initial step is the human bias that can creep in, which is essentially where the data is being labeled, the interviews are being labeled, for example, in my case. I'm going to give specific examples here to my use case. One methodology, if you want, that we use to mitigate having a person's bias creep into the modeling process, at least, is to have several people score an interview and then take an aggregate of their scores. And by the way, this is actually how it's done in practice. Usually, when companies conduct these interviews, you have several interviewers who are scoring you, and then they would combine their results to come up with the final results, so that not one person's bias is creeping into the system and defining their own opinions on you.

54:51

The second way is through the criteria that I mentioned. So by having very clear criteria, and by trying to standardize the process across every candidate and across everyone who's scoring, you try as much as possible to navigate that people don't come up with their own definition of what good communication is, right? So they follow very specific criteria. Did the candidate show this behavior? Yes, no, medium, high, et cetera, right? Did this candidate show this specific behavior here? So to break it down into as small pieces as possible to mitigate these internal biases, to standardize, right, and to aggregate results across the scoring panel, essentially, whose labels are taken and fed into the models.

Alexey

55:41

So I imagine these criteria, the standards, they exist for a reason, and this reason is we humans have biases. So how can we remove subjectivity as much as possible when humans interview other humans, right? So we want to remove subjectivity there. That's why there are these criteria, right? That's why there are these standards.

Reem

56:07

Exactly. So my teammate, who's the psychologist on the team, explained it to me in a very nice way. She said, if I tell you, score this person on communication, and I score this person on communication, and that's the only criteria we have, we have very different mental models of what communication means. And when we talk about bias here, I'm not talking about negative intended bias, right, but these internal mental models that we have. But if I tell you we mean XYZ by communication, we have a closer model representation in our minds when we're scoring. But if I give you very specific criteria, we're as close as possible to thinking about this assessment in the same way.

56:50

There's still differentiation, and that's a good thing, right? There's still differentiation because you're getting an overall assessment from several people and not just one person's opinion, which is to ensure fairness and to ensure that there's not one specific person's opinion going into play. But we're assessing the same thing, we're looking at the same criteria, and we're very diligent about this. So there's a lot that's done. We conduct regular sessions where, for example, the panels score together, and they meet and they discuss the results and they make sure no one has drifted and is scoring in a different way, but make sure we're following the criteria the same way, the rules of scoring the same way, trying to standardize it as much as possible, right?

57:36

And again, there are always potential flaws that can creep in. But for me, I always go back and I compare it to the benchmark. The benchmark is, you would be assessed by one person in reality if you make it to the actual interview, and you will be judged by that person's own biases, right? In an automated interview like the one that we have, and actually there are many of them out there today, it's a standardized approach. But also, at least in our case, we don't really know anything about you. We're not collecting anything about you in terms of personal information. We don't care. We're really just listening to your interview and following that criteria.

58:12

We're very careful about how we evaluate audio and video. We don't use these to assess your soft skills, by the way. We assess different aspects, because according to literature they're not reliable. So, obviously, trying to do things as diligently as possible to make sure you're not coming up with your own idea of what good communication is, and you're following standard research that's been established in the psychology space. That's the best that you can do, really, to make sure that the process is as reliable as possible.

58:46 Adjusting soft skill expectations for different roles

Alexey

58:46

Maybe the last question. I know we are a bit over time.

Reem

58:48

It's okay, it's good on my side.

Alexey

58:52

Yeah, good. So there's a question from B, and it's related to what we were talking about. So communication can be quite subjective, but it's also different for different roles. The communication we expect from a data analyst can be different from the communication skills we expect from a data engineer, right? Data analysts need to talk more with stakeholders, while data engineers might mostly need to talk to the manager, something like that, right? So the expectations are different, and the sort of communication skills are different. Does it mean that your system needs to have adjustments for different roles?

Reem

59:36

It does. Today, the way that it's handled is by the recruiter. So the recruiter is the one who essentially knows, or should know, the requirements for the position they're hiring for. So the system assesses you the same way, right? In the background, the system is assessing you regardless of what your industry is, where you're going to work, et cetera. You have a certain communication capability that's been presented in your interview, and that's assessed. But the way that you are ranked and presented to the recruiter is based on criteria that they set. So they set a specific level or expectation of communication, let's say, depending on the role requirements, and then your score is matched with their requirements. If you are above that score, you're considered to be a good fit for the role. If you're below, you're considered to be not well fit in this specific capacity, the specific competency.

1:00:34

We also have this interesting concept, actually, that I wasn't aware of before. If you are above the requirement by a certain threshold, you're also considered to be overqualified. You could have an overqualification of soft skills that would get you to a point where perhaps you might end up unsatisfied with the role and want more, right? So these are things that we measure, and we show where you are on the scale reference that the recruiter defines, depending on the job requirements. So that's a good question, actually.

Alexey

1:01:07

Yeah, on the candidate side it must be quite frustrating when you get rejected with this "overqualified".

Reem

1:01:16

You don't. We don't reject because you're overqualified. It's a concept of... It was a really interesting concept that was defined by, again, my teammate. This is her area of expertise. It's not like you're overqualified, like you're not a good fit. She defined it differently, which is: you either have the capability, right, so this is what makes you the perfect fit today, but you could also have potential, exceeding potential. So when you're overqualified, you have the capability and you have potential. So you're a plus-plus, right? You have the potential to grow, you have potential perhaps for a higher role, maybe a different position. So all these things are monitored and reported back.

1:02:04

Yeah, exactly. Even if you're underqualified in that skill, you're not rejected automatically. If you don't match on a specific portion of the criteria, then you're not the best fit, but you're not thrown out. Again, the way that we've done the system is to be very careful that we're not making decisions. All the candidates are there. We're simply assessing. The recruiter looks at the results and they decide.

Alexey

1:02:29

You just give them a bunch of numbers, explain these numbers, and then they think, okay, this is important for us, maybe for this part it's not really important, let's just take a look at this candidate.

Reem

1:02:40

Yeah, exactly.

1:02:43 Resources and communities: DataTalks.Club, Omdena, MLOps Community

Alexey

1:02:43

That's amazing. Do you have a few more minutes?

Reem

1:02:46

I do.

Alexey

1:02:46

Okay, yeah. Because I was wondering, maybe there are interesting resources, books, courses, articles, YouTube videos about machine learning in HR tech. Do you know of any?

Reem

1:03:01

No, actually. In HR tech, I struggled when I was in this space, until I got my colleague on board, who was the domain expert, and she taught me everything that I know today when it comes to the recruitment side. But, cliche, but I actually recommend your Zoomcamps to everyone who tells me, if I want to grow in the space, how do I do that? I always recommend DataTalks.Club Zoomcamp as an experience.

1:03:30

This is kind of drifting a bit, but a lot of people talk to me about building their profile and struggling to find their first role or their second role or whatever. And projects are always something that's encouraged, but one thing I've always encouraged is to find projects as close as possible to real-world projects. And one community whose projects I really like is Omdena as well, where you work on actual projects with big teams, and it's quite a realistic experience, I would say, as close as possible to what you could get if you're working with a team. And this way you build your portfolio as well.

1:04:13

Communities have been a big thing for me. Being part of communities like DataTalks... I'm not selling you guys, I'm actually a huge fan. But communities like DataTalks and the MLOps Community, very interactive, very helpful, very responsive, right? So if you're struggling, stuck on something, ask. People are a lot more helpful than you would assume. Joining communities has been a big thing for me in navigating a lot of the challenges that I did. So yeah, these are things that I would recommend off the top of my head.

Alexey

1:04:44

Yeah, thank you for your kind words about this community and communities in general. And thanks for staying a bit longer to answer.

Reem

1:04:55

That's my pleasure. Thank you so much. Thank you for having me.

Alexey

1:04:59

Thank you as well. Yeah, I guess that's it for today. So thanks again a lot, and thanks everyone for joining us today too, for asking questions, for being active. And we'll see each other next week. I think next week we have two or three interviews.

Reem

1:05:15

Great, it'll be fun.

Alexey

1:05:15

Okay, yeah, good luck.

Reem

1:05:19

Yeah, you take care and good night. Bye-bye.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club