LLM Evaluation Framework for Financial Crime Report Generation

sumup · Finance · 2023 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

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

Problem

Domain: Financial crime compliance report generation

SumUp needed to evaluate LLM-generated AML Reason for Suspicion narratives where free-text quality depends on topic coverage, supporting facts, structure, and hallucination avoidance rather than n-gram overlap.

Constraints:

Architecture

SumUp built an LLM-driven evaluator for generated Reason for Suspicion narratives. The evaluator compares generated text with reference narratives using prompt-embedded benchmark checks for topic coverage, customer profile data, supporting facts, invented facts, text structure, and conclusion quality. It returns 0-5 scores and qualitative explanations, then its assessments are compared with compliance-agent comments and scores to validate alignment.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  Compliance_investigation["Compliance investigation"] --> LLM_report_generator["LLM report generator"]
  Compliance_investigation --> Reference_narrative["Reference narrative"]
  LLM_report_generator --> LLM_evaluator["LLM evaluator"]
  Reference_narrative --> LLM_evaluator
  Benchmark_check_prompt["Benchmark-check prompt"] --> LLM_evaluator
  LLM_evaluator --> Evaluator_score_output["Evaluator score output"]
  Evaluator_score_output --> Human_agent_review["Human agent review"]
  Evaluator_score_output --> Data_scientist_iteration["Data scientist iteration"]
  Human_agent_review --> Data_scientist_iteration
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Compliance investigation Human investigation and confirmation of suspicious transactional activity before narrative automation. LLM report generator, Human agent review, Reference narrative
LLM report generator Application that drafts free-text Reason for Suspicion narratives. Compliance investigation, LLM evaluator
Reference narrative Human or approved comparison text used by the evaluator as the quality reference. LLM evaluator
Benchmark-check prompt Custom application-specific evaluation criteria embedded in the evaluator prompt. LLM evaluator
LLM evaluator Judge model that compares two narratives and returns scores and explanations. LLM report generator, Reference narrative, Evaluator score output
Evaluator score output Per-check and general 0-5 scores plus qualitative explanations. Human agent review, Data scientist iteration
Human agent review Manual review comments and numeric scores used to validate automated evaluator behavior. Evaluator score output, Data scientist iteration
Data scientist iteration Model-improvement workflow that uses automated evaluator feedback without adding extra agent workload. Evaluator score output

Data flow

Compliance agents first investigate suspicious activity and confirm the case context. The report-generation application produces a narrative, and the evaluator receives generated and reference text plus custom benchmark checks. The LLM returns per-check scores, explanations, and a general score. Data scientists compare automated results with agent reviews and use the feedback to iterate without continuously burdening agents.

3 supporting quotes
“Using a combination of the agent’s investigation and an LLM, documenting suspicious transactional activity is greatly optimised without the risk of an automated machine-driven false positive.”article, stated
“We created an evaluation with custom benchmark checks embedded in a prompt, each focusing on a specific reason why the text might be suspicious”article, stated
“We discovered that the automated evaluation of text generation was often consistent with the feedback and scores given by human agents.”article, stated

Why this architecture

The evaluator mirrors human review more closely than ROUGE by checking application-specific narrative requirements while still producing numeric scores that data scientists can compare during iteration.

3 supporting quotes
“Traditional NLP metrics often need to catch up on capturing the essence of text evaluation from a human perspective”article, stated
“LLM-driven evaluation accurately compares 2 texts, providing both quantitative and qualitative insights into the quality and supportiveness of free-text narratives.”article, stated
“This benchmark covers various application-specific features that were ignored by the traditional metrics without requiring human labelling”article, stated

Models used: LLM report generator · LLM-driven evaluator · LLM-as-judge · ROUGE · few-shot prompting

Scale

Alternatives considered (roads not taken)

ROUGE and other traditional NLP metrics

Rejected because: They produced minimal differences for opposing examples and could not check missing facts, structure, or invented information.

“the computed metrics show minimal differences between two texts representing opposing examples.”article, stated
“Furthermore, this metric cannot check the structure of a text and compare the presence or absence of specific information between two texts.”article, stated

Human review for every iteration

Rejected because: Human reviews are reliable but impractical for rapid business iteration.

