NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scaffolding Networks for Teaching and Learning to Comprehend

Asli Celikyilmaz, Li Deng, Lihong Li, Chong WangarXiv 2017

Abstract: We introduce a new paradigm of learning for reasoning, understanding, and prediction, as well as the scaffolding network (SN) to implement this paradigm. The scaffolding network embodies an incremental learning approach formulated as a teacher-student network architecture to teach machines how to understand text and perform reasoning. The key to our computational scaffolding approach is the interaction between the teacher and the student through sequential questioning. The student observes text incrementally, using an attention-based neural net to register key information relative to its current memory. Meanwhile, the teacher asks questions about the observed text, and the student network is rewarded for correct answers. The entire network is updated continually using reinforcement learning. Experimental results on synthetic and real datasets show that the scaffolding network outperforms state-of-the-art methods and learns to reason scalably even with minimal human-generated input.

Introduction

Most modern NLP models are trained on static, "gold-standard" datasets. While effective for simple tasks, this does not reflect the incremental way humans learn, often guided by a teacher who checks for understanding before proceeding. Standard models frequently struggle with state tracking—maintaining an accurate representation of how facts change over the course of a narrative. Furthermore, traditional supervised learning requires massive amounts of human-generated question-answer pairs. Scaffolding Networks aim to address these challenges by building a system that generates its own internal "curriculum" through automated teacher-student interactions.

Architecture and Methods

The Scaffolding Network (SN) consists of three primary components that facilitate incremental learning:

  1. The Student: An RL agent (Deep Q-Network) equipped with an "Episode Memory." It processes text sentence-by-sentence, utilizing a Memory Attention Encoder to determine if new information contradicts or updates its current memory state.
  2. The Teacher: A rule-based component that monitors the student's attention. It employs an Importance Measure to calculate the similarity between the current sentence's attention and the overall episode history. If similarity is low, indicating a potential state change, the teacher generates a question to test the student.
  3. The Interaction: If the student answers correctly, it receives a reward and proceeds. If it fails, the teacher generates a different question about the same sentence, forcing the student to re-evaluate its interpretation.
The Scaffolding Network architecture, featuring the interaction between the Environment, Teacher, and Student components.

The Scaffolding Process in Action

The core novelty lies in how the teacher directs the student's focus to the most difficult or "important" parts of the text. By using "soft attention" to compare new sentences against existing memory, the model identifies "weak entailment"—instances where a sentence provides new information that necessitates a memory update. The iterative questioning loop acts as a form of local reinforcement, helping the model resolve ambiguities in real-time.

An example of the Travel Log dataset showing the incremental interaction between the teacher's questions and the student's actions based on sentence importance.

Experimental Results

The researchers evaluated the SN on three distinct types of data: a synthetic Travel Log dataset, the bAbI Dialog benchmark, and the real-world DSTC-2 human-to-bot dialogue dataset.

  • Superior Reasoning: On Travel Log tasks, SN significantly outperformed standard LSTMs and surpassed state-of-the-art models like Memory Networks (MemN2N) and Entity Networks (Ent-Net) as task complexity increased.
  • Real-World Performance: On the noisy DSTC-2 dataset, the SN achieved a lower error rate (47.6%) compared to Gated Memory Networks (52.6%) and Query Reduction Networks (48.9%) in the absence of specialized "match features."
  • Data Efficiency: The "scaffolding" teacher effectively replaced a large portion of human-labeled data. Removing 50% of human labels only led to a ~5% increase in error for the SN, whereas competing models saw much sharper performance declines.

Conclusion

Scaffolding Networks demonstrate that incremental, guided learning can significantly improve a model's ability to track states and reason through complex text. By reducing dependency on human-labeled data through automated questioning, SN offers a more scalable path toward machine comprehension. Future work may involve replacing the rule-based teacher with a neural-based agent to provide more diverse and natural questioning strategies.

Summary updated

BibTeX
@misc{celikyilmaz2017scaffolding,
  author = {Asli Celikyilmaz and Li Deng and Lihong Li and Chong Wang},
  title = {{Scaffolding Networks for Teaching and Learning to Comprehend}},
  year = {2017},
  eprint = {1702.08653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.08653},
}
Figure