亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

The first step is the hardest: pitfalls of representing and tokenizing temporal data for large language models

计算机科学 自然语言处理 数据科学 人工智能
作者
Dimitris Spathis,Fahim Kawsar
出处
期刊:Journal of the American Medical Informatics Association [Oxford University Press]
卷期号:31 (9): 2151-2158 被引量:16
标识
DOI:10.1093/jamia/ocae090
摘要

Abstract Objectives Large language models (LLMs) have demonstrated remarkable generalization and across diverse tasks, leading individuals to increasingly use them as personal assistants due to their emerging reasoning capabilities. Nevertheless, a notable obstacle emerges when including numerical/temporal data into these prompts, such as data sourced from wearables or electronic health records. LLMs employ tokenizers in their input that break down text into smaller units. However, tokenizers are not designed to represent numerical values and might struggle to understand repetitive patterns and context, treating consecutive values as separate tokens and disregarding their temporal relationships. This article discusses the challenges of representing and tokenizing temporal data. It argues that naively passing timeseries to LLMs can be ineffective due to the modality gap between numbers and text. Materials and methods We conduct a case study by tokenizing a sample mobile sensing dataset using the OpenAI tokenizer. We also review recent works that feed timeseries data into LLMs for human-centric tasks, outlining common experimental setups like zero-shot prompting and few-shot learning. Results The case study shows that popular LLMs split timestamps and sensor values into multiple nonmeaningful tokens, indicating they struggle with temporal data. We find that preliminary works rely heavily on prompt engineering and timeseries aggregation to “ground” LLMs, hinting that the “modality gap” hampers progress. The literature was critically analyzed through the lens of models optimizing for expressiveness versus parameter efficiency. On one end of the spectrum, training large domain-specific models from scratch is expressive but not parameter-efficient. On the other end, zero-shot prompting of LLMs is parameter-efficient but lacks expressiveness for temporal data. Discussion We argue tokenizers are not optimized for numerical data, while the scarcity of timeseries examples in training corpora exacerbates difficulties. We advocate balancing model expressiveness and computational efficiency when integrating temporal data. Prompt tuning, model grafting, and improved tokenizers are highlighted as promising directions. Conclusion We underscore that despite promising capabilities, LLMs cannot meaningfully process temporal data unless the input representation is addressed. We argue that this paradigm shift in how we leverage pretrained models will particularly affect the area of biomedical signals, given the lack of modality-specific foundation models.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
Ronalsen发布了新的文献求助10
3秒前
8秒前
13秒前
肥肉叉烧发布了新的文献求助10
14秒前
白华苍松发布了新的文献求助10
19秒前
41秒前
白华苍松发布了新的文献求助10
48秒前
1分钟前
1分钟前
肥肉叉烧发布了新的文献求助10
1分钟前
bkagyin应助Sariel采纳,获得10
1分钟前
1分钟前
顶顶顶发布了新的文献求助10
1分钟前
一杯茶具完成签到 ,获得积分10
1分钟前
bkagyin应助麻辣香锅采纳,获得10
1分钟前
CodeCraft应助顶顶顶采纳,获得10
1分钟前
1分钟前
2分钟前
肥肉叉烧发布了新的文献求助10
2分钟前
2分钟前
catherine完成签到,获得积分10
2分钟前
archer01发布了新的文献求助10
2分钟前
科研通AI2S应助archer01采纳,获得10
2分钟前
2分钟前
cc发布了新的文献求助10
2分钟前
动听白风应助科研通管家采纳,获得10
2分钟前
Jasper应助科研通管家采纳,获得10
2分钟前
动听白风应助科研通管家采纳,获得10
2分钟前
2分钟前
2分钟前
3分钟前
学术狂徒劲别完成签到,获得积分10
3分钟前
3分钟前
3分钟前
3分钟前
肥肉叉烧发布了新的文献求助10
3分钟前
白华苍松发布了新的文献求助10
3分钟前
麻辣香锅发布了新的文献求助10
3分钟前
3分钟前
高分求助中
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Annie Ernaux: De la perte au corps glorieux 600
Writing Systems 500
类器官构建与应用:从基础到前沿 500
Electric Vehicle Powertrains Design Fundamentals, Components, and Applications 400
Handbook on Planning and Climate Change Adaptation 400
Optical Coating Design with the Essential Macleod 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6802321
求助须知:如何正确求助?哪些是违规求助? 8520429
关于积分的说明 18141995
捐赠科研通 6120858
什么是DOI,文献DOI怎么找? 3026516
邀请新用户注册赠送积分活动 2003104
关于科研通互助平台的介绍 1996993