Manuscript Offprint
arXiv:2608.22546Taxonomy-aware distances between scholarly topic profiles via an exact simplex embedding
Abstract
Topic profiles represent publications, authors, and other scholarly entities as probability distributions over a fixed set of topics, but flat total variation treats every pair of distinct pure-topic profiles as maximally separated and therefore ignores taxonomic proximity. From a rooted weighted taxonomy, we derive a cardinality-normalized linear operator that maps the leaf topics to points in the original probability simplex and exactly realizes a normalized lowest-common-ancestor ultrametric under total variation. The operator is doubly stochastic and positive definite; within the class of nonnegative edge-cluster Gram operators, its normalization is uniquely determined on the reduced branching tree. Applying the same invertible operator to arbitrary topic mixtures yields a nondegenerate hierarchy-aware metric that contracts flat total variation, differs from the tree-Wasserstein distance on mixtures, and can be evaluated in time and memory without forming the dense matrix. In a frozen OpenAlex taxonomy with 4,516 terminal Topics, raw dissimilarities between Topic texts showed consistent ordinal alignment with taxonomic proximity, while only 3 of 253 calibrated internal nodes required monotonic correction. Encoder choice nevertheless affected individual height estimates. The framework exactly realizes a supplied weighted hierarchy; text is used only to initialize its node heights, and distances between scholarly topic profiles are then computed in the induced geometry.
Keywords: scholarly topic profiles; hierarchical taxonomies; tree metrics; total variation distance; OpenAlex; text embeddings; science mapping
1 Introduction
Topical classification underpins many forms of scientometric analysis. Most established classification systems assign publications to one or more research fields. In traditional journal-level schemes, journals are classified in advance and their articles inherit that classification (Clarivate, n.d.), although publication-level alternatives are increasingly being developed (Waltman and van Eck, 2012; Álvarez-Llorente et al., 2025).
A common downstream representation is a topic profile: a probability vector whose coordinates quantify the association of a publication, author, organization, journal, or conference with a fixed set of topics (Schaefermeier et al., 2021). Such profiles support retrieval, portfolio analysis, and science mapping. However, under flat total variation, every pair of distinct one-hot topic profiles is maximally separated, irrespective of the taxonomy. This geometry is difficult to justify when the coordinates are leaves of a scientific knowledge hierarchy.
Distance design for scholarly profiles is an informetric measurement problem rather than merely a choice of vector norm. Previous work has compared Euclidean, barycentric, cosine-based, and similarity-adapted distances between publication portfolios (Rousseau et al., 2017). Other studies have derived distances between disciplines from collaboration patterns and evaluated similarity-to-distance transformations (Vancraeynest et al., 2024), still others have constructed patent-level exploration distances from citation-network embeddings (Choi and Yoon, 2022).
Related studies generalize citation-based similarity (Yun, 2022), fuse multiple journal-similarity layers (Baccini et al., 2022), or evaluate hierarchical and semantic representations used to construct topics and profiles (Urdiales and Guzmán, 2024; Chen et al., 2024). None of these approaches provides all of
D. Gubanov is with the Institute of Control Sciences, RAS, Moscow, Russia (dmitry.a.g@gmail.com).
A. Chkhartishvili is with the Institute of Control Sciences, RAS, Moscow, Russia (sandro_ch@mail.ru).
Preprint. This version has not been peer reviewed.
the properties required here: preservation of the probability simplex, exact recovery of a specified leaf ultrametric, injectivity on mixtures, and tree-linear distance evaluation.
We therefore seek a taxonomy-aware distance that preserves probability-valued profiles and the interpretation of total variation. The problem was motivated by the ISAND ontology for control theory and its applications (Gubanov et al., 2024), but the formulation below requires only a rooted taxonomy.
Tree metrics have classical and cut-metric representations (Deza and Laurent, 1997); hierarchy-induced similarities form a known class of positive-semidefinite kernels (Kriege et al., 2016); and tree-Wasserstein distances compare distributions by transporting mass along a tree (Le et al., 2019; Peyré and Cuturi, 2019). The closest methodological analogue is the similarity-adapted publication-vector approach, in which a publication-count vector is transformed with an externally supplied similarity matrix (Rousseau et al., 2017).
To satisfy these requirements jointly, we derive an exact probability-simplex realization of the normalized lowest-common-ancestor ultrametric. On the reduced branching tree, the cardinality normalization is unique within the nonnegative edge-cluster operator class; the resulting operator is doubly stochastic, positive definite, and invertible, and it induces a hierarchy-aware metric on mixed profiles with matrix-free evaluation in time. A frozen OpenAlex case study covering 4,516 Topics then examines raw taxonomy-text ordering, the monotonic correction required to obtain admissible heights, numerical recovery of the theoretical identities, and sensitivity to the height-estimation statistic and encoder.
2.1 From ontology to a rooted taxonomy
Following Gruber (1993), an ontology is an explicit specification of a conceptualization. Unlike a taxonomy, it may contain multiple types of concepts and relations and need not form a tree.
This work was motivated by the ISAND ontology and its profile-construction framework (Gubanov et al., 2024); however, the analysis uses only the narrower structure required by the mathematics: a hierarchical taxonomy represented as a rooted tree. OpenAlex provides a current large-scale example, organizing scholarly works into an approximately 4,500-topic, four-level hierarchy of Domains, Fields, Subfields, and Topics (Priem et al., 2022; OpenAlex, n.d.). In the frozen OpenAlex snapshot analyzed in Section 4, terminal Topics serve as profile coordinates and higher taxonomic ranks as internal categories.
2.2 Profiles of publications and authors
Let the hierarchical taxonomy be represented by a rooted tree with leaf set
The following construction, inherited from the ISAND framework (Gubanov et al., 2024), is one possible estimator of a topic profile. The distance developed in Section 3 does not depend on this particular estimator. Use the following notation:
• be the set of researchers, , and a researcher index;
• be the set of publications, , and a publication index;
- be the total number of occurrences of terms associated with leaf topic in publication , where ;
• be the authorship indicator
• be the number of authors of publication i.
The topic profile of publication i is
Provided that , the vector belongs to the standard probability simplex
For publications in which no terms from the taxonomy are detected, Eq. (1) is undefined, so a separate fallback rule is required.
Publication profiles can in turn be aggregated to define profiles of other scholarly entities. For example, the topic profile of author k can be defined from the author's publication record using fractional authorship weights:
This profile is defined when author k has at least one publication with a valid profile and a positive authorship weight. Profiles of journals, conferences, and organizations can be defined analogously.
2.3 Flat-topic baseline
Scholarly entities represented by probability vectors can be regarded as points on a standard simplex. For example, reviewer matching can compare a manuscript profile with the profiles of candidate reviewers or with profiles of their publications.
For probability vectors and , we adopt the total variation distance
It coincides with one half of the Manhattan distance on the probability simplex. Its overlap form is interpretable: topics for which is comparatively large contribute most strongly to the overlap between the two profiles. Equivalently, total variation is the 1-Wasserstein distance for the discrete ground cost that assigns unit cost to every pair of distinct topics (Le et al., 2019; Peyré and Cuturi, 2019). The flat baseline therefore explicitly assumes that all distinct topics are equally distant.
Let denote the one-hot profile concentrated on topic . Equation (3) gives
Thus two sibling leaves and two leaves whose lowest common ancestor is the root are equally distant under the flat baseline. A taxonomy-aware geometry should distinguish these cases without abandoning probability-valued profiles.
Accordingly, the construction must satisfy four desiderata: (i) preserve probability-valued profiles with leaf-indexed coordinates; (ii) recover the prescribed distances between pure leaf topics exactly; (iii) remain injective when extended linearly to mixed profiles; and (iv) permit evaluation without storing a dense matrix.
3 Taxonomy-aware topic-space construction
3.1 Formal setting
We now generalize the flat topic space by allowing a hierarchy to prescribe the distances between leaf topics. The points to be represented are the leaves of a rooted tree, and node heights determine their pairwise distances.
Let be a rooted tree with leaf set , where . Let satisfy:
-
Height normalization: , for every internal node , and for every leaf .
-
Strict height monotonicity: for each edge from parent to child , . The edge weight is .
For , define
where is the lowest common ancestor of leaves and . The objective is to associate each leaf with a probability vector such that
Under these assumptions, is an ultrametric. Indeed, among the three pairwise lowest common ancestors of any three leaves, two coincide and are ancestors of the third; because heights decrease toward the leaves, the two largest pairwise values of are equal. Moreover, if each edge is assigned length , telescoping along the two branches from shows that the weighted leaf-to-leaf path distance equals .
3.2 Simplex embedding algorithm
Index the leaves in a fixed order, for example, by a left-to-right traversal. The coordinates of are indexed in the same leaf order. For each edge , let
The following algorithm constructs the vectors directly.
Algorithm 1: Embedding the leaves of a rooted taxonomy into the probability simplex.
Input: a rooted tree , its leaf set , and a height function .
-
Initialize for every .
-
For every edge , calculate , , and . For every and every , update
- Return .
Because Algorithm 1 explicitly initializes and returns L dense vectors of length L, its running time is
and its output requires storage. A general upper bound is . After contracting unary internal nodes, , giving an worst-case bound; for a balanced reduced tree, the sum is .
3.3 Operator form and relation to hierarchy-induced kernels
Let be the indicator vector of the leaf set , and let denote the operator induced by the normalized height function , with its -th column equal to . Algorithm 1 can be written equivalently as
When the height function is fixed, we use the abbreviation . Define at the root and, for every other node ,
where is the root-to-v path. Then
Thus B is the Gram matrix of a hierarchy-induced strong kernel (Kriege et al., 2016). An associated edge-indexed feature map is given by
The columns are kernel sections evaluated on the leaves. The metric introduced below is not the canonical RKHS distance induced by this kernel; it is total variation between the transformed probability profiles.
3.4 Theoretical properties
Proofs are given in Appendix A.
Proposition 1 (Simplex preservation). For every leaf , the vector constructed by Algorithm 1 satisfies
Hence .
Theorem 2 (Exact recovery of leaf-topic distances). The vectors constructed by Algorithm 1 satisfy
for all .
Proposition 3 (Uniqueness within the edge-cluster operator class). Assume that unary internal vertices have been contracted. For coefficients , let
If every column belongs to and
then for every edge . Hence the normalization in Eq. (6) is unique within this class. This statement does not assert uniqueness among all possible simplex embeddings.
Remark 1 (Unary taxonomic levels). The reduction used in Proposition 3 is an identifiability device, not a requirement to discard semantically meaningful taxonomic levels. Suppose that a unary vertex v lies between p and c, and that both edges subtend the same terminal-leaf set S, with indicator vector u. For any strictly intermediate height ,
Consequently, reinserting v does not change , any distance between terminal topics, or the induced metric on leaf-supported mixed profiles. Evidence from terminal pairs does not identify how the total height drop is allocated between the two unary edges. That allocation matters only when internal nodes themselves are treated as geometric points.
Proposition 4 (Stochasticity, positive definiteness, and invertibility). Let be the matrix whose k-th column is . Then B is nonnegative, symmetric, doubly stochastic, and positive definite. Consequently, B is invertible and its columns form a basis of .
3.5 Worked example
Consider the seven-node tree in Fig. 1, four of whose nodes are leaves. The tree and its node heights determine the pairwise leaf distances shown in Table 1.

