arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07608cs.LGcs.HC
收藏

Time2Lang:超越提示工程的健康感知中时间序列基础模型与大语言模型的桥接

Time2Lang: Bridging Time-Series Foundation Models and Large Language Models for Health Sensing Beyond Prompting

Dartmouth College(达特茅斯学院);University of Cambridge(剑桥大学);Stanford University(斯坦福大学);Google Research(谷歌研究)

Arvind Pillai, Dimitris Spathis, Subigya Nepal, Amanda C Collins, Daniel M Mackin, Michael V Heinz, Tess Z Griffin, Nicholas C Jacobson, Andrew Campbell

AI总结:

提出Time2Lang框架,无需中间文本转换,直接将时间序列基础模型输出映射到大语言模型表征,在心理健康分类任务上实现高效整合、近乎恒定的推理时间及跨范式性能迁移。

摘要:

大语言模型(LLMs)在与行为感知数据结合时,在健康应用中展现出巨大潜力。传统方法将传感器数据转换为文本提示,但该过程易出错、计算成本高且需要领域专业知识。在处理长时间序列数据时,这些挑战尤为突出。尽管时间序列基础模型(TFMs)最近已成为从时间数据中学习表征的强大工具,但桥接TFMs和LLMs仍具挑战性。在此,我们提出Time2Lang框架,无需中间文本转换,直接将TFM输出映射到LLM表征。我们的方法首先在合成数据上以周期性预测为前置任务进行训练,随后在心理健康分类任务上进行评估。我们在两个纵向可穿戴和移动感知数据集上验证Time2Lang:使用步数数据的每日抑郁预测(来自256名参与者的17,251天数据)以及基于对话时长的繁荣感分类(46名参与者持续10周)。与传统提示方法不同,Time2Lang无论输入长度如何,均保持近乎恒定的推理时间。生成的嵌入保留了自相关等基本时间序列特征。结果表明,TFMs和LLMs可有效整合,同时最小化信息损失并实现跨不同建模范式的性能迁移。据我们所知,我们是首个将TFM和LLM整合用于健康领域的团队,从而为未来结合通用大模型处理复杂医疗任务的研究奠定了基础。

英文摘要:

Large language models (LLMs) show promise for health applications when combined with behavioral sensing data. Traditional approaches convert sensor data into text prompts, but this process is prone to errors, computationally expensive, and requires domain expertise. These challenges are particularly acute when processing extended time series data. While time series foundation models (TFMs) have recently emerged as powerful tools for learning representations from temporal data, bridging TFMs and LLMs remains challenging. Here, we present Time2Lang, a framework that directly maps TFM outputs to LLM representations without intermediate text conversion. Our approach first trains on synthetic data using periodicity prediction as a pretext task, followed by evaluation on mental health classification tasks. We validate Time2Lang on two longitudinal wearable and mobile sensing datasets: daily depression prediction using step count data (17,251 days from 256 participants) and flourishing classification based on conversation duration (46 participants over 10 weeks). Time2Lang maintains near constant inference times regardless of input length, unlike traditional prompting methods. The generated embeddings preserve essential time-series characteristics such as auto-correlation. Our results demonstrate that TFMs and LLMs can be effectively integrated while minimizing information loss and enabling performance transfer across these distinct modeling paradigms. To our knowledge, we are the first to integrate a TFM and an LLM for health, thus establishing a foundation for future research combining general-purpose large models for complex healthcare tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