Burden of Technical Debt: Why it can Cost ML Developers Heavily  (2024)

  • Last updated November 21, 2022
  • In AI Mysteries

Technical debt happens when teams opt for a quick and easy solution for a product to reach the market faster

  • by Shraddha Goled

Burden of Technical Debt: Why it can Cost ML Developers Heavily (1)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (2)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (3)

Listen to this story

A few days ago, Elon Musk, the freshly-minted owner of Twitter, tweeted apologizing for the slow performance of the mobile app. He blamed it on the software’s poorly batched remote procedure calls, tweeting – “App is doing >1000 poorly batched RPCs just to render a home timeline!”

Btw, I’d like to apologize for Twitter being super slow in many countries. App is doing >1000 poorly batched RPCs just to render a home timeline!

— Elon Musk (@elonmusk) November 13, 2022

Replying to this now-deleted tweet, Twitter engineer Eric Frohnhoefer disagreed with Musk and tweeted three reasons behind the slow app – features with little usage, time wasted over network responses, and years of accumulated tech debt. He further added – “Frankly we should probably prioritize some big rewrites to combat 10+ years of tech debt and make a call on deleting features aggressively.”

This tweet by Frohnhoefer has shone the spotlight on technical debt – a major roadblock in software development. The debt is not limited to software development but extends to domains such as machine learning – a major reason behind developmental and scaling issues.

What is technical debt?

Technical debt, which Sterling Lanier, the CEO of TurnKey, described in an article, as a boring/insomnia-inducing topic in software development – happens when teams opt for a quick and easy solution for a product to reach the market faster. More often than not, these quick fixes are not permanent resolutions, and the team ends up spending more time and resources.

The term technical debt was coined by Ward Cunningham, software developer and one of 17 authors of the Agile Manifesto, which formed the basis for the creation of Wiki. Explaining how he came up with the concept of technical debt, Cunningham said, “With borrowed money, you can do something sooner than you might otherwise, but then until you pay back that money, you’ll be paying interest. I thought borrowing money was a good idea, I thought that rushing software out the door to get some experience with it was a good idea, but that, of course, you would eventually go back and as you learned things about that software, you would repay that loan by refactoring the program to reflect your experience as you acquired it.”

Tech debt in machine learning

With the rapid progress of machine learning, an accompanying trend has also emerged – that of maintaining and further scaling them. While developing machine learning systems is now easier, faster, and cheaper, maintaining these systems has become equally difficult and expensive.

As the researchers from Google mentioned in their paper – Hidden Technical Debt in Machine Learning Systems – machine learning systems have a ‘special capacity’ for incurring technical debt. This could be attributed to the fact that these systems not only have maintenance problems of traditional code but have to also bear an additional set of challenges unique to machine learning. What’s more – these debts are often difficult to detect since they exist at the system level and not the code level. This means that typical methods that are used to play down code-level technical debts in software development are not sufficient to address machine learning challenges.

One of the most significant technical debts in machine learning is feedback loops. It happens when the output of the model is fed back as the input – this leads to a form of analysis debt that makes it difficult to predict the behaviour of the model even before its release.

Trailing close after feedback loops, in terms of how common they are, are garbage features. As the term suggests, these features don’t do much and contribute significantly to making the system bulkier – in short, absolute garbage. Very similar to garbage features are something called anti-patterns. A very small fraction of code in machine learning systems is actually doing learning or predictions – the rest of the code could be simply avoided or refactored when possible.

Lastly, dependency debt is also considered a key contributor to technical debt in both software development and machine learning systems. This often aggravates since there is no tool to detect them, leading to a build-up of large data dependency chains that are difficult to untangle. Other technical debts in machine learning include configuration debt, external impacts, and correction cascades, among others.

Strict vigilance

A lot of people believe that technical debt is not completely avoidable, given the strict deadline and delivery pressure. A necessary evil, if you will. However, its impact could certainly be reduced by ensuring best practices, coding standards, regular reviews, and others.

