# K-M LLM-pro: Physics-guided cross-modal adaptation for fine-grained spatiotemporal trajectory classification

**Authors:** Chenglong Ge, Jing Zhang, Jianping Du, Jiachen Yao, Tianhe Yang, Xuebin Wang, Linyu Wang

PMC · DOI: 10.1371/journal.pone.0334412 · PLOS One · 2025-10-21

## TL;DR

This paper introduces K-M LLM-pro, a novel framework that uses physics principles to improve the classification of complex spatiotemporal trajectories, even with limited data.

## Contribution

The novel integration of Kramers-Moyal coefficients as interpretable statistical priors into large language models for spatiotemporal trajectory classification.

## Key findings

- K-M LLM-pro outperforms state-of-the-art models in classification accuracy on datasets like Geolife and AIS.
- The framework achieves strong performance in few-shot learning scenarios with only 1% of training data.
- The method uses physics-informed prompt engineering and dual spatiotemporal adapters with minimal new parameters.

## Abstract

Spatiotemporal trajectory classification is essential for intelligent perception systems but faces challenges including weak separability of dynamic features, representation collapse under limited samples, and heterogeneous conflicts in multimodal data. To address these issues, we propose K-M LLM-pro, a physics-guided cross-modal adaptation framework that integrates statistical mechanics with large language models (LLMs) to improve trajectory understanding. Our approach incorporates: (1) physics-informed prompt engineering based on Kramers-Moyal coefficients, embedding physical constraints via reproducing kernel Hilbert space projection; (2) a dynamic patching optimization mechanism combining variance maximization and Lyapunov stability criteria for unified modeling of heterogeneous trajectories; and (3) dual spatiotemporal adapters with a parameter-efficient expansion strategy, injecting domain knowledge while optimizing only 3.8% of new parameters. Experimental results on public datasets such as Geolife and AIS show that K-M LLM-pro outperforms state-of-the-art models in classification accuracy, demonstrating strong performance even in few-shot scenarios with only 1% of training data. To our knowledge, this is the first work to integrate K-M coefficients as interpretable statistical priors into LLMs, offering a lightweight and effective solution for modeling complex spatiotemporal dynamics.

## Full-text entities

- **Diseases:** AIS (MESH:C537069), inflammatory (MESH:D007249), LLMs (MESH:D007806), ADS-B (MESH:D006509)
- **Chemicals:** LLM-pro (-)
- **Species:** Bos taurus (bovine, species) [taxon 9913], Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12539697/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12539697/full.md

## References

38 references — full list in the complete paper: https://tomesphere.com/paper/PMC12539697/full.md

---
Source: https://tomesphere.com/paper/PMC12539697