Research
Symbolic Neural Generation with Applications to Lead Discovery in Drug Design
Overview Research area: Neurosymbolic AI — specifically hybrid systems that combine symbolic learning (Inductive Logic Programming) with neural generation (large language models), applied to early-sta
- arXiv
- 2510.23379
- Published
- 2025-10-27
- Authors
- Ashwin Srinivasan, Tirtharaj Dash, A Baskar, Michael Bain, Sanjay Kumar Dey, Mainak Banerjee
AI summary
Overview
Research area: Neurosymbolic AI — specifically hybrid systems that combine symbolic learning (Inductive Logic Programming) with neural generation (large language models), applied to early-stage drug discovery.
Technical level: Advanced. The paper includes formal definitions, partial-order (poset) semantics, and correctness proofs alongside the applied drug-design work.
Scope: The paper defines a class of hybrid neurosymbolic systems called Symbolic Neural Generators (SNGs), gives them a poset-based semantics, implements one combining ILP with an LLM, and evaluates it on lead discovery for protein targets.
What This Paper Is About
In many real problems, we want to identify instances from a hidden target set — for example, small molecules that will bind to a disease-causing protein — but we do not know the exact rule that defines membership. We usually have only a few known examples (in the paper's main case study, just 5 known inhibitors), some background knowledge, and no precise formal specification.
The paper's goal is to build a generator that (a) learns a human-readable symbolic description of the feasible instances from very few examples, and (b) uses that description both to condition a large language model and to reject any molecule the LLM produces that violates the description. The output is a pair: the symbolic description and a set of new molecules consistent with it.
Key Contributions
-
A new class of hybrid neurosymbolic systems called Symbolic Neural Generators (SNGs). Symbolic hypotheses serve two roles simultaneously: they condition the neural generator's probability distribution, and they verify (via rejection sampling) the instances the neural component produces. Each SNG returns a pair (H, X), where H is a symbolic description of feasible instances and X is a set of generated instances satisfying that description.
-
A formal poset semantics for SNGs. The authors construct a base partially-ordered set over symbolic hypotheses (ordered by the subset-inclusion of their extensions), attach a fibre poset of neural-generated instance-sets to each hypothesis, and combine these into an overall partial order over candidate (H, X) pairs. This specifies the codomain of any SNG and underpins a correctness proof for the implementation.
-
A concrete implementation combining restricted ILP with an LLM. The symbolic component (ILP) builds definitions for a predicate Σ(·); the neural component is an LLM-based generator (Procedure 1, λGen) that performs rejection sampling while updating its context with confirmed true/false instances. A per-iteration alignment measure w is computed as the fraction of generated instances accepted as lying inside the hypothesis's extension.
-
Demonstration and evaluation on real lead-discovery problems. The system is demonstrated on a chess endgame (as a controlled test) and evaluated on drug design, where on benchmark problems with well-understood targets its performance is reported as statistically comparable to state-of-the-art methods, and on exploratory problems with poorly understood targets it produces molecules with binding affinities reported as on par with leading clinical candidates.
Main Findings
-
The symbolic theory drives progressive improvement in generation. In the chess endgame demonstration (identifying "won-for-white" positions, depth-of-win zero), λGen with GPT-4o and a maximum sample size of 30 showed iterative gains. In the 5-shot setting without a symbolic theory, accepted instances rose across iterations as 8, 23, 25, 25, 27; with the symbolic theory, both the 0-shot and 5-shot settings reached 17/23/30/30/30 and 23/30/30/30/30 respectively.
-
No symbolic theory plus no examples yields nothing. In the 0-shot condition without a symbolic theory, the LLM produced 0 accepted instances across all 5 iterations.
-
The generated set exceeded the known count of positive instances. With the symbolic theory, λGen generated 30 instances on later iterations although the benchmark contains only 27 such positions out of 28,056 total (about 0.1% of the dataset). The 3 extra instances were later found to be illegal positions.
-
A complete-and-correct theory can still admit unexpected instances. The ILP-derived description was intended to be a complete and correct recogniser for legal positions only. This yields two conclusions stated by the authors: the verification step is only as good as the theory it verifies against, and an SNG can surface unanticipated instances consistent with the symbolic theory — which the authors frame as a positive feature for real-world problems.
-
Rare events are hard for unsconstrained sampling. The authors note that for a uniform sampler the probability of drawing a positive instance is approximately 27/27,000 ≈ 0.001, and the chance of failing to see at least one positive instance in a sample of 30 is approximately 1 − (0.999)^30 = 0.03.
-
Drug-design results. On benchmark problems where drug targets are well understood, SNG performance is reported as statistically comparable to state-of-the-art methods. On exploratory problems with poorly understood targets, generated molecules are reported to exhibit binding affinities on par with leading clinical candidates. The paper states that experts found the symbolic specifications useful as preliminary filters, with several generated molecules identified as viable for synthesis and wet-lab testing. Specific benchmark names, dataset sizes, and affinity values are not reported in the available content.
-
Search over the full pair space is impractical. In the worst case |ℱ| ≤ |ℋ| · 2^|𝒰|, so the implementation instead uses the hypothesis ordering together with a "goodness" score to drive a greedy search, accepting a locally optimal (H, X) pair.
Methodology in Plain English
The problem is framed as identifying elements of a set X = {x : x ∈ U, Φ(x) is true}, where the defining predicate Φ is unknown. The authors cannot rely on fine-tuning a generative model, because real problems often come with only tens of known instances rather than the hundreds or thousands fine-tuning needs. They also argue prompt engineering is no easier than finding a formal description, and that feedback loops for in-context learning are hard to supply in specialised domains.
Their approach splits the job between two components:
-
A symbolic learner (a restricted form of Inductive Logic Programming) examines the few known instances plus background knowledge and produces a hypothesis H — a human-readable definition of a predicate Σ(·) approximating Φ.
-
A neural generator (an LLM) draws candidate instances conditioned on H. Each candidate is checked: it is accepted only if B ∧ H ⊨ Σ(x), and the acceptance result is fed back into the LLM's context so later samples improve. Instances that vacuously satisfy the condition are rejected outright.
The combination is iterated up to n times, sampling at most s instances per round, and returns an alignment score w (accepted fraction) together with the set of accepted instances.
For drug design, the setup is: given a few known inhibitors (5 in the main case study, one of which has known toxic side effects), the protein's amino-acid sequence, its disease role, an approximate binding region, and prior chemical knowledge (a desired scaffold, molecular weight bounds, low predicted toxicity, high predicted binding affinity), produce human-readable constraints on new inhibitors and proposals for new inhibitor molecules. The structure of the target site had only recently become available at the time of the study, so additional constraints were unknown.
Why This Matters
The paper addresses a practical bottleneck in neurosymbolic AI: modern large pre-trained models can approximate a vast range of probability distributions, but there has been no verifiable way to constrain them to "focus" on a rare subset of interest. SNGs give a concrete mechanism — a symbolic hypothesis that both conditions and checks the generator — and a formal account of what such a system is supposed to return.
Real-world applications:
- Lead discovery in drug design: generating candidate inhibitor molecules for a protein target when only a handful of known binders exist and the target site is poorly characterised.
- Rare-event generation in structured domains: the chess endgame case shows the approach applied to a phenomenon occurring in about 0.1% of a dataset of 28,056 positions.
- Human-in-the-loop chemistry and structural biology: the symbolic specification acts as an interpretable preliminary filter that domain experts can read, critique, and use to prioritise compounds for synthesis and wet-lab testing.
- Data-scarce scientific discovery generally: any setting where fine-tuning a generative model is infeasible because only tens of examples are known.
Industry relevance: Pharmaceutical and biotechnology research and development stands to benefit most directly, since lead discovery is costly and early-stage candidate prioritisation is where interpretable, verifiable generation can reduce wasted synthesis and assay effort. More broadly, any industrial setting that needs generative models whose outputs must satisfy a checkable specification — materials discovery, molecular design, and constrained design work — is a candidate for the same pattern.
Future Directions
-
Probabilistic semantics. The authors note two sources of uncertainty not yet formalised: symbolic hypotheses are not all equally likely given data and background knowledge, and the neural generator is stochastic, so support-sets should carry probabilities. They suggest extending the framework with a probability distribution over elements of ℱ, and note that the scoring function used in the implementation can be viewed as an implicit specification of such a distribution.
-
Extending the semantics to wider classes of hybrid neurosymbolic systems. The paper explicitly flags this as a future direction beyond the restricted SNG class covered by the poset formulation.
-
Handling illegal or out-of-spec instances. Because the generated set exceeded the benchmark count (30 instead of 27, with 3 illegal positions), a natural follow-on question is how to treat the "only as good as the theory" limitation, and how to exploit the SNG's apparent ability to surface unanticipated but theory-consistent instances.
-
Scaling the search over (H, X) pairs. The authors note that searching ℱ exhaustively is impractical and that their implementation settles for a locally optimal pair via greedy search; improving this, possibly with better search strategies over the hypothesis ordering, is left open. Validation of the drug-design results through synthesis and wet-lab testing is also indicated as a next step.
Target Audience
Researchers in neurosymbolic AI and hybrid machine learning, particularly those interested in combining ILP with large language models; computational chemists and cheminformatics specialists working on molecular generation and lead discovery; structural biologists and medicinal chemists evaluating candidate compounds; and methodologists interested in formal semantics and correctness criteria for generative systems that mix learned symbolic descriptions with neural samplers. Readers need comfort with formal notation (partial orders, extensions, logic programs) to follow the semantics sections, though the drug-design motivation and the chess demonstration are accessible more broadly.
Authors’ abstract
We investigate a relatively under-explored class of hybrid neurosymbolic models that integrate symbolic learning with neural reasoning to construct data generators meeting formal correctness criteria. In Symbolic Neural Generators (SNGs), symbolic learners examine logical specifications of feasible data from a small set of instances -- sometimes just one. Each specification in turn constrains the conditional information supplied to a neural-based generator, which rejects any instance violating the symbolic specification. Like other neurosymbolic approaches, SNG exploits the complementary strengths of symbolic and neural methods. The outcome of an SNG is a pair $(H, X)$, where $H$ is a symbolic description of feasible instances constructed from data, and $X$ a set of generated new instances that satisfy the description. We introduce a semantics for such systems, based on the construction of appropriate base and fibre partially-ordered sets combined into an overall partial order. We implement an SNG combining a restricted form of Inductive Logic Programming (ILP) with a large language model (LLM) and evaluate it on early-stage drug design. Our main interest is the description and the set of potential inhibitor molecules generated by the SNG. On benchmark problems -- where drug targets are well understood -- SNG performance is statistically comparable to state-of-the-art methods. On exploratory problems with poorly understood targets, generated molecules exhibit binding affinities on par with leading clinical candidates. Experts further find the symbolic specifications useful as preliminary filters, with several generated molecules identified as viable for synthesis and wet-lab testing.