Efficient Latent Semantic Clustering for Scaling Test-Time Computation of LLMs