Hybrid RAG for Technical Training Knowledge Assistant in Mining Operations

rio_tinto · Energy · 2025 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: industrial technical training and enterprise knowledge access for mining operations

Rio Tinto Aluminium needed technical experts in refining and smelting to access specialized institutional knowledge quickly and accurately during internal training, while conventional vector-only RAG struggled to preserve relationships, context, and consistent retrieval quality for complex industrial questions.

Constraints:

Architecture

Rio Tinto built a hybrid RAG assistant on AWS that combines a knowledge graph, vector indices, retrieval/ranking logic, and generative models. The ingestion layer uses Lambda functions to process raw documents, extract context from text/tables/visuals with Bedrock multimodal capabilities, perform semantic chunking, run entity and relationship extraction, build the knowledge graph, and create vector embeddings for graph elements. The generation layer runs on Amazon ECS and performs vector similarity search, graph-based context retrieval, relevance scoring across entities and relationships, prompt augmentation with prioritized context, and final text generation. Amazon Bedrock Knowledge Bases provides an additional managed RAG path, Titan embeddings supply multilingual RAG-oriented embeddings, OpenSearch and FAISS support vector search, and caching stores frequently accessed system data plus common Q&A pairs.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  Raw_technical_documents["Raw technical documents"] --> Document_processing_Lambda["Document processing Lambda"]
  Bedrock_multimodal_model["Bedrock multimodal model"] --> Document_processing_Lambda
  Document_processing_Lambda --> Semantic_chunking_stage["Semantic chunking stage"]
  Semantic_chunking_stage --> Entity_relationship_extractor["Entity relationship extractor"]
  Entity_relationship_extractor --> Knowledge_graph["Knowledge graph"]
  Entity_relationship_extractor --> Vector_database["Vector database"]
  Technical_training_user["Technical training user"] --> Hybrid_retrieval_service["Hybrid retrieval service"]
  Hybrid_retrieval_service --> Vector_database
  Hybrid_retrieval_service --> Knowledge_graph
  Vector_database --> Relevance_ranking_module["Relevance ranking module"]
  Knowledge_graph --> Relevance_ranking_module
  Relevance_ranking_module --> Augmented_prompt_builder["Augmented prompt builder"]
  Bedrock_Knowledge_Base["Bedrock Knowledge Base"] --> Hybrid_retrieval_service
  Smart_caching_layer["Smart caching layer"] --> Hybrid_retrieval_service
  Augmented_prompt_builder --> Generative_model["Generative model"]
  Generative_model --> Source_citation_layer["Source citation layer"]
  Source_citation_layer --> Technical_training_user
  Hybrid_retrieval_service --> LLM_as_judge_evaluator["LLM-as-judge evaluator"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Raw technical documents Training, refinery, smelting, equipment, and business knowledge documents used by the assistant. Document processing Lambda
Document processing Lambda Processes raw documents, extracts context, and converts rich formatted documents into structured text. Semantic chunking stage, Bedrock multimodal model
Bedrock multimodal model Vision-capable model used to extract information from text, tables, and visual context in rich documents. Document processing Lambda
Semantic chunking stage Breaks extracted text into coherent logical units that preserve meaning for retrieval. Entity relationship extractor
Entity relationship extractor Specialized model that performs entity recognition and relationship extraction over chunks. Knowledge graph, Vector database
Knowledge graph Graph database storing connected entities, relationships, summaries, and source-document context. Hybrid retrieval service, Relevance ranking module
Vector database Embedding index for semantic similarity search over graph elements and text representations. Hybrid retrieval service, Relevance ranking module
Hybrid retrieval service Amazon ECS service that runs vector similarity search, graph traversal, context retrieval, and text generation. Knowledge graph, Vector database, Relevance ranking module, Generative model
Relevance ranking module Scores source entities and first-degree relationships using vector similarity against the user query. Augmented prompt builder
Augmented prompt builder Combines prioritized context, refined user query, and session chat history for generation. Generative model
Generative model Produces coherent answer text from retrieved graph/vector context and the user query. Source citation layer
Source citation layer Attaches retrieved-source citations to improve transparency and reduce hallucinations. Technical training user
Bedrock Knowledge Base Managed RAG capability that supports additional vector-based RAG interactions. Hybrid retrieval service
Smart caching layer Caches frequently accessed system data and common user Q&A pairs to reduce response time. Hybrid retrieval service
LLM-as-judge evaluator Model-based evaluation over industry-specific questions comparing hybrid and vector-only RAG. Hybrid retrieval service
Technical training user Employee or expert asking operational training questions about refining and smelting knowledge. Hybrid retrieval service

Data flow

Documents are converted and parsed into structured text, semantically chunked, analyzed for entities and relationships, written into a graph, embedded into vector indices, and stored as a dual knowledge foundation. When a user asks a technical question, the system reformulates the query for domain context, searches vectors, maps matched entities into the graph, traverses first-degree relationships, computes relevance scores for target entities and relationships, retrieves summaries and source contexts, combines prioritized database context with the refined query and chat history, and generates an answer with source citations.

3 supporting quotes
“The embedding model vector the text representation of each graph element and store the vectors into the vector database.”transcript, stated
“So in the text generation process first the user will submit a technical question our system perform two initial operations.”transcript, stated
“We'll create an augmented prompt by combining the three key elements. The context extracted from the databases prioritized by the relevant score, the refund user query and the uh session chat history.”transcript, stated

Why this architecture

Rio Tinto chose hybrid RAG because vector search alone can find semantic similarity but cannot represent explicit domain relationships, while a knowledge graph alone lacks the semantic flexibility of embeddings. The dual retrieval structure lets the assistant retrieve both similar text and related entities, then rank context by relevance to a user's technical question. This matters in industrial training where answers need deep domain knowledge, citations, access-control separation, consistency, and richer context than a few vector chunks provide.

3 supporting quotes
“enterprise search needs more than just embeddings. It requires domain adaptation, contextaware chunking, and business specific fine-tuning for truly valuable results.”transcript, stated
“By integrating these two retrieval systems, we're able to use both structure precision and semantic flexibility in handling intricate queries.”transcript, stated
“Those two component work hand in hand while the graph uh shows how things are connected. The vector help us to understand what they mean.”transcript, stated

Models used: Amazon Bedrock generative models · Amazon Bedrock multimodal models · Amazon Titan text embedding model · entity recognition and relationship extraction model · large language model as judge · generative model for text generation

Scale

Alternatives considered (roads not taken)

LLM out of the box without enterprise retrieval

Rejected because: The presentation frames standalone LLMs as hallucination-prone, sensitive to prompting, and lacking domain knowledge.

“On their own, LLM struggle to provide accurate answers when asked complex questions.”transcript, stated
“having an understanding of domain knowledge is crucial for domain specific output.”transcript, stated

Traditional vector-only RAG

Rejected because: Vector search can dilute semantic precision, lose context, become costly at scale, and cannot represent relationships.

“Vector search on its own can lead to less accurate answers even when using the latest algorithms.”transcript, stated
“Vectors are just not able to do that.”transcript, stated

Single shared knowledge base for all domains

Rejected because: The presenters recommend separate knowledge bases by domain to fit outputs and simplify guardrails for intellectual property concerns.

“We recommend starting with a separate knowledge base to for each domain to ensure a good fit for your outputs and ensure guardrails against intellectual property can be applied easily.”transcript, stated

No caching layer

Rejected because: The system adds multi-level caching to reduce response time and improve user experience.

“we implement a smart patient approach that works on multiple levels. It store both frequency access system data and a common users question answer pers significantly reducing the respond time”transcript, stated

Patterns

rag-retrieval (retrieval)

The assistant combines vector retrieval, graph traversal, Bedrock Knowledge Bases, prompt augmentation, and citations to answer domain questions.

“So why not combine them all? Vector search, knowledge graphs, and LLM together to give you hybrid rag.”transcript, stated
“Knowledge basis for Amazon Bedrock is a fully managed rag capability that supports hybrid rag out of the box.”transcript, stated

retrieval-ranking (retrieval)

The system computes relevance scores for entities and first-degree relationships, then prioritizes retrieved context for the user question.

“for each source entity we produce a relevant score by summing the vector s value of all the related target entities.”transcript, stated
“instead of treating all the information equally we prioritize the context based on its relevance against the specific user question.”transcript, stated

query-rewriting (retrieval)

Before retrieval, the system analyzes and reformulates the user question within conversational and domain context.

“First it will analyze and reform reformulate the query within its conversational context aligning with our specific domain knowledge structure.”transcript, stated

semantic-caching (operations)

A multi-level cache stores frequently accessed system data and common user question-answer pairs to reduce response time.

“It store both frequency access system data and a common users question answer pers significantly reducing the respond time and creating a smoother user experience.”transcript, stated

llm-as-judge (evaluation)

Hybrid and vector-only RAG were compared at scale with a model-based judge over 100 industry-specific questions.

“we also evaluate both rack system at scale where we use a technical called the large length model as a judge across 100 industry specific questions”transcript, stated

safety-policy-enforcement (governance)

The recommended deployment pattern separates knowledge bases by domain to support output fit, access control, search precision, and IP guardrails.

“We also implemented a clear domain knowledge separation in both stoages, improving the access control and a better search precision.”transcript, stated
“ensure guardrails against intellectual property can be applied easily.”transcript, stated

Tradeoffs

Hybrid vector plus graph retrieval

Chose vector similarity and knowledge graph traversal over vector-only RAG.

Rationale: Hybrid retrieval improves context richness and relationship awareness at the cost of maintaining two retrieval structures.

“A hybrid approach to question answering combines the best of vector similarity and graph searches to optimize performance for RAG applications.”transcript, stated

Semantic chunking before extraction

Chose coherent logical chunks over simpler chunking that can split related content.

Rationale: Preserving meaningful content improves context understanding and retrieval accuracy.

“semantic chunking as it preserve meaningful content by breaking the text into coherent and logical uh units which offer better contextual understanding.”transcript, stated

Deterministic retrieval within fixed search radius

Chose fixed-radius deterministic text generation behavior over fully adaptive retrieval that may vary identical-query results.

Rationale: Consistency is valuable for production technical knowledge systems, even though fixed radius can constrain adaptation.

“within a fixed search radius, our text generation is deterministic, ensuring that a consistent text retrieval for identical queries.”transcript, stated

Domain-separated knowledge bases

Chose separate storage/domain boundaries over one broad enterprise knowledge base.

Rationale: Separate domains improve output fit, access control, search precision, and IP guardrail application.

“starting with a separate knowledge base to for each domain to ensure a good fit for your outputs and ensure guardrails against intellectual property can be applied easily.”transcript, stated

Managed AWS stack for hybrid RAG

Chose Bedrock Knowledge Bases, Titan embeddings, OpenSearch, FAISS, ECS, and Lambda over fully custom retrieval and orchestration code.

Rationale: The managed services provide out-of-box RAG workflow, vector/graph infrastructure, automatic scaling, and model support, while still requiring custom hybrid retrieval logic.

“Knowledge bases automates the endto-end rag workflow, including ingestion, retrieval, and prompt augmentation, eliminating the need for you to write custom code”transcript, stated
“built on the service technology, this entire pipeline scales automatically as the workload demands.”transcript, stated

Gotchas (what bit them)

Vector-only RAG loses relationship context.

Root cause: Embeddings represent similarity but not explicit domain relationships or broader context around an entity.

Resolution: Add a knowledge graph so the retrieval system can traverse entities and relationships in addition to vector similarity.

“They cannot provide context for things represented in your text or how any of this fits into the broader context.”transcript, stated
“The knowledge graph inside a graph database represents the domain you are working with in a way that humans and machines can understand using nodes and edges”transcript, stated

Chunking and context windows can split related information.

Root cause: Confined model context windows force information into chunks, which can separate related facts.

Resolution: Use semantic chunking to preserve meaningful coherent units before entity extraction and graph/vector storage.

“When you have a confined context window for a particular model, you can lose context and related pieces need to be split apart to fit within that window.”transcript, stated
“We implement a semantic chunking as it preserve meaningful content by breaking the text into coherent and logical uh units”transcript, stated

Graph/vector dual retrieval is operationally more complex than ordinary RAG.

Root cause: The system must maintain document processing, entity extraction, graph storage, vector embeddings, ranking, prompt construction, and generation layers.

Resolution: Split the architecture into serverless ingestion and ECS generation layers, with managed Bedrock Knowledge Bases for additional RAG support.

“So design is constructed into two primary layers. First is a data injection layer.”transcript, stated
“Our hybrid retrieval system runs on Amazon ECS to ensure its reliable performance where it perform three main functions.”transcript, stated

Retrieval quality depends on upstream entity and relationship extraction.

Root cause: The graph and relationship-ranking steps can only be as good as the extracted entities, relationships, summaries, and contexts.

Resolution: Use specialized extraction over semantic chunks and score both entities and relationships against the query.

“Next, we use a sex model to analyze each chunk performing entity recognition and the relationship extraction to produce our knowledge graph.”transcript, stated
“we quantify each first degree relationships relevant score by calculating the vector sim score within the user query as well.”transcript, stated

Caching improves latency but adds freshness and invalidation concerns.

Root cause: The cache stores common system data and Q&A pairs while underlying technical documents can evolve.

Resolution: Use caching as a performance layer but retain domain-separated storage and retrieval architecture as source of truth.

“to boost the per system performance, we implement a smart patient approach that works on multiple levels.”transcript, stated

Evaluation

Rio Tinto compared vector-only and hybrid RAG using typical alumina refinery questions and an LLM-as-judge evaluation across 100 industry-specific questions. The comparison looked at response detail, technical depth, context quality, context entity recall, context precision, score distribution, and standard-deviation stability.

Metrics: 2-3 sources for vector RAG versus 11-17 technical documents for hybrid RAG · 100 industry-specific questions · context quality · context entity recall · context precision · over 53% standard-deviation reduction · high mean scores across all measurements

3 supporting quotes
“The vector rack typically draws from two to three sources while the hybrid rack leverage 11 to 17 technical documents per query”transcript, stated
“we use a technical called the large length model as a judge across 100 industry specific questions”transcript, stated
“The hybr system significantly outperform its vector counterpart across all matrix especially in the context quality and context entity recall.”transcript, stated

Outcomes

The case provides strong comparative metrics but comes from an AWS/Rio Tinto presentation with ASR noise in the transcript and limited details on human evaluation. The reusable production insight is the graph-plus-vector retrieval architecture and its ranked prompt construction.

3 supporting quotes
“our hybr system posing substantially more detailed information in those areas.”transcript, stated
“for operational team this translate to the enhanced process control quality standards equipment specification and better problem solving protocols.”transcript, stated
“Hybrid retrieval, augmented generation, and Amazon Bedrock allows organizations acurate, verifiable, deep domain knowledge.”transcript, stated