IDEAS home Printed from https://ideas.repec.org/a/bjf/ijltem/v15y2026i7a174.html

A Hybrid LLM Based Relationship Extraction Algorithm for Unstructured Data

Author

Listed:
  • Sukhvinder Kaur Walia

    (School of Computer Science & IT, Devi Ahilya Vishwa Vidalaya, Indore, M.P. India)

  • Dr. Shraddha Masih

    (School of Computer Science & IT, Devi Ahilya Vishwa Vidalaya, Indore, M.P. India)

  • Dr. Ugrasen Suman

    (School of Computer Science & IT, Devi Ahilya Vishwa Vidalaya, Indore, M.P. India)

Abstract

Unstructured text data such as crime reports and witness statements often contain essential connections between crime entities such as suspects, weapons, locations, and crime types. However, it can be difficult to extract and analyze these linkages because they are often inserted within unstructured narratives. This paper presents a hybrid framework that combines crime-specific entity recognition with fine-tuned large language models (LLMs) to extract relationships from crime data. The pipeline initially employs a BERT-based model to identify crime-related entities, followed by a Tiny LLAMA and LoRA-optimized LLM to discern and structure relationships as subject–predicate–object triplets which helps in criminal analytics. Experiments conducted on selected crime dataset showed significant improvements in 85.8 % accuracy with F1-score, recall, and precision over baseline models, especially when handling complicated relationship types. The results show that transformer-based NER combined with targeted LLM fine-tuning offers an effective hybrid approach for extracting useful relations from unstructured crime texts, which is helpful to criminal justice analytics and law enforcement.

Suggested Citation

  • Sukhvinder Kaur Walia & Dr. Shraddha Masih & Dr. Ugrasen Suman, 2026. "A Hybrid LLM Based Relationship Extraction Algorithm for Unstructured Data," International Journal of Latest Technology in Engineering, Management & Applied Science, RSIS International, vol. 15(7), pages 2374-2383, August.
  • Handle: RePEc:bjf:ijltem:v:15:y:2026:i:7:a:174
    DOI: 10.51583/IJLTEMAS.2026.150700173
    as

    Download full text from publisher

    File URL: https://www.ijltemas.in/uploads/vol15-iss7-pg2374-2383-202608_pdf.pdf
    Download Restriction: no

    File URL: https://www.ijltemas.in/article/a-hybrid-llm-based-relationship-extraction-algorithm-for-unstructured-data
    Download Restriction: no

    File URL: https://libkey.io/10.51583/IJLTEMAS.2026.150700173?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    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:bjf:ijltem:v:15:y:2026:i:7:a:174. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Dr. Pawan Verma (email available below). General contact details of provider: https://www.ijltemas.in/ .

    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.