Manuscript Offprint
arXiv:2610.05394The Hidden States Cookbook: A Large-Scale Ablation Study for Noise-Robust Conversational Intent Classification in Industry
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Conversational database interfaces face a critical challenge: users naturally embed queries in conversational noise (greetings, politeness, off-topic remarks), which degrades intent classification accuracy and wastes computational resources. Despite advances in orchestration and retrieval strategies, a fundamental question remains unanswered: which pooling strategy maximizes intent classification accuracy under realistic conversational noise in production language models? This work addresses this gap through 360 controlled experiments spanning four pooling configurations (mean, max, last-token, attention, and FFT-augmented variants) using Llama-3.2-1B-Instruct on BANKING77 and CLINC150 datasets under clean/noisy conditions with ten random seeds. Key findings reveal that attention pooling consistently outperforms alternative strategies under noisy conditions ( F1 over the default), while mean pooling degrades performance by up to F1 points. Frequency-domain filtering does not produce consistent accuracy improvements and functions primarily as a structural variation rather than an accuracy-enhancing component. These results provide concrete, evidence-based guidance for building noise-robust conversational classifiers: attention pooling is recommended for noisy interfaces, mean pooling should be avoided, and last-token pooling is appropriate for clean-query scenarios.
1 Introduction
The rise of conversational database interfaces powered by Large Language Models (LLMs) has transformed how users access structured and unstructured data. In industrial settings such as manufacturing procurement, users must retrieve part specifications, supplier availability, compliance records, pricing histories, and lead times across heterogeneous databases, where even minor retrieval errors can have significant operational and financial consequences. Rather than writing Structured Query Language (SQL) queries, users increasingly interact conversationally (e.g., “Hey there! Can you pull up sales data from Q4? Thanks!” (Dai et al., 2024; Zhu et al., 2025)).
This conversational paradigm introduces a critical challenge: separating core database intent from conversational noise, including greetings, politeness markers, discourse fillers, and off-topic remarks. In systems such as Universal Query Engine (UQE) (Dai et al., 2024) and PlanGPT (Zhu et al., 2025), failure to isolate intent leads to retrieval mismatches, misrouting across specialized models (Lee et al., 2024), increased Application Programming Interface (API) costs, and degraded user experience. Accurate intent classification is therefore the foundational step for reliable conversational database systems.
Existing approaches address this challenge primarily through architectural orchestration, retrieval optimization, and confidence calibration. Retrieval-augmented generation (RAG) (Lewis et al., 2020), instruction fine-tuning (Han et al., 2025), and multistep reasoning via Chain-of-Thought prompting (Wei et al., 2022) improve downstream reasoning but do not directly resolve representation-level ambiguity introduced by conversational noise.
Despite extensive work on conversational database systems and routing strategies, a fundamental question remains insufficiently studied: how should token-level hidden states be pooled to maximize intent classification accuracy under realistic conversational noise? While mean, max, last-token, and attention-based pooling are widely used, no systematic evaluation isolates their impact in noisy, low-resource conversational LLM deployments typical of industrial settings.
This work addresses this research gap through 360 controlled experiments (10 seeds × nine experimental configurations × two datasets × two noise conditions), systematically evaluating standard pooling strategies and their variants augmented by Fast Fourier Transform (FFT) applied to transformer hidden states. Contrary to widespread practice, attention pooling consistently outperforms alternatives under conversational noise, while mean pooling degrades performance. Frequency-domain filtering yields no consistent accuracy improvements and does not enhance predictive performance relative to standard configurations.
These findings provide production-ready guidance for practitioners building noise-robust conversational database systems, particularly in industrial environments where classification accuracy directly translates to reduced API costs and fewer failed queries. Modular code is publicly available (Bogachov and Letov, 2026).
The remainder of this paper is structured as follows: Section 2 reviews related work on conversational database interfaces, pooling strategies, and frequency-domain methods. Section 3 outlines the method, covering the proposed ablation configurations. Section 4 presents experimental methodology and results. Section 5 provides conclusions and discusses the implications of this work.
2.1 Conversational database systems
The proposed method targets conversational database interfaces, where natural language queries must be robustly mapped to structured operations despite conversational noise. Recent systems address this challenge through architectural and retrieval-based strategies. OrchestraLLM (Lee et al., 2024) routes dialogue turns between fine-tuned small language models and large language models via nearest-neighbor retrieval over expert pools, improving accuracy while reducing LLM calls, though primarily evaluated in dialogue state tracking. UQE (Dai et al., 2024) extends SQL with natural-language predicates for querying unstructured data, combining multimodal embeddings, stratified sampling, and execution planning to reduce LLM usage while maintaining accuracy. For domain specialization, PlanGPT (Zhu et al., 2025) integrates domain-tuned embeddings, retrieval, instruction fine-tuning, and orchestration agents for urban planning tasks. Additionally, SQL-aware confidence estimation methods (Maleki et al., 2025) derive reliability scores directly from token-level probabilities.
2.2 Pooling strategies
Pooling aggregates token-level representations into fixed-size sequence representations for downstream classification. Common strategies include: (i) special-token pooling, such as using BERT's [CLS] representation for sequence classification (Devlin et al., 2019), (ii) last-token pooling, commonly used with decoder-only models, (iii) mean pooling (simple average across tokens) (Reimers and Gurevych, 2019), (iv) max pooling (per-dimension maximum) (Ennadir et al., 2025), and (v) attention-based pooling (learned weighted sum over tokens) (Chen et al., 2023).
While these pooling strategies are widely used, systematic comparisons remain sparse and domain-specific. BERT uses the final hidden representation of the special [CLS] token for sequence-level classification (Devlin et al., 2019). Recent work reveals substantial variation across tasks: some show that mean pooling is highly effective for BERT-based sentiment classification (Xing et al., 2025), while max pooling outperforms average and attention pooling for biomedical relation extraction in Natural Language Processing (NLP) models based on Convolutional Neural Networks (CNN) (Suárez-Paniagua and Segura-Bedmar, 2018). Recent comprehensive ablations (Ennadir et al., 2025) confirm that pooling choice critically impacts transformer performance across domains; however, these analyses do not explicitly target conversational intent classification or evaluate robustness under realistic conversational noise.
2.3 Frequency-domain methods
Frequency-domain filtering draws motivation from spectral bias theory (Rahaman et al., 2019), where neural networks prioritize low-frequency patterns. FNet (Lee-Thorp et al., 2022) replaced self-attention with 2D Fourier transforms, achieving 92–97% of BERT performance with 80% faster training. Recent work (Lao et al., 2024; Xu et al., 2020; Gao et al., 2024) applies frequency filtering to representations, inputs, and weights, demonstrating low-frequency components capture semantics while high-frequency components often represent noise. While prior work examines frequency filtering of intermediate representations (Lin et al., 2023) and attention-based pooling under noisy conditions (Brothers, 2025), no prior studies combine 1D FFT low-pass filtering of hidden state sequences with systematic pooling strategy ablation, particu-larly in low-resource conversational settings. The current study evaluates 1D FFT low-pass filtering of transformer hidden states prior to pooling, a setting that has not been systematically examined in prior frequency-based work, particularly for conversational intent classification.
In summary, this research fills the identified gaps through systematic evaluation under industrial constraints: limited labeled data, conversational noise, and deployment efficiency.
3 Method
3.1 Current chatbot architecture
This work is done in collaboration with Axya Inc. (Axya), an industry partner of the subject research group. Axya requires a robust conversational database system capable of retrieving engineering information from their databases. Figure 1 illustrates the current architecture of the chatbot pipeline. A user question is directly embedded using an LLM-based question embedder (AWS Titan) and compared against a set of predefined question embeddings. The top-k most similar predefined question-query-embedding triplets are selected, from which an LLM-based selector (Claude 3.7 Sonnet) chooses a single SQL query template. This template is then used to query a read-only replica of the main database. The retrieved results are passed to an LLM-based data compiler (Claude 3.7 Sonnet), which aggregates the information and generates the final response returned to the user.
However, the embedding computation, similarity matching against predefined queries, and subsequent selection introduce significant computational overhead; addressing this inefficiency motivates the proposed method described next.
3.2 Proposed intent classification pipeline
This subsection describes the lightweight intent classifier replacing the embedding+matching+selection pipeline (green blocks in Figure 1). The core contribution is a systematic evaluation of four pooling configurations with and without FFT filtering for transformer hidden state aggregation under conversational noise. Figure 2 illustrates the pipeline.
Hidden states are extracted from the decoder of Llama-3.2-1B-Instruct (Grattafiori et al., 2024). These are optionally FFT-filtered, pooled into sequence representations , and classified via a linear head.
3.2.1 Pooling strategies (primary ablation)
Four standard pooling strategies aggregate hidden states into fixed-size representations (Ennadir et al., 2025; Brothers, 2025):
Let denote hidden states, the pooled representation, the attention mask, and the sequence length, where indexes sequences in the batch and indexes token positions.
• Mean pooling: .
• Max pooling: , with padding masked as .
• Last-token pooling: , where .
• Attention pooling: , where and is learned.
3.2.2 FFT filtering (secondary ablation variant)
As a controlled ablation, 1D FFT low-pass filtering is optionally applied before pooling:
The low-pass mask retains the lowest frequency components, determined through preliminary ablation testing cutoff ratios from 10% to 100%. Cutoffs below 40% degraded performance due to excessive loss of semantic information, while higher ratios yielded no improvement over unfiltered baselines, indicating that high-frequency components contribute minimally to intent classification under conversational noise. For experimental simplicity, the cutoff was held fixed across all experiments. While adaptive or learnable spectral filtering may be promising, our objective was not to optimize frequency-domain methods, but to assess whether frequency filtering provides sufficient benefit to justify its inclusion in production intent classifiers. This setup isolates spectral noise removal as an orthogonal factor to pooling choice (Lin et al., 2023).
4 Experiments and results
4.1 Dataset
Experiments are conducted on two public intent classification benchmarks: BANKING77 (Casanueva et al., 2020) (13,083 queries

Figure 1: Overview of the chatbot pipeline. A user query is embedded and matched against predefined query templates. The selected template is used to query the database and results are compiled by an LLM to generate the final response. The blocks in green were substituted by the proposed method in Figure 2.
across 77 banking intents) and CLINC150 (Larson et al., 2019) (23,700 queries total: 22,500 in-scope queries covering 150 intents across 10 domains, plus 1,200 out-of-scope queries). BANKING77 serves as a proxy for the manufacturing procurement domain of the industry partner, while CLINC150 provides complementary multi-domain generalization and out-of-scope detection capabilities. Axya cannot share real customer conversations due to privacy, legal, and contractual constraints.
Evaluation is performed on both raw queries and synthetically noised variants designed to emulate realistic conversational inputs. Example noise transformations are provided in Appendix A.
4.2 Experimental design
The experiments systematically disentangle the effects of pooling strategy and frequency-domain filtering under fixed training conditions. Let denote the set of pooling operators and let indicate whether FFT low-pass filtering is applied. The nine experimental configurations are defined as:
where denotes the baseline configuration using default classification head with standard last-token pooling of Llama-3.2-1B-Instruct (Grattafori et al., 2024). For each remaining configuration , the classification pipeline is:
where denotes the optionally-filtered hidden states. Here,
| Configuration | Head | Pooling | FFT | |
|---|---|---|---|---|
| Baseline | Default | Last | ✕ | |
| Mean | Custom | Mean | ✕ | |
| Max | Custom | Max | ✕ | |
| Last-token | Custom | Last | ✕ | |
| Attention | Custom | Attention | ✕ | |
| FFT + Mean | Custom | Mean | ✓ | |
| FFT + Max | Custom | Max | ✓ | |
| FFT + Last-token | Custom | Last | ✓ | |
| FFT + Attention | Custom | Attention | ✓ |
Table 1: Complete experimental design matrix. is the baseline using the default Llama classification head; use a custom pooling head without filtering; add FFT low-pass filtering before pooling.
are raw hidden states from the final Llama layer, is from Eq. (1), is from Section 3.2.1, and are linear classifier parameters. When , this reduces to direct pooling of ; when , FFT filtering precedes pooling ().
This design isolates three effects:
-
Baseline : Default head performance and efficiency.
-
Pooling ablation : Effect of pooling strategy on raw hidden states.
-
FFT augmentation : Frequency filtering impact across pooling strategies.
Figure 2 and Table 1 provide visual and tabular overviews. All configurations use identical training regimes and inference pathways for fair comparison under low-resource conditions.
Table B.1 in Appendix B summarizes the training and adaptation hyperparameters used across

