arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02466cs.CLcs.AIcs.CE
收藏

提示数值序列:市场评论生成案例研究

Prompting for Numerical Sequences: A Case Study on Market Comment Generation

Artificial Intelligence Research Center, AIST(产业技术综合研究所人工智能研究中心)

Masayuki Kawarada, Tatsuya Ishigaki, Hiroya Takamura

AI总结:

本文研究时间序列数值数据的提示设计,通过市场评论生成任务比较 token、HTML、LaTeX 与 Python 风格代码等输入表示,发现类似编程语言的提示效果最佳。

摘要:

大语言模型(LLM)已被应用于广泛的数据到文本生成任务,包括表格、图形和时间序列数值数据到文本场景。尽管针对表格和图形等结构化数据生成提示的研究正不断增多,但对时间序列数值数据提示的深入研究仍然缺乏。因此,本研究探索了多种输入表示,包括 token 序列以及 HTML、LaTeX 和 Python 风格代码等结构化格式。在实验中,我们聚焦于市场评论生成任务,该任务以股票价格数值序列为输入,并生成相应的市场评论。与预期相反,结果表明,类似编程语言的提示能产生更好的效果,而类似自然语言的提示以及 HTML、LaTeX 等较长格式效果较差。我们的发现为从数值序列生成文本的任务创建有效提示提供了见解。

英文摘要:

Large language models (LLMs) have been applied to a wide range of data-to-text generation tasks, including tables, graphs, and time-series numerical data-to-text settings. While research on generating prompts for structured data such as tables and graphs is gaining momentum, in-depth investigations into prompting for time-series numerical data are lacking. Therefore, this study explores various input representations, including sequences of tokens and structured formats such as HTML, LaTeX, and Python-style codes. In our experiments, we focus on the task of Market Comment Generation, which involves taking a numerical sequence of stock prices as input and generating a corresponding market comment. Contrary to our expectations, the results show that prompts resembling programming languages yield better outcomes, whereas those similar to natural languages and longer formats, such as HTML and LaTeX, are less effective. Our findings offer insights into creating effective prompts for tasks that generate text from numerical sequences.

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

↑