Published
-
Regulating Explainable Artificial Intelligence (XAI) May Harm Consumers
Behnam Mohammadi, Nikhil Malik, Tim Derdenger, and Kannan Srinivasan
Marketing Science, 44(3), 711–724, 2025Abstract
The most recent artificial intelligence (AI) algorithms lack interpretability. Explainable artificial intelligence (XAI) aims to address this by explaining AI decisions to customers. Although it is commonly believed that the requirement of fully transparent XAI enhances consumer surplus, our paper challenges this view. We present a game-theoretic model where a policymaker maximizes consumer surplus in a duopoly market with heterogeneous customer preferences. Our model integrates AI accuracy, explanation depth, and method. We find that partial explanations can be an equilibrium in an unregulated setting. Furthermore, we identify scenarios where customers’ and firms’ desires for full explanation are misaligned. In these cases, regulating full explanations may not be socially optimal and could worsen the outcomes for firms and consumers. Flexible XAI policies outperform both full transparency and unregulated extremes.
-
Analyzing the Role of Apple-Samsung Lawsuits on Pricing and Marketing Strategies of the Two Companies
Behnam Mohammadi and Masoud Talebian
New Marketing Research Journal, 9(4), 171–205, 2020Abstract
The purpose of this research was to analyze the effects of Apple-Samsung lawsuits on the two companies’ pricing and marketing strategies. This study was practical in nature and was considered a descriptive case-study research. To this end, legal cases between the two companies during 2011-2018 were investigated, and more specifically, 13 of them with public access during 2011-2012 were scrutinized. Furthermore, historical data of the two companies’ product prices and smartphone market penetration in the United States and other countries in the dispute were extracted. The main focus of this research was on utilizing the game theory concepts for modeling the litigations. First, a game of ‘building a case against the competitor’ was identified followed by another game of ‘infringing or not infringing the competitor’s patent(s)’. It has been shown that the latter was the source of another infinite recurring sequence of games that, according to the Forgiving Trigger Strategy, has led to the desired outcome for both companies. Perusing the financial outcomes of the lawsuits and heeding the fact that net profits of the two companies were negligible, other factors were identified including an increase in the market share and the prevention of price-wars over the creation of these lawsuits. In this regard, the goal of the two companies was to increase the customer lifetime value. Also, the reasons for stopping further prosecutions by the two companies were studied, and the question of why Apple never engaged in a direct legal dispute with Google itself– the creator of the Android operating system– was analyzed. Finally, some predictions were made about the likelihood of new patent wars.
Working Papers
-
Token Noise and the Illusion of Preference: A Shapley Value Framework for Auditing LLM-Simulated Choice Experiments
Behnam Mohammadi · 2024 · arXiv · Video PresentationAbstract
Large language models are increasingly used to simulate human respondents in choice experiments, yet their answers depend on the exact tokens of a prompt rather than on the offered products alone. I show that invisible characters, blank lines, or minor wording changes shift or reverse simulated choice probabilities. This sensitivity, which I term token noise, creates an illusion of preference and exposes studies to prompt hacking. I introduce a Shapley value audit that divides a model’s choice response among the pieces of its prompt and reads each share beside the effect of removing that piece. The edit game divides the effect of several wording and formatting changes beside an actual price change. The word game divides a prompt’s response across its words or tokens and summarizes the credit earned by the product attributes as the attribute share. Across four open-weight models and three product categories, wording and formatting edits could rival a substantive price change, while product attributes consistently received a minority of the word-level credit, sometimes less than the answer instruction. Framing cues could take credit from the very price they emphasized and frequently vanished or reversed across equivalent wordings of the question. A persona (even a bare statement that the respondent is a consumer) also shifted choice probabilities and the attributes’ credit. Declared with its “players,” reference, scale, and uncertainty, my audit separates what a simulated respondent prefers from how the question was asked, the distinction a study must draw before it reads a simulated choice as a preference.
-
Creativity Has Left the Chat: The Price of Debiasing Language Models
Behnam Mohammadi · 2024 · arXiv · Video PresentationAbstract
Large Language Models (LLMs) have revolutionized natural language processing but can exhibit biases and may generate toxic content. While alignment techniques like Reinforcement Learning from Human Feedback (RLHF) reduce these issues, their impact on creativity, defined as syntactic and semantic diversity, remains unexplored. We investigate the unintended consequences of RLHF on the creativity of LLMs through three experiments focusing on the Llama-2 series. Our findings reveal that aligned models exhibit lower entropy in token predictions, form distinct clusters in the embedding space, and gravitate towards “attractor states”, indicating limited output diversity. Our findings have significant implications for marketers who rely on LLMs for creative tasks such as copywriting, ad creation, and customer persona generation. The trade-off between consistency and creativity in aligned models should be carefully considered when selecting the appropriate model for a given application. We also discuss the importance of prompt engineering in harnessing the creative potential of base models.
-
Pel, A Programming Language for Orchestrating AI Agents
Behnam Mohammadi · 2025 · arXivAbstract
The proliferation of Large Language Models (LLMs) has opened new frontiers in computing, yet controlling and orchestrating their capabilities beyond simple text generation remains a challenge. Current methods, such as function/tool calling and direct code generation, suffer from limitations in expressiveness, scalability, cost, security, and the ability to enforce fine-grained control. This paper introduces Pel, a novel programming language specifically designed to bridge this gap. Inspired by the strengths of Lisp, Elixir, Gleam, and Haskell, Pel provides a syntactically simple, homoiconic, and semantically rich platform for LLMs to express complex actions, control flow, and inter-agent communication safely and efficiently. Pel’s design emphasizes a minimal, easily modifiable grammar suitable for constrained LLM generation, eliminating the need for complex sandboxing by enabling capability control at the syntax level. Key features include a powerful piping mechanism for linear composition, first-class closures enabling easy partial application and functional patterns, built-in support for natural language conditions evaluated by LLMs, and an advanced Read-Eval-Print-Loop (REPeL) with Common Lisp-style restarts and LLM-powered helper agents for automated error correction. Furthermore, Pel incorporates automatic parallelization of independent operations via static dependency analysis, crucial for performant agentic systems. We argue that Pel offers a more robust, secure, and expressive paradigm for LLM orchestration, paving the way for more sophisticated and reliable AI agentic frameworks.
-
BEACON: Business Enhancement through Adaptive COordinated Networks
Behnam Mohammadi · 2025 · SSRNAbstract
Artificial intelligence (AI) is rapidly altering competitive landscapes across industries, providing substantial advantages to large corporations through sophisticated generative AI systems. Meanwhile, small and family-owned businesses, constrained by limited resources and technological capabilities, face an increasing competitive disadvantage. Addressing this challenge, our research introduces BEACON (Business Enhancement through Adaptive Coordinated Networks), an innovative framework employing networks of coordinated and self-adaptive AI agents designed to simulate essential business departments. Using a hierarchical agent-based paradigm, BEACON distributes specialized knowledge across marketing, finance, human resources, and strategic planning agents, which collaborate seamlessly to derive actionable insights for business owners. We implement BEACON through a novel embedded Python-based programming language (Pel), specifically designed for efficient and expressive orchestration of generative AI agents. Key benefits demonstrated by BEACON include enhanced transparency, reduced computing costs, improved privacy and confidentiality of sensitive business data, and adaptive capabilities enabling agents’ continuous self-improvement and learning. Experimental validations illustrate the superiority of BEACON over traditional single-model generative AI approaches in terms of information retrieval accuracy, cost-efficiency, and interpretability. Our research contributes practically to the democratization of AI-driven business intelligence solutions, empowering smaller businesses to remain competitive, while also offering theoretical insights into adaptive multi-agent generative systems within quantitative marketing scholarship.
Dissertation
-
Human-AI Interaction in the Era of Large Language Models (LLMs)
Behnam Mohammadi
Carnegie Mellon University, 2025Abstract
The first chapter, joint work with Nikhil Malik, Tim Derdenger, and Kannan Srinivasan, challenges conventional wisdom regarding eXplainable AI (XAI) regulations such as GDPR. Through a game-theoretic model examining XAI methods and levels in a duopoly market with heterogeneous customer preferences, we demonstrate that partial explanations can emerge as an equilibrium in unregulated settings. Importantly, we identify conditions where mandating full explanations through regulation may actually harm consumer surplus rather than enhance it. This finding holds across various policy levers (strict, self-regulating, and lower bound), regardless of firms’ choice of XAI methods and policy objectives including welfare maximization, consumer surplus, and average XAI depth. Our comparative analysis reveals that while strict XAI policies ensure uniform explanation depth, they potentially limit firms’ capacity for differentiation and innovation. Conversely, unregulated XAI, while offering maximum flexibility, may fail to guarantee minimum explanation depth for all consumers. The introduction of flexible approaches—self-regulating XAI and lower-bounded XAI—results in higher consumer welfare than either unregulated or full XAI policies. This research urges policymakers to consider a more nuanced approach when crafting XAI regulations, as a one-size-fits-all policy across all markets, particularly one mandating full explanation, may not yield the desired outcomes. For firms operating in these markets, the optimal strategy may not be to provide full explanations, as partial explanations can emerge as equilibrium strategies that better serve their competitive positioning while still addressing consumer needs.
The second chapter addresses the growing use of LLMs as simulated consumers in marketing research. I develop a novel approach based on Shapley values from cooperative game theory to interpret LLM behavior and quantify the relative contribution of prompt components to model outputs. Through applications in discrete choice experiments and cognitive bias investigations, I uncover what I term the “token noise” effect—a phenomenon where LLM decisions are disproportionately influenced by tokens providing minimal informative content (such as empty lines in a questionnaire!). This finding provides a theoretical foundation for understanding how LLMs process information and make decisions, revealing fundamental differences from human cognition that must be accounted for in marketing research. For marketers employing LLMs for consumer simulation, this raises significant concerns about the validity of using LLMs as proxies for human subjects and necessitates rigorous validation procedures when using LLMs for preference elicitation or behavior prediction. The proposed Shapley value method offers practitioners a model-agnostic approach for optimizing prompts and mitigating apparent cognitive biases in LLM responses.
The third chapter investigates the unintended consequences of AI alignment techniques on the creative capabilities of language models. Through a series of experiments with the Llama model family (created by Meta/Facebook), I demonstrate that alignment methods like Reinforcement Learning from Human Feedback (RLHF), while reducing bias and harmful outputs, significantly diminish syntactic and semantic diversity. My findings reveal that aligned models exhibit lower entropy in token predictions, form distinct clusters in embedding space, and gravitate toward “attractor states”, indicating limited output diversity. This contributes to our theoretical understanding of AI creativity by conceptualizing the relationship between alignment and creativity as a fundamental trade-off rather than a technical limitation. Marketing teams must strategically balance the benefits of AI safety alignment with creative performance when selecting language models for content generation tasks. Different models may be optimal for different marketing functions—aligned models for customer-facing interactions where consistency and brand safety are paramount, and base models for ideation tasks that benefit from novelty and creativity, such as ad copywriting and customer persona development.
The fourth chapter steps beyond individual models to examine networks of AI agents that work together to accomplish complex goals, such as automating various functions in a business (e.g., customer support, SEO, refunds, etc.). This introduces a new challenge: not just how we build these agents, but how we coordinate them. To address this, I introduce Pel, a programming language I developed from scratch specifically for orchestrating AI agents. Pel offers an elegant, principled framework for multi-agent AI systems, addressing limitations in current methods of controlling LLMs through a syntactically simple yet semantically rich platform for expressing complex actions, control flow, and inter-agent communication. Its design emphasizes minimal grammar suitable for constrained LLM generation, powerful composition mechanisms, and built-in support for natural language conditions. This advances programming language theory through the development of a domain-specific language (DSL) optimized for AI agent control, proposing a new paradigm for human-AI interaction that incorporates the unique capabilities and limitations of language models. From a managerial perspective, Pel provides marketing technology teams with a specialized tool for building sophisticated marketing automation systems powered by LLMs, to be used in customer engagement and support, content personalization, and multi-channel campaign management.