Relationships, Language, and Trust in AI

What language models recover, what explicit structure adds, and what we can establish before relying on an answer

Posted by Melenar on November 4, 2026

Relationships, Language, and Trust in AI

The more capable AI becomes and the fewer mistakes it makes, the more we trust it and rely on it for consequential decisions. But greater accuracy does not, by itself, make the evidence more traceable. A correct answer can still leave unclear whether a relationship was stated in a source record or inferred from learned patterns. As we give AI more responsibility, that distinction matters more. Meaningful oversight requires understanding both whether a claim is right and what supports it.

A relationship tells us how things are connected. Two quantities can vary together, a river can feed a lake, and a person can authorize a decision. Each connection gives us information about the world that a description of either participant alone leaves open. The kind of connection matters. An association describes what varies together. A causal relationship makes a claim about what brings about a change. An approval records a decision by someone acting in a particular role.

We focus on a narrower question in AI. When a system encounters or produces a claim about a specific relationship, what can it recover about the connection and its source? Our unit of analysis is the relationship claim, such as Maria approved Project X. We follow claims at this scale across language, structured data, and model outputs. That lets us ask separately whether the system recovered the connection, whether explicit structure helped, and what we can establish about its evidential basis.

Choosing a scale

In The Hedgehog and the Fox, Isaiah Berlin describes two ways of making sense of the world. The hedgehog sees things through one organizing idea. The fox draws on many experiences and explanations. For our purposes, there is a related question about scale. What can we see between the smallest details and the whole picture? Isaiah Berlin, The Hedgehog and the Fox

Biology gives us an example. At the molecular scale, we can ask how a reaction happens. At the scale of a cell, we can ask what that reaction lets the cell do. At the scale of an organ, we can ask how tissues work together. Each scale makes a different question possible.

In language, tokens are the pieces a model processes, and paragraphs and documents provide context. The relationship claim gives us something specific to follow across both. We can find Maria approved Project X in a document, represent it in a graph, or test whether a model recovers it. We can also ask which version she approved and which record establishes that approval. That makes the relationship claim the unit of analysis for this study.

Biology and language at three scales, with the cell and the relationship claim highlighted.
Figure 1. Choosing a scale of investigation. The highlighted column shows an intermediate scale in each domain. The relationship claim is the unit we follow in this study.

Why Relationships

In language, relationships build meaning

The names Maria and Project A tell us who and what we are talking about. The relationship gives each a role. In Maria approved Project A, Maria made the decision and Project A was the subject of it. Maria reviewed Project A names the same person and project but describes a different action. We can also qualify the approval by saying which version it covered or whether it depended on a safety review.

Figure 2 follows that claim from an approval record through a language model. The answer preserves who approved what, while leaving out the source. If we are looking for someone to contact, Maria is a useful lead. If we are deciding whether to release funds, we need to find the approval record and check that it covers the decision at hand.

An approval record goes through a language model. The output says Maria approved Project A and leaves its source out. Two branches show using the answer to find a contact and checking the approval record before releasing funds.
Figure 2. One approval claim, two uses. The answer can point us to a contact. Releasing funds requires checking the approval record.

In structured data, relationships become queryable

When we represent relationships explicitly, a question about their meaning becomes a query over recorded data. We can ask which versions Maria approved, which approvals carried a condition, or which payments depended on an approval that was later revoked.

There are several ways to represent these connections. A relational database can keep an approval table with references to the approver, project version, and decision record. A query can join those tables to retrieve the approvals and their sources. A graph can represent the same approval as an event linked to its participants and record. A graph query can then follow a chain of relationships from a payment through an approval to the version it covers. In either form, we can ask precise questions about the connections the data actually records.

In AI, relationships can be learned and inferred

A language model learns by predicting the next token. Along the way, it can learn patterns that help it recognize the same relationship in different wording or infer a connection from clues across passages. Some patterns can be expressed geometrically in vector space, as the Word2Vec example in Figure 3 illustrates.

As Figure 2 shows, the model can tell us who approved the project while leaving out the source. A citation claim works the same way. “Paper A cites Paper B” can come from a reference list or an inference. The wording alone leaves us unable to tell which.

Four panels show next-token prediction, learned relationships, a word-vector analogy, and how a recorded citation and an inferred citation can produce the same output.
Figure 3. How language models learn and express relationships. The last panel shows how a recorded citation and an inference can lead to the same answer.

What We Measure

We study the gap from three directions. We first ask what a trained model recovers about a relationship and its recorded origin category. We then ask when explicit graph structure helps distinguish observed links from alternatives. Finally, we test whether a representation can single out a particular recorded connection. Each study has its own data, method, and result.

A workflow connects input records, AI processing, and an approval claim. Three diagnostics examine recovery, the value of structure, and traceability. A separate decision branch asks whether the task requires verified evidence.
Figure 4. A framework for measuring relationships in AI. The first two branches concern recovery and the value of explicit structure. The third points toward evidence traceability. Our current test measures one step in that direction, identifying a recorded target among plausible alternatives. The diagram also shows where verification of a supporting record would fit.

1. Recovering a relationship and its origin

Can a language model learn a relationship before it learns where the claim came from? We ran a small training experiment to find out. We trained a model from scratch on fictional claims so we could control exactly what it saw. By testing it at several points during training, we could see when it began to recover the relationships and when it could also identify their recorded source categories.

