Concept Codes as Identities: Private, Consent-Gated Discovery of Cross-Disciplinary Collaborators

Research institutes often hold unpublished work that would connect to work in a different field, and the two sides rarely find out. The best current tool for this, Giovanna, has two neurodegeneration institutes exchange dense text embeddings and topic keywords instead of manuscripts. That is a heuristic. An embedding can be partly inverted to recover the text behind it, and nothing stops either side from learning about the other's agenda without the other side agreeing. Cryptography has a primitive suited to this kind of mutual, consent-gated contact. In identity-based matchmaking encryption, any public string serves as a public key, so a message can be encrypted to a name without a certificate. A message opens only if the receiver holds the key for the targeted string and the sender meets the receiver's policy. The catch is that the primitive matches strings exactly, while cross-disciplinary relatedness is fuzzy: a physicist and a biologist describe the same structure in different words.

This note proposes making the concept itself the identity. We learn a discrete vocabulary of "concept codes," short strings chosen so that two research descriptions from different fields share a code when they are genuinely combinable. Each institute's key authority issues private keys only for the codes its researchers actually work on. A lab then encrypts a collaboration offer to the code string itself, using the cross-domain matchmaking scheme of Wu et al.. The new part is the representation-learning problem, together with a measurement of how much discovery quality is lost when continuous similarity is forced into the exact-match form that cryptography can enforce. The cryptography is reused unchanged.

Core Claim

Cross-disciplinary partner discovery can be reduced to exact matching on a small number of learned codes per document. At a realistic budget of codes per document, this should recover most of the pairing quality of plaintext embedding similarity. Once reduced this way, any exact-match private protocol can enforce the matching. Identity-based matchmaking adds two properties that plain private matching lacks. Sender and receiver can each impose independent institutional policies issued by separate authorities. And appending a time window to the code string, for example code-4711 || 2026-Q1, gives a natural way to revoke codes and to handle concepts whose meaning drifts over time.

The claim is falsifiable on three points. Learned codes might do no better than random hashing. The gap to plaintext similarity might be too large to be useful. Or the number of codes needed might make pairing-based encryption too slow.

What Each Direction Contributes

From identity-based cryptography we take the mechanism. Cross-domain identity-based matchmaking encryption, from Cross-Domain Identity-based Matchmaking Encryption, gives separate sender and receiver authorities. Its single-receiver ciphertext is three group elements plus the message, and it reports 88.52 ms to encrypt and 46.52 ms to decrypt on a laptop. IBME-ET adds an equality test that an untrusted server can run while hiding both parties' identities, which suggests a broker-mediated variant. Both papers limit how far the design can go: they only test exact equality. That is why we do not attempt "fuzzy" encryption and instead move the fuzziness into the learned encoder. The open problems around revocation and timestamped identity strings in this literature become features in our setting, because concept vocabularies need periodic re-issue anyway.

From the research-fragmentation literature we take the problem, the data, and evidence about what works. Two findings motivate a learned, language-grounded encoder rather than a structural one. PLM-LP shows that temporal graph neural networks "struggled to identify any entirely new connections," while a language-model link predictor reached F1 0.560 on new concept edges. IDEA-CATALYST shows that rewriting a field's open problems in domain-agnostic language helps surface distant analogies. We reuse that rewriting step as a canonicalizer before encoding: if two fields' problems are restated in shared, field-neutral words, a shared code becomes more plausible. IDRBench adds a warning. Language models struggle to tell genuinely interdisciplinary pairs from routine within-field continuations. So a code that fires on topical overlap alone would flood users with false matches, and our evaluation must specifically penalize within-field matches.

Research Program

The first component is the encoder. A text embedding model, starting from the Qwen 3 Embedding 0.6B model that Giovanna fine-tuned, is followed by a product-quantization head. This head assigns each document $k$ codes drawn from a vocabulary of size $V$. We train it with a contrastive objective. Positives are cross-field paper pairs that a later paper actually combined, taken from IDRBench's triplets of one citing paper plus two cited papers from different fields, and from co-occurrence quintuples in the style of PLM-LP. Negatives are hard negatives from the same field. A straight-through estimator handles the discrete assignment. The variable that matters is the budget $k$. More codes per document raise recall but also raise the cost, since each code means one encryption per offer, and they increase what a matched party learns.

The second component is the protocol. Each institute runs its own key authority. Researchers authenticate to their authority, which issues keys for the time-stamped codes of their own work, together with policy attributes such as "accredited institute" or "consents to contact from clinical groups." An offer consists of a short abstract or a contact handle, encrypted under the code string and the sender's policy. We implement this on the JPBC setup of Wu et al. so that timings can be compared directly.

The third component is a leakage analysis. In plaintext Giovanna, each side receives the other side's embedding vectors. Under our protocol, a curious receiver learns only which of its own codes were targeted. We measure this with attribute-inference attacks that try to recover the sender's field and topic. We also run embedding-inversion attacks on the plaintext baseline. The aim is a concrete comparison of what each side learns, not just an appeal to the security proofs.

