<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aldren Krueger on Medium]]></title>
        <description><![CDATA[Stories by Aldren Krueger on Medium]]></description>
        <link>https://medium.com/@aldrenkrueger?source=rss-5a632d2c8361------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2MDKypprKxyZ9szgdHxa-Q.png</url>
            <title>Stories by Aldren Krueger on Medium</title>
            <link>https://medium.com/@aldrenkrueger?source=rss-5a632d2c8361------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 09:10:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aldrenkrueger/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Technical Order Assistant (TOA-AI)
A Multimodal AI Assistant for
Technical Order Retrieval and…]]></title>
            <link>https://medium.com/@aldrenkrueger/technical-order-assistant-toa-ai-a-multimodal-ai-assistant-for-technical-order-retrieval-and-34ace1ed2d8d?source=rss-5a632d2c8361------2</link>
            <guid isPermaLink="false">https://medium.com/p/34ace1ed2d8d</guid>
            <dc:creator><![CDATA[Aldren Krueger]]></dc:creator>
            <pubDate>Sat, 07 Jun 2025 04:13:13 GMT</pubDate>
            <atom:updated>2025-06-07T04:13:13.309Z</atom:updated>
            <content:encoded><![CDATA[<h3>Technical Order Assistant (TOA-AI)<br>A Multimodal AI Assistant for<br>Technical Order Retrieval and Interpretation</h3><blockquote><strong>By Aldren Krueger — Massachusetts Institute Of Technology | Phantom Fellow</strong></blockquote><p><strong>Abstract — This paper presents TOA-AI, a conversational AI<br>tool designed to help aircraft maintainers retrieve information<br>from Technical Orders (TOs) more efficiently. Developed to<br>support operational readiness and reduce maintenance delays,<br>TOA-AI uses natural language processing to answer questions<br>about procedures, warnings, and troubleshooting based on<br>Technical Order documentation.<br>While TOs are accessed through GETACS or viewed on<br>Toughbook laptops in operational settings, I used publicly avail-<br>able PDF examples to simulate the structure and content of TOs<br>during development. By combining semantic search, keyword<br>retrieval, and metadata filtering, TOA-AI enables maintainers,<br>especially junior Airmen, to locate relevant content without<br>relying on manual keyword searches or constant supervisor<br>support. The result is a more streamlined maintenance process<br>with reduced risk of error and a more confident, independent<br>workforce. TOA-AI represents a first step toward applying gen-<br>erative AI in low-risk, high-impact areas of military operations<br>and offers insight into how this technology can scale across<br>other Air Force domains.</strong></p><p><strong>Index Terms — Technical Orders, Retrieval-Augmented Gen-<br>eration, Hybrid Search, Multimodal AI, Aircraft Maintenance,<br>Knowledge Graphs, Semantic Retrieval, Safety-Critical Sys-<br>tems, Junior Maintainer Support, U.S. Air Force, Operational<br>Readiness</strong></p><p><strong>I. INTRODUCTION<br></strong>Aircraft maintainers rely on Technical Orders (TOs) to<br>safely execute repairs, inspections, and emergency proce-<br>dures. These manuals are extensive, precise, and essential to<br>ensuring airworthiness. However, in fast-paced operational<br>environments, finding the right section in a TO can be time-<br>consuming, especially for junior maintainers who are still<br>learning the structure and terminology.<br>I encountered this challenge firsthand during my work with<br>aircraft maintenance personnel. Many maintainers reported<br>that even simple questions, such as “Where is the torque spec<br>for this bolt?” or “What are the safety precautions before<br>servicing the tire?”, often required digging through TO<br>content across multiple tabs in GETACS or on Toughbooks,<br>or asking supervisors. Over time, this created unnecessary<br>delays and increased dependency on senior maintainers. It<br>also introduced risk. Missing a note or skipping a step is not<br>just inefficient, it can be dangerous.<br>I saw an opportunity to bring generative AI into this<br>space, not to replace TOs, but to make them easier to<br>access. TOA-AI is my proof of concept: a conversational assistant trained to understand plain-language questions and<br>return relevant, source-backed TO content. The system uses<br>Retrieval-Augmented Generation (RAG) methods, integrat-<br>ing vector search (FAISS), keyword search (BM25), and<br>tagged metadata to surface the right content at the right time.<br>In this paper, I explain how TOA-AI was built, what<br>worked, what didn’t, and where the tool can go next. The<br>goal was to create a smart, accessible interface to dense<br>technical documentation. Ultimately, I designed TOA-AI to<br>help maintainers move faster, stay safer, and learn more as<br>they work.</p><p><strong>II. PROJECT MOTIVATION</strong><br>Aircraft maintenance demands speed, accuracy, and strict<br>adherence to procedure. At the center of this work are<br>Technical Orders (TOs), which contain the step-by-step<br>instructions maintainers need to perform inspections, servic-<br>ing, repairs, and emergency actions. These documents are<br>essential, but also difficult to use efficiently.<br>I built TOA-AI in direct response to that problem. In<br>many real-world scenarios, maintainers must search through<br>hundreds or even thousands of pages to locate a single step,<br>part number, warning, or figure. That process often involves<br>switching between multiple tabs in GETACS, scanning dense<br>blocks of text, or performing manual keyword searches<br>that produce inconsistent results. In time-sensitive situations,<br>these delays are not just frustrating. They increase the chance<br>of missed steps, incorrect assumptions, or skipped safety<br>precautions.<br>The challenge is especially noticeable among junior Air-<br>men. Without years of experience working with TOs, it is<br>easy to get lost in the structure or miss key details embedded<br>in warnings, diagrams, or footnotes. These Airmen often<br>turn to their supervisors for help. While that support is<br>necessary, it creates additional workload for senior personnel<br>and introduces preventable slowdowns in the maintenance<br>flow.<br>I saw a need for a tool that could serve as a smarter, more<br>accessible bridge between the maintainer and the Technical<br>Order. TOA-AI was designed to fill that role. It does not<br>replace documentation. Instead, it reduces the time spent<br>searching, lowers the need for supervisor intervention in ba-<br>sic lookups, and helps maintainers find the right information when they need it.</p><p><strong>III. RESEARCH OBJECTIVES<br></strong>My goal with TOA-AI was to develop a conversational AI<br>system that supports aircraft maintainers in retrieving critical<br>information from Technical Orders using natural language. I<br>was not trying to replace the TOs. Instead, I wanted to make<br>them easier to navigate in real operational environments.<br>To achieve this, I focused on five core objectives:<br>1) Build a system that understands plain-language ques-<br>tions phrased the way maintainers actually talk.<br>2) Retrieve accurate, context-specific content from com-<br>plex and semi-structured documentation.<br>3) Present that information in a format that is easy to read<br>and aligns with real maintenance workflows.<br>4) Reduce the number of times junior Airmen need to rely<br>on supervisors for documentation-based questions.<br>5) Improve overall task efficiency and safety by minimiz-<br>ing delays caused by document search and misinterpre-<br>tation.<br>I designed TOA-AI around these goals and selected a hybrid<br>retrieval strategy that combines semantic similarity, keyword-<br>based search, and metadata filtering. From the beginning, my<br>intent was to create a tool maintainers could trust to deliver<br>fast, reliable answers, while also helping them learn how to<br>navigate TOs more independently.</p><p><strong>IV. RELATED WORK</strong><br>TOA-AI is part of a broader effort across the Department<br>of the Air Force to explore how artificial intelligence can sup-<br>port operational workflows. Several programs have examined<br>how AI, augmented reality, and natural language interfaces<br>can help users navigate complex technical or policy content.<br>One of the most relevant is the Perceptually-Enabled Task<br>Guidance (PTG) program led by DARPA.[1]<br>PTG focuses on applying AI and AR systems to assist<br>users in performing multi-step tasks in high-stakes settings.<br>These include applications such as battlefield medicine, heli-<br>copter co-piloting, and mechanical repairs. MIT Lincoln Lab-<br>oratory contributed to PTG[2] by evaluating prototype sys-<br>tems built by research teams in both industry and academia.<br>The evaluations included user studies that involved tasks like<br>cooking, mechanical assembly, and error correction. These<br>trials provided insight into how AI systems can support<br>procedural adherence[3] and reduce task-related cognitive<br>load.<br>Although TOA-AI does not use augmented reality, the<br>goals are closely aligned. Like PTG, my project focuses<br>on helping users follow detailed procedures by reducing<br>friction in how information is accessed and understood. I<br>chose to take a conversational AI approach instead of a<br>visual interface, enabling users to ask questions in plain<br>English and receive precise answers drawn from official<br>documentation. The core goal remains the same: reduce the<br>time spent searching, improve accuracy, and help users make<br>better decisions under operational pressure.</p><p><strong>V. RETRIEVAL-AUGMENTED GENERATION (RAG)</strong><br>When I started building TOA-AI, one of the most impor-<br>tant architectural decisions I made was choosing a Retrieval-<br>Augmented Generation, or RAG, approach. This framework<br>was the best fit for my goal of delivering fast, accurate,<br>and explainable answers based on Technical Orders, without<br>needing to retrain a model every time documentation is<br>updated.<br>RAG separates the process of information retrieval from<br>the process of generating a response[4] . When a maintainer<br>asks a question, TOA-AI first searches a structured docu-<br>ment corpus to identify relevant chunks of content. It does<br>this using both semantic similarity and keyword matching.<br>Then, the system generates a response based strictly on<br>that retrieved content. This method prevents the model from<br>hallucinating information and keeps every answer grounded<br>in the original source.<br>This setup gave me three key advantages. First, it allowed<br>the system to understand and respond to plain-language<br>queries while pulling directly from highly technical docu-<br>ments. Second, it made the system more flexible.This ap-<br>proach improves factual accuracy[5] and grounds responses<br>in verifiable sources[6].<br>I could update the content corpus without retraining the<br>entire model. Third, it supported traceability. The system<br>could cite where the answer came from, which is important<br>for maintainers who need to double-check the source or refer<br>back to a specific figure or procedure.<br>The use of RAG became foundational to how TOA-AI<br>performs. It bridges the gap between how maintainers ask<br>questions in the field and how information is stored in semi-<br>structured TOs.Combined with hybrid search and metadata<br>tagging, this framework allowed me to build a system that<br>delivers targeted, trustworthy content quickly, even in time-<br>sensitive and safety-critical environments[7].</p><p><strong>VI. TOA-AI SYSTEM ARCHITECTURE</strong><br>TOA-AI is a multimodal Retrieval-Augmented Generation<br>(RAG) system designed to help aircraft maintainers retrieve<br>accurate procedural information from complex technical doc-<br>umentation. The architecture includes a document processing<br>pipeline, a hybrid retrieval engine, a knowledge graph for<br>semantic expansion, and a language model for structured<br>response generation.</p><p>1) Document Processing and Knowledge Extraction: To<br>simulate TO access, I used publicly available PDFs as devel-<br>opment stand-ins for the GETACS-hosted TOs used in real<br>maintenance workflows. These documents were processed<br>through a pipeline I built to extract text, tables, and images<br>from each file and store them in a structured format for<br>retrieval.<br>Using pdfplumber, I extracted raw text from each page<br>and used PyMuPDF (fitz) to pull out diagrams while filtering<br>out small, decorative images. A caption detection step uses<br>regular expressions to match phrases like “Figure 2–3” with<br>nearby text, linking each image to its procedural context. I<br>applied similar logic to extract and normalize tables using<br>pdfplumber’s table recognition features.<br>Next, I performed a structural analysis of the cleaned text<br>using a combination of regular expressions and normalization<br>rules. This step identifies section headers, step lists, and<br>safety-related markers such as “WARNING,” “CAUTION,”<br>and “NOTE.” These are tagged and stored as metadata fields<br>to prioritize them during search and ranking.<br>Finally, I used a custom SemanticChunker module to<br>segment the documents into overlapping chunks between 512<br>and 1024 tokens. This preserves the continuity of procedural<br>steps and ensures that safety notices are not split or lost<br>between chunks. Each chunk is saved alongside its metadata,<br>visual content links, and location in the source document.</p><p>2) The Hybrid Retrieval Engine: TOA-AI uses a dual<br>retrieval strategy that combines dense vector search with<br>keyword-based matching. The vector search uses the all-<br>MiniLM-L6-v2 SentenceTransformer[8], [9], [10] to encode<br>each chunk into a high-dimensional embedding. These vec-<br>tors are stored in a FAISS index and allow the system to<br>retrieve semantically similar content based on meaning rather<br>than surface terms.<br>For cases where precision is needed — such as retrieving<br>part numbers or exact procedural steps — I used BM25 to<br>build a keyword-based index of all text content. This method<br>excels at finding literal matches and complements the broader<br>understanding offered by FAISS.<br>When a query is submitted, it is first enhanced through<br>abbreviation expansion and optional knowledge graph traver-<br>sal. For example, a question involving “FOD” is expanded<br>to include “Foreign Object Damage,” improving recall. Both<br>FAISS and BM25 return their top results, which are merged<br>using a fusion scoring mechanism that accounts for semantic<br>distance, lexical match strength, and metadata tags. Chunks<br>labeled as “Procedure” or “Warning” are scored higher when<br>the query implies a safety-critical context.</p><p>3) Knowledge Graph-Augmented Search: The knowledge<br>graph is a key differentiator in TOA-AI. Built from processed<br>TO content, the graph allows the system to understand<br>relationships between entities, not just match keywords.<br>Entity extraction uses a hybrid approach that combines<br>regex-based patterns, spaCy’s en_core_web_sm model, and<br>a domain-specific dictionary. This process identifies compo-<br>nents, procedures, systems, tools, and safety markers, which<br>are added to the graph as nodes with type labels.<br>Relationship extraction parses syntactic patterns such as<br>“is part of,” “connects to,” or “requires,” which are then<br>added as edges. These relationships allow the graph to<br>support reasoning about procedural flow, system hierarchy,<br>and task dependencies. Each node and edge is stored with<br>contextual metadata such as page number, section ID, and<br>TO reference.<br>When a user submits a query, the system checks for any<br>entities present in the graph. It then performs a lightweight<br>traversal to find related terms and adds these to the original<br>query. This expansion helps the system find relevant con-<br>tent even when the user does not use official terminology, mproving both precision and recall.</p><p>4) LLM-Assisted Response Generation: Once relevant<br>chunks are retrieved and re-ranked, TOA-AI uses a<br>transformer-based large language model (Claude) to assem-<br>ble the final answer. The selected content is passed to the<br>LLM in structured JSON format, including step-by-step text,<br>diagrams, tables, and metadata such as TO number and page<br>reference.<br>The model’s job is not to invent or summarize broadly.<br>Instead, it reformats the retrieved content into a clean, con-<br>versational output while preserving the original procedural<br>intent. Hallucination prevention measures ensure that the<br>model only responds based on verified input.<br>The final output is returned as JSON, allowing for easy<br>rendering in a user interface, logging for traceability, and<br>integration with feedback or training workflows.</p><p><strong>VII. EVALUATION</strong><br>1) Experimental Setup: To evaluate TOA-AI, I tested the<br>system using five Technical Orders from the TO 00–25-<br>172CL1 through CL5 series. These documents were seg-<br>mented into 63 semantically chunked units, each tagged with<br>metadata and linked to diagrams and tables when applicable.<br>The test set simulated a realistic TO structure based on public<br>PDF stand-ins, while reflecting the layout and semantics<br>found in operational TOs accessed through GETACS and<br>Toughbooks.<br>I created a set of queries based on common questions<br>maintainers might ask during servicing, inspections, or trou-<br>bleshooting. These included both general procedural lookups<br>and detailed component-based prompts that tested the sys-<br>tem’s semantic understanding, visual alignment, and ability<br>to return safety-critical content.<br>To assess the system’s performance, I used four primary<br>evaluation metrics:<br>• Retrieval Accuracy: Did the system return the correct<br>TO content based on the user’s intent?<br>• Multimodal Coverage: Were relevant diagrams or ta-<br>bles returned when expected?<br>• Knowledge Graph Enrichment: Did the query expan-<br>sion lead to more complete or precise answers?<br>• Response Clarity and Speed: Were the answers clear,<br>grounded, and generated quickly?<br>These metrics reflect both technical accuracy and operational<br>usefulness.</p><p>2) Results and Analysis: TOA-AI performed strongly<br>across all evaluation categories. Retrieval accuracy for pro-<br>cedural and safety queries was high, with 100 percent of the<br>top five results returning relevant content when the query<br>matched a real TO task. The knowledge graph enhancement<br>improved retrieval quality in over 80 percent of concept-<br>based queries, especially those that used informal or partial<br>phrasing.<br>Visual content retrieval also performed well. The system<br>returned 15 relevant diagrams for direct image-based queries<br>and an additional 12 diagrams in cases where the system<br>inferred the visual context based on the text. Tables were correctly matched and displayed alongside corresponding<br>procedures in over 90 percent of applicable queries.<br>Below is a summary of retrieval performance by method:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*NAfZciTIws5CV-dg5GJhNA.png" /></figure><p>Response latency was low, averaging under 2 seconds with<br>caching enabled. JSON responses were well-structured, with<br>step-by-step clarity, figure references, and TO citations.<br>From a user perspective, especially for junior Airmen, the<br>system does more than just return content. It reinforces how<br>TOs are structured, introduces official terminology through<br>natural questions, and reduces the learning curve over time<br>by repeatedly exposing users to correct, traceable procedures.<br>One of the most encouraging outcomes is the system’s<br>potential to reduce time spent searching for information.<br>While formal time-on-task measurements are part of future<br>work, early estimates suggest that lookup time for common<br>procedures could be reduced by 40 to 60 percent when using<br>TOA-AI compared to manual search through GETACS or<br>PDF viewers.</p><p><strong>VIII. DOCUMENT PROCESSING, HYBRID SEARCH, AND<br>LLM RESPONSE GENERATION</strong><br>1) Document Processing and Structuring: Processing<br>Technical Orders for AI retrieval required balancing structure<br>with flexibility. I started by segmenting each document<br>into overlapping chunks using a sliding window approach.<br>Each chunk ranged from 512 to 1024 tokens, which helped<br>maintain context while avoiding the fragmentation of multi-<br>step procedures or warnings.<br>I assigned metadata to each chunk, labeling them by type<br>(such as “Procedure,” “Caution,” “Table,” or “Figure”) and<br>recording their TO number and section. These labels allowed<br>the system to prioritize content appropriately during retrieval.<br>For example, questions related to safety would favor chunks<br>labeled as warnings or procedures.<br>Multimodal content was handled with particular care. I<br>extracted diagrams and tables using OCR and linked them<br>back to the relevant procedural steps using caption analysis<br>and page proximity. This ensured that when a maintainer<br>asked about a step involving visual information, the system<br>could retrieve both the text and the associated figure or table.<br>These structuring choices gave TOA-AI the ability to<br>search and retrieve content contextually, even when it<br>spanned multiple formats.</p><p>2) Hybrid Search Implementation: TOA-AI uses a hybrid<br>retrieval architecture that combines semantic and keyword<br>search. To support semantic search, I used FAISS to compare<br>vector embeddings of TO content against the user’s question.<br>This allowed the system to match content based on meaning,<br>not just wording.<br>To complement this, I implemented BM25 to handle direct<br>keyword matching. This method works well for content that<br>relies on specific terms, such as part numbers or form labels.<br>Combining these two methods gave the system flexibility and<br>precision.<br>I merged results from both search engines using a scoring<br>mechanism that ranked them based on relevance, metadata,<br>and similarity. Chunks labeled with “Procedure” or “Warn-<br>ing” were given extra weight when queries suggested safety-<br>critical tasks. This helped the system return more accurate<br>results when time or clarity mattered most.<br>I also used SBERT embeddings to expand the user’s query<br>with synonyms and paraphrases. This improved retrieval for<br>users who didn’t know the exact technical terms in the TO,<br>helping bridge the gap between conversational language and<br>military-technical documentation.</p><p>3) LLM-Assisted Response Generation: Once TOA-AI<br>retrieves the most relevant content, it passes that information<br>to a transformer-based large language model for formatting.<br>I used Anthropic’s Claude API to generate responses that<br>are easy to read but still accurate. The model doesn’t invent<br>new content. It rephrases or clarifies the original TO material<br>without changing its meaning.<br>Each response includes clear procedural steps and, when<br>applicable, embedded diagrams or tables. Before delivering<br>the final answer, the system performs checks to make sure<br>there are no hallucinations or unsupported content.<br>All outputs are structured in JSON. This makes them<br>easier to integrate into future interfaces or systems and<br>simplifies caching, logging, and downstream processing. It<br>also allows for easy auditing in case content ever needs to<br>be traced or reviewed.<br>Together, these three layers — document processing, hybrid<br>search, and response generation — make up the core of TOA-<br>AI. They allow maintainers to ask real questions and get<br>clear, accurate answers from official documentation in real<br>time.</p><p><strong>IX. IMPLEMENTATION CHALLENGES AND SOLUTIONS<br></strong>Throughout development, I encountered several techni-<br>cal challenges that required iteration, testing, and redesign.<br>These issues spanned across data processing, multimodal<br>alignment, and response formatting. Resolving them was<br>critical to making TOA-AI functional and reliable.</p><p>1) Diagram Alignment and Visual Linking: One of the<br>most persistent challenges was linking diagrams to the cor-<br>rect procedures. Early on, only about 14 percent of diagrams<br>were correctly matched to the relevant step in the text.<br>Many were missed entirely or connected to unrelated content.<br>This made visual retrieval feel inconsistent and, at times,<br>misleading. To solve this, I implemented a page-level proximity check<br>combined with caption parsing. If a chunk referenced “Figure<br>2–1,” for example, the system would locate the figure on the<br>same page or within a reasonable range and match it based<br>on figure number, caption text, and mention frequency. I<br>also used hashing to deduplicate figures and eliminated small<br>icons that were irrelevant. After introducing these heuristics,<br>alignment accuracy improved significantly and became more<br>stable across different TOs.</p><p>2) Table Extraction and Structure Normalization: Tables<br>in TOs often use nonstandard formats. Some have merged<br>cells, missing headers, or inconsistent row structures. This<br>made them difficult to parse and even harder to link to<br>the correct procedure. My initial table extraction pipeline<br>produced incomplete or malformed outputs.<br>I addressed this by developing a table transformation layer<br>that flattens nested structures and assigns clear row-column<br>metadata. Each table is now stored as structured JSON, and<br>tables are matched to procedural text using a combination of<br>shared references and page-level heuristics. These changes<br>improved table reliability and allowed tables to be returned<br>alongside relevant text chunks during retrieval.</p><p>3) Chunking and Context Preservation: Chunking pre-<br>sented a tradeoff between context and performance. Early<br>versions of TOA-AI used fixed-size chunks, but this led<br>to two problems: short chunks lost important procedural<br>continuity, while long chunks slowed retrieval and confused<br>the re-ranking process.<br>I transitioned to a sliding window chunking method with<br>overlap. Chunks now range from 512 to 1024 tokens and<br>share a portion of text with their neighbors. This preserves<br>important context, especially in multi-step procedures, and<br>ensures that critical labels like “CAUTION” or “NOTE” are<br>not split between chunks. The change improved both retrieval<br>relevance and LLM response quality.</p><p>4) Multimodal Formatting and Response Packaging: As<br>I added support for text, images, and tables, I found that<br>combining these elements into a single response introduced<br>formatting issues. In early versions, users would receive<br>jumbled outputs with missing captions, misaligned table<br>rows, or repetitive content.<br>I resolved this by building a formatting layer that assem-<br>bles each response in JSON. It structures the output into<br>distinct fields for procedure text, safety notes, figures, and<br>tables. This allows the response to be rendered clearly in<br>both raw format and web-based interfaces. It also supports<br>explainability and traceability by embedding metadata, such<br>as TO number and page reference, with each returned chunk.<br>These technical refinements were essential in transforming<br>TOA-AI from a basic search tool into a robust assistant<br>capable of supporting real maintenance workflows. Each fix<br>brought the system closer to being practical, scalable, and<br>usable under real conditions.</p><p><strong>X. CONCLUSION<br></strong>I built TOA-AI to solve a recurring problem in aircraft<br>maintenance: the difficulty of quickly accessing the right nformation from Technical Orders. These documents are<br>dense, semi-structured, and often difficult to navigate, es-<br>pecially under pressure. Junior Airmen in particular face a<br>steep learning curve, and even experienced maintainers can<br>lose valuable time flipping through TOs across multiple tabs<br>or devices.<br>My goal was not to replace these documents but to make<br>them easier to work with. TOA-AI achieves this by com-<br>bining semantic and keyword retrieval, multimodal linking,<br>and a conversational interface. It supports both open-ended<br>and technical queries and delivers structured, step-by-step<br>answers based on official documentation.<br>A key differentiator in this system is the knowledge graph.<br>It allows TOA-AI to understand not just isolated terms, but<br>relationships between components, procedures, and safety<br>requirements. This contributes to both retrieval quality and<br>explainability, helping users trust the system’s outputs and<br>understand how they were derived.<br>I evaluated TOA-AI using realistic test queries across five<br>representative TOs and found that it consistently retrieved<br>accurate, complete, and relevant answers. It successfully<br>returned associated visuals and prioritized safety-critical con-<br>tent. These results show that the system can reduce lookup<br>time, support more confident task execution, and ease the<br>learning curve for junior personnel.<br>TOA-AI is a functional prototype that demonstrates how<br>generative AI, retrieval systems, and knowledge graphs can<br>come together to improve the way we access technical<br>information. The system was designed with real users and<br>real operational needs in mind. Based on its performance so<br>far, I believe it has the potential to evolve into a deployable<br>tool that benefits the broader maintenance community.</p><p><strong>XI. FUTURE WORK<br></strong>While TOA-AI has shown strong performance in testing,<br>there are several areas I plan to expand and refine to make<br>the system more robust and operationally deployable.<br>First, I want to fine-tune the language model using<br>domain-specific data beyond the initial five Technical Orders.<br>This would help the system better understand subtle dis-<br>tinctions in maintenance terminology and improve accuracy<br>when responding to more complex or less common queries.<br>I also plan to implement multi-turn conversation capa-<br>bilities. Right now, the system handles single questions<br>effectively, but follow-up queries are treated independently.<br>Allowing the system to maintain context across multiple<br>exchanges would make it more useful in real troubleshooting<br>scenarios where maintainers work through a task step-by-<br>step.<br>On the multimodal side, I want to improve diagram han-<br>dling through visual grounding techniques. This would allow<br>the system to reference not just entire figures, but specific<br>regions within those figures, making visual explanations<br>more precise.<br>I also intend to add procedural flow tracking. This feature<br>would let users step through a procedure interactively, mark-<br>ing each task as complete and ensuring that critical steps are not skipped. It would provide additional support for training<br>environments or complex maintenance actions that require<br>verification.<br>Another focus will be on building a feedback loop that<br>captures user interactions, correction inputs, and satisfaction<br>scores. This will help me improve retrieval quality over time<br>and adapt the system to the kinds of questions that actually<br>arise in the field.<br>Finally, I will work toward integrating TOA-AI into a<br>secure, production-ready environment. This includes adding<br>CAC-based authentication, AES-256 encryption, TLS 1.3<br>compliance, and full alignment with DoDI 5200.48 stan-<br>dards. These measures are critical for future deployment on<br>Air Force networks or within approved cloud platforms.<br>Altogether, these next steps are aimed at transforming<br>TOA-AI from a working prototype into a trusted, mission-<br>ready system that supports maintainers at every level,<br>whether they are learning, troubleshooting, or leading.</p><p><strong>XII. LESSONS LEARNED AND IMPLEMENTATION<br>CHALLENGES</strong><br>Throughout the development of TOA-AI, I encountered<br>several technical and conceptual challenges that shaped the<br>final design. While many were resolved through iteration,<br>not every idea worked as expected. This section captures<br>both what didn’t work and how those issues were addressed,<br>offering a more complete picture of the system’s evolution.</p><p>1) What Didn’t Work:<br>a) Early Fine-Tuning Efforts: My initial approach to<br>retrieval and response generation leaned heavily on fine-<br>tuning a pre-trained language model using TO-like examples.<br>The hope was that a domain-specific LLM could directly<br>generate accurate responses from raw input. However, fine-<br>tuning introduced significant instability. The model tended<br>to overfit narrow patterns and experienced “catastrophic<br>forgetting,” losing general language capability in the process.<br>More importantly, it still hallucinated content, making it<br>unreliable in a safety-critical setting. This led me to abandon<br>fine-tuning and adopt a RAG-based approach instead.</p><p>b) Unsupervised Entity Detection for the Knowledge<br>Graph: I experimented early on with a fully unsupervised<br>Named Entity Recognition (NER) pipeline using only spaCy<br>and clustering techniques. While this identified general<br>terms, it missed most of the TO-specific components, ac-<br>tions, and warnings. Critical concepts like “hydraulic pump,”<br>“caution note,” or “torque spec” were either misclassified or<br>ignored entirely. This led me to adopt a hybrid approach<br>using regex-based pattern matching, domain dictionaries, and<br>spaCy for fallback support.</p><p>c) Static Query Templates: At one point, I explored<br>using a fixed library of templated questions and canned<br>responses to simulate retrieval. This approach failed to scale.<br>Users worded their queries in highly variable ways, and even<br>slight deviations (e.g., “remove brake caliper” vs. “brake<br>caliper removal”) caused the system to fail. This reinforced<br>the need for a flexible semantic retrieval strategy combined<br>with structured prompt formatting.</p><p>2) How I Solved It:<br>a) Diagram Alignment and Visual Linking: Only 14<br>percent of diagrams were correctly linked to procedures<br>in early testing. Captions were missing, icons were mis-<br>classified, and file duplication was rampant. I introduced<br>hash-based deduplication, added page-proximity logic, and<br>improved caption matching with regex-based figure label<br>detection. Visual accuracy improved significantly after these<br>changes.</p><p>b) Table Parsing and Normalization: TOs often include<br>inconsistent table formats with merged cells or missing<br>headers. My initial extraction pipeline parsed only a fraction<br>of usable tables. I built a custom transformation layer to<br>flatten nested structures and tagged column headers and<br>units. Tables were then linked to the correct procedural chunk<br>using page-level heuristics and embedded references.</p><p>c) Chunking for Context: The earliest chunking method<br>used fixed token counts, which fragmented critical steps. I<br>replaced this with a sliding window technique, introducing<br>controlled overlap between chunks. This preserved the flow<br>of procedures and ensured that safety warnings and step<br>labels remained intact.</p><p>d) Multimodal Response Formatting: Initial system re-<br>sponses jumbled text, images, and tables together without<br>structure. I built a formatting layer that produces structured<br>JSON with fields for each content type, improving readability<br>and preparing the system for eventual UI integration.<br>These lessons helped shape TOA-AI into a more robust<br>and trustworthy system. More importantly, they demonstrated<br>which assumptions didn’t hold and which architectural deci-<br>sions produced the clearest benefits. The final design reflects<br>not just technical success, but an understanding of where and<br>why earlier ideas fell short.</p><p>A. User Interface Considerations<br>Although TOA-AI was designed primarily as a backend<br>system, I considered how maintainers would interact with<br>the assistant in a real-world environment. This is especially<br>important for deployment on Toughbooks, where speed,<br>clarity, and minimal training overhead are essential.<br>In its current form, TOA-AI outputs structured JSON<br>responses that include:<br>• A step-by-step answer grounded in TO text<br>• Any related diagrams or tables<br>• Metadata including TO number, section, and page ref-<br>erence<br>The system is designed to be easily wrapped in a lightweight<br>web interface or embedded into an existing maintenance<br>support platform. In a typical setup, the maintainer could type<br>a natural-language question (e.g., “How do I bleed the brakes<br>on an F-16?”) into a secure input field. The response would<br>appear below, displaying the retrieved procedure alongside<br>any linked figures or warnings.<br>Visuals would be rendered directly beneath the text, and<br>users could click on a reference to expand a diagram or<br>scroll through supporting tables. Safety notices would be<br>highlighted in red or orange, using tags like “WARNING” or “CAUTION” pulled from the metadata layer. Procedural<br>steps would be numbered and indented for easy skimming<br>during hands-on work.<br>For future field deployment, I plan to integrate CAC-<br>based login, session-level caching, and offline fallback op-<br>tions, allowing TOA-AI to remain usable in low-connectivity<br>environments. The goal is to make the assistant feel less<br>like a search engine and more like a virtual tech data expert<br>maintainers can turn to at any time.</p><p><strong>ACKNOWLEDGMENT</strong><br>I would like to express my sincere gratitude to Dr. Michael<br>Chan for his technical guidance, mentorship, and support<br>throughout this research.<br>I am especially grateful to Major Dyson of the 388th LSS<br>Maintenance Operations Center (MXOC) for approving my<br>participation in the DAF-MIT AI Accelerator program and<br>for supporting this professional opportunity.<br>Special thanks to my 388 LSS/MXOC teammates for cov-<br>ering critical operations during my absence and encouraging<br>innovation across the unit.<br>Finally, to Cohort 12 of the DAF-MIT AI Accelera-<br>tor — thank you for the camaraderie, collaboration, and col-<br>lective learning experience. It was an honor to grow along-<br>side such a talented group of professionals.<br>References are important to the reader; therefore, each<br>citation must be complete and correct. If at all possible,<br>references should be commonly available publications.</p><p><strong>REFERENCES</strong><br>[1] DARPA. Perceptually-enabled task guidance (ptg). https:<br>//<a href="http://www.darpa.mil/program/perceptually-enabled-">www.darpa.mil/program/perceptually-enabled-</a><br>task-guidance, 2020. Accessed: 2025–03–01.<br>[2] MIT Lincoln Laboratory. Lincoln laboratory partners with darpa to test<br>augmented-reality assistance systems. <a href="https://www.ll.mit/">https://www.ll.mit</a>.<br>edu/news/lincoln-laboratory-partners-darpa-<br>test-augmented-reality-assistance-systems, 2020.<br>Accessed: 2025–03–01.<br>[3] IDSTCH. How darpa’s ptg program is developing ai assistants<br>to partner with military personnel. <a href="https://idstch.com/">https://idstch.com/</a><br>technology/ict/revolutionizing-military-tasks-<br>how-darpas-perceptually-enabled-task-guidance-<br>ptg-program-is-developing-ai-assistants-to-<br>partner-with-military-personnel-in-complex-<br>environments/, 2020. Accessed: 2025–03–01.<br>[4] Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni,<br>Vladimir Karpukhin, Naman Goyal, Heinrich Kuttler, Mike Lewis,<br>Wen tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela.<br>Retrieval-augmented generation for knowledge-intensive nlp tasks.<br>arXiv preprint arXiv:2005.11401, 2020.<br>[5] NVIDIA. What is retrieval-augmented generation (rag)? https:<br>//blogs.nvidia.com/blog/what-is-retrieval-<br>augmented-generation/, 2023. Accessed: 2025–03–01.<br>[6] IBM Research. What is retrieval-augmented generation<br>(rag)? <a href="https://research.ibm.com/blog/retrieval-">https://research.ibm.com/blog/retrieval-</a><br>augmented-generation-RAG, 2023. Accessed: 2025–03–01.<br>[7] Weka. Retrieval augmented generation: Everything you need to know<br>about rag in ai. <a href="https://www.weka.io/learn/guide/ai-">https://www.weka.io/learn/guide/ai-</a><br>ml/retrieval-augmented-generation/, 2023. Accessed:<br>2025–03–01.<br>[8] Amazon Web Services. Hybrid search with amazon opensearch<br>service. <a href="https://aws.amazon.com/blogs/big-data/">https://aws.amazon.com/blogs/big-data/</a><br>hybrid-search-with-amazon-opensearch-service/,<br>2024. Accessed: 2025–03–01.<br>[9] Weaviate. Hybrid search explained. <a href="https://weaviate.io/">https://weaviate.io/</a><br>blog/hybrid-search-explained, 2023. Accessed: 2025–03-<br>01.<br>[10] Byte Sized AI. Old meets new: Hybrid search. https:<br>//bytesizedai.substack.com/p/old-meets-new-<br>hybrid-search, 2024. Accessed: 2025–03–01.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34ace1ed2d8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gentle Hands]]></title>
            <link>https://medium.com/@aldrenkrueger/gentle-hands-726b9090cc73?source=rss-5a632d2c8361------2</link>
            <guid isPermaLink="false">https://medium.com/p/726b9090cc73</guid>
            <category><![CDATA[child-abused]]></category>
            <category><![CDATA[poem]]></category>
            <category><![CDATA[orphanage]]></category>
            <category><![CDATA[children]]></category>
            <category><![CDATA[grit]]></category>
            <dc:creator><![CDATA[Aldren Krueger]]></dc:creator>
            <pubDate>Thu, 20 Mar 2025 18:16:51 GMT</pubDate>
            <atom:updated>2025-03-20T18:16:51.106Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*7d-8YUVmPay0TSNokezUsQ.png" /><figcaption><a href="https://gentlehandsorphanages.com/">gentlehandsorphanages.com</a></figcaption></figure><p>In shadows deep, a boy did cry,</p><p>Each tear a whisper, asking why.</p><p>The world so cold, so full of pain,</p><p>Each night, he’d pray, “Not this again.”</p><p>A broken heart, a silent plea,</p><p>Dreaming of a life that’s free.</p><p>Through sleepless nights and endless tears,</p><p>He longed for peace to calm his fears.</p><p>Then came a light, a gentle hand,</p><p>A place of love, a promised land.</p><p>Where laughter bloomed and smiles grew,</p><p>A second chance, a life anew.</p><p>The nights of pain began to fade,</p><p>In this new home, the boy was made.</p><p>With every dawn, his spirit rose,</p><p>No longer bound by yesterday’s woes.</p><p>Now with a grateful heart, he stands,</p><p>Honoring God, those gentle hands.</p><p>For every tear that once was shed,</p><p>Has shaped the path that lies ahead.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=726b9090cc73" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>