Retrieval-Augmented Generation for Internet Security Chatbots: A Hybrid Theoretical and Experimental Framework

preprint OA: closed
Full text JSON View at publisher
Full text 10,448 characters · extracted from preprint-html · click to expand
Retrieval-Augmented Generation for Internet Security Chatbots: A Hybrid Theoretical and Experimental Framework | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Retrieval-Augmented Generation for Internet Security Chatbots: A Hybrid Theoretical and Experimental Framework Nnaemeka Kingsley Ugwumba This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9593895/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Retrieval-Augmented Generation has emerged as a powerful approach for enhancing the performance of language models by integrating external knowledge retrieval with generative capabilities. This study presents a hybrid theoretical and experimental framework for applying Retrieval-Augmented Generation to the development of an internet security chatbot system. The proposed approach combines dense document retrieval with generative language modeling to improve response accuracy, factual consistency, and domain relevance. A structured theoretical model is introduced to explain the interaction between retrieval and generation components, followed by a practical implementation in which a chatbot is trained using a curated internet security dataset. The system is evaluated using standard performance metrics, including accuracy, relevance, and response coherence. Results demonstrate that the Retrieval-Augmented Generation approach significantly outperforms standalone generative models in handling security-related queries. The study contributes both a conceptual framework and an experimentally validated system, providing a foundation for future research and practical deployment of intelligent security assistants. Artificial Intelligence and Machine Learning Retrieval-Augmented Generation RAG internet security chatbot natural language processing information retrieval generative models hybrid AI systems knowledge augmentation cybersecurity AI Full Text Additional Declarations The authors declare no competing interests. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-9593895","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":633347176,"identity":"a7eab05a-a6b1-4913-a974-f74c16e59b11","order_by":0,"name":"Nnaemeka Kingsley Ugwumba","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABMklEQVRIiWNgGAWjYPCCBBjjAAM/mIQAA+K0SDZAtEgQr8UAagVOLebSzQ8f3ahIk2eQSL8mzZtzR974Ru7BwwUV9+oY2Ju3STDuqEXXYjnnmLFxzpkcwwaJnDJp3m3PDLfdyEs4PONMsQQDz7EyCcYzx9G1GNxIMJPObatgBGpJu8277TDjths5Bod52xIkGCRyzCQY245hakn//jv3X4U9TIv95hkwLfJvcGjJMWPObchJbJBIPwbSkrhBAm4LD0hLDRYtxdI5x9KSG3jesP+cu+1Z8owzbwyAfkmQbONJK7ZIbDuAxWEbP+fUJNs2sKc/Nni77Y5tf3uO8eeCigR+fvbDG298bKvDFtBgYH+ABxELzCCCDUQkMBzGqYWBgf0BqhYowG3LKBgFo2AUjBQAAIY0dhyXTjBlAAAAAElFTkSuQmCC","orcid":"https://orcid.org/0009-0000-2493-9846","institution":"Laskenta Technologies Limited","correspondingAuthor":true,"prefix":"","firstName":"Nnaemeka","middleName":"Kingsley","lastName":"Ugwumba","suffix":""}],"badges":[],"createdAt":"2026-05-02 12:54:29","currentVersionCode":1,"declarations":{"humanSubjects":false,"vertebrateSubjects":true,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":true},"doi":"10.21203/rs.3.rs-9593895/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9593895/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":108804312,"identity":"bb6b5e6f-36c8-4bed-9120-8e4430ab3e34","added_by":"auto","created_at":"2026-05-08 15:19:13","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":310764,"visible":true,"origin":"","legend":"","description":"","filename":"RetrievalAugmentedGeneration.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9593895/v1_covered_2803ce81-653c-47b3-ab82-30388d12fbad.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003e\u003cstrong\u003eRetrieval-Augmented Generation for Internet Security Chatbots: A Hybrid Theoretical and Experimental Framework\u003c/strong\u003e\u003c/p\u003e","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"Laskenta technologies Limited","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Retrieval-Augmented Generation, RAG, internet security chatbot, natural language processing, information retrieval, generative models, hybrid AI systems, knowledge augmentation, cybersecurity AI","lastPublishedDoi":"10.21203/rs.3.rs-9593895/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9593895/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eRetrieval-Augmented Generation has emerged as a powerful approach for enhancing the performance of language models by integrating external knowledge retrieval with generative capabilities. This study presents a hybrid theoretical and experimental framework for applying Retrieval-Augmented Generation to the development of an internet security chatbot system. The proposed approach combines dense document retrieval with generative language modeling to improve response accuracy, factual consistency, and domain relevance. A structured theoretical model is introduced to explain the interaction between retrieval and generation components, followed by a practical implementation in which a chatbot is trained using a curated internet security dataset. The system is evaluated using standard performance metrics, including accuracy, relevance, and response coherence. Results demonstrate that the Retrieval-Augmented Generation approach significantly outperforms standalone generative models in handling security-related queries. The study contributes both a conceptual framework and an experimentally validated system, providing a foundation for future research and practical deployment of intelligent security assistants.\u003c/p\u003e","manuscriptTitle":"Retrieval-Augmented Generation for Internet Security Chatbots: A Hybrid Theoretical and Experimental Framework","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-05-05 04:35:28","doi":"10.21203/rs.3.rs-9593895/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"2ebaabe4-3c99-4688-8619-ac5d173b08b4","owner":[],"postedDate":"May 5th, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":67415418,"name":"Artificial Intelligence and Machine Learning"}],"tags":[],"updatedAt":"2026-05-05T04:35:29+00:00","versionOfRecord":[],"versionCreatedAt":"2026-05-05 04:35:28","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9593895","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9593895","identity":"rs-9593895","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00