Baselines

The naive reference point is exact matching on author keywords or extracted concept strings. This is what an identity-based scheme would do today with no learned encoder. We expect it to fail across fields because of vocabulary differences, and it shows how much the encoder adds.

The upper bound is plaintext cosine similarity between fine-tuned embeddings, which is the Giovanna setup. It is the strongest competitor on quality because it discards nothing. Its fine-tuned Qwen 3 Embedding 0.6B reports Recall@1 of 0.678 and MRR@20 of 0.780 on Giovanna's own retrieval task. That task is not cross-disciplinary partner ranking, so we re-run this baseline on our splits with the same backbone, the same training pairs, and the same tuning budget. The quantity we report is the fraction of its Recall@10 and MRR that the coded system keeps.

The strongest simple competitor for the encoder is random-projection locality-sensitive hashing of the same fine-tuned embeddings at the same $k$ and $V$. This is a training-free way to produce discrete codes, and it is the baseline the learned head most needs to beat.

For context on the ranking task, IDRBench reports that language models reach an MRR of about 0.67 on its idea-recommendation task. We also report a prompted Llama-3.3-70B ranker, which was a top IDRBench performer, as a plaintext reference.

Two ablations isolate the key ingredients. One removes cross-field positives from training, using same-field positives only, to test whether the cross-disciplinary supervision is what matters. The other removes the domain-agnostic rewriting step.

The learned encoder counts as beating the baselines if it significantly exceeds LSH recall at equal $k$ and retains at least 80% of the plaintext Recall@10 at $k \le 8$. The 80% threshold is our own target; no reported result on Lacuna exists for discrete-code cross-disciplinary matching.

Why not just…?

Why not just share embeddings, as Giovanna does? Shared embeddings carry no confidentiality guarantee, as the Giovanna authors acknowledge, and they give no say to the side being discovered: whoever receives the vectors can rank everything. Our leakage experiment quantifies the difference. Inversion and attribute inference on shared vectors are compared with inference from matched-code sets alone. If attacks on embeddings turn out weak in this domain, the case for cryptography shrinks to the consent argument, and we will report that.

Why not just run private set intersection on the codes? This is a real threat. Once the encoder exists, standard private set intersection, a protocol in which two parties learn only the elements their sets share, would perform the matching step, and probably faster. We therefore treat the encoder as protocol-agnostic and benchmark both. Identity-based matchmaking earns its place only where it does something set intersection does not: independent sender and receiver policies from separate authorities, non-interactive offers to parties the sender cannot enumerate, and revocation through epochs. If the timing and deployment comparison favors set intersection with no loss in function, we will say so. The research contribution, the code-learning problem and its quality gap, survives either way.

Why not just use random hashing instead of a learned encoder? LSH is our main ablation. Random projections preserve the geometry of the embedding space, but nothing pushes cross-field pairs into the same bucket. The PLM-LP result that structure-only models miss new connections suggests learned, supervised signal matters. If LSH matches the learned encoder, we drop the learned head and the contribution becomes the measured cost-quality trade-off.

Why not just use a trusted broker running a language model over everyone's drafts? That requires all parties to trust one operator with their unpublished work, which is the institutional barrier Giovanna was built to avoid. IDRBench also shows that language models over-accept pairings and cannot reliably separate interdisciplinary from within-field work, so a broker would not even be more accurate.

Proposed Experiments

We simulate institutes as disciplines. IDRBench's 335 expert-verified triplets serve as held-out cross-field positives, and its 31,000 synthetic triplets are used for training and stress testing, with splits by time to avoid leakage. A second testbed takes PLM-LP-style concept co-occurrence edges from one discipline pair, with the 2021 first-appearance edges held out. If the Giovanna DZNE and UK DRI corpora are accessible, they provide a realistic two-institute deployment. The CHIMERA inspiration pairs from IDEA-CATALYST provide a third check on distant analogies.

The metrics are Recall@10 and MRR against held-out positives, the within-field false-match rate as an IDRBench-style awareness check, attacker accuracy in attribute inference, and wall-clock and ciphertext cost.

The first decisive check is the curve of recall against $k$ for learned codes, LSH, and keyword matching, plotted against the plaintext ceiling. The second is the cost model. Encryption time scales as roughly $k$ times 88.52 ms per offer, based on Wu et al.'s single-receiver timing. For a moderate number of codes this is roughly a second per offer, which is acceptable for occasional, high-value outreach but not for bulk scanning, and we will confirm it empirically. The third is a drift test: train codes on 2024 data, evaluate on 2025, and measure how much quarterly re-keying of codes recovers.

If the learned codes fail to beat LSH, or keep less than about half of plaintext recall, the reduction of fuzzy discovery to exact identity matching is not viable at useful budgets. That negative result would itself bound what identity-based cryptography can do for fragmented science.