Abstract: Extracting appropriate features to represent a corpus is an important task for textual mining. Previous attention based work usually enhance feature at the lexical level, which lacks the exploration of feature augmentation at the sentence level. In this paper, we exploit a Dynamic Feature Generation Network (DFGN) to solve this problem. Specifically, DFGN generates features based on a variety of attention mechanisms and attaches features to sentence representation. Then a thresholder is designed to filter the mined features automatically. DFGN extracts the most significant characteristics from datasets to keep its practicability and robustness. Experimental results on multiple well-known answer selection datasets show that our proposed approach significantly outperforms state-of-the-art baselines. We give a detailed analysis of the experiments to illustrate why DFGN provides excellent retrieval and interpretative ability.
Introduction
Answer selection is a critical component of Question Answering (QA) systems, requiring the identification of the most relevant response from a candidate pool. While attention mechanisms have significantly advanced this field by highlighting lexical relationships between questions and answers, they often operate at a fine-grained word level. This focus can overlook broader sentence-level semantic characteristics essential for context. Furthermore, many existing models rely on static, manually-tuned thresholds to filter noise, which limits their adaptability across diverse datasets.
The Dynamic Feature Generation Network (DFGN)
To address these limitations, we propose the Dynamic Feature Generation Network (DFGN). This architecture shifts the focus from purely lexical features to augmented sentence-level representations through a multi-stage pipeline.
Methodology
The DFGN framework incorporates several key innovations:
- Multi-Granular Attention: The model employs three distinct attention layers: Self-attention for internal word dependencies, Intra-attention for dimensional sentence features, and Co-attention to capture the interplay between question (Q) and answer (A).
- Feature Augmentation: By applying max-pooling and mean-pooling to these attention matrices, the model extracts 10 high-level semantic characteristics. These features are then attached to the base sentence representations, providing a richer context than word embeddings alone.
- Dynamic Thresholding: A core component of DFGN is its parametric thresholder. Instead of using a fixed cutoff, the model learns to dynamically prune redundant or noisy information via a filtering function ($\phi$), enhancing robustness across different corpora.
- Efficient Encoding: The researchers utilized a combination of Sigmoid and Tanh nonlinear functions for encoding, achieving performance comparable to complex CNNs or LSTMs with significantly reduced training time.
Experimental Evaluation
The model was rigorously tested on three benchmark datasets:
- WikiQA: A factoid dataset based on Wikipedia and Bing search logs.
- TREC-QA Clean: A classic benchmark from the TREC Question Answering tracks.
- InsuranceQA V1: A non-factoid, domain-specific dataset from a community insurance site, characterized by longer sentences and more challenging candidate answers.
Performance and Analysis
DFGN consistently outperformed state-of-the-art baselines like BiMPM, IWAN, and DCA. On WikiQA, it achieved a Mean Reciprocal Rank (MRR) of 0.780. On TREC-QA, it reached an MRR of 0.928, a 2.4% improvement over the previous best model. On InsuranceQA, the model showed a 2.3% accuracy boost on both test sets compared to the strongest previous models.
As shown in the analysis of question types, the model demonstrates particular strength in handling "What" and "How" questions. These categories often involve complex semantic relationships that benefit from the sentence-level feature augmentation provided by DFGN, whereas simpler "Who" or "Where" questions may rely more on direct entity matching.
Discussion
The success of DFGN highlights the importance of "cognitive consistency"—mimicking the human ability to grasp the overall intent of a sentence rather than just matching individual words. This approach is particularly effective at resolving ambiguity. For instance, in complex queries where standard models might be distracted by secondary terms, DFGN’s augmented features allow it to maintain focus on the primary semantic relationship.
While the model is robust, the authors noted that the field still faces challenges regarding parameter sensitivity during baseline replication. Future work will explore the generalizability of dynamic feature generation to other Natural Language Processing tasks, such as Natural Language Inference (NLI) and paraphrase identification.
Conclusion
The Dynamic Feature Generation Network introduces a scalable and effective method for answer selection by prioritizing sentence-level characteristics and adaptive noise filtering. By moving beyond word-level attention, DFGN sets new performance benchmarks while offering improved interpretability and cross-dataset practicability.
Summary updated