Layered Organisation Large Language Model

Layered Organisation Large Language Model: Feasibility and Architecture of Organisation-Customised LLMs

2026-03-22 · ai-architecture knowledge-management rag-retrieval · medium · source → · wiki →
key claims
  1. Production enterprise customisation still starts with retrieval because all major current platform docs and the Morgan Stanley deployment treat proprietary context injection as the default answer to the private-knowledge gap rather than immediate weight-level retraining. (Sources: `https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html`; `https://cloud.google.com/vertex-ai/generative-ai/docs/rag-overview`; `https://docs.cohere.com/docs/retrieval-augmented-generation-rag`; `https://www.zenml.io/llmops-database/enterprise-knowledge-management-with-llms-morgan-stanley-s-gpt-4-implementation`)
  2. Parameter-efficient fine-tuning makes organisation-specific weight adaptation technically feasible for enterprises that could not justify full fine-tuning, because LoRA and QLoRA dramatically reduce trainable-parameter and memory requirements while preserving strong downstream task performance. (Sources: `https://arxiv.org/abs/2106.09685`; `https://arxiv.org/abs/2305.14314`; `https://www.nature.com/articles/s42256-023-00626-4`)
  3. Domain-adaptive pretraining is viable when the corpus is very large and stable, but the strongest public examples sit at sector scale or vendor-platform scale rather than at the scale of a typical single enterprise. (Sources: `https://arxiv.org/abs/2303.17564`; `https://arxiv.org/abs/2212.13138`; `https://arxiv.org/abs/2004.10964`; `https://cloud.google.com/blog/products/data-analytics/glean-uses-bigquery-and-google-ai-to-enhance-enterprise-search`)
  4. Real enterprise leaders already use layered or tandem architectures instead of a single custom model, with Harvey routing across multiple foundation models and Glean combining retrieval, a knowledge graph, and adapted models inside one product stack. (Sources: `https://www.harvey.ai/blog/expanding-harveys-model-offerings`; `https://www.microsoft.com/en/customers/story/19750-harvey-azure-open-ai-service`; `https://www.glean.com/resources/guides/glean-knowledge-graph`; `https://cloud.google.com/blog/products/data-analytics/glean-uses-bigquery-and-google-ai-to-enhance-enterprise-search`)
  5. Retrieval-Augmented Generation has structural failure modes - including retrieval mismatch, robustness drift, and validation burdens during operation - which is why a retrieval-only answer has a ceiling even though Retrieval-Augmented Generation remains the fastest path to value. (Sources: `https://arxiv.org/abs/2401.05856`)
  6. Tandem and adversarial patterns are already technically available as control layers, because Mixture-of-Agents, chain-of-verification, and Constitutional AI show that routing, critique, and self-checking can be layered around a base answerer to improve reliability. (Sources: `https://arxiv.org/abs/2406.04692`; `https://arxiv.org/abs/2309.11495`; `https://arxiv.org/abs/2212.08073`)
  7. Concept generation offers value when it creates reusable structure - ontology terms, synthetic exemplars, or distilled concept libraries - that can improve ranking, supervision, or adapters, but the available evidence does not support replacing fresh evidence retrieval with generated concepts alone. (Sources: `https://arxiv.org/abs/2306.11644`; `https://arxiv.org/abs/2504.12915`)
  8. The practical escalation rule is to improve retrieval and relevance first, add adapters when repeated high-value tasks justify internalisation, and reserve full domain pretraining or new-model training for unusually large, stable, and well-funded domains rather than ordinary enterprise deployments. (Sources: `https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html`; `https://cloud.google.com/vertex-ai/generative-ai/docs/rag-overview`; `https://arxiv.org/abs/2106.09685`; `https://arxiv.org/abs/2305.14314`; `https://arxiv.org/abs/2303.17564`; `https://arxiv.org/abs/2212.13138`)

Research Question

