(Bloomberg) -- Samsung Electronics Co. topped analyst earnings estimates after its semiconductor division returned to profitability, as companies like Microsoft Corp. and Alphabet Inc. led a surge in spending on artificial intelligence services.

The world’s largest memory chipmaker reported net income of 6.62 trillion won ($4.8 billion) in the March quarter, versus the average analyst projection for 5.63 trillion won. That’s more than four times the company’s earnings a year earlier.

The results underscore how demand for the memory chips that power modern electronics and artificial intelligence is starting to rebound after a severe downturn. The company’s shares rose 1% in Seoul trading. 

“Looking at the profitability of individual business divisions, it is evident that semiconductors, especially memory, performed exceptionally well,” said Sanjeev Rana, an analyst at CLSA Securities Korea.

Samsung, also the world’s largest smartphone maker, is trying to reverse a year-long decline triggered by global economic uncertainty. In 2023, the company’s overall operating profit plunged to a 15-year low after its semiconductor unit posted a loss of 14.9 trillion won.

Signs are pointing to a gradual market rebound, driven in part by demand for chips used to develop AI after the advent of OpenAI’s ChatGPT. Samsung’s chip division posted a a better-than-projected 1.91 trillion won operating profit, its first quarter in the black after four successive losses. South Korean trade data released this month showed semiconductor shipments led growth in the country’s exports in the first 20 days of April, rising 43% from a year earlier.

In its earnings release, Samsung said it expects chip demand to remain strong in the current quarter and the second half of this year. It said that the industry should remain strong, in large part because of the demand for generative AI. Microsoft and Alphabet, Google’s parent company, reported financial results last week that beat analysts estimates, in part because of AI services.

“The recent earnings from major US cloud hyperscalers suggest that spending on AI infrastructure will remain robust throughout the year, with Korean memory suppliers poised to benefit greatly,” Rana said.

Samsung shares have risen since an endorsement by Nvidia Corp.’s Jensen Huang in March fueled expectations for a supply deal later this year for its high-bandwidth memory or HBM, which is optimized for use with Nvidia AI accelerators. That would help it gain a key foothold in the battle with smaller SK Hynix Inc., which is dominating the latest version of HBM.

Samsung’s smartphone and network business — the biggest contributor to its overall business — posted an operating profit of 3.5 trillion won on sales of 33.5 trillion won during the quarter, aided by strong sales of the Galaxy S24 series. 

Still, Samsung expects overall demand for smartphones to decline sequentially due to seasonality, the company said. 

Longer-term, Samsung is trying to catch SK Hynix in the rapidly expanding market for HBM. Hynix last week reported its fastest pace of revenue growth since at least 2010, and said overall memory demand is on a steady growth path, citing double-digit price rises in the broader DRAM market and the NAND market. 

Samsung said it began mass production of its latest HBM product, eight-layer HBM3E, and plans to mass produce 12-layer HBM chips in the second quarter. The company expects its supply of HBM to increase by at least three times in 2024 compared with last year.

“We expect business condition to stay positive, despite some volatility related to macroeconomic trends, geopolitical issues, and so on,” said Kim Jaejune, executive vice president for the memory business. “As the industry supply of HBM improves in the second half, we expect the spread of AI servers to accelerate, and thanks to this, associated cloud services are also expected to expand further.”

Kyung Kye-hyun, who leads Samsung’s semiconductor business, said at the company’s annual shareholders’ meeting in March that the division should recover to 2022 levels this year as the longstanding slump begins to end. The company averaged an operating profit of more than 10 trillion won a quarter that year.

--With assistance from Min Jeong Lee, Vlad Savov and Edwin Chan.

(Updates with analyst comment from fourth paragraph.)

©2024 Bloomberg L.P.