From Data Room to Report: End-to-End AI Support for M&A Legal Due Diligence
Authors: Johannes R. Hübers, Daniel Uedelhoven, Manuela Bergau, Markus Beyer, Lars Weber, Tobias Riethmüller, Arkadiusz Rzepka, Tobias Schuh, Maximilian Glaß, Omer Faruk Aydin, Jens Henneberg, Thiago Bell Felix de Oliveira, Lars Hillebrand, Rafet Sifa
Organizations: Fraunhofer IAIS, Sankt Augustin, Germany · Lamarr Institute for Machine Learning and Artificial Intelligence, Bonn, Germany · GÖRG Partnerschaft von Rechtsanwälten mbB, Cologne, Germany · University of Bonn, Bonn, Germany
Legal due diligence in mergers and acquisitions requires lawyers to organize heterogeneous virtual data room documents, extract transaction-relevant information and consolidate reviewed findings into a due diligence report. We present LEXI (Legal Extraction and Intelligence), a work-in-progress system that demonstrates how large language models can support this process from document ingestion to report preparation. LEXI classifies documents under a configurable due diligence taxonomy, assigns relevant target entities, extracts predefined information with supporting passages and page-level provenance and prepares report content from reviewed findings. Structured outputs connect these stages and allow model-generated results to be passed through the workflow in a controlled form. Lawyers review and correct classifications and extractions and retain responsibility for legal assessments, recommendations, risk ratings and final report wording. Initial evaluations of the classification and extraction components provide preliminary evidence that the approach is feasible. LEXI illustrates how AI can be integrated across the legal due diligence workflow while preserving lawyer control over substantive legal judgment.
Figures & tables
Figure 1: LEXI supports the M&A due diligence workflow from an incoming VDR to report preparation. Automated stages provide structured suggestions, while lawyers control routing, factual review, legal assessment and final report editing.
Figure 2: Schematic wireframe of the intended document classification interface. The illustration shows the due diligence structure alongside predicted document types, review status and lawyer assignments; the production LEXI interface is still under iteration.
Figure 3: Schematic wireframe of the intended extraction review interface. The illustration shows source-document passages alongside extracted data points, provenance and lawyer review controls; the production LEXI interface is still under iteration.
#
Area
I
Corporate Law and Shareholder Relations
II
Operative Business
III
IT and IP
IV
Employment Law
V
Financing
VI
Real Estate
Table 1: M&A due diligence areas in the document taxonomy.
No.
Topic
Issue / Implication
Notes / Recommendations
Risk
General
Registered office and managing directors are recorded.
Confirm against the current register extract.
Low
Shareholding
Documents indicate a change in the ownership structure.
Verify transfer documentation and any required consent.
High
Additional topics continue
Figure 4: Illustrative report excerpt. The Corporate Law and Shareholder Relations section is split into entity-specific tables, while Operative Business is shown as one section-wide table. Topics and columns are defined by the legal team; the resulting entries are grounded in reviewed findings and remain editable before delivery. Sections: Corporate Law and Shareholder Relations; Operative Business. Table granularity is chosen per section. Some sections are split by entity, while others cover the target group. The content is anonymized and illustrative.
Data room 1
Data room 2
Model
Thinking
Hit@1
Hit@2
Hit@3
MRR
Labels
Hit@1
Hit@2
Hit@3
MRR
Labels
GPT-5.4
off
84.2%
98.7%
98.7%
0.914
1.37
90.4%
91.8%
91.8%
0.911
1.06
GPT-5.4
on
98.1%
98.7%
98.7%
0.984
1.14
95.2%
95.9%
95.9%
0.956
1.08
mini
off
84.2%
95.4%
96.1%
0.900
1.82
76.1%
83.6%
83.6%
0.798
1.28
mini
on
88.8%
94.7%
94.7%
0.918
1.21
95.2%
95.2%
95.2%
0.952
1.04
nano
off
66.5%
86.2%
89.5%
0.775
1.90
72.6%
79.5%
80.2%
0.763
1.37
Table 2: Classifier ranking performance with thinking disabled and enabled, evaluated against the primary ground-truth label. Each entry is the mean of two runs. Hit@ k = primary label in the top- k predictions; MRR = mean reciprocal rank; labels = mean number of labels predicted per document.
We present a fully automated multi-agent framework for corporate due diligence and market analysis in venture capital. The system runs on an event-driven orchestration architecture, combining Large Language Models (LLMs) with real-time web retrieval to synthesize unstructured data into structured investment intelligence. A central technical contribution is a programmatic extraction pipeline that reverse-engineers the frontend-to-backend communication of the Greek Business Registry (Γ.E.MH.), querying dynamic endpoints to retrieve official financial filings that are then parsed using a layout-aware OCR extractor. A structural fallback mechanism explicitly flags data absence rather than generating unverified figures, directly targeting hallucination in financial contexts. All workflow artifacts are publicly available to support replication.
Grigorios Alexandrou, Katerina Pramatari
Department of Management Science and Technology, Athens University ofMay Economics and Business (AUEB), Athens, Greece
Recent advances in Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) have significantly democratized access to legal information. Nevertheless, most existing legal assistants remain confined to multi-turn conversational QA, failing to support complex legal tasks that require systematic evidence retrieval, multi-step reasoning, and report-level synthesis. In this paper, we present LawCompass, an evidence-grounded legal assistant that navigates the transition from standard Legal QA to multi-agent deep research. LawCompass provides three task-oriented functions: Legal QA, which delivers precise, evidence-backed answers to legal questions; Professional Retrieval, which enables structured exploration of statutes and judicial cases via query rewriting; and Deep Research, which employs a multi-agent workflow to decompose complex legal tasks and synthesize comprehensive research reports. Crucially, LawCompass maintains explicit citation links across all modules, empowering users to directly verify system outputs against original legal sources. Evaluation results demonstrate that LawCompass provides a practical and scalable paradigm for transforming conversational AI into trustworthy and evidence-grounded legal research assistance.
Legal information in India remains largely inaccessible due to the complexity of legal language and the sheer volume of legal documentation involved in research and case analysis. This paper presents NyayaAI, an AI-powered legal assistant that automates and simplifies legal workflows for lawyers, law students, and general users. The system combines Large Language Models with a Retrieval-Augmented Generation pipeline grounded in a curated Indian legal knowledge base comprising constitutional provisions, statutes, case laws, and judicial precedents. A multi-agent architecture orchestrated through the Mastra TypeScript framework coordinates a main agent with specialized sub-agents handling legal research, document summarization, case law retrieval, and drafting assistance. A compliance module validates all responses before delivery. Domain classification achieved 70% precision across test samples, with RAG retrieval precision at 74% and overall response accuracy at 72%, demonstrating that structured multi-agent LLM systems can meaningfully improve legal accessibility and workflow efficiency. The code\footnote{https://github.com/B97784/NyayaAI} is made publicly available for the benefit of the research community.