Added fakordb tests
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit

This commit is contained in:
2026-11-03 13:50:10 +01:00
parent 0b19f6c6af
commit 552fa2daaf
24 changed files with 3872 additions and 3 deletions
+116
View File
@@ -0,0 +1,116 @@
# Master's thesis on the INSE knowledge graph: three research plans
Status: proposal, 2026-09-17. Supersedes the engineering-oriented outline
(`~/.claude/plans/consider-the-context-of-robust-hopcroft.md`) as the basis for choosing a topic.
Three alternative six-month theses, one per research community. Pick one; they share data and
infrastructure but differ in research question, method and evaluation.
| | Plan | Community | One-line question |
|---|---|---|---|
| A | [Certain, possible, wrong](plan-a-knowledge-graphs.md) | Knowledge graphs / Semantic Web | What does identity-link error do to answers over a multi-source graph, and can answers carry that uncertainty? |
| B | [Learning when not to answer](plan-b-nlp.md) | NLP | Can reinforcement fine-tuning make a small model reliable at text-to-Cypher, including abstaining and qualifying, in German and English? |
| C | [Does the graph find the right people?](plan-c-information-retrieval.md) | Information retrieval | Does graph evidence improve expert and industry-partner retrieval when evaluated without temporal leakage? |
## Why the original outline is no longer a research topic
The original outline had five parts: build the graph, fix identities, write a benchmark, compare
retrieval setups, fine-tune text-to-Cypher. Two things changed.
**The engineering is done.** `service/scripts/falkordb/bulk_load.py` builds the whole-university graph
in about 20 minutes: 6,176 active UDE researchers, 204,110 works, 693,487 authors, 26,246 institutions,
3,664 projects, 366 patents, 4,402 news articles, 547 companies and 10 million relationships, in 1.3 GB
of FalkorDB memory. A local LLM (LM Studio, qwen3-8b) already queries it through the FalkorDB MCP
server, and `service/scripts/falkordb/QUERIES.md` holds a tested query cookbook.
**The obvious research questions are published.** Literature check, September 2026 (from search
results and abstracts; the student must read and verify each before citing):
| Idea in the original outline | Already covered by |
|---|---|
| Fine-tune a small model for text-to-Cypher, also with RL and execution feedback | Text2Cypher (Ozsoy et al., GenAIK 2025); "Refining Text2Cypher on Small Language Model with Reinforcement Learning" (Applied Sciences 15(15):8206, 2025, GRPO); Multi-Agent GraphRAG text-to-Cypher (arXiv 2511.08274) |
| Generate training and test questions from the graph itself | CypherBench (ACL 2025); PIPE-Cypher (arXiv 2606.08481); KG2Cypher (arXiv 2606.27742); grounded KG data generation (arXiv 2606.14325) |
| Non-English text-to-Cypher | Text2Cypher Across Languages (arXiv 2506.21445; Spanish, Turkish); adapter combination (arXiv 2601.16097). German is still missing, but adding a language alone is incremental |
| Does the graph beat vector search, and on which question types | "When to use Graphs in RAG" / GraphRAG-Bench (ICLR 2026, arXiv 2506.05690); "RAG vs. GraphRAG" (arXiv 2502.11371); "Do We Still Need GraphRAG?" (arXiv 2604.09666); GraphRAG-Router (arXiv 2604.16401) |
| Agentic, multi-step graph retrieval trained with RL | Graph-R1 (arXiv 2507.21892); KG-R1 (arXiv 2509.26383) |
| Robustness of KG-augmented LLMs to a noisy graph | OKGQA-P (ACL 2025, arXiv 2410.08085); KG-RAG under incompleteness (2025); "Less is More: Denoising KGs for RAG" (arXiv 2510.14271). All use random perturbations or LLM-extracted graphs |
## What is still open, and why this project is well placed
Building and querying the `ude` graph produced five observations that the literature does not
address and that the project's data can test:
1. **The links between sources are inferred, with structured error.** Patents carry no person IDs, so
`INVENTOR_OF` rests on name matching (`match_type` institution / name / both). Company officers and
news mentions are exact name matches (`common_name_warning`, `ambiguous`). One researcher named
Thomas Kaiser matches 92 companies. OpenAlex itself over-merges profiles: a cohort profile
"Róbert Langer" carries the MIT chemist's 251 industry partners. Prior robustness work perturbs
graphs at random; nobody measures what realistic identity error does to answers.
2. **Link semantics change numbers by a factor of six.** Industry co-publications of one researcher:
61 with author-level affiliations, 10 when the affiliation must hold on the paper itself. Counting
and ranking answers are fragile in a way lookups are not.
3. **Observed and inferred edges sit side by side** (`DFG_ROLE` via ORCID is verified, `OFFICER_OF` is a
name match), and every inferred edge records its method. That is the raw material for confidence-
and provenance-aware answering, which exists in database theory (certain and possible answers,
identity-linkage uncertainty) but not in LLM-based graph question answering.
4. **A small local model fails silently.** Without the schema, qwen3-8b invented a property
(`a.institution`), got nulls, and told the user the information "is not available". Separately, the
server's 10,000-row result cap truncated a 206k-row read without any error. Neither failure is
visible to the user. Reliability (answer, qualify, or abstain) is unexplored for text-to-Cypher;
TrustSQL (arXiv 2403.15879) and GrailQAbility (ACL 2023) cover SQL and Freebase only, and
abstention-aware RL (TruthRL, arXiv 2509.25760) covers open-domain QA only.
5. **The graph has time.** Works, patents, projects and per-paper affiliations are dated up to 2026, so
"who will start working with industry" can be evaluated on events that happened after a language
model's knowledge cutoff, which is the only leakage-free way to evaluate LLM-based recommendation.
## Assets every plan can use
- The `ude` graph, loader (`bulk_load.py`, twelve idempotent phases), and query cookbook.
- Edge-level evidence: `INVENTOR_OF.match_type`, `OFFICER_OF.common_name_warning`,
`Author.hr_company_matches`, `MENTIONED_IN.ambiguous`, `DFG_ROLE.source`, `AUTHORED.institution_ids`,
`Work.primary_category` (LLM classification of 187k works).
- Existing evaluations to build on: `service/scripts/patents/data/author_patent_evaluation/` (three
experiments on author-patent matching), `llm_evaluations/news_ident_person/` (50 labelled news
articles), `analysis/career_stage/` (60 labelled researchers, 4.6% suspicious profiles),
`service/scripts/profiling/founding_potential/`, `llm_evaluations/sentence_transformer/`.
- LLM access through `inse.integrations.llm` (any OpenAI-compatible endpoint), a terminal harness that
drives an LLM through the FalkorDB MCP tools, and the e5 embedding model in the service image.
## Fixed conditions (decided 2026-09-17)
| | |
|---|---|
| Duration | 26 weeks |
| Annotation | Two annotators, about 40 hours each |
| Data release | Open sources only: OpenAlex (CC0), CORDIS, patent offices; DFG GEPRIS licence to be checked. Handelsregister and news-person links stay internal; results on them are reported in aggregate |
| Compute | One 80 GB GPU: QLoRA supervised fine-tuning and GRPO on 7 to 8B models are feasible |
| Tools | FalkorDB, Unsloth (as in the original outline) |
| Data protection | One agreed paragraph with the chair before week 3; a section in the thesis |
## How to choose
| | A: knowledge graphs | B: NLP | C: information retrieval |
|---|---|---|---|
| Core novelty | Realistic identity error, certain/possible answers, LLM pipelines that use link confidence | Reliability-aware RL for text-to-Cypher, infeasible and uncertain questions, German | Leakage-free evaluation of graph-augmented expert and partner retrieval, graph-supervised reranker |
| Main risk | Gold set quality; possible-worlds cost on aggregates | A close paper appears first; RL instability | Too few post-cutoff events; pooling depth |
| Fine-tuning share | Small (one supervised model) | Central (SFT and GRPO, several models) | Medium (reranker) |
| Annotation use | 500 to 600 identity links, answer-quality ratings | 400 question validations, German naturalness, error taxonomy | 1,500 to 2,000 relevance judgments |
| Value to INSE after the thesis | Confidence on every cross-source link, fixes the biggest data-quality problem | A local model that can be trusted in the UI | A measured answer to "should scouting use the graph" and a reusable test collection |
| Student profile | Data management, statistics, some ML | Deep learning, RL, NLP evaluation | IR evaluation, ranking, some graph ML |
| Venues | ISWC, ESWC, CIKM, K-CAP; Semantic Web Journal, TGDK | ACL / EMNLP / NAACL Findings; TrustNLP, UncertaiNLP, KnowledgeNLP, GenAIK; LREC-COLING for the dataset | SIGIR (short, resource), ECIR, CIKM, ICTIR; JCDL |
Recommendation: Plan A is the most defensible against being scooped, because it depends on data only
this project has (measured cross-source identity error), and it turns the most valuable part of the
original outline (Part 2) into the research question. Plan B is the best fit if the student wants a
model-centric thesis and the 80 GB GPU should be used fully. Plan C has the most direct product value.
Combining is possible but should be resisted: each plan fills 26 weeks. The one sensible overlap is
that Plan B may borrow Plan A's "uncertain evidence" question category, and Plan C may report
Plan A's robustness-to-identity-error as one ablation.
## Common first four weeks
1. Run INSE locally, obtain Elasticsearch read access, rebuild `ude` with `run.sh bulk --graph ude --reset`.
2. Read `service/scripts/falkordb/README.md`, `QUERIES.md`, the profiling READMEs.
3. Literature chapter skeleton from the reading list in the chosen plan; verify every citation.
4. Data-protection paragraph agreed; annotation guidelines drafted; annotators booked.
+127
View File
@@ -0,0 +1,127 @@
# 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.
+121
View File
@@ -0,0 +1,121 @@
# Plan B (NLP): Learning when not to answer
**Working title:** Learning when not to answer: reliability-aware reinforcement fine-tuning of small
language models for text-to-Cypher in German and English
**Target venues:** ACL, EMNLP or NAACL Findings; workshops TrustNLP, UncertaiNLP, KnowledgeNLP, GenAIK;
LREC-COLING for the dataset.
## The problem in one paragraph
A local model that translates questions into Cypher fails in ways the user cannot see. In this
project, an 8B model without the schema invented a property, received nulls, and reported that the
information "is not available"; a server-side result cap silently truncated a count; and a question
about a researcher named Thomas Kaiser can only be answered over 92 name-matched companies. Accuracy
on answerable questions, which is what text-to-Cypher papers report, does not capture any of this. A
deployable model must do one of three things: answer, answer with a qualification, or decline. This
thesis builds the benchmark for that behaviour and tests whether reinforcement fine-tuning with
execution-verified, penalty-aware rewards can teach it to a small model, in two languages.
## Gap and closest related work
- Text-to-Cypher fine-tuning is established, including RL: Text2Cypher (GenAIK 2025), GRPO refinement
for small models (Applied Sciences 15(15):8206, 2025), multi-agent text-to-Cypher (arXiv 2511.08274),
automatic dataset generation (CypherBench, ACL 2025; arXiv 2606.08481, 2606.27742, 2606.14325). All
evaluate answerable questions only.
- Reliability with infeasible questions exists for SQL (TrustSQL, arXiv 2403.15879, penalty-based
scoring) and for Freebase KBQA (GrailQAbility, ACL 2023; RetinaQA, ACL 2024). Not for property graphs,
not for LLM-era text-to-Cypher.
- Abstention-aware RL exists for open-domain QA (TruthRL, arXiv 2509.25760, ternary reward; KARL,
arXiv 2604.22779; TIAR, arXiv 2605.25850; search agents, arXiv 2607.10738). There the reward needs a
judge or a gold string. Text-to-Cypher has a verifiable reward by execution, and a third outcome
these papers do not have: the correct answer exists but rests on uncertain evidence.
- Multilingual text-to-Cypher covers Spanish and Turkish (arXiv 2506.21445, 2601.16097). German is
missing, and German compounds plus English entity names make it a real test, not a translation
exercise.
## Research questions
- **RQ1. Benchmark.** What kinds of questions should a text-to-Cypher model not answer plainly over a
real graph? Proposed categories: schema element missing, value missing, beyond Cypher, ambiguous
entity (common names), outside the covered time span, aggregation over inferred links, and unsafe
aggregation (result cap or timeout would truncate).
- **RQ2. Training.** Does GRPO with an execution-verified, penalty-aware reward beat supervised
fine-tuning on reliability, and how does the reward shape (binary, ternary, penalty-weighted,
with a "qualified answer" outcome) trade accuracy against over-abstention?
- **RQ3. Language.** How large is the German to English gap before and after training; does training
in one language transfer; does translated training data suffice?
- **RQ4. Generalisation.** Held-out schema regions (patents and companies unseen in training),
compositional depth, paraphrases, and transfer to public graphs (a CypherBench graph extended with
infeasible questions) so that the main results are reproducible without INSE data.
- **RQ5. What changed?** Error taxonomy before and after RL; calibration of the decision to abstain.
## Method
1. **Dataset.** Templates filled from the graph, paraphrased by a larger model, in German and
English, about 6,000 training and 1,200 test items, half answerable. Test entities and templates
never occur in training. The open subgraph (OpenAlex, CORDIS, patents) is the release version; the
full graph adds company and news questions for internal results.
2. **Human validation (80 hours).** Two annotators validate about 400 test items for correctness of
the label, category and German naturalness (kappa reported), and later classify about 300 model
errors into the taxonomy.
3. **Public counterpart.** The same infeasibility categories constructed on one CypherBench graph,
which carries no real identity uncertainty; "aggregation over inferred links" is simulated there.
4. **Models.** Qwen3-4B and 8B, Llama-3.1-8B, one Gemma model. Baselines: zero-shot and few-shot, a
hosted large model, the public Neo4j text2cypher fine-tune, RL without abstention.
5. **Training.** Unsloth QLoRA supervised fine-tuning, then GRPO. Reward from execution: result-set
equivalence for answers, category match for abstentions, a graded reward for qualified answers
(correct result plus correct flag), and a penalty c for wrong answers. Sweep c. Three seeds each.
## Evaluation
| Aspect | Measures |
|---|---|
| Answerable questions | Execution accuracy by result-set equivalence, by question type and hop count |
| Reliability | TrustSQL-style score RS(c) for c in {0, 1, 10}; abstention precision, recall and F1 per category; over-abstention rate; risk-coverage curves |
| Qualification | Share of uncertain-evidence questions answered with the correct flag; human usefulness rating on a sample |
| Calibration | ECE of the answer-or-abstain decision; selective accuracy |
| Language | German minus English gap per model and training regime; transfer matrix |
| Generalisation | Held-out schema, depth, paraphrase; transfer to the CypherBench variant |
| Cost | Tokens, latency, GPU hours per point of RS gained; data-efficiency curves |
Statistics: bootstrap intervals, McNemar between systems, three seeds, all prompts and decoding
settings released.
## What gets released
Benchmark on the open subgraph in two languages, the CypherBench extension, LoRA adapters, reward and
evaluation code.
## Schedule
| Weeks | Work |
|---|---|
| 1 to 4 | Common start; literature; category definitions |
| 5 to 9 | Dataset generation, German versions, human validation |
| 10 to 11 | Public counterpart on CypherBench |
| 12 to 14 | Baselines and supervised fine-tuning |
| 15 to 19 | GRPO, reward ablations, seeds |
| 20 to 22 | Language and generalisation experiments |
| 23 to 24 | Error taxonomy, calibration analysis |
| 25 to 26 | Writing, paper draft |
Cut order if late: drop the third and fourth base model, then the qualified-answer outcome (keep
answer versus abstain). Never cut the public counterpart; without it the NLP community cannot
reproduce the main table.
## Risks
- **A close paper appears.** The space moves fast. Mitigation: the combination of uncertain-evidence
questions, a real multi-source graph and German is hard to replicate; submit a dataset paper early.
- **RL collapses into always abstaining or never abstaining.** Known from TruthRL-style training.
Mitigation: balanced batches, penalty sweep, KL control, report the failure honestly if it persists.
- **Template artefacts.** Models learn templates rather than semantics. Mitigation: paraphrase
diversity, template-held-out test split, human-written subset of 150 questions.
## Reading list to start from
arXiv 2403.15879, 2212.10189, 2403.10849, 2509.25760, 2604.22779, 2605.25850, 2607.10738, 2506.21445,
2601.16097, 2412.18702, 2511.08274, 2606.08481, 2606.27742, 2606.14325; Applied Sciences 15(15):8206;
"Why Uncertainty Estimation Methods Fall Short in RAG" (Findings of ACL 2025). All identifiers come from
a literature search on 2026-09-17 and must be verified.
+129
View File
@@ -0,0 +1,129 @@
# Plan C (information retrieval): Does the graph find the right people?
**Working title:** Does the graph find the right people? A leakage-free evaluation of graph-augmented
expert and industry-partner retrieval for technology transfer
**Target venues:** SIGIR (short or resource paper), ECIR, CIKM, ICTIR. Alternative: JCDL.
## The problem in one paragraph
INSE exists to help scouts find the right researcher for a topic and the right partner for a
researcher. Today that is keyword and vector search over profiles. The graph adds collaboration,
projects, patents, per-paper industry affiliations and time. Whether that improves ranking is an
empirical question, and the usual way to answer it with LLM-based rankers is broken: a model that has
read the web up to 2025 already "knows" who collaborated with whom, so evaluating on past events
measures memory, not retrieval. This thesis builds a test collection with two kinds of ground truth,
human relevance judgments and events that happened after the models' knowledge cutoff, and uses it to
compare text, graph and LLM rankers, including a reranker fine-tuned on supervision derived from the
graph itself.
## Gap and closest related work
- Partner and collaboration recommendation is studied with graph learning on single sources:
university-industry recommendation on a topic-institution graph (Scientometrics, 2025), technological
partner recommendation from patents with temporal heterogeneous graphs (Information Processing and
Management, 2025), hypergraph link prediction for collaboration (2026). They use one data source,
institutions rather than people, and no LLM.
- "Can LLMs Predict Academic Collaboration?" (arXiv 2604.01379) compares topology heuristics with LLM
link prediction on co-authorship only, and temporal leakage is the open issue. Work on LLM
backtesting shows how strongly leakage inflates results (arXiv 2602.17234, 2605.03762, 2605.18843).
- STaRK-MAG (NeurIPS D&B 2024, arXiv 2404.13207) evaluates retrieval over a scholarly graph with
synthetic queries for papers, not people, and without time.
- GraphRAG versus RAG comparisons (arXiv 2506.05690, 2502.11371, 2604.09666) use text corpora and
question answering, not ranking of people with graded relevance.
- Classic expert-finding test collections (W3C, CERC, academic collections) predate LLM rankers and
multi-source graphs. There is no current collection for expert finding in a German research setting.
## Tasks
- **T1 Expert finding.** Query: a topic or need as a scout would phrase it, in German or English.
Result: ranked UDE researchers.
- **T2 Partner recommendation.** Query: a researcher. Result: ranked companies (OpenAlex institutions
of type `company`) the researcher is likely to start working with.
## Research questions
- **RQ1.** Does graph evidence improve ranking beyond text? Which evidence (co-authorship, projects,
patents, per-paper industry affiliation, recency) carries the gain, for T1 and T2 separately?
- **RQ2.** Can a small reranker fine-tuned on supervision derived from the graph (future links as
positives, topic-similar non-links as hard negatives) match a large zero-shot LLM reranker at a
fraction of the cost?
- **RQ3.** How much of an LLM ranker's quality is parametric memory? Compare events before and after
the model's knowledge cutoff, and rankings with researcher names masked.
- **RQ4.** Who benefits? Exposure of early-career versus established researchers under each ranker,
and sensitivity of rankings to identity errors (junk company institutions, over-merged profiles).
## Method
1. **Temporal split.** Freeze the graph at a cut date T (end of 2023 for training signals). Test
events after T: first-time per-paper industry affiliations (`INVOLVES` to a company with no earlier
joint work), new patents, new CORDIS and DFG project participations. A second, smaller test set uses
only events after the newest evaluated model's knowledge cutoff.
2. **Topics.** 50 to 60 T1 topics drawn from real material: CORDIS call topics, IPC class
descriptions, news themes, and needs phrased by the chair's transfer contacts, each in German and
English. T2 uses about 300 researchers with at least one post-T event.
3. **Relevance judgments (80 hours).** Pooled top-20 of all systems per T1 topic, graded 0 to 3 by two
annotators with an overlap sample for agreement: about 1,500 to 2,000 judgments at two to three
minutes each. Profiles shown to annotators come from public OpenAlex data.
4. **Systems.** BM25 and dense e5 retrieval over researcher profiles (both exist in INSE), hybrid;
graph rankers (personalised PageRank, meta-path counts, a temporal graph neural network); LLM
listwise reranker with and without a verbalised evidence subgraph; the fine-tuned reranker
(Unsloth, 4 to 8B, trained on graph-derived pairs); an agentic system using the graph through MCP
as the high-cost reference.
5. **Leakage controls.** Name masking, pre- versus post-cutoff comparison, and a check that no
retrieval document postdates T.
## Evaluation
| Aspect | Measures |
|---|---|
| T1 effectiveness | nDCG@10, MAP, Recall@100 on human judgments; German versus English queries |
| T2 effectiveness | MRR, Hits@10, nDCG@10 on post-T events; separately on post-cutoff events |
| Evidence ablation | Drop one edge type at a time; recency decay on or off |
| Fine-tuning | Reranker versus zero-shot large LLM: effectiveness, tokens, latency, GPU hours; training-size curve |
| Leakage | Performance difference pre- versus post-cutoff and masked versus unmasked, per ranker |
| Exposure and robustness | Share of top-10 exposure by career stage; rank change after removing junk institutions and suspected merged profiles |
Statistics: paired randomisation tests with Holm correction, confidence intervals by bootstrap over
topics, inter-annotator agreement (kappa, and Krippendorff's alpha for graded labels).
## What gets released
The test collection (topics in two languages, graded judgments on public OpenAlex author IDs,
post-T event lists from open sources), the temporal split protocol, reranker adapters and code.
Company-register and news evidence is used internally only.
## Schedule
| Weeks | Work |
|---|---|
| 1 to 4 | Common start; literature; temporal split and event extraction |
| 5 to 7 | Topics, annotation guidelines, text baselines |
| 8 to 11 | Graph rankers, first pooled runs |
| 12 to 15 | Relevance judgments (annotators), agreement |
| 16 to 19 | LLM rerankers and the fine-tuned reranker |
| 20 to 22 | Leakage, ablation, exposure and robustness analyses |
| 23 to 24 | Second pooling round for late systems, significance testing |
| 25 to 26 | Writing, paper draft |
Cut order if late: drop the agentic reference system, then T2's graph neural network (keep PageRank
and meta-paths). Never cut the post-cutoff test set; it is the contribution.
## Risks
- **Too few post-cutoff events.** UDE alone yields a limited number of first-time industry links per
year. Mitigation: add the other two default organisations (Bochum, Dortmund) with the same loader,
which triples the cohort at no engineering cost.
- **Pooling bias against systems added late.** Mitigation: a second pooling round in weeks 23 to 24,
and report condensed-list metrics.
- **Identity errors contaminate ground truth.** A "new industry link" may be a mis-resolved
institution. Mitigation: per-paper affiliations only (not author-level), a manual check of a sample
of test events, and junk-institution filtering documented in the thesis.
## Reading list to start from
arXiv 2404.13207, 2604.01379, 2607.04529, 2602.17234, 2605.03762, 2605.18843, 2506.05690, 2502.11371,
2604.09666; "Recommending university-industry collaboration: a topic-institution graph-based solution"
(Scientometrics, 2025); "From patents to partners" (Information Processing and Management, 2025);
"Guiding retrieval using LLM-based listwise rankers" (ECIR 2025). All identifiers come from a
literature search on 2026-09-17 and must be verified.