Skip to main content
QUICK REVIEW

[Paper Review] Natural Language Inference over Interaction Space: ICLR 2018 Reproducibility Report

Martin Mirakyan, Karen Hambardzumyan|arXiv (Cornell University)|Feb 9, 2018
Natural Language Processing TechniquesComputer Science4 references7 citations
TL;DR

This reproducibility study evaluates the Densely Interactive Inference Network (DIIN) for natural language inference, re-implementing the model from scratch and identifying key discrepancies in hyperparameters, optimizer scheduling, and architectural details that explain the gap between the original 88.0% test accuracy and the authors' own re-implementation of 86.38%. The study highlights critical reproducibility issues in deep learning papers, including undocumented defaults, incomplete component descriptions, and unclear model selection procedures.

ABSTRACT

We have tried to reproduce the results of the paper "Natural Language Inference over Interaction Space" submitted to ICLR 2018 conference as part of the ICLR 2018 Reproducibility Challenge. Initially, we were not aware that the code was available, so we started to implement the network from scratch. We have evaluated our version of the model on Stanford NLI dataset and reached 86.38% accuracy on the test set, while the paper claims 88.0% accuracy. The main difference, as we understand it, comes from the optimizers and the way model selection is performed.

Motivation & Objective

  • To reproduce the Densely Interactive Inference Network (DIIN) model for natural language inference as reported in ICLR 2018.
  • To identify discrepancies between the original paper and the implementation that affect model performance.
  • To investigate how missing details—such as optimizer scheduling, hyperparameter values, and architectural specifics—impact reproducibility.
  • To highlight common reproducibility challenges in deep learning research, especially regarding default framework settings and model selection procedures.

Proposed method

  • Re-implemented DIIN from scratch using Keras with TensorFlow backend, replicating the architecture: word and character embeddings, self-attention encoding, interaction tensor, and DenseNet-based feature extraction.
  • Applied exponential L2 regularization via a custom optimizer due to Keras limitations in accessing training step count.
  • Corrected multiple architectural mismatches after consulting the authors and analyzing the original GitHub code, including bias usage, activation placement, and transition layer design.
  • Modified the DenseNet component to match the original: removed batch normalization, used max-pooling instead of average-pooling, and fixed the number of dense blocks and transition layers to three each.
  • Implemented dynamic model evaluation frequency based on performance, increasing checks as training progressed, contrary to the paper’s static evaluation schedule.
  • Experimented with multi-optimizer scheduling: starting with Adam, switching to Adadelta after 3 epochs of no improvement, then to SGD after 4 epochs, achieving the best test accuracy.

Experimental results

Research questions

  • RQ1Why does the re-implementation achieve 86.38% test accuracy instead of the reported 88.0% in the original paper?
  • RQ2How do differences in optimizer scheduling, hyperparameter values, and architectural details affect model performance in DIIN?
  • RQ3To what extent do undocumented defaults—such as weight initialization, embedding sizes, and kernel configurations—impact reproducibility?
  • RQ4How does the dynamic model selection strategy, not described in the paper, influence final performance?
  • RQ5What role do additional dropout layers and regularization techniques play in the final accuracy of the DIIN model?

Key findings

  • The re-implementation achieved 86.38% test accuracy after correcting hyperparameters and optimizer scheduling, falling short of the original 88.0% due to unresolved architectural and training procedure differences.
  • The primary performance gap stemmed from incorrect learning rate (9×10⁻⁶ instead of 9×10⁻⁵), improper DenseNet architecture (e.g., incorrect number of blocks), and missing bias terms in convolutions.
  • Switching from Adam to Adadelta and then to SGD based on development set performance improved accuracy to 87.27%, demonstrating the critical role of adaptive optimizer scheduling.
  • Adding two previously undocumented dropout layers did not improve performance, indicating they were not essential for generalization in this setup.
  • The original code achieved 88.28% on the development set, suggesting the test set discrepancy may stem from checkpointing or evaluation timing issues.
  • The study identifies four major reproducibility challenges: reliance on framework defaults, incomplete component descriptions, unclear model selection procedures, and lack of parameter checksums.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.