Report · HKMA · 31 Oct 2025
The Hong Kong Monetary Authority published a report summarizing practical insights from the inaugural Generative Artificial Intelligence Sandbox, which concluded in October 2025. The document provides guidance to Authorized Institutions on addressing key challenges in the AI implementation lifecycle, including data preparation, model fine-tuning, output evaluation, and ongoing monitoring. It details technical learnings from trials involving 15 use cases across 10 banks, covering data strategy, solution design, and risk mitigation for hallucination, bias, and security.
55th Floor, Two International Finance Centre, 香 港 中 環 金 融 街 8 號 國 際 金 融 中 心 2 期 55 樓 8 Finance Street, Central, Hong Kong 網 址:www.hkma.gov.hk Website: www.hkma.gov.hk Our Ref.: B1/15C 31 October 2025 The Chief Executive All Authorized Institutions Dear Sir/Madam, Generative Artificial Intelligence Sandbox – Practical Insights Report I am writing to inform you of the publication of a report that summarises the practical insights gained from the Generative Artificial Intelligence (GenA.I.) Sandbox. The GenA.I. Sandbox 1 , launched in collaboration with the Hong Kong Cyberport Management Company Limited (Cyberport), is designed to provide a risk-controlled environment for Authorized Institutions to develop and test innovative Artificial Intelligence (A.I.)-based solutions. The first cohort 2 commenced in early 2025 and officially concluded at the GenA.I. Symposium today. Drawing on practical learnings from the technical trials, this report provides guidance to help banks address key challenges throughout the A.I. implementation lifecycle, including data preparation, model fine-tuning, output evaluation, and ongoing monitoring and optimisation. We encourage all Authorized Institutions to review this paper and leverage the insights on how to innovate with A.I. responsibly. Should you have any questions about the report, please contact us at GenAI_sandbox@hkma.gov.hk. Yours faithfully, Carmen Chu Executive Director (Banking Supervision) Encl 1 HKMA Press Release, “HKMA and Cyberport Launch GenA.I. Sandbox to Bolster A.I. Adoption in Financial Sector” issued on 13 August 2024 2 HKMA Press Release, “HKMA announces inaugural cohort of GenA.I. Sandbox” issued on 19 December 2024
[AUTHOR NAME] 0
Responsible Innovation with GenA.I. in the Banking Industry Responsible Innovation with GenA.I. in the Banking Industry Practical Insights from the GenA.I. Sandbox The Hong Kong Monetary Authority
[AUTHOR NAME] 1
Responsible Innovation with GenA.I. in the Banking Industry Contents
EXECUTIVE SUMMARY......................................................................................................................................2
[AUTHOR NAME] 2
Responsible Innovation with GenA.I. in the Banking Industry Executive Summary In the rapidly evolving financial landscape, Generative Artificial Intelligence (GenA.I.) presents a transformative opportunity for the banking industry. Recognising this potential, theHong Kong Monetary Authority (HKMA) and the Hong Kong Cyberport Management Company Limited (Cyberport) collaboratively launched the GenA.I. Sandbox initiative, aimed at fostering responsible innovation with Artificial Intelligence (A.I.) technology. The GenA.I. Sandbox provides a risk-controlled environment for banks, supported with targeted supervisory feedback and technical guidance, to develop and test GenA.I. solutions across three critical domains: risk management, anti-fraud measures, and customer experience. In the inaugural cohort, participating banks explored a diverse range of use cases, demonstrating GenA.I.’s potential in areas such as intelligent chatbots, advanced document processing and analysis, and multimodal content generation. These fundamental building blocks underscore GenA.I.’s capacity to streamline operations, enhance customer engagement, and drive product innovation in an enterprise scale. Beyond validating GenA.I.’s capability across various use cases, technical trials conducted at Cyberport’s Artificial Intelligence Supercomputing Centre (AISC) yielded practical insights into the endto-end engineering of GenA.I. implementation as well as applied knowledge across the full lifecycle— from data preparation (Section 2) and finetuning to testing and safeguarding (Section 3). Different technical optimisation approaches were experimented with to enhance the fit-for-purpose performance of GenA.I. applications. The participating banks also proactively explored methods to address common adoption challenges, such as model hallucination, with a number of practical mitigation approaches were identified and verified (Section 4). In conclusion, the inaugural cohort of the GenA.I. Sandbox has successfully demonstrated the significant opportunities and benefits of GenA.I. adoption in banking. Building on these achievements and guided by the practical findings outlined in this report, the second cohort will continue to explore innovative use cases while deepening investigation into the “A.I. vs A.I.” paradigm—leveraging A.I. technology itself to better manage risks arising from A.I. adoption.
[AUTHOR NAME] 3
Responsible Innovation with GenA.I. in the Banking Industry
[AUTHOR NAME] 4
Responsible Innovation with GenA.I. in the Banking Industry promote the growth of Hong Kong’s fintech ecosystem. Within the risk management domain, several participating banks developed and tested solutions to support risk control and compliance strategies. Notable use cases focused on optimising existing time-intensive yet fundamental workflows, including credit risk management and Know Your Customer (KYC) processes, by leveraging GenA.I.’s unique capability in processing complex textual content. In the anti-fraud domain, the explored GenA.I. solutions covered a broad spectrum of applications, from transaction data-based fraud detection to video-based deepfake identification. These use cases demonstrate the technology’s potential in combatting fraudulent activities in different forms and strengthening defence mechanisms for banks. Lastly, for customer experience, various use cases aimed to develop personalised banking solutions. These tailored solutions are designed to improve customer satisfaction and loyalty by enabling banks to offer more customised and targeted interactions, thereby enhancing the overall customer journey.
1.3.1 Key Factors for Consideration in Evaluating
Applications
The priorisation of GenA.I. Sandbox proposals was guided by several key factors (Figure 2):
Level of innovation: The extent to which the proposed solution introduces novel ideas, methodologies or models with potential to create new digitalisation opportunities; Complexity of the solutions: The technical sophistication and intricacy of the proposed solution to promote advancement and added value; Expected contribution to the industry: The potential for the proposed solution to make a meaningful impact on the financial services sector, such as by addressing industry-wide challenges through replicable and scalable application; and Adherence to the principle of fair use: The degree to which the proposed solution is designed to use the pooled computing power in a fair, responsible, and efficient manner.
Figure 2 – Key factors for consideration in evaluating GenA.I. applications
[AUTHOR NAME] 5
Responsible Innovation with GenA.I. in the Banking Industry
1.3.2 Key Functional Building Blocks
Across various use cases, GenA.I. capabilities can be categorised into several core functional building blocks that serve as foundational components for broader applications (Figure 3):
Chat Interface: This provides an interactive interface for users to engage with Large Language Models (LLMs), enabling them to perform queries and execute specific tasks through natural language instructions. Information Processing and Analysis: This block leverages GenA.I. to automate and optimise the handling of information by intelligently processing information to extract, summarise, and infer based on defined format and rules to produce structured, desired outputs. Content Generation: This building block leverages the core capability of GenA.I. to synthesise new content—such as text, image, and multimedia—from learned patterns and data inputs. It synthesises underlying data, brand guidelines, and creative prompts into coherent and contextually relevant outputs. This fundamental ability to create, rather than merely retrieve, serves as a fundamental enabler for service customisation.
2. Foundation: Data Strategy and
Preparation
The performance and reliability of GenA.I. solutions are fundamentally dependent on the data they are trained or finetuned on. Testing data are equally important for rigorously testing the accuracy, and contextual relevance of the model’s outputs. While this section focuses on the data foundation for training and finetuning, data preparation for operational retrieval will be covered in Section 3. In the Sandbox, it is observed that planning and preparation of datasets is one of the most resource-intensive and critical phases of development. It requires meticulous sourcing, cleaning, labeling, and curating to ensure they are representative, unbiased, and fit-for-purpose. It often can consume as much, if not more, time and resources than the fine-tuning of the model solution itself.
Figure 3 – Key applications of the GenA.I.
[AUTHOR NAME] 6
Responsible Innovation with GenA.I. in the Banking Industry Examples of GenA.I. Applications - Information Classification Classification, a subset of information processing and analysis, involves the systematic categorisation of unstructured data into predefined groups based on its content, context, or inherent characteristics. Examples tested in the Sandbox include:
[AUTHOR NAME] 7
Responsible Innovation with GenA.I. in the Banking Industry
2.1 Data Collection
Data collection plays a critical role in ensuring the inclusivity and integrity of the datasets. The participating banks in the GenA.I. Sandbox sourced data from diverse and independent channels to build solid foundations for their models. Several banks leveraged publicly available datasets, while others utilised their proprietary datasets. Banks carefully curated datasets across critical factors like product lines, languages, and customer personas. Some banks opted for a more prudent and precise manual data gathering approach in the initial stage of training to minimise complication of overlooked errors or irrelevant content. Some banks utilised hybrid techniques by augmenting manual data with automated data gathering. A bank utilised a recursive crawler to collect its public website information, navigating all accessible hyperlinks from the root domain and automating the ingestion of data into a datastore. This approach offered two significant advantages:
it ensured a complete and accurate collection of data without human intervention, and provided a high-fidelity representation of the website's content, directly reflecting the information on the source site. The resulting datastore was then made available as a searchable knowledge base, establishing a foundation for further development.
2.2 Data Pre-processing
Datasets curated generally need certain degree of pre-processing before usage. Pre-processing primarily serves two key objectives: enhancing data quality and safeguarding privacy. The participating banks implemented a range of techniques to address these imperatives. Enhancing Data Quality for Model Performance To ensure data consistency and improve finetuning efficiency, banks employed several cleansing and standardisation techniques. A primary goal was to eliminate irrelevant "noise" from textual data, especially for more standardised model outputs. This involved:
Dataset Segmentation Methodology
A consistent methodological approach to dataset partitioning was observed across different participating banks in the GenA.I. Sandbox. Typically, they segregated their curated datasets into three distinct subsets following conventional splits such as 70-20-10 or 80-10-10.
[AUTHOR NAME] 8
Responsible Innovation with GenA.I. in the Banking Industry
| Date | Description | Amount (HKD) |
|---|---|---|
| 2025-10-25 | Transfer to Merchant XYZ | -1500.00 |
| 2025-10-26 | Salary Credit | +25000.00 |
[AUTHOR NAME] 9
Responsible Innovation with GenA.I. in the Banking Industry Protecting Privacy The participating banks implemented techniques to remove or obscure sensitive information. Some common methods include:
[AUTHOR NAME] 10
Responsible Innovation with GenA.I. in the Banking Industry
[AUTHOR NAME] 11
Responsible Innovation with GenA.I. in the Banking Industry documented. This includes recording the original format variations, the mapping rules applied, and the tools or scripts used. Comprehensive documentation ensures the process is reproducible and provides a reference for future updates or enhancements.
2.5 Continuous Data Updates
Implementing an automated or semi-automated data pipeline that:
[AUTHOR NAME] 12
Responsible Innovation with GenA.I. in the Banking Industry Box A Case study – How to prepare your dataset for a GenA.I. chatbot To prepare a dataset for training a GenA.I. model, especially in the context of banking services, the process involves several detailed steps, each requiring specific techniques and considerations. In the GenA.I. Sandbox, a participating bank developed a multilingual question-and-answer (Q&A) chatbot to deliver responses to a diverse range of customer queries. As the foundation of the GenA.I. model, their data preparation process would be a good example for demonstrating how to prepare a comprehensive dataset from scratch.
[AUTHOR NAME] 13
Responsible Innovation with GenA.I. in the Banking Industry
3. Approaches to Solution
Design
3.1 Model selection
The selection of an appropriate model significantly impacts both the outcome and training time. Different models feature their unique advantages and limitations. While complex models tend to deliver greater precision, they often require extended training / finetuning times and more computation-demanding inference. On the other hand, simpler models can be trained / finetuned more rapidly but might sacrifice some level of performance. The participating banks in the GenA.I. Sandbox have conducted extensive experiments to evaluate the performance of multiple models to determine the more effective approaches. By taking into account a range of key criteria, such as performance, opensource or not, with or without reasoning, multilingual capabilities, and resource requirements, the models can be selected based on their specific advantages for different scenarios. Model Selection Criteria
[AUTHOR NAME] 14
Responsible Innovation with GenA.I. in the Banking Industry
[AUTHOR NAME] 15
Responsible Innovation with GenA.I. in the Banking Industry supplementing smaller models with targeted data augmentation and domain-specific chainof-thought annotation, these smaller models can also closely match the analytical capabilities of their full-parameter counterparts. Moreover, with the right training and evaluation approach, compact models can even surpass larger ones, delivering faster results, reduced resource requirements, and streamlined retraining. For instance, several banks have successfully implemented various strategies, such as supervised fine-tuning (SFT), to concentrate on specific domain knowledge and achieve better performance. These techniques were enhanced with vector databases, grounding responses in a knowledge repository to enhance accuracy and relevance.
3.2.1 Prompt Engineering
Prompt engineering is a fundamental yet crucial aspect of optimising GenA.I. outputs. This process involves the deliberate design, crafting, and refinement of input prompts or queries to produce specific and desired responses. The primary objective of prompt engineering is to generate high-quality outputs that are informative, relevant, and tailored to the requirements of the task at hand.
[AUTHOR NAME] 16
Responsible Innovation with GenA.I. in the Banking Industry
[AUTHOR NAME] 17
Responsible Innovation with GenA.I. in the Banking Industry more straightforward way to customise and adapt, as developers or even business users can tailor the prompts to specific use cases, applications, or domains without requiring advanced coding or engineering skills. However, prompt engineering is not without its limitations. One of the primary challenges is the sensitivity to minor alterations, which can significantly impact the output and make it difficult to design robust and reliable prompts. Understanding why a particular prompt yields the desired output on one occasion but not another can be equally challenging, hindering the debugging and refinement of the prompt engineering process. Banks generally found that sole reliance on prompt strategies was inadequate to consistently produce high-quality outputs and had to be combined with other strategies, such as Retrieval-Augmented Generation and supervised fine-tuning, to produce accurate, relevant, and structured outputs.
3.2.2 Retrieval-Augmented Generation (RAG)
Standard Large Language Models (LLMs), i.e. foundation model, lack access to real-time information and domain-specific knowledge. To overcome these limitations, some banks applied the Retrieval-Augmented Generation (RAG) techniques, integrating the benefits of retrievalbased systems and generative models. This approach enabled the retrieval of relevant information from external knowledge sources and facilitated the generation of more coherent and contextually relevant responses. With RAG techniques, the models can retrieve and provide current information, thus minimising the risk of generating inaccurate outputs. By grounding their responses on retrieved data, the participating banks were able to mitigate the issue of hallucination. However, the RAG approach also comes with certain trade-offs, in term of increased latency due to the need to retrieve information from external sources, which RAG Data Preparation
[AUTHOR NAME] 18
Responsible Innovation with GenA.I. in the Banking Industry can be a concern in applications where response time is critical.
3.2.3 Parameter-Efficient Fine-Tuning (PEFT)
Parameter-Efficient Fine-Tuning (PEFT) enables the efficient fine-tuning of large pre-trained language models using a minimal number of additional parameters. By selectively updating only a fraction of the model's parameters, PEFT diverges from traditional fine-tuning methods that require updating the entire model. This targeted approach facilitates rapid adaptation of large language models to new tasks or domains, while minimising the need for substantial computational power and extensive task-specific training data. Notably, several participating banks in the GenA.I. Sandbox successfully leveraged the PEFT technique, with many opting for Low-Rank Adaptation (LoRA). The adoption of LoRA yielded significant gains in training efficiency for these banks. This technique demonstrated substantial improvements in training efficiency, achieving an optimal balance between model performance and resource utilisation. The method substantially reduced the number of trainable parameters, resulting in lower memory requirements and computational costs, making it a pragmatic solution for institutions with limited resources. One participating bank has demonstrated significant reduction in hardware requirements and marginal accuracy loss below 3% when comparing a well-structured LoRA to full finetuning. Moreover, some banks took a step further by utilising Quantised Low-Rank Adaptation (QLoRA) to achieve fine-tuning with quantisation. The quantisation can largely maintain model How QLoRA works:
[AUTHOR NAME] 19
Responsible Innovation with GenA.I. in the Banking Industry performance while reducing memory usage, enabling larger batch sizes and faster iterations. Box B Case study – Fine-tuning Small Language Models In an era dominated by large language models (LLMs), fine-tuning small language models (SLMs) remains a highly strategic practice to ensure the cost-efficiency of GenA.I. model deployment while enabling the model to better understand domain-specific terminology and contextual logic. A participating bank explored the fine-tuning of SLMs for identifying investment opportunities from financial news by leveraging complex logic from large LLMs through chain-of-thought outputs and synthetic data.
[AUTHOR NAME] 20
Responsible Innovation with GenA.I. in the Banking Industry Box B
4. Further Analysis
The bank defined “Hit Rates” by referencing LLM-1’s analysis, using it as a foundational point for evaluation. Across 500 test cases, the average hit rates for each fine-tuned model were systematically assessed. The variation in investment analysis generated by these models is heavily influenced by the news context, which can be divided into two primary categories:
(1) Industrial Context: This context generally pertains to developments within a specific industry. (2) Macro News: This context often lacks clear industry-specific information. Macro news poses unique challenges for spotting possible investment chances. The results also suggest that each round of fine-tuning achieves measurable improvements in accuracy, particularly in industrial news contexts, underscoring the business case for iterative model development and deployment in high-value banking and capital market applications. The computational resources and time required to fine-tune a 7B-parameter SLM are significantly less than what is required for a 70B+ LLM, while achieving performance comparable to that of LLMs. The primary significance of fine-tuning a SLM lies in its ability to balance cost, performance, and speed to effectively address a specific business problem.
[AUTHOR NAME] 21
Responsible Innovation with GenA.I. in the Banking Industry
3.3 Validation and Evaluation
3.3.1 Model Validation
All participating banks conducted extensive trials to validate various setup options their A.I. solutions for their suitability. The following key approaches were adopted during the trials:
Prompt Structure Validation: Testing the system with a variety of scenarios, including ambiguous or challenging queries, to evaluate and enhance the clarity and effectiveness of the system-level instructions. Deliberately crafting inputs designed to mislead or deceive the model, and identifying potential vulnerabilities and weaknesses in the system, such as its susceptibility to biased or misleading data. Hyperparameter Validation: Rigorously testing the effectiveness of different hyperparameters with multiple combinations to pinpoint the most successful approaches and optimise performance. Base Model Validation: Establishing A/B testing frameworks to facilitate selection of suitable foundation models, taking into consideration the models’ differences in architecture, parameter sizes, language capabilities etc. Specifically, some banks have adopted structured language evaluation metrics to assess multilingual performance. Validation Iteration:
Large language models can typically be validated on an iterative process:
[AUTHOR NAME] 22
Responsible Innovation with GenA.I. in the Banking Industry Customisation Approach Validation: Applying different customisation approaches, such as full finetuning and LoRA, over similar validation iterations to identify techniques that are more suitable for the use cases. During the validation process, other customisation techniques such as RAG can also be adopted to aid the selection of the most suitable technique for a given scenario, where applicable. For customisation with RAG, different augmentation configurations can also be validated, such as embedding models, chunk sizes, retrieval settings, etc.
3.3.2 Model Evaluation
Model Evaluation is a critical process for assessing the performance and effectiveness of GenA.I. models to ensure they meet the desired standards of reliability, accuracy, and ethical deployment. Participating banks adopted a structured approach to evaluating their GenA.I. systems, leveraging a range of metrics to assess the performance:
Types of Evaluation Metrics:
Precision
Precision measures the accuracy of positive predictions, which indicates the percentage of actual positive out of all items the model identified as positive. Recall Recall measures the completeness of positive predictions, which indicates the percentage of positive instances that the model correctly identifies out of all actual positive. F1 Score F1 = 2 * (Precision * Recall) / (Precision + Recall). This score ranges from 0 to 1, with 1 being the best possible score. For LLMs, the F1 Score is particularly useful in tasks with binary or categorical outputs, such as text classification and named entity recognition. Confusion Matrix confusion matrix is a table showing the number of correct and incorrect predictions. For binary classification, it includes:
True
Positive
(TP)
False
Positive
(FP)
False
Negative
(FN)
True
Negative
(TN)
Positive Negative
Positive
Negative
Predicted
Actual
Example:
The performance of two (or more) different language models on a sentiment analysis task can be evaluated following the steps below:
[AUTHOR NAME] 23
Responsible Innovation with GenA.I. in the Banking Industry Standard and Specialised Evaluation Metrics:
For classification-related tasks, standard evaluation metrics such as precision, recall, F1- score, and confusion matrix were commonly employed. Additionally, some banks utilised specialised metrics, such as the Recall-Oriented Understudy for Gisting Evaluation (ROUGE) score for text summarisation tasks, the Bilingual Evaluation Understudy (BLEU) score for machine translation tasks, and Natural Language Processing-based metrics, such as BERTScore, for question-and-answer tasks. Multifaceted Evaluation Metrics: In evaluating the outcomes of GenA.I., several banks reported employing a multifaceted approach, incorporating both quantitative and qualitative metrics to gain a comprehensive understanding of system performance. This holistic evaluation framework enabled banks to assess the effectiveness of their GenA.I. systems from multiple angles, ensuring they could meet the evolving needs of the business. Types of Evaluation Metrics (Continued):
Recall-Oriented Understudy for Gisting
Evaluation (ROUGE)
ROUGE score measures the similarity between machine-generated text and humanwritten references, focusing on word accuracy and sequence structure, ranging from 0 to 1, with higher scores indicating better performance. Bilingual Evaluation Understudy (BLEU) BLEU score evaluates how well a generated summary captures the key information and structure of a human-written reference. Both metrics are scored on a decimal scale from 0 to 1, with higher scores indicating better performance. BERTScore BERTScore evaluates the similarity of the model outputs and the corresponding reference answers, leveraging token embeddings to allow quantitative evaluation measurements. This approach provides flexibility for models to paraphrase outputs as long as the semantic meanings are preserved. Example of Evaluation Metrics for GenA.I. Chatbot Applications
[AUTHOR NAME] 24
Responsible Innovation with GenA.I. in the Banking Industry Box C Case Study – Validation and Evaluation of Fine-tuning Process for AntiMoney Laundering (AML) Applications A participating bank experimented on the fine-tuning process of the Qwen3-32B model for Anti-Money Laundering (AML) applications in three iterative cycles, each focusing on different aspects of model improvement. The quantitative measures used to evaluate the model's performance were BLEU and ROUGE scores, which assess the quality of generated text. Cycle 1: Baseline Assessment The baseline model without fine-tuning demonstrated some structural similarity to manual Suspicious Transaction Reports (STRs) but lacked linguistic precision and semantic depth. BLEU and ROUGE evaluations were not conducted due to insufficient quality. Cycle 2: Prompt Engineering Enhancement Through enhanced prompt engineering, including the use of few-shot examples, there were improvements in semantic and structural alignment, with better consistency in tone and AML terminology, but linguistic precision and formatting remained inadequate. BLEU and ROUGE scores were both below 0.02, indicating poor performance. Cycle 3: Supervised Fine-Tuning After applying supervised fine-tuning using 1,000 narrative samples with annotated fund flows, behavioural patterns and risk assessments, the model demonstrated strong linguistic and structural alignment with expert-written reports. It achieved both BLEU and ROUGE scores above 0.86, indicating excellent performance. Conclusion:
The quantitative measures highlight the effectiveness of supervised fine-tuning in improving the model's narrative generation capabilities. The significant increase in BLEU and ROUGE scores from Cycle 2 to Cycle 3 (from below 0.02 to above 0.86) demonstrates the substantial enhancement in the model's performance, indicating that the fine-tuned model is a viable tool for augmenting investigative workflows.
[AUTHOR NAME] 25
Responsible Innovation with GenA.I. in the Banking Industry Human-in-the-loop Evaluation: Some banks also emphasised the importance of human feedback to further refine their GenA.I. systems. By designing feedback mechanisms that allow users to assess the accuracy and performance of the system, the banks can gather valuable insights and ensure that their GenA.I. systems remain aligned with business objectives. This human-inthe-loop approach enabled the banks to identify areas for improvement, address potential biases, and continually optimise their GenA.I. systems to drive better outcomes. User Testing Feedback: Provides direct evaluation and insights from internal testers who simulate real-client interactions, offering a firsthand assessment of the system's performance. Continuous Evaluation: Establishing continuous re-evaluation pipelines based on a curated set of multifaceted evaluation metrics to ensure model performance remain up-to-date with changing market conditions. Examples of Human-in-the-loop Evaluation
[AUTHOR NAME] 26
Responsible Innovation with GenA.I. in the Banking Industry Examples of “LLM as a Judge” in Action During model evaluation, using a Large Language Model (LLM) as a judge to assess other model outputs capitalises on the judge LLM's advanced reasoning capabilities to conduct human-like, multi-dimensional evaluations at scale. Steps to apply "LLM as a Judge":
1. Define Evaluation Criteria
Clearly specify the metrics to be evaluated (e.g. fairness, bias, helpfulness, safety). Ensure each criterion is unambiguous and measurable.
2. Design the Judge's Evaluation Protocol
Construct a structured prompt for the judge LLM that includes:
[AUTHOR NAME] 27
Responsible Innovation with GenA.I. in the Banking Industry
4. Addressing Key Challenges
and Risks
4.1 Hallucination and Inaccuracy
A primary challenge in the adoption of GenA.I. is the phenomenon of hallucination, where models generate plausibly sounding but factually incorrect or entirely fabricated information. These inaccuracies fundamentally compromise output credibility and negatively impact the reliability of the solution that is built upon. In their explorations to address this issue, the participating banks adopted varied strategies, including but not limited to the following:
Advanced Prompt Engineering
While not a complete solution, sophisticated prompt engineering serves as the first and an agile line of defence against model hallucination. By strategically structuring instructions, institutions can significantly constrain a model's generative scope, forcing its outputs to be more factual, relevant, and verifiable. The following advanced prompt engineering techniques were effectively employed by the participating banks to reduce factual inaccuracies:
Self-Verification and Critical Thinking Prompts This technique instructs the model to critique its own initial response against the provided context, identifying potential inaccuracies or gaps before presenting a final answer.
[AUTHOR NAME] 28
Responsible Innovation with GenA.I. in the Banking Industry
You are a helpful assistant trained to classify emails as either "Phishing" or "Legitimate". A phishing email typically has certain characteristics, such as suspicious links, urgent requests for personal information, poor grammar, and mismatched email addresses. Given the email content, your task is to determine whether it is a phishing attempt or a legitimate communication.
[AUTHOR NAME] 29
Responsible Innovation with GenA.I. in the Banking Industry
Analyse the email content for the following features:
Presence of suspicious or mismatched URLs.
Requests for personal or financial information.
Urgent language or threats of account suspension.
Poor grammar or spelling errors.
Inconsistencies in sender's email address and domain.
Consider the context and tone of the email. Phishing emails often create a sense of urgency or fear. Use the identified features to classify the email as either "Phishing" or "Legitimate".
3. Defining input and output schema
Schema-based prompting refers to defining a structured data format in the prompts that the inputs or outputs should adhere to, including required fields, acceptable value ranges and preferred format, which can enhance consistency and reliability in the outputs. Here are some examples:
Bank C adopted canonical representation for categorical and free-text variables, which involves transforming the text into numerical or vectorised forms that can be read by A.I. models. For example, the transaction types of “Wire Transfer” and “Money Transfer” were standardised under the same term “Wire Transfer” to ensure uniformity in interpretation and reporting. Bank D included clear guidelines of the response format in the prompt instructions, requiring the model to quote the title of the source document at the beginning of its responses. Additionally, a reference source button is provided for users, allowing them to easily view the exact paragraph of the source from which the answer was extracted. Bank E used a standardised training data format with an instruction for input and output to embed desired behaviours into the model. This approach ensured consistent and reliable responses, providing a solid foundation for customer interactions. The example of prompt is provided below:
You are a professional and helpful customer service assistant. Your task is to provide accurate, concise, and neutral information based exclusively on the knowledge you have been trained on. Do not speculate or offer financial advice. Respond in the language of the user's query.
What are the benefits of the ABC Platinum credit card?
The ABC Platinum Card offers several benefits, including cash rebates on eligible spending and exclusive merchant discounts. For a detailed list, you may refer to our official product page.
[AUTHOR NAME] 30
Responsible Innovation with GenA.I. in the Banking Industry Inference Parameters Tuning A critical technical approach to reducing hallucination involves the precise calibration of inference-time parameters, which directly control the model's sampling behaviour during text generation. Strategic configuration of these parameters constrains the model's creativity, forcing it to prioritise high-probability, factual outputs aligned with its training and provided context. Key Parameters Temperature: This parameter influences the model's output by adjusting its level of randomness. As temperature increases, the model's responses become more creative and diverse. Conversely, a lower temperature sharpens the probability distribution, making the model favours the most likely tokens. This significantly reduces the chance of selecting irrelevant or fabricated tokens. However, when the temperature is set to 0, the model becomes highly deterministic, resulting in the consistent selection of the most probable word at each step. Top-p and top-k: These two parameters are used to control the output by limiting the number of possible next words. Top-k restricts the model to consider only a fixed number (k) of the most likely next words, while top-p considers all words with a cumulative probability up to certain threshold (p). Lower top-p or top-k values reduce the variety of generated text by focusing on the model’s top predictions, leading to more focused and less diverse outputs. Repetition Penalty: This parameter can be increased to discourage the model from repeating phrases or ideas, which can sometimes be a symptom of a failing or "stuck" generation loop that may precede hallucination. Tuning this helps maintain coherent and novel output within the constrained framework set by temperature and top-p/k. Finetuning Tactics Model finetuning in general is able to make a model more relevant by incorporating the knowledge from the training data into the model. A bank revealed in the finetuning process that certain banking-specific details in the training datasets, such as product and service names, can negatively influence the model, resulting in unexpected accuracy issues. A potential reason is that some of the conventions used in those particular data fields in the training dataset may not be linguistically intuitive to the base model. The bank has adopted a placeholder-tagging technique to mitigate this issue. The placeholdertagged outputs allow the bank to integrate information from real-time database to avoid the need for the model to handle certain names and Insights:
To mitigate potential hallucination risks, a participating bank configured the GenA.I. model to operate with minimal “creativity” by controlling model inferencing parameters such as lower temperature (e.g. 0.1 - 0.3), topp (e.g. 0.4 - 0.6) and top-k (e.g. 10 - 30) to reduce randomness and the likelihood of generating inaccurate or fabricated responses, especially when providing realtime responses to product inquiries from customers.
[AUTHOR NAME] 31
Responsible Innovation with GenA.I. in the Banking Industry values that are more prone to confusion, thereby ascertaining accuracy. Hybrid Fine-tuning Approach A hybrid fine-tuning approach refers to combining model fine-tuning with other techniques such as RAG or data augmentation. This approach has shown promise in reducing hallucination and improving the overall performance of the model. Fine-tuning offers strong domain-specific performance with quick responses. However, it relies on a static snapshot of knowledge, and may lead to outdated response or hallucinations where the model confabulates answers to queries beyond its training data. On the other hand, RAG provides the advantage of dynamically updating knowledge, effectively grounding responses and reducing fabrications. However, without finetuning, the base model may lack the specialised domain understanding to optimally interpret retrieved information, potentially leading to incoherent responses. Combining both approaches (e.g. a fine-tuned model serving as the primary reasoning engine, augmented by a RAG system) allows for the integration of effectively addressing dynamic information requirements and enhancing conversational coherence.
4.2 Bias and Fairness
When A.I. algorithms or training data contain inherent biases, the application may generate unfair or discriminatory outputs when processing customers' input related to protected characteristics, such as age, race, or gender. In particular, word embedding in natural language processing can perpetuate biases. Participating banks implemented below mitigation strategies to minimise biases and maintain fairness:
Pre-processing with targeted word filtering: A pre-processing layer can be implemented to preprocess user prompts, detecting and filtering out language that is likely to elicit biased or stereotypical responses from the LLM, including a predefined list of words, phrases, and concepts. Example:
A prompt containing "Is this product suitable for an elderly retiree?" might be transformed to "Is this product suitable for an individual with a low-risk tolerance and fixed income?" before being sent to the LLM, preventing agebased assumptions.
[AUTHOR NAME] 32
Responsible Innovation with GenA.I. in the Banking Industry Structured promptingwith a neutral persona: By setting the conversation with a prompt that explicitly instructs the LLM to remain neutral, objective, and unbiased, e.g. with explicit directives such as: "You are a customer advisor who must provide objective, equitable advice. Do not make assumptions or recommendations based on a user's perceived age, gender, or background. Focus solely on the stated queries." This constrains the model's responses, mitigating inherent biases and promoting a consistent, impartial tone throughout the interaction. Insights: GenA.I. Architectural Design and Application in Fraud Investigation Report Generation The development of GenA.I. applications, particularly in complex domains like fraud investigation, requires a thoughtful and modular approach. A participating bank conducted Proof-of-Concept (PoC) on the fraud investigation report generation, which demonstrated the importance of breaking down complex use cases into smaller, manageable tasks. This approach, rooted in general software design principles, enhances the system's maintainability, testability, and iteration speed, making it particularly applicable to GenA.I. development. The PoC identified two primary tasks: data extraction from fraud information sources and report generation from the extracted information. The bank strategically applied GenA.I. to the data extraction task, leveraging its natural language understanding capabilities. This decision was based on the fact that data extraction is a targeted task during large language model (LLM) training, enabling more consistent outputs. By focusing GenA.I. on this task, the bank aimed to improve accuracy through fine-tuning, which would ultimately enhance the reliability of the report generation process. The bank's decision to focus on improving data extraction accuracy through LLM fine-tuning highlights the importance of targeted application of GenA.I. resources by prioritising tasks where GenA.I. can deliver the most value. This approach also underscores the need for careful consideration of the context and constraints when integrating GenA.I. into applications, as not all tasks may warrant the use of advanced GenA.I. capabilities.
[AUTHOR NAME] 33
Responsible Innovation with GenA.I. in the Banking Industry Box D Case study – Bias Management in Chatbot Bias in GenA.I. models can arise from the selection and processing of training data and algorithms, leading to unfair outputs. Addressing bias requires continuous effort throughout the model's lifecycle. This involves curating diverse datasets, conducting regular audits, using fairness-aware algorithms, engaging users for feedback, maintaining transparency, fostering collaboration, and adhering to ethical guidelines. A participating bank in the GenA.I. Sandbox integrated bias assessment into their testing process, demonstrating practical bias assessment.
[AUTHOR NAME] 34
Responsible Innovation with GenA.I. in the Banking Industry
4.3 Security and Privacy
4.3.1 Security
LLM faces a distinct set of security challenges that requires specialised attention, for instance, prompt injection, sensitive information disclosure, improper output handling, and misinformation. Some banks implemented comprehensive governance frameworks and mitigation strategies to address these risks (Table 2). Risks Mitigation Strategies Prompt injection - Malicious actors craft inputs designed to override system instructions, potentially manipulating the model into performing unauthorised actions.
[AUTHOR NAME] 35
Responsible Innovation with GenA.I. in the Banking Industry Risks Mitigation Strategies direct extraction or inference attacks.
[AUTHOR NAME] 36
Responsible Innovation with GenA.I. in the Banking Industry Temporal and Access Control: Banks implemented role-based access controls to knowledgebase as well as limited retention periods to provide assurance that models and personnel only accessed sensitive data when necessary, following the principle of least privilege. Monitoring: Participating banks also implemented logging mechanisms with detailed audit trails of all data access and processing activities, enabling comprehensive monitoring.
4.4 Explainability and Transparency
The participating banks focused on practical, deployable "glass-box" strategies that made the opaque LLM model's reasoning process visible and auditable, while acknowledging the longerterm research required for full mechanistic understanding. Chain-of-Thought (CoT) for Credit Assessment A bank fine-tuned a model to assess the eligibility of a SME for a loan. The prompt engineering required the model to output its decision that included dedicated reasoning process. This allowed loan officers to quickly validate the model's logic, ensuring decisions were based on correct factors and enabling easy escalation when reasoning was flawed. Source Citation in RAG-Powered Chatbots For a customer service chatbot answering product questions, banks used RetrievalAugmented Generation (RAG). The system was designed to always cite the specific document and paragraph it used to generate its answer. This built verifiability. Customers and staff could confirm the answer was not a hallucination but was grounded in official document. Illustrative examples:
"Step 1: The applicant's 3-year average revenue is HKD 15M, exceeding the minimum requirement of HKD 10M." "Step 2: The debt coverage ratio (DCR) is 1.4, which is above the policy threshold of 1.2." "Step 3: No red flags were identified in the transaction history provided." "Step 4: Based on Steps 1-3, the application meets all key criteria for approval." Illustrative example:
User: What is the early withdrawal penalty for a 12-month fixed deposit? Chatbot: According to Section 4.2 of the 'Fixed Deposit Terms & Conditions (v2024-11)', the penalty for early withdrawal of a 12-month deposit is forfeiture of 60 days of interest. [Source: Doc_ID: BA-TC-2024, Paragraph 12]
[AUTHOR NAME] 37
Responsible Innovation with GenA.I. in the Banking Industry
5. Business Outcome
The first cohort of the GenA.I. Sandbox has yielded compelling evidence of GenA.I.'s operational impact across the banking sector. Participating banks consistently reported substantial efficiency improvements and positive user acceptance. Below are some highlights of the results:
Time Savings with Quality Assurance
GenA.I. demonstrated significant time reductions across critical banking tasks, while also maintaining or enhancing quality:
[AUTHOR NAME] 38
Responsible Innovation with GenA.I. in the Banking Industry
6. Conclusion
The inaugural GenA.I. Sandbox has conclusively demonstrated the transformative potential of GenA.I. to redefine banking. It has proven its ability to deliver exceptional customer experiences, unlock operational efficiencies, support risk control and compliance, and maintain a sustainable competitive edge within an evolving financial landscape. The diverse use cases have validated these benefits, which are not merely theoretical, but are achievable through disciplined implementation. Proven Implementation Framework The extensive technical trials established critical success factors for GenA.I. adoption:
[AUTHOR NAME] 39
Responsible Innovation with GenA.I. in the Banking Industry evaluation while maintaining human oversight for critical decisions. Building upon this essential approach, the second cohort of GenA.I. Sandbox will focus on:
[AUTHOR NAME] 40
Responsible Innovation with GenA.I. in the Banking Industry
7. Appendix
First cohort of GenA.I. Sandbox and examples of proposed use cases Participating Banks Technology Partners
[AUTHOR NAME] 41
Responsible Innovation with GenA.I. in the Banking Industry Fact Sheets / Supplementary Reports Participant QR Code / Link Participant QR Code / Link Bank of China (Hong Kong) Limited Link China CITIC Bank International Limited Link China Construction Bank (Asia) Corporation Limited Link Citibank (Hong Kong) Limited Link Dah Sing Bank, Limited Link Hang Seng Bank, Limited Link Hongkong and Shanghai Banking Corporation Limited Link Livi Bank Limited Link Standard Chartered Bank (Hong Kong) Limited Link Note: Any positions or statements made in the above factsheets / supplementary reports as prepared by Sandbox participants do not necessarily represent the views of the HKMA.
Note from RegAlert. AI assistants can read this document in full, and search 70,000+ more, through the RegAlert MCP connector (https://mcp.regalert.today/mcp). Free with an account. How to connect ChatGPT, Claude or Cursor.
More like this from HKMA
HKMA published 7 documents in the last 30 days. We email you each new one the day it's published.
Source: Hong Kong Monetary Authority — original document · Summary generated with machine assistance and reviewed before publication; the authoritative text is the regulator's original document. How RegAlert works
In RegAlert: added · updated