- Category: D. Site Factory System Design
- English term: Automatic Speech Recognition (ASR / Whisper)
- Related: Local-First (Local Pipeline) · Asymmetric Tiered AI Architecture (Tier 1-3) · Task-Specific Benchmark · Deterministic Verification · Content-Addressable Hash Verification
General Meaning
Automatic Speech Recognition (ASR) is a core perceptual technology that analyzes recorded acoustic waveforms or audio streams and transcribes spoken utterances into machine-readable text. OpenAI's Whisper model represented a breakthrough in this domain, providing highly robust multilingual speech transcription trained across vast collections of diverse audio without requiring fine-tuning for standard accents or noisy backgrounds.
While traditional ASR architectures require streaming raw audio to external cloud vendor endpoints, native frameworks like MLX Whisper leverage Apple Silicon's unified memory, Metal GPU cores, and Neural Engine. This hardware-accelerated local execution enables lightning-fast, entirely offline transcription with zero bandwidth consumption, eliminating recurring API costs and ensuring absolute privacy for sensitive voice recordings.
Why It Matters
- Guaranteed audio data privacy: Voice memos and sensitive conversations are processed entirely within the local machine without transmitting raw acoustic data to third-party cloud servers.
- Zero usage-based API expenses: Transcribing hundreds of hours of recorded audio incurs no recurring per-minute cloud transcription fees, drastically reducing operational costs.
- Resilient offline operation: Decoupling transcription from internet availability ensures consistent processing latency and throughput regardless of network outages or external API throttling.
How the Site Factory Uses It
The Site Factory deploys Apple Silicon-optimized mlx-whisper across its local Mac hardware (Mac mini and Mac Studio), operating as a core capability within its lightweight Tier 1 single-shot local processing architecture (dashboard/site/index.html). The production environment locks the model to mlx-community/whisper-large-v3-mlx at pinned revision a4aaeec0... running under mlx-whisper (MLX 0.32.4), managed by honbu/bench_supply.py and detailed in ops/handoff-2026-11-06-bench-natural-loop.md.
To ensure rigorous performance tracking, the Site Factory periodically benchmarks case voice-asr-001 via tools/bench_voice_runtime.py for machine comparisons on llmonmac.com and mac-llm-bench. The benchmark verifies a fixed Japanese Kyoko synthetic audio sample (9.103s, 16kHz mono, 145,650 samples) using input SHA-256 validation and scores output Character Error Rate (CER). Before model inference runs, deterministic checks inspect waveform decoding via mlx_whisper.audio.load_audio and ensure the ffmpeg binary is present, rejecting empty executions under rules.md.
Caveats & Operational Rules
- General-purpose text LLMs cannot replace dedicated ASR: Text-only language models running in runtimes like Ollama cannot directly ingest raw audio waveforms; dedicated ASR models and waveform decoders like
ffmpegare strictly required. - Enforcing model revision and input hash parity: Benchmark validity and operational reproducibility require strictly pinning the exact model Git revision and confirming the SHA-256 hash of the input audio before executing scoring routines.
Related Terms
- Local-First (Local Pipeline)
- Asymmetric Tiered AI Architecture (Tier 1-3)
- Task-Specific Benchmark
- Deterministic Verification
- Content-Addressable Hash Verification
References
- Book: Apple MLX Whisper Open Source Documentation (No canonical print textbook)
Verified: 2026-11-08