Hebbia’s Matrix product synthesizes financial research from thousands of documents. A banker preparing an acquisition diligence deck needs answers that cite the right sources, cover all relevant material, and format correctly. Hebbia tested GPT-6 Astra against their existing pipeline and published three metrics: source coverage, citation relevance, and presentation quality. This is one of the first public evaluations of production RAG performance in a regulated domain where missing a material contract clause or citing an irrelevant paragraph has fiduciary consequences.
The case study exposes how to measure retrieval-augmented generation when the output is not a single answer but a multi-page research report with dozens of citations. The plumbing questions are operational: how do you score citation relevance without ground-truth labels, what does source coverage mean when you have 2,000 files in a data room, and how do you evaluate presentation quality when the output must match a firm’s template?
The Workflow Shape
Hebbia’s Matrix ingests a data room (financial statements, customer contracts, management presentations, peer filings, industry news). A banker asks questions like “What makes revenue durable?” or “How does customer concentration compare to peers?” The system retrieves relevant chunks, synthesizes an answer, and cites the source documents. The final output is a diligence summary or valuation deck in the firm’s template.
The pipeline has three stages:
- Retrieval: Identify which documents and sections contain relevant information.
- Synthesis: Generate a coherent answer that integrates information across multiple sources.
- Presentation: Format the output to meet specific requirements (template structure, citation style, chart placement).
Each stage has a failure mode. Retrieval can miss critical sources or return irrelevant chunks. Synthesis can hallucinate facts or misattribute citations. Presentation can ignore formatting rules or place citations incorrectly.
Evaluation Metrics
Hebbia’s evaluation framework measures three dimensions:
Source Coverage
This metric counts how many required source types the system cited. In the published results, GPT-6 Astra had a 13.6 percentage-point lead over the best alternative. The operational definition matters: “required source types” implies a predefined list (e.g., financial statements, customer contracts, management presentations). The system must cite at least one document from each category.
This is not the same as counting total citations or measuring semantic diversity of retrieved chunks. It is a binary check: did the system touch all the categories a human analyst would consult? In a 2,000-file data room, missing the customer concentration section of a 10-K is a material omission.
Citation Relevance
GPT-6 Astra achieved 99.5% citation relevance in Hebbia’s tests. This means 99.5% of cited excerpts were relevant to the question. The measurement challenge is that you do not have ground-truth labels for every possible citation. Hebbia likely used human raters to score a sample of citations on a binary scale (relevant or not relevant).
The failure mode is subtle. A system can cite a document that mentions the right keyword but does not support the claim. For example, a question about customer churn might cite a contract renewal clause that does not actually indicate churn rate. The citation is topically related but not evidentially relevant.
Presentation Quality
GPT-6 Astra met 97.9% of applicable presentation requirements, a 14.4 percentage-point lead over alternatives. Presentation requirements include template structure, citation style, chart placement, and formatting rules. This is harder to measure than citation relevance because the requirements are firm-specific and often implicit.
Hebbia likely maintains a rubric of presentation rules (e.g., “Executive summary must be one page,” “Charts must have source citations,” “Valuation section must include comparable company analysis”). The system scores a pass or fail for each rule. The 97.9% figure suggests the system failed on roughly 2 out of 100 applicable rules.
Architecture Implications
The three-metric evaluation framework implies a specific architecture:
| Component | Function | Failure Mode |
|---|---|---|
| Document router | Classify documents by type (10-K, contract, presentation) | Misclassify a critical document, causing source coverage failure |
| Chunk retriever | Retrieve relevant passages for a query | Return topically related but evidentially irrelevant chunks |
| Synthesis engine | Generate coherent answer from retrieved chunks | Hallucinate facts or misattribute citations |
| Presentation formatter | Apply firm-specific template rules | Ignore formatting rules or place citations incorrectly |
| Citation validator | Check that cited excerpts support claims | Miss subtle relevance failures (e.g., keyword match without evidential support) |
The document router is critical for source coverage. If the system does not know which documents are financial statements versus customer contracts, it cannot ensure coverage across required source types. This suggests Hebbia maintains a document classifier or metadata tagging system upstream of retrieval.
The citation validator is critical for citation relevance. A 99.5% relevance rate implies an automated or human-in-the-loop check that cited excerpts actually support the claims. This is not a standard RAG component. Most systems retrieve chunks and assume relevance if the retriever scored them highly. Hebbia likely added a validation step that re-scores citations after synthesis.
Code Shape for Citation Validation
A citation validator might look like this:
def validate_citation(claim: str, cited_excerpt: str, model: LLM) -> bool:
"""
Check if cited excerpt supports the claim.
Returns True if relevant, False otherwise.
"""
prompt = f"""
Claim: {claim}
Cited excerpt: {cited_excerpt}
Does the cited excerpt provide evidence for the claim?
Answer YES or NO, then explain.
"""
response = model.generate(prompt, temperature=0)
# Parse response for YES/NO
decision = response.strip().split()[0].upper()
return decision == "YES"
# Example usage in synthesis pipeline
def synthesize_with_validation(query: str, retrieved_chunks: list, model: LLM):
draft_answer = model.generate_answer(query, retrieved_chunks)
# Extract claims and citations from draft
claims_and_citations = extract_claims_and_citations(draft_answer)
# Validate each citation
validated_citations = []
for claim, citation in claims_and_citations:
if validate_citation(claim, citation, model):
validated_citations.append((claim, citation))
else:
# Log failure, request re-retrieval, or remove citation
log_citation_failure(claim, citation)
# Regenerate answer with only validated citations
final_answer = regenerate_with_citations(query, validated_citations, model)
return final_answer
This adds latency (one LLM call per citation) but catches relevance failures before the answer reaches the user. The 99.5% relevance rate suggests Hebbia either runs this validation step or uses a fine-tuned model that rarely produces irrelevant citations.
Presentation Quality as a Constraint
The 97.9% presentation quality metric suggests the system treats formatting rules as hard constraints, not soft preferences. This likely means a rule engine or template validator runs after synthesis:
- Generate draft answer with citations.
- Apply firm-specific template (e.g., insert executive summary, valuation section, comparable company analysis).
- Check each presentation requirement (e.g., “Executive summary must be one page”).
- If a requirement fails, regenerate the relevant section or flag for human review.
The 14.4 percentage-point lead over alternatives suggests competing models struggle with multi-step formatting constraints. This is a known weakness of LLMs: they can generate fluent text but often ignore structural requirements like page limits or section ordering.
Trade-offs and Risks
| Dimension | Trade-off | Risk |
|---|---|---|
| Source coverage | Ensures all required document types are cited | May retrieve irrelevant documents just to meet coverage quota |
| Citation relevance | High precision reduces hallucination risk | Validation step adds latency and cost (one LLM call per citation) |
| Presentation quality | Enforces firm-specific formatting rules | Rigid templates may not fit all research questions |
| Human-in-the-loop | Allows manual review of flagged citations | Slows workflow, reduces automation value |
The biggest risk is that optimizing for these three metrics creates a system that is technically correct but operationally slow. If citation validation adds 10 seconds per citation and a typical report has 50 citations, that is 8 minutes of latency. Financial analysts may prefer a faster system with 95% citation relevance over a slower system with 99.5% relevance.
The second risk is that source coverage becomes a box-checking exercise. If the system retrieves one irrelevant document from each required category just to meet the coverage metric, it has not actually improved research quality. The metric needs to be paired with a relevance check: did the system cite the right documents from each category?
Observability Needs
To run this system in production, you need visibility into:
- Retrieval latency by document type: Are financial statements slower to retrieve than contracts?
- Citation validation failure rate: Which types of claims most often fail validation?
- Presentation rule violations: Which formatting rules are most often broken?
- Human override rate: How often do analysts manually edit or reject the system’s output?
The human override rate is the most important metric. If analysts edit 80% of generated reports, the system is not saving time. If they edit 10%, the system is a productivity win.
Technical Verdict
Use Hebbia’s evaluation framework when:
- You are building a RAG system for high-stakes domains (financial research, legal discovery, medical diagnosis).
- Your output is a multi-page document with dozens of citations, not a single answer.
- You need to prove to regulators or auditors that your system does not hallucinate or miss material information.
Avoid this approach when:
- You need low-latency responses (citation validation adds seconds per citation).
- Your users prefer speed over precision (95% relevance may be good enough).
- Your output format is flexible (no firm-specific templates to enforce).
The three-metric framework (source coverage, citation relevance, presentation quality) is a useful starting point for any RAG evaluation in a regulated domain. The key insight is that you cannot measure RAG quality with a single accuracy number. You need separate metrics for retrieval completeness, synthesis correctness, and formatting compliance.