NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LatentChem: From Textual CoT to Latent Thinking in Chemical Reasoning

Xinwu Ye, Yicheng Mao, Jia Zhang, Yimeng Liu, Li Hao, Fang Wu, Zhiwei Li, Yuxuan Liao, Zehong Wang, Zhiyuan Liu, Zhenfei Yin, Li Yuan, Philip Torr, Huan Sun, xiangxiang Zeng, Mengdi Wang, Le Cong, Shenghua Gao, Xiangru Tang

TL;DR

This paper introduces LatentChem, a novel approach that allows large language models (LLMs) to perform chemical reasoning directly in a continuous "latent space" rather than relying on step-by-step natural language explanations (Chain-of-Thought or CoT). This "latent thinking" significantly improves efficiency and performance, demonstrating that chemical logic is more naturally expressed in continuous representations than discrete text.

What Problem Does This Paper Address?

Current LLMs tackling complex chemical reasoning tasks, like predicting reactions or optimizing molecules, heavily rely on explicit Chain-of-Thought (CoT) explanations. This involves generating a sequence of natural language steps to arrive at a solution. However, chemical reasoning is inherently continuous and structural, dealing with intricate molecular properties and interactions. Forcing this continuous, non-verbal logic into discrete linguistic tokens creates a "modality mismatch," acting as a bottleneck that limits both the efficiency and the ultimate performance of these models. The authors hypothesize that this linguistic constraint hinders LLMs from fully leveraging the continuous nature of chemical information.

Methods

LatentChem introduces a reasoning interface that decouples chemical logic from linguistic generation. The core idea is to enable LLMs to process information through continuous "thought vectors" in a latent space, only using natural language for input and final output. Key components include:

  • Chemical Adapter: Bridges the gap between molecular features and the LLM's embedding space.
  • ChemUpdater: A mechanism that allows latent thoughts to dynamically re-query and refine the molecular representation at each reasoning step, ensuring structure-aware reasoning.
  • Latent Projector: Maps the LLM's internal states back into the continuous latent space for the next reasoning step.

The training protocol is progressive, starting with supervised fine-tuning (SFT) for alignment and then moving to reinforcement learning (GRPO) optimized for task success. Crucially, the GRPO stage rewards only the final answer's correctness and format, not the presence of textual reasoning steps.

Datasets

The paper utilizes several established chemical reasoning benchmarks for training and evaluation:

  • ChemCoTBench: A comprehensive benchmark for molecule understanding, editing, optimization, and reaction prediction.
  • Mol-Instructions: A large instruction dataset for biomolecular tasks, including molecule description, generation, property prediction, and reaction prediction.
  • ChEBI-20: A dataset for molecule-text retrieval and captioning.
  • ChemLLMBench: A benchmark covering eight chemistry tasks, including name prediction, property prediction, and reaction prediction.

Key Insights and Ideas

  • Spontaneous Internalization: When optimized solely for task success (not for generating CoT), LatentChem models spontaneously "internalize" their reasoning. They abandon verbose textual derivations in favor of implicit computations within the latent space, suggesting that continuous latent dynamics are a more native substrate for chemical logic.
  • Modality Mismatch Hypothesis: The paper provides strong empirical evidence for the "modality mismatch" between continuous chemical logic and discrete natural language. LatentChem's success suggests that forcing chemical reasoning into text is suboptimal.
  • Efficiency Gains: By compressing reasoning into compact latent states, LatentChem achieves a significant reduction in reasoning step overhead (10.84x average reduction) and a corresponding wall-clock speedup (5.96x), breaking the typical trade-off between reasoning depth and inference speed.
  • Latent Space as a Native Substrate: The visualization of latent dynamics shows rapid, task-specific clustering of representations, indicating that the model efficiently navigates the chemical manifold in latent space. This suggests that the continuous latent space offers a smoother and more native environment for chemical reasoning than discrete tokens.

Key Results

  • Performance: LatentChem achieved a 59.88% non-tie win rate against strong CoT baselines on the rigorous ChemCoTBench. It also demonstrated superior performance across various benchmarks, particularly in open-ended generative tasks.
  • Efficiency: LatentChem achieved an average 10.84x reduction in reasoning step overhead and a 5.96x wall-clock speedup across evaluated benchmarks.
  • Spontaneous Internalization: Models trained with LatentChem consistently abandoned explicit CoT generation in favor of latent reasoning when optimized for task success.
  • Robustness: The benefits of latent reasoning were observed across different model scales (4B and 14B parameters).

Limitations and Future Work

  • Interpretability Trade-off: The internalized latent reasoning process is largely opaque to human users, sacrificing the transparency of explicit CoT. While post-hoc analysis validates the physical grounding of thought vectors, direct inspection of the reasoning steps is not possible.
  • Hybrid Architectures: The authors suggest future work on hybrid cognitive architectures (System 1/System 2) that leverage efficient latent thinking for computation while retaining the ability to decode thoughts into explicit language for justification when needed.
  • Further Exploration: Future research could explore task-dependent gains and regressions, investigate reward design choices, and address GRPO training stability.

Summary updated

BibTeX
@inproceedings{ye2026latentchem,
  author = {Xinwu Ye and Yicheng Mao and Jia Zhang and Yimeng Liu and Li Hao and Fang Wu and Zhiwei Li and Yuxuan Liao and Zehong Wang and Zhiyuan Liu and Zhenfei Yin and Li Yuan and Philip Torr and Huan Sun and xiangxiang Zeng and Mengdi Wang and Le Cong and Shenghua Gao and Xiangru Tang},
  title = {{LatentChem: From Textual CoT to Latent Thinking in Chemical Reasoning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Ul6hU6WkDL},
}
Figure