Connect with us

AI Research

Diff Risk Score: AI-driven risk-aware software development

Published

on


The state of the research

Diff Risk Score (DRS) is a AI-powered technology built at Meta that predicts the likelihood of a code change causing a production incident, also known as a SEV. Built on a fine-tuned Llama LLM, DRS evaluates code changes and metadata to produce a risk score and highlight potentially risky code snippets. Today, DRS powers many risk-aware features that optimize product quality, developer productivity, and computational capacity efficiency. Notably, DRS has helped us eliminate major code freezes, letting developers ship code when they historically could not with minimal impact to customer experience and the business.

Why it matters

Software development is fraught with risk, especially for intricate, rapidly evolving, and scaled products and technologies. Because Meta operates at a global scale, we need the best tools possible to mitigate risk and to protect both user experience and advertiser outcomes..

AI is transforming how we build products, so we committed ourselves to applying AI to improve every aspect of the software development process. Production risk was one of the areas we tackled first. We theorized that, if equipped with a model that could predict if a code change might cause a SEV, we could build features and workflows to improve almost every aspect of writing and pushing code.

Since DRS use cases are too numerous to cover in depth here, we’ll focus on one: code unfreeze. For Meta, production incidents can drive significant negative user experience and advertiser impact. For this reason, some teams have historically “frozen” major parts of the codebase for sensitive periods like Cyber 5 holiday shopping week, preventing engineers from shipping code to reduce incident risk. For certain teams, it has cut down their holiday shopping code freeze, leading to significant improvements in productivity.

While this had clear reliability benefits, the tradeoff was a substantial reduction in productivity. DRS enabled a more nuanced approach, letting developers land lower-risk changes during these periods while minimizing production incidents, thus protecting the user experience, the business, and productivity. In fact, DRS has driven meaningful productivity gains across many sensitive periods. During one such period, a major partner event in 2024, we landed 10,000+ code changes (that previously could not have landed during a freeze) with minimal production impact, enabling continued innovation and customer success. What’s more, by managing productivity and risk in this way, we benefit twice: through more code landed and through less engineering time spent detecting, understanding, and mitigating production incidents.

Code unfreeze works well, but it’s just the start of what the technology can do. Understanding risk, even imperfectly and at a statistical level, has driven improvements for Meta in more ways than we anticipated – there are 19 use cases for risk tooling and growing!

Where we’re headed next

The success of DRS has spurred the creation of new risk-aware features across Meta that span the entire development lifecycle, from planning to post-release monitoring. The demand to build such features also led us to build the Risk Awareness Platform to provide risk analysis APIs and tool integrations.

We envision four major directions for risk awareness in the coming months and years.

First, while we’ve seen an explosion of DRS-powered features on the Risk Awareness Platform, from optimizing build and test selection to improving reliability, selecting code reviewers, and analyzing release risks, we believe this is only the beginning. A critical problem in software engineering is maximizing innovation rate subject to a reliability threshold, so the applications of risk understanding are virtually inexhaustible. We believe code risk can play a significant role in improving this tradeoff, so we will build more risk-aware features while improving their quality. As the risk model, feature data, and user experiences improve, we’ll see greater real-world benefits for people who use Meta’s products and businesses who advertise with Meta.

Second, we will expand beyond code change risk to configuration change risk. While code changes cause the plurality of SEVs at Meta, configuration changes are another large category. For this reason, we’ve expanded the RAP to include models that predict the risk of various config changes. These efforts are state of the art, focused on an open research area, and earlier on the research-to-production continuum, but we believe they will soon power feature families of their own, much like DRS does today.

Third, we want to automate the risk mitigation step. Instead of flagging risky diffs and recommending appropriate reviewers or rollback mechanisms, we want to use AI agents to proactively generate risk-mitigating changes. This can be done for code in motion (i.e. diffs or pull requests) and for code at rest to lower baseline codebase risk. Additionally, once we are armed with a greater understanding of configuration risks, these agents will be able to operate flexibly across both code and config changes.

Fourth, we will increasingly use natural language outputs to show humans what these risk-aware technologies are doing and why. By helping engineers understand the rationale behind the risk score, we’ll empower them to either mitigate risks or give the model feedback to improve accuracy. This creates a learning loop for improving both our risk models and the end user experience. LLM explainability remains an open area of research, but our teams are actively working to offer answers to common questions.

