• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Digital Fortress of Information

5G, Machine Learning & Artificial Intelligence

  • Home
  • AI
    • Artificial Intelligence in Telecom – From Hype to Reality – AI
    • AI vs. Human
    • Incredible Examples Of AI And Machine Learning In Practice
    • Must Have Marketing Skills to Survive in The Age of AI
  • 5G
    • What is 5G? The Ultimate Guide Available on Internet
    • 5 Reasons Why 5G is The Future
    • What is The Difference between 5G and 6G?
    • The Technology of The Year 2020 Will Be 5G
    • How Operators Should Expedite 5G Deployment
    • Evolution of 5G in Internet of Medical Things (IoMT)
    • 5G in South Asia: Opportunities & Challenges
    • Beamforming 5G – Mobile Radio With Pinpoint Accuracy
    • Scientists Warn of Health Risks From 5G
  • IoT
    • 5 Ways the IoT Can Change the Business World
    • IoT Data Security Issues Popped up in 2019
    • IoT Security Threats and How to Handle Them
    • Business Internet Of Things | IoT Applications 2019
  • ML
    • Future Technology Predictions 2020
    • Machine Learning Trend To Find Bugs
    • Secret Methods of Applying Text Analytics ( AI and Machine Learning Application )
    • The Present And Future of Machine Learning on Devices
  • Technology
    • Cloud Computing
      • What is Cloud Computing? Explained With Examples!
      • Blade Shadow Cloud Gaming Review
    • AMD
      • AMD Ryzen 9 3900X Stress Test Results – Incredible Performance Show
      • Why AMD Makes Less Sales and Profits in Q2 FY 2019
    • Cyber Security
      • 2019 Onward: Everyday Is Information Cyber Security Day
      • Russian Security Researcher Accessed Xiaomi Furry Tail Pet Smart Feeder
      • FaceApp Aging Challenge: Is FaceApp A Danger To Our Privacy?
    • Tech Business
      • 2 Steps to Ensuring Project Success
      • Public Sector vs Private Sector For IT Professional in EU
      • Healthy Employees Manage Digital Transformation Better
      • How to Protect Production Facilities Effectively in 2020
      • Great Example of Socially Responsible Business
      • Great Example of Socially Responsible Business
    • Tech Facts
      • Cutting Edge Technologies That Will Change Marketing Industry Forever
      • This is How Phone Phishing Scams Try To Fool You
      • Google is Buying Fitbit: Now What?
      • Healthy Employees Manage Digital Transformation Better
      • Privacy and Security is in WhatsApp’s DNA
      • The End of the iPhone? Apple is Planning the Next Big Thing
      • Google Wants to Do More with Chrome
  • Blog
  • Books
You are here: Home / AI / Machine Learning Trend To Find Bugs

Machine Learning Trend To Find Bugs

Can we find bugs in program through Machine Learning?

Automated bug detection before the actual program running is increasingly popular feature researchers are looking for.Programming errors and other code quality issues determination is in search of big lead here i.e finding errors in the Linux kernel before the code is incorporated, probably not but can only be possible with machine learning.

Using AI, Linux kernel developer Sasha Levin looks for patches for the the Stable and Long Term Stable (LTS) trees that improve code. But did he use the ML system to find patches that contain bugs? It’s a difficult task for Levin, but he has some clues as to how that could be done.

The Microsoft employed developer Sasha Levin maintains together with Greg Kroah-Hartman the so-called stable trees of the Linux kernel. Among other things, Levin uses a machine learning approach to find the necessary patches for improvement . As the developer reported in his presentation at this year’s Open Source Summit Europe in Lyon, he had been repeatedly asked because of his work, whether it could not be found bugs before they are even incorporated into the kernel. The answer is, according to Levin, but anything , as he presents in a detailed analysis.

Because, as many developers know, detecting bad code is not a manageable task. Although there are already a variety of tools for finding errors, such as static code analysis. But from the point of view of Levin, the biggest source of error in the development of the Linux kernel is its development process itself. The developer tries to underpin this with his own analysis.

Objective analysis is difficult to implement

From his personal experience as a maintainer. Levin knows this review, that is, third-party checking of the code, as well as code testing, help prevent the introduction of bugs. It plays quite a role, who does the review, how much time it takes or even how extensively the possible disputes are formulated.