As Gergely Orosz, software engineer and author, wrote in his blog, a workplace that ignores technical debt gives birth to a ‘grim engineering environment’. Unfortunately, the team often gravitates towards and is rewarded for short-term solutions and hacks, which is a recipe for disaster in the long run.

Shraddha Goled

I am a technology journalist with AIM. I write stories focused on the AI landscape in India and around the world with a special interest in analysing its long term impact on individuals and societies. Reach out to me at [email protected].

Download our Mobile App

Burden of Technical Debt: Why it can Cost ML Developers Heavily (6)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (7)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (8)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (9)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (10)

Burden of Technical Debt: Why it can Cost ML Developers Heavily (11)

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox

Recent Stories

AIM got in touch with Brenda Wilkerson, CEO, and Shreya Krishnan, MD, India, AnitaB.org to

10 AI Startups Run by Incredible Women Entrepreneurs

Women entrepreneurs are harnessing AI to launch startups that innovate across sectors.

Indian Govt Endorses IndiaAI Mission with ₹10,371 Crore Funding

The approved initiative will bolster the country’s AI capabilities by establishing a Public AI

Inflection AI Unveils Inflection-2.5, Achieves GPT-4 and Gemini Level Performance

Inflection-2.5 is available to all Pi’s users today, at pi.ai, on iOS, on Android, and

Top 10 Alternatives to OpenAI’s Sora

Lumiere is the closest competitor to Sora from Google DeepMind.

Ola’s Krutrim Needs Korea’s Align AI

It is an effective analytics tool designed specifically for AI-native products to identify and address

Analytics India Salary Study 2024

In the year 2024, the median salary for Data & Analytics Professionals in India is

Google Cloud, Bhashini, and MachineHack Come Together for Bhasha Techathon

The techathon is scheduled to take place between 8th March and 21st April, 2024.

Road to AGI Shorter than Ever?

The conversations surrounding AGI have been reignited, yet tech experts continue to remain divided on

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.

Burden of Technical Debt: Why it can Cost ML Developers Heavily  (2024)

FAQs

Why is technical debt a problem? ›

Even if you only have a small amount, technical debt accrues interest. If it's left unserviced, you can quickly find yourself dedicating almost all of your resources to servicing the debt, with little hope of repaying it quickly.

What is technical debt in ML? ›

Technical debt in software engineering is the incurred long term costs arising from moving quickly on implementation and deployment. This debt significantly slows down maintenance and improvement activities. ML systems are part software engineering and inherit many of the same problems, like technical debt.

What are the risks of technical debt? ›

The components of technical debt

It can lead to maintenance challenges, longer development cycles, and increased risk of defects. Architectural and design health: Inadequate system architecture and design can hinder scalability, performance, and adaptability, limiting the potential for future growth.

How does technical debt impact a project? ›

Developers may spend more time fixing a backlog of issues caused by technical debt, leaving less time for new feature development and innovation. Deadlines get missed, roadmaps go nowhere, and developer morale drops as a result.

Who pays for technical debt? ›

Technical Debt (TD) can be paid back either by those that incurred it or by others.

What are the two types of technical debt? ›

In 2007, Steve McConnell suggested that there are 2 types of technical debt: intentional and unintentional. According to him, intentional technical debt is technical debt that one takes on consciously as a strategic tool. As opposed to unintentional debt, which he calls “the non-strategic result of doing a poor job.”

What is technical debt in AI? ›

Common causes of technical debt include: Making suboptimal modifications to a new system without a full understanding of its architecture. Skipping tests, leading to undetected bugs and defects that are harder to fix later. Copying and pasting code instead of creating reusable modules or libraries.

What is the root cause of technical debt? ›

Technical debt is typically caused when software development choices are made that are not up to the recommended or needed standards when it is moved to production. There are some amounts of technical debt that are basically inevitable but can be greatly reduced by utilizing code reviews.

