We present an outlier-robust Bayesian approach for automated kinetic profile fitting in magnetically confined plasmas with the modified tanh (mtanh) parametrisation and demonstrate its implementation on KSTAR. The method addresses two systematic obstacles: anomalous diagnostic channels can bias least-squares fits, and multimodality of the mtanh cost surface can trap deterministic optimisers in secondary minima. The deployed workflow uses a good-and-bad Gaussian mixture likelihood based on the Box–Tiao formulation as the default outlier-robust likelihood for fitted diagnostic channels, with posterior outlier probabilities retained as channel-level quality indicators. The posterior is sampled with an affine-invariant ensemble Markov-chain Monte Carlo sampler initialised near the result of deterministic maximum a posteriori (MAP)-seeking optimisation, reducing sensitivity to secondary minima on the multimodal mtanh surface. A batch automation layer retrieves diagnostic data from MDSplus and fits arbitrary time slices in parallel for the quantities , , , and for which the relevant diagnostics are available. Results are written in formats suitable for MDSplus upload and downstream analysis. Representative KSTAR H-mode cases show that the mixture likelihood downweights contaminated measurements while preserving plausible pedestal profiles. The workflow provides a practical basis for future large-scale kinetic profile production for kinetic-EFIT, TRANSP, FASTRAN, and data-driven analysis workflows.
We present an outlier-robust Bayesian approach for automated kinetic profile fitting in magnetically confined plasmas with the modified tanh (mtanh) parametrisation and demonstrate its implementation on KSTAR. The method addresses two systematic obstacles: anomalous diagnostic channels can bias least-squares fits, and multimodality of the mtanh cost surface can trap deterministic optimisers in secondary minima. The deployed workflow uses a good-and-bad Gaussian mixture likelihood based on the Box–Tiao formulation as the default outlier-robust likelihood for fitted diagnostic channels, with posterior outlier probabilities retained as channel-level quality indicators. The posterior is sampled with an affine-invariant ensemble Markov-chain Monte Carlo sampler initialised near the result of deterministic maximum a posteriori (MAP)-seeking optimisation, reducing sensitivity to secondary minima on the multimodal mtanh surface. A batch automation layer retrieves diagnostic data from MDSplus and fits arbitrary time slices in parallel for the quantities , , , and for which the relevant diagnostics are available. Results are written in formats suitable for MDSplus upload and downstream analysis. Representative KSTAR H-mode cases show that the mixture likelihood downweights contaminated measurements while preserving plausible pedestal profiles. The workflow provides a practical basis for future large-scale kinetic profile production for kinetic-EFIT, TRANSP, FASTRAN, and data-driven analysis workflows. 我々は、修正タン(mtanh)パラメトリゼーションを用いた磁気閉じ込めプラズマにおける自動運動論プロファイルフィッティングのための外れ値ロバストなベイズ手法を提示し、KSTARへのその実装を実証する。本手法は、二つの系統的な障害に対処する:異常な診断チャンネルが最小二乗フィットにバイアスをかけ得ること、そしてmtanhコスト曲面の多峰性が決定論的最適化器を二次極小値に閉じ込め得ることである。展開されたワークフローは、Box–Tiao定式化に基づく良・悪ガウス混合尤度を、フィットされる診断チャンネルのデフォルトの外れ値ロバスト尤度として使用し、事後外れ値確率はチャンネルレベルの品質指標として保持される。事後分布は、決定論的最大事後確率(MAP)探索最適化の結果の近傍で初期化されたアフィン不変アンサンブルマルコフ連鎖モンテカルロサンプラーを用いてサンプリングされ、多峰性mtanh曲面における二次極小値への感度を低減する。バッチ自動化層は、MDSplusから診断データを取得し、関連する診断が利用可能な量 、 、 、 について任意の時間スライスを並列にフィットする。結果は、MDSplusへのアップロードおよび下流解析に適した形式で書き出される。代表的なKSTAR Hモード事例は、混合尤度が汚染された測定値をダウンウェイトしつつ、もっともらしいペデスタルプロファイルを保持することを示す。本ワークフローは、kinetic-EFIT、TRANSP、FASTRAN、およびデータ駆動解析ワークフローのための将来の大規模運動論プロファイル生成の実用的な基盤を提供する。