BGL BNP ParibasFinancial services
Recovering Ownership Relationships from a Financial Diagram
Recovering a reviewable direct-shareholder table when percentages survive PDF extraction but the companies and arrows do not.
System overviewVisual summary
Manual readback from the ownership diagram, as at 31 December 2025.
Annual report 2025 · PDF page 6The analyst needs a relationship, not a percentage
Consider a counterparty-risk analyst refreshing a banking review file. The annual report has arrived, and the analyst must hand a second reviewer a table of BGL’s direct shareholders, their holdings and the reporting date. Each row needs a source the reviewer can inspect. This is an independently designed workflow, not a description of BGL’s internal systems.
The ownership diagram contains a consequential distinction: BNP Paribas holds 99.94% of BNP Paribas Fortis, while its direct BGL holding is 15.96%. Fortis holds 50.01% of BGL. Copying the upstream 99.94% into the direct-BGL field would describe the wrong relationship—even with the correct page citation. Annual report, PDF p. 6, printed pp. 10–11

Native extraction with pypdf preserves the percentages. It loses the Fortis logo’s text and does not recover directed edges. BNP and BGL names also occur in the page navigation; finding those strings elsewhere does not bind a percentage to either company. The missing information is spatial: which arrow connects which two nodes?
Define the reviewable output
The useful output is a candidate shareholder table plus its source image—not a fluent ownership summary. A direct holding is an edge into BGL. The upstream BNP-to-Fortis edge must remain separate. Luxembourg State and other direct shareholders also belong in a complete direct-BGL table.
| Field | Contract and reason |
|---|---|
holder, company | Preserve both endpoints and their direction; similar company names are not interchangeable. |
percent | Keep the reported decimal string and percent unit; do not silently convert it to a fraction. |
uncertain | Let extraction expose uncertainty rather than completing an unreadable relationship. |
as_of | Recover the diagram’s stated date; a current website date is not a substitute. |
| Source identity | Retain PDF hash, page and unchanged crop hash outside the model’s response. |
The reference is manually read from the original diagram and kept separate from inference. Names, correct edge pairings and expected percentages are not supplied as model answers in the prompt. Source metadata identifies the whole crop; it does not pretend the model detected a verified bounding box for every arrow.
Inspect layout variation before scaling the method
The upgrade adds individually reviewed public report pages from 2019 French, 2023 French and 2025 English. Each shows six directed ownership relations, but the useful variation is in presentation: the older reports share a portrait/vertical diagram family; 2025 uses a landscape/horizontal arrangement with page navigation. The two identically named other-shareholder buckets must stay distinguished by their targets.
This is three source editions and two related layout families. Their underlying ownership facts are correlated, and 2025 was already a development example. One author traced the connectors on each rendered page before the new calls. This is a diagnostic comparison, not an independently annotated held-out benchmark.
The data analysis changes the algorithm question. A human-selected detail can rescue one known error without defining a repeatable policy. The relevant comparison is now: does a fixed, answer-independent multiview policy recover enough additional structure to justify its extra input?
Technical design: use vision for the missing structure
A local extraction experiment with a proposed analyst handoff. Model output remains a candidate.
Three pinned source pages
2019 FR, 2023 FR and 2025 EN. Two related layout families; preserve PDF, page and rendered-image identities.
Compare repeatable image policies
- Complete overviewOne capped full-page image.
- Fixed multiviewSame overview plus four overlapping tiles.
- Same local VLMPropose owner → company + percentage. Record token and image costs.
Separate extraction from acceptance
Check shape and candidate contradictions. Compare directed edges with a separately authored manual readback during offline analysis. Totals cannot prove coverage.
A reviewer checks each direct-BGL row against the arrow in the source image. Uncertain or mismatched relations stay open; this lab does not approve a counterparty file or write to a bank system.
Choose the algorithm for the information that is missing
| Path | Actual task | What it cannot establish alone |
|---|---|---|
| Native PDF text | Inspect the text already encoded in the PDF. | Logos and drawing commands need not become named nodes or relations. |
| OCR baseline | Recognise visible words and numbers, retaining text coordinates. | Reading labels does not bind an arrow’s start, end and percentage. |
| Vision-language model | Read the image and propose directed ownership edges in a structured response. | A plausible edge or valid JSON is not proof of correctness. |
A VLM has a specific job here: interpreting labels together with connecting geometry. There is no reason to embed the surviving percentages and hope retrieval reconstructs an absent edge. Conversely, ordinary readable paragraphs do not need this more expensive path. The target integration would route diagram regions to visual extraction while retaining native text for the rest of the report.
Keep inference and acceptance independent
The experiment runs Qwen3-VL 4B Instruct, Q4_K_M, locally through Ollama. It receives the image and a general extraction instruction with an output contract. Independent code compares its proposed graph with the manually reviewed reference. That reference is an experiment oracle, not a production substitute for an analyst. Official Qwen model card
The core image policy is short and independent of the reference answers. It always starts from a complete page, then creates four tiles covering 60% of each axis at origins 0 and 0.4. The overlap is 20% of the full page axis; an overview is still needed where a connector crosses tile boundaries.
def view_boxes(width, height):
"""Overview plus four tiles:60% of each axis,20% overlap of full axis."""
return [(0,0,width,height)] + [
(round(x*width),round(y*height),round((x+.6)*width),round((y+.6)*height))
for y in (0,.4) for x in (0,.4)]Every view is capped at 1,100 pixels on its longest edge. The whole-page branch receives that same overview; multiview adds all four tiles in one call. The caller instructs the model to deduplicate overlapping content. No ROI detector, reference edge or expected percentage chooses a crop.
Inspect the original single-diagram request contract
def build_request(model, image_bytes, num_predict=1600, detail_bytes=None):
"""Pixels and a task contract enter the model; reviewed answers do not."""
prompt = PROMPT
images = [image_bytes]
if detail_bytes is not None:
images.append(detail_bytes)
prompt += ('\nThe first image is the overview. The second is an analyst-selected detail crop. '
'Use both views to follow connectors; repeated content is not an additional edge. '
'A connector cut off by the detail must be resolved in the overview.')
return {'model': model, 'stream': False,
'messages': [{'role': 'user', 'content': prompt,
'images': [base64.b64encode(data).decode() for data in images]}],
'format': SCHEMA, 'think': False,
'options': {'temperature': 0, 'seed': 42, 'num_ctx': 8192, 'num_predict': num_predict},
'keep_alive': '1m'}Ollama accepts image bytes through images and an output schema through format. Recording these inputs makes the request inspectable; enforcing JSON structure does not enforce factual correctness. Vision API · Structured outputs
Raw response, model identity and image hash remain inspectable. No model is trained or fine-tuned for this case. The website displays saved executions; model inference runs locally rather than in the visitor’s browser.
Compare a cheap overview with fixed detail
Both policies use the same Qwen artifact, JSON contract, temperature 0 and seed 42. French decimal commas and the two literal French shareholder labels are normalised only for comparison. Company-name typos are not fuzzy-corrected into a reference match. All six attempts, raw responses, image hashes and reconstructed requests are retained.
Same overview in both paths
Four 60% tiles · 20% axis overlap
No answer-dependent crop
Deduplicate repeated content
Check every directed relation

