Code Monkey home page Code Monkey logo

jst's Introduction

JST (Just Select Twice) Data Valuation Framework

This repository is the official implementation of "Just Select Twice: Leveraging Low Quality Data to Improve Data Selection (release soon)." This paper introduces a novel approach, JST (Just Select Twice), which aims to improve the sensitivity of data valuation methods to high-quality data, thereby facilitating more effective data selection.

Our Approach: JST (Just Select Twice)

Illustration of JST framework

We propose JST, a two-stage data subset selection framework. The key steps are:

  1. Initial Data Valuation: Perform data valuation using existing methods to identify low-quality data points.
  2. Second-Round Selection: Use the identified low-quality data points as a validation set for a second round of data valuation. This allows high-quality data to stand out as outliers in the new context.

This two-stage approach enhances the sensitivity of data valuation methods to high-quality data, improving the effectiveness of data selection.

Requirements

Create a Docker container and install required packages.

docker run --gpus all -it nvcr.io/nvidia/pytorch:23.10-py3
./starting.sh

Experimental Evaluation

We conducted experiments to validate the effectiveness of our JST framework, instantiated with the optimal transport based data valuation method. We provide code examples in enhancing data valuation methods for high-quality data selection.

High-Quality Data Selection:

  • Datasets: MNIST, Fashion-MNIST, CIFAR-10, and CIFAR-100.
  • Setup: We injected white noise into 25% of the training set and used the clean test set as the validation set. Data points were ranked based on their value scores, and selection precision (percentage of uncorrupted points within the selected subset) was computed.
  • Results: Our experimental results showed a notable enhancement in selection precision across all four datasets. (In the final comparison plotting, it may not be correctly loaded in github preview version because we use the interactive line plot. After downloading the notebook, it can correctly display.)

Acknowledgement

This repo is directly implemented based on the repos LAVA and otdd. We are immensely grateful to the authors of that project.

Citing JST

If you found the code/scripts here are useful to your work, please cite JST by

@inproceedings{zhang2024jst,
  title={Just Select Twice: Leveraging Low Quality Data to Improve Data Selection},
  author={Zhang, Yifei and Jiao, Yusen and Chen, Jiayi and Li, Zhaoyang and Yao, Huaxiu and Zhang, Jieyu and Sala, Frederic},
  year={2024}
}

jst's People

Contributors

yfeizhang avatar y29jiao avatar

Stargazers

Jiayi Chen avatar  avatar  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.