Methods

The training text described who received credit, who was offered an opportunity, and who had authority in fictional community clubs. Every claim had an assigned source category, such as a project record or a colleague’s opinion. We varied how often a claim appeared and how often its source was stated. Some claims appeared 32 times and others appeared eight times. In each group, we stated the source either every time or in one out of eight mentions.

At each checkpoint, we asked the model to complete a claim by choosing the club. We then asked it to identify the source category for the claim it had just completed. This gave us two scores: how often it got the relationship right, and how often it got both the relationship and its source category right.

Experiments and results

At 120,000 training tokens, the model correctly recovered 98.6% of frequent relationships whose source was stated only occasionally. It got both the relationship and the source category right in 11.1% of the same 144 trials. For frequent claims whose source was stated every time, joint recovery was 95.1% at the same checkpoint. With more training, the gap largely closed. By the final checkpoint, joint recovery was at least 98.6% in all four conditions.

Interpretation

In one run, the model correctly identified GardenClub as the club that gave Leon design credit. It attributed the claim to Leon himself, while the corpus attributed it to a project record. That is the distinction the experiment makes visible. A model can learn the relationship before it reliably learns what kind of source the claim came from. Checking the claim itself would still require finding and examining the record.

2. Measuring what explicit graph structure adds

Methods

One part of this work appeared at SEMANTiCS 2026 in When Knowledge Graph Relationships Still Matter. The paper asks what can be recovered from text and what improves when a representation can also learn from graph structure. In its OpenAlex case study, the same papers offer multiple kinds of connections. Two papers can cite the same references, belong to the same topic, or directly cite one another. The papers and their title and abstract text can stay the same while the relationship under investigation changes.

The study uses cosine similarity to score the same held-out paper pairs in two embedding spaces. The first comes from the text alone. The second uses GraphSAGE to reshape those text features using the observed training links. ROC AUC summarizes how well each representation ranks observed links above sampled non-links. The difference, ΔAUC = graph AUC − text AUC, shows which representation performed better under that comparison.

Experiments and results

The study repeated the comparison across relation types and publication-year slices. The table shows selected results for the Language Models / Transformers slice.

OpenAlex relationship Slice year Text AUC Graph AUC Reported ΔAUC
Shared references 2021 0.707 0.933 +0.225
Shared references 2025 0.737 0.914 +0.176
Direct citation 2021 0.883 0.626 −0.257
Shared topic 2021 0.653 1.000 +0.347
Shared topic 2025 0.591 1.000 +0.409

Selected results from the Language Models / Transformers slice. The paper reports gaps from unrounded values. The focused 2025 direct-citation comparison was excluded because the retained graph was sparse.

Shared references showed a graph advantage in both slices. Direct citation favored the text representation in the 2021 comparison. Shared topic was a calibration case because the graph already encoded topic membership. The smaller shared-reference gap in 2025 is a comparison between publication-year slices, with differences in composition and citation maturity. These results concern the evaluated representations and pair task.

This comparison gives us a way to test where explicit graph structure adds predictive value. The direct-citation result describes how the two representations ranked pairs. We can check the citation record to see which paper was actually cited.

3. Identifying the recorded connection

Methods

In ongoing work, we separate population-level ranking from identification of a particular recorded connection. For each held-out case, we rank one recorded target against 20 eligible challengers. The target is the cited paper in the citation example and the recorded approver in the synthetic example. Strict Top-1 counts a success only when the recorded target outranks every challenger. The strongest-challenger margin measures the score gap between the recorded target and its highest-scoring alternative.

In the synthetic experiment, the scorers rank candidates without access to the supporting approval records. A match can help narrow the search for the relevant record. Verifying the claim requires locating that record and checking what it establishes.

Experiments and results

Recorded target Text strict Top-1 GraphSAGE strict Top-1
Scientific citation 45.79% 32.09%
Synthetic approval, aligned descriptions 13.33% 9.33%

In the citation illustration, text ranked the recorded paper first more often than GraphSAGE, yet plausible alternatives frequently outranked it. In the synthetic approval illustration, descriptions exposed who could plausibly approve a release, while identifying the recorded approver remained difficult. The two illustrations use different data and protocols.

Low identification tells us the tested representation is a weak route to the recorded connection. Direct access to the original record may be needed. Higher identification would give us a stronger candidate to investigate.

What we have measured and what comes next

Across the three studies, we measured different properties of a relationship. In controlled training, we found that when attribution was sparse, a model recovered relationships more often than it recovered their origin categories. In OpenAlex, we measured how access to graph structure changed the ranking of candidate pairs for different types of relationships. In a separate experiment, we tested whether a representation could distinguish the exact recorded target from plausible alternatives.

These studies cover the methods we have explored so far. Making relationships queryable opens up other ways to study them. This is part of the appeal of knowledge graphs in AI. We can follow a chain of connections or compare patterns across many entities. We can also query relationships in relational databases, compare them across versions of a dataset, or test how they change when we give a model different evidence. Each approach lets us ask a different kind of question about the connections themselves.

This work has applications in AI risk assessment, AI governance, the review of complaints about AI-assisted decisions, and the design of AI agents. Looking at individual relationships can help us identify which claims need evidence, trace which decisions depend on them, and decide what an agent should verify before it acts.