Papers › RMLR: Extending Multinomial Logistic Regression into General Geometries

RMLR: Extending Multinomial Logistic Regression into General Geometries

28 Sep 2024arXiv:2409.19433archive 2025-07-28

Ziheng Chen, Yue Song, Rui Wang, XiaoJun Wu, Nicu Sebe

Riemannian neural networks, which extend deep learning techniques to Riemannian spaces, have gained significant attention in machine learning. To better classify the manifold-valued features, researchers have started extending Euclidean multinomial logistic regression (MLR) into Riemannian manifolds. However, existing approaches suffer from limited applicability due to their strong reliance on specific geometric properties. This paper proposes a framework for designing Riemannian MLR over general geometries, referred to as RMLR. Our framework only requires minimal geometric properties, thus exhibiting broad applicability and enabling its use with a wide range of geometries. Specifically, we showcase our framework on the Symmetric Positive Definite (SPD) manifold and special orthogonal group, i.e., the set of rotation matrices. On the SPD manifold, we develop five families of SPD MLRs under five types of power-deformed metrics. On rotation matrices we propose Lie MLR based on the popular bi-invariant metric. Extensive experiments on different Riemannian backbone networks validate the effectiveness of our framework.

PaperPDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 37 code samples harvested from 2 repositories linked to this paper: 23 ran (of which 8 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 8 violated, 11 with no contract checked; 4 where Syntology's instrument failed) · 14 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 34 samples from 1 repository, 21 ran (18 with no instrument failure; 3 where Syntology's instrument failed); community (archive-listed): 3 samples from 1 repository, 2 ran (1 with no instrument failure; 1 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 23 samples that ran has no recorded date.

gitzh-chen/rmlr officialmentioned in papermentioned on GitHubpytorchSyntology: 34 samples, 21 ran (3 instrument-failed) · 13 unverified report
gitzh-chen/spdmlr mentioned on GitHubpytorchSyntology: 3 samples, 2 ran (1 instrument-failed) · 1 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

37 samples harvested: 23 ran (of which 8 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 8 violated, 11 with no contract checked; 4 where Syntology's instrument failed) · 14 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

8ran · violated contract
2ran · our draft was wrong
2ran; the contract check could not run
11ran
14unverified

Licence: 37 of the 37 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

gitzh-chen/rmlr official repository 34 samples, 21 ran (3 instrument-failed) · 13 unverified
Ly_backward RieNets/spdnets/SPDMLR.py ran · violated contract fingerprinted no licence file found · pointer only · b685d03e9300ef7f · report fixture: signature X:Tensor/3/float, U:Tensor/3/float, L:Tensor/3/float, dx:Tensor/3/float · returned tuple · level recorded 2026-09-22
Ly_forward RieNets/spdnets/SPDMLR.py ran · violated contract no licence file found · pointer only · 17ad5f969dfcd38d · report fixture: signature B:Tensor/3/float, C:Tensor/3/float · returned tuple · level recorded 2026-09-22
Lyapunov_eig_solver RieNets/spdnets/SPDMLR.py ran no licence file found · pointer only · 8955a60cff817da6 · report fixture: returned Lyapunov_eig_solver · level recorded 2026-09-22
SPDLogCholeskyMetric RieNets/spdnets/SPDMLR.py ran · metamorphic tier: deterministic no licence file found · pointer only · 1b201b0f84408e97 · report fixture: returned SPDLogCholeskyMetric · level recorded 2026-09-22
SPDMatrices RieNets/spdnets/SPDMLR.py ran · metamorphic tier: deterministic no licence file found · pointer only · b08c6cb7d710f97a · report fixture: returned SPDMatrices · level recorded 2026-09-22
broadcast_dims RieNets/spdnets/functionals.py ran no licence file found · pointer only · 943ae75cff49f97d · report fixture: signature A:Size/1/int, B:Size/1/int, raise_error:bool/0/bool · returned tuple · level recorded 2026-09-24
ensure_sym RieNets/spdnets/SPDMLR.py ran · violated contract no licence file found · pointer only · 58a1c96ea5709535 · report fixture: signature A:Tensor/3/float · returned Tensor · level recorded 2026-09-22
extract_spd_points Visualization/spd_vis.py ran fingerprinted no licence file found · pointer only · 9d43ca3b773f838e · report fixture: signature metric_data:Tensor/2/float, ith:int/0/int · returned tuple · level recorded 2026-09-24
first_dirivative RieNets/spdnets/SPDMLR.py ran · violated contract no licence file found · pointer only · 55e2f39997868485 · report fixture: signature U:Tensor/3/float, L:Tensor/3/float, V:Tensor/3/float · returned Tensor · level recorded 2026-09-22
hook_fn in 9 papers Geometry/rotation/SO3.py ran · our draft was wrong no licence file found · pointer only · 8332dd28abfb658f · report fixture: signature name:str/0/str · returned function · level recorded 2026-09-24
inner_product in 6 papers RieNets/spdnets/SPDMLR.py ran · violated contract fingerprinted no licence file found · pointer only · 5728d6664d427e10 · report fixture: signature A:Tensor/3/float, B:Tensor/3/float · returned Tensor · level recorded 2026-09-22
sum_bcastdims RieNets/spdnets/functionals.py ran; the contract check could not run (RAISES) no licence file found · pointer only · 1e2aa95942f11e42 · report fixture: signature A:Tensor/3/float, shape_out:Size/1/int · returned Tensor · level recorded 2026-09-24
sym RieNets/spdnets/SPDMLR.py ran · violated contract no licence file found · pointer only · b9f7b1bbe535ddb1 · report fixture: signature A:Tensor/3/float · returned Tensor · level recorded 2026-09-22
sym_Glogm RieNets/spdnets/SPDMLR.py ran no licence file found · pointer only · 8ce0a1479a768981 · report fixture: returned sym_Glogm · level recorded 2026-09-22
sym_invm RieNets/spdnets/SPDMLR.py ran no licence file found · pointer only · dfc0457760a0a3f8 · report fixture: returned sym_invm · level recorded 2026-09-22
sym_logm RieNets/spdnets/SPDMLR.py ran no licence file found · pointer only · 05b90d79a55f6b32 · report fixture: returned sym_logm · level recorded 2026-09-22
sym_powm RieNets/spdnets/SPDMLR.py ran no licence file found · pointer only · 548afce0eafb284b · report fixture: returned sym_powm · level recorded 2026-09-22
sym_sqrtm RieNets/spdnets/SPDMLR.py ran no licence file found · pointer only · 75b128e80c398fec · report fixture: returned sym_sqrtm · level recorded 2026-09-22
symmetrize_by_tril RieNets/spdnets/SPDMLR.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 19b6f5f119dbb100 · report fixture: signature A:Tensor/3/float · returned Tensor · level recorded, date not recorded
trace in 6 papers RieNets/spdnets/SPDMLR.py ran · violated contract fingerprinted no licence file found · pointer only · 9df6a971538219c1 · report fixture: signature A:Tensor/3/float · returned Tensor · level recorded 2026-09-22
tril_half_diag RieNets/spdnets/SPDMLR.py ran · violated contract no licence file found · pointer only · 5b50ea2df4c1be14 · report fixture: signature A:Tensor/3/float · returned Tensor · level recorded 2026-09-22
SPDAdaptiveLogEuclideanMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 1cf2a0e443517df6 · report
SPDAffineInvariantMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 70b19fe4fb4a2872 · report
SPDBuresWassersteinCholeskyMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 87c6667196c1708c · report
SPDBuresWassersteinMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · d5ecb8bcf9802de6 · report
SPDEuclideanMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · c224458df3469ca8 · report
SPDLogEuclideanMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 7ff5ce3c76bc813b · report
SPDOnInvariantMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 9c4bba46fe4250ed · report
SPDPowerCholeskyMetric RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · e3768aacb6f4bfbe · report
SPDRMLR RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 81a05cff1c3d369f · report
init_3Didentity RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 289c8ac1f50df06c · report
init_matrix_uniform RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · 979132af38bb5d2d · report
optimzer RieNets/utils/utils.py unverified no licence file found · pointer only · 1ff6e1af2868fc7a · report
sym_modeig RieNets/spdnets/SPDMLR.py unverified no licence file found · pointer only · f5743a38a5a76f01 · report
gitzh-chen/spdmlr community (archive-listed) 3 samples, 2 ran (1 instrument-failed) · 1 unverified
roll in 10 papers spdnets/cplx/functional.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · bddd9f00eeb35219 · report fixture: signature X:Tensor/4/float · returned Tensor · level recorded 2026-09-24
split_signal_cplx spdnets/cplx/functional.py ran no licence file found · pointer only · 5a5a38be086e0b89 · report fixture: signature X:Tensor/2/float, conv_re:callable/0/?, conv_im:callable/0/? · returned Tensor · level recorded 2026-09-24
conv_cplx spdnets/cplx/functional.py unverified no licence file found · pointer only · 1f62c02f6b6325df · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for RMLR (graph method: RMLR). 29 bricks; individually on a fixture: 17 ran (of which 8 constructed an object rather than computing a result; 16 with no instrument failure: 0 honoured, 8 violated, 8 with no contract checked; 1 where Syntology's instrument failed) · 12 unverified. The assembly has not been run end-to-end.

  1. SPDRMLR entry · level 0 · unverified · 81a05cff1c3d369f
  2. SPDAdaptiveLogEuclideanMetric helper · level 0 · unverified · 1cf2a0e443517df6
  3. SPDAffineInvariantMetric metric · level 0 · unverified · 70b19fe4fb4a2872
  4. SPDBuresWassersteinCholeskyMetric metric · level 0 · unverified · 87c6667196c1708c
  5. SPDBuresWassersteinMetric metric · level 0 · unverified · d5ecb8bcf9802de6
  6. SPDEuclideanMetric metric · level 0 · unverified · c224458df3469ca8
  7. SPDLogCholeskyMetric metric · level 1 · ran · 1b201b0f84408e97
  8. SPDLogEuclideanMetric metric · level 0 · unverified · 7ff5ce3c76bc813b
  9. SPDPowerCholeskyMetric metric · level 0 · unverified · e3768aacb6f4bfbe
  10. init_3Didentity helper · level 0 · unverified · 289c8ac1f50df06c
  11. init_matrix_uniform helper · level 0 · unverified · 979132af38bb5d2d
  12. symmetrize_by_tril helper · level 1 · ran · our draft was wrong · 19b6f5f119dbb100
  13. SPDOnInvariantMetric helper · level 0 · unverified · 9c4bba46fe4250ed
  14. sym_Glogm helper · level 1 · ran · 8ce0a1479a768981
  15. sym_logm helper · level 1 · ran · 05b90d79a55f6b32
  16. SPDMatrices helper · level 1 · ran · b08c6cb7d710f97a
  17. inner_product helper · level 1 · ran · violated contract · 5728d6664d427e10
  18. Lyapunov_eig_solver helper · level 1 · ran · 8955a60cff817da6
  19. sym_invm helper · level 1 · ran · dfc0457760a0a3f8
  20. sym_powm helper · level 1 · ran · 548afce0eafb284b
  21. sym_sqrtm helper · level 1 · ran · 75b128e80c398fec
  22. tril_half_diag helper · level 1 · ran · violated contract · 5b50ea2df4c1be14
  23. trace helper · level 1 · ran · violated contract · 9df6a971538219c1
  24. sym_modeig helper · level 0 · unverified · f5743a38a5a76f01
  25. Ly_backward helper · level 1 · ran · violated contract · b685d03e9300ef7f
  26. Ly_forward helper · level 1 · ran · violated contract · 17ad5f969dfcd38d
  27. ensure_sym helper · level 1 · ran · violated contract · 58a1c96ea5709535
  28. first_dirivative helper · level 1 · ran · violated contract · 55e2f39997868485
  29. sym helper · level 1 · ran · violated contract · b9f7b1bbe535ddb1

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2409.19433") returns these assemblies with each brick's role and wiring (how to connect).

Tasks

regression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionLogistic RegressionSETSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections