Smoothly ditching a party they don't feel stimulated by is not the worst strategy in the world. But some people I know have the skill of finding a subject of conversation with practically everyone they meet at a party. One of them has literally talked to British Royalty, yet seemed to have no difficulty holding a conversation with a man with limited education, some substance abuse issues, and assorted other difficulties in life.
It seems to me that this is a valuable skill to aspire to. And if at first glance nobody at the party seems to have anything in common with you — maybe that's all the more of an opportunity to hear about views and experiences outside one's usual circles?