に比べて — is this interchangeable with よりも in comparisons?

去年に比べて今年は暑い vs 去年より今年は暑い. Both seem to compare this year to last year. Is に比べて just a more formal/written way of saying the same thing as より, or is there an actual difference in what kind of comparison each implies?
Post
沐學 Mizuru