Papers › Laplace Approximation for Bayesian Tensor Network Kernel Machines

Laplace Approximation for Bayesian Tensor Network Kernel Machines

29 Apr 2026arXiv:2604.26673added by Syntology

Albert Saiapin, Kim Batselier

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Uncertainty estimation is essential for robust decision-making in the presence of ambiguous or out-of-distribution inputs. Gaussian Processes (GPs) are classical kernel-based models that offer principled uncertainty quantification and perform well on small- to medium-scale datasets. Alternatively, formulating the weight space learning problem under tensor network assumptions yields scalable tensor network kernel machines. However, these assumptions break Gaussianity, complicating standard probabilistic inference. This raises a fundamental question: how can tensor network kernel machines provide principled uncertainty estimates? We propose a novel Bayesian Tensor Network Kernel Machine (LA-TNKM) that employs a (linearized) Laplace approximation for Bayesian inference. A comprehensive set of numerical experiments shows that the proposed method consistently matches or surpasses Gaussian Processes and Bayesian Neural Networks (BNNs) across diverse UCI regression benchmarks, highlighting both its effectiveness and practical relevance.

PaperPDFCode 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 38 code samples harvested from 1 repository linked to this paper: 24 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 3 honoured, 2 violated, 0 with no contract checked; 19 where Syntology's instrument failed) · 14 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; 15 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 38 samples from 1 repository, 24 ran (5 with no instrument failure; 19 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 on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

AlbMLpy/laplace-tnkm found in paper text by SyntologySyntology: 38 samples, 24 ran (19 instrument-failed) · 14 unverified report

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

38 samples harvested: 24 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 3 honoured, 2 violated, 0 with no contract checked; 19 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.

3ran · honoured contract
2ran · violated contract
4ran · our draft was wrong
15ran; the contract check could not run
14unverified

Licence: 0 of the 38 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 AlbMLpy/laplace-tnkm. “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.

