Skip to main content
QUICK REVIEW

[Paper Review] HUBERT Untangles BERT to Improve Transfer across NLP Tasks

Mehrad Moradshahi, Hamid Palangi|arXiv (Cornell University)|Oct 25, 2019
Topic ModelingComputer Science37 references16 citations
TL;DR

HUBERT proposes a method to improve transfer learning in NLP by disentangling BERT's representations into content (filler) and structural role components using Tensor-Product Representations (TPRs). By learning to separate semantic content from syntactic roles, HUBERT achieves significant gains in cross-task transfer, especially on challenging NLP benchmarks like HANS, outperforming BERT by up to 12.28% on GLUE tasks and 5.7% on non-entailment cases.

ABSTRACT

We introduce HUBERT which combines the structured-representational power of Tensor-Product Representations (TPRs) and BERT, a pre-trained bidirectional Transformer language model. We show that there is shared structure between different NLP datasets that HUBERT, but not BERT, is able to learn and leverage. We validate the effectiveness of our model on the GLUE benchmark and HANS dataset. Our experiment results show that untangling data-specific semantics from general language structure is key for better transfer among NLP tasks.

Motivation & Objective

  • To address the limited transferability of BERT representations across diverse NLP tasks despite their strong performance on individual tasks.
  • To investigate whether disentangling semantic content (fillers) from structural roles in BERT's representations can yield more general-purpose linguistic knowledge.
  • To evaluate whether the structural knowledge encoded in roles can be effectively transferred across different NLP tasks.
  • To improve robustness on diagnostic NLP benchmarks like HANS by reducing reliance on superficial heuristics such as lexical overlap.
  • To demonstrate that TPR-based disentanglement enhances knowledge transfer by enabling role and filler representations to be shared across tasks.

Proposed method

  • HUBERT introduces a TPR layer on top of BERT’s final-layer token embeddings, decomposing each token’s representation into a tensor product of a filler embedding and a role embedding.
  • The model learns to factor BERT’s entangled representations into separate filler and role components through end-to-end training on downstream NLP tasks.
  • The TPR mechanism binds filler and role vectors using the tensor product operation, preserving structural relationships in a distributed, continuous vector space.
  • After pre-training on MNLI, HUBERT’s role and filler representations are transferred to other tasks such as QNLI, QQP, RTE, SST, and SNLI, with fine-tuning only on the new task.
  • For HANS evaluation, the model transfers only the learned roles and fillers from MNLI to the HANS diagnostic set, without retraining on HANS data.
  • The method enables the model to maintain performance on entailment cases while significantly improving generalization on non-entailment cases that violate syntactic heuristics.

Experimental results

Research questions

  • RQ1Can disentangling BERT’s representations into filler and role components via TPRs improve knowledge transfer across diverse NLP tasks?
  • RQ2Does the structural knowledge encoded in roles generalize better than BERT’s entangled representations when transferring to new tasks?
  • RQ3To what extent do TPR-based representations reduce reliance on spurious linguistic heuristics, such as lexical overlap, in natural language inference?
  • RQ4How does the performance of HUBERT compare to BERT on diagnostic benchmarks like HANS, particularly on non-entailment cases?
  • RQ5Can transferring only the role and filler components from one task (e.g., MNLI) to another (e.g., SNLI) improve performance on challenging, out-of-distribution examples?

Key findings

  • HUBERT achieved performance gains ranging from 0.60% to 12.28% on downstream GLUE tasks (QNLI, QQP, RTE, SST, SNLI) after fine-tuning, compared to BERT’s gains of -0.33% to 2.53%.
  • On the HANS diagnostic dataset, HUBERT showed a 5.7% average improvement on the non-entailment class, indicating reduced reliance on superficial heuristics.
  • HUBERT’s performance on Lexical Non-entailment cases improved by 61.62% (6,162 examples) after fine-tuning on SNLI, demonstrating strong transfer of role-specific word embeddings.
  • Performance on Subsequence and Constituent Non-entailment cases improved by 1.44% and 5.4%, respectively, showing enhanced robustness to syntactic violations.
  • While BERT’s performance on Entailment cases slightly improved after SNLI fine-tuning, its performance on Non-entailment cases dropped significantly, indicating poor integration of new knowledge.
  • HUBERT maintained high performance on Entailment cases while drastically improving on Non-entailment cases, demonstrating effective knowledge transfer and reduced heuristic bias.

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.