Skip to content

Menu

WorksMathematics

Limits of Generalized Magnitudes of Dissimilarity Spaces

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_wskq86cp. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

For a finite symmetric nonnegative dissimilarity matrix D=(dij)D=(d_{ij}) with zero diagonal, we study the high-resolution limit (t→∞t\to \infty) of 1T(e−tdij)+1\mathbf{1}^T(e^{-td_{ij}})^+\mathbf{1}. We prove that this limit always exists in the extended real line and is rational whenever finite, without weightability or invertibility assumptions. At fixed cardinality, a finite rational polyhedral fan governs rank and leading asymptotics. Consequently, only finitely many finite limits occur, and every limit admits an integer-data realization at the same cardinality. In contrast, allowing cardinality to vary, every rational pair of zero-pattern magnitude and high-resolution limit is realized using dissimilarities in {0,1,2}\{0,1,2\}; adding the level 33 permits either infinite limit with any rational zero-pattern magnitude. We also classify all limits on at most four points. Moreover, we derive an exact Schur decomposition valid under persistent singularity. Finally, it is shown that positive semidefiniteness at some positive scale is equivalent to equality of dissimilarity rows for every zero-distance pair, in which case the limit counts the zero-distance classes.

Introduction

The magnitude of a finite similarity matrix extends the counting of points by taking their similarities into account. When a weighting and a coweighting exist, magnitude is their common total; for an invertible matrix ZZ, it is 1TZ−111^{T}Z^{-1}1, where 11 denotes the all-ones vector. The Moore–Penrose extension

Mag⁡(Z)=1TZ+1\operatorname{Mag}(Z)=1^{T}Z^{+}1

is defined for any complex matrix and agrees with the classical value whenever a weighting and a coweighting exist. Chen and Vigneaux explicitly introduced this arbitrary-matrix definition [4 Definition 4.9]; Akkaya and Ünlü independently developed the extension for finite categories [2]. The categorical origins and metric theory of magnitude are developed in [8, 9], and its connections with similarity-sensitive diversity appear in [16, 10, 13].

For a finite metric space, increasing the resolution makes the similarity matrix tend to the identity, and its magnitude tends to the number of points. What remains of this counting interpretation when distinct points can have zero dissimilarity and the triangle inequality is absent? The zero relation need not be transitive. Even when the similarity matrices converge, their pseudoinverses need not do so: their behavior can depend on how the singular limit is approached [17]. The problem is therefore to distinguish the contribution of the zero pattern from that of the positive dissimilarity levels.

Section § 2 fixes the setting. We consider symmetric nonnegative matrices D=(dij)D=(d_{ij}) with zero diagonal and the family

At(D)=(e−tdij),A∞(D)=(1{dij=0}).A_t(D)=(e^{-td_{ij}}),\qquad A_{\infty}(D)=(1_{\{d_{ij}=0\}}).

The zero-pattern baseline is m0(D)=1TA∞(D)+1m_0(D)=1^{T}A_{\infty}(D)^{+}1. We call DD weightable at infinity when 1∈im⁡A∞(D)1\in\operatorname{im}A_{\infty}(D), but do not impose this condition. Our object is the high-resolution limit

χ∞(D)=lim⁡t→∞Mag⁡D(t),Mag⁡D(t)=Mag⁡(At(D)).\chi_{\infty}(D)=\lim_{t\to\infty}\operatorname{Mag}_{D}(t),\qquad\operatorname{Mag}_{D}(t)=\operatorname{Mag}(A_t(D)).

The baseline is rational, and a nonsingular zero pattern gives χ∞(D)=m0(D)\chi_\infty(D) = m_0(D). Singular zero patterns require a separate argument.

Section 3 supplies that argument without assuming weightability or eventual invertibility. Theorem 3.10 proves that χ∞(D)\chi_\infty(D) always exists in the extended real line and is rational whenever finite. Rank stabilization and Decell’s formula express the eventual profile as a quotient of exponential polynomials with integer coefficients. After equal exponents have been combined, their first nonzero terms determine the limit. The same rank analysis gives analyticity away from finitely many exceptional scales. These conclusions precede, and do not depend on, the Schur analysis below.

