Manuel Offidani

/manueloffidani

Manuel Offidani

Welcome to my Social Blog

User Avatar

Manuel Offidani

3y ago

Working in AI team is cool, but extracting value for a business from AI models is hard.

As a Data Scientist, I’ve seen many AI projects fail. The reason is usually that they aren't focused on value.

Here’s a 5-step framework to turn every DS project into a $ generating machine:

To make sure the AI projects I lead are a true success, I came up with a framework that I call IUMMI.

Each step is a go/no-go decisions. Either you tick the box, or you should really not continue working on the project.

Now, the letters stand for:

1/ Idea:

Problem -> AI model idea for its solution.

This is the 1st natural step.

A good Data Scientist is a master in translating a business ask into an idea for an AI model. Obviously, you need to tick this box to start a project.

This though is the easiest part.

2/ Usage:

If a solution was developed, how would users use it? Which decisions would they make differently?

You need to clearly define the usage of an AI model for the project to be successful.

I refer to this as the crystal ball test.

https://twitter.com/ManuelOffidani/status/1615299373469941762

3/ Metrics:

Identify ML metrics for a model is easy. The interesting part is linking those to business metrics.

Find a way to link an improvement of, say, 0.1 r^2 to how much more $ the business would generate.

It’s the $ metrics that determine how successful a DS project is

4/ Model:

Start developing a model only once usage and metrics are defined.

The model should be the simplest possible one so that users can utilise it.

It’s the analogous of the MVP of a Lean Startup. Add complexity to the model only later, once its benefits are clearer.

5/ Interpretation:

Last but not least, spend time understanding why a model does what it does.

Users have trust in AI models in 2 cases: i) it is absolutely evident how it can help them or ii) they have an intuition of how it works.

i) is better, ii) is easier to guarantee

Using this framework will help any Data Science team to deliver not only accurate models, but successful digital products generating true value for its users.

Is there anything you would add based on your experience? Drop it below!

User Avatar

Manuel Offidani

3y ago

A research from Harvard Business School concluded that “Organizations Routinely Fail To Realize The Full Potential From Their Data Science Efforts”

Here’s the 4 main reasons they have identified as root causes, and some possible solutions:

1/ Absence of specific problem to solve

Organisations start DS projects without having in mind what specifically they want to achieve. Sometimes even if the idea is there, the usage of the AI model is not defined. They should use the crystal ball test

https://twitter.com/ManuelOffidani/status/1615299373469941762

2/ Low ease of use of the technology

As an AI model is a quite heavy component of any software, the tendency is to sacrifice UX in its favour. ChatGPT has shown instead how wide can adoption be if UX is well thought

https://twitter.com/ManuelOffidani/status/1621954397851754503

3/ Poor integration of data science in the product teams and across the organisation

I usually need to explain to people what DS means. Data Scientists need to make an effort to make themselves understood in this respect

https://twitter.com/ManuelOffidani/status/1618322644843073537

4/ Lack of effort to make people familiar and comfortable with the solution

Interpreting an AI model sometimes is hard. DS teams however should make an effort to help people understand it. Sometimes an approximate yet easy-to-understand model is better than a more accurate one

I totally agree with their research. Data Scientists need to step forward for AI to fully express its power both in the business sector and society alike.

I will publish a framework to tackle DS problems effectively tomorrow. Follow if you found the post useful!

User Avatar

Manuel Offidani

3y ago

What ChatGPT has really taught us
Manuel Offidani

When OpenAI launched ChatGPT a few weeks ago, many people were taken aback by its capabilities. Many AI experts have now taken part in a global discussion regarding the nature of AI. According to Yann Le Cun, the verdict is that ChatGPT "is not particularly innovative" and "nothing revolutionary".

Feel free to take any side of the debate, but I can tell you that's not the point.

Years of constructing AI models have taught me that what is truly fascinating about the release of ChatGPT. And it has to do with the current state of AI and how prepared people are to accept it.