We are excited for the future of risk-aware software development, and we look forward to learning from—and with—our colleagues in industry as we make progress in this valuable domain.

Read the papers

Moving Faster and Reducing Risk: Using LLMs in Release Deployment

Leveraging Risk Models to Improve Productivity for Effective Code Un-Freeze at Scale

Acknowledgements

We would like to thank all the team members and the leadership that contributed to making the DRS effort successful at Meta. Rui Abreu, David Amsallem, Parveen Bansal, Kaavya Chinniah, Brian Ellis, James Everingham, Peng Fan, Ford Garberson, Jun Ge, Kelly Hirano, Kosay Jabre, David Khavari, Sahil Kumar, Ajay Lingapuram, Yalin Liu, Audris Mockus, Megh Mehta, Vijayaraghavan Murali, Venus Montes, Aishwarya Girish Paraspatki, Akshay Patel, Brandon Reznicek, Peter C Rigby, Maher Saba, Babak Shakibi, Roy Shen, Gursharan Singh, Matt Steiner, Weiyan Sun, Ryan Tracy, Siri Uppalapati, and Nachiappan Nagappan.





Source link

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

AI Research

StockGro launches AI stock research engine for retail investors

Published

on


By Vriti Gothi

Today

  • AI
  • Cross Border Payments
  • Digital Lending

Stockgro

StockGro, has launched of Stoxo, an AI-powered stock-market research engine designed exclusively for retail investors to bridge the gap between sophisticated market intelligence and everyday investors.

Stoxo harnesses advanced artificial intelligence to transform the way retail participants access, interpret, and act on market information. With its ability to analyse real-time trends, compare stocks across multiple parameters, and deliver actionable insights in an intuitive format, the platform offers retail investors a level of research capability once reserved for institutional players. Developed with an emphasis on accessibility and user-friendly design, Stoxo ensures that complex financial data is presented with clarity, empowering users to make confident, informed investment decisions.

The introduction of Stoxo positions StockGro at the forefront of India’s rapidly evolving investment ecosystem. The platform’s AI-driven architecture is built for scalability, enabling it to adapt seamlessly to shifting market conditions while maintaining the speed and precision required in modern trading environments. For customers, the impact is immediate greater transparency, enhanced decision-making power, and the ability to participate in the markets with a degree of insight previously out of reach for many retail investors.

Beyond individual benefit, Stoxo represents a step forward for the broader financial sector by fostering inclusivity and boosting retail participation. By providing institutional-grade research capabilities in a digital-first, user-friendly environment, StockGro is advancing financial literacy and enabling more Indians to take an active role in wealth creation.

With the launch of Stoxo, StockGro continues to redefine the boundaries of FinTech innovation, merging advanced technology with a deep understanding of investor needs to shape a more informed, empowered, and inclusive investing future for India.

Previous Article

Brex gets EU payment licence to expand across Europe

Read More


IBSi FinTech Journal

  • Most trusted FinTech journal since 1991
  • Digital monthly issue
  • 60+ pages of research, analysis, interviews, opinions, and rankings
  • Global coverage


Subscribe Now



Source link

Continue Reading

AI Research

Did Bill Gates Predict GPT-5’s Disappointment Before Launch?

Published

on


There had been a lot of hype and anticipation building around GPT-5 prior to its recent launch. OpenAI touted the tool as the smartest AI model while comparing it to an entire team of PhD-level experts. GPT-5 ships with a plethora of next-gen features across a wide range of categories, including coding, writing, and medicine.

The ChatGPT maker’s CEO, Sam Altman, previously claimed that something “smarter than the smartest person you know” will soon be running on a device in your pocket, potentially referring to GPT-5. However, the AI firm has received backlash from users following the model’s launch and its abrupt decision to deprecate the model’s predecessors.





Source link

Continue Reading

AI Research

Better Artificial Intelligence Stock: ASML vs. AMD

Published

on


ASML and AMD are pivotal players in the booming AI market, helping both to see strong sales so far this year.

Artificial intelligence (AI) remains a hot area to invest in, as seen in Nvidia‘s share price, which is up over 30% this year through Aug. 6. Two AI businesses to consider are ASML Holding (ASML 1.33%) and Advanced Micro Devices (AMD 0.17%), since they provide key hardware to the industry.

The former makes cutting-edge lithography machines, which are necessary for producing the advanced microchips that power AI systems. AMD, one of Nvidia’s top competitors, sells AI chips to cloud computing companies such as Microsoft.

ASML and AMD are both strong businesses. But determining which is a better AI investment isn’t simple. So let’s evaluate them in more detail.

Image source: Getty Images.

A look into ASML

ASML’s lithography equipment is essential for manufacturing AI microchips because the technology demands immense computing power. This necessitates shrinking chip components to minuscule dimensions. For instance, a microchip the size of your fingernail contains billions of transistors. ASML’s machines support this.

Although the Dutch company plays an important role in AI, its stock has struggled in 2025, remaining essentially flat through Aug. 6. Part of this is because management anticipates economic uncertainty ahead as a result of factors such as President Donald Trump’s aggressive tariff policies.

Even so, ASML expects 2025 sales to rise 15% over 2024’s 28.3 billion euros ($33 billion). This is significant since 2024’s revenue represents only a 2.6% year-over-year increase. And so far this year, the company is doing well.

Through two quarters, revenue stood at $18 billion, up from the prior year’s $13.4 billion. Operating income rose to $5.8 billion from 2024’s $3.7 billion. This robust growth resulted in net income of $5.4 billion, a strong increase over the previous year’s $3.3 billion.

The excellent first-half results were tempered by a third-quarter revenue forecast between $8.6 billion and $9.2 billion. This outlook, when compared to the prior year’s sales of $8.9 billion, suggests the current trend of strong year-over-year growth may be slowing down, which contributed to ASML’s tepid stock performance.

How AMD is faring

Like rival Nvidia, AMD stock is having a stellar year. Shares are up 35% in 2025 through Aug. 6. This performance is understandable following the company’s second-quarter earnings results. The quarter’s revenue reached a record $7.7 billion, a 32% year-over-year increase.

CEO Lisa Su said, “We are seeing robust demand across our computing and AI product portfolio and are well positioned to deliver significant growth in the second half of the year.” In that second half, AMD expects revenue of $8.7 billion, a strong increase over the previous year’s $6.8 billion.

Despite the sales growth, AMD exited the second quarter with an operating loss of $134 million compared to operating income of $269 million in the previous year. The substantial drop was due to new U.S. government restrictions introduced earlier this year on the sale of AI chips to China. As a result, AMD could not sell chips it had intended for Chinese customers, forcing the company to write off that inventory by $800 million.

Yet this makes its second-quarter sales growth all the more impressive. In the quarter, net income was $872 million, up 229% year over year. Consequently, diluted earnings per share soared 238% to $0.54 in a boon to shareholders.

AMD is working to get government approval to sell AI chips to China again. When that OK is obtained, the company is in a position to deliver more outsize sales growth.

Deciding between ASML and AMD

AMD’s outstanding performance, its anticipated third-quarter revenue growth, and an eventual return of sales to China point to it being the superior AI stock versus ASML.

However, an important consideration is share price valuation. The price-to-earnings ratio (P/E) tells you how much investors are willing to pay for a dollar’s worth of earnings based on the trailing 12 months.

ASML PE Ratio Chart

Data by YCharts.

The top chart shows ASML’s P/E ratio has declined over the past year, indicating its stock’s valuation has improved. Compared to AMD’s recently rising earnings multiple, as seen in the bottom chart, ASML shares look like a bargain.

ASML’s short-term sales may slow due to the current macroeconomic uncertainty, but over the long run, it’s likely to benefit from the rise of AI. The company sees the technology as a significant chance for growth in semiconductors, similar to previous opportunities like PCs, the internet, and smartphones.

Industry forecasts support ASML’s perspective. The AI sector is projected to grow from $244 billion in 2025 to $1 trillion by 2031. While this market growth is a tailwind for both companies, ASML’s attractive valuation makes it look like the more compelling AI stock to buy right now.

Robert Izquierdo has positions in ASML, Advanced Micro Devices, Microsoft, and Nvidia. The Motley Fool has positions in and recommends ASML, Advanced Micro Devices, Microsoft, and Nvidia. The Motley Fool recommends the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool has a disclosure policy.



Source link

Continue Reading

Trending