Adapting, Fast and Slow: Transportable Circuits for Few-Shot Learning
Kasra Jalaldoust, Elias Bareinboim
TL;DR
The paper tackles domain generalization under distribution shifts by introducing a causal framework that uses qualitative graphs and a discrepancies oracle to enable zero-shot and few-shot transfer. It defines module-transportability and circuit-transportability, and proposes Circuit-TR and circuit-AD to transport and adapt modular predictors across domains. Theoretical results connect few-shot learnability to circuit size, with high-probability error-rate bounds that depend on transported components, while a gradient-based architecture provides a scalable approximation to the symbolic algorithms. Empirical validation on controlled simulations demonstrates fast adaptation when circuit-transportability holds and clarifies the trade-offs when it does not, offering a practical pathway for combining causal structure with scalable adaptation. The work advances causal transfer learning by formalizing transportable circuits and bridging theory with a tractable pretraining-finetuning paradigm for real-world domain adaptation tasks.
Abstract
Generalization across the domains is not possible without asserting a structure that constrains the unseen target domain w.r.t. the source domain. Building on causal transportability theory, we design an algorithm for zero-shot compositional generalization which relies on access to qualitative domain knowledge in form of a causal graph for intra-domain structure and discrepancies oracle for inter-domain mechanism sharing. \textit{Circuit-TR} learns a collection of modules (i.e., local predictors) from the source data, and transport/compose them to obtain a circuit for prediction in the target domain if the causal structure licenses. Furthermore, circuit transportability enables us to design a supervised domain adaptation scheme that operates without access to an explicit causal structure, and instead uses limited target data. Our theoretical results characterize classes of few-shot learnable tasks in terms of graphical circuit transportability criteria, and connects few-shot generalizability with the established notion of circuit size complexity; controlled simulations corroborate our theoretical results.