Figure 2: Overview of the nine experimental configurations. The shared backbone (input, tokenizer, Llama, H) feeds into three groups: (baseline with default head), (custom pooling head applied directly to H), and (FFT low-pass filtering applied before pooling, ).
all experiments. The setup reflects a low-resource, efficiency-oriented regime, combining parameter-efficient fine-tuning with early stopping and constrained checkpointing to minimize compute and storage overhead.
Experiments were executed on Linux nodes. Each training run used a single NVIDIA H100-80GB GPU with 1 CPU core and 16GB system RAM, and multiple such single-GPU jobs were launched concurrently to run different configurations in parallel.
Ten independent experiments are conducted per configuration using fixed, predefined seeds, with results reported as mean ± standard deviation across seeds in Table 2. Exact seeds are provided in Appendix C.
4.3 Results
Table 2 presents comprehensive results across all nine experimental configurations and four datasets (Clean/Noisy BANKING77, Clean/Noisy CLINC150), reporting F1 scores (mean ± std dev over 10 seeds) and FLOPs. All F1 scores are reported in percentage points. Figures D.1 and D.2 in Appendix D visualize F1 performance for all configurations.
4.3.1 Pooling performance under clean vs. noisy conditions
Custom pooling heads consistently outperform the default head across all datasets, with particularly strong improvements under noisy conditions.
Clean datasets systematically favor last-token pooling ( : F1=90.79 on BANKING77 and 89.56 on CLINC150). This aligns with the intuition that clean conversational inputs preserve intent signals in final tokens, where discourse markers and politeness phrases minimally corrupt the representation. The inferior performance of the default head ( : F1=88.80 on BANKING77 and 86.66 on CLINC150) despite using last-token pooling stems from two factors: (1) computing logits across all sequence positions before final-token selection introduces gradient noise during fine-tuning, and (2) suboptimal initialization of the default projection layer relative to the custom linear head trained end-to-end on pooled representations.
Noisy datasets, conversely, favor attention pooling ( : F1=90.31 on BANKING77 and 89.25 CLINC150), achieving 2.64% and 2.83% gains over the default, respectively. The learned token weighting mechanism of attention pooling dynamically suppresses conversational noise (greetings, hedging phrases, discourse markers), prioritizing intent-carrying tokens regardless of position.
4.3.2 FFT filtering effects
FFT low-pass filtering yields no consistent accuracy improvements over non-FFT counterparts. On clean datasets, FFT degrades performance (e.g., FFT-attention : F1=84.49 vs. attention : 90.74 on BANKING77 and FFT-attention : F1=86.79 vs. attention : 88.81 on CLINC150), as the 40% cutoff discards high-frequency components containing discriminative intent signals preserved in clean sequences. This signal loss explains
| Clean BANKING77 | Noisy BANKING77 | Clean CLINC150 | Noisy CLINC150 | |||||
|---|---|---|---|---|---|---|---|---|
| F1 (%) | Train FLOPs | F1 (%) | Train FLOPs | F1 (%) | Train FLOPs | F1 (%) | Train FLOPs | |
| default | 88.80 ± 0.98 | 2.95e17 ± 2.57e16 | 87.67 ± 0.64 | 2.91e17 ± 2.58e16 | 86.66 ± 1.15 | 3.60e17 ± 2.09e16 | 86.42 ± 1.56 | 3.73e17 ± 1.76e16 |
| custom mean | 88.65 ± 0.54 | 3.97e17 ± 3.26e16 | 86.43 ± 0.53 | 4.09e17 ± 1.91e16 | 83.11 ± 1.25 | 4.97e17 ± 2.14e16 | 83.66 ± 1.59 | 4.94e17 ± 4.84e16 |
| custom max | 89.63 ± 0.39 | 3.96e17 ± 2.10e16 | 88.89 ± 0.37 | 3.83e17 ± 1.71e16 | 88.26 ± 1.16 | 4.72e17 ± 2.37e16 | 88.88 ± 0.98 | 4.94e17 ± 3.93e16 |
| custom last | 90.79 ± 0.37 | 2.73e17 ± 1.97e16 | 89.97 ± 0.50 | 2.80e17 ± 1.96e16 | 89.56 ± 0.58 | 3.26e17 ± 1.79e16 | 88.78 ± 0.71 | 3.45e17 ± 1.02e16 |
| custom attention | 90.74 ± 0.43 | 2.85e17 ± 2.28e16 | 90.31 ± 0.36 | 2.98e17 ± 2.02e16 | 88.81 ± 0.98 | 3.18e17 ± 1.81e16 | 89.25 ± 1.12 | 3.22e17 ± 2.11e16 |
| custom FFT mean | 82.17 ± 2.30 | 3.96e17 ± 2.08e16 | 86.38 ± 0.51 | 4.05e17 ± 2.25e16 | 83.25 ± 1.55 | 5.00e17 ± 2.29e16 | 83.82 ± 1.65 | 5.03e17 ± 4.52e16 |
| custom FFT max | 89.07 ± 0.59 | 4.03e17 ± 1.68e16 | 88.37 ± 0.92 | 3.76e17 ± 4.10e16 | 86.84 ± 0.99 | 4.75e17 ± 2.43e16 | 87.75 ± 1.11 | 4.66e17 ± 1.92e16 |
| custom FFT last | 90.42 ± 0.51 | 2.78e17 ± 2.09e16 | 89.33 ± 0.62 | 2.76e17 ± 2.08e16 | 86.95 ± 1.08 | 3.19e17 ± 1.22e16 | 87.69 ± 1.00 | 3.51e17 ± 1.64e16 |
| custom FFT attention | 84.49 ± 0.81 | 2.76e17 ± 2.29e16 | 90.19 ± 0.35 | 2.88e17 ± 2.20e16 | 86.79 ± 1.04 | 3.23e17 ± 2.48e16 | 88.32 ± 0.89 | 3.30e17 ± 2.44e16 |
Table 2: Performance metrics (F1 scores and training FLOPs) across experiment configurations for each dataset.
the expected F1 drop, since low-pass filtering removes fine-grained token distinctions critical for precise classification.
On noisy datasets, FFT-attention ( ) approaches non-FFT attention performance ( ) ( on BANKING77 and -0.93 on CLINC150) while achieving similar performance with marginally reduced compute in some settings. The modest F1 degradation suggests that FFT suppresses dominant noise components without substantially harming core intent representations.
FFT variants do not consistently improve accuracy over their non-FFT counterparts, and the observed differences are small relative to run-to-run variation, indicating negligible accuracy benefits overall.
4.3.3 Efficiency characteristics
All configurations exhibit comparable training FLOPs (2.73–5.03×10), with FFT and non-FFT variants demonstrating similar computational profiles across datasets.
4.3.4 Robustness
Across seeds and both datasets, the ranking is consistent (attention best under noise; last-token best on clean inputs), indicating the effects are not seed-dependent. Code is available (Bogachov and Letov, 2026).
5 Conclusion
This study examines intent classification in conversational database interfaces under user-generated noise. Across 360 controlled experiments (nine experimental configurations, four datasets – Clean/Noisy BANKING77 and CLINC150 – and ten seeds), it provides evidence-based guidance for practice.
Results reveal that custom attention pooling performs best under noisy conditions (F1 = 90.31 / 89.25 on BANKING77 / CLINC150; +2.64 / +2.83 over default), learning to suppress greetings and discourse markers while preserving intent-bearing tokens. Last-token pooling dominates clean datasets (F1 = 90.79 / 89.56 on BANKING77 / CLINC150; +1.99 / +2.90 over default), benefiting from stable end-position intent signals absent in the default head's logit computation.
FFT low-pass filtering yields no accuracy gains and degrades clean performance via discriminative signal loss.
The findings have practical implications for industrial applications: use attention pooling for noisy or multi-turn conversational inputs; reserve last-token pooling for short, clean queries; avoid mean pooling due to consistent degradation; apply max pooling only when intent hinges on a few highly discriminative tokens; FFT filtering can be considered as a structural alternative, with accuracy differences remaining small and computational costs comparable to standard configurations.
The conclusions are derived from public intent benchmarks with synthetic conversational noise and a constrained model setting (Llama-3.2-1B-Instruct with a fixed FFT cutoff), and may not fully capture all production noise patterns or domain-specific intent taxonomies. A detailed discussion of limitations and transfer considerations is provided in Appendix E.
These findings address a key upstream bottleneck for orchestration, retrieval, and SQL generation pipelines, all dependent on accurate first-step intent classification. For manufacturing procurement platforms and similar systems, attention pooling is recommended as the default for noisy interfaces, with last-token pooling limited to clean-query scenarios. The modular classification head integrates with parameter-efficient adaptation (e.g., LoRA), and all code is publicly available (Bogachov and Letov, 2026), establishing a reproducible baseline for noise-robust LLM classifiers.
Acknowledgments
This research work is supported by grants from the Natural Sciences and Engineering Research Council of Canada and the Digital Research Alliance of Canada. This research work is supported by the Natural Sciences and Engineering Research Council of Canada Discovery Grant RGPIN-2018-05971, the McGill Engineering Doctoral Award (MEDA), and Mitacs Accelerate Grant IT46100. The authors thank the Digital Research Alliance of Canada for providing computational resources through Compute Canada. The authors also thank Oleg Miroshnichenko for inspiration and support.
References
Bogdan Bogachov and Nikita Letov. 2026. bogdanbogachov/orchestra_: v1.0.0.
Greyson Brothers. 2025. Robust noise attenuation via adaptive pooling of transformer outputs. In Proceedings of Machine Learning Research, volume 267, pages 5594–5614.
Iñigo Casanueva, Tadas Temčinas, Daniela Gerz, Matthew Henderson, and Ivan Vulić. 2020. Efficient intent detection with dual sentence encoders. In Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, pages 38–45, Online. Association for Computational Linguistics.
Fang Chen, Gourav Datta, Souvik Kundu, and Peter A. Beerel. 2023. Self-attentive pooling for efficient deep learning. In Proceedings - 2023 IEEE Winter Conference on Applications of Computer Vision, WACV 2023, pages 3963–3972, Waikoloa, Hawaii, USA.
Hanjun Dai, Bethany Yixin Wang, Xingchen Wan, Bo Dai, Sherry Yang, Azade Nova, Pengcheng Yin, Phitchaya Mangpo Phothilimthana, Charles Sutton, and Dale Schuurmans. 2024. UQE: A query engine for unstructured databases. In Proceedings of the 38th International Conference on Neural Information Processing Systems, volume 37, Vancouver, British Columbia, Canada.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics.
Sofiane Ennadir, Levente Zólyomi, Oleg Smirnov, Tianze Wang, John Pertoft, Filip Cornell, and Lele Cao. 2025. Pool me wisely: On the effect of pooling in transformer-based models. In Advances in
Neural Information Processing Systems, San Diego, California, USA.
Ziqi Gao, Qichao Wang, Aochuan Chen, Zijing Liu, Bingzhe Wu, Liang Chen, and Jia Li. 2024. Parameter-efficient fine-tuning with discrete Fourier transform. In ICML'24: Proceedings of the 41st International Conference on Machine Learning, pages 14884–14901, Vienna, Austria.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, and 542 others. 2024. The Llama 3 herd of models. CoRR, abs/2407.21783.
Xudong Han, Junjie Yang, Tianyang Wang, Ziqian Bi, Xinyuan Song, Junfeng Hao, and Junhao Song. 2025. Towards alignment-centric paradigm: A survey of instruction tuning in large language models. Preprint, arXiv:2508.17184.
An Lao, Qi Zhang, Chongyang Shi, Longbing Cao, Kun Yi, Liang Hu, and Duoqian Miao. 2024. Frequency spectrum is more effective for multimodal representation and fusion: A multimodal spectrum rumor detector. In Proceedings of the Thirty-Eighth AAAI Conference on Artificial Intelligence, volume 38, pages 18426–18434, Vancouver, British Columbia, Canada.
Stefan Larson, Anish Mahendran, Joseph J. Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K. Kummerfeld, Kevin Leach, Michael A. Laurenzano, Lingjia Tang, and Jason Mars. 2019. An evaluation dataset for intent classification and out-of-scope prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 1311–1316, Hong Kong, China. Association for Computational Linguistics.
Chia-Hsuan Lee, Hao Cheng, and Mari Ostendorf. 2024. OrchestraLLM: Efficient orchestration of language models for dialogue state tracking. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 1434–1445, Mexico City, Mexico. Association for Computational Linguistics.
James Lee-Thorp, Joshua Ainslie, Ilya Eckstein, and Santiago Ontañón. 2022. FNet: Mixing tokens with Fourier transforms. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4296–4313, Seattle, United States. Association for Computational Linguistics.
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Hein-rich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, volume 33, pages 9459–9474, Vancouver, British Columbia, Canada.
Shiqi Lin, Zhizheng Zhang, Zhipeng Huang, Yan Lu, Cuiling Lan, Peng Chu, Quanzeng You, Jiang Wang, Zicheng Liu, Amey Parulkar, Viraj Navkal, and Zhibo Chen. 2023. Deep frequency filtering for domain generalization. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, volume 2023-June, pages 11797–11807, Vancouver, British Columbia, Canada.
Sepideh Entezari Maleki, Mohammadreza Pourreza, and Davood Rafiei. 2025. Confidence estimation for Text-to-SQL in large language models. Preprint, arXiv:2508.14056.
Nasim Rahaman, Aristide Baratin, Devansh Arpit, Felix Draxler, Min Lin, Fred Hamprecht, Yoshua Bengio, and Aaron Courville. 2019. On the spectral bias of neural networks. In International conference on machine learning, pages 5301–5310, Long Beach, California, USA. PMLR.
Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992, Hong Kong, China. Association for Computational Linguistics.
Víctor Suárez-Paniagua and Isabel Segura-Bedmar. 2018. Evaluation of pooling operations in convolutional architectures for drug-drug interaction extraction. BMC Bioinformatics, 19:39–47.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, and 1 others. 2022. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, volume 35, pages 24824–24837, New Orleans, Louisiana, USA.
Jinming Xing, Dongwen Luo, Chang Xue, and Ruilin Xing. 2025. Comparative analysis of pooling mechanisms in llms: A sentiment analysis perspective. Preprint, arXiv:2411.14654.
Kai Xu, Minghai Qin, Fei Sun, Yuhao Wang, Yen-Kuang Chen, and Fengbo Ren. 2020. Learning in the frequency domain. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 1740–1749, Seattle, Washington, USA.
He Zhu, Junyou Su, Minxin Chen, Wen Wang, Yijie Deng, Guanhua Chen, and Wenjia Zhang. 2025. PlanGPT-VL: Enhancing urban planning with domain-specific vision-language models. In Proceedings of the 2025 Conference on Empirical Methods in
Natural Language Processing: Industry Track, pages 2461–2483, Suzhou, China. Association for Computational Linguistics.
A Experimental details
To emulate realistic conversational inputs, synthetic noise is applied to both BANKING77 and CLINC150 queries while preserving the original intent. The noise injection procedure augments queries with natural conversational artifacts, including greetings, contextual clauses, self-corrections, follow-up questions, soft urgency markers, and occasional mild typos. Distinct noise styles are applied to each dataset as well as training and test sets to induce a controlled distribution shift.
Example noise transformations:
• "What can you do to unblock my pin?" → "I'm receiving an error message – What can you do to unblock my pin?"
• "I accidentally made a transaction to the wrong account." → "I accidentally made a transaction to the wrong account. could you confirm what is happening?"
This augmentation targets conversational realism rather than adversarial corruption.
B Training hyperparameters
| Component | Setting |
|---|---|
| LoRA configuration | |
| Rank (r) | 4 |
| Scaling factor (α) | 16 |
| Target modules | q_proj, v_proj |
| LoRA dropout | 0.1 |
| Bias | None |
| Training setup | |
| Max sequence length | 512 |
| Training epochs (max) | 45 |
| Learning rate | |
| LR scheduler | Cosine |
| Warmup ratio | 0.1 |
| Precision | FP16 |
| Batching | |
| Per-device train batch size | 48 |
| Per-device eval batch size | 48 |
| Effective batch size | 48 |
| Gradient accumulation | Auto |
| Evaluation and early stopping | |
| Evaluation strategy | Every 25 steps |
| Early stopping patience | 3 |
| Early stopping threshold | |
| Metric for selection | Validation loss |
| Load best model | Yes |
| Checkpointing | |
| Save strategy | Every evaluation step |
| Max checkpoints kept | 3 |
Table B.1: Training hyperparameters used in all experiments. The setup emphasizes parameter efficiency, early convergence, and reduced computational overhead.
C Initialization seeds
All experiments were repeated with 10 fixed random seeds to ensure reproducibility. Seeds used: 42, 123, 456, 789, 1011, 1213, 1415, 1617, 1819, 2021.
D Supplementary bar charts

