Listening between the Lines: Learning Personal Attributes from Conversations

Anna Tigunova, Andrew Yates, Paramita Mirza, Gerhard Weikum

TL;DR

This paper introduces novel deep learning models (HAMs) that can infer personal attributes like profession and age from conversational text, even when these attributes aren't explicitly stated. This is crucial for building more personalized and engaging dialogue agents by allowing them to "listen between the lines" of user interactions.

What Problem Does This Paper Address?

Modern dialogue agents are becoming increasingly sophisticated, but a key challenge remains: personalizing conversations. To have truly meaningful interactions, an agent needs to understand who it's talking to. This involves inferring personal attributes (like profession, age, family status, interests) from what the user says. Traditional information extraction methods, which work well on formal texts like Wikipedia, struggle with the noisy, short, and often implicit nature of conversational data. Simply relying on explicit mentions of attributes is insufficient, as users rarely state them directly. The authors aim to bridge this gap by developing methods to extract these "hidden" personal attributes from conversations.

Methods

The core of the paper is the Hidden Attribute Model (HAM), a deep learning architecture designed to infer personal attributes from a sequence of utterances. HAMs work by:

  • Representing Utterances: Each utterance is first converted into a vector representation. The paper explores several ways to do this:
  • HAMavg: Simple averaging of word embeddings within an utterance.
  • HAMCNN: Using a Convolutional Neural Network (CNN) with k-max pooling to capture local features within an utterance.
  • Representing Subjects: These utterance representations are then aggregated to form a representation of the entire subject (the speaker). Again, different aggregation strategies are used:
  • HAMavg: Simple averaging of utterance representations.
  • HAMCNN: A second k-max pooling layer over utterance representations.
  • Attention Mechanisms: The key innovation is the use of attention. HAM2attn and HAMCNN-attn leverage attention to weigh the importance of different words within an utterance (term attention) and different utterances within a conversation (utterance attention) when forming the subject representation. This allows the model to focus on the most informative parts of the conversation.
  • Predicting Attributes: Finally, a fully connected layer (or layers) maps the subject representation to a probability distribution over possible attribute values (e.g., different professions).

The paper proposes several HAM variants, with HAMCNN-attn and HAM2attn, which incorporate attention, generally showing the best performance.

Datasets

The authors used three datasets for training and evaluation:

  • MovieChAtt: A newly created dataset derived from movie scripts. It contains character utterances and their associated attributes (profession, gender, age). This dataset aims to approximate real-life conversations but is inherently fictional.
  • PersonaChat: A dataset of crowdsourced conversations where participants are given persona descriptions and asked to converse. This dataset is more controlled and synthetic than movie scripts.
  • Reddit: User-generated content from Reddit forums ("iama" and "askreddit"). This dataset represents more natural, informal online conversations.

Key Insights and Ideas

  • "Listening Between the Lines" is Crucial: The most significant insight is that inferring personal attributes from conversations requires going beyond explicit mentions. The HAMs' superior performance over baselines that rely on explicit patterns highlights this.
  • Attention is Key for Dialogue: The attention mechanisms in HAM2attn and HAMCNN-attn are critical for performance. They allow the models to dynamically focus on the most relevant parts of the conversation, mimicking how humans might infer information implicitly.
  • Conversational Data is Noisy and Implicit: The challenges of extracting information from dialogues are substantial. The paper's success in tackling this problem with deep learning is a major step forward.
  • Transfer Learning Potential: The study shows that models trained on large datasets like Reddit can be transferred to smaller, scarcer datasets like movie scripts, achieving competitive results. This suggests that general conversational understanding can be learned and applied across different domains.
  • Interpretability through Attention: The attention weights provide a degree of interpretability, showing which words and utterances the model found most informative for inferring specific attributes.

Key Results

  • HAMs Outperform Baselines: The proposed HAM models, particularly HAMCNN-attn and HAM2attn, significantly outperform various baselines, including traditional methods and simpler neural models, across all datasets and attributes (profession, gender, age, family status).
  • Profession is Challenging: The profession attribute proved to be the most challenging, likely due to the large number of possible values and the subtlety of cues.
  • MovieChAtt vs. PersonaChat vs. Reddit: Performance was generally highest on PersonaChat (due to its controlled nature and density of information) and MovieChAtt, with Reddit showing more variability.
  • Transfer Learning Success: When trained on Reddit and tested on MovieChAtt, HAMs achieved performance comparable to baselines trained on in-domain MovieChAtt data, demonstrating the value of pre-training on large conversational corpora.
  • Attention Weights are Informative: Case studies showed that attention weights correctly highlighted terms and utterances relevant to inferred attributes (e.g., "mission," "guard," "colonel" for military personnel; "boyfriend," "pms," "jewelry" for female gender).

Limitations and Future Work

  • Dataset Bias: The authors acknowledge that all datasets have biases (e.g., movie genres, skewed attribute distributions) and are not fully representative of real-world applications.
  • Single-Label Assumption: The current models assume a single attribute value per predicate. Future work could address scenarios with multiple correct values or no discernible value.
  • Transfer Learning Degradation: While transfer learning shows promise, there is a performance degradation when training on one dataset and testing on another, especially with significant differences in attribute distributions. Future work will focus on improving this transfer learning capability.
  • Domain-Specific Signals: The paper notes that some uninformative words are movie-specific (e.g., character names). Future work could explore methods to reduce the impact of such setting-specific signals.
  • Broader Attributes: The current focus is on crisp attributes like profession and gender. Future work could extend to more nuanced attributes like interests, hobbies, and sentiments.

Summary updated

BibTeX
@inproceedings{tigunova2019listening,
  author = {Anna Tigunova and Andrew Yates and Paramita Mirza and Gerhard Weikum},
  title = {{Listening between the Lines: Learning Personal Attributes from Conversations}},
  booktitle = {The Web Conference},
  year = {2019},
  doi = {10.1145/3308558.3313498},
}
Figure