arXiv Science⌕ Search

arXiv subjects

Sofiane Schaack

Publications and source records attributed to Sofiane Schaack.

3 recordsLinked to original sources

Risk-certified prompt optimization for LLM-as-a-judge guardrails

LLM-as-a-judge guardrails are often controlled primarily through system prompts, yet standard prompt optimization methods target average performance rather than explicit safety constraints. This paper studies system-prompt selection as a constrained optimization problem: maximize benign pass rate while keeping the missed-attack rate below a user-specified level α with finite-sample statistical control. The framework combines LLM-based judging, automatic prompt generation, and distribution-free risk certification. This work instantiates it in two procedures: CPS and CRISP. CPS generates a fixed pool of prompts from training data, then certifies candidates on a held-out evaluation set using simultaneous upper confidence bounds and selects the certified prompt with the highest benign utility. CRISP instead integrates risk feedback into an adaptive search, using hard example-guided rewriting and a reusable-holdout interface to steer generation toward the feasible utility frontier. Experiments on four datasets covering prompt injection, system-prompt leakage, and sensitive-information disclosure show that risk-certified selection consistently respects the target missed-attack level on heldout tests, while utility improves as the permitted risk is relaxed. CRISP is especially useful when fixed-pool search fails to produce certifiable high-utility candidates.

cs.CL↗

When Quantum Fluctuations Meet Structural Instabilities: The Isotope- and Pressure-Induced Phase Transition in the Quantum Paraelectric NaOH

Anhydrous sodium hydroxide, a common and structurally simple compound, shows spectacular isotope effects: NaOD undergoes a first-order transition, which is absent in NaOH. By combining ab initio electronic structure calculations with path integrals, we show that NaOH is an unusual example of a quantum paraelectric: zero-point quantum fluctuations stretch the weak hydrogen bonds (HBs) until they become unstable and break. By strengthening HBs via isotope substitution or applied pressure, the system can be driven down to a broken-symmetry antiferroelectric phase. We also provide a simple quantitative criterion for HB breaking in layered crystals and show that nuclear quantum effects are crucial in paraelectric to ferroelectric transitions in hydrogen-bonded hydroxides.

cond-mat.mtrl-sci↗

Quantum driven proton diffusion in brucite-like minerals under high pressure

We investigate the elementary steps at the microscopic level for proton diffusion in brucite under high pressure, which results from a complex interplay between two processes: the O-H reorientations motion around the $\mathbf c$ axis and O-H covalent bond dissociations. First-principle path-integral molecular dynamics simulations reveal that the increasing pressure tends to lock the former motion, while, in contrast, it activates the latter which is mainly triggered by nuclear quantum effects. These two competing effects therefore give rise to a pressure sweet spot for proton diffusion within the mineral. In brucite \ce{Mg(OH)2}, proton diffusion reaches a maximum for pressures close to 70GPa, while the structurally similar portlandite \ce{Ca(OH)2} never shows proton diffusion within the pressure range and time scale that we explored. We analyze the different behaviors of brucite and portlandite, which might constitute two prototypes for other minerals with the same structure.

cond-mat.mtrl-sci↗