Sub-Task Decomposition Enables Learning in Sequence to Sequence Tasks
Noam Wies, Yoav Levine, Amnon Shashua
TL;DR
Problem: end-to-end sequence-to-sequence models struggle on multi-hop tasks. Approach: formalize intermediate sub-task supervision by appending sub-task labels to inputs and provide positive theoretical guarantees of polynomial-time learnability under decomposition. Key contributions: (i) a general learnability result for decomposition-based seq-to-seq learning over a broad class of P-time functions, (ii) a concrete bit-subset parity example showing an exponential gap between end-to-end and decomposition-based learning, and (iii) a universality claim with a circuit-based construction, plus Transformer-level empirical validation. Significance: supplies theoretical justification for chain-of-thought and decomposition strategies in NLP, linking practical intermediate supervision techniques to provable learning advantages.
Abstract
The field of Natural Language Processing has experienced a dramatic leap in capabilities with the recent introduction of huge Language Models. Despite this success, natural language problems that involve several compounded steps are still practically unlearnable, even by the largest LMs. This complies with experimental failures for end-to-end learning of composite problems that were demonstrated in a variety of domains. An effective mitigation is to introduce intermediate supervision for solving sub-tasks of the compounded problem. Recently, several works have demonstrated high gains by taking a straightforward approach for incorporating intermediate supervision in compounded natural language problems: the sequence-to-sequence LM is fed with an augmented input, in which the decomposed tasks' labels are simply concatenated to the original input. In this paper, we prove a positive learning result that motivates these recent efforts. We show that when concatenating intermediate supervision to the input and training a sequence-to-sequence model on this modified input, unlearnable composite problems can become learnable. We show that this is true for any family of tasks which on the one hand, are unlearnable, and on the other hand, can be decomposed into a polynomial number of simple sub-tasks, each of which depends only on O(1) previous sub-task results. Beyond motivating contemporary empirical efforts for incorporating intermediate supervision in sequence-to-sequence language models, our positive theoretical result is the first of its kind in the landscape of results on the benefits of intermediate supervision for neural-network learning: Until now, all theoretical results on the subject are negative, i.e., show cases where learning is impossible without intermediate supervision, while our result is positive, showing that learning is facilitated in the presence of intermediate supervision.
