IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i10p1548-d1395420.html
   My bibliography  Save this article

Beyond Event-Centric Narratives: Advancing Arabic Story Generation with Large Language Models and Beam Search

Author

Listed:
  • Arwa Alhussain

    (Department of Computer Science, College of Computer and Information Sciences, King Saud University, Riyadh 11543, Saudi Arabia)

  • Aqil M. Azmi

    (Department of Computer Science, College of Computer and Information Sciences, King Saud University, Riyadh 11543, Saudi Arabia)

Abstract

In the domain of automated story generation, the intricacies of the Arabic language pose distinct challenges. This study introduces a novel methodology that moves away from conventional event-driven narrative frameworks, emphasizing the restructuring of narrative constructs through sophisticated language models. Utilizing mBERT, our approach begins by extracting key story entities. Subsequently, XLM-RoBERTa and a BERT-based linguistic evaluation model are employed to direct beam search algorithms in the replacement of these entities. Further refinement is achieved through Low-Rank Adaptation (LoRA), which fine-tunes the extensive 3 billion-parameter BLOOMZ model specifically for generating Arabic narratives. Our methodology underwent thorough testing and validation, involving individual assessments of each submodel. The ROCStories dataset provided the training ground for our story entity extractor and new entity generator, and was also used in the fine-tuning of the BLOOMZ model. Additionally, the Arabic ComVE dataset was employed to train our commonsense evaluation model. Our extensive analyses yield crucial insights into the efficacy of our approach. The story entity extractor demonstrated robust performance with an F -score of 96.62%. Our commonsense evaluator reported an accuracy of 84.3%, surpassing the previous best by 3.1%. The innovative beam search strategy effectively produced entities that were linguistically and semantically superior to those generated using baseline models. Further subjective evaluations affirm our methodology’s capability to generate high-quality Arabic stories characterized by linguistic fluency and logical coherence.

Suggested Citation

  • Arwa Alhussain & Aqil M. Azmi, 2024. "Beyond Event-Centric Narratives: Advancing Arabic Story Generation with Large Language Models and Beam Search," Mathematics, MDPI, vol. 12(10), pages 1-22, May.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:10:p:1548-:d:1395420
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/10/1548/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/10/1548/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Christopher W. H. Davis & Antonie J. Jetter & Philippe J. Giabbanelli, 2022. "Automatically Generating Scenarios from a Text Corpus: A Case Study on Electric Vehicles," Sustainability, MDPI, vol. 14(13), pages 1-21, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Youssef NaitMalek & Mehdi Najib & Anas Lahlou & Mohamed Bakhouya & Jaafar Gaber & Mohamed Essaaidi, 2022. "A Hybrid Approach for State-of-Charge Forecasting in Battery-Powered Electric Vehicles," Sustainability, MDPI, vol. 14(16), pages 1-19, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:10:p:1548-:d:1395420. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.