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

Infogain-Driven Dialogue Modeling with Hashcode Representations

Sahil Garg, Irina Rish, Guillermo Cecchi, Sarik Ghazarian, Palash Goyal, Shuyang Gao, Greg Ver Steeg, Aram Galstyan

Abstract: We propose a novel dialogue modeling framework which learns binary hashcodes as compressed text representations, allowing for efficient similarity search; unlike traditional deep learning models, it handles well relatively small datasets, while also scaling to large ones. We also derive a novel lower bound on mutual information, or infogain, used as a model-selection criterion favoring representations with better alignment between the utterances of the collaborative dialogue participants, as well as higher predictability of the generated responses. As demonstrated on three real-life datasets, the proposed approach significantly outperforms several state-of-art neural network based dialogue systems, both in terms of computational efficiency, reducing training time from days or weeks to hours, and the response quality, achieving an order of magnitude improvement over competitors in frequency of being chosen as the best model by human evaluators.

Introduction

Current state-of-the-art dialogue systems rely heavily on deep neural networks, such as LSTMs and Variational Hierarchical Encoder-Decoders (VHRED). While powerful, these models face significant hurdles: they are data-hungry, computationally expensive to train, and often default to generic, "safe" responses. This paper introduces a nonparametric approach to dialogue modeling that moves away from these "black box" models. By representing dialogue as binary hashcodes and optimizing them using a novel information-theoretic objective, the framework achieves faster training and higher-quality responses, particularly in specialized domains like psychotherapy.

Methodology

The framework consists of three main stages designed to maximize the mutual information (MI) between dialogue participants:

  1. Kernelized Locality Sensitive Hashing (KLSH): Instead of continuous word embeddings, the model maps text into a discrete, high-dimensional binary space. Similar sentences are mapped to hashcodes with low Hamming distance.
  2. Information-Theoretic Optimization: The authors derived a novel lower bound on Mutual Information (MI), used as an objective function to select the best hash functions. Maximizing MI between the patient’s and therapist’s hashcodes ensures the model preserves information most relevant to the interaction.
  3. Inference and Generation: A Random Forest classifier predicts the therapist's likely hashcode based on the patient's input. This predicted hashcode is then converted back into text via retrieval or a generative N-gram hashing model.
Figure 1: The three-step pipeline for learning hashcode representations, inferring responses, and generating text.

Experimental Setup

The model was evaluated on three distinct datasets to test domain-specific performance and scalability:

  • Depression Therapy Dataset: ~42,000 samples from 400 sessions, characterized by long patient turns and short therapist turns.
  • Larry King TV Interviews: ~8,200 samples from 69 sessions.
  • Twitter Dialogue Corpus: ~750,000 samples, used to demonstrate scalability to large, noisy datasets.

Key Results

The hashing-based approach demonstrated significant improvements in both efficiency and quality. On the Twitter dataset, the model was optimized in less than 6 hours on a standard CPU, while neural baselines required over two weeks on a 1000-core GPU cluster.

In blind human evaluations on the Depression dataset, the hashing model's responses were rated as "Appropriate" 28.7% of the time, compared to just 9.5% for the best neural competitor (VHRED). Quantitatively, the model consistently outperformed or matched state-of-the-art neural models across standard word-embedding similarity metrics.

Table 1: Quantitative performance comparison across word-embedding similarity metrics.

Conclusion

By utilizing binary discretization and maximizing mutual information, this framework offers a flexible, nonparametric alternative to deep learning for dialogue modeling. While challenges remain regarding the diversity of generated responses, the significant gains in training speed and human-rated appropriateness mark a major step forward for specialized conversational AI. Future work will focus on multi-turn memory and incorporating clinical assessment tools to further refine therapeutic representations.

Summary updated

BibTeX
@inproceedings{garg2018infogain,
  author = {Sahil Garg and Irina Rish and Guillermo Cecchi and Sarik Ghazarian and Palash Goyal and Shuyang Gao and Greg Ver Steeg and Aram Galstyan},
  title = {{Infogain-Driven Dialogue Modeling with Hashcode Representations}},
  booktitle = {LaCATODA @ IJCAI},
  year = {2018},
  url = {https://openreview.net/forum?id=Bk4sKrGu-H},
}
Figure