The present invention relates to artificial tear compositions and ophthalmic compositions suitable for drug delivery. In one embodiment of the present invention, the compositions comprise a galactomannan polymer such as guar or hydroxypropyl guar, hyaluronic acid, and a cis-diol such as sorbitol. In a preferred embodiment, the compositions also comprise a borate compound.