Xにしては/Xわりに
Usage
Means "Considering that -" unexpectedly
N の わりに
にしては express the difference between the previous image one has and the reality
Examples
田中くんは学生にしてはいいマンシオンに住んでいる。きっと親が金持ちなんだろう
Tanaka lives in a nice apartment for a student. His parents must be rich
このアパートは駅からちかいわりに、家賃が安い
The rent for this apartment is cheap, considering how close it is to the station