Kairos: Redefining Event and Time Prediction with Language Modeling

Akash Gupta, Sahil Verma, Sumit Bisht, Nitika Verma, Purav Aggarwal, Venkata Phanindra Kumar Grandhi, Abhishek Persad
Proceedings of the 17th Asian Conference on Machine Learning, PMLR 304:511-526, 2025.

Abstract

Continuous time-event sequence (CTES) forecasting is essential across diverse domains, from healthcare to finance, requiring accurate prediction of both future event types and their timestamps. Traditionally, CTES forecasting has been driven by Temporal Point Processes (TPPs), which rely on intensity function-based priors. However, these methods often fail to generalize effectively to real-world scenarios as well as perform poorly over longer horizons. While recent diffusion-based approaches are promising, they are limited by the need to define a fixed prior while training, such as number of events to forecast or time horizon, which requires training multiple models for different horizon lengths. We present Kairos, a novel model that reformulates CTES forecasting as a language modeling task. Our model employs a decoder-only transformer architecture with a unified tokenization approach that represents time and events in a shared embedding space. By structuring the input as alternating event and time tokens, the model learns to capture the inherent temporal relationships between events. Through comprehensive experiments on multiple large-scale datasets, we demonstrate that Kairos consistently outperforms state-of-the-art baselines, achieving average improvements of 4.5% and 7.8% in short term forecasting for event and time respectively and 14.41% improvement in long term forecasting. Additionally, we conduct extensive ablation studies and qualitative analysis to understand the inner workings of Kairos.

Cite this Paper


BibTeX
@InProceedings{pmlr-v304-gupta25a, title = {Kairos: Redefining Event and Time Prediction with Language Modeling}, author = {Gupta, Akash and Verma, Sahil and Bisht, Sumit and Verma, Nitika and Aggarwal, Purav and Grandhi, Venkata Phanindra Kumar and Persad, Abhishek}, booktitle = {Proceedings of the 17th Asian Conference on Machine Learning}, pages = {511--526}, year = {2025}, editor = {Lee, Hung-yi and Liu, Tongliang}, volume = {304}, series = {Proceedings of Machine Learning Research}, month = {09--12 Dec}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v304/main/assets/gupta25a/gupta25a.pdf}, url = {https://proceedings.mlr.press/v304/gupta25a.html}, abstract = {Continuous time-event sequence (CTES) forecasting is essential across diverse domains, from healthcare to finance, requiring accurate prediction of both future event types and their timestamps. Traditionally, CTES forecasting has been driven by Temporal Point Processes (TPPs), which rely on intensity function-based priors. However, these methods often fail to generalize effectively to real-world scenarios as well as perform poorly over longer horizons. While recent diffusion-based approaches are promising, they are limited by the need to define a fixed prior while training, such as number of events to forecast or time horizon, which requires training multiple models for different horizon lengths. We present Kairos, a novel model that reformulates CTES forecasting as a language modeling task. Our model employs a decoder-only transformer architecture with a unified tokenization approach that represents time and events in a shared embedding space. By structuring the input as alternating event and time tokens, the model learns to capture the inherent temporal relationships between events. Through comprehensive experiments on multiple large-scale datasets, we demonstrate that Kairos consistently outperforms state-of-the-art baselines, achieving average improvements of 4.5% and 7.8% in short term forecasting for event and time respectively and 14.41% improvement in long term forecasting. Additionally, we conduct extensive ablation studies and qualitative analysis to understand the inner workings of Kairos.} }
Endnote
%0 Conference Paper %T Kairos: Redefining Event and Time Prediction with Language Modeling %A Akash Gupta %A Sahil Verma %A Sumit Bisht %A Nitika Verma %A Purav Aggarwal %A Venkata Phanindra Kumar Grandhi %A Abhishek Persad %B Proceedings of the 17th Asian Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2025 %E Hung-yi Lee %E Tongliang Liu %F pmlr-v304-gupta25a %I PMLR %P 511--526 %U https://proceedings.mlr.press/v304/gupta25a.html %V 304 %X Continuous time-event sequence (CTES) forecasting is essential across diverse domains, from healthcare to finance, requiring accurate prediction of both future event types and their timestamps. Traditionally, CTES forecasting has been driven by Temporal Point Processes (TPPs), which rely on intensity function-based priors. However, these methods often fail to generalize effectively to real-world scenarios as well as perform poorly over longer horizons. While recent diffusion-based approaches are promising, they are limited by the need to define a fixed prior while training, such as number of events to forecast or time horizon, which requires training multiple models for different horizon lengths. We present Kairos, a novel model that reformulates CTES forecasting as a language modeling task. Our model employs a decoder-only transformer architecture with a unified tokenization approach that represents time and events in a shared embedding space. By structuring the input as alternating event and time tokens, the model learns to capture the inherent temporal relationships between events. Through comprehensive experiments on multiple large-scale datasets, we demonstrate that Kairos consistently outperforms state-of-the-art baselines, achieving average improvements of 4.5% and 7.8% in short term forecasting for event and time respectively and 14.41% improvement in long term forecasting. Additionally, we conduct extensive ablation studies and qualitative analysis to understand the inner workings of Kairos.
APA
Gupta, A., Verma, S., Bisht, S., Verma, N., Aggarwal, P., Grandhi, V.P.K. & Persad, A.. (2025). Kairos: Redefining Event and Time Prediction with Language Modeling. Proceedings of the 17th Asian Conference on Machine Learning, in Proceedings of Machine Learning Research 304:511-526 Available from https://proceedings.mlr.press/v304/gupta25a.html.

Related Material