Skip to content

ICLR papers

Search ICLR papers by title, author, or track. Open a paper’s abstract to read more.

Explore the ICLR analysis

Search results

2,101–2,120 of 2,664

  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    EvoFlows: Evolutionary Edit-Based Flow-Matching for Protein Engineering

    Shayan Aziznejad, Eli Bixby, Nicolas Deutschmann, Constance Ferragu, Jonathan Ziegler

    Abstract

    We introduce EvoFlows, a variable-length sequence-to-sequence protein modeling approach uniquely suited to protein engineering. Unlike autoregressive and masked language models, EvoFlows perform a limited, controllable number of insertions, deletions, and substitutions on a template protein sequence. In other words, EvoFlows predict not only which mutation to perform, but also where it should occur. Our approach leverages edit flows to learn mutational trajectories between evolutionarily-related protein sequences, simultaneously modeling distributions of related natural proteins and the mutational paths connecting them. Through extensive in silico evaluation on diverse protein communities from UNIREF and OAS, we demonstrate that EvoFlows capture protein sequence distributions with a quality comparable to leading masked language models commonly used in protein engineering, while showing improved ability to generate non-trivial yet natural-like mutants from a given template protein.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    MMAI Gym for Science: Training Liquid Foundation Models for Drug Discovery

    Maksim Kuznetsov, Zulfat Miftahutdinov, Rim Shayakhmetov, Mikołaj Mizera, Roman Schutski, Bogdan Zagribelnyy, Ivan Ilin, Nikita Bondarev, Mihir Bafna, Kaeli Kaymak-Loveless, Thomas MacDougall, Mathieu Reymond, Eugene Babin, Maxim Malkov, Mathias Lechner, Ramin Hasani, Alexander Amini, Vladimir Aladinskiy, Alex Aliper, Alex Zhavoronkov

    Abstract

    General-purpose large language models (LLMs) that rely on in-context learning do not reliably deliver the scientific understanding and performance required for drug discovery tasks. Simply increasing model size or introducing reasoning tokens does not yield significant performance gains. To address this gap, we introduce the MMAI Gym for Science, a one-stop shop molecular data formats and modalities as well as task-specific reasoning, training, and benchmarking recipes designed to teach foundation models the "language of molecules'' in order to solve practical drug discovery problems. We use MMAI Gym to train an efficient Liquid Foundation Model (LFM) for these applications, demonstrating that smaller, purpose-trained foundation models can outperform substantially larger general-purpose or specialist models on molecular benchmarks. Across essential drug discovery tasks -- including molecular optimization, ADMET property prediction, retrosynthesis, drug–target activity prediction, and functional group reasoning -- the resulting model achieves near specialist-level performance and, in the majority of settings, surpasses larger models, while remaining more efficient and broadly applicable in the domain.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    Optimizing Materials With CliqueFlowmer

    Jakub Kuba, Benjamin Miller, Sergey Levine, Pieter Abbeel

    Abstract

    Recent advances in deep learning inspired computational approaches to enhance material discovery (MD). A plethora of problems in this field involve finding materials that optimize a target property. Nevertheless, the increasingly popular generative modeling-based methods are ineffective at boldly exploring attractive regions of the material space due to their maximal likelihood training. In this work, we offer an alternative MD technique based on offline model-based optimization (MBO) that fuses direct optimization of a target material property into generation. For that end, we introduce a domain-specific model, dubbed CliqueFlowmer, that incorporates recent advances of clique-based MBO into transformer and flow generation. We validate CliqueFlowmer’s optimization abilities and show that materials it produces strongly outperform those provided by generative baselines.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    Does Aurora Encode Atmospheric Structure? Latent Regime Analysis and Attribution

    Emma Kasteleyn, Ana Lucic

    Abstract

    ML foundation models are able to emulate atmospheric dynamics accurately and efficiently but operate as opaque "black boxes''. We investigate the internal representations of the Aurora model using spatially pooled PCA and layer-wise relevance propagation (LRP). We find evidence that Aurora's latent space is primarily organized by seasonal cycles, whereas extreme storm events do not form a linearly separable cluster. LRP indicates that the model attends to features consistent with the 3D vertical structure of the Great Storm of 1987. Perturbation tests show masking relevant regions degrades forecasts $3.31\times$ more than random masking. These findings suggest that Aurora learns meteorological coherence and vertical structure without explicit instruction.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    Kraus Constrained Sequence Learning For Quantum Trajectories from Continuous Measurement

    Priyanshi Singh, Krishna Bhatia

    Abstract

    Real-time reconstruction of conditional quantum states from continuous measurement records is a fundamental requirement for quantum feedback control, yet standard stochastic master equation (SME) solvers are computationally expensive and sensitive to parameter mismatch. While Neural sequence models can fit these stochastic dynamics, the unconstrained predictors can violate physicality such as positivity or trace constraints, leading to unstable rollouts and unphysical estimates. We propose a Kraus-structured output layer that converts the hidden representation of a generic sequence backbone into a completely positive trace preserving (CPTP) quantum operation, yielding physically valid state updates by construction. We instantiate this layer across diverse backbones, RNN, GRU, LSTM, TCN, ESN and Mamba; including Neural ODE as a comparative baseline, on stochastic trajectories characterized by parameter drift. Our evaluation reveals distinct trade-offs between gating mechanisms, linear recurrence, and global attention. Across all models, Kraus-LSTM achieves the strongest results, improving state estimation quality by 7% over its unconstrained counterpart while guaranteeing physically valid predictions in non-stationary regimes.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    Single-Position Intervention Fails: Distributed Output Templates Drive In-Context Learning

    Bryan Cheng, Jasper Zhang

    Abstract

    Understanding how large language models encode task identity from few-shot demonstrations is a central open problem in mechanistic interpretability. Prior work uses linear probing to localize task representations, reporting high classification accuracy at specific layers. We reveal a striking dissociation: probing accuracy completely fails to predict causal importance. Single-position activation intervention achieves 0% task transfer across all 28 layers of Llama-3.2-3B—despite 100% probing accuracy at those same positions. This null result is itself a key finding, demonstrating that task encoding is fundamentally distributed. Multi-position intervention—replacing activations at all demonstration output tokens simultaneously—achieves up to 96% transfer (N=50, 95% CI: [87%, 99%]) at layer 8, pinpointing for the first time the causal locus of ICL task identity. We establish the generality of these findings across four models spanning three architecture families (LLaMA, Qwen, Gemma), discovering a universal intervention window at ∼30% network depth. Causal tracing uncovers an asymmetric architecture: the query position is strictly necessary (53–100% disruption) while no individual demonstration position is necessary (0% disruption)—resolving a key ambiguity in prior accounts. Crucially, transfer depends on internal representation compatibility, not surface similarity (r=−0.05 vs r=0.31), ruling out trivial explanations. These results establish the distributed template hypothesis: ICL task identity is encoded as output format templates distributed across demonstration tokens, fundamentally reshaping our understanding of how in-context learning operates.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    SNOOPPI: Sequence-Normalized Database of On- and Off-Target Protein-Protein Interactions

    Sophia Vincoff, Pranam Chatterjee

    Abstract

    The set of physical protein-protein interactions (PPIs) realized in a cell defines a functional proteome whose interaction patterns constrain and characterize cellular state. PPIs are therefore central means by which biological processes are executed and therapeutic interventions act. Here, we introduce SNOOPPI, a Sequence-Normalized database of On- and Off-target Protein-Protein Interactions, which represents the first unified dataset of binary PPIs that is isoform, post-translational modification, mutation, and binding site aware. By defining a PPI as a direct, physical interaction between two amino acid sequences, SNOOPPI overcomes several persistent limitations of existing PPI databases. SNOOPPI was curated from the IntAct database, taking full advantage of its experimental metadata and feature annotations to reclassify and uncover new PPIs. The final dataset comprises over 35.2K positive interactions and 5.3K negative interactions. SNOOPPI also retains 834.3K unresolved interactions, explicitly capturing gaps in the experimental literature. Beyond its usefulness as a reference dataset for the scientific community, SNOOPPI has the potential to serve as a high-confidence foundation for sequence-based modeling, benchmarking, and generative design of novel protein perturbations.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    Want to train KANS at scale? Now UKAN!

    Alireza Moradzadeh, Srimukh Veccham, Lukasz Wawrzyniak, Miles Macklin, Saee Paliwal

    Abstract

    While Kolmogorov–Arnold Networks (KANs) are powerful MLP alternatives, their reliance on bounded grids limits their scalability and domain range. We propose Unbounded Kolmogorov–Arnold Networks (UKANs), which utilize a coefficient-generator (CG) model to dynamically produce B-spline coefficients on an unbounded symmetric grid. By integrating positional encodings, UKANs enable function approximation without data normalization. To address computational overhead, we introduce warpKAN, a GPU-accelerated library that optimizes memory management and reduces B-spline complexity proportional to grid size. Benchmarks show a $3\text{--}30\times$ speed-up and up to $1000\times$ memory reduction over vanilla KANs. Experiments across regression, classification, and generative tasks—including molecular property prediction—confirm that UKANs match or exceed KAN accuracy while enabling large-scale, end-to-end training.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Foundation Models for Science: Real-World Impact and Science-First Design

    MOOSE: Targeted Small Molecule Generation via Multi-Objective-Guided Discrete Diffusion

    Elizabeth Mahood, William Pattie, Ethan Jones, Sophia Vincoff, Adi Mashiach, Pranam Chatterjee

    Abstract

    We introduce MOOSE, a Multi-Objective Optimization framework for property-driven Small-molecule Engineering using discrete diffusion. MOOSE builds on GenMol, a masked discrete diffusion model that generates molecules in a fragment-based token space, and adapts it to goal-directed molecular design through iterative fine-tuning toward desired property distributions. By scoring target binding affinity with a rapid, state-of-the-art sequence-based surrogate model (Bonbon), together with standard chemical heuristics for drug-likeness and synthetic accessibility, MOOSE enables scalable optimization without reliance on docking during generation. We evaluate MOOSE on a diverse set of protein targets relevant to therapeutic discovery. Across all targets, molecules generated by MOOSE achieve stronger predicted binding affinity compared to known reference ligands, while maintaining chemical diversity, synthesizability, and drug-likeness. Together, these results demonstrate that MOOSE can be directly integrated into practical small-molecule discovery pipelines, enabling scalable multi-objective optimization without docking-in-the-loop.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    Towards a more efficient bias detection in Financial Language Models

    Firas Hadj Kacem, Ahmed Khanfir, Mike Papadakis

    Abstract

    Bias in financial language models constitutes a major obstacle to their adoption in real-world applications. Detecting such bias is challenging, as it requires identifying inputs whose predictions change when varying properties unrelated to the decision, such as demographic attributes. Existing approaches typically rely on exhaustive mutation and pairwise prediction analysis over large corpora, which is effective but computationally expensive—particularly for large language models—and can become impractical in continuous retraining and releasing processes. Aiming at reducing this cost, we conduct a large-scale study of bias in five financial language models, examining similarities in their bias tendencies across protected attributes and exploring cross-model–guided bias detection to identify bias-revealing inputs earlier. Our study uses approximately 17k real financial news sentences, mutated to construct over 125k original–mutant pairs. Results show that all models exhibit bias under both atomic (0.58\%–6.05\%) and intersectional (0.75\%–5.97\%) settings. Moreover, we observe consistent patterns in bias-revealing inputs across models, enabling substantial reuse and cost reduction in bias detection. For example, up to 73\% of FinMA’s biased behaviors can be uncovered using only 20\% of the input pairs when guided by properties derived from DistilRoBERTa outputs.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    BENCHMARKING OPEN-SOURCE SAFETY GUARD MODELS: A COMPREHENSIVE EVALUATION

    Reetu Harsh, Joseph Thachil, Bhaskarjit Sarmah, Stefano Pasquali

    Abstract

    As Large Language Models (LLMs) are increasingly deployed in safety-critical applications, robust content moderation becomes essential. We present a compre- hensive evaluation of 14 open-source safety guard models on a curated benchmark of 79,331 samples spanning 8 NIST AI Risk Framework safety categories. Our benchmark aggregates four diverse datasets-HarmBench, StrongREJECT, Real- ToxicityPrompts, and BeaverTails-filtered to focus exclusively on safety-relevant content (violence, hate speech, harassment, sexual content, suicide/self-harm, pro- fanity, threats, and health misinformation). We find that recall is the critical metric for safety applications, as missing harmful content poses greater risk than false positives. Our evaluation reveals surprising results: Qwen Guard (4B param- eters) achieves the highest recall (83.97%) while larger models like Llama Guard (12B) and GPT-OSS Safeguard (20B) exhibit conservative behavior, missing up to 75% of unsafe content. We demonstrate that model size does not correlate with safety detection performance and that general-purpose guard models outperform specialized ones. These findings provide practical guidance for selecting safety guard models in production deployments.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    PRISM: Prompt-Refined In-Context System Modeling for Financial Retrieval

    Chun Chet Ng, Jia Yu Lim, Low Zeng

    Abstract

    With the rapid progress of large language models (LLMs), financial information retrieval has become a critical industrial application. Extracting task-relevant information from lengthy financial filings is essential for both operational and analytical decision-making. We present PRISM, a training-free framework that integrates refined system prompting, in-context learning (ICL), and lightweight multi-agent coordination for document and chunk ranking tasks. Our primary contribution is a systematic empirical study that characterizes when each component provides value; prompt engineering delivers consistent performance with minimal overhead, ICL enhances reasoning for complex queries when applied selectively, and multi-agent systems show potential primarily with larger models and careful architectural design. Extensive ablation studies across FinAgentBench, FiQA-2018, and FinanceBench reveal that simpler configurations often outperform complex multi-agent pipelines, providing practical guidance for practitioners. Our best configuration achieves an NDCG@5 of 0.71818 on FinAgentBench, ranking third while being the only training-free approach in the top three. We provide comprehensive feasibility analyses covering latency, token usage, and cost trade-offs to support deployment decisions. Code is ready for public release.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    TIRA: Technical Indicator-based Retrieval Augmentation for Large Language Model-driven Stock Trading

    Minje Kim, Keeheon Lee, Chi-Guhn Lee

    Abstract

    Stock trading is a non-stationary sequential decision-making problem where outcomes are horizon dependent and market history is long. Therefore, LLM agents rely on external memory and retrieval to construct decision context. However, standard semantic retrieval over text can be misaligned with the decision-relevant technical regime, since similar narratives may arise under different technical configurations and lead to divergent outcomes. This may create a context-state mismatch that LLMs cannot resolve from text similarity alone. We propose Technical Indicator-based Retrieval Augmentation (TIRA), a state-aligned retrieval design that replaces text-based keys with technical indicator-based state vectors and attaches realized multi-horizon payoff evidence across short-, mid-, and long-term horizons. This payoff evidence is injected into the decision context to support the LLM's decision. Across 8 heterogeneous U.S. stocks, TIRA improves cumulative return, Sharpe ratio, and maximum drawdown over reported LLM-based baselines, and ablations show that multi-horizon payoff is the primary driver of performance. This work contributes a retrieval design for LLM agents in non-stationary sequential decision making.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    THE SYSTEMIC FRAGILITY OF DISTILLED GRAPH MODELS IN FINANCIAL MARKETS

    Abhaya Trivedi, avni jain

    Abstract

    The deployment of Graph Neural Networks (GNNs) in financial markets is often constrained by high inference latency, necessitating knowledge distillation from a topological GNN to a structure-agnostic Multi-Layer Perceptron (MLP). This study investigates the systemic consequences of this architectural compression using a TwinMarket-inspired agent-based simulation (Yang et al., 2025) grounded in real-world shocks. We hypothesize that distilling relational intelligence into non-relational MLPs erodes structural awareness, rendering markets fragile to targeted misinformation. Our experiments reveal that while distilled MLPs preserve marginal predictive accuracy, they exhibit a 37% increase in price volatility and suffer from permanent price hysteresis under adversarial belief shocks. Furthermore, we observe that architectural compression facilitates an “unstable meritocracy”, where trading volume centralizes into a narrow elite of structure-blind agents. These findings expose a critical tension: the pursuit of computational efficiency through graph-to-MLP distillation directly compromises the relational inductive biases essential for maintaining systemic market resilience.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    Uncertainty-Gated Generative Modeling

    Xingrui Gu, Haixi Zhang

    Abstract

    Financial time-series forecasting is a high-stakes problem where regime shifts and shocks make point-accurate yet overconfident models dangerous. We propose Uncertainty-Gated Generative Modeling (UGGM), which treats uncertainty as an internal control signal that gates (i) representation via gated reparameterization, (ii) propagation via similarity × confidence routing, and (iii) generation via uncertainty-controlled predictive distributions, together with uncertainty-driven regularization and calibration to curb miscalibration. Instantiated on Weak Innovation AutoEncoder (WIAE-GPF), our UG-WIAE-GPF significantly improves risk-sensitive forecasting, delivering a 63.5\% MSE reduction on NYISO (0.3508 $\rightarrow$ 0.1281), with improved robustness under shock intervals (mSE: 0.2739 $\rightarrow$ 0.1748).

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    Computational Arbitrage in AI Model Markets

    Ricardo Dominguez-Olmedo, Bernhard Schölkopf, Moritz Hardt

    Abstract

    Consider a market of competing model providers selling query access to models with varying costs and capabilities. Customers submit problem instances and are willing to pay up to a budget for a verifiable solution. An arbitrageur repeatedly queries cheaper models to undercut the price of a more capable model, thus creating a competitive offering with no model-development risk. In this work, we initiate the study of arbitrage in AI model markets, empirically demonstrating the viability of arbitrage and illustrating its economic consequences. We conduct an in-depth case study of SWE-bench GitHub issue resolution using two representative models, Qwen Coder 30B and Qwen Coder 480B. In this setting, simple arbitrage strategies generate net profit margins of up to 40%. Robust arbitrage strategies that generalize across different domains remain profitable. Distillation further creates strong arbitrage opportunities, even when model providers strategically restrict access to cheaper models. Multiple competing arbitrageurs drive down consumer prices, reducing the marginal revenue of model providers. At the same time, arbitrage reduces market segmentation and facilitates market entry for smaller model providers by enabling earlier revenue capture. Our results suggest that arbitrage can be a powerful force in AI model markets with implications for model development, distillation, and deployment.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    From Natural Language to Executable Option Strategies via Large Language Models

    Haochen Luo, Zhengzhao Lai, Junjie Xu, YIFAN LI, Tang Hin, Yuan Zhang, Chen Liu

    Abstract

    Large Language Models (LLMs) excel at general code generation, yet translating natural-language trading intents into correct option strategies remains challenging. Real-world option design requires reasoning over massive, multi-dimensional option chain data with strict constraints, which often overwhelms direct generation methods. We introduce the Option Query Language (OQL), a domain-specific intermediate representation that abstracts option markets into high-level primitives under grammatical rules, enabling LLMs to function as reliable semantic parsers rather than free-form programmers. OQL queries are then validated and executed deterministically by an engine to instantiate executable strategies. We also present a new dataset for this task and demonstrate that our neuro-symbolic pipeline significantly improves execution accuracy and logical consistency over direct baselines.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    RobustFTS: Defending Financial Time-Series Models Against Adversarial Manipulation

    Mysore supreeth, Manish Mehta

    Abstract

    Deep learning models for financial time-series prediction are increasingly deployed in trading systems, yet their adversarial vulnerability remains poorly understood. We present RobustFTS, a defense framework combining: (i) volatility-scaled temporal randomization that injects noise proportional to local market volatility; (ii) financially-constrained adversarial training that restricts perturbations to market-realistic bounds; and (iii) a novel ensemble disagreement detector that exploits architecture-specific adversarial failures to flag attacks. RobustFTS achieves 73.2% robust prediction rate (60.8 percentage point improvement over the 12.4% baseline) with only 2% clean RMSE degradation, and detects attacks with 89.4% TPR at 5% FPR. We also find that foundation models (Lag-Llama, TimeGPT) are 18-21 percentage points more vulnerable than task-specific architectures. We release a robustness benchmark evaluating 6 architectures against 3 attack families. Scope: Evaluation focuses on intraday/next-day horizons; longer horizons and adaptive attacks require further study.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    Developing an ESG-Oriented Large Language Model through ESG Practices

    Gabriel Assis, ⋅, ⋅ Darian Rabbani, Edson Bollis, ⋅ Aline Paes

    Abstract

    Environmental, Social, and Governance (ESG) considerations play a central role in contemporary financial decision-making. In parallel, Large Language Model (LLM) applications in this domain have primarily emphasized well-defined discriminative tasks, such as classification or scoring, which have proven effective for structured analysis and benchmarking. However, this prevailing focus offers limited support for more interactive and generative ESG scenarios, where embedded domain knowledge and contextual understanding are essential. In this work, we propose an ESG-oriented adaptation pipeline for LLMs that integrates ESG principles not only as a target domain, but also as guiding constraints throughout training and evaluation. Building on the Qwen-3-4B architecture, we explore parameter-efficient adaptation strategies using Low-Rank Adaptation (LoRA) and the Instruction-Residual Method (IRM) to produce three ESG-specialized models. We evaluate the proposed models on ESG question answering under both zero-shot and knowledge-augmented settings, using a diverse set of generative, semantic, readability, and environmental impact metrics. Our results show that the ESG-adapted models consistently outperform their original counterparts and competitive baselines such as Llama-3 and Gemma-3 in zero-shot settings. Although limitations remain in tool-based knowledge integration, this work establishes a foundation for ESG-oriented language generation and highlights the importance of responsible, domain-aware LLM adaptation.

    Abstract source
  • ICLR · Workshop · The 2nd Workshop on Advances in Financial AI Workshop: Towards Agentic and Responsible Systems

    Benchmarking Large Language Models for Quebec Insurance: From Closed-Book to Retrieval-Augmented Generation

    David Beauchemin, Richard Khoury

    Abstract

    The digitization of insurance distribution in the Canadian province of Quebec, accelerated by legislative changes such as Bill 141, has created a significant "advice gap", leaving consumers to interpret complex financial contracts without professional guidance. While Large Language Models (LLMs) offer a scalable solution for automated advisory services, their deployment in high-stakes domains hinges on strict legal accuracy and trustworthiness. In this paper, we address this challenge by introducing AEPC-QA, a private gold-standard benchmark of 807 multiple-choice questions derived from official regulatory certification (paper) handbooks. We conduct a comprehensive evaluation of 51 LLMs across two paradigms: closed-book generation and retrieval-augmented generation (RAG) using a specialized corpus of Quebec insurance documents. Our results reveal three critical insights: 1) the supremacy of inference-time reasoning, where models leveraging chain-of-thought processing (e.g. o3, o1) significantly outperform standard instruction-tuned models; 2) RAG acts as a knowledge equalizer, boosting the accuracy of models with weak parametric knowledge by over 35 percentage points, yet paradoxically causing "context distraction" in others, leading to catastrophic performance regressions; and 3) a "specialization paradox", where massive generalist models consistently outperform smaller, domain-specific French fine-tuned ones. These findings suggest that while current architectures approach expert-level proficiency ($\sim$79\%), the instability introduced by external context retrieval necessitates rigorous robustness calibration before autonomous deployment is viable.

    Abstract source