Although it is difficult to actually quantify these and other things. This applies above all to the question as to what should be considered as a bug in the sense of the original question and investigation. Nevertheless, Levin has tried to translate some of these considerations into a machine-learning model using a preselected set of code contributions to the kernel.

Of course, the model inevitably has weaknesses and can not be used directly to actually find faulty code before it is entered into the main branch / tree of the kernel. For Levin, however, the investigation thus carried out offers some very important clues.

Fast patches just before the deadline have more bugs

Probably the most important finding here, according to Levin, is that the probability of introducing errors in contributions is three times higher than normal if the code is added to RC kernels late. This seems counterintuitive, as after a two-week phase to submit new features for the upcoming Linux version (Merge Window), a mostly eight-week trial phase with bug fixes and release candidates (RC) follows, before a new Linux version appears ,

According to Levin, this result confirms his assumptions about the reviews. Thus, new features and major changes often go through a long review phase and the patches are usually discussed extensively. However, in the late RC phase of kernel development, the process of implanting is much faster and often there is no review at all.

Levin found a lot of patches for this development phase, the code of which was written, submitted and entered on a single day. Of course, with such a rapid development, the potential for error increases.

Whether and what follows from this realization but in the long term for the development process of the Linux kernel is not really clear for Levin. He had some ideas, but these were difficult to implement. This includes a real freeze phase in the development to extensively test the innovations. Possibly shifts the inclusion of short-term patches but only further back.

Similarly, Levin could imagine a kind of standardized approach to accepting patches in the main branch. As a prerequisite for a recording this could be a minimum number of days that the patches in the Linux Next branch must be present before inclusion in the main branch. Similarly, extensive reviews or tests could be forced or so-called sign-off tags. The latter in this case would be roughly “approved by” .

All these requirements would, according to Levin with a not inconsiderable share of developers and maintainers encounter resistance and are therefore not feasible.

Researchers are also using machine learning for finding trends. Here are takeaways From The First Operational ML Conference USENIX OpML 2019

 

Author Profile

Amram David
Amram David
Amram is a technical analyst and partner at DFI Club Research, a high-tech research and advisory firm .He has over 10 years of technical and business experience with leading high-tech companies including Huawei,Nokia,Ericsson on ICT, Semiconductor, Microelectronics Systems and embedded systems.Amram focuses on the business critical points where new technologies drive innovations.
Latest entries
  • best gaming pcAMD2022.02.22Best PreBuilt Gaming PC For Money
  • ampere_nvidia_rtx_3000AMD2022.02.01Nvidia Ampere: New GPU Generation Unveiled 2022
  • 5G2021.01.10What is The Difference between 5G and 6G?
  • online food deliveryTech Business2020.06.1610 Advantages That Apps Have Over Websites For Your Business

Trending

best gaming pc

Best PreBuilt Gaming PC For Money

ampere_nvidia_rtx_3000

Nvidia Ampere: New GPU Generation Unveiled 2022

What is The Difference between 5G and 6G?

online food delivery

10 Advantages That Apps Have Over Websites For Your Business

AI robot

Is The World Better Without AI (Artificial Intelligence)?

Pinchtype-Facebook-Reality-Labs 2020

Facebook Shows The Strangest Keyboard You Have Ever Seen

AI and Corona

AI in the First Line Of Defense Against Corona

AI in medicine 2020

What AI Means For Medicine

AI 2020

Always Question AI Systems

Top Subreddits

  • Facebook
  • Instagram
  • YouTube
  • Home
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Top Subreddits
  • About

Copyright © 2023 | DFIClub | DFICLUB:ORG IS A PARTICIPANT IN THE AMAZON SERVICES LLC ASSOCIATES PROGRAM, AN AFFILIATE ADVERTISING PROGRAM DESIGNED TO PROVIDE A MEANS FOR SITES TO EARN ADVERTISING FEES BY ADVERTISING AND LINKING TO AMAZON.COM. AMAZON, THE AMAZON LOGO, AMAZONSUPPLY, AND THE AMAZONSUPPLY LOGO ARE TRADEMARKS OF AMAZON.COM, INC. OR ITS AFFILIATES. AS AN AMAZON ASSOCIATE WE EARN AFFILIATE COMMISSIONS FROM QUALIFYING PURCHASES.