AG

A. Garg

info

Please Note

1 records found

Underspecified data often induces a set of possible models, each of which reaches near-optimal performance in-distribution but may behave differently when deployed in out-of-distribution (OOD) settings. In such cases, sparse models may be able to outperform their non-sparse counterparts in OOD settings.

We explore this notion by using a sparsity-regularized transformer, SPARTAN, in a controlled underspecified setting and find that it does not lead to meaningful improvements over non-sparse transformers. With enough data, all models learn sparse solutions. At smaller dataset sizes, where we expected sparse transformers to excel, we find no benefit.

We further hypothesize that, instead of a single transformer, we should learn a distribution over functionally diverse transformers that capture the different solutions allowed by underspecification. We propose hypernetwork-based transformers that generate the attention weights Wq, Wk, and Wv and are trained with a diversity loss for functional diversity.

Our experiments show that our methods approach the performance of ensembles as data grows but do not match it. An analysis of their mechanics reveals the failure modes of our methods and how they occur. ...