acceptodds
Under review as a conference paper at ICLR 2027

Steering Autoregressive Retrosynthesis with Calibration

Abstract

Synthesis planning seeks an efficient sequence of chemical reactions building up to a target molecule. Such sequences are typically built by repeatedly invoking a pretrained autoregressive single-step model. Using classifier guidance, we can steer said model toward reactions with desired properties at inference time, without retraining. We show that cross-entropy trains a classifier to estimate a property's probability given the prefix, but to change an overconfident generator's ranking, that estimate must be extremely confident. For substructural properties like reaction type, where a specific, rare combination of tokens decides the label, no realistic corpus gives the classifier enough examples of each combination to reach that confidence. We overcome this issue with a novel method called Calibration for Autoregressive Guidance (CAG), which employs contrastive augmentation and a margin-based loss to calibrate the classifier so that it can meaningfully discriminate between continuations during decoding. Empirically, on USPTO-190 with chemist-specified guidance targets at every node, CAG returns a route meeting all the specified reaction types for of targets, against for an identically trained cross-entropy classifier, and for an unguided model. Guidance also more than doubles the number of distinct routes found per target, from for the unguided baseline to with CAG, outperforming most template-based methods.

open until 14 Dec 2026

est. 32% chance this paper gets accepted at ICLR 2027.

Reject 68%Accept 32%

What do you think this paper will get?

All positions stay anonymous.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.