GithubHelp home page GithubHelp logo

lackel / ptjn Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.84 MB

IEEE Intelligent Systems paper "New User Intent Discovery with Robust Pseudo Label Training and Source Domain Joint-training"

Python 99.38% Shell 0.62%

ptjn's Introduction

Robust Pseudo Label Training and Source Domain Joint-training Network (PTJN)

Data and code for paper titled New User Intent Discovery with Robust Pseudo Label Training and Source Domain Joint-training (IEEE Intelligent Systems)

New (User) Intent Discovery (NID) aims at discovering new intents from unlabeled data and then classifying inputs into proper (known or new) intents. In this paper, we propose a robust Pseudo label Training and source domain Joint training Network (PTJN) to generate robust pseudo labels for unlabeled data and fully utilize prior knowledge from labeled data.

Contents

1. Data

2. Model

3. Requirements

4. Running

5. Results

6. Thanks

7. Citation

Data

We performed experiments on three public datasets: clinc, banking and stackoverflow, which have been included in our repository in the data folder ' ./data '.

Model

Our model mainly contains three components: Extractor for feature extraction, Generator for generating pseudo labels through clustering and Corrector for refining the noisy pseudo labels generated by Generator.

Requirements

  • python==3.8
  • pytorch==1.11.0
  • transformers==4.19.2
  • scipy==1.8.0
  • numpy==1.21.6
  • scikit-learn==1.1.1

Running

Pre-training, training and testing our model through the bash scripts:

sh scripts/run.sh

You can also add or change parameters in run.sh (More parameters are listed in init_parameter.py)

Results

It should be noted that the experimental results may be different because of the randomness of clustering when testing even though we fixed the random seeds.

Thanks

Some code references the following repositories:

Citation

If our paper or code is helpful to you, please consider citing our paper:

@article{an2023new,
  title={New User Intent Discovery with Robust Pseudo Label Training and Source Domain Joint-training},
  author={An, Wenbin and Tian, Feng and Chen, Ping and Zheng, Qinghua and Ding, Wei},
  journal={IEEE Intelligent Systems},
  year={2023},
  publisher={IEEE}
}

ptjn's People

Contributors

lackel avatar

Stargazers

Haonan Lin avatar  avatar Gank avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.