Figure 1: Example of a rooted tree with specified node heights
Algorithm 1 yields
Each vector lies in the probability simplex; together, the four vectors are linearly independent and realize the pairwise total variation distances in Table 1.
Table 1: Pairwise distances determined by the tree in Fig. 1
| 0 | 0.6 | 1 | 1 | |
| 0.6 | 0 | 1 | 1 | |
| 1 | 1 | 0 | 0.2 | |
| 1 | 1 | 0.2 | 0 |
3.6 Metric for mixed topic profiles
Let be the original topic profile of a scholarly entity. The hierarchy-adjusted image of in the same leaf-indexed coordinate system is
Because the columns of are probability vectors, . The original profile contains the observed Topic shares, whereas is used only to compute distances. Because is invertible, can be recovered exactly from . For profiles , define
When is the identity, Eq. (8) reduces to flat total variation. The metric is one particular linear extension of the prescribed pure-topic distances; the leaf ultrametric alone does not determine a unique metric on mixtures. It is a metric on the profile simplex and a pseudometric on scholarly entities whenever distinct entities may share the same profile.
Corollary 5 (Metricity and contraction). The function defined in Eq. (8) is a metric on . Moreover,
Proof. Nonnegativity and symmetry follow from the norm. Proposition 4 implies that is invertible, so if and only if . Finally,
which establishes the triangle inequality.
For a matrix , write for the induced operator norm. Because is nonnegative and each column sums to one, . Hence
Conversely,
which proves Eq. (9).
Like flat total variation, permits a coordinate-level interpretation of overlap. Let and . Coordinates for which is comparatively large contribute most strongly to the transformed overlap. Because the transformation redistributes mass among related leaves, these coordinates should be interpreted relative to the taxonomy and the matrix , rather than as unchanged flat-topic weights.
Proposition 4 gives an additional interpretation. Under the column convention , the matrix B is a symmetric doubly stochastic Markov operator, and the uniform distribution is stationary. It redistributes each original profile toward hierarchically related leaves, which explains the contraction in Eq. (9). Invertibility ensures that this transformation does not identify distinct profiles.
3.7 Matrix-free evaluation
The dense matrix B in Eq. (6) is not needed to evaluate a single distance. Put and, for every edge e, compute the signed subtree mass
A bottom-up traversal computes all . Equation (6) then gives
The right-hand side can be evaluated for all leaves in a single top-down traversal: when edge is crossed, add to the value inherited from . Finally,
Thus each pair of dense input profiles can be compared in time using working memory, once the edge weights and subtree sizes have been stored. This removes the dense-matrix storage bottleneck for large topic taxonomies.
3.8 Relationship to tree-Wasserstein distance
The proposed metric and tree-Wasserstein distance use the same edge-height differences to recover the prescribed pure-leaf geometry, but aggregate mixed-profile mass differences differently. Let and be probability measures supported on the leaf set. Assign every edge the transport length , so that the path length between two leaves equals their prescribed distance . For , the standard tree formula is (Le et al., 2019; Peyré and Cuturi, 2019)
Proposition 6 (Comparison with tree-Wasserstein distance). For all ,
The two distances agree whenever x and y are pure leaf profiles, but they need not agree for mixed profiles.
Proof. Using Eq. (11) and the triangle inequality,
For pure profiles, Theorem 2 and the choice give the same leaf-to-leaf path distance . Strict inequality is demonstrated below.
To illustrate strict inequality with three leaves, let the root , with , have children and ; let , and let have leaf children . Then
For and , direct calculation gives , whereas Eq. (12) gives . The difference arises because signed contributions from nested clusters can cancel within a transformed coordinate before the absolute value is taken; tree-Wasserstein takes absolute values at the edge level. Thus the proposed distance is not a reparameterization of tree-Wasserstein.
Table 2 summarizes the differences among the flat baseline, the proposed operator, and tree-Wasserstein distance.
4 OpenAlex case study: text-assisted height initialization and empirical diagnostics
The construction in Section 3 requires an admissible height function but does not estimate it. Using a frozen OpenAlex taxonomy snapshot, we evaluated three aspects of the text-assisted initialization procedure: taxonomy–text alignment before correction, the monotonic adjustment needed to obtain admissible heights, and diagnostics of numerical recovery and sensitivity. We then illustrate how the calibrated distances apply to terminal Topics, internal categories, and mixed profiles.
4.1 Taxonomy snapshot and calibration protocol
The snapshot was retrieved from the OpenAlex Topics endpoint on 13 August 2026 and contained 4 Domains, 26 Fields, 252 Subfields, and 4,516 terminal Topics (Priem et al., 2022; OpenAlex, n.d.). With an artificial common root, the full taxonomy comprised 4,799 nodes, of which 283 were internal. The terminal Topics define the coordinates of the profile simplex in Section 2.
Thirty Subfields had only one Topic child, so cross-child comparisons cannot identify their heights. We therefore estimated text-based heights using the reduced branching tree containing 253 internal nodes and 4,516 terminal Topics, while retaining a mapping to the complete source taxonomy. By Remark 1, suppressing and reinserting a unary node leaves and all distances between leaf-supported profiles unchanged; only its height, or equivalently the allocation of the total height drop along that internal path, remains unidentified.
Each terminal Topic was represented using the frozen input template
The primary encoder was the pinned 768-dimensional checkpoint
Table 2: Comparison of profile-distance constructions
| Property | Flat total variation | Proposed | Tree-Wasserstein |
|---|---|---|---|
| Taxonomy-aware | No | Yes | Yes |
| Pure-leaf geometry | Unit discrete distance | Prescribed ultrametric | The same represented as a path cost with |
| Mixed-profile construction | Direct coordinate comparison | Total variation after an invertible simplex-preserving operator | Optimal transport on tree edges |
| Representation used in distance evaluation | Original leaf-indexed profile | Transformed leaf-indexed profile | Signed subtree masses on tree edges |
| Tree-based evaluation |
sentence-transformers/paraphrase-mpnet-base-v2
revision 6cc9279c672dc57f94445ef259b28a1b736fec8f.
The Sentence-Transformer framework is described by Reimers and Gurevych (2019). For terminal Topics and , we used cosine dissimilarity
We use the term dissimilarity because Eq. (13) need not satisfy the triangle inequality.
For a branching node with child set , its raw height proposal under complete linkage was
This is a conservative node-level summary: it is the smallest local upper bound on all raw dissimilarities between Topics that belong to different child branches of . It should not be read as the raw dissimilarity of every pair whose lowest common ancestor is .
Because independently computed proposals need not respect the parent–child order, we first computed the pointwise minimal non-strict monotone majorant and then enforced strict monotonicity. With both recursions initialized at zero on the leaves,
Equation (15) is the pointwise smallest function that majorizes the raw proposals and is nondecreasing from child to parent in the original dissimilarity scale. Equation (16) additionally guarantees a positive height gap on every edge. The reported text-initialized heights were then normalized according to
where is the artificial root. Normalization preserves strict node ordering; the least-majorant property applies to on the original dissimilarity scale, before normalization.
Substituting Eq. (17) into Eq. (6) gives
Thus the simplex operator is built from the normalized height function rather than directly from the unnormalized envelope.
4.2 Intrinsic taxonomy–text alignment before correction
We evaluated the raw embeddings before applying Eqs. (15)–(17) or constructing B. For each anchor Topic, candidate comparators were partitioned into four ordered categories: , Topics in the same Subfield as the anchor; , Topics in the same Field but a different Subfield; , Topics in the same Domain but a different Field; and , Topics in a different Domain. For each adjacent contrast, 32 nearer–farther pairs were sampled with replacement for every eligible anchor. Let be the set of anchors for which both categories are nonempty, let , and let and be independent uniform draws from and . The anchor-balanced estimate was
Anchors, rather than all available Topic pairs, receive equal weight; large Subfields or Fields therefore cannot dominate the estimand merely by containing more Topics. A value of 0.5 indicates no ordering, whereas values above 0.5 indicate that the comparator nearer in the taxonomy also tends to have lower raw text dissimilarity. All three ordering scores exceeded 0.69 (Table 3). The first contrast excluded the 30 Topics in singleton Subfields because was empty for those anchors. The 95% intervals are stability intervals obtained by bootstrapping anchors for this fixed taxonomy (1,000 resamples); no exact ties occurred in the sampled comparisons.
To assess alignment simultaneously across all three levels, we used the weakest-link statistic
Embedding vectors were reassigned within ten strata defined by input-text length in characters, thereby breaking the association between embeddings and taxonomic positions while preserving the coarse length distribution. None of 1,999 stratified permutations produced a statistic at least as large as the observed value. The plus-one Monte Carlo estimate was therefore
with a 95% Clopper–Pearson interval of [0, 0.001844] for the conditional permutation exceedance probability. Under the stratified permutation null hypothesis, this result provides evidence of ordinal taxonomy–text association.
4.3 Extent of monotonic correction, numerical recovery, and sensitivity
Every unordered pair of terminal Topics was assigned to its unique lowest common ancestor. Consequently, all
pairs entered the cross-child calculations exactly once. This is complete computational coverage, not a sample of independent observations.
We decomposed the normalized upward correction into a taxonomic component and a strict-margin component:
Only four raw parent–child edges violated monotonicity, and the non-strict envelope consequently raised just 3 of the 253 calibrated internal nodes (1.19%). All three were Fields (Table 4); the median and 95th percentile of across internal nodes were both zero. The largest normalized lift was 0.143080 for Veterinary, making this node a priority for independent expert review of its calibration and semantic
Table 3: Intrinsic ordering of raw OpenAlex Topic-text dissimilarities
| Nearer versus farther categories | Eligible anchors | Comparisons | 95% stability interval | |
|---|---|---|---|---|
| Same Subfield vs. another Subfield in the same Field | 4,486 | 143,552 | 0.692857 | [0.687451, 0.697852] |
| Another Subfield in the same Field vs. another Field in the same Domain | 4,516 | 144,512 | 0.691361 | [0.686551, 0.695977] |
| Another Field in the same Domain vs. another Domain | 4,516 | 144,512 | 0.701443 | [0.696917, 0.706215] |
Table 4: Internal nodes changed by the monotone envelope
| Field | Raw height | Non-strict height | Final strict height | |
|---|---|---|---|---|
| Chemistry | 0.783742 | 0.804674 | 0.804674 | 0.020931 |
| Energy | 0.693139 | 0.717982 | 0.717983 | 0.024843 |
| Veterinary | 0.432716 | 0.575796 | 0.575797 | 0.143080 |
placement. The normalized margin introduced to enforce strict monotonicity was only . All height columns in Table 4 use the common denominator .
The resulting operator satisfied the theoretical invariants to floating-point precision. The maximum column-stochasticity residual was , and the maximum discrepancy between and on the deterministic LCA-stratified validation set was .
Two sensitivity analyses varied one modeling choice at a time. The tail variant retained MPNet but replaced each cross-child block maximum by its empirical 0.95 quantile before taking the maximum across blocks. The encoder variant retained the maximum statistic but replaced MPNet with SPECTER2 (Singh et al., 2023). Table 5 shows that the tail variant largely preserved the rank order of heights, whereas changing the encoder produced a lower rank correlation and a substantially larger maximum node-level height change.
The pair-weighted mean differences understate local sensitivity because 71.73% of Topic pairs meet at the root and therefore remain at distance 1 in every variant. Rank-specific and node-level changes are therefore more informative than the overall pair-weighted mean. With and a maximum of 0.382, the primary height estimates depend materially on encoder choice.
4.4 Interpreting the resulting distances
The calibrated tree yields three distinct types of quantities, which should not be conflated. For terminal Topics—the coordinates of the simplex—the construction gives
To make Eq. (24) concrete, we selected three terminal Topics drawn from mathematics, physics, and psychology: Algebraic Geometry and Number Theory (T10061), Quantum Mechanics and Applications (T10622), and Cognitive Functions and Memory (T13471). Table 6 contrasts the raw pairwise dissimilarities with the corresponding distances induced by the calibrated tree.
Under the calibrated tree geometry, the two Topics in the Physical Sciences Domain are closer to each other than either is to the Topic in Psychology. Their tree-induced distance, 0.943557, is the calibrated height of their lowest common ancestor rather than their raw pairwise dissimilarity; the three raw values themselves do not form a tree metric.
“Mathematics,” “Physics and Astronomy,” and “Psychology” are Field-level internal nodes rather than leaf coordinates. Write , , and for these three Fields, respectively. If internal categories are treated as vertices of the tree with edge lengths , their path distance is
Table 5: Sensitivity of the text-initialized geometry
| Variation | Spearman for heights | Max. | Pair-weighted mean | Lifted nodes |
|---|---|---|---|---|
| Within-block 0.95 quantile | ||||
| SPECTER2 encoder |
Table 6: Raw and calibrated distances for three illustrative terminal OpenAlex Topics
| Topic pair | Lowest common ancestor | Raw | Tree-induced |
|---|---|---|---|
| Algebraic Geometry and Number Theory – Quantum Mechanics and Applications | Physical Sciences | ||
| Algebraic Geometry and Number Theory – Cognitive Functions and Memory | Root | ||
| Quantum Mechanics and Applications – Cognitive Functions and Memory | Root |
The fitted heights are , , and ; Physical Sciences has height and the root has height . Hence
The Fields "Mathematics" and "Physics and Astronomy" are therefore the closest pair among these three internal categories under . These values are neither distances between publication profiles nor distances between Field centroids in the leaf simplex. For mixed profiles, is computed from the geometric image . Descriptive summaries at an OpenAlex rank should instead aggregate the original profile as
This rank aggregate is a profile summary; it does not represent the internal vertex as a geometric point.
The following three-component example shows how distances among the components affect mixed-profile distances. Let , and be three illustrative components satisfying and , giving
For
flat total variation gives for every pair, whereas Eq. (8) gives
Each pair of profiles differs by the same amount of mass, but in the first pair the difference lies between nearby components, whereas in the other two the difference crosses the root split. The value is illustrative rather than estimated from OpenAlex; the example demonstrates the behavior of the metric, not its empirical utility.
5 Discussion
The study separates two problems that should be evaluated differently: realizing a supplied hierarchical geometry on the probability simplex, and estimating the height function that specifies that geometry. The first problem is solved exactly under the assumptions of Section 3; the OpenAlex analysis addresses the second by testing a text-assisted initialization procedure.
5.1 Scientometric interpretation and applications
In scientometric applications, profile estimation and distance calibration remain distinct. The observed profile x can be obtained from any compatible topic-assignment procedure, while the taxonomy and its height function determine how differences in Topic shares across coordinates contribute to the resulting distance. Changes in the height calibration therefore alter the comparison geometry without redefining the reported Topic shares. The OpenAlex results suggest that Topic texts exhibit sufficient ordinal alignment with the taxonomy to initialize this geometry, but the encoder sensitivity shows that the numerical heights remain a modeling choice rather than a fixed property of the taxonomy.
Potential applications of the metric include publication retrieval, reviewer recommendation, portfolio comparison, and science mapping. In each application, the taxonomy and calibrated heights remain explicit model inputs, while the matrix-free algorithm permits repeated comparisons without storing a dense matrix.
5.2 Limitations and validation requirements
Several limitations remain. The model uses only the rooted-tree backbone of an ontology and therefore omits cross-cutting semantic relations. Its geometry also depends on Topic assignment, taxonomy version and granularity, text fields, encoder, linkage statistic, and normalization. Because the OpenAlex initialization uses Topic texts supplied by the same system that defines the taxonomy, the resulting calibration still requires external validation against expert similarity judgments. The study does not establish that D improves retrieval, recommendation, portfolio comparison, or science mapping. External validation should evaluate D, flat total variation, cosine- and Jensen–Shannon-based alternatives, similarity-adapted publication vectors (Rousseau et al., 2017), and tree-Wasserstein distance against expert similarity judgments and on preregistered retrieval or ranking tasks.
6 Conclusions
Flat total variation ignores the hierarchical relations among topic coordinates. We showed that, for a rooted taxonomy with an admissible height function, a cardinality-normalized operator realizes the corresponding lowest-common-ancestor ultrametric exactly within the same probability simplex. The same invertible transformation defines a hierarchy-aware metric on mixed topic profiles and admits matrix-free evaluation.
The OpenAlex case study demonstrates a practical, though model-dependent, procedure for text-assisted initialization of the height function. Accordingly, the observed topic profile remains directly interpretable, whereas calibrated heights define the comparison geometry and serve as starting values for expert calibration.
A Proofs of the theoretical results
Proof of Proposition 1. By construction,
Every term is nonnegative because decreases along each edge. Hence for all .
Fix and sum over the coordinates:
The relevant edges are precisely those on the path from the root to . The sum telescopes to
Thus .
Proof of Theorem 2. The case is immediate. Assume henceforth that , fix , and let . Write and for the edge sets on the paths from to and , respectively. Contributions from edges for which contains either both leaves or neither leaf cancel in . Hence
All terms in the first sum are nonnegative and supported in the child subtree of a containing ; all terms in the second sum have the opposite sign and are supported in the disjoint child subtree containing . There is therefore no cancellation inside the norm. Since ,
Telescoping along the two branches gives
This proves Eq. (5).
Proof of Proposition 3. Put . Because , the entries of are nonnegative. The requirement that the column lie in the simplex therefore gives, for every leaf ,
For a node , define as the -weight of a path from to any descendant leaf. This value is well defined: by Eq. (A.1), it equals one minus the common -weight of the path from the root to , independently of the chosen descendant leaf. In particular, and for every leaf.
Every internal vertex of the reduced tree has at least two children. Choose leaves and in two distinct child subtrees of an internal vertex ; then . As in the proof of Theorem 2, the two branch contributions to have disjoint supports and opposite signs. Therefore
Exact recovery gives . The same identity already holds at the leaves, where both sides are zero. Hence, for every edge ,
It follows that for all .
Proof of Proposition 4. For each edge , define the indicator vector by
The vector associated with leaf is
Therefore the matrix whose columns are these vectors has the decomposition in Eq. (6). Every coefficient and every entry of each outer product is nonnegative, so B is nonnegative. Each summand is symmetric, so B is symmetric. Proposition 1 shows that every column sums to one; symmetry then shows that every row also sums to one. Hence B is doubly stochastic.
For any nonzero ,
Every term is nonnegative because . Equality can hold only if, for every edge ,
For each leaf , the edge joining its parent to has the singleton cluster . Equation (A.3) then gives . This holds for all , contradicting . Hence is positive definite and therefore invertible. Its columns are linearly independent and form a basis of .
References
Jesús M. Álvarez-Llorente, Vicente P. Guerrero-Bote, and Félix de Moya-Anegón. New paper-by-paper classification for Scopus based on references reclassified by the origin of the papers citing them. Journal of Informetrics, 19(2):101647, 2025. doi: 10.1016/j.joi.2025.101647.
Federica Baccini, Lucio Barabesi, Alberto Baccini, Mahdi Khelfaoui, and Yves Gingras. Similarity network fusion for scholarly journals. Journal of Informetrics, 16(1):101226, 2022. doi: 10.1016/j.joi.2021.101226.
Guo Chen, Siqi Hong, Chenxin Du, Panting Wang, Zeyu Yang, and Lu Xiao. Comparing semantic representation methods for keyword analysis in bibliometric research. Journal of Informetrics, 18(3):101529, 2024. doi: 10.1016/j.joi.2024.101529.
Jaewoong Choi and Janghyeok Yoon. Measuring knowledge exploration distance at the patent level: Application of network embedding and citation analysis. Journal of Informetrics, 16(2):101286, 2022. doi: 10.1016/j.joi.2022.101286.
Clarivate. Web of Science Core Collection: Web of Science categories. https://supportcenter.clarivate.com/s/article/Web-of-Science-Core-Collection-Web-of-Science-Categories?language=en_US, n.d. Accessed 4 August 2026.
Michel Marie Deza and Monique Laurent. Geometry of Cuts and Metrics. Springer, Berlin, 1997. doi:10.1007/978-3-642-04295-9.
Thomas R. Gruber. A translation approach to portable ontology specifications. Knowledge Acquisition, 5(2):199–220, 1993. doi: 10.1006/knac.1993.1008.
Dmitry A. Gubanov, Oleg P. Kuznetsov, Evgeny A. Kurako, Daria V. Lemtyuzhnikova, Dmitry A. Novikov, and Alexander G. Chkhartishvili. ISAND: An information system for scientific activity analysis (in the field of control theory and its applications). Control Sciences, pages 35–55, 2024. doi:10.25728/cs.2024.3.4. No. 3.
Nils M. Kriege, Pierre-Louis Giscard, and Richard C. Wilson. On valid optimal assignment kernels and applications to graph classification. In Advances in Neural Information Processing Systems 29, pages 1623–1631, 2016. URL https://proceedings.neurips.cc/paper/2016/hash/0efe32849d230d7f53049ddc4a4b0c60-Abstract.html.
Tam Le, Makoto Yamada, Kenji Fukumizu, and Marco Cuturi. Tree-sliced variants of Wasserstein distances. In Advances in Neural Information Processing Systems 32, pages 12304–12315, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/2d36b5821f8affc6868b59dfc9af6c9f-Abstract.html.
OpenAlex. Topics. https://help.openalex.org/hc/en-us/articles/24736129405719-Topics, n.d. Accessed 9 August 2026.
Gabriel Peyré and Marco Cuturi. Computational optimal transport: With applications to data science. Foundations and Trends in Machine Learning, 11(5–6):355–607, 2019. doi: 10.1561/2200000073.
Jason Priem, Heather Piwowar, and Richard Orr. OpenAlex: A fully-open index of scholarly works, authors, venues, institutions, and concepts. arXiv:2205.01833, 2022.
Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, pages 3982–3992, Hong Kong, China, 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1410.
Ronald Rousseau, Raf Guns, A. I. M. Jakaria Rahman, and Tim C. E. Engels. Measuring cognitive distance between publication portfolios. Journal of Informetrics, 11(2):583–594, 2017. doi: 10.1016/j.joi.2017.03.001.
Bastian Schaefermeier, Gerd Stumme, and Tom Hanika. Topic space trajectories. Scientometrics, 126: 5759–5795, 2021. doi: 10.1007/s11192-021-03931-0.
Amanpreet Singh, Mike D'Arcy, Arman Cohan, Doug Downey, and Sergey Feldman. SciRepEval: A multi-format benchmark for scientific document representations. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 5548–5566, Singapore, 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.emnlp-main.338.
Cristina Urdiales and Eduardo Guzmán. An automatic and association-based procedure for hierarchical publication subject categorization. Journal of Informetrics, 18(1):101466, 2024. doi: 10.1016/j.joi.2023.101466.
Bram Vancraeynest, Hoang-Son Pham, and Amr Ali-Eldin. A new approach to computing the distances between research disciplines based on researcher collaborations and similarity measurement techniques. Journal of Informetrics, 18(3):101527, 2024. doi: 10.1016/j.joi.2024.101527.
Ludo Waltman and Nees Jan van Eck. A new methodology for constructing a publication-level classification system of science. Journal of the American Society for Information Science and Technology, 63(12):2378–2392, 2012. doi: 10.1002/asi.22748.
Jinhyuk Yun. Generalization of bibliographic coupling and co-citation using the node split network. Journal of Informetrics, 16(2):101291, 2022. doi: 10.1016/j.joi.2022.101291.