iCLP: Large Language Model Reasoning with Implicit Cognition Latent Planning
Sijia Chen, Di Niu
TL;DR
This work tackles the brittleness and inefficiency of explicit plan-based reasoning in large language models by introducing iCLP, which learns a latent plan space for guiding reasoning. Latent plans are obtained by distilling explicit plans from CoT traces, encoding them with a vector-quantized autoencoder using a codebook of size $K=2048$ and latent dimension $d_h=512$, and then fine-tuning LLMs to reason in language conditioned on discrete LP tokens. The approach yields notable improvements in accuracy and token efficiency on mathematical reasoning and code generation tasks, with strong cross-domain generalization and maintained interpretability of the reasoning process. By separating planning (latent space) from reasoning (textual CoT), iCLP enables generalizable, scalable guidance across diverse problems while preserving the transparency of chain-of-thought reasoning.
Abstract
Large language models (LLMs), when guided by explicit textual plans, can perform reliable step-by-step reasoning during problem-solving. However, generating accurate and effective textual plans remains challenging due to LLM hallucinations and the high diversity of task-specific questions. To address this, we draw inspiration from human Implicit Cognition (IC), the subconscious process by which decisions are guided by compact, generalized patterns learned from past experiences without requiring explicit verbalization. We propose iCLP, a novel framework that enables LLMs to adaptively generate latent plans (LPs), which are compact encodings of effective reasoning instructions. iCLP first distills explicit plans from existing step-by-step reasoning trajectories. It then learns discrete representations of these plans via a vector-quantized autoencoder coupled with a codebook. Finally, by fine-tuning LLMs on paired latent plans and corresponding reasoning steps, the models learn to perform implicit planning during reasoning. Experimental results on mathematical reasoning and code generation tasks demonstrate that, with iCLP, LLMs can plan in latent space while reasoning in language space. This approach yields significant improvements in both accuracy and efficiency and, crucially, demonstrates strong cross-domain generalization while preserving the interpretability of chain-of-thought reasoning.
