Transductively Informed Inductive Program Synthesis
Janis Zenkner, Tobias Sesterhenn, Christian Bartelt
TL;DR
Transductively Informed Inductive Program Synthesis (TIIPS) introduces a cooperative framework that unifies inductive and transductive reasoning for program synthesis. An inductive generator proposes subprograms while a transductive guidance module provides targeted intermediate-output predictions only when progress stalls, forming a nested loop with up to $T$ outer iterations. Empirical results on string and list manipulation show TIIPS solving more tasks and achieving closer semantic and syntactic alignment to ground truth than ExeDec or a purely inductive baseline, with notable robustness in out-of-distribution settings. The work demonstrates that selectively applying transductive guidance can catalyze inductive search, reduce overhead, and improve generalization, suggesting broader implications for general-purpose synthesis and planning across domains.
Abstract
Abstraction and reasoning in program synthesis has seen significant progress through both inductive and transductive paradigms. Inductive approaches generate a program or latent function from input-output examples, which can then be applied to new inputs. Transductive approaches directly predict output values for given inputs, effectively serving as the function themselves. Current approaches combine inductive and transductive models via isolated ensembling, but they do not explicitly model the interaction between both paradigms. In this work, we introduce \acs{tiips}, a novel framework that unifies transductive and inductive strategies by explicitly modeling their interactions through a cooperative mechanism: an inductive model generates programs, while a transductive model constrains, guides, and refines the search to improve synthesis accuracy and generalization. We evaluate \acs{tiips} on two widely studied program synthesis domains: string and list manipulation. Our results show that \acs{tiips} solves more tasks and yields functions that more closely match optimal solutions in syntax and semantics, particularly in out-of-distribution settings, yielding state-of-the-art performance. We believe that explicitly modeling the synergy between inductive and transductive reasoning opens promising avenues for general-purpose program synthesis and broader applications.