AlbMLpy/laplace-tnkm found in paper text by Syntology 38 samples, 24 ran (19 instrument-failed) · 14 unverified
_get_fw_part_mtx source/models/LaplaceCPR.py ran · violated contract fingerprinted MIT (permissive) · 1d014af6dde00d50 · report fixture: signature fw_hadamard:ArrayImpl/2/float, fw_list:list/1/ArrayImpl · returned ArrayImpl · level recorded 2026-09-22
add_constant_shift source/models/LaplaceCPR.py ran · our draft was wrong MIT (permissive) · 5c513d4df9704023 · report fixture: signature fn:callable/0/?, shift:float/0/float · returned function · level recorded 2026-09-22
als_cpd source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · 219f09c62d43450f · report fixture: signature w_vec:ArrayImpl/1/float, kd:int/0/int, w_shape:tuple/1/int, x:ArrayImpl/2/float, y:ArrayImpl/1/float, fmap:callable/0/?, n_epoch:int/0/int, gamma_w:float/0/float, beta_e:float/0/float, tracker:NoneType/0/? · returned ArrayImpl · level recorded 2026-09-22
check_zero_cols source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · c331b17915f3c001 · report fixture: signature w_ten:ArrayImpl/3/float · returned ArrayImpl · level recorded 2026-09-22
cov_estimation source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · 9effe7eff2f5776f · report fixture: signature w_hess:ArrayImpl/2/float · returned tuple · level recorded 2026-09-22
ff_q2 source/models/LaplaceCPR.py ran · violated contract fingerprinted MIT (permissive) · 445fb38f62d7ba95 · report fixture: signature x:ArrayImpl/1/float, q:int/0/int, m_order:int/0/int, k_d:int/0/int, p_scale:float/0/float · returned ArrayImpl · level recorded 2026-09-22
fourier_features source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 1fe6a176eca20cb9 · report fixture: signature x:ArrayImpl/1/float, q:int/0/int, m_order:int/0/int, p_scale:float/0/float · returned ArrayImpl · level recorded 2026-09-22
hess_full source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · f8b56d1579b61d11 · report fixture: signature w_ten:ArrayImpl/3/float, kd:int/0/int, x:ArrayImpl/2/float, y:ArrayImpl/1/float, fmap:callable/0/?, gamma_w:float/0/float, beta_e:float/0/float, mode:str/0/str · returned ArrayImpl · level recorded 2026-09-22
hess_last source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · ac24265810de7fcd · report fixture: signature w_ten:ArrayImpl/3/float, kd:int/0/int, x:ArrayImpl/2/float, fmap:callable/0/?, gamma_w:float/0/float, beta_e:float/0/float · returned ArrayImpl · level recorded 2026-09-22
init_beta_e source/models/LaplaceCPR.py ran · honoured contract fingerprinted MIT (permissive) · dab8194df85ffae8 · report fixture: signature beta_e:NoneType/0/? · returned tuple · level recorded 2026-09-22
init_gamma_w source/models/LaplaceCPR.py ran · honoured contract fingerprinted MIT (permissive) · 0c4ade04bff329b6 · report fixture: signature gamma_w:NoneType/0/? · returned tuple · level recorded 2026-09-22
init_weights in 109 papers source/models/LaplaceCPR.py ran · our draft was wrong MIT (permissive) · a7c931d1505091f8 · report fixture: signature m_order:int/0/int, rank:int/0/int, d_dim:int/0/int, q_base:NoneType/0/?, init_type:NoneType/0/?, seed:int/0/int, dtype:callable/0/? · returned tuple · level recorded 2026-09-22
khatri_rao_row source/models/LaplaceCPR.py ran · honoured contract fingerprinted MIT (permissive) · a6599219f699aad9 · report fixture: signature a:ArrayImpl/2/float, b:ArrayImpl/2/float · returned ArrayImpl · level recorded 2026-09-22
low_rank_cov_estimation source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 5b30c8fbe83d7e72 · report fixture: signature w_hess:ndarray/2/float, threshold:float/0/float · returned tuple · level recorded 2026-09-22
poli_norm_features source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · fd96b9e644ac3c66 · report fixture: signature x:ArrayImpl/1/float, q:int/0/int, order:int/0/int · returned ArrayImpl · level recorded 2026-09-22
predict_std source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · 118c573a1ea2b34f · report fixture: signature w_ten:ArrayImpl/3/float, w_cholesky:ArrayImpl/2/float, kd:int/0/int, x:ArrayImpl/2/float, fmap:callable/0/?, beta_e:float/0/float, pd_mode:str/0/str, n_samples:int/0/int, seed:int/0/int · returned ArrayImpl · level recorded 2026-09-22
prepare_fmap source/models/LaplaceCPR.py ran · our draft was wrong MIT (permissive) · 11bacf9963dbdd74 · report fixture: signature fmap_spec:FeatureSpec/0/?, m_order:int/0/int, is_quant:bool/0/bool · returned tuple · level recorded 2026-09-22
process_weights source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 96a2795649a36e57 · report fixture: signature w_ten:ArrayImpl/3/float · returned tuple · level recorded 2026-09-22
pure_poli_features source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 59ae00ea6014914e · report fixture: signature x:ArrayImpl/2/float, q:int/0/int, order:int/0/int · returned ArrayImpl · level recorded 2026-09-22
rbf_features source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 98e7e88363d422eb · report fixture: signature x:ndarray/2/float, q:int/0/int, order:int/0/int, lscale:float/0/float · returned ArrayImpl · level recorded 2026-09-22
ten3tovec source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 865f1495d1e7fa4a · report fixture: signature w_ten:ArrayImpl/3/int · returned ArrayImpl · level recorded 2026-09-22
update_beta_e source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · d7684ab7374c0597 · report fixture: signature c:float/0/float, d:float/0/float, w_ten:ArrayImpl/3/float, w_cholesky:ArrayImpl/2/float, kd:int/0/int, x:ArrayImpl/2/float, y:ArrayImpl/1/float, fmap:callable/0/?, pd_mode:str/0/str, n_samples:int/0/int, seed:int/0/int · returned tuple · level recorded 2026-09-22
vec2ten3 source/models/LaplaceCPR.py ran; the contract check could not run (RAISES) MIT (permissive) · 41b7007591ec82d0 · report fixture: signature w_vec:ArrayImpl/1/float, d_dim:int/0/int, m_order:int/0/int, rank:int/0/int · returned ArrayImpl · level recorded 2026-09-22
w_sample source/models/LaplaceCPR.py ran · our draft was wrong fingerprinted MIT (permissive) · f896328d8211f825 · report fixture: signature w_mean_vec:ArrayImpl/1/float, w_cholesky:ndarray/2/float, seed:int/0/int · returned ArrayImpl · level recorded 2026-09-22
LaplaceCPR source/models/LaplaceCPR.py unverified MIT (permissive) · 9c10cba673fed7af · report
get_fw_hadamard_mtx source/models/LaplaceCPR.py unverified MIT (permissive) · 27fe1ede95cabccb · report
get_scores in 22 papers source/models/LaplaceCPR.py unverified MIT (permissive) · bbbbd8c608bbaa0e · report
hess_block_diag source/models/LaplaceCPR.py unverified MIT (permissive) · a9b2cfe0107ade2f · report
hess_cov_estimation source/models/LaplaceCPR.py unverified MIT (permissive) · c86c5ab727ebe041 · report
hess_diag source/models/LaplaceCPR.py unverified MIT (permissive) · 125aa5a708829163 · report
hess_ggn source/models/LaplaceCPR.py unverified MIT (permissive) · e830512c308cc69d · report
jacob_cpd source/models/LaplaceCPR.py unverified MIT (permissive) · 8195b570eca6c4c8 · report
ppf_q2 source/models/LaplaceCPR.py unverified MIT (permissive) · c4811ab9bc77aa4d · report
predict_score source/models/LaplaceCPR.py unverified MIT (permissive) · 6de1b61668632be2 · report
predict_score_linear source/models/LaplaceCPR.py unverified MIT (permissive) · 6513323517c0d99d · report
prepare_system source/models/LaplaceCPR.py unverified MIT (permissive) · b6384909c851c500 · report
update_gamma_w source/models/LaplaceCPR.py unverified MIT (permissive) · 1ce6491dc0f39385 · report
update_weights source/models/LaplaceCPR.py unverified MIT (permissive) · fc59ace7021aae04 · 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 Laplace Approximation for Bayesian Tensor Network Kernel Machines (graph method: Laplace Approximation for Bayesian Tensor Network Kernel Machines). 38 bricks; individually on a fixture: 24 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 3 honoured, 2 violated, 0 with no contract checked; 19 where Syntology's instrument failed) · 14 unverified. The assembly has not been run end-to-end.

  1. LaplaceCPR entry · level 0 · unverified · 9c10cba673fed7af
  2. als_cpd helper · level 1 · ran; the contract check could not run (RAISES) · 219f09c62d43450f
  3. hess_cov_estimation helper · level 0 · unverified · c86c5ab727ebe041
  4. init_beta_e helper · level 1 · ran · honoured contract · dab8194df85ffae8
  5. init_gamma_w helper · level 1 · ran · honoured contract · 0c4ade04bff329b6
  6. init_weights helper · level 1 · ran · our draft was wrong · a7c931d1505091f8
  7. predict_score helper · level 0 · unverified · 6de1b61668632be2
  8. predict_std helper · level 1 · ran; the contract check could not run (RAISES) · 118c573a1ea2b34f
  9. prepare_fmap helper · level 1 · ran · our draft was wrong · 11bacf9963dbdd74
  10. process_weights helper · level 1 · ran; the contract check could not run (RAISES) · 96a2795649a36e57
  11. ten3tovec helper · level 1 · ran; the contract check could not run (RAISES) · 865f1495d1e7fa4a
  12. update_beta_e helper · level 1 · ran; the contract check could not run (RAISES) · d7684ab7374c0597
  13. update_gamma_w helper · level 0 · unverified · 1ce6491dc0f39385
  14. vec2ten3 helper · level 1 · ran; the contract check could not run (RAISES) · 41b7007591ec82d0
  15. get_fw_hadamard_mtx helper · level 0 · unverified · 27fe1ede95cabccb
  16. update_weights helper · level 0 · unverified · fc59ace7021aae04
  17. cov_estimation helper · level 1 · ran; the contract check could not run (RAISES) · 9effe7eff2f5776f
  18. hess_block_diag helper · level 0 · unverified · a9b2cfe0107ade2f
  19. hess_diag helper · level 0 · unverified · 125aa5a708829163
  20. hess_full helper · level 1 · ran; the contract check could not run (RAISES) · f8b56d1579b61d11
  21. hess_ggn helper · level 0 · unverified · e830512c308cc69d
  22. hess_last helper · level 1 · ran; the contract check could not run (RAISES) · ac24265810de7fcd
  23. low_rank_cov_estimation helper · level 1 · ran; the contract check could not run (RAISES) · 5b30c8fbe83d7e72
  24. get_scores helper · level 0 · unverified · bbbbd8c608bbaa0e
  25. w_sample helper · level 1 · ran · our draft was wrong · f896328d8211f825
  26. add_constant_shift helper · level 1 · ran · our draft was wrong · 5c513d4df9704023
  27. ff_q2 helper · level 1 · ran · violated contract · 445fb38f62d7ba95
  28. fourier_features helper · level 1 · ran; the contract check could not run (RAISES) · 1fe6a176eca20cb9
  29. poli_norm_features helper · level 1 · ran; the contract check could not run (RAISES) · fd96b9e644ac3c66
  30. ppf_q2 helper · level 0 · unverified · c4811ab9bc77aa4d
  31. pure_poli_features helper · level 1 · ran; the contract check could not run (RAISES) · 59ae00ea6014914e
  32. rbf_features helper · level 1 · ran; the contract check could not run (RAISES) · 98e7e88363d422eb
  33. check_zero_cols helper · level 1 · ran; the contract check could not run (RAISES) · c331b17915f3c001
  34. prepare_system helper · level 0 · unverified · b6384909c851c500
  35. khatri_rao_row helper · level 1 · ran · honoured contract · a6599219f699aad9
  36. _get_fw_part_mtx helper · level 1 · ran · violated contract · 1d014af6dde00d50
  37. jacob_cpd helper · level 0 · unverified · 8195b570eca6c4c8
  38. predict_score_linear helper · level 0 · unverified · 6513323517c0d99d

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="2604.26673") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.26673, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.

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