Coupling RNN with LLM: Does Their Integration Improve Highly Order-Sensitive Language Understanding?

Authors

  • Md Mostafizer Rahman Tulane University Lucy Family Institute for Data & Society, University of Notre Dame, IN, USA
  • Ariful Islam Shiplu Dhaka University of Engineering & Technology, Gazipur
  • Yutaka Watanobe University of Aizu
  • Syed Rameez Naqvi Tulane University
  • Lu Peng Tulane University

DOI:

https://doi.org/10.1609/aaaiss.v8i1.42584

Abstract

Pretrained large language models (LLMs) have demonstrated remarkable success across various language modeling tasks. However, in domain-specific applications, particularly those involving highly order-sensitive data, general LLMs exhibit limitations in achieving state-of-the-art performance. One notable issue is that the contextual embeddings by LLMs still lack a strong positional inductive bias, especially for long and highly ordered sequences, leading to the lost in the middle problem. In this work, we utilized the potential of sequential models (RNNs) with LLMs to address the issue and investigate whether RNN integration improves LLM performance. The LLM generates rich contextual embeddings using the attention mechanism of the Transformer. The RNN further processes the LLM embeddings to capture the contextual semantics of long and order-sensitive dependencies. The LLM-RNN model leverages the potential of both Transformer and recurrent structures to enhance performance in domain-specific tasks. We perform a wide range of experiments leveraging multiple types of LLMs (encoder-only, encoder-decoder, and decoder-only) and RNNs (GRU, LSTM, BiGRU, and BiLSTM) across diverse public and real-world datasets to investigate the potential (either positive or negative) of LLM-RNN models. The experimental results highlight the superiority of the LLM-RNN model, showing improvements in commonsense reasoning, code understanding, and biomedical reasoning tasks.

Downloads

Published

2026-05-18

How to Cite

Rahman, M. M., Shiplu, A. I., Watanobe, Y., Naqvi, S. R., & Peng, L. (2026). Coupling RNN with LLM: Does Their Integration Improve Highly Order-Sensitive Language Understanding?. Proceedings of the AAAI Symposium Series, 8(1), 521–530. https://doi.org/10.1609/aaaiss.v8i1.42584

Issue

Section

Machine Learning and Knowledge Engineering (MAKE 2026)