NEW YORK  - World shares inched higher on Wednesday, with Wall Street advancing as technology shares rebounded from declines in the prior session, while commodity prices were muted for a second straight session.

In the U.S. equity market, tech shares led the advance, including IBM (IBM.N), which surged 2.3 per cent to US$167.62 after Barclays upgraded the stock two notches to "overweight" ahead of its quarterly results on Thursday. The S&P technology sector gained 0.61 percent.

Gains were capped however, by a dip in financial shares, off 0.23 percent. Goldman Sachs (GS.N) lost 2.96 percent and Bank of America (BAC.N) fell 2.72 after their quarterly results included charges related to the new federal tax law.

"It's very confusing to look at earnings right now because of the tax change charges," said Rick Meckler, president of hedge fund LibertyView Capital Management LLC in Jersey City, New Jersey.

"Investors are trying to figure out what normalized earnings are in a sort of a new environment for them where interest rates are higher, under changing regulations and the new tax code."

U.S. corporate earnings are expected to be solid, with growth for the quarter is forecast at 11.9 percent, according to Thomson Reuters data through Tuesday morning.

The Dow Jones Industrial Average rose 112.77 points, or 0.44 percent, to 25,905.63, the S&P 500  gained 8.5 points, or 0.31 per cent, to 2,784.92 and the Nasdaq Composite added 22.68 points, or 0.31 per cent, to 7,246.36.

The pan-European FTSEurofirst 300 index lost 0.24 percent and MSCI's gauge of stocks across the globe gained 0.11 per cent.

Equities in Europe were lower, as declines in luxury fashion brand Burberry  and educational publishing company Pearson  weighed, following sales and earnings updates.

The U.S. dollar was higher versus a basket of currencies in the wake of as stronger-than-forecast data on domestic industrial output in December that supported the notion of a steady U.S. economic expansion.

The dollar index rose 0.23 percent, with the euro down 0.16 per cent to $1.2239.

The higher dollar helped keep commodity prices subdued, as oil prices remained below the $70 a barrel mark hit last week but remained underpinned by tightening supply and strong global demand, while metals such as copper and nickel fell.

U.S. crude rose 0.11 per cent to $63.80 per barrel and Brent was last at $69.24, up 0.13 percent on the day.

Copper lost 0.68 per cent to $7,030.00 a tonne.

World shares have rallied at the start of 2018 on optimism for continued strong global growth and improving corporate earnings, with many analysts expecting the bull run in equities to lengthen.

The U.S. yield curve flattened to a decade-low spread between 5-year and 30-year yields and two-year Treasury yields hit a nine-year high on Wednesday on expectations the Federal Reserve will continue to tighten monetary policy this year.

Two-year yields, which are the maturity most sensitive to Fed interest rate hikes, have been rising as robust economic data has affirmed the FOMC's hawkish sentiment.

Benchmark 10-year notes last fell 1/32 in price to yield 2.5463 percent, from 2.544 per cent late on Tuesday.