Skip to content

amazon-science/aws-intent-detect-neg-implicature-dataset

Can Your Model Tell a Negation from an Implicature? Unravelling Challenges With Intent Encoders

Abstract

Conversational systems often rely on embedding models for intent classification and intent clustering tasks. The advent of Large Language Models (LLMs), which enable instructional embeddings allowing one to adjust semantics over the embedding space using prompts, are being viewed as a panacea for these downstream conversational tasks. However, traditional evaluation benchmarks rely solely on task metrics that don’t particularly measure gaps related to semantic understanding. Thus, we propose an intent semantic toolkit that gives a more holistic view of intent embedding models by considering three tasks– (1) intent classification, (2) intent clustering, and (3) a novel triplet task. The triplet task gauges the model’s understanding of two semantic concepts paramount in real-world conversational systems– negation and implicature. We observe that current embedding models fare poorly in semantic understanding of these concepts. To address this, we propose a pretraining approach to improve the embedding model by leveraging augmentation with data generated by an auto-regressive model and a contrastive loss term. Our approach improves the semantic understanding of the intent embedding model on the aforementioned linguistic dimensions while slightly effecting their performance on downstream task metrics.

This is the official implementation of the paper Can Your Model Tell a Negation from an Implicature? Unravelling Challenges With Intent Encoders

Citation

@article{zhang2024can,
  title={Can your model tell a negation from an implicature? Unravelling challenges with intent encoders},
  author={Zhang, Yuwei and Singh, Siffi and Sengupta, Sailik and Shalyminov, Igor and Su, Hang and Song, Hwanjun and Mansour, Saab},
  journal={arXiv preprint arXiv:2403.04314},
  year={2024}
}

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

The dataset in this repository is Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. Released under the terms of CC BY 4.0, see https://creativecommons.org/licenses/by/4.0/legalcode.txt

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published