It can be summarised in 3 points:

  • We are Living the Foundational Models Rush : Soon after OpenAi published ChatGPT, Google stated that a comparable product is on the way. Indeed, it became evident that numerous teams throughout the world are working on similar projects in spirit: tools that will revolutionise how AI enters our lives. We are currently experiencing the "Foundational Model Rush", i.e. people are rushing to find the Sacred Grail of AI. The bar is lofty

  • People are ready to adopt AI : What surprised me the most was how quickly individuals came up with creative uses for ChatGPT. In recent weeks, "ChatGPT for X" has been trending on Twitter. This demonstrates that humans are far more prepared than we imagined to use AI tools. And this comes with important ethical implications in the design of such tools

  • UI/UX matter more than we thought : if ChatGPT is not that innovative, why has it been so successful? That's mainly due to how easy is for everyone to use it. The UX is lean, the UI is minimal. No learning curve.
    People were previously permitted to forgo UX in order to include the power of an AI component in their softwares. This will no longer be the case after ChatGPT: AI models deserve to be released as legitimate digital products.

Brace yourself, the AI age has just started.

User Avatar

Manuel Offidani

3y ago

What the ChatGPT has taught us about the status of AI
Manuel Offidani

When OpenAI launched ChatGPT a few weeks ago, many people were taken aback by its capabilities. Many AI experts have now taken part in a global discussion regarding the nature of AI. According to Yann Le Cun, the verdict is that ChatGPT "is not particularly innovative" and "nothing revolutionary".

Feel free to take any side of the debate, but I can tell you that's not the point.

Years of constructing AI models have taught me that what is truly fascinating about the release of ChatGPT. And it has to do with the current state of AI and how prepared people are to accept it.

It can be summarised in 3 points:

  • We are Living the Foundational Models Rush : Soon after OpenAi published ChatGPT, Google stated that a comparable product is on the way. Indeed, it became evident that numerous teams throughout the world are working on similar projects in spirit: tools that will revolutionise how AI enters our lives. We are currently experiencing the "Foundational Model Rush", i.e. people are rushing to find the Sacred Grail of AI. The bar is lofty

  • People are ready to adopt AI : What surprised me the most was how quickly individuals came up with creative uses for ChatGPT. In recent weeks, "ChatGPT for X" has been trending on Twitter. This demonstrates that humans are far more prepared than we imagined to use AI tools. And this comes with important ethical implications in the design of such tools

  • UI/UX matter more than we thought : if ChatGPT is not that innovative, why has it been so successful? That's mainly due to how easy is for everyone to use it. The UX is lean, the UI is minimal. No learning curve.
    People were previously permitted to forgo UX in order to include the power of an AI component in their softwares. This will no longer be the case after ChatGPT: AI models deserve to be released as legitimate digital products.

Brace yourself, the AI age has just started.

User Avatar

Manuel Offidani

3y ago

Amid the layoffs, what's the best choice a Data professional can do right now?

Learn more about web3.

3 Simple Reasons to motivate you:

1. You might be skeptic about crypto.

But the technology is another thing. The blockchain will become a dominant one in the next 1-2 decades. And that is hard to challenge.

Long is the list of industries whose digital version is "native" to the blockchain: legal, art, etc

2. If you work with data, you're definitely familiar with basic computer science notions like server-client vs. peer-to-peer.

In comparison to the majority of the population, you will find it lot easier to master the foundations of a blockchain. Why should you hold back?

3. We're almost out (hopefully) of a bear market.

@Gartner_inc would say we are emerging from the trough of disillusionment in the technology lifecycle adoption. The moment has come to step up and make a difference. Being an early bird will pay off.

The opportunity is huge.

If you're pondering a lateral move in your career as a Data Professional, you should learn more about Web3.

You won't regret it.

User Avatar

Manuel Offidani

3y ago

Great Take-Home Assignments for Machine Learning/Data Science jobs interviews will land your dream job. Bad ones will kill your chances.

I have seen many THAs when hiring, and successful ones have al ticks these 6 boxes.

Here's a guide to ace your THA👇🧵

THAs are very common for ML/DS openings, especially for more Junior roles.

Many people devote a lot of time to THAs. However, they overlook certain critical aspects that make the difference. And squander their prospects of getting recruited.

What are those critical aspects?

I am listing below 6 of them that really make a difference when judging a candidate's abilities.

Read carefully and be prepared to boost your chances of getting hired:

1/ Make assumptions, but state it clearly

Being it a THA, no one expects you to tackle the problem as if you were actually working on it. Instead you are expected to make assumptions. The more reasonable they are, the better you perform.

Do that at every stage of the THA

2/ Focus on cleaning and preparing the data, rather than on the model

Hiring managers will understand that you grasp the problem not from the type of ML model that you use, but from how you clean and prepare your data.

Data cleaning > Feature engineering >> ML model

3/ Engineer some smart features

Maybe they will have 0 impact on the model performance, but by doing that you will demonstrate a deeper understanding of the problem.

In a THA, creating non-linear features by mixing them together >> non-linear models with original features

4/ Use the simplest possible model

No one will care about a poor model in a THA if there's a logic behind it.

Once I got a higher salary with a r2 = 0.2 model vs others with a r2 = 0.7 model.

Say that you would have tried more complex models had you got more time

5/ Find a baseline to compare your model performance to

If it's a real-life case, ask interviewers: how well are you solving the problem? Compare their metrics to yours and say clearly if you would deploy or not your solution.

Compare to avg model if metrics are not available

6/ Try to link your metrics to business metrics

Also here, regardless of how good your model is, try to translate the ML metrics into business one.

Usually business metrics are in units of $ or time.

E.g. How much $ or time saved by using my model vs the baseline solution?

These are some important points you must consider when solving your THA. They will dramatically change the outcome.

If you are interested in having a free copy of one of my old successful THAs, DM or comment below

User Avatar

Manuel Offidani

3y ago

In 2018, once I got my PhD I decided to leave academia to find a Machine Learning job.

I began interviewing for my first machine learning job. While my STEM background helped me to learn rapidly, I understood very little about the subject at the time. However, while preparing for the interviews, I concentrated too much on the technical machine-learning aspect.

While I managed to get a nice job, there's one thing I realised after my first interview rounds that I wish I had known before I went in.

You must demonstrate some understanding of additional areas throughout the interview process. This will significantly boost your chances of receiving the greatest wage a company has to offer.

In particular, there are three specific areas:

  1. Awareness of Business impact of ML models : Yes, you must demonstrate your understanding of linear regression and neural networks. However, it is critical that you also demonstrate knowledge of the business problems that such algorithms solve. So, ask the interviewer what challenges they are currently attempting to tackle and how ML is assisting them in doing so.

  2. Problem Solving : The way you frame a problem is more essential than its ML solution. If the interview includes a take-home project, don't spend time with complicated models—just choose the simplest one. Spend time framing the situation instead, detailing your rationale, and clearly stating your assumptions.

  3. Awareness of ML deployment practices : The job you're applying for might not involve a model deployment component. Knowing how to deploy an ML model, on the other hand, will make a tremendous impact. You will look to have far more experience in the field than 90% of candidates. I'll include a link in the comments to an online course that can assist you with your first steps in this area.

Getting your first ML job may be difficult, but getting the greatest potential salary is harder. If you devote some effort to improving these 3 areas, your chances will skyrocket.

User Avatar

Manuel Offidani

3y ago

A few months ago, I published my 1st online course.

Why? I wanted to share my opinions and experiences with the next generation of Data Scientists. Assist them in understanding what they need to do to be successful in this field. In addition, I intended to build the groundwork for a passive revenue stream through digital products.

Despite a 5-star rating as of today, the course has fared much worse than I expected in terms of enrolments.

I have always wondered why. I had some intuition on what could have been the problems. Ship30for30 clearly helped me understand the root causes.

In hindsight, these are the three primary lessons I should have learned before launching my course:

• Adopt a Lean Approach : as I decided I wanted to create a course, I went straight into creating it. Instead I should have tested people's interest first, for instance with a few Tweets on the subject

• Attract your Niche : I knew perfectly what was my niche for this course: Junior Data Scientists with a STEM background who have no more than a couple of years of working experience. But I assumed that as some of them randomly stumbled onto my course, the rest of the group would flock. Indeed, identifying a niche was not enough. I should have attracted it by sharing valuable content on social media. In Ship30for30 lingo: I should have first tried to get a rented audience.

• Start offering free services before selling for $ : I showed up on the Internet one day, with no track record for being a good content creator, asking people to give me their money for my course. Despite I am convinced about the quality of the course content, what I did was arrogant. Instead, I should have started by providing free services/advice on how to become a better Data Scientist. Only when I had established trust could I have sold my course.

Ship30for30 has taught me not only how to be a better digital writer, but also how to be a better and successful content seller.

Curious to know if other fellow shipmates from the Jan 23 cohort feel the same!

User Avatar

Manuel Offidani

3y ago

@ylecun, an AI pioneer and Meta's chief AI scientist, dismissed ChatGPT saying that "it is not particularly innovative" and "nothing revolutionary".

Yet users submit around 10m queries per day to it.

Why has has it been so successful then? That's mainly for 3 reasons:

ChatGPT uses so-called transformers architecture which are pre-trained. In layman terms, this means that some other systems before ChatGPT did the heavylifting of understanding patterns in data.

However there are 3 reasons why it has been so successful so far:

• Intuitive UI: anyone can go and ask a question to ChatGPT. No training required, no understanding of ML at all.

More than the AI model itself, such a simple UI has been key for its success.

• Plethora of use cases: Given how intuitive it is to be used, people have been very creative when it comes to uses cases involving ChatGPT.

Defined use cases is another attribute a powerful AI must have in order to be successful

• Breadth: any Scientist at a Big Tech can run a similar model on their laptop (or rather on a cloud). However that will be specialised in a particular task.

The innovative aspect of ChatGPT is that a large model has been trained to provide help on a very broad range of topics

To me this is yet another confirmation that despite we need disruptive innovation to deepen our understanding of the world, it's incremental innovation what really moves the world forward

User Avatar

Manuel Offidani

3y ago

Lean approaches are becoming increasingly popular in a variety of fields.

I’ve been leading Data Science teams in a lean way lately, and I can’t be happier. The output x10’ed, while maintaining team members highly motivated and with excellent work-life balance. Here’s the pillars of the approach:

  • Deliver an MVP: Data Scientists, often biased by their academic background, tend to find very elaborate solutions to the problem they tackle. Sometimes that is not needed: in business contexts, approximate solutions are already good enough for value to be delivered. An MVP (minimum viable product) is what DS should aim at in the first place. Once a solution has been made available to the business and begins to produce value, there is always time to improve on it.

  • Fail Fast: this is the biggest paradigm shift. Before aiming at successful outcomes, DSs should try to make their approach fail fast. The point is that you want to become aware about fallacies in your approach sooner rather than later, when already a lot of work has been done. Stress test your assumptions, and if you can’t make your approach fail, there’s a high chance you’re on the right track

  • Experiment, Measure, Iterate: Rather than simply planning tasks, DS teams should plan experiments: activities at the end one can simply take a binary decision in terms of how to move ahead: continue following the chosen approach or pivot. Moreover, the decision should be based on  well-defined measurable quantities on the basis of which the decision is taken. Then iterate—experiment again with the next tasks.

Running a DS team as a lean startup is undoubtedly a successful choice.

What do you think is important for DS teams to successfully deliver results? Comment below with your take.

User Avatar

Manuel Offidani

3y ago

Being a brilliant PhD student is not enough to get your first job.

To get hired you need to display you score high also on these 4 key skills:

As a PhD student, you will certainly have had extensive training in a few sought-after key abilities, such as independence, ability to navigate uncertainty and problem solving.

You will still need to sell them to potential employers, but this will be the simpler part.

But to convince them, you will need to stand out on other categories fresh PhD students looking for a job often neglect.

Employers want to recruit people who are not just technically strong, but also trustworthy on many levels

These 4 skills in particular are fundamental:

  • 1/ Business acumen

As a PhD student you are strong in in problem solving. But problems in a business context require that the "big picture" is taken into account.

When solving a problem during an interview ask yourself: how this solution impact other parts of the business?

  • 2/ Ability to collaborate

PhD students are usually excellent solo contributor, but may lack basic collaboration skills.

Be prepared to answer questions on collaboration. If you haven't collaborated with many other researchers, draw from you other life experiences too

  • 3/ Communication

Some PhD students produced brilliant work recognised by experts in the field.

But communicating to wider audiences is different and very challenging. Practice this skill: try to explain your PhD results to non-technical people close to you.

  • 4/ Motivation to join the company

I can hardly overstate how important is this skill.

Show motivation to join a company, and be able to explain not only why you would be thrilled to join, but also what the employer would gain by hiring you vs the next candidate

So to get their 1st job a PhD student need to sharpen some other unfamiliar skills. The good news is that, given their strong technical background, that is the easiest part.

If you want to know my checklist for a successful interview as a PhD student please comment below!

User Avatar

Manuel Offidani

3y ago

The "Great Tech Layoff Season" let people think that the Data Science market is shrinking. I think there has never been a better time to be in the field.

3 reasons why it's worthwhile to start preparing for a Data Science career right now:

• Recent advances in generative models have demonstrated how powerful AI can be when it is fully integrated into people's life. ChatGPT has been proposed in all sorts of use cases in the past few weeks.

Trust in AI is the foundation of the market growth


• Today, AI is nearly synonymous with Big Tech. However, in order for AI to become really integrated in our lives, Big Tech's market dominance must decline.

Growth must come from the parts of the corporate sector that haven't used AI yet, if at all. And they are starting now.

• After the pandemic, more and more companies have turned digital. Once a significant part of the business processes is automated, the need for AI will follow naturally. This will create a lot of job opportunities for the years to come

Don't get depressed by the news or the market. In the end, this pales in comparison to the dot-com bubble.

Instead, be prepared to take your Data Science career to new heights!

Comment below, like and follow if you found the post useful and would like to hear some tips of how to succeed in Data Science interviews.

User Avatar

Manuel Offidani

3y ago

During my PhD I managed to publish quite a lot. The average number of papers for students in my field is one or two. I did 7.

So, what happened to my academic career?

A guide for about-to-graduate PhD students wondering about their next move

My ambition was to become a full professor, possibly in my home country (Italy).

The next step would have been finding a postdoctoral position. Preferably in a well-known research group. Anywhere in the world.

But for a childhood dream I was willing to do anything.

I had spent 3 years in the UK by that time.

Likely options for a postdoc were US or Singapore. That would have meant yet another 3/4 years of instability and long-distance relationships. Living on the verge of financial independence.

But again, it was what it was.

But the truth is that even a prominent postdoct may be worthless.

In Italy in particular, before being considered for a professorship, you must first pass a few public competitions. Assuming a position is available.

I started to wonder whether the academic path was too risky.

So I asked myself: what options do you have?

I talked to ex-physicists who also moved into business. Most of them had landed jobs in finance or ML. They reported being largely happier with their new lives, despite some small drawbacks.

So I decided to try to follow their path.

I was more intrigued by a career in finance.

I informally interviewed for a couple of banks. However, the knowledge gap to get a job in ML appeared to be smaller. And having a PhD thesis to write swayed my decision.

The goal was set.

I took @AndrewYNg's course to learn the fundamentals of ML. I could not recommend this enough as your first step in ML.

I learned Python and SQL from the ground up in 3 months while working on my thesis.

I squeezed in a Deep Learning course and was ready to interview.

"Wow Manuel, that is impressive"

That's the point: NOT AT ALL. My STEM background + PhD equipped me with 80% of the knowledge to understand ML concepts.

With a similar background you're starting from my same exact point.

Linear Regression? I learned that during my 1st physics lab class 8 years earlier. Vector calculus? Are you kidding me, I am about to get a PhD in theoretical quantum physics.

If you have a STEM background and about to get a PHD, be aware that what separates you from some random Data Scientist in Silicon Valley earning a mid 6-figure income (I know, probably bad timing to make this comparison)

is 3 months of solid study

I eventually landed my first Data Scientist job, and since then I've probably learned far more than I would have had I pursued the academic path. Salary wise I have already surpassed my initial aim of becoming a full professor. In 3 years, not 30.

Don't take me wrong, I loved academia and doing research. However as a PhD student I failed to realise for a long time what life had to offer beyond the sacred university walls. And regardless of my final decision, I'd have liked to ponder different choices at an earlier stage

I hope my story of transitioning from academia to the business sector in a nutshell will help.

Leave a comment below for any questions and follow for more content on this.

User Avatar

Manuel Offidani

3y ago

