用大模型做状态估计,能通用、会推理、越练越准。
One Filters All: A Generalist Filter for State Estimation
- 用文本原型嵌入观测数据,让大模型理解动态系统任务
- 在多种系统中超越现有学习方法,新环境也能准确过滤
- 模型越大、训练越久,效果越好,适合做滤波基础模型
在各类科学与工程领域中,动态系统的隐藏状态估计(即最优滤波)是一个长期存在的问题。本文提出一种通用滤波框架——LLM-Filter,利用预训练大语言模型(LLMs)通过文本原型嵌入噪声观测数据实现状态估计。在经典动态系统实验中发现:首先,预训练大模型中嵌入的推理知识可显著提升状态估计性能;通过与冻结的LLM进行恰当模态对齐,LLM-Filter优于当前最先进的基于学习的方法。其次,我们设计了系统即提示(System-as-Prompt, SaP)结构,融入任务指令使LLM理解估计任务。在这些提示引导下,LLM-Filter展现出卓越泛化能力,可在改变甚至未见环境中准确执行滤波任务。此外,观察到LLM-Filter存在缩放规律,其准确性随模型规模增大和训练时间延长而提升。这些发现使LLM-Filter成为滤波任务的有前景基础模型。
原文摘要 · Abstract (English)
Estimating hidden states in dynamical systems, also known as optimal filtering, is a long-standing problem in various fields of science and engineering. In this paper, we introduce a general filtering framework, \textbf{LLM-Filter}, which leverages large language models (LLMs) for state estimation by embedding noisy observations with text prototypes. In various experiments for classical dynamical systems, we find that first, state estimation can significantly benefit from the reasoning knowledge embedded in pre-trained LLMs. By achieving proper modality alignment with the frozen LLM, LLM-Filter outperforms the state-of-the-art learning-based approaches. Second, we carefully design the prompt structure, System-as-Prompt (SaP), incorporating task instructions that enable the LLM to understand the estimation tasks. Guided by these prompts, LLM-Filter exhibits exceptional generalization, capable of performing filtering tasks accurately in changed or even unseen environments. We further observe a scaling-law behavior in LLM-Filter, where accuracy improves with larger model sizes and longer training times. These findings make LLM-Filter a promising foundation model of filtering.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。