NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LearnAFE: Circuit-Algorithm Co-Design Framework for Learnable Audio Analog Front-End

Jinhai Hu, Zhongyi Zhang, Cong Sheng Leow, Wang Ling Goh, Yuan Gao

TL;DR

This paper introduces "LearnAFE," a novel framework that jointly optimizes analog front-end (AFE) circuits and deep learning classifiers for audio keyword spotting. By treating the AFE's analog filter parameters as learnable, this approach achieves superior system-level performance, leading to higher accuracy with significantly reduced power and area compared to traditional, independently designed systems.

What Problem Does This Paper Address?

Designing efficient audio processing systems, especially for low-power edge devices, often involves a separation between the analog front-end (AFE) that captures and preprocesses the audio signal and the digital backend classifier that identifies keywords. This conventional approach, where the AFE and classifier are designed independently, leads to suboptimal system performance. The analog-to-digital converter (ADC) in digital feature extraction can be a power bottleneck, while analog feature extraction (FEx) using filterbanks, though more energy-efficient, requires careful tuning and optimization to work effectively with the downstream classifier. This paper tackles the challenge of achieving system-level optimization by co-designing the analog filterbank and the neural network classifier, aiming for both high accuracy and hardware efficiency.

Methods

The core innovation is a circuit-algorithm co-design framework called LearnAFE. This framework integrates the optimization of the analog front-end's transfer function with the training of a neural network classifier.

Here's a breakdown of the key methods:

  • Learnable Analog Front-End (AFE): Instead of using fixed analog filters, the parameters of a differential super source-follower bandpass filter (DSSF-BPF) bank are made "learnable." This means their values are adjusted during the training process.
  • Circuit-Algorithm Co-Design: The training loop optimizes both the classifier's performance and the AFE's circuit parameters simultaneously. This is achieved by mapping the learned transfer function parameters to actual circuit parameters (like current and capacitor sizes) using a CMOS technology PDK (Process Design Kit).
  • SNR-Aware Training: The training process explicitly considers varying Signal-to-Noise Ratios (SNRs) by mixing background noise into the training data. This makes the system more robust to noisy environments.
  • Co-designed Loss Function (LBPF): A novel loss function, LBPF, is introduced. It combines the standard cross-entropy loss for classification with terms that penalize power consumption (LP) and capacitor area (LA) of the AFE. This encourages the system to find efficient hardware solutions.
  • Hyperparameter Tuning: Bayesian Optimization (BO) is used to efficiently tune the hyperparameters of the co-design process, balancing accuracy and hardware constraints.
  • SPICE Simulation and Fine-tuning: After initial training, the learned AFE parameters are used to create a SPICE model for transistor-level simulation. This accounts for real-world circuit non-idealities. A final fine-tuning step adjusts only the classifier to compensate for any performance drop due to the transition from ideal transfer functions to SPICE models.

Datasets

The primary dataset used is the Google Speech Command Dataset (GSCD). This dataset is commonly used for keyword spotting tasks. The authors also mention using background noise audio files from the GSCD for SNR-aware training.

Key Insights and Ideas

  • System-Level Optimization is Crucial: Designing analog and digital components separately is inherently suboptimal. Jointly optimizing them unlocks significant improvements in both accuracy and efficiency.
  • Analog Filters Can Be "Learned": Making analog filter parameters adjustable during deep learning training allows the hardware to adapt to the specific features the classifier needs, rather than relying on pre-defined filter characteristics.
  • SNR-Aware Training is Key for Robustness: Explicitly training with noisy data significantly improves performance in real-world, noisy conditions, a critical factor for edge devices.
  • Hardware Constraints as Loss Terms: Incorporating power and area directly into the loss function is a powerful way to guide the optimization towards hardware-efficient solutions without sacrificing too much accuracy.
  • Adaptive Scaling Factors: Using scaling factors ($\phi_I$, $\phi_C$) for current and capacitance parameters helps manage large variations in parameter values during training, preventing vanishing/exploding gradients and enabling more stable optimization.

Key Results

  • High Accuracy: The LearnAFE framework achieved accuracies of 90.5% at 5 dB SNR and 94.2% at 20 dB SNR for a 10-keyword spotting task.
  • Significant Power and Area Reduction: Compared to a conventional approach where circuit parameters were tuned directly (as in prior work), LearnAFE achieved an 8.7% reduction in power and a 12.9% reduction in capacitor area.
  • Reduced Classifier Complexity: The system uses a lightweight classifier with only 22k parameters.
  • Improved Noise Resilience: SNR-aware training provided a substantial boost in accuracy at low SNRs (e.g., 38.4% improvement at 5 dB SNR compared to noise-free training).
  • Minimal Accuracy Drop from SPICE: The transition from ideal transfer functions to SPICE simulation resulted in only a minor accuracy drop (less than 0.2%), which was effectively recovered through fine-tuning.

Limitations and Future Work

  • Scalability of Analog Filters: While the framework is scalable, the performance of analog bandpass filters (number of channels, bandwidth) could become a bottleneck for more complex audio tasks.
  • SNR Range: The current approach is effective for low SNR scenarios, but achieving peak accuracy across a wider range of SNRs might require further enhancements.
  • Future Directions: The authors suggest exploring approximate computing techniques to further enhance energy efficiency while maintaining classification accuracy across a wider range of SNRs. They also highlight the potential for integrating this framework into more complex audio processing pipelines.

Summary updated

BibTeX
@article{hu2025learnafe,
  author = {Jinhai Hu and Zhongyi Zhang and Cong Sheng Leow and Wang Ling Goh and Yuan Gao},
  title = {{LearnAFE: Circuit-Algorithm Co-Design Framework for Learnable Audio Analog Front-End}},
  journal = {IEEE Trans. Circuits Syst. I Regul. Pap.},
  year = {2025},
  doi = {10.1109/tcsi.2025.3578606},
}
Figure