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-1.0.1.tar.gz (4.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-1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: faas_metric-1.0.1.tar.gz
  • Upload date:
  • Size: 4.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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 75ff8ff85e7b73477330d19d23980d8bad983e4a8f1cb63d49acade8f7d0c60d
MD5 1fd8ceaa819583520cd5a1d3952b2a99
BLAKE2b-256 9a2ee621f7716c60978ae1705e3f10facf2a67b03070c8acc2485762758a6938

See more details on using hashes here.

File details

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

File metadata

  • Download URL: faas_metric-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c083bc5e9fbb7412a33b01a090adf706ffbb4baf8bf969e5df9fef6d7f357ac
MD5 217d166de94984bcc63ca6c24f525552
BLAKE2b-256 26b6d7f0611369065c4e691828e7ae73e8fce09fbef85eb45323a1402310bd23

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