What is the most intelligent insect?

I dunno, after you take humanoids out of an equation, I always put my money on the cephalopods hands…er, flippers…uhmmmm… watery fleshy parts down.