Revealing higher-order neural representations with generative artificial intelligence