Section 4 asks which laws of cardinality survive. Relabelling and positive rescaling preserve the limit, and the additive Cartesian tensor gives an exact product law at every rank. Replication and gluing at a finite positive separation require greater care: their familiar laws hold under the stated weightability assumptions, while explicit counterexamples show why those assumptions matter. Weighted quotient descent and compression by automorphism orbits give further exact reductions.

Section 5 makes the arithmetic constraint uniform at fixed cardinality. Theorem 5.2 constructs a finite rational polyhedral fan on the space of nn-point data. On each relative interior CC, the generic rank is fixed and the profile is either eventually zero or has the form

Mag⁡D(t)=cCe−tℓC(D)(1+OK(e−δKt)),D∈K⋐C,\operatorname{Mag}_{D}(t) = c_C e^{-t\ell_C(D)}\left(1 + O_K\left(e^{-\delta_K t}\right)\right), \qquad D \in K \Subset C,

where cC∈Q∖{0}c_C \in\mathbb{Q} \setminus\{0\} and ℓC\ell_C is an integer linear form. The estimate is uniform on compact subsets of CC. It follows that only finitely many finite limits occur at fixed nn. Every limit realized by real data also has an integer-data realization at the same cardinality, with the same zero pattern and generic rank; explicit bounds on finite numerators and denominators are obtained as well.

Section 6 identifies the source of a correction to the baseline. Splitting the limiting matrix into its range and kernel separates a term tending to m0(D)m_0(D) from a kernel contribution. Theorem 6.11 extends this exact decomposition to persistently singular families by first projecting 1\mathbf{1} onto the current range of AtA_t. The limiting range projector is rational and is constant on each stratum of the same fan. Thus the arithmetic description of the limit is accompanied by a description of how the singular directions contribute to it.

Section 7 applies these results to small cardinalities. It classifies the limits for all nonnegative real data on at most four points and determines sharp thresholds for nonintegral limits, divergence, and strictly positive finite corrections. Exact zero-pattern enumerations through six points and enumerations on five points with dissimilarities restricted to {0,1,…,K}\{0,1,\ldots,K\} for selected positive integers K≤6K \le6 are also given.

Section 8 allows the cardinality to vary. The attainable joint range is then

{(m0(D),χ∞(D)):D finite}=Q×(Q∪{−∞,+∞}).(1)\{(m_0(D),\chi_\infty(D)) : D\text{ finite}\} = \mathbb{Q} \times\left(\mathbb{Q} \cup\{-\infty,+\infty\}\right). \tag*{(1)}

Theorem 8.6 realizes every finite pair using only {0,1,2}\{0,1,2\}, and Corollary 8.8 realizes either infinite limit with any rational baseline using {0,1,2,3}\{0,1,2,3\}. The realizations can be weightable at infinity and eventually nonsingular. The construction combines a five-point correction example, binary-pattern substitution, and the gluing law with the matrix-realization theorem of Huang, Tam, and Wu [6]; an elementary binary construction is also provided. Two distinct positive levels are necessary for any finite pair with unequal coordinates, since a finite limit for one-positive-level data must equal its baseline.

Section 9 determines when a class-count interpretation is recovered. Theorem 9.2 proves

∃t0>0: At0⪰0⟺dij=0⟹dik=djkfor all i,j,k.\exists t_0 > 0:\ A_{t_0} \succeq0 \quad\Longleftrightarrow\quad d_{ij} = 0 \Longrightarrow d_{ik} = d_{jk}\quad\text{for all } i,j,k.

These conditions also characterize positive semidefiniteness for every sufficiently large scale. They make the zero relation an equivalence relation compatible with all dissimilarities, and both m0m_0 and χ∞\chi_\infty count its classes. They do not imply positive semidefiniteness at every positive scale. Outside this class, every positive-scale similarity matrix is indefinite.

§ 10 returns to the meaning of structural zeros. Strictly positive off-diagonal data form an open dense set on which the limit is nn, so noninteger limits need not survive small positive perturbations. A joint resolution window recovers the baseline under a rank condition, whereas compactness within a stratum recovers the actual finite limit, including a nonzero correction. These distinctions clarify what the invariant records when observed zeros are retained as structural data or treated as censored positive values, as in the motivating psychophysical setting [7].

Appendix § 11 gives exact computational formulas for commensurable dissimilarities. The substitution x=e−htx=e^{-ht} reduces the exponential problem to a rational-function calculation, including the rank-deficient case. A resolvent constant-term formula provides a second method for symmetric matrices and underlies the finite enumerations.