Figure D.1: Mean ± standard deviation F1 scores across all experiments on the BANKING77 dataset.

Figure D.2: Mean ± standard deviation F1 scores across all experiments on the CLINC150 dataset.
E Limitations
This study evaluates pooling strategies for intent classification under synthetic conversational noise in a controlled experimental setting. Although the results are consistent across 360 runs, several limitations should be noted.
The experiments rely on public benchmarks (BANKING77 and CLINC150) that serve only as proxies for industrial conversational database applications. Domain-specific intent structures, alphanumeric identifiers, and schema constraints common in real deployments are not fully represented in these datasets, so absolute performance and effect sizes may differ in production.
The noisy condition is generated via rule-based augmentation and may not fully reflect real traffic, which can include code-switching, speech-to-text errors, domain jargon, incomplete fragments, multi-intent turns, and adversarial or non-cooperative inputs. The relative ranking of pooling strategies may therefore shift under different noise distributions.
All experiments are conducted using Llama-3.2-1B-Instruct with a linear classification head and parameter-efficient fine-tuning. Results may not directly transfer to larger models, different architectures, or alternative layer-aggregation strategies, and pooling is applied only to final-layer hidden states.
FFT filtering is evaluated using a fixed 40% low-pass cutoff selected through preliminary sweeps. This simplifies comparison but does not explore adaptive or learnable spectral approaches that could behave differently across datasets, sequence lengths, or noise types.
Finally, evaluation emphasizes offline F1 and training compute rather than end-to-end deployment metrics such as inference latency, routing accuracy within orchestration pipelines, downstream SQL correctness, user satisfaction, monitoring overhead, or operational cost. While code is provided, exact reproducibility may vary across hardware and software environments.