# Poster 28318

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28318

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everybody, I am David Grangier. Welcome to my talk on task adaptive language models via clustered important sampling. This is joint work with Simin Fan, Scalar Seto and Pierre Blanc. We're going to highlight methods to train specialized models even when little data is available for that specialization. A specialist model is defined in contrast
To a generalist model usually people are used to large generalist models which are models which are fit on a generic training set and if the generic training set is rich these models which have high capacity to fit that set they can address many tasks. The drawback of these models is that they are large.
They cost significant amount of money to be trained and also they are not very efficient at inference. On the other hand, a small model is efficient at inference but doesn't have a large capacity to fit all the details of a large generalist data set. So a small model can be good if it's trained.
only specialised data. This training is possible only if a small, only if a specialised data is available. Unfortunately in many application domains the specialised data are available in limited quantity.
This is a known problem and many people address this problem by performing fine tuning, meaning training the model first on generalist data and then doing a little bit more training on the little specialist data available.
I know the strategy is to perform data selection. Data selection is a method that will go over the large specialist data set and over sample the data deemed to be more helpful to the specialist task. This data can be identified via a classifier or via a gradient alignment method or alternatively by what we propose in this work which is important sampling over clustered data.
The data selection methods can then be used in combination with fine-tuning. For our method, Clustered Important Sampling, we have a very simple strategy. What we do is that we take the large generalist dataset and we learn a clustering.
Using hierarchical k-means and a representation of the data sentence bert in our case. This allow to build a large number of clusters that can be tuned easily. Once this clustering is trained, we can take the little specialist data we have and we can look in which clusters the document from the specialist data.
Belong. This method will give us an histogram which represents the frequency of the clusters of all the specialist data. Once we have this histogram, we can resample the generalized data according to this histogram. And we can train a model on this resampled dataset. Doing that, in fact, approximate the loss.
over the small specialized data. So as a result of our process, we can sample a large data set over which training a model would approximate training a model over specialized data. So we then can test our method against alternatives. Both of these results here are presented after fine tuning. So we compare in data selection and
fine-tuning. We perform experiments both of our language modeling and question answering and in both cases you see the benefit of CRISP. Of course this is not the only thing we do we have a lot of ablations and a lot
more experiments in the paper that I invite you to look at or also please come to my poster we can chat more. But in essence we've presented a method which allow to train an accurate specialist model even when little specialist data is available through a data selection technique which is scalable based on important sampling. Thank you for your attention.
