<p>Traditional loss functions, such as mean square error and cross-entropy, treat prediction errors as fixed values, ignoring the stochastic nature of real-world data. To address this limitation, this paper presents three innovative loss function reconstruction methods grounded in stochastic process theory. The first method models prediction errors as stochastic processes by incorporating Gaussian noise and dynamically adjusting the <InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="41060_2025_879_Article_IEq1.gif" Format="GIF" Height="14" Rendition="HTML" Resolution="72" Type="Linedraw" Width="15" /> </InlineMediaObject> <EquationSource Format="TEX">\(\lambda \)</EquationSource> <EquationSource Format="MATHML"><math> <mi>λ</mi> </math></EquationSource> </InlineEquation> parameter, enhancing robustness in noisy environments. The second method introduces a stochastic integral-based loss function for time-series data, representing cumulative error as a time integral of a stochastic process with learnable local volatility parameters to capture temporal dynamics. The third method, randomized cross-entropy (RCE), redefines distribution discrepancy via joint stochastic perturbations to both labels (<InlineEquation ID="IEq2"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="41060_2025_879_Article_IEq2.gif" Format="GIF" Height="22" Rendition="HTML" Resolution="72" Type="Linedraw" Width="95" /> </InlineMediaObject> <EquationSource Format="TEX">\(\eta \sim {\mathcal {N}}(0, \sigma _\eta ^2)\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>η</mi> <mo>∼</mo> <mi mathvariant="script">N</mi> <mo stretchy="false">(</mo> <mn>0</mn> <mo>,</mo> <msubsup> <mi>σ</mi> <mi>η</mi> <mn>2</mn> </msubsup> <mo stretchy="false">)</mo> </mrow> </math></EquationSource> </InlineEquation>) and logits (<InlineEquation ID="IEq3"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="41060_2025_879_Article_IEq3.gif" Format="GIF" Height="23" Rendition="HTML" Resolution="72" Type="Linedraw" Width="95" /> </InlineMediaObject> <EquationSource Format="TEX">\(\xi \sim {\mathcal {N}}(0, \sigma _\xi ^2)\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>ξ</mi> <mo>∼</mo> <mi mathvariant="script">N</mi> <mo stretchy="false">(</mo> <mn>0</mn> <mo>,</mo> <msubsup> <mi>σ</mi> <mi>ξ</mi> <mn>2</mn> </msubsup> <mo stretchy="false">)</mo> </mrow> </math></EquationSource> </InlineEquation>), explicitly capturing dual uncertainties from noisy annotations and prediction ambiguity. Experimental results on benchmark datasets (e.g., CIFAR-10, NOAA temperature data) validate that these methods outperform traditional and state-of-the-art baselines (e.g., Label Smoothing, Mixup) in accuracy (up to 2.67% gain) and stability (lower error variance). Despite challenges in computational complexity and parameter tuning, they provide a novel framework for uncertainty-aware machine learning. Source code is available at <a href="https://github.com/KaicNK/three_methods">https://github.com/KaicNK/three_methods</a>.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Loss function reconstruction: a stochastic process-based modeling and optimization approach

  • Kai Cui

摘要

Traditional loss functions, such as mean square error and cross-entropy, treat prediction errors as fixed values, ignoring the stochastic nature of real-world data. To address this limitation, this paper presents three innovative loss function reconstruction methods grounded in stochastic process theory. The first method models prediction errors as stochastic processes by incorporating Gaussian noise and dynamically adjusting the \(\lambda \) λ parameter, enhancing robustness in noisy environments. The second method introduces a stochastic integral-based loss function for time-series data, representing cumulative error as a time integral of a stochastic process with learnable local volatility parameters to capture temporal dynamics. The third method, randomized cross-entropy (RCE), redefines distribution discrepancy via joint stochastic perturbations to both labels ( \(\eta \sim {\mathcal {N}}(0, \sigma _\eta ^2)\) η N ( 0 , σ η 2 ) ) and logits ( \(\xi \sim {\mathcal {N}}(0, \sigma _\xi ^2)\) ξ N ( 0 , σ ξ 2 ) ), explicitly capturing dual uncertainties from noisy annotations and prediction ambiguity. Experimental results on benchmark datasets (e.g., CIFAR-10, NOAA temperature data) validate that these methods outperform traditional and state-of-the-art baselines (e.g., Label Smoothing, Mixup) in accuracy (up to 2.67% gain) and stability (lower error variance). Despite challenges in computational complexity and parameter tuning, they provide a novel framework for uncertainty-aware machine learning. Source code is available at https://github.com/KaicNK/three_methods.