Prompting for Numerical Sequences: A Case Study on Market Comment Generation
Kawarada, Masayuki, Ishigaki, Tatsuya, Takamura, Hiroya
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Apr-3-2024
- Country:
- South America > Chile
- North America
- United States
- Texas > Travis County
- Austin (0.04)
- New York > New York County
- New York City (0.04)
- Texas > Travis County
- Canada
- Ontario > Toronto (0.05)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- United States
- Europe
- Czechia > Prague (0.04)
- Netherlands (0.04)
- United Kingdom > Scotland
- City of Aberdeen > Aberdeen (0.04)
- Spain > Galicia
- A Coruña Province > Santiago de Compostela (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Asia
- Singapore (0.05)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Japan > Honshū
- Kantō > Tokyo Metropolis Prefecture > Tokyo (0.04)
- China > Shanghai
- Shanghai (0.04)
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Banking & Finance > Trading (0.70)
- Technology: