ckyang1124/AudioLens

Official Repository for the ASRU 2025 paper "AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models"

7

stars

6

commits

Python

primary language

Aug 25, 2025

updated

README

🔬 AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models

The official GitHub page of the paper "AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models"

📢 News

  • [2025/08/11] Our paper is accepted to ASRU 2025! See you in Hawaii!

📚 Abstract

TL;DR: we investigate how information about auditory attributes (e.g., speaker gender, emotion) evolves inside large audio-language models (LALMs).

Understanding the internal mechanisms of large audio-language models (LALMs) is crucial for interpreting their behavior and improving performance. This work presents the first in-depth analysis of how LALMs internally perceive and recognize auditory attributes. By applying vocabulary projection on three state-of-the-art LALMs, we track how attribute information evolves across layers and token positions. We find that attribute information generally decreases with layer depth when recognition fails, and that resolving attributes at earlier layers correlates with better accuracy. Moreover, LALMs heavily rely on querying auditory inputs for predicting attributes instead of aggregating necessary information in hidden states at attribute-mentioning positions. Based on our findings, we demonstrate a method to enhance LALMs. Our results offer insights into auditory attribute processing, paving the way for future improvements.

🔎 Key Findings

  • Two contrasting internal trends emerge in LALMs, shaping the correctness of attribute recognition.

  • Recognition accuracy strongly correlates with the layers where attribute information is resolved.

  • Attribute-mentioning tokens fail to adequately consolidate relevant information, and LALMs still rely heavily on auditory inputs, potentially limiting their ability to perform more complex reasoning.

  • Building on these insights, we propose a preliminary method to enhance auditory attribute recognition in LALMs.

✒️ Methods

We adopt the Logit Lens techniques to study the internal information evolution of LALMs.

logo

🔧 Usages

Environments

Install the environement:

pip install -r requirements.txt

Datasets

Download the SAKURA benchmark from the official HuggingFace link.

Run Logit Lens on DeSTA2!

cd patchscopes/code
python run_logit_lens.py [with some arguments depending on the use case]

Codes for other models will be released soon!

🔖 Citation

If you find our paper helpful, please consider to cite our paper:

@article{yang2025audiolens,
  title={AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models},
  author={Yang, Chih-Kai and Ho, Neo and Lee, Yi-Jyun and Lee, Hung-yi},
  journal={arXiv preprint arXiv:2506.05140},
  year={2025}
}

Credits

This project is based on the code released with "Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Models".
We have modified and extended the original repository to support our experiments and analyses.
We thank the authors for making their implementation publicly available.

Contributors

ckyang1124

6 commits

ckyang1124/AudioLens

Official Repository for the ASRU 2025 paper "AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models"

7

stars

6

commits

Python

primary language

Aug 25, 2025

updated

README

🔬 AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models

The official GitHub page of the paper "AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models"

📢 News

  • [2025/08/11] Our paper is accepted to ASRU 2025! See you in Hawaii!

📚 Abstract

TL;DR: we investigate how information about auditory attributes (e.g., speaker gender, emotion) evolves inside large audio-language models (LALMs).

Understanding the internal mechanisms of large audio-language models (LALMs) is crucial for interpreting their behavior and improving performance. This work presents the first in-depth analysis of how LALMs internally perceive and recognize auditory attributes. By applying vocabulary projection on three state-of-the-art LALMs, we track how attribute information evolves across layers and token positions. We find that attribute information generally decreases with layer depth when recognition fails, and that resolving attributes at earlier layers correlates with better accuracy. Moreover, LALMs heavily rely on querying auditory inputs for predicting attributes instead of aggregating necessary information in hidden states at attribute-mentioning positions. Based on our findings, we demonstrate a method to enhance LALMs. Our results offer insights into auditory attribute processing, paving the way for future improvements.

🔎 Key Findings

  • Two contrasting internal trends emerge in LALMs, shaping the correctness of attribute recognition.

  • Recognition accuracy strongly correlates with the layers where attribute information is resolved.

  • Attribute-mentioning tokens fail to adequately consolidate relevant information, and LALMs still rely heavily on auditory inputs, potentially limiting their ability to perform more complex reasoning.

  • Building on these insights, we propose a preliminary method to enhance auditory attribute recognition in LALMs.

✒️ Methods

We adopt the Logit Lens techniques to study the internal information evolution of LALMs.

logo

🔧 Usages

Environments

Install the environement:

pip install -r requirements.txt

Datasets

Download the SAKURA benchmark from the official HuggingFace link.

Run Logit Lens on DeSTA2!

cd patchscopes/code
python run_logit_lens.py [with some arguments depending on the use case]

Codes for other models will be released soon!

🔖 Citation

If you find our paper helpful, please consider to cite our paper:

@article{yang2025audiolens,
  title={AudioLens: A Closer Look at Auditory Attribute Perception of Large Audio-Language Models},
  author={Yang, Chih-Kai and Ho, Neo and Lee, Yi-Jyun and Lee, Hung-yi},
  journal={arXiv preprint arXiv:2506.05140},
  year={2025}
}

Credits

This project is based on the code released with "Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Models".
We have modified and extended the original repository to support our experiments and analyses.
We thank the authors for making their implementation publicly available.

Contributors

ckyang1124

6 commits

Languages

Python

100.0%