I used to use the mindset I had established during my time as a physics PhD when I first started working as a Data Scientist: Reality is extremely complex, to put it simply.

As a result, when I first became interested in AI, I used to disregard simple machine learning models. I would say that for my older self, things had to be ChatGPT level, or they had little value.

However, as I gained more expertise in the area, I realised that simple models are actually not all that bad. They enable me to produce value quickly and deliver at light speed. They are undoubtedly a close approximation of the optimal solution to a particular problem, yet 90% of the time they are enough.

In fact here's the thing:

Reality is always an approximation

Our perception is limited and we always develop solutions that reflect our limited understanding of a given situation or problem. Sometimes it's possible to improve on such limited solutions in a simple way. This applies not just to AI models but to almost every problem we encounter on a daily basis.

Here's my advice:

Always start simple, develop knowledge incrementally. Don't try to find the complete solution to a problem at your first shot. Break it down, solve the smaller parts. Reduce it to its component pieces and solve them. Take action from restricted solutions; it's often very valuable to do so.

Often, the smaller parts are worth more than you might imagine.

User Avatar

Manuel Offidani

3y ago

Machine Learning metrics are useless.

I have deployed successful models into production with very low accuracy. In fact, taken at face value ML metrics will not help you understand how good is your model.

Here's what you should care about: 🧵

1 - Understand the status quo

How does the problem you are trying to solve compare to existing solutions?

Maybe before anyone worked on a ML model, that problem was solved very manually, perhaps with a bunch of Excel macros. How accurate is the status quo solution?

You must calculate the goodness of the SQ solution in any possible way. If someone is solving the problem manually, give them a validation set to make predictions on. Otherwise just do the maths.

Setting a benchmark is fundamental.

2 - Compare to the status quo

Only at this point you can start to tell if your model is goos or bad.

If it's worse than the SQ, no matter how high or low the ML metrics are, you still need to work on it. If it's better, congrats. But sorry to say this is still not enough

3 - Translate to real-world value

How does the ML metric relate to the value you are generating?

If your classification model beats the status quo by 0.1 AUC, how does that translate to real-world value?

For example if the model is about marketing campaigns, how many more customers are likely to convert? How many $ of extra revenue?

This is the true test bed. You might discover that increasing the AUC by 0.4 points leads to small gains wrt the particular business cost function

DM any questions you might have, and if you want to know more about how to be a successful Data Scientist, like the post and let me know!


User Avatar

Manuel Offidani

3y ago

The crystal ball test for assessing the effectiveness of a Machine Learning model to solve a business problem:

Among the top reasons why Data Science projects fail, especially in traditional businesses, is that people think about Machine Learning models without thinking about their usage first.

You can have the most powerful model, but if you cannot devise a usage for it before starting to write the first line of code, that is set to fail.

Let's take it to the extreme end: imagine you had a "crystal ball model"—100% accurate. What would you do with its predictions?

This is a go/no-go question: if you can answer it, great, you can move ahead. Otherwise do not start developing at all.

For a successful Data Science team, the importance of having a clear usage for a model in mind is only second to the idea of the model itself.

User Avatar

Manuel Offidani

3y ago

3 Overlooked Traits of Candidates Employers Should Pay Attention To When Hiring For a Tech Job:

1 - CV look and feel

It doesn't have to be fancy or display the perfect palette, but it has to look neat.

I haven't collected data rigorously yet, but in my experience the cleanliness of a candidate's CV is highly correlated with their performance in the interview process.

The explanation might be simple: the nicer the CV, the higher the likelihood that the candidate has got some good "digital taste", which will be reflected in the way they build digital products.

2 - Awareness of the prospective employer's balance sheet

Of course a candidate should know what the company they applied for does. But if they also have a rough idea of its financials, that shows they understand what is the playfield they might be finding themselves in

3 - Quality and quantity of non tech-related questions they ask the interviewers

Every candidate can ask good tech-related question with a bit of preparation. In the end that is supposed to be within their domain of expertise.

Excellent candidates though display a 360º attitude. They not only ask themselves what am I going to do, but also why. They want to understand what's the mission. Questions like: How is the company planning on tackling problem X, responding to innovation Y etc.

I have noticed that those that score high on these 3 points also tend to score very high on the technical part