What is acceptable technical debt? ›

They multiply the sum of the four key attributes by the sum of the latter two and then normalize the values to a ratio between 0 and 1. Knapton says any tech debt that rates 0 to 0.4 is acceptable, anything between 0.5 and 0.7 is concerning, and anything above 0.7 is critical.

Why is technical debt bad? ›

The risks of technical debt have grown over time. Naturally, older code experiences drift, will start to have out-of-date components, and will develop bugs. This compounds the effects of even good debt until it's a much bigger—and a much less well-perceived—problem.

What does technical debt lead to? ›

Analogous with monetary debt, if technical debt is not repaid, it can accumulate "interest", making it harder to implement changes. Unaddressed technical debt increases software entropy and cost of further rework.

What are the benefits of removing technical debt? ›

Put simply, clearing up your technical debt makes your assets and applications work better for the present and the future. What is Technical Debt? Technical debt is typically defined as the measure of the cost of reworking a solution caused by choosing an easy-yet-limited solution.

Why is being in debt a problem? ›

People with debt are more likely to face common mental health issues, such as prolonged stress, depression, and anxiety. Debt can affect your physical well-being, too. This is especially true if the stigma of debt is keeping you from asking for help.

What are common issues of technical debt affecting system administration? ›

Code impacted by technical debt is more prone to bugs and performance issues. This can result in lower software quality and reliability, leading to a poor user experience. Over time, this can damage an organization's reputation and erode customer trust. Persistent technical debt can negatively affect team morale.

What are the financial implications of technical debt? ›

Technical debt often leads to higher costs for businesses as legacy technology's maintenance becomes more expensive as it reaches end-of-support.

Top Articles
What is Moodle? The ultimate guide to Moodle LMS
12 Essential Business Survival Tips for Tough Times - Invoicera
7 Verification of Employment Letter Templates - HR University
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Ofw Pinoy Channel Su
Mileage To Walmart
Teamexpress Login
Routing Number 041203824
What's New on Hulu in October 2023
Mndot Road Closures
Culvers Tartar Sauce
Love In The Air Ep 9 Eng Sub Dailymotion
Paradise leaked: An analysis of offshore data leaks
Carolina Aguilar Facebook
Florida History: Jacksonville's role in the silent film industry
Osborn-Checkliste: Ideen finden mit System
Vanessawest.tripod.com Bundy
Menards Eau Claire Weekly Ad
Today Was A Good Day With Lyrics
Https Paperlesspay Talx Com Boydgaming
Talkstreamlive
Bethel Eportal
2487872771
Mdt Bus Tracker 27
Weathervane Broken Monorail
Tomb Of The Mask Unblocked Games World
Bend Missed Connections
Will there be a The Tower season 4? Latest news and speculation
101 Lewman Way Jeffersonville In
Poe T4 Aisling
Duke Energy Anderson Operations Center
County Cricket Championship, day one - scores, radio commentary & live text
Transformers Movie Wiki
J&R Cycle Villa Park
Basil Martusevich
Quality Tire Denver City Texas
Colorado Parks And Wildlife Reissue List
#1 | Rottweiler Puppies For Sale In New York | Uptown
Msnl Seeds
Craigslist Boats Eugene Oregon
Pokemon Reborn Locations
Dogs Craiglist
Emily Tosta Butt
The Wait Odotus 2021 Watch Online Free
8776725837
فیلم گارد ساحلی زیرنویس فارسی بدون سانسور تاینی موویز
Southwest Airlines Departures Atlanta
Walmart Careers Stocker
Fluffy Jacket Walmart
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
Joy Taylor Nip Slip
O'reilly's On Marbach
Latest Posts
Article information

Author: Rob Wisoky

Last Updated:

Views: 6470

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Rob Wisoky

Birthday: 1994-09-30

Address: 5789 Michel Vista, West Domenic, OR 80464-9452

Phone: +97313824072371

Job: Education Orchestrator

Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building

Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.