portrait vertical grey diagram
Official PDF · page 9

portrait vertical grey diagram
Official PDF · page 8

landscape horizontal coloured diagram
Official PDF · page 6
| Edition | Input policy | Exact edges | Missing / extra | Images | Prompt tokens |
|---|---|---|---|---|---|
| 2019 | Whole page | 6/6 | 0 / 0 | 1 | 1213 |
| 2019 | Fixed multiview | 6/6 | 0 / 0 | 5 | 5476 |
| 2023 | Whole page | 6/6 | 0 / 0 | 1 | 1213 |
| 2023 | Fixed multiview | 6/6 | 0 / 0 | 5 | 5476 |
| 2025 | Whole page | 2/6 | 4 / 3 | 1 | 1213 |
| 2025 | Fixed multiview | 5/6 | 1 / 0 | 5 | 5476 |
Three source editions, two related layout families; 2025 was already a development example. Exact edges require correct endpoints, direction and percentage. Runtime prompt-token counts describe this run.
Inspect candidate graphs and the remaining errors
2019 · Whole page
Date: 2019-12-31 · complete graph: yes
- BNP PARIBAS → BNP PARIBAS FORTIS · 99,94 %% · uncertain: false
- BNP PARIBAS → BGL BNP PARIBAS · 15,96 %% · uncertain: false
- État luxembourgeois → BGL BNP PARIBAS · 34 %% · uncertain: false
- BNP PARIBAS FORTIS → BGL BNP PARIBAS · 50,01 %% · uncertain: false
- Autres actionnaires → BNP PARIBAS FORTIS · 0,06 %% · uncertain: false
- Autres actionnaires → BGL BNP PARIBAS · 0,03 %% · uncertain: false
2019 · Fixed multiview
Date: 2019-12-31 · complete graph: yes
- BNP PARIBAS → BNP PARIBAS FORTIS · 99,94 %% · uncertain: false
- BNP PARIBAS → BGL BNP PARIBAS · 15,96 %% · uncertain: false
- BNP PARIBAS FORTIS → BGL BNP PARIBAS · 50,01 %% · uncertain: false
- État luxembourgeois → BGL BNP PARIBAS · 34 %% · uncertain: false
- Autres actionnaires → BNP PARIBAS FORTIS · 0,06 %% · uncertain: false
- Autres actionnaires → BGL BNP PARIBAS · 0,03 %% · uncertain: false
2023 · Whole page
Date: 2023-12-31 · complete graph: yes
- BNP PARIBAS → BNP PARIBAS FORTIS · 99,94 %% · uncertain: false
- BNP PARIBAS → BGL BNP PARIBAS · 15,96 %% · uncertain: false
- État luxembourgeois → BGL BNP PARIBAS · 34 %% · uncertain: false
- BNP PARIBAS FORTIS → BGL BNP PARIBAS · 50,01 %% · uncertain: false
- Autres actionnaires → BNP PARIBAS FORTIS · 0,06 %% · uncertain: false
- Autres actionnaires → BGL BNP PARIBAS · 0,03 %% · uncertain: false
2023 · Fixed multiview
Date: 2023-12-31 · complete graph: yes
- BNP PARIBAS → BNP PARIBAS FORTIS · 99,94 %% · uncertain: false
- BNP PARIBAS → BGL BNP PARIBAS · 15,96 %% · uncertain: false
- BNP PARIBAS FORTIS → BGL BNP PARIBAS · 50,01 %% · uncertain: false
- État luxembourgeois → BGL BNP PARIBAS · 34 %% · uncertain: false
- Autres actionnaires → BNP PARIBAS FORTIS · 0,06 %% · uncertain: false
- Autres actionnaires → BGL BNP PARIBAS · 0,03 %% · uncertain: false
2025 · Whole page
Date: 2025-12-31 · complete graph: no
- OTHER SHAREHOLDERS → BGL BNP PARIBAS · 0.06%% · uncertain: false
- BPN PARIBAS FORTIS → BGL BNP PARIBAS · 50.01%% · uncertain: false
- BPN PARIBAS → BGL BNP PARIBAS · 15.96%% · uncertain: false
- LUXEMBOURG STATE → BGL BNP PARIBAS · 34%% · uncertain: false
- OTHER SHAREHOLDERS → BGL BNP PARIBAS · 0.03%% · uncertain: false
Missing: bnpparibas → bnpparibasfortis (99.94%); othershareholders → bnpparibasfortis (0.06%); bnpparibasfortis → bglbnpparibas (50.01%); bnpparibas → bglbnpparibas (15.96%)
Unmatched: othershareholders → bglbnpparibas: anonymous_bucket_target; bpnparibasfortis → bglbnpparibas: label_transcription; bpnparibas → bglbnpparibas: label_transcription
2025 · Fixed multiview
Date: 2025-12-31 · complete graph: no
- OTHER SHAREHOLDERS → BNP PARIBAS FORTIS · 0.06%% · uncertain: false
- BNP PARIBAS FORTIS → BGL BNP PARIBAS · 50.01%% · uncertain: false
- BNP PARIBAS → BGL BNP PARIBAS · 15.96%% · uncertain: false
- LUXEMBOURG STATE → BGL BNP PARIBAS · 34%% · uncertain: false
- OTHER SHAREHOLDERS → BGL BNP PARIBAS · 0.03%% · uncertain: false
Missing: bnpparibas → bnpparibasfortis (99.94%)
The older layouts need no extra views in this sample. Each whole-page run already matches all six edges; four additional images add cost without recovering another relationship.
The 2025 layout remains difficult. Whole-page output has five candidates but only two exact reference matches: it transcribes BNP as BPN in two holder labels, binds the 0.06% anonymous bucket to the wrong company and omits the 99.94% upstream stake. Fixed multiview matches five of six, correcting those returned labels and the bucket target, but still omits BNP Paribas→Fortis 99.94%. A cleaner-looking candidate is still incomplete.
The runtime reports 1,213→5,476 prompt tokens, about 4.5 times as many, with 1→5 images. These are actual runtime token counts, not billing or a controlled wall-time benchmark. Other local experiments shared the runtime. The result supports an on-demand detail path, not unconditional five-image extraction or automatic acceptance. The fallback trigger itself remains proposed.
Carry the candidate into an analyst’s work
- Intake a pinned source page. Keep PDF edition/hash, page and rendered-image hash. A new report version requires a new extraction and source review.
- Read the overview. Generate direct-edge candidates and inspect duplicate endpoint pairs, incoming totals and unresolved items. These checks can expose contradictions without a gold answer; they cannot prove completeness.
- Escalate the image input when needed. A contradiction or reviewer concern can request the fixed views. That routing is proposed; this experiment deliberately runs both policies on every page.
- Review coverage, then select direct BGL owners. Trace every connector in the source, correct names and inspect missing upstream edges before accepting the graph. Filtering only BGL’s incoming edges too early would hide the extraction omission.
The proposed second reviewer approves the source-linked shareholder table for the counterparty file. No model score, valid JSON or incoming total grants that approval.
Earlier development example: an analyst-selected detail crop
The original2025 cropped-image run returned five edges, four matching the six-edge readback. It misbound the 0.06% bucket and omitted the 99.94% upstream edge. A second run with an analyst-selected left-side detail matched six of six. Those are different image inputs from the full-page policy above; the successful guided crop is not an automatic-policy result.
Recorded local executions on the same source diagram, including an analyst-selected detail in the second pass. Changing this selector reads saved output; it does not run a model or send the image anywhere.
First pass · whole diagram4 of 6 reference edges recovered exactly; 1 incorrect or unexplained candidate relationship(s).
Second pass · overview plus selected detail6 of 6 reference edges recovered exactly; 0 incorrect or unexplained candidate relationship(s).
VLM · whole image
Extract direct ownership candidates from pixels
Candidate relationships, awaiting analyst review
The offline comparison matches 4 of 6 manually reviewed reference edges. Matching this one image does not approve a counterparty record or establish general accuracy.
| Holder | Company held | Holding |
|---|---|---|
| OTHER SHAREHOLDERS | BGL BNP PARIBAS | 0.06% |
| BNP PARIBAS FORTIS | BGL BNP PARIBAS | 50.01% |
| BNP PARIBAS | BGL BNP PARIBAS | 15.96% |
| LUXEMBOURG STATE | BGL BNP PARIBAS | 34% |
| OTHER SHAREHOLDERS | BGL BNP PARIBAS | 0.03% |
This path produced text rather than a directed shareholder table.
Checks on the candidate alone flag 1 repeated holder/company pair(s) and incoming holdings above 100% (100.06%). These are review signals, independent of the reference answer.
- Reference relationship not recovered: BNP Paribas → BNP Paribas Fortis: 99.94%.
- Reference relationship not recovered: Other shareholders → BNP Paribas Fortis: 0.06%.
- Candidate needs correction or explanation: OTHER SHAREHOLDERS → BGL BNP PARIBAS: 0.06%.
Initial, unedited response. The model receives only the overview, a generic instruction and JSON schema.
Inspect the recovered text and run identity
Recovered text or model response
{
"as_of": "2025-12-31",
"edges": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
}
],
"unresolved": []
}Execution times describe different tasks and are not a speed benchmark. Model digest and input hashes identify this recording.

