Swiss banking giant UBS posted a third-quarter net loss of $785 million, against $1.7 billion in net profit for the year-ago period, mainly due to higher-than-expected restructuring costs and tax expenses.