Learning Minimal Failure Rules While Searching for Bio-Oil Upgrading Conditions

Self-driving laboratories pick the next experiment with a statistical model, run it, and update. They handle a good result well and a failed run poorly. Biomass upgrading fails often and expensively. Catalyst beds plug, tars condense in lines, mineral ash fouls active sites, and oxygen-rich bio-oil polymerizes. A typical optimizer records such a run as "low yield" and moves on. It never learns which combination of settings caused the failure, so it can walk into the same failure from another direction.

We propose a closed loop that turns every failed run into a candidate rule of the form "temperature in this band AND calcium-doped catalyst AND feed ash above this level causes plugging." It reduces each rule to the smallest set of conditions consistent with all runs so far, which is the idea of a minimal conflict set from constraint solving. It then picks experiments that both improve the product and decide between competing explanations of the failures. One property makes this useful beyond a single lab. A short rule can be checked against an encrypted experiment proposal with a very shallow encrypted circuit. Industrial partners could therefore pool their failure knowledge without revealing proprietary conditions, and the rule's minimality is exactly what keeps that encrypted check cheap.

Core Claim

The approach rests on two claims. First, in bio-oil hydroprocessing, failures are often caused by joint conditions, where two or more settings must hold at once, rather than by any single variable. An optimizer that represents failure explicitly as a small set of minimal conjunctive rules should reach in-specification product with fewer failed runs than one that models feasibility as a smooth probability surface.

Second, the same rules form a natural interface for privacy-preserving sharing between institutions. Checking a proposal against $K$ learned rules, each with at most $k$ conditions, costs encrypted multiplicative depth

$$ D = \lceil \log_2 k \rceil + \lceil \log_2 K \rceil , $$

where multiplicative depth means the longest chain of encrypted multiplications. This depth is independent of how the rules were learned. Cutting rule length from $k$ to its minimal value directly lowers the encryption parameters every partner must use.

The bound comes from the circuit structure. Each operating variable is discretized into bins and sent as a one-hot encrypted vector. Whether the value lies in an interval is then a sum of ciphertext slots, which needs no multiplications. A rule is the product of its $k$ membership bits, evaluated as a balanced tree. Whether any rule fires is $1-\prod_j(1-r_j)$, a second balanced tree over the $K$ rules.

Prior Work

The work on minimal conflict sets supplies the method. Formally, a minimal unsatisfiable subset is a set of constraints that cannot all hold together but becomes consistent if any one is dropped. Its dual is the minimal correction set, the smallest set of constraints to remove. Liffiton et al. used hitting-set duality between these two objects to enumerate conflicts in temporal problems (Identifying Conflicts in Overconstrained Temporal Problems). Gamba, Bogaerts and Guns generalized extraction to the cheapest unsatisfiable subset under a cost function and a structural predicate, alternating between an integer-program hitting-set generator and a SAT check (Efficiently Explaining CSPs with Unsatisfiable Subset Optimization). They report that plain minimal-subset extraction finds much costlier explanations than the optimal ones, and that their method cuts explanation time "from hours to seconds."

We reuse their hitting-set loop with one change. Our constraints are not given; they are interval predicates induced from logged runs. Their evaluation was on logic puzzles, while ours has to tolerate noisy physical labels.

The closest prior work is Li et al.'s minimal repair family recovery for failures in multi-agent language-model systems (Localizing Emergent Failures in Agentic AI). It plays two roles here. As motivation, it shows that pointwise attribution scores 0% on joint-AND failures, while their graph-constrained replay recovers repair families exactly (Family Exact Match 1.000). As a constraint, that accuracy falls to 0.552 when 10% of causal edges are missing. That result rules out our relying on a known causal graph of the reactor, which we do not have. Their method also replays counterfactual messages from an oracle at near-zero cost. In a reactor, each "replay" is a day-long run, which is why our design selects disambiguating experiments instead of replaying exhaustively.

The chemistry literature motivates the joint-failure hypothesis and anchors the test problems. Aqueous hydrodeoxygenation of eugenol over Pd/C with HZSM-5 depends jointly on acidity, set by the zeolite's silicon-to-aluminium (Si/Al) ratio, and on pore structure (Aqueous-phase hydrodeoxygenation of lignin monomer eugenol). At Si/Al 12.5 the system reaches 86.5% conversion and 73.4% hydrocarbon selectivity. At Si/Al 50, desilication raises selectivity from 4.4% to 67.1%, so neither variable alone predicts the outcome. Molybdenum-carbide hydroprocessing of pine bio-oil reached below 2 wt% oxygen and a total acid number below 0.01 mg KOH g⁻¹ with Ni-doped catalyst over 240 hours, while the Ca-doped catalyst plugged (Molybdenum Carbides, Active and In Situ Regenerable Catalysts). That is the kind of discrete, catalyst-conditional failure we target. These studies tuned conditions by hand and left mineral fouling unexplained.

Two works shape the closed-loop framing. MADE showed that adaptive, LLM-guided planning more than doubled discovery yield over generative models alone in quinary materials spaces (MADE). It also warned that oracles and generators trained on one distribution inflate success. Our testbed design responds to that warning.

On the encryption side, three works supply the methods and the lesson. HEMET showed that encrypted latency is governed by depth rather than operation count (HEMET). Zhou et al. cut per-iteration depth from 24 to 9 by redesigning the objective rather than approximating harder (Revisiting ML Training under Fully Homomorphic Encryption). Kerschbaum et al. made equality checks shallow with constant-weight encodings (Constant-weight PIR). We take the lesson that the representation should be chosen so the encrypted computation is shallow. Here, minimal rules over one-hot bins are that representation.

Research Program

