Introducing Our Approach to Design Document Review Using Business-Specific Large Language Models

Hitachi's Financial Business Unit developed a specialized LLM to automate the review of system design documents, addressing the inadequacy of general-purpose AI for mission-critical systems. This presentation details the model's development using Continued Pre-training and LoRA on proprietary data, its integration into a multi-agent architecture, and the use of Weights & Biases for MLOps, which led to a 70% reduction in manual review workload.

4 min read
Introducing Our Approach to Design Document Review Using Business-Specific Large Language Models
source: https://www.youtube.com/watch?v=I8CKzIOgHQI

Hitachi’s Digital Systems & Services Sector is pursuing a 30% increase in system development productivity by leveraging Generative AI. This initiative stems from the need to address Japan’s declining labor population. This presentation focuses on a specific application within the Financial Business Unit, which develops mission-critical systems like core banking and ATMs, where quality and security are paramount.

The Challenge: Limitations of General-Purpose LLMs

The Financial Business Unit’s development process involves highly specialized terminology, procedures, and extensive design documentation. Initial attempts to use general-purpose LLMs and Retrieval-Augmented Generation (RAG) proved insufficient. These methods struggled to achieve the required accuracy for practical business use due to a lack of deep understanding of the specific domain.

Solution: A Domain-Specific LLM for Design Document Review

To overcome these limitations, the team developed a specialized LLM focused on reviewing design documents. The core of their approach was to enhance an open-source LLM through a two-step process:

  1. Continued Pre-training (APT - Adaptive Pre-training): The model was pre-trained on a vast corpus of internal data, including:
    • Past design documents from multiple projects (tens of gigabytes).
    • Quality guidelines and checklists.
    • Textual data and diagrams/figures (図表), with diagrams converted to Mermaid format to make their structure understandable to the LLM.
  2. Instruction Fine-Tuning (SFT - Supervised Fine-tuning): The model was then fine-tuned to perform specific review tasks.

Initially, the team experimented with full fine-tuning but found it time-consuming and inefficient. They pivoted to LoRA (Low-Rank Adaptation), a Parameter-Efficient Fine-Tuning (PEFT) method, which allowed for faster iteration and more efficient experimentation. The final architecture evolved into a multi-agent system, where a general-purpose LLM acts as an orchestrator, delegating specialized queries to the domain-specific LLM they developed. This hybrid approach proved more effective than relying on a single monolithic model.

MLOps and Infrastructure

The development was managed using the Weights & Biases (W&B) platform, specifically their dedicated cloud BYOB (Bring Your Own Backend) service. This setup was crucial for security, as it allowed Hitachi to keep sensitive project data on their on-premise servers while using W&B’s cloud environment for managing metadata, experiment tracking (via Workspaces, Artifacts, etc.), and collaboration. This significantly improved productivity and traceability compared to using disparate OSS tools.

Training was conducted on Hitachi’s own high-performance GPU servers, which required significant infrastructure upgrades, including new power supplies and advanced cooling systems to handle the immense heat generated.

Evaluation and Tangible Results

The team built an automated evaluation pipeline using an LLM-as-a-judge approach to compare models and score them against human-prepared evaluation datasets. This automation was critical for rapid, iterative development.

The results were significant:

  • Workload Reduction: The tool automated the tedious process of cross-referencing multi-hundred-page design documents against checklists with over 100 items, achieving a 70% reduction in manual workload.
  • Accuracy and Usability: Approximately 50% of the LLM’s output is directly usable, while the remaining 50% serves as a high-quality draft that requires human refinement. This drastically reduces the initial cognitive load on engineers.
  • Superior Performance over RAG: In a concrete example, the fine-tuned LLM was able to locate and verify specific details about performance testing in a document, whereas a RAG-based approach failed to even identify the relevant information.

Future Outlook

The specialized LLM has been integrated into Hitachi’s standard development framework. The long-term vision is to move beyond simply identifying defects in documents to creating a full-cycle AI agent that can also propose and implement corrections. The goal is to incrementally automate the entire document creation, review, and revision process to enhance both quality and efficiency in large-scale system development.

Share post

Stay In The Loop! Subscribe to Our Newsletter.

Get updates straight to your inbox. No spam, just useful content.

Recommended for You

Multi-Agent Systems for the Misinformation Lifecycle

Multi-Agent Systems for the Misinformation Lifecycle

A detailed overview of a modular, five-agent system designed to combat the entire lifecycle of digital misinformation. Based on an ICWSM research paper, this practitioner's guide details the roles of the Classifier, Indexer, Extractor, Corrector, and Verifier agents. The system emphasizes scalability, explainability, and high precision, moving beyond the limitations of single-LLM solutions. The talk covers the complete blueprint, from agent coordination and MLOps to holistic evaluation and optimization strategies for production environments.

Memory in LLMs: Weights and Activations - Jack Morris, Cornell

Memory in LLMs: Weights and Activations - Jack Morris, Cornell

This talk explores the limitations of current methods for providing knowledge to LLMs, such as large context windows and Retrieval-Augmented Generation (RAG). The speaker argues that the future lies in training knowledge directly into the model's weights. This is achieved through a combination of generating large synthetic datasets from small amounts of source material and using parameter-efficient fine-tuning (PEFT) techniques like LoRA to avoid catastrophic forgetting. The goal is to create more capable, personalized, and efficient models by fundamentally altering how they store and access information.