A Simple Architecture for Enterprise Large Language Model Applications based on Role based security and Clearance Levels using Retrieval-Augmented Generation or Mixture of Experts
Atilla Özgür, Yılmaz Uygun
TL;DR
The paper addresses the risk of information leakage in enterprise LLM applications by introducing a simple role-based security architecture tied to NATO-style clearance levels. The approach filters access at both data retrieval (RAG) and model-expert (MoE) stages, using mappings between users, roles, clearance, and documents. It covers training strategies for local open-source LLMs using MoE and describes how inference can be restricted with RAG, MoE, or a hybrid of both. The proposed architecture aims to enable secure, configurable LLM deployments in enterprise environments with minimal architectural complexity and compatibility with existing security practices.
Abstract
This study proposes a simple architecture for Enterprise application for Large Language Models (LLMs) for role based security and NATO clearance levels. Our proposal aims to address the limitations of current LLMs in handling security and information access. The proposed architecture could be used while utilizing Retrieval-Augmented Generation (RAG) and fine tuning of Mixture of experts models (MoE). It could be used only with RAG, or only with MoE or with both of them. Using roles and security clearance level of the user, documents in RAG and experts in MoE are filtered. This way information leakage is prevented.