Dissimilarity spaces and the zero-pattern baseline

Definition 2.1 (Finite symmetric dissimilarity space). A finite symmetric dissimilarity space consists of X={1,…,n}X=\{1,\ldots,n\}, n≥1n\ge1, and D=(dij)D=(d_{ij}) with dij=dji≥0d_{ij}=d_{ji}\ge0 and dii=0d_{ii}=0. No triangle inequality or separation axiom is assumed. For t≥0t\ge0, define

At=At(D)=(e−tdij)i,j=1n,Mag⁡D(t)=1TAt+1.(2)A_t=A_t(D)=(e^{-td_{ij}})_{i,j=1}^{n},\qquad\operatorname{Mag}_D(t)=\mathbf{1}^{T}A_t^{+}\mathbf{1}. \tag*{(2)}

Its zero-pattern limit is A∞=A∞(D)=(1{dij=0})A_\infty=A_\infty(D)=(\mathbf{1}_{\{d_{ij}=0\}}). Set

m0(D)=1TA∞+1.m_0(D)=\mathbf{1}^{T}A_\infty^{+}\mathbf{1}.

Call DD weightable at infinity when 1∈im⁡A∞\mathbf{1}\in\operatorname{im}A_\infty. The high-resolution limit of generalized magnitude is

χ∞(D)=lim⁡t→∞Mag⁡D(t),\chi_\infty(D)=\lim_{t\to\infty}\operatorname{Mag}_D(t),

when this limit exists in the extended real line.

The matrices AtA_t are symmetric but need not be positive semidefinite. Theorem 3.10 establishes existence of the extended limit. Weightability is invoked only where explicitly required or implied by a stated sufficient condition. The data may take arbitrary nonnegative real values; they need not be rational or commensurable.

Lemma 2.2 (Quadratic form from a solution). If M=MT∈Rn×nM=M^{T}\in\mathbb{R}^{n\times n}, b∈im⁡Mb\in\operatorname{im}M, and Mw=bMw=b, then

bTM+b=bTw.b^{T}M^{+}b=b^{T}w.

Proof. M+bM^{+}b solves Mx=bMx=b, so w−M+b∈ker⁡M=(im⁡M)⊥w-M^{+}b\in\ker M=(\operatorname{im}M)^\perp. Take its inner product with bb. □

Proposition 2.3 (Rationality of the zero-pattern baseline). For every DD, the matrix A∞+A_\infty^{+} has rational entries and m0(D)∈Qm_0(D)\in\mathbb{Q}. If DD is weightable at infinity, every solution of A∞w=1A_\infty w=\mathbf{1} satisfies m0(D)=∑iwim_0(D)=\sum_i w_i.

Proof. A rational matrix MM of rank r>0r>0 has a rational full-rank factorization M=FGM=FG, with F∈Qm×rF\in\mathbb{Q}^{m\times r} of full column rank and G∈Qr×nG\in\mathbb{Q}^{r\times n} of full row rank. Then

M+=GT(GGT)−1(FTF)−1FTM^{+}=G^{T}(GG^{T})^{-1}(F^{T}F)^{-1}F^{T}

is rational. The rank-zero case has M+=0M^{+}=0. Apply this to the integer matrix A∞A_\infty. Under weightability, use Lemma 2.2.

Proposition 2.4 (Spectral representation). If {(λk(t),vk(t))}k=1n\{(\lambda_k(t),v_k(t))\}_{k=1}^{n} is an orthonormal spectral decomposition of AtA_t, then

Mag⁡D(t)=∑λk(t)≠0∣⟨1,vk(t)⟩∣2λk(t).(3)\operatorname{Mag}_D(t)=\sum_{\lambda_k(t)\ne0}\frac{\lvert\langle\mathbf{1},v_k(t)\rangle\rvert^2}{\lambda_k(t)}. \tag*{(3)}

Proof. Insert the spectral decomposition of At+A_t^{+} into (2). □

Small eigenvalues may cause finite corrections or divergence, with cancellations possible for indefinite matrices.

Proposition 2.5 (Nonsingular zero pattern). If A∞A_{\infty} is nonsingular, then AtA_t is eventually nonsingular and

