Skip to main content

Helping humans ride the GenAI evaluation wave

Project description

Code quality Coverage Docs SPEC 0 Python versions PyPI Release Commits License LinkedIn arXiv

GLIDE Logo

GLIDE

Generated Label Inference & Debiasing Engine

🧭 What is GLIDE?

GLIDE is a Python library for rigorous evaluation of GenAI systems using hybrid human/proxy annotations.

GLIDE implements methods from the field of prediction-powered inference — the science of system evaluation that combines a small set of labeled data with a large set of proxy-labeled data to produce valid, debiased estimates. See the implemented algorithms below.

Prediction-powered inference schema

🤔 Why GLIDE?

  • 🤖 GenAI applications are everywhere — and imperfect. Deployed systems make mistakes, and measuring how often matters.
  • ⚖️ LLM-as-judge is biased. Proxy evaluators (models, heuristics) are cheap but systematically over- or under-estimate true performance.
  • 🧑 Rigorous evaluation requires a human in the loop. Ground-truth labels from humans are expensive, so only a small subset is feasible.
  • 📐 GLIDE bridges the gap. It combines a small set of human annotations with a large set of proxy predictions to produce statistically valid metrics — correcting proxy bias without requiring full human labeling.

⚡ Quick Start

Install the package with your favorite package manager :

uv add glide-py

or

pip install glide-py

And look at our practical quickstart.

📚 Documentation

Explore the full documentation — from practical tutorials and user guides to scientific deep dives into the methods behind GLIDE.

🤝 Contributing

Contributions are welcome! Please read the contributing guide for setup instructions, an architectural overview, and the checklist to follow before opening a pull request. Feel free to open an issue to report a bug or suggest a feature.

🔢 Versioning

This project follows Semantic Versioning (SemVer): MAJOR.MINOR.PATCH.

📦 Dependency Support

This project follows SPEC 0 for dependency support windows.

📄 License & Citation

This project is licensed under the Apache 2.0 License.

If you use GLIDE in your work, please cite us using the "Cite this repository" button on the GitHub repository page.

📚 Implemented Algorithms

Name Class Reference Paper(s) Original Implementation
Prediction-Powered Inference estimators.PPIMeanEstimator (with power_tuning=False) [1] Link
PPI++ estimators.PPIMeanEstimator [2] Link
Stratified Prediction-Powered Inference estimators.StratifiedPPIMeanEstimator [3]
Stratified Sampling samplers.StratifiedSampler [4] Link
Active Statistical Inference estimators.ASIMeanEstimator [5], [6] Link
Active Sampling samplers.ActiveSampler [5], [6] Link
Predict-Then-Debias estimators.PTDMeanEstimator, estimators.StratifiedPTDMeanEstimator, estimators.IPWPTDMeanEstimator [7] Link
Cluster Prediction-Powered Inference estimators.ClusterPPIMeanEstimator Link

References

[1] Angelopoulos, Anastasios N., Stephen Bates, Clara Fannjiang, Michael I. Jordan, and Tijana Zrnic. "Prediction-powered inference." Science 382, no. 6671 (2023): 669-674.

[2] Angelopoulos, Anastasios N., John C. Duchi, and Tijana Zrnic. "PPI++: Efficient prediction-powered inference." arXiv preprint arXiv:2311.01453 (2023).

[3] Fisch, Adam, Joshua Maynez, R. Alex Hofer, Bhuwan Dhingra, Amir Globerson, and William W. Cohen. "Stratified prediction-powered inference for effective hybrid evaluation of language models." Advances in Neural Information Processing Systems 37 (2024): 111489-111514.

[4] Fogliato, Riccardo, Pratik Patil, Mathew Monfort, and Pietro Perona. "A framework for efficient model evaluation through stratification, sampling, and estimation." In European Conference on Computer Vision, pp. 140-158. Cham: Springer Nature Switzerland, 2024.

[5] Zrnic, Tijana, and Emmanuel J. Candès. "Active statistical inference." In Proceedings of the 41st International Conference on Machine Learning, pp. 62993-63010. 2024.

[6] Gligorić, Kristina, Tijana Zrnic, Cinoo Lee, Emmanuel Candes, and Dan Jurafsky. "Can unconfident LLM annotations be used for confident conclusions?" In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 3514-3533. 2025.

[7] Kluger, Dan M., Kerri Lu, Tijana Zrnic, Sherrie Wang, and Stephen Bates. "Prediction-powered inference with imputed covariates and nonuniform sampling." arXiv preprint arXiv:2501.18577 (2025).

📬 Stay Updated

Follow our LinkedIn newsletter for updates on GLIDE and GenAI evaluation.

🏛️ Affiliation

Developed at Emerton Data.

Emerton Data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glide_py-0.7.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glide_py-0.7.0-py3-none-any.whl (73.8 kB view details)

Uploaded Python 3

File details

Details for the file glide_py-0.7.0.tar.gz.

File metadata

  • Download URL: glide_py-0.7.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for glide_py-0.7.0.tar.gz
Algorithm Hash digest
SHA256 ff618a10b301569de5a7a2abdf50a2365147dd8be3f62b68d81d2951f404609a
MD5 752d876f2f71530591e6d21c6824813b
BLAKE2b-256 89d45747ca813642748fff31a76922b66b64e8925f4e4617784ace843eadd2c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for glide_py-0.7.0.tar.gz:

Publisher: release.yml on EmertonData/glide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file glide_py-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: glide_py-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 73.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for glide_py-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48333c827748681a52349272842620770f6b0fa47ccee3dd55b6ca2722b99b98
MD5 4bc1bd430cd1e5ec6c050c236e855942
BLAKE2b-256 fcd28e825f8b7c67d970b122ae819cfeaa2e8c5eae5ba854787f2727166d1a04

See more details on using hashes here.

Provenance

The following attestation bundles were made for glide_py-0.7.0-py3-none-any.whl:

Publisher: release.yml on EmertonData/glide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page