Desmond Ong, Varsha Suresh
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Fine-grained classification involves dealing with datasets with larger number of classes with subtle differences between them. Guiding the model to focus on differentiating dimensions between these commonly confusable classes is key to improving performance on fine-grained tasks. In this work, we analyse the contrastive fine-tuning of pre-trained language models on two fine-grained text classification tasks, emotion classification and sentiment analysis. We adaptively embed class relationships into a contrastive objective function to help differently weigh the positives and negatives, and in particular, weighting closely confusable negatives more than less similar negative examples. We find that Label-aware Contrastive Loss outperforms previous contrastive methods, in the presence of larger number and/or more confusable classes, and helps models to produce output distributions that are more differentiated.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2109.05427")
get_code_for_paper("2109.05427")
have("2109.05427")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2109.05427.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2109.05427)
Connect an agent — have() is free.