“While human reviews are reliable, they’re time-consuming and often impractical in a fast-paced business environment.”article, stated

Generic cross-project judge score

Rejected because: The article warns that evaluator metrics are application-specific and not standardized across projects.

“a numeric score of 3 in project A does not equate to the same score in another unrelated project.”article, stated

Patterns

llm-as-judge (evaluation)

SumUp used an LLM-driven evaluator to compare generated financial-crime narratives with reference text and produce scores plus explanations.

“we’ve developed an LLM-driven evaluation process that accurately compares two texts”article, stated
“LLMs as judged are scalable and explainable ways to approximate human preferences”article, stated

eval-driven-development (evaluation)

The evaluator lets data scientists test report-generation improvements without repeatedly adding compliance-agent review workload.

“This automated evaluation method empowers data scientists to test model improvements without adding extra workload to the agents”article, stated

human-in-the-loop-gate (governance)

The report-generation workflow remains grounded in agent investigation and human review because false positives in AML escalation are high impact.

“prior human confirmation and investigation are paramount, as the consequences of automatically raising an alert without verification have an extremely high impact.”article, stated

Tradeoffs

Use an LLM evaluator for narrative reports.

Chose Application-specific LLM-as-judge over Traditional ROUGE-style metrics.

Rationale: The LLM evaluator captures qualitative criteria and supporting arguments that overlap metrics miss.

“LLM-driven evaluation accurately compares 2 texts, providing both quantitative and qualitative insights”article, stated
“This benchmark covers various application-specific features that were ignored by the traditional metrics”article, stated

Keep humans as the compliance authority.

Chose Agent investigation plus automated evaluator feedback over Machine-only suspicious activity escalation.

Rationale: Automated false positives in AML reporting have extremely high consequences.

“prior human confirmation and investigation are paramount, as the consequences of automatically raising an alert without verification have an extremely high impact.”article, stated

Gotchas (what bit them)

ROUGE-like metrics missed application-critical quality differences.

Root cause: N-gram overlap does not check evidence support, structure, topic coverage, or invented facts.

Resolution: Use application-specific benchmark checks embedded in an LLM evaluator prompt.

“Furthermore, this metric cannot check the structure of a text and compare the presence or absence of specific information between two texts.”article, stated
“We created an evaluation with custom benchmark checks embedded in a prompt”article, stated

LLM judge scores are not portable across projects.

Root cause: The meaning of a numeric score depends on the application-specific rubric.

Resolution: Calibrate the score range with few-shot examples and treat metrics as local to the application.

“these metrics are application-specific, meaning they cannot be used to compare different applications or projects.”article, stated
“We recommend specifying and calibrating the range’s values via few-shot prompting for consistency and objectivising the scoring.”article, stated

LLM evaluators introduce known bias modes.

Root cause: Judges may prefer first-position outputs, verbose responses, or LLM-generated answers.

Resolution: Use position swapping and few-shot prompting to counteract position and verbosity bias.

“LLMs introduce biases in three key areas: position bias, verbose bias, and self-enhancement bias.”article, stated
“by employing strategies such as position swapping and adding few-shot prompting, we can counteract these limitations”article, stated

Evaluation

SumUp evaluated generated narratives with custom LLM judge checks, 0-5 scores, qualitative explanations, comparisons against accurate and inaccurate examples, and validation against agent comments and numeric scores.

Metrics: topic coverage · customer profile data · supporting facts · invented facts · conclusion · 0-5 score · general score 4.67 vs 2.5

3 supporting quotes
“Topic coverage: Ensuring consistency between the generated narrative’s topics and those in the reference text.”article, stated
“we instructed an LLM to create a score between 0–5”article, stated
“the automated text generation evaluation was, on many occasions, closely related to the comments and scores provided by an agent.”article, stated

Outcomes

The source discusses rapid assessment of large data points but does not provide exact production volume.

3 supporting quotes
“This evaluation method lets us differentiate between accurately and poorly generated text”article, stated
“the areas for improvement identified by humans closely matched those pinpointed by the automated evaluation.”article, stated
“This automated evaluation method empowers data scientists to test model improvements without adding extra workload to the agents”article, stated