Skip to main content
QUICK REVIEW

[Paper Review] AutoRC: Improving BERT Based Relation Classification Models via Architecture Search

Wei Zhu, Xipeng Qiu|arXiv (Cornell University)|Sep 22, 2020
Topic ModelingComputer Science26 references5 citations
TL;DR

This paper proposes AutoRC, a neural architecture search (NAS) framework that automatically discovers optimal BERT-based architectures for relation classification by exploring entity span identification, pooling strategies, and feature interactions. Using reinforcement learning with parameter sharing and multiple BERT encoder copies, AutoRC achieves state-of-the-art performance across seven benchmark datasets, demonstrating task-specific architecture superiority and robustness to overfitting.

ABSTRACT

Although BERT based relation classification (RC) models have achieved significant improvements over the traditional deep learning models, it seems that no consensus can be reached on what is the optimal architecture. Firstly, there are multiple alternatives for entity span identification. Second, there are a collection of pooling operations to aggregate the representations of entities and contexts into fixed length vectors. Third, it is difficult to manually decide which feature vectors, including their interactions, are beneficial for classifying the relation types. In this work, we design a comprehensive search space for BERT based RC models and employ neural architecture search (NAS) method to automatically discover the design choices mentioned above. Experiments on seven benchmark RC tasks show that our method is efficient and effective in finding better architectures than the baseline BERT based RC model. Ablation study demonstrates the necessity of our search space design and the effectiveness of our search method.

Motivation & Objective

  • To address the lack of consensus on optimal BERT-based relation classification (RC) architectures, including entity span identification, pooling methods, and feature selection.
  • To automate the design of RC models by formulating a comprehensive search space covering key architectural choices.
  • To develop an efficient and effective neural architecture search (NAS) method using reinforcement learning to discover task-specific architectures.
  • To validate the necessity of the search space design and the effectiveness of the search strategy through ablation and transfer learning studies.

Proposed method

  • A comprehensive search space is defined to include entity span identification methods (e.g., entity markers or token replacement), pooling operations (e.g., start pooling or average pooling), and feature combinations including interactions between entity and context representations.
  • A reinforcement learning-based search agent generates candidate architectures, receives rewards based on validation performance, and updates its policy via policy gradient methods.
  • Parameter sharing is employed across child models by initializing them with shared BERT, pooling, and classification layer weights to accelerate training and search.
  • Multiple copies of the BERT encoder are maintained during search to prevent overfitting and improve the reliability of the reward signal.
  • The search process is conducted on a validation set, and the best-performing architecture is fine-tuned on the test set with hyperparameter tuning.
  • Transfer learning is evaluated by applying architectures learned on one task to other tasks, assessing cross-domain generalization.

Experimental results

Research questions

  • RQ1Can neural architecture search (NAS) effectively discover better BERT-based relation classification architectures than hand-designed baselines?
  • RQ2How do different architectural choices—such as entity span identification, pooling strategy, and feature interaction—affect RC performance?
  • RQ3To what extent does maintaining multiple BERT encoder copies during search improve the quality of discovered architectures?
  • RQ4How transferable are the learned architectures across different domains and tasks?
  • RQ5What components of the search space contribute most significantly to performance gains?

Key findings

  • AutoRC outperforms the standard BERT-based RC model on all seven benchmark relation classification tasks, demonstrating consistent and significant improvements.
  • The learned architectures vary substantially across tasks—e.g., i2b2 uses entity markers and entity-context interactions, while deft2020 uses entity token replacement and [CLS] pooling—indicating strong task-specificity.
  • Ablation studies show that feature interactions and diverse pooling operations are critical for performance, especially on complex tasks like i2b2.
  • Maintaining multiple BERT encoder copies during search leads to better generalization and higher performance, confirming its role in reducing overfitting.
  • Transfer learning results show that models trained on open-domain tasks (e.g., kbp37) generalize poorly to medical-domain tasks (e.g., i2b2, ddi), but models from similar domains (e.g., i2b2 and ddi) transfer well, highlighting domain dependency.
  • The search space design is validated as effective: removing feature interactions or pooling diversity leads to significant performance drops, confirming the importance of comprehensive architectural exploration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.