Inspect final-candidate question coverage and the complete saved record
Prepare the direct-shareholder table
Who directly owns BGL BNP Paribas, at what percentage and date?
BNP PARIBAS FORTIS → BGL BNP PARIBAS: 50.01%; BNP PARIBAS → BGL BNP PARIBAS: 15.96%; OTHER SHAREHOLDERS → BGL BNP PARIBAS: 0.03%; LUXEMBOURG STATE → BGL BNP PARIBAS: 34%
Matches the manually reviewed reference for this question. The direct BGL table needs every displayed direct shareholder; an upstream stake cannot fill a missing row.
Separate direct and upstream stakes
How does the BNP Paribas–Fortis–BGL path differ from the direct BNP Paribas stake in BGL?
BNP PARIBAS → BNP PARIBAS FORTIS: 99.94%; BNP PARIBAS FORTIS → BGL BNP PARIBAS: 50.01%; BNP PARIBAS → BGL BNP PARIBAS: 15.96%
Matches the manually reviewed reference for this question. Keep the displayed edges distinct. This experiment does not calculate economic exposure through multiple ownership paths.
Keep the two anonymous buckets distinct
Which companies do the identically labelled other-shareholder buckets own?
OTHER SHAREHOLDERS → BNP PARIBAS FORTIS: 0.06%; OTHER SHAREHOLDERS → BGL BNP PARIBAS: 0.03%
Matches the manually reviewed reference for this question. An anonymous shareholder label is not a verified legal entity; target context distinguishes the two diagram buckets.
One public source image, two development executions. Review questions share the extracted graph; these are not held-out examples or a general accuracy benchmark.
{
"source": {
"title": "BGL BNP Paribas Annual Report 2025 (English translation)",
"url": "https://www.bgl.lu/content/dam/publicsite/pdf/documents-officiels/donnees-financieres/rapports-annuels/2025/en/R2_EN_WEB_rapport_annuel_2025_0626_BGLBNPP.pdf#page=6",
"page": 6,
"as_of": "2025-12-31",
"image_url": "/assets/bgl-2025-shareholding.png",
"image_sha256": "e1045a8a6a0c252a90dccc8c78eb15494e5a85a182c21ed1c488f6b1b93f197d",
"pdf_sha256": "2ac1eff2522c778d77349f81743ce783e60b64ffa51d27aa0d37a11682fa081d"
},
"model": {
"name": "qwen3-vl:4b-instruct-q4_K_M",
"digest": "84f7ed8042fa7cdbd902f7dcb7d0370e032095047cc3244179f263b77b5bc318",
"details": {
"parent_model": "dhiltgen/qwen3-vl:4b-instruct-q4_K_M-llamacpp",
"format": "gguf",
"family": "qwen3vl",
"families": [
"qwen3vl",
"clip"
],
"parameter_size": "4.0B",
"quantization_level": "Q4_K_M",
"context_length": 262144,
"embedding_length": 2560,
"runner": "llamacpp"
},
"runtime_version": "0.40.18"
},
"methods": [
{
"id": "native",
"title": "Native PDF text",
"task": "Text-anchor inspection",
"status": "text_only",
"text": "Percentage tokens in native PDF page text: 0.03%, 34%, 15.96%, 50.01%, 0.06%, 99.94%",
"edges": [],
"as_of": null,
"elapsed_seconds": null,
"note": "Percentages survive; the Fortis label is absent. No graph parser runs in this baseline, so edge accuracy is not assigned."
},
{
"id": "ocr",
"title": "Apple Vision OCR",
"task": "Recognize text and its bounding boxes",
"status": "text_only",
"text": "SHAREHOLDING\nSTRUCTURE\nAs at 31 December 2025\nOTHER SHAREHOLDERS\n0.06%\n*\n*.\nBNP PARIBAS\nFORTIS\n99.94%\n50.01%\n15.96%\n*.\nBNP PARIBAS\n*\n34%\nLUXEMBOURG\nSTATE\nBGL\nBNP PARIBAS\n0.03%\nOTHER SHAREHOLDERS",
"edges": [],
"as_of": null,
"elapsed_seconds": 1.441,
"note": "Actual local OCR, with text boxes. Recognized labels and percentages alone do not connect holders to arrowheads."
},
{
"id": "vision",
"title": "VLM · whole image",
"task": "Extract direct ownership candidates from pixels",
"status": "candidate_for_review",
"text": "{\n \"as_of\": \"2025-12-31\",\n \"edges\": [\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"0.06%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS FORTIS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"50.01%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"15.96%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"LUXEMBOURG STATE\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"34%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"0.03%\",\n \"uncertain\": false\n }\n ],\n \"unresolved\": []\n}",
"edges": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
}
],
"as_of": "2025-12-31",
"elapsed_seconds": 27.193,
"note": "Initial, unedited response. The model receives only the overview, a generic instruction and JSON schema."
},
{
"id": "focused",
"title": "VLM · overview + detail",
"task": "Re-read a dense region after source inspection",
"status": "candidate_for_review",
"text": "{\n \"as_of\": \"2025-12-31\",\n \"edges\": [\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BNP PARIBAS FORTIS\",\n \"percent\": \"0.06%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS\",\n \"company\": \"BNP PARIBAS FORTIS\",\n \"percent\": \"99.94%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS FORTIS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"50.01%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"15.96%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"0.03%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"LUXEMBOURG STATE\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"34%\",\n \"uncertain\": false\n }\n ],\n \"unresolved\": []\n}",
"edges": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BNP PARIBAS FORTIS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BNP PARIBAS FORTIS",
"percent": "99.94%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
}
],
"as_of": "2025-12-31",
"elapsed_seconds": 11.115,
"note": "A second development run adds an analyst-selected detail alongside the overview. It remains a candidate, not an independent test set."
}
],
"evaluation": {
"date_correct": true,
"exact_edge_count": 6,
"reference_edge_count": 6,
"candidate_edge_count": 6,
"matched": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BNP PARIBAS FORTIS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BNP PARIBAS FORTIS",
"percent": "99.94%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
}
],
"missed": [],
"unexpected": [],
"precision": 1,
"recall": 1
},
"initial_evaluation": {
"date_correct": true,
"exact_edge_count": 4,
"reference_edge_count": 6,
"candidate_edge_count": 5,
"matched": [
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
}
],
"missed": [
{
"holder": "BNP Paribas",
"company": "BNP Paribas Fortis",
"percent": "99.94"
},
{
"holder": "Other shareholders",
"company": "BNP Paribas Fortis",
"percent": "0.06"
}
],
"unexpected": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.06%",
"uncertain": false
}
],
"precision": 0.8,
"recall": 0.6666666666666666
},
"candidate_checks": {
"vision": {
"duplicate_endpoint_pairs": [
[
"othershareholders",
"bglbnpparibas"
]
],
"incoming_percent_totals": {
"bglbnpparibas": "100.06"
},
"totals_above_100": [
"bglbnpparibas"
],
"model_uncertain_edges": 0,
"model_unresolved": [],
"review_status": "human_review_required",
"note": "These checks flag contradictions; passing them does not prove arrow interpretation or completeness."
},
"focused": {
"duplicate_endpoint_pairs": [],
"incoming_percent_totals": {
"bnpparibasfortis": "100.00",
"bglbnpparibas": "100.00"
},
"totals_above_100": [],
"model_uncertain_edges": 0,
"model_unresolved": [],
"review_status": "human_review_required",
"note": "These checks flag contradictions; passing them does not prove arrow interpretation or completeness."
}
},
"questions": [
{
"id": "direct-bgl",
"title": "Prepare the direct-shareholder table",
"question": "Who directly owns BGL BNP Paribas, at what percentage and date?",
"expected": [
{
"holder": "BNP Paribas Fortis",
"company": "BGL BNP Paribas",
"percent": "50.01"
},
{
"holder": "Luxembourg State",
"company": "BGL BNP Paribas",
"percent": "34"
},
{
"holder": "BNP Paribas",
"company": "BGL BNP Paribas",
"percent": "15.96"
},
{
"holder": "Other shareholders",
"company": "BGL BNP Paribas",
"percent": "0.03"
}
],
"observed": [
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
}
],
"complete": true,
"note": "The direct BGL table needs every displayed direct shareholder; an upstream stake cannot fill a missing row."
},
{
"id": "upstream",
"title": "Separate direct and upstream stakes",
"question": "How does the BNP Paribas–Fortis–BGL path differ from the direct BNP Paribas stake in BGL?",
"expected": [
{
"holder": "BNP Paribas",
"company": "BNP Paribas Fortis",
"percent": "99.94"
},
{
"holder": "BNP Paribas Fortis",
"company": "BGL BNP Paribas",
"percent": "50.01"
},
{
"holder": "BNP Paribas",
"company": "BGL BNP Paribas",
"percent": "15.96"
}
],
"observed": [
{
"holder": "BNP PARIBAS",
"company": "BNP PARIBAS FORTIS",
"percent": "99.94%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
}
],
"complete": true,
"note": "Keep the displayed edges distinct. This experiment does not calculate economic exposure through multiple ownership paths."
},
{
"id": "anonymous",
"title": "Keep the two anonymous buckets distinct",
"question": "Which companies do the identically labelled other-shareholder buckets own?",
"expected": [
{
"holder": "Other shareholders",
"company": "BNP Paribas Fortis",
"percent": "0.06"
},
{
"holder": "Other shareholders",
"company": "BGL BNP Paribas",
"percent": "0.03"
}
],
"observed": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BNP PARIBAS FORTIS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
}
],
"complete": true,
"note": "An anonymous shareholder label is not a verified legal entity; target context distinguishes the two diagram buckets."
}
],
"run": {
"recorded_at": "2026-11-25T20:59:56.087526+00:00",
"model": {
"name": "qwen3-vl:4b-instruct-q4_K_M",
"digest": "84f7ed8042fa7cdbd902f7dcb7d0370e032095047cc3244179f263b77b5bc318",
"details": {
"parent_model": "dhiltgen/qwen3-vl:4b-instruct-q4_K_M-llamacpp",
"format": "gguf",
"family": "qwen3vl",
"families": [
"qwen3vl",
"clip"
],
"parameter_size": "4.0B",
"quantization_level": "Q4_K_M",
"context_length": 262144,
"embedding_length": 2560,
"runner": "llamacpp"
},
"runtime_version": "0.40.18"
},
"input": {
"image_sha256": "e1045a8a6a0c252a90dccc8c78eb15494e5a85a182c21ed1c488f6b1b93f197d",
"prompt": "Read the supplied shareholding diagram using only its visible content.\nExtract every direct ownership arrow, following the full connector from holder\nto the company at its arrowhead. Do not replace a direct stake with an indirect\nor multiplied holding. Copy company labels and percentage labels from the image.\nKeep identically named shareholder buckets separate when their target differs.\nRead the reporting date, if visible, as YYYY-MM-DD. A label's vertical position\nalone does not determine arrow direction. Do not use outside knowledge.\nReturn a candidate graph, not financial advice. Mark an edge uncertain if its\nconnector or label cannot be read, and describe unresolved evidence separately.\nOnly output the requested JSON structure.\nThe first image is the overview. The second is an analyst-selected detail crop. Use both views to follow connectors; repeated content is not an additional edge. A connector cut off by the detail must be resolved in the overview.",
"prompt_sha256": "aad75f4c535a180e45c47f8c45c168bd3433668e325b891e610d3e6085031123",
"caller_source_sha256": "6d88496312030f68a4fb81d90ed605c75c85678bc6ec44fe2ade8344e81a5ce9",
"detail_image_sha256": "8026db09a3ffd6e2ff906a0084d434d0c94cb4aa7662aca2adac8f1be0cb6eac",
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"as_of": {
"type": [
"string",
"null"
]
},
"edges": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"holder": {
"type": "string"
},
"company": {
"type": "string"
},
"percent": {
"type": [
"string",
"null"
]
},
"uncertain": {
"type": "boolean"
}
},
"required": [
"holder",
"company",
"percent",
"uncertain"
]
}
},
"unresolved": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"as_of",
"edges",
"unresolved"
]
},
"options": {
"temperature": 0,
"seed": 42,
"num_ctx": 8192,
"num_predict": 1600
},
"gold_in_prompt": false
},
"elapsed_seconds": 11.115,
"raw_content": "{\n \"as_of\": \"2025-12-31\",\n \"edges\": [\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BNP PARIBAS FORTIS\",\n \"percent\": \"0.06%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS\",\n \"company\": \"BNP PARIBAS FORTIS\",\n \"percent\": \"99.94%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS FORTIS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"50.01%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"15.96%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"0.03%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"LUXEMBOURG STATE\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"34%\",\n \"uncertain\": false\n }\n ],\n \"unresolved\": []\n}",
"done": true,
"done_reason": "stop",
"usage": {
"total_duration": 11112886000,
"load_duration": 1292648584,
"prompt_eval_count": 2599,
"eval_count": 311,
"eval_duration": 4524858000
},
"candidate": {
"as_of": "2025-12-31",
"edges": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BNP PARIBAS FORTIS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BNP PARIBAS FORTIS",
"percent": "99.94%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
}
],
"unresolved": []
},
"parse_error": null,
"scope": "One public diagram; model candidates require human source review."
},
"initial_run": {
"recorded_at": "2026-11-25T20:57:58.198235+00:00",
"model": {
"name": "qwen3-vl:4b-instruct-q4_K_M",
"digest": "84f7ed8042fa7cdbd902f7dcb7d0370e032095047cc3244179f263b77b5bc318",
"details": {
"parent_model": "dhiltgen/qwen3-vl:4b-instruct-q4_K_M-llamacpp",
"format": "gguf",
"family": "qwen3vl",
"families": [
"qwen3vl",
"clip"
],
"parameter_size": "4.0B",
"quantization_level": "Q4_K_M",
"context_length": 262144,
"embedding_length": 2560,
"runner": "llamacpp"
},
"runtime_version": "0.40.18"
},
"input": {
"image_sha256": "e1045a8a6a0c252a90dccc8c78eb15494e5a85a182c21ed1c488f6b1b93f197d",
"prompt": "Read the supplied shareholding diagram using only its visible content.\nExtract every direct ownership arrow, following the full connector from holder\nto the company at its arrowhead. Do not replace a direct stake with an indirect\nor multiplied holding. Copy company labels and percentage labels from the image.\nKeep identically named shareholder buckets separate when their target differs.\nRead the reporting date, if visible, as YYYY-MM-DD. A label's vertical position\nalone does not determine arrow direction. Do not use outside knowledge.\nReturn a candidate graph, not financial advice. Mark an edge uncertain if its\nconnector or label cannot be read, and describe unresolved evidence separately.\nOnly output the requested JSON structure.",
"prompt_sha256": "911cde7e896146f79a7ff5671741f8c6d5703a6b8a1a0c5747b00f75b84d8552",
"caller_source_sha256": "f46b2bb872650e249cf78d7b682b662579f8a2be5f16a332089e349bef5d7e9d",
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"as_of": {
"type": [
"string",
"null"
]
},
"edges": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"holder": {
"type": "string"
},
"company": {
"type": "string"
},
"percent": {
"type": [
"string",
"null"
]
},
"uncertain": {
"type": "boolean"
}
},
"required": [
"holder",
"company",
"percent",
"uncertain"
]
}
},
"unresolved": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"as_of",
"edges",
"unresolved"
]
},
"options": {
"temperature": 0,
"seed": 42,
"num_ctx": 8192,
"num_predict": 1600
},
"gold_in_prompt": false
},
"elapsed_seconds": 27.193,
"raw_content": "{\n \"as_of\": \"2025-12-31\",\n \"edges\": [\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"0.06%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS FORTIS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"50.01%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"BNP PARIBAS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"15.96%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"LUXEMBOURG STATE\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"34%\",\n \"uncertain\": false\n },\n {\n \"holder\": \"OTHER SHAREHOLDERS\",\n \"company\": \"BGL BNP PARIBAS\",\n \"percent\": \"0.03%\",\n \"uncertain\": false\n }\n ],\n \"unresolved\": []\n}",
"done": true,
"done_reason": "stop",
"usage": {
"total_duration": 27189713459,
"load_duration": 19944106000,
"prompt_eval_count": 1499,
"eval_count": 263,
"eval_duration": 3695208000
},
"candidate": {
"as_of": "2025-12-31",
"edges": [
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.06%",
"uncertain": false
},
{
"holder": "BNP PARIBAS FORTIS",
"company": "BGL BNP PARIBAS",
"percent": "50.01%",
"uncertain": false
},
{
"holder": "BNP PARIBAS",
"company": "BGL BNP PARIBAS",
"percent": "15.96%",
"uncertain": false
},
{
"holder": "LUXEMBOURG STATE",
"company": "BGL BNP PARIBAS",
"percent": "34%",
"uncertain": false
},
{
"holder": "OTHER SHAREHOLDERS",
"company": "BGL BNP PARIBAS",
"percent": "0.03%",
"uncertain": false
}
],
"unresolved": []
},
"parse_error": null,
"scope": "One public diagram; model candidates require human source review."
},
"detail": {
"origin": "Analyst-selected detail after inspecting the first model errors; not an automatic region detector",
"source_image_sha256": "e1045a8a6a0c252a90dccc8c78eb15494e5a85a182c21ed1c488f6b1b93f197d",
"bbox_top_left_pixels": [
35,
190,
440,
790
],
"pillow_version": "13.0.0",
"detail_sha256": "8026db09a3ffd6e2ff906a0084d434d0c94cb4aa7662aca2adac8f1be0cb6eac",
"policy": "The original overview is always included so cropped connectors can be followed to their targets.",
"image_url": "/assets/bgl-shareholding-detail-left.png"
},
"ocr": {
"bbox_contract": "[x0, y0, x1, y1], normalized to the image, top-left origin; text-observation boxes only",
"engine": {
"framework": "Apple Vision",
"image_orientation": "up",
"os_version": "Version 15.7.4 (Build 24G517)",
"recognition_languages": [
"en-US"
],
"recognition_level": "accurate",
"request": "VNRecognizeTextRequest",
"request_revision": 3,
"uses_language_correction": false
},
"image": {
"height": 844,
"width": 1650
},
"observation_order": "Original Vision observation order; no custom reading-order reconstruction",
"observations": [
{
"bbox_top_left_normalized": [
0.02906976834655471,
0.04545454549765249,
0.27616279332288046,
0.09090909054130858
],
"confidence": 1,
"ordinal": 0,
"text": "SHAREHOLDING"
},
{
"bbox_top_left_normalized": [
0.029069767900126137,
0.1164772728109642,
0.21366279287645187,
0.1619318178546203
],
"confidence": 1,
"ordinal": 1,
"text": "STRUCTURE"
},
{
"bbox_top_left_normalized": [
0.029069766795601852,
0.19034090959248284,
0.1409883699413168,
0.20738636341888084
],
"confidence": 1,
"ordinal": 2,
"text": "As at 31 December 2025"
},
{
"bbox_top_left_normalized": [
0.04796511556591764,
0.28409090962806105,
0.15697674368795836,
0.3127962082461788
],
"confidence": 1,
"ordinal": 3,
"text": "OTHER SHAREHOLDERS"
},
{
"bbox_top_left_normalized": [
0.07558139463184833,
0.39772727307476297,
0.12936046493695014,
0.44318181811841895
],
"confidence": 1,
"ordinal": 4,
"text": "0.06%"
},
{
"bbox_top_left_normalized": [
0.05523255827821305,
0.5482954548105146,
0.07122093015617233,
0.5710227273323426
],
"confidence": 0.30000001192092896,
"ordinal": 5,
"text": "*"
},
{
"bbox_top_left_normalized": [
0.052325582021344144,
0.5681818189680856,
0.07122093007894653,
0.5937499991427098
],
"confidence": 0.30000001192092896,
"ordinal": 6,
"text": "*."
},
{
"bbox_top_left_normalized": [
0.09302325563199217,
0.5308056870617459,
0.21511628060831792,
0.5627962083887602
],
"confidence": 1,
"ordinal": 7,
"text": "BNP PARIBAS"
},
{
"bbox_top_left_normalized": [
0.12060140773435983,
0.5678740840654678,
0.18608463971234276,
0.5997395520228785
],
"confidence": 1,
"ordinal": 8,
"text": "FORTIS"
},
{
"bbox_top_left_normalized": [
0.07412790795676984,
0.6846590907898604,
0.132267440797383,
0.7301136358335164
],
"confidence": 1,
"ordinal": 9,
"text": "99.94%"
},
{
"bbox_top_left_normalized": [
0.280523256151019,
0.49147727168480215,
0.337209301479795,
0.5426136365538341
],
"confidence": 1,
"ordinal": 10,
"text": "50.01%"
},
{
"bbox_top_left_normalized": [
0.27906976797891825,
0.7755681817311083,
0.33720930081953143,
0.8238636366874522
],
"confidence": 1,
"ordinal": 11,
"text": "15.96%"
},
{
"bbox_top_left_normalized": [
0.05523255824455922,
0.8437500000080255,
0.07267441879032449,
0.8664772725298534
],
"confidence": 0.30000001192092896,
"ordinal": 12,
"text": "*."
},
{
"bbox_top_left_normalized": [
0.09302325839794197,
0.8210227278213292,
0.22238372093345332,
0.8554502373099819
],
"confidence": 1,
"ordinal": 13,
"text": "BNP PARIBAS"
},
{
"bbox_top_left_normalized": [
0.5465116278074194,
0.5880681817315102,
0.5581395348379296,
0.6107954542533383
],
"confidence": 0.5,
"ordinal": 14,
"text": "*"
},
{
"bbox_top_left_normalized": [
0.6627906982146679,
0.2585227277622628,
0.6991279068180355,
0.3039772728059189
],
"confidence": 1,
"ordinal": 15,
"text": "34%"
},
{
"bbox_top_left_normalized": [
0.8444462426148733,
0.2895049856247397,
0.9157281750988931,
0.32129046923361826
],
"confidence": 1,
"ordinal": 16,
"text": "LUXEMBOURG"
},
{
"bbox_top_left_normalized": [
0.7965116292817412,
0.31250000076496054,
0.8779069761833748,
0.3693181809395848
],
"confidence": 0.30000001192092896,
"ordinal": 17,
"text": "STATE"
},
{
"bbox_top_left_normalized": [
0.6041666660069445,
0.4959349613913038,
0.6833333326736111,
0.5609756085273955
],
"confidence": 1,
"ordinal": 18,
"text": "BGL"
},
{
"bbox_top_left_normalized": [
0.6061046520569751,
0.5651658777410754,
0.8343023208839163,
0.6164772734856523
],
"confidence": 1,
"ordinal": 19,
"text": "BNP PARIBAS"
},
{
"bbox_top_left_normalized": [
0.6555232563607666,
0.7784090916556333,
0.7049418595064816,
0.8210227267866015
],
"confidence": 1,
"ordinal": 20,
"text": "0.03%"
},
{
"bbox_top_left_normalized": [
0.7979651176535636,
0.818181818774612,
0.9098837207992786,
0.8522727264274081
],
"confidence": 1,
"ordinal": 21,
"text": "OTHER SHAREHOLDERS"
}
],
"recognition_elapsed_seconds": 1.4407769998069853,
"scope": "OCR text observations only; no arrow detection or ownership relationship extraction",
"provenance": {
"recorded_at": "2026-11-25T20:55:42.946943+00:00",
"input_image": "public/assets/bgl-2025-shareholding.png",
"image_sha256": "e1045a8a6a0c252a90dccc8c78eb15494e5a85a182c21ed1c488f6b1b93f197d",
"ocr_source_sha256": "677067d352fcddc622ff984154a8c50b7c181b092a045e2e3d2ffe0f79984b0f",
"swift_compiler_version": "Apple Swift version 6.2.4 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)\nTarget: x86_64-apple-macosx15.0",
"module_cache": "bgl-evidence/.source-cache/vision-ocr/module-cache",
"compile_elapsed_seconds": 23.877165499841794,
"execution_elapsed_seconds": 2.171647292096168,
"timing_note": "Wall clock on this machine; execution includes process startup. Recognition-only time is reported separately by Swift. Not a benchmark.",
"model_api_revision": 3,
"model_note": "Apple Vision API request revision, not a separately versioned downloadable model. Swift runtime libraries come from the local OS/toolchain; the recorded version is the compiler version."
}
},
"scope": "One public source image, two development executions. Review questions share the extracted graph; these are not held-out examples or a general accuracy benchmark."
}Integrate a visual fallback without hiding its limits
Escalate input detail only when justified. Fixed views help the difficult 2025 layout but do not improve the older pair. A production router might begin with a native-text or overview path, then ask for detail and human review. Neither region detection nor a reliable automatic acceptance/coverage detector is implemented.
Preserve the graph before selecting direct owners. Flattening every percentage into a BGL field loses the Fortis distinction. Keep directed edges first; select BGL’s incoming edges only after their identities have been reviewed. Do not calculate indirect ownership or control from this extraction.
Use deterministic checks around model output. A schema can reject missing endpoints or an invalid percentage representation. It cannot determine that an arrow was read correctly. Production acceptance would combine source-linked review with coverage checks across a larger, varied diagram collection.
Separate local execution from a production service. The implemented experiment stores files containing the run and evaluation. Object storage for approved source versions, a candidate-record service, durable review tasks, access controls and reviewer approvals are proposed integration components. No bank API or internal document system is connected.
Engineering ideas adapted from other cases
Lifen’s graph-based layout work motivates keeping positions and relationships before flattening content. Its layout method does not itself establish this diagram’s financial semantics. Lifen engineering
Stitch Fix’s Ariadne makes missing expected items visible across search stages. Here, keeping extraction and later selection separate prevents a retrieval fix from being credited with recovering a relationship that was never parsed. Ariadne search observability
BGL’s public university collaboration provides local NLP context. This ownership-extraction experiment is independent of that project. University project overview
What this example can establish
The actual VLM proposes relationships absent from native PDF text. A fixed input policy makes the extraction/cost trade-off repeatable across three related source editions, while preserving a consequential missing edge. The next useful evidence is a larger independently annotated collection spanning different ownership structures and layouts, plus a tested fallback trigger. These observations do not establish general accuracy or analyst time saved.
Download and reproduce the local experiment
Download the Python experiment and recorded run. Start with vision/corpus/README.md for the new fixed-policy comparison and offline replay (python3 vision/corpus/evaluate.py). It pins the three source pages, frozen view files, model identity, request/response records and manual reference. The older vision/README.md describes the original OCR and guided-crop development experiment; native/OCR inspection was not rerun over all three editions. Model weights are not bundled; recorded outputs can be inspected without downloading a model. The original report remains available from the official source.
The earlier standard-library diagnostic can be run from the extracted experiment directory:
python3 benchmark.pyFor the separate native-PDF inspection, install requirements-source.txt and run fetch_source.py. It checks the pinned PDF hash before extraction with pypdf==6.21.4. The English edition notes that the original French version prevails if editions differ; retain that edition boundary during review.
Earlier diagnostic: distinguish extraction, selection and claim faults
This separate harness contains 15 controlled stage packets over nine manually reviewed records: two narrative, three table and four ownership units. It checks the supplied contract; it is not an automatic parser, retriever or model evaluation. Narrative and table controls come from PDF pages 7 and 3. Business descriptions · Key figures
parse_missing means a required complete unit is absent. retrieval_miss means complete evidence exists but is not selected. unsupported_claim means a proposed field disagrees with the reviewed record. supported applies only to the supplied packet. Because diagnosis stops at the first fault, repairing extraction does not prove downstream selection and claims are correct.
def same_value(actual, expected):
"""Preserve field types, including boolean edge flags and numeric strings."""
return type(actual) is type(expected) and actual == expected
def complete_unit(unit_id, parsed_units, reviewed_units):
"""Use the reviewed record as an oracle for this controlled diagnostic."""
reference = reviewed_units[unit_id]
parsed = parsed_units.get(unit_id)
if parsed is None:
return False
locator_keys = ("source", "page", "bbox_top_left_pt", "kind")
locators_match = all(same_value(parsed.get(key), reference[key]) for key in locator_keys)
fields = parsed.get("fields", {})
return locators_match and all(
key in fields and same_value(fields[key], reference["fields"][key])
for key in reference["required_fields"]
)Controlled scenarios using manually reviewed records. Required evidence and candidates are supplied explicitly.
The question and evidence it needs
- 1 · Parsing
- 2 · Candidates
- 3 · Claim gate
| Required unit | After parsing | In candidates |
|---|