Look Ahead Text Understanding and LLM Stitching


  • Junlin Julian Jiang Piedmont High School
  • Xin Li College of Business, City University of Hong Kong




This paper proposes a look ahead text understanding problem with look ahead section identification (LASI) as an example. This problem may appear in generative AI as well as human interactions, where we want to understand the direction of a developing text or conversation. We tackle the problem using transformer-based LLMs. We show that LASI is more challenging than classic section identification (SI). We argue that both bidirectional contextual information (e.g., BERT) and unidirectional predictive ability (e.g., GPT) will benefit the task. We propose two approaches to stitch together BERT and GPT. Experiments show that our approach outperforms the established models, especially when there is noise in the text (which is often the case for developing text in generative AI). Our paper sheds light on other look ahead text understanding tasks that are important to social media, such as look ahead sentiment classification, and points out the opportunities to leverage pre-trained LLMs through stitching.




How to Cite

Jiang, J. J., & Li, X. (2024). Look Ahead Text Understanding and LLM Stitching. Proceedings of the International AAAI Conference on Web and Social Media, 18(1), 751-760. https://doi.org/10.1609/icwsm.v18i1.31349