https://en.oxforddictionaries.com/usage/compare-with-or-compare-to
Compare with vs compare to
In general terms, either preposition is correct, but the choice depends partly on meaning and partly on grammar. In addition, American English generally prefers to when there is a choice, whereas in British English the two different constructions are more evenly spread.
Let’s look first at the meaning of each phrase. To compare can be defined broadly as ‘to estimate the similarity or difference between things’. For example:
Individual schools compared their facilities with those of others in the area.
It is difficult to compare our results to studies conducted in the United States.
In this meaning, either preposition can be used.
위 예문의 경우 같은점이나 다른점을 비교할 때는 with 나 to 둘 다 쓸 수 있다
However, when compare is used to say that one thing resembles another, or to make an analogy between two different things,
to is obligatory:
서로 닮은점이나 유사성 비유에 compare 가 쓰일 때는 'to' 와 같이 쓴다
Her novel was compared to the work of Daniel Defoe.
He compared children to young trees, both still growing and able to be shaped.
A Shakespearean example
One of the most famous lines in English poetry, from Shakespeare’s Sonnet 18, uses compare to in this way:
Shall I compare thee to a summer’s day?
Shakespeare is likening the addressee to a summer’s day, even though in the end he shows his beloved to be lovelier than such a day.
Intransitive uses 자동사로 쓰일 경우
British English prefers with when compare is used intransitively, because similarities are being evaluated:
영국 영어는 with 를 쓴다
His achievements do not compare with those of A. J. Ayer.
No other English painter can compare with Sutherland in the subtlety of his vision.
In American English, however, compare to is possible and slightly more frequent:
미국 영어는 to 를 더 쓴다
None of those birds compare to L.A. pigeons.
No, today’s calamities don't compare to the Great Depression or even to the agricultural troubles of the 1980s.
Compared to...
When the past participle
compared introduces a subordinate clause or phrase, the preposition is either to or with, although here usage is moving in favour of to:
This was a modest sum compared to what other people spent.
Compared to physics and astronomy, cosmology is a young science.
However, compared with the USA and Japan, Europe contains a group of separate nation states.
분사구로 쓰인 경우는 with/to 둘 다 가능하나 to 를 선호한다