[Paper Review] Ranking and Selecting Multi-Hop Knowledge Paths to Better Predict Human Needs
This paper proposes a novel neural model that ranks and selects multi-hop knowledge paths from ConceptNet to predict human needs underlying sentiment in narrative texts. By integrating these paths via a gated attention mechanism, the model achieves state-of-the-art performance on the MNPCSCS dataset, with improved accuracy—especially for rare labels—and enhanced interpretability through attention maps over both input tokens and knowledge paths.
To make machines better understand sentiments, research needs to move from polarity identification to understanding the reasons that underlie the expression of sentiment. Categorizing the goals or needs of humans is one way to explain the expression of sentiment in text. Humans are good at understanding situations described in natural language and can easily connect them to the character's psychological needs using commonsense knowledge. We present a novel method to extract, rank, filter and select multi-hop relation paths from a commonsense knowledge resource to interpret the expression of sentiment in terms of their underlying human needs. We efficiently integrate the acquired knowledge paths in a neural model that interfaces context representations with knowledge using a gated attention mechanism. We assess the model's performance on a recently published dataset for categorizing human needs. Selectively integrating knowledge paths boosts performance and establishes a new state-of-the-art. Our model offers interpretability through the learned attention map over commonsense knowledge paths. Human evaluation highlights the relevance of the encoded knowledge.
Motivation & Objective
- To improve sentiment analysis beyond polarity detection by identifying the underlying human needs driving emotional expressions in narrative texts.
- To address the challenge of inferring implicit psychological needs from context, which requires commonsense reasoning beyond surface-level text.
- To develop a method that extracts, ranks, and selectively integrates multi-hop knowledge paths from a commonsense knowledge base (ConceptNet) to explain emotional reactions in stories.
- To enhance model interpretability by enabling attention over both input tokens and selected knowledge paths.
- To evaluate the relevance of extracted knowledge paths through human annotation and demonstrate their contribution to performance gains.
Proposed method
- The model uses ELMo embeddings to encode input context and applies a gated attention mechanism to integrate selected multi-hop knowledge paths from ConceptNet.
- Multi-hop relation paths are extracted from ConceptNet using a combination of graph-based features and algorithms, including personalized PageRank (PPR) and centrality measures for ranking relevance.
- A relevance scoring function combines path features (e.g., path length, node centrality, semantic similarity) to rank candidate paths before selection.
- The model employs two attention mechanisms: one over input tokens (via Eq. 6) and another over knowledge paths (via Eq. 15), enabling interpretability of which words and knowledge paths contribute to predictions.
- Knowledge paths are filtered and selected based on their attention weights, ensuring only the most relevant associations between context and human needs are used.
- The end-to-end architecture is trained end-to-end with a multi-label cross-entropy loss, optimizing for human need classification.
Experimental results
Research questions
- RQ1Can multi-hop knowledge paths from ConceptNet improve the prediction of human needs in narrative texts?
- RQ2How effective is the proposed graph-based ranking method for selecting relevant multi-hop paths from a commonsense knowledge base?
- RQ3Does integrating selectively chosen knowledge paths lead to performance gains over baselines that use only contextual embeddings?
- RQ4To what extent do the attention maps over knowledge paths reflect human-understandable reasoning about emotional states?
- RQ5Are the extracted knowledge paths perceived as relevant by human evaluators in explaining emotional reactions in stories?
Key findings
- The model achieves a new state-of-the-art F1 score of 39.83 on the MNPCSCS dataset when using ELMo with knowledge integration (BM+K), compared to 38.39 without knowledge (BM).
- Knowledge integration improves performance across all human need categories, with the largest gains observed for rare labels such as 'honor', 'idealism', and 'power'.
- The human evaluation shows that 34% of the extracted knowledge paths (based on majority agreement) are judged relevant by expert annotators, indicating effective path relevance selection.
- Attention visualization confirms that the model correctly identifies key input tokens (e.g., 'exhausting') and relevant knowledge paths (e.g., 'exhausting → fatigue → desire rest') that link context to the correct human need (e.g., 'rest').
- Context significantly improves prediction accuracy: for example, the model predicts 'competition' and 'curiosity' when context is included, whereas without context it predicts only 'curiosity' for the same sentence.
- The model demonstrates strong interpretability, as both input token attention and knowledge path attention maps clearly highlight the linguistic and commonsense cues used in predictions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.