Improving Neural Program Induction by Reflecting on Failures

Zhiming Li, Yushi Cao, Xiufeng Xu, Xu Liu, Yon Shin Teo, Junzhe Jiang, Bozhi Wu, Tianlin Li, Shang-Wei Lin, Yang LiuOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

A neural program induction model is considered good if it is capable of learning programs with four objectives: (1) higher data efficiency, (2) a more efficient training process, (3) better performance, and (4) generalization for large-scale tasks. However, the neural program induction/synthesis models suffer from requiring a large amount of training iterations and training examples for training. Besides, the current state-of-the-art neural program induction models are still far from perfect in terms of performance and generalization when dealing with tasks that require complex task-solving logic. To mitigate these challenges, in this work, we present a novel framework called FRGR (Failure Reflection Guided Regularizer). Our proposed framework dynamically summarizes error patterns from the model’s previous behavior and actively constrains the model from repeating mistakes of such patterns during training. In this way, the model is expected to converge faster and more data-efficiently as well as being less likely to fall into local optimum by making fewer mistakes of similar patterns. We evaluate FRGR based on multiple relational reasoning and decision-making tasks under both the data-rich and data-scarce settings. Experimental results show the effectiveness of FRGR in improving training efficiency, performance, generalization as well as data efficiency.
BibTeX
@misc{li2024improving,
  author = {Zhiming Li and Yushi Cao and Xiufeng Xu and Xu Liu and Yon Shin Teo and Junzhe Jiang and Bozhi Wu and Tianlin Li and Shang-Wei Lin and Yang Liu},
  title = {{Improving Neural Program Induction by Reflecting on Failures}},
  year = {2024},
  url = {https://openreview.net/forum?id=OzAGE2W9yz},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure