Bayesian CP Tensor Decomposition
Bayesian CP decomposition writes a three-way array as a sum of rank-one components (one loading vector per mode) plus Gaussian noise, with automatic relevance determination priors that shrink unnecessary components to zero, and samples the posterior with a Gibbs sampler that also imputes missing cells.
베이즈 CP 분해는 3원 배열을 모드마다 적재 벡터 하나씩으로 이루어진 1계 성분들의 합과 정규 잡음으로 나타내며, 필요 없는 성분을 0으로 줄이는 ARD 사전분포를 두고 결측 칸까지 대체하는 깁스 표집으로 사후분포를 구합니다.
I have subject x variable x occasion data with gaps and I do not know how many components a PARAFAC model needs; can the rank and the uncertainty be handled in one model?
대상 x 변수 x 시점 자료에 빈칸이 있고 PARAFAC 성분이 몇 개 필요한지 모릅니다. 성분 수와 불확실성을 한 모형에서 다룰 수 있나요?
You set a generous maximum rank and the ARD prior prunes the components the data do not support, reporting the effective rank, component weights with credible intervals, unit-norm loadings per mode and the noise SD. Missing cells are imputed from the posterior instead of being dropped.
When to use Bayesian CP Tensor Decomposition
- Data form a three-way array (e.g. subjects x variables x time)
- Some cells are missing
- You want the number of components chosen inside the model with uncertainty
When to use something else
- You need a classical least-squares PARAFAC with core consistency: use PARAFAC Decomposition of Three-Way Data
- Modes interact through a full core array: use Tucker3 Decomposition of Three-Way Data
- Data are a two-way table: use Exploratory Factor Analysis (EFA)
Assumptions and requirements
- Trilinear structure with Gaussian noise of constant variance
- Each (i, j, k) cell appears at most once
- Missing cells are missing at random
What the analysis reports
- Effective rank and per-component weight, share and ARD status
- Unit-norm loadings per mode for active components
- Noise SD and explained variance with credible intervals
- Posterior mean of imputed cells
How to report it
A Bayesian CP decomposition (maximum rank [value]) retained [value] active components and explained [value] of the variance, 95% CrI [[value], [value]]; the noise SD was [value].
Related methods
- PARAFAC Decomposition of Three-Way Data
- Tucker3 Decomposition of Three-Way Data
- Multiple Factor Analysis (MFA)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Bayesian CP Tensor Decomposition on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.