Full text loading...
Abstract
This study explores methods to enhance the performance of offline Large Language Models (LLMs) using generative question-answer (QA) pairs. Existing research highlights the effectiveness of example-based prompts and QA pairs in improving LLM robustness and contextual understanding (Takahashi et al. 2023, Chowdhury & Chadha 2024). However, generating domain-specific QA pairs remains challenging due to the scarcity of datasets across diverse industrial sectors. To address this issue, we advance an innovative and adaptive approach that employs Generative Grammar (Chomsky 1957 et seq.) to convert industry-specific statements into questions, thereby facilitating QA pair creation. We compare the efficacy of this method with that of LLM-generated QA pairs. Our proposed approach not only reduces the labor-intensive process typically associated with prompt engineering but also provides a transparent and systematic framework for question generation through controlled wh-movement transformations. Initial findings indicate that QA pairs generated via these transformational rules substantially enhance LLM performance in industrial chatbot applications by enriching contextual information and highlighting promising directions for future LLM research and downstream applications.