Baker Hughes Inc. (NYSE: BHI) reported a much smaller-than-expected quarterly loss as the company's aggressive cost-cutting measures paid off.

Baker Hughes, which in May abandoned a merger with closest rival Halliburton Co. (NYSE: HAL) due to opposition from antitrust regulators, said total costs and expenses fell 31.2% in the third quarter ended Sept. 30.

The company said in July it expected to save an annualized $500 million in costs by the end of 2016.

Baker Hughes said on Oct. 25 it expected activity in North America to modestly increase as customers slowly begins to ramp up activity.

Larger rival Schlumberger Ltd. (NYSE: SLB), the world's number one oilfield services provider, said on Oct. 21 there were early signs of recovery in industry activity in most parts of the world.

RELATED: Schlumberger Targets ‘Super Laterals,’ Subsea Tiebacks

The number of rigs drilling for oil in the U.S. this week rose by 11 in the week to Oct.21, the most in two months.

However, Baker Hughes said it expected activity declines in the international community, with continued pricing pressure.

Net loss attributable to Baker Hughes widened to $429 million, or $1 per share, in the third quarter ended Sept. 30 from $159 million, or 36 cents per share, a year earlier.

The company said it recorded after-tax charges of $365 million related to asset and goodwill impairments, restructuring and litigation settlements.

Excluding items, the company reported a loss of 15 cents per share, smaller than the 44 cents analysts had expected, according to Thomson Reuters.

Revenue fell 37.8% to $2.35 billion.