Your Twin learns with you

30% off annual Pro20% off monthly Pro

Ends in00h00m00s

Yinjun Wu

Assistant Professor

Peking University
Country flagChina

Research Interests

ApplyKite TwinLearns as you apply

Make your next move.

Prepare your application

Review drafts before you send them.

Articles (10)

Year:

2026

Year:

2026

Year:

2026

Year:

2025

Year:

2025

Year:

2025

Year:

2025

Finding errors in machine learning applications requires a thorough exploration of their behavior over data. Existing approaches used by practitioners are often ad-hoc and lack the abstractions needed to scale this process. We present TorchQL, a programming framework to evaluate and improve the correctness of machine learning applications. TorchQL allows users to write queries to specify and check integrity constraints over machine learning models and datasets. It seamlessly integrates relational algebra with functional programming to allow for highly expressive queries using only eight intuitive operators. We evaluate TorchQL on diverse use-cases including finding critical temporal inconsistencies in objects detected across video frames in autonomous driving, finding data imputation errors in time-series medical records, finding data labeling errors in real-world images, and evaluating biases and constraining outputs of language models. Our experiments show that TorchQL enables up to 13x faster query executions than baselines like Pandas and MongoDB, and up to 40% shorter queries than native Python. We also conduct a user study and find that TorchQL is natural enough for developers familiar with Python to specify complex integrity constraints.

Year:

2024

Year:

2024

Year:

2024

Collaborators (3)

Guanhua Chen

Associate Professor

University of Wisconsin-Madison

UNITED STATES
View details

Zachary Dozier

Assistant Professor

Stanford University

UNITED STATES
View details

Eric Wong

Assistant Professor

University of Pennsylvania

UNITED STATES
View details