Is it technically feasible and economically viable for an organisation to build a customised Large Language Model (LLM) layer that injects and optimises over organisation-specific context - internal knowledge, regulatory domain, and competitive landscape - while operating in tandem with base foundation models? If so, what architectural patterns (layered, tandem, adversarial) best address this problem, who is already doing it, and does concept generation offer a viable path beyond Retrieval-Augmented Generation (RAG)?

Supporting questions:

This item treats enterprise Artificial Intelligence (AI) customisation as the core problem space, and Generative Pre-trained Transformer (GPT) models appear as named examples within that broader landscape.

Findings

Executive Summary

[inference] A mid-to-large enterprise can build a useful organisation-customised Large Language Model (LLM) layer today, but the economically viable design is a layered system built on top of a base foundation model with Retrieval-Augmented Generation (RAG), selective parameter-efficient adaptation, and optional verifier layers rather than a standalone organisation-trained model. (Sources: AWS Bedrock Knowledge Bases overview; Vertex AI RAG Engine overview; LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs")

[inference] The public cases show that enterprises are customising the surrounding system stack - retrieval, routing, and knowledge structures - more often than they are building wholly new standalone models. (Sources: Morgan Stanley enterprise knowledge management case study summarising the OpenAI deployment; Harvey AI - "Expanding Harvey's Model Offerings"; Glean + Google Cloud architecture blog; Glean knowledge graph guide)

[inference] The main reason to go beyond pure RAG is not that retrieval has failed completely, but that repeated domain vocabulary, concept structure, routing logic, and verification requirements create a performance ceiling that retrieval alone does not remove. (Sources: RAG limitations survey - Barnett, S. et al. (2024) - "Seven Failure Points When Engineering a Retrieval-Augmented Generation System"; LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs")

[inference] This makes concept generation a supporting technique for representation and supervision, while live answer quality still depends on access to current source material. (Sources: Synthetic domain corpus generation precedent - Gunasekar, S. et al. (2023) - "Textbooks Are All You Need"; Concept extraction with LLMs - Norouzi, E. et al. (2025) - "ConExion: Concept Extraction with Large Language Models")

Key Findings

  1. [fact] Production enterprise customisation still starts with retrieval because all major current platform docs and the Morgan Stanley deployment treat proprietary context injection as the default answer to the private-knowledge gap rather than immediate weight-level retraining. (Sources: AWS Bedrock Knowledge Bases overview; Vertex AI RAG Engine overview; Cohere RAG documentation; Morgan Stanley enterprise knowledge management case study summarising the OpenAI deployment) [confidence: high]
  2. [fact] Parameter-efficient fine-tuning makes organisation-specific weight adaptation technically feasible for enterprises that could not justify full fine-tuning, because LoRA and QLoRA dramatically reduce trainable-parameter and memory requirements while preserving strong downstream task performance. (Sources: LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs"; PEFT survey - Ding, N. et al. (2023) - "Parameter-efficient fine-tuning of large-scale pre-trained language models") [confidence: high]
  3. [inference] Domain-adaptive pretraining is viable when the corpus is very large and stable, but the strongest public examples sit at sector scale or vendor-platform scale rather than at the scale of a typical single enterprise. (Sources: BloombergGPT paper - Wu, S. et al. (2023) - "BloombergGPT: A Large Language Model for Finance"; Med-PaLM paper - Singhal, K. et al. (2023) - "Large Language Models Encode Clinical Knowledge"; Domain-adaptive pretraining - Gururangan, S. et al. (2020) - "Don't Stop Pretraining: Adapt Language Models to Domains and Tasks"; Glean + Google Cloud architecture blog) [confidence: medium]
  4. [fact] Real enterprise leaders already use layered or tandem architectures instead of a single custom model, with Harvey routing across multiple foundation models and Glean combining retrieval, a knowledge graph, and adapted models inside one product stack. (Sources: Harvey AI - "Expanding Harvey's Model Offerings"; Harvey AI Microsoft case study; Glean knowledge graph guide; Glean + Google Cloud architecture blog) [confidence: high]
  5. [fact] Retrieval-Augmented Generation has structural failure modes - including retrieval mismatch, robustness drift, and validation burdens during operation - which is why a retrieval-only answer has a ceiling even though Retrieval-Augmented Generation remains the fastest path to value. (Sources: RAG limitations survey - Barnett, S. et al. (2024) - "Seven Failure Points When Engineering a Retrieval-Augmented Generation System") [confidence: high]
  6. [inference] Tandem and adversarial patterns are already technically available as control layers, because Mixture-of-Agents, chain-of-verification, and Constitutional AI show that routing, critique, and self-checking can be layered around a base answerer to improve reliability. (Sources: Mixture-of-Agents (MoA) - Wang, J. et al. (2024) - "Mixture-of-Agents Enhances Large Language Model Capabilities"; Chain-of-Verification (CoVe) - Dhuliawala, S. et al. (2023) - "Chain-of-Verification Reduces Hallucination in Large Language Models"; Constitutional AI - Bai, Y. et al. (2022) - "Constitutional AI: Harmlessness from AI Feedback") [confidence: high]
  7. [inference] Concept generation offers value when it creates reusable structure - ontology terms, synthetic exemplars, or distilled concept libraries - that can improve ranking, supervision, or adapters, but the available evidence does not support replacing fresh evidence retrieval with generated concepts alone. (Sources: Synthetic domain corpus generation precedent - Gunasekar, S. et al. (2023) - "Textbooks Are All You Need"; Concept extraction with LLMs - Norouzi, E. et al. (2025) - "ConExion: Concept Extraction with Large Language Models") [confidence: medium]
  8. [inference] The practical escalation rule is to improve retrieval and relevance first, add adapters when repeated high-value tasks justify internalisation, and reserve full domain pretraining or new-model training for unusually large, stable, and well-funded domains rather than ordinary enterprise deployments. (Sources: AWS Bedrock Knowledge Bases overview; Vertex AI RAG Engine overview; LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs"; BloombergGPT paper - Wu, S. et al. (2023) - "BloombergGPT: A Large Language Model for Finance"; Med-PaLM paper - Singhal, K. et al. (2023) - "Large Language Models Encode Clinical Knowledge") [confidence: high]

Assumptions

Analysis

[inference] The decisive trade-off is freshness versus internalisation. Retrieval keeps answers tied to current documents and citations, while weight adaptation internalises repeated vocabulary, style, and decision patterns that would otherwise have to be re-explained on every request. (Sources: AWS Bedrock Knowledge Bases overview; LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs")

[inference] The case studies suggest a practical ordering: start with retrieval because private knowledge changes quickly, add graph or relevance signals when retrieval quality plateaus, add parameter-efficient fine-tuning when repeated high-value tasks justify internalisation, and add verifier layers where mistakes are materially costly. (Sources: Morgan Stanley enterprise knowledge management case study summarising the OpenAI deployment; Glean knowledge graph guide; Harvey AI - "Expanding Harvey's Model Offerings"; Mixture-of-Agents (MoA) - Wang, J. et al. (2024) - "Mixture-of-Agents Enhances Large Language Model Capabilities"; Chain-of-Verification (CoVe) - Dhuliawala, S. et al. (2023) - "Chain-of-Verification Reduces Hallucination in Large Language Models")

[inference] BloombergGPT and Med-PaLM show that going deeper into weights works when the domain is rich enough and the corpus is large enough, but Harvey, Morgan Stanley, and Glean show that most enterprise value arrives sooner from hybrid orchestration than from building a wholly new model. (Sources: BloombergGPT paper - Wu, S. et al. (2023) - "BloombergGPT: A Large Language Model for Finance"; Med-PaLM paper - Singhal, K. et al. (2023) - "Large Language Models Encode Clinical Knowledge"; Harvey AI - "Expanding Harvey's Model Offerings"; Morgan Stanley enterprise knowledge management case study summarising the OpenAI deployment; Glean + Google Cloud architecture blog)

[inference] Feasibility is therefore more organisational than mathematical: enterprises need authoritative corpora, evaluation sets, routing logic, and subject-matter ownership at least as much as they need graphics processing unit (GPU) budget. (Sources: RAG limitations survey - Barnett, S. et al. (2024) - "Seven Failure Points When Engineering a Retrieval-Augmented Generation System"; PEFT survey - Ding, N. et al. (2023) - "Parameter-efficient fine-tuning of large-scale pre-trained language models")

Feasibility Matrix

[inference] The following matrix is a synthesis table. Each readiness, cost, time-to-value, and skill judgment is an inferential estimate drawn from the cited sources for that row.

Approach Claim type Readiness Relative cost Data requirement Time-to-value Skill requirement Sources
Prompting plus RAG [inference] production-ready low to moderate existing authoritative content weeks application engineers plus search / retrieval competence AWS Bedrock Knowledge Bases overview; Vertex AI RAG Engine overview; Cohere RAG documentation
RAG plus knowledge graph / better rankers [inference] production-ready moderate connected systems plus relevance signals weeks to months search engineers plus knowledge architecture skills Glean knowledge graph guide; Glean + Google Cloud architecture blog; RAG limitations survey - Barnett, S. et al. (2024) - "Seven Failure Points When Engineering a Retrieval-Augmented Generation System"
PEFT with LoRA / QLoRA [inference] production-ready to early-adopter moderate curated exemplars and evaluation set 1-3 months machine-learning engineer, Machine Learning Operations (MLOps), subject-matter experts LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs"; PEFT survey - Ding, N. et al. (2023) - "Parameter-efficient fine-tuning of large-scale pre-trained language models"
Full fine-tuning [inference] early-adopter high larger curated dataset several months stronger Machine Learning (ML) platform and evaluation capability PEFT survey - Ding, N. et al. (2023) - "Parameter-efficient fine-tuning of large-scale pre-trained language models"; LoRA paper - Hu, E. et al. (2021) - "LoRA: Low-Rank Adaptation of Large Language Models"; Quantized Low-Rank Adaptation (QLoRA) paper - Dettmers, T. et al. (2023) - "QLoRA: Efficient Finetuning of Quantized LLMs"
Domain-adaptive pretraining [inference] early-adopter for very large domains high to very high massive stable corpus several months to a year dedicated data science, Machine Learning platform, and domain-expert support BloombergGPT paper - Wu, S. et al. (2023) - "BloombergGPT: A Large Language Model for Finance"; Med-PaLM paper - Singhal, K. et al. (2023) - "Large Language Models Encode Clinical Knowledge"; Domain-adaptive pretraining - Gururangan, S. et al. (2020) - "Don't Stop Pretraining: Adapt Language Models to Domains and Tasks"
Training from scratch [inference] uncommon outside frontier or sector-scale actors very high enormous corpus and compute long horizon frontier-model training capability BloombergGPT paper - Wu, S. et al. (2023) - "BloombergGPT: A Large Language Model for Finance"; Med-PaLM paper - Singhal, K. et al. (2023) - "Large Language Models Encode Clinical Knowledge"
Tandem / critic layers [inference] production-ready as overlay moderate policies, eval prompts, routing logic weeks to months orchestration, prompt, and evaluation engineering Mixture-of-Agents (MoA) - Wang, J. et al. (2024) - "Mixture-of-Agents Enhances Large Language Model Capabilities"; Chain-of-Verification (CoVe) - Dhuliawala, S. et al. (2023) - "Chain-of-Verification Reduces Hallucination in Large Language Models"; Constitutional AI - Bai, Y. et al. (2022) - "Constitutional AI: Harmlessness from AI Feedback"

Risks, Gaps, and Uncertainties

Open Questions


sources


Connected items

Loading…

View full knowledge graph →