Skip to main content

Fairness Adjusted ASR Score Metric

Project description

🎯 FAAS-Metric

FAAS (Fairness Adjusted ASR Score) is a fairness-aware evaluation metric for Automatic Speech Recognition (ASR) systems. It combines traditional ASR accuracy (like WER) with fairness evaluations across demographic groups to provide a holistic performance measure.


📦 Installation

pip install faas-metric

🚀 Usage

▶️ Python API

from faas_metric import compute_faas

# Example input
wer_list = [12.5, 15.0, 9.0]
speaker_metadata = [
    {"gender": "male", "first_language": "Hindi"},
    {"gender": "female", "first_language": "Tamil"},
    {"gender": "male", "first_language": "Bengali"}
]

# Compute FAAS score
faas = compute_faas(wer_list, speaker_metadata)
print(f"FAAS Score: {faas}")

🖥️ Command Line Interface (CLI)

faas --input path/to/data.csv --output path/to/result.json

📄 Input CSV Format

Your CSV should include:

  • A wer column (Word Error Rate)
  • Any number of fairness-related attributes like gender, first_language, ethnicity, etc.

Example:

wer,gender,first_language
12.5,male,Hindi
15.0,female,Tamil
9.0,male,Bengali

✅ Output

A JSON file (if --output is specified), or the FAAS score printed to the terminal:

{
  "faas_score": 88.0
}

📚 Citation

If you use this work in your research, please cite:

@inproceedings{rai2025asrfairbench,
  title={ASR-FAIRBENCH: Measuring and Benchmarking Equity Across Speech Recognition Systems},
  author={Rai, Anand and Rahangdale, Satyam and Anand, Utkarsh and Mukherjee, Animesh},
  booktitle={Proceedings of Interspeech},
  year={2025}
}

📄 License

This project is licensed under the MIT License.

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

faas_metric-0.1.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

faas_metric-0.1.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file faas_metric-0.1.3.tar.gz.

File metadata

  • Download URL: faas_metric-0.1.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for faas_metric-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a85d78d2c3d827befc5ec248990b8a0e48128387bc83bd2309de73923391dee5
MD5 fdf5d0bc512070718527d1ff1798bb25
BLAKE2b-256 42757d2ab99afe4577f997682e7b4694f4382ff62212f50569d18f9b81cae6b2

See more details on using hashes here.

File details

Details for the file faas_metric-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: faas_metric-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for faas_metric-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a5acd203bbe9f84c92a3f164d425d913e1d3fc28567e2f2df8c2f5639520eb45
MD5 e2942f3439ad338ccc1cd0d7a9e56665
BLAKE2b-256 5c462bc09003bebdee3f6aed99a08d8062843594371809efc6084a4b94a28a93

See more details on using hashes here.

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