χ∞(D)=1TA∞−11=m0(D)∈Q.\chi_{\infty}(D)=\mathbf{1}^{T}A_{\infty}^{-1}\mathbf{1}=m_0(D)\in\mathbb{Q}.

Proof. Continuity of determinant and inversion gives At−1→A∞−1A_t^{-1}\to A_{\infty}^{-1}. Rationality follows from the integer entries of A∞A_{\infty}.

Rank, regularity, and asymptotics

This section does not assume weightability or eventual nonsingularity.

Exponential polynomials and generic rank

Definition 3.1 (Exponential polynomial). A finite exponential polynomial is a function f(t)=∑k=1mcke−λktf(t)=\sum_{k=1}^{m}c_ke^{-\lambda_k t} with real coefficients and exponents. Its coefficients are integer if ck∈Zc_k\in\mathbb{Z}. Equal exponents are combined before leading terms are compared.

References

  1. [1]Leiden Declaration on Artificial Intelligence and Mathematics, https://leidendeclaration.ai/, June 2026.
  2. [2]Mustafa Akkaya and Özgün Ünlü, The Euler characteristic of finite categories, Homology, Homotopy and Applications 27 (2025), no. 1, 235–250.arxiv.org/abs/2301.08966
  3. [4]Stephanie Chen and Juan Pablo Vigneaux, A formula for the categorical magnitude in terms of the Moore–Penrose pseudoinverse, Bulletin of the Belgian Mathematical Society – Simon Stevin 30 (2023), no. 3, 341–353.DOI
  4. [5]Henry P. Decell, Jr., An application of the Cayley–Hamilton theorem to generalized matrix inversion, SIAM Review 7 (1965), no. 4, 526–528.DOI
  5. [6]Liang-Hao Huang, Bit-Shun Tam, and Shu-Hui Wu, Graphs whose adjacency matrices have rank equal to the number of distinct nonzero rows, Linear Algebra and its Applications 438 (2013), no. 10, 4008–4040.DOI
  6. [7]Kyoko Kusano, Hayato Saigo, and Naotsugu Tsuchiya, Measuring the diversity of qualia: Category-theoretic indices for psychophysical experimental data, F1000Research 15 (2026), 1008.DOI
  7. [8]Tom Leinster, The Euler characteristic of a category, Documenta Mathematica 13 (2008), 21–49.arxiv.org/abs/math/0610260
  8. [9]———, The magnitude of metric spaces, Documenta Mathematica 18 (2013), 857–905.arxiv.org/abs/1012.5857
  9. [10]Tom Leinster and Christina A. Cobbold, Measuring diversity: The importance of species similarity, Ecology 93 (2012), no. 3, 477–489.
  10. [12]Diane Maclagan, Introduction to tropical algebraic geometry, arXiv:1207.1925 [math.AG], 2012.arxiv.org/abs/1207.1925
  11. [13]Mark W. Meckes, Magnitude, diversity, capacities, and dimensions of metric spaces, Potential Analysis 42 (2015), no. 2, 549–572.
  12. [15]Emily Roff and Masahiko Yoshinaga, The small-scale limit of magnitude and the one-point property, Bulletin of the London Mathematical Society 57 (2025), no. 6, 1841–1855.arxiv.org/abs/2312.14497
  13. [16]Andrew R. Solow and Stephen Polasky, Measuring biological diversity, Environmental and Ecological Statistics 1 (1994), no. 2, 95–103.
  14. [17]G. W. Stewart, On the continuity of the generalized inverse, SIAM Journal on Applied Mathematics 17 (1969), no. 1, 33–45.DOI
  15. [19]Konstantin Usevich and Simon Barthelmé, Computing asymptotic eigenvectors and eigenvalues of perturbed symmetric matrices, SIAM Journal on Matrix Analysis and Applications 47 (2026), no. 1, 429–465.arxiv.org/abs/2407.17047

AI tools statement

This work lists 3 AI tools.

  • ChatGPT sol 6 · AI tool

    Roles
    Writing — review & editing
    Verification
    self-declared at submission
  • Claude Fable · AI tool

    Roles
    Writing — review & editing
    Verification
    self-declared at submission
  • ChatGPT astra · AI tool

    Roles
    Writing — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Table 1

1 / 4

Pick where to look, or just type