DRAMA: LLM-based ontology matching via multi-agent debate (Matching Agent + Critic). OAEI 2026.
675
DRAMA — so named because the Critic's persistent objections create a deliberative tension between the two agents — is an initial exploration of structured multi-agent deliberation for ontology matching and, to the best of our knowledge, the first system to combine multi-agent interaction with critique-driven revision for this task.
The architecture employs an asymmetric actor–critic design in which a tool-augmented Matching Agent proposes correspondences, while a Critic Agent raises evidence-based objections that trigger iterative revision through a structured debate loop. A progressive pipeline cascades through stages of increasing reasoning complexity, ensuring that each mechanism is applied only to correspondences matching its reasoning requirements.
The pipeline consists of four stages:
Evaluated on OAEI Anatomy and Conference tracks (GPT-5.5 matcher + Mistral Small critic, CGA top-k=5):
| Track | Precision | Recall | F1 |
|---|---|---|---|
| Anatomy | 0.944 | 0.959 | 0.951 |
| Conference (avg) | 0.647 | 0.734 | 0.688 |
The system implements the MELT HTTP Matcher Interface:
POST /match
Content-Type: multipart/form-data (file upload) or application/x-www-form-urlencoded (URL)
Parameters:
source: URL or uploaded OWL/RDF file for source ontology
target: URL or uploaded OWL/RDF file for target ontology
Response: OAEI Alignment API RDF/XML (application/rdf+xml)
Health check: GET /health
The Docker image is self-contained — PostgreSQL runs inside the container, no external database needed.
docker run --rm --publish 8080:8080 \
-e REACT_MODEL=gpt-4o \
-e REACT_PROVIDER=openai \
-e OPENAI_API_KEY=sk-... \
anny24/drama:latest
docker run --rm --publish 8080:8080 \
-e REACT_MODEL=llama3.1:70b \
-e REACT_PROVIDER=openai-compatible \
-e DDM_REACT_BASE_URL=http://host.docker.internal:11434/v1 \
anny24/drama:latest
Then send a match request:
curl -F '[email protected]' -F '[email protected]' \
http://localhost:8080/match > alignment.rdf
| Variable | Description |
|---|---|
REACT_MODEL | LLM model name (e.g. gpt-4o, gpt-4o-mini) |
REACT_PROVIDER | openai (default), openai-compatible, or sap-ai-core |
OPENAI_API_KEY | API key (when REACT_PROVIDER=openai) |
Model Requirements: Use a model with at least 32k context window and strong reasoning ability (e.g. GPT-4o, GPT-5, Mistral Large 24B+). Smaller models tend to misuse tools and produce unreliable verdicts.
| Variable | Default | Description |
|---|---|---|
CGA_TOP_K | 5 | Candidate pairs per entity |
CSA_CLASSIFIER | local-llm-qwen2.5-7b-instruct | CSA stage-2 classifier |
DDM_MAX_REVISIONS | 1 | Max Critic revision rounds |
CRITIC_MODEL | same as REACT_MODEL | Separate model for Critic agent |
DDM_REACT_BASE_URL | (none) | Custom API base URL for openai-compatible |
HF_TOKEN | (none) | HuggingFace token for model downloads |
This system participates in the OAEI 2026 Anatomy and Conference tracks. Contact: [email protected]
DRAMA uses MELT for evaluation and packaging.
docker pull anny24/drama:latest