Concept Matching for Low-Resource Classification

Federico Errica, Fabrizio Silvestri, Bora Edizel, Ludovic Denoyer, Fabio Petroni, Vassilis Plachouras, Sebastian RiedelIJCNN 2020 · DOI

Abstract

We propose a model to tackle classification tasks in the presence of very little training data. To this aim, we approximate the notion of exact match with a theoretically sound mechanism that computes a probability of matching in the input space. Importantly, the model learns to focus on elements of the input that are relevant for the task at hand; by leveraging highlighted portions of the training data, an error boosting technique guides the learning process. In practice, it increases the error associated with relevant parts of the input by a given factor. Remarkable results on text classification tasks confirm the benefits of the proposed approach in both balanced and unbalanced cases, thus being of practical use when labeling new examples is expensive. In addition, by inspecting its weights, it is often possible to gather insights on what the model has learned.

Introduction

In the era of "Big Data," many niche applications—such as detecting specific types of online abuse or identifying relationships in legal documents—actually suffer from a lack of labeled examples. Deep learning models are notoriously data-hungry; while pre-trained models like BERT provide a strong foundation, fine-tuning them on a handful of examples often leads to overfitting.

This paper introduces PARCUS (parsimonious), a new architecture designed to thrive in these low-resource environments. By combining semantic "concept matching" with a novel way to incorporate human feedback, PARCUS manages to outperform heavyweights like BERT when training data is measured in dozens, rather than thousands, of samples.

The PARCUS Architecture

PARCUS rests on two main pillars: Concept Matching and Annotation-driven Error Boosting.

Concept Matching

Instead of simply averaging word vectors, PARCUS learns a set of prototypes—vectors in the embedding space that represent key task-related concepts. The model computes the probability that an input token matches a prototype using a gated exponential function. These match probabilities are combined using "pseudo-differentiable" logical functions (AND, OR, XOR) implemented via min and max operations. This allows the model to learn complex patterns, such as classifying a sentence as positive only if multiple specific concepts are present.

The PARCUS architecture overview, illustrating the flow from input tokens to prototype matching and final classification.

Annotation-driven Error Boosting

To effectively utilize sparse human feedback, the authors introduce error boosting. When a human annotator highlights a specific word as a "rationale" (a hint justifying a label), PARCUS multiplies the gradient of those specific tokens during training. By boosting the error associated with relevant words, the model is forced to prioritize and align its learned prototypes with the concepts humans actually care about.

Experimental Evaluation

The model was evaluated on two distinct benchmarks: SPOUSE, a highly imbalanced dataset for identifying marital relationships, and MOVIEREVIEW, a balanced dataset of movie reviews with human-provided rationales.

Key Results

Empirical results confirm that PARCUS significantly outperforms standard baselines in low-data regimes. On the SPOUSE dataset with only 60 training points, PARCUS achieved an F1-score of 40.3, significantly outperforming BERT+finetuning (23.4) and standard MLPs (18.3). To reach the same performance as PARCUS, traditional supervised models required roughly 50x more data.

Performance comparison on SPOUSE and MOVIEREVIEW datasets across varying training sizes.

Beyond performance, the model is highly interpretable. Qualitative analysis showed that for the SPOUSE task, the model's learned prototypes naturally clustered around relevant terms like husband, marriage, and fiancee, even when those specific words were not explicitly provided as annotations.

Conclusion

PARCUS demonstrates that classification in low-resource settings can be significantly improved by approximating exact matches in a semantic space and directly boosting the importance of human rationales. This approach is of high practical use for domains where labeling new examples is prohibitively expensive. Future work will explore adaptive error boosting and the application of this architecture to non-textual data like graphs.

Summary updated

BibTeX
@inproceedings{errica2020concept,
  author = {Federico Errica and Fabrizio Silvestri and Bora Edizel and Ludovic Denoyer and Fabio Petroni and Vassilis Plachouras and Sebastian Riedel},
  title = {{Concept Matching for Low-Resource Classification}},
  booktitle = {IJCNN},
  year = {2020},
  doi = {10.1109/ijcnn52387.2021.9533640},
}
Figure