The loop keeps three things: a log of runs, each with settings and an outcome; a set of failure predicates, which are bins of each operating and catalyst variable; and a current set of candidate failure rules.

After each failed run, rule induction asks a question that can be posed as cost-weighted unsatisfiable-subset search. Which smallest conjunctions of predicates are true of this failure but false of every logged success? The cost weights favor conditions that chemists can act on. We enumerate all such minimal rules up to size four, and the alternatives among them form an OR-family in Li et al.'s sense. Successes play the role that satisfying assignments play in the hitting-set dual: each success rules out every conjunction it satisfies.

Physical labels are noisy, and a plugged bed may be a one-off. To handle this, we allow a budget of tolerated contradictions, which turns the problem into a weighted MaxSAT variant of the cost-optimal subset search.

Experiment selection then chooses among candidate proposals with an acquisition score. That score adds expected improvement on product quality, from a Gaussian-process (GP) model fit to successful runs, to an information term: the expected reduction in the number of rule hypotheses still consistent with the data. Proposals that would trigger a rule held with high confidence are excluded outright. The information term targets proposals that satisfy one candidate rule but not its rivals. This is a classic version-space splitting criterion applied to conflict rules.

The shared-check component encodes rules from each partner as plaintext masks applied to the encrypted one-hot proposal, using the depth construction above. We measure depth, ring dimension and latency in an off-the-shelf leveled scheme.

Baselines

The naive reference point is uniform random sampling over the discretized design space. A second naive point is standard GP Bayesian optimization that records failures as the worst observed yield. This is what most self-driving labs do today. Both run with the same experiment budget, initial design and candidate pool as our method.

The strongest existing competitor is constrained Bayesian optimization, which adds a GP classifier for the probability that a run is feasible and multiplies expected improvement by that probability. It learns from failures without assuming any rule structure, so it is the method most likely to match ours. We tune its kernel length scales and classifier with the same hyperparameter budget we give our rule-induction tolerance and size cap, using one pilot of 30 simulator seeds for each. We found no reported result on Lacuna for constrained Bayesian optimization on bio-oil hydroprocessing. On the materials analogue, the best reported figure is MADE's 6.4× acceleration over random for its generator-plus-interatomic-potential pipeline. Our quantity is different, so we report it only as context.

For rule recovery itself, the reference is graph-constrained joint replay as reported by Li et al.: Family Exact Match of 1.000 with a complete causal graph and 0.552 with 10% of edges missing. We rerun it with a deliberately incomplete reactor causal graph and charge each replay as one experiment. Beating these baselines means reaching in-specification product with significantly fewer failed runs than constrained Bayesian optimization, under a paired test over seeds, at equal or better final quality. On planted rules, it means exact rule recovery above 0.552 under graph incompleteness, without our method using any graph at all.

Two ablations isolate the key ingredient. The first replaces minimal rules with the full predicate set of each failed run, keeping no minimality. This should increase both failed runs and encrypted depth. The second keeps minimal rules but drops the information term from acquisition, so it tests whether disambiguating experiments are worth their cost.

Why not just…?

Why not just use constrained Bayesian optimization with a feasibility classifier? This is the real threat. When failure regions are smooth and convex in the inputs, it should do as well as or better than our method. Our bet is that hydroprocessing failures are thin, axis-aligned and conjunctive, such as "Ca dopant AND high temperature," and a stationary kernel blurs such regions across the design space. The simulator experiments vary exactly this property. They include one regime with smooth planted failure regions and one with conjunctive rules. If constrained Bayesian optimization matches us in the conjunctive regime, the first claim fails, and we will report it.

Why not just fit a decision tree or rule learner to failed runs? Trees do produce conjunctions. However, greedy splitting returns one partition, not all minimal alternatives, so it cannot represent OR-families of independent causes. It also gives no account of which experiment would separate rival explanations. We include a tuned shallow tree, with each of its failure leaves used as a rule, as a further baseline under the same acquisition. If it recovers planted rules as accurately as our method, the hitting-set machinery is unnecessary and the contribution shrinks to the acquisition term.

Why not just share data through a trusted third party or federated learning instead of encryption? For partners who accept a trusted broker, they should share that way; encryption is only for those who do not. Our narrower point is that minimal rules make the encrypted option cheap enough to consider, whereas an encrypted GP classifier needs exponential kernels and deep approximations of the kind HEMET and Zhou et al. show are costly. The depth and latency comparison below settles whether the rule check is actually shallow in practice.

Proposed Experiments

No public benchmark records upgrading runs together with failure labels. We therefore build a semi-synthetic hydroprocessing simulator whose response surfaces are anchored to the reported regimes above. These include the Si/Al and desilication effects on selectivity, Ca-doped carbide plugging, and the oxygen and acid-number targets. Into it we plant failure rules with known joint-AND and alternative-OR structure. To follow MADE's warning, the planted rules are drawn independently of the surrogate family, and in half the configurations planted failures depend on a hidden variable, feed ash, that the optimizer observes only noisily. The Controlled-DAG benchmark from Li et al. serves as a sanity check that our induction recovers known families. A small physical pilot of eugenol hydrodeoxygenation screening, varying Si/Al, desilication and temperature, tests whether rules learned in simulation transfer.

The metrics are failed runs before the first in-specification result, best quality at a fixed budget, exact match of recovered rule families, and, for the shared check, multiplicative depth, ring dimension and latency against an encrypted polynomial-approximated GP feasibility classifier.

The decisive checks are three. First, our method must beat constrained Bayesian optimization on failed runs in the conjunctive regime, and must not lose in the smooth regime. Second, the minimality ablation must show measurably higher encrypted depth and more failed runs. Third, rule recovery must stay high when the hidden ash variable corrupts labels; if it does not, the noise-tolerant formulation needs rethinking before any physical deployment.