Predicts 20 FACS Action Unit intensities from 52 MediaPipe blendshapes via Cheong-style PLS regression. Lets MPDetector output AU columns comparable to Detector's xgb output.
BS -> AU PLS (v2)
Linear PLS regression mapping 52 MediaPipe blendshapes to 20 FACS Action Unit
intensities. Used to give MPDetector an AU output stream comparable to
Detector's xgb AU model output.
Training data
350,568 frames from ~10,000 CelebV-HQ celebrity videos
Paired blendshapes (MPDetector mp_blendshapes head) + AU intensities
(Detector with img2pose face + xgb AU on the same frames)
20 components = full rank (capped at min(n_features=52, n_targets=20))
Linear features only — pairwise BS interactions were tested in nested CV
(2026-05-05) and HURT out-of-sample R² (bs_only=0.236 vs bs_pairs=0.214,
with 4-6x higher fold std)
No pose covariates: kept pose-agnostic since MP blendshapes are
designed to be pose-canonical
No clipping at training (clip to [0,1] at inference if desired)
Performance (3-fold GroupKFold by video_id)
Overall R² = 0.236 +/- 0.008 (variance-weighted across 20 AUs)
Overall MAE = 0.171
Strong on AU06/12/43 (~0.50)
Moderate on AU01/02/09 (~0.29)
Weak on AU11/15/28 (<0.10) — these are rare or visually subtle AUs
Citation context
Cheong et al. 2023 (Py-Feat AU visualization model, tutorial 06 by E. Jolly):
affine-aligned 68 dlib landmarks -> 20 AUs via PLS on EmotioNet/DISFA/BP4D
(~13K class-balanced rows). Our model scales the recipe up to MP blendshapes
on 10x larger wild-celebrity data.
Inference
The saved coef + intercept absorb PLSRegression's scale=True standardization,
so inference is a single matmul:
bs_to_au huggingface.co is an AI model on huggingface.co that provides bs_to_au's model effect (), which can be used instantly with this py-feat bs_to_au model. huggingface.co supports a free trial of the bs_to_au model, and also provides paid use of the bs_to_au. Support call bs_to_au model through api, including Node.js, Python, http.
bs_to_au huggingface.co is an online trial and call api platform, which integrates bs_to_au's modeling effects, including api services, and provides a free online trial of bs_to_au, you can try bs_to_au online for free by clicking the link below.
py-feat bs_to_au online free url in huggingface.co:
bs_to_au is an open source model from GitHub that offers a free installation service, and any user can find bs_to_au on GitHub to install. At the same time, huggingface.co provides the effect of bs_to_au install, users can directly use bs_to_au installed effect in huggingface.co for debugging and trial. It also supports api for free installation.