chapter three

3 Working with generative AI in finance

 

This chapter covers

  • The shift from model building to AI engineering
  • Secure, compliant GenAI systems for finance
  • Model selections beyond generic benchmarks
  • RAG, PEFT, and guarded AI agents techniques
  • Strategies to manage cost, risk, and governance

Finance has always gravitated toward data-driven innovation, yet the debut of generative AI (GenAI) marks a decisive turning point. Until recently, most machine learning (ML) in banks and asset management firms focused on structured data analytics, such as credit scoring. Then came the proliferation of large language models (LLMs), tools capable of generating human-like text, writing code, or summarizing dense regulatory documents in seconds. This leap has triggered a gold rush in financial services, with institutions like Morgan Stanley embedding chat-driven experiences into their advisory platforms.

The influence goes far beyond automating back-office forms. These conversation-driven, generative tools inspire both excitement and caution, demanding a new AI lens that considers not only the technology but also the guardrails needed to align it with business strategy and regulation.

3.1 The new playbook: AI engineering

3.1.1 The great shift: From custom models to foundation engines

3.1.2 Finance’s reality: New engine, same high-stakes fuel

3.1.3 Five truths for the modern financial AI engineer

3.2 The GenAI blueprint: Architecting for finance

3.2.1 The core building blocks of a financial AI system

3.3 The builder’s journey: Powering Alpha Digest step-by-step

3.3.1 Step 1—Choosing the foundation: The model selection dilemma

3.3.2 Step 2—Grounding the model in reality: Mastering RAG

3.3.3 Step 3—Teaching our style: The art of fine-tuning

3.3.4 Step 4—The next frontier: From AI agents to agentic AI

3.4 Deployment strategies and future directions

3.4.1 Phased rollouts and continuous feedback

3.4.2 Cost and performance optimization

3.4.3 Governance, open source, and the future

3.5 Wrapping up: From proofs of concept to scalable impact

Summary