LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
128 lines
8.2 KiB
Markdown
128 lines
8.2 KiB
Markdown
# Plan A (knowledge graphs): Certain, possible, wrong
|
|
|
|
**Working title:** Certain, possible, wrong: question answering over a multi-source scholarly knowledge
|
|
graph with uncertain identity links
|
|
|
|
**Target venues:** ISWC or ESWC (research or resources track), CIKM, K-CAP. Journal extension: Semantic
|
|
Web Journal or TGDK.
|
|
|
|
## The problem in one paragraph
|
|
|
|
The INSE graph joins researchers to patents, companies, news and projects. Only some of those joins
|
|
are observed (authorship, ORCID-verified DFG roles, DOI-linked project output). The rest are inferred
|
|
from names, and OpenAlex's own author identities are partly over-merged. Every question that crosses
|
|
a source boundary therefore rests on links that may be wrong, and counting or ranking questions can
|
|
flip on a single false merge. Current work on LLMs and knowledge graphs either assumes a clean graph
|
|
or perturbs it at random. This thesis measures real identity error, models how it propagates into
|
|
answers, and tests whether answers can carry that uncertainty instead of hiding it.
|
|
|
|
## Gap and closest related work
|
|
|
|
- Robustness of KG-augmented LLMs is studied with random node and edge perturbations (OKGQA-P, ACL 2025,
|
|
arXiv 2410.08085; KG-RAG under incompleteness, 2025) and denoising targets LLM-extracted graphs
|
|
("Less is More", arXiv 2510.14271). Identity error is neither random nor local: it is concentrated on
|
|
common names and on hubs, and it changes aggregates.
|
|
- Database theory defines query answering under identity uncertainty (Moustafa et al., "Subgraph
|
|
pattern matching over uncertain graphs with identity linkage uncertainty", arXiv 1305.7006;
|
|
uncertainty-annotated databases, arXiv 1904.00234; combining entity resolution and query answering,
|
|
arXiv 2303.07469; provenance of result probabilities in uncertain KGs, arXiv 2108.07758). None of it
|
|
is connected to LLM-based question answering, and none is evaluated on a real multi-source graph of
|
|
this kind.
|
|
- Entity-resolution evaluation has matured (entity-centric evaluation for inventor disambiguation,
|
|
arXiv 2404.05622; OpenAlex author accuracy with an LLM-assisted benchmark, arXiv 2502.11610; LLMs for
|
|
entity matching, arXiv 2310.11244 and 2409.08185), but stops at precision and recall of the links.
|
|
What a link error costs downstream is not measured.
|
|
- A 2026 preprint names a "provenance gap" in incomplete KGQA (arXiv 2606.15833); the student should
|
|
read it first and position against it.
|
|
|
|
## Research questions
|
|
|
|
- **RQ1. How wrong are the links?** Precision, recall and calibration of four link types: author to
|
|
inventor, author to company officer, author to news mention, and OpenAlex over-merged author
|
|
profiles. Which evidence (name rarity, topic overlap between IPC classes and OpenAlex topics,
|
|
assignee match, temporal overlap, shared co-authors and co-inventors) predicts correctness?
|
|
- **RQ2. How does link error reach the answer?** For lookup, multi-hop, counting and ranking queries:
|
|
how much does the answer change per unit of link error, and does realistic error (sampled from the
|
|
RQ1 error model) behave differently from the random perturbation used in prior benchmarks?
|
|
- **RQ3. Can certain and possible answers be computed at interactive cost?** Monte Carlo sampling of
|
|
possible worlds over link confidence, giving intervals for counts and stable sets for rankings,
|
|
compared with exact computation on small subgraphs.
|
|
- **RQ4. Does exposing link confidence make LLM question answering more reliable?** Text-to-Cypher
|
|
and tool-using pipelines with and without access to confidence and provenance, including one
|
|
supervised fine-tuned model that writes confidence-aware queries and reports "confirmed" versus
|
|
"possible" results.
|
|
|
|
## Method
|
|
|
|
1. **Gold set (weeks 5 to 9).** About 550 candidate links, stratified by link type and by name
|
|
frequency so that common names are over-sampled. Two annotators label each link independently
|
|
using the evidence a human scout would check (ORCID, institutional pages, patent assignee, register
|
|
entry); disagreements are adjudicated. Report Cohen's kappa. Budget: about 60 of the 80 hours.
|
|
2. **Confidence model.** A small calibrated classifier (logistic regression and gradient boosting)
|
|
over evidence features, trained on the gold set with cross-validation; reliability diagrams and
|
|
expected calibration error. Output: a `confidence` and `method` on every inferred edge in the graph.
|
|
3. **Error model and injection toolkit.** Fit where errors occur (by name frequency, degree, source),
|
|
then generate corrupted graph variants three ways: uniformly random, degree-preserving, and
|
|
realistic (sampled from the fitted model), at error rates from 1 to 20 percent.
|
|
4. **Query set.** About 300 queries in the five types of the original outline (lookup, counting,
|
|
multi-step, summary, over time), each tagged with the link types it crosses. Gold answers come from
|
|
executing reference Cypher on a reference graph restricted to verified links.
|
|
5. **Possible-worlds answering.** Sample link sets according to confidence, execute, aggregate:
|
|
intervals for counts, inclusion probabilities for set answers, rank stability for top-k. Measure
|
|
interval coverage against the reference and the cost per query.
|
|
6. **LLM pipelines.** Four systems (schema-prompted text-to-Cypher, tool-using agent over MCP, the
|
|
same two with confidence exposed) across three models (local 8B, the fine-tuned 8B, one hosted
|
|
large model). The fine-tuned model is trained with Unsloth on graph-generated pairs whose target
|
|
queries filter or split by confidence.
|
|
|
|
## Evaluation
|
|
|
|
| Question | Measures |
|
|
|---|---|
|
|
| RQ1 | Pairwise and entity-centric precision, recall, F1 per link type; kappa; ECE and reliability diagrams; feature ablation |
|
|
| RQ2 | Answer change versus error rate per query type: exact match, Jaccard for sets, relative error for counts, Kendall tau for rankings; realistic versus random noise; with and without entity resolution (the ablation from the original outline) |
|
|
| RQ3 | Coverage of 90 percent intervals, interval width, agreement with exact computation on subgraphs up to a tractable size, latency versus number of sampled worlds |
|
|
| RQ4 | Execution accuracy; penalty-based reliability score in the style of TrustSQL; share of answers that correctly flag uncertain evidence; human rating of answer usefulness on 100 answers (remaining annotation hours); cost and latency |
|
|
|
|
Statistics: bootstrap confidence intervals everywhere, paired tests between systems, three seeds for
|
|
anything trained.
|
|
|
|
## What gets released (open sources only)
|
|
|
|
- The author-to-inventor gold set (OpenAlex and patent-office data are public) with annotation guidelines.
|
|
- The noise-injection toolkit and the possible-worlds query layer for FalkorDB.
|
|
- The query set and reference answers over the open subgraph (OpenAlex, CORDIS, patents; DFG after a
|
|
licence check). Officer and news results are reported in aggregate only.
|
|
|
|
## Schedule
|
|
|
|
| Weeks | Work |
|
|
|---|---|
|
|
| 1 to 4 | Common start; literature; annotation guidelines |
|
|
| 5 to 9 | Gold set, agreement, RQ1 numbers |
|
|
| 10 to 12 | Confidence model, edges annotated in the graph, error model |
|
|
| 13 to 15 | Query set and reference answers |
|
|
| 16 to 18 | Injection experiments (RQ2) |
|
|
| 19 to 21 | Possible-worlds answering (RQ3) |
|
|
| 22 to 24 | LLM pipelines and fine-tuned model (RQ4) |
|
|
| 25 to 26 | Writing, paper draft |
|
|
|
|
Cut order if late: drop the fine-tuned model in RQ4 first (keep prompting-only pipelines), then reduce
|
|
RQ3 to counts only. Never cut the gold set.
|
|
|
|
## Risks
|
|
|
|
- **Gold set too small for rare error types.** Mitigation: stratified sampling, and ORCID-verified
|
|
links as an additional silver standard.
|
|
- **Possible-worlds sampling too slow for aggregates over millions of edges.** Mitigation: restrict
|
|
sampling to the edges a query touches; FalkorDB executes the per-world query in milliseconds.
|
|
- **Reviewers ask for a second dataset.** Mitigation: run the injection experiments also on STaRK-MAG
|
|
(arXiv 2404.13207) or a CypherBench graph, where only synthetic error is possible; that contrast is
|
|
itself a result.
|
|
|
|
## Reading list to start from
|
|
|
|
arXiv 2410.08085, 2510.14271, 2606.15833, 1305.7006, 1904.00234, 2303.07469, 2108.07758, 2404.05622,
|
|
2502.11610, 2310.11244, 2409.08185, 2403.15879, 2506.05690. All identifiers come from a literature search
|
|
on 2026-09-17 and must be verified.
|