Master’s scientific project

Neural approximation & thermal decisions

A controlled thermal benchmark relating neural value and sensitivity errors to physical decision quality. Master’s project supervised by Pr. Jamal Daoudi.

Halhoul Mhamed · Supervisor: Pr. Jamal Daoudi

The question

Does accurate neural prediction produce a good physical decision? This Scientific Master’s project studies a scalar cooling-duration decision using a fixed, dimensionless thermal model. It separates two questions: whether sensitivity error is more strongly associated with decision error than value error, and whether derivative supervision improves the decision score.

The neural training parameters and the physical decision variable are distinct: training fits a surrogate temperature; the decision then minimizes its estimated temperature-plus-duration cost.

Approach & protocol

A 49-parameter tanh network (1–16–1) approximates the analytic temperature T(p) = exp(−π²p)/√2 + 0.2 exp(−4π²p) for p ∈ [0.02, 0.20]. The decision objective is Jλ(p) = T(p) + λp.

  • M1_16: 16 value labels.
  • M2_16: those 16 values plus physical derivatives at the same sites, using fixed analytic loss scales.
  • M1_32: 32 value labels at different sites.

Twenty paired initializations compare all three conditions after 3000 full-batch Adam updates. Diagnostics use 257 held-out sites; decisions cover seven fixed tasks with 1025 candidates. Statistical uncertainty uses 2000 coupled bootstrap resamples of complete seed blocks. The main analysis uses 3000 updates; the 300-update snapshot is secondary.

M2_16 and M1_32 have equal conventional label cost only when q₁=1. Equal label cost does not equalize the sites, neural operations or runtime.

Documented contribution

I developed the controlled scalar benchmark, manual analytic neural and mixed gradients, value-only and derivative-informed losses, and stateful Adam continuation with saved checkpoints. I documented specialized mathematical bounds, label-cost accounting, paired statistical analysis and traceable scientific exports in LaTeX and Beamer.

This contribution is documented in the project’s contribution statement and report source. It applies established methods and is presented as a controlled experimental study.

Results: two distinct answers

The primary sensitivity-association hypothesis remains inconclusive. In the main M1_16 panel, signed Spearman correlations are 0.9413 for value error and 0.9481 for sensitivity error. Their difference is Δρ = 0.0068, with a 95% bootstrap interval [−0.0568, 0.0791] that includes zero.

Two scatterplots relate value and physical sensitivity RMSE to the decision score for the twenty M1_16 initializations. Both associations are positive; the difference remains inconclusive.
Original French labels: value error (left), sensitivity error (right); horizontal axes: RMSE of T and T′; vertical axis: decision score S, averaged over the three internal grids. Open figure at full size · Halhoul Mhamed, primary M1_16 panel after 3000 updates. Twenty archived seed observations; both panels use the same vertical scale, without regression or pooling of secondary panels. Original figure labels are in French. Provenance · CSV · PDF.

Mean paired decision-score differences favor M2 in the two planned method comparisons at 3000 updates:

Archived mean differences in score S; negative favors M2.
Paired comparisonMean difference95% bootstrap intervalPairs favoring M2
M2_16 − M1_16−0.01006[−0.01460, −0.00557]13 / 20
M2_16 − M1_32−0.00940[−0.01390, −0.00503]13 / 20
Two paired comparisons favor M2 on average: score differences −0.01006 and −0.00940, with 95% intervals below zero.
Original French labels: paired mean score differences, M2_16 minus M1_16 or M1_32; intervals are 95% bootstrap bounds and negative values favour M2. Open figure at full size · Halhoul Mhamed, archived paired score differences at 3000 updates: 20 initializations, 2000 coupled block resamples. Negative differences favor M2. The equal label-cost comparison assumes q₁=1. Original figure labels are in French. Provenance · CSV · PDF.

Seven seed pairs disfavor M2 in each comparison. For the fixed illustrative seed 20262001, M2 has lower value and sensitivity RMSE but a slightly worse decision score. At 300 updates, both M1 conditions have constant decision scores, so their rank correlations are undefined. These cases are retained in the study.

The score S averages three raw physical cost differences against a floating reference. It is not certified exact regret. A favorable method contrast does not settle the primary correlation hypothesis.

Limits & interpretation

  • Twenty initializations of one noiseless scalar benchmark, with a fixed architecture and budget.
  • The protocol was fixed after pilot inspection: an exploratory replication, without preregistration before all data.
  • Grid and uniform-error bounds depend on their mathematical hypotheses. Discrete diagnostics and floating references do not certify total numerical error.
  • Secondary intervals are exploratory and provide no simultaneous 95% guarantee.
  • The results establish no general superiority, unique causal derivative effect, algorithmic novelty or out-of-sample validation.
  • End-to-end campaign reproduction and numerical reproduction on multiple platforms remain unverified.

A proposed extension to a second physical case with measured value/derivative acquisition costs has not been executed.

Sources & research material

The report and slides are in French. Links below are pinned to the published documentary edition 155036d; scientific code, figures and results retain the provenance base 194561b.

Supervised by Pr. Jamal Daoudi, module Algorithmes métaheuristiques, Université Abdelmalek Essaâdi, Faculté Polydisciplinaire de Larache.