Manuscript Offprint
arXiv:2610.09141A Cognitive-Aware QML-CRL Framework for Detecting Affinity and Romance-Investment Fraud
Abstract
We present a hybrid quantum-classical framework that detects affinity and romance-investment fraud by modelling the cognitive biases in a manipulative conversation. In our proposed framework, cognitive biases central to this fraud class are carried by dedicated qubits in a structured parameterized quantum circuit, together with a frame qubit makes the encoding sensitive to the temporal order of manipulative reframing, and a narrative qubit that aggregates co-occurrence through a trainable entanglement layer. The circuit parameters are trained jointly with a classical reinforcement-learning agent that decides, turn by turn, whether to flag the conversation, modeled as an optimal stopping problem. We evaluate the model's performance on synthetic conversations that include hard negatives, legitimate but urgent, and legitimate but pushy sales conversations.
Keywords: Parameterized Quantum Circuits, Quantum Machine Learning, Reinforcement Learning, Quantum Cognition, Fraud Detection, Order Effects, Conjunction Fallacy
1 Introduction
Affinity and romance-investment fraud exploit trust built through shared identity or emotional intimacy to bypass the scrutiny that a person would normally apply to a financial decision. In affinity fraud, perpetrators target members of an identifiable group such as a religious congregation, ethnic community, or professional network. This helps the perpetrators to build in-group trust and the social vouching reduce due diligence. The U.S.A. Securities and Exchange Commission has long flagged this as a recurring driver of large-scale Ponzi schemes [26]. On the other hand, romance-investment fraud follows a closely related but distinct mechanism, documented in detail by Whitty and Buchanan [33]. This fraud is based on the scam's staged structure: relationship-building, a small demonstration of "legitimacy", and then escalating financial requests. It is also investigated in the literature why victims continue sending money even after clear
*Corresponding author, Fujitsu Research of America, Inc., Santa Clara, CA, USA, Email: badhikari@fujitsu.com
Security Science Lab, Fujitsu Research of America, Santa Clara, CA 95054 Inc. Email: ramya@fujitsu.com warning signs appear, attributing it to the relationship narrative overriding financial judgment rather than any deficit in the victim's general reasoning ability [2]. In the UK Office of Fair Trading report, this pattern appears across fraud types, showing that authority, urgency, and social-proof cues systematically override rational risk assessment once a persuasive relationship or narrative has been established [19]. Thus, affinity and romance-investment fraud succeed by exploiting cognitive biases in a specific, staged sequence rather than by any single deceptive claim [23, 33, 2, 19, 10, 12].
In their proposal of classical Behavioral Reinforcement Learning (BRL) in [3], the authors show how to embed biases such as Loss Aversion through an asymmetric utility function into a reinforcement learning framework. Indeed, the utility function in their paper represents a pointwise transform of a scalar reward which is not designed to reproduce two well established human judgment phenomena: order effects [29, 4] and the conjunction fallacy [30, 5]. These two notions play a key role into the development of quantum cognition model [6, 34], and both are central to how affinity and romance-investment fraud actually work [23]. The role of cognitive biases in financial decision making is explored in the literature in different contexts, for instance, see [25, 11, 24, 15, 27, 14]. There are also studies to employ cognitive biases into define feature vectors for learning tasks [7, 17]. Quantum-cognitive models of decision-making [4, 18] address both by representing beliefs as vectors in a Hilbert space and questions as (generally non-commuting) projective measurements.
In this paper, we consider the question: given a conversation, can a system watching it learn to detect that this kind of manipulation is under way, and if so, when? We investigate it with the use of a structured parameterized quantum circuit (PQC), often refereed to as Quantum Neural Network or ansatz [1] in the context of Quantum Machine Learning (QML), acting as a trainable cognitive encoder followed by a Classical Reinforcement Learning (CRL) stopping agent. In our framework, we consider a quantum register of n qubits to encode n cognitive biases driven by cue-conditioned rotation modeled by rotation parametrized gates and two additional qubits: a frame qubit that carries the temporal order of manipulative reframing through non-commuting rotations, and a narrative qubit that aggregates co-occurrence. Indeed, the parametrized rotation operators encode the cognitive bias cues, whose values are trained and learned with the aid of the RL agent. The proposed scam detector therefore does not merely use a quantum representation of cognitive bias, it learns one, under an objective that is the deployment objective (flag early enough, but do not cry wolf) rather than a surrogate classification loss. Thus, our framework introduces a quantum-classical hybrid QML-CRL model for scam detection, which combines a cognitive-aware quantum feature encoder with a classical reinforcement learning agent, providing a realization of Quantum Reinforcement Learning (QRL) [20, 8] model for sequential scam detection.
The structure of the ansatz that we consider in this paper is motivated by the following observation in the context of the scam. First, manipulative reframing is order-dependent: presenting a loss frame before a recovery frame is not equivalent to the reverse, and a same-axis rotation cannot distinguish the two, since regardless of application order. We address this with a frame qubit that receives for loss-framing cues and for recovery-framing cues; because (Proposition 1), the resulting state depends on the temporal order in which the two framings occur. We show, however, that non-commutativity of the gates is not by itself sufficient and the measurement basis must also avoid a degenerate choice at which the order dependence is invisible (Proposition 3), and we therefore make that basis a trained parameter. Second, the biases do not operate independently i.e. a target's judgement that a person is trustworthy and that an opportunity is legitimate are assessed as one mutually reinforcing narrative. Since no joint measurement can exceed the Fréchet bound (Proposition 2), we use the narrative qubit not to violate that bound but as an order-insensitive coherence aggregate, implemented by controlled rotations whose angles are trained rather than fixed. The parameters of the rotation gates are functions of cues (which are directly obtained from the conversation using an Natural Language Processing (NLP) tool for the conversation in each turn) and the cue thresholds. Besides, there are entangler parameters which are incorporated to learn the narrative coherence in the conversation.
We emphasize that order effects and the conjunction fallacy are well documented violations of Kolmogorov probability applied to a single fixed sample space [32, 28, 13]. This constrains probabilistic models of the judgement itself but not the classical learning machinery in general. In fact, any recurrent or attention-based sequence model is order-sensitive simply because its state updates do not commute, and indeed our encoder is efficiently classically simulatable. Our claim is therefore one of inductive bias rather than expressive necessity i.e. the quantum formalism supplies a compact, interpretable encoding in which order sensitivity, bounded monotone readouts, and Fréchet-respecting aggregation follow from the structure of the representation rather than having to be learned from data or imposed by regularization.
In our numerical demonstration, we consider four cognitive biases as described below, whose existence in these frauds can be clearly justified.
• Loss aversion [16] - the engine of the funnel’s “recovery pressure” stage: once money is sunk, framing continuation as avoiding a certain loss (rather than risking more) triggers risk-seeking behavior in the loss domain.
• Commitment (and consistency) [9] - having made a small commitment, a target feels pressure to act consistently with it rather than admit it was a mistake; this compounds with loss aversion rather than acting as an independent factor.
• Reciprocity [9] - a real small payout (or, in affinity fraud, a community member’s personal vouching) creates a felt obligation to reciprocate trust, directly enabling the next, larger ask.
• Authority [9] - borrowed authority (a trusted community figure in affinity fraud; fabricated credentials in romance-investment fraud) is a primary trust-conferral mechanism [22].
The CRL framework is then designed to convert the quantum encoder’s continuous, per-turn risk signal into a single actionable decision: when, if ever, to flag a conversation. The RL agent learns from labeled outcomes to trade off the cost of a false alarm against the cost of intervening too late, rather than simply classifying the conversation after the fact. Thus, we frame the detection as an optimal stopping problem. The RL layer receives no information about the conversation except the quantum register’s readout. We perform numerical test on synthetic, labelled conversation data: order-effect magnitude at both the feature level and the detection-timing level, and an ablation study isolating each encoder channel's contribution to detection quality.
The remainder of this paper is organized as follows. Section 2 introduces the proposed cognitive-aware PQC for modeling manipulative conversations. Section 3 presents the joint QML-CRL framework for scam detection. Section 4 reports numerical results on synthetic data. Finally, the paper concludes with a discussion on limitations and future work in Section 5, followed by supplementary material after the references.
WATT: advance to turn

(a) End-to-end pipeline. Solid: inference. Dashed: the temporal-difference error, which trains the Q head and flows back into the circuit parameters .

loss
commitment
narrative qubit
trainable;
reciprocity
authority
closed form, Eq. (15):
enforcing without a clip
frame, prepared in
readout basis
trainable
non-commuting (Prop. 1)
order-blind at
(Prop. 3)
(b) Parameterized encoder detail; bold symbols are trained.
Figure 1: Complete architecture. (a) The end-to-end pipeline from raw conversation text to a flag/wait decision. (b) Detail of the parameterized quantum-cognitive encoder.
2.1 Quantum Register
The bias qubits are labelled , the frame qubit is (also denoted as to be explicit), and the narrative qubit is (also denoted as to be explicit), and we write and for their readouts, so that and . Bias and narrative qubits are prepared in and the frame qubit in , for the reason given in the supplementary notes, so that , which is the initial state of the quantum register. At every turn , we determine the risk feature vector
where are defined below, is a fixed time constant, represents the saturating time feature, the trailing constant supplies the intercept of the linear head and together with the saturating time feature it is independent of . The proposed structured PQC consists of two sub-circuits. In the first sub-circuit, for each turn , the output quantum state is given by
with per-turn block and the initial state . The readout block is applied to a copy of this state,
and the risk features are read from rather than . The sub-circuits are depicted in Figure 2.
An NLP front end (specified, not built here) produces a per-turn cue vector . The trainable parameter vector is
For instance, for n = 4 biases, there are 16 circuit parameters i.e. .
At each turn t, for each bias qubit, we apply a rotation gate to with
where is the logistic function and . Note that, since , the cumulative angle satisfies for every by construction, and hence the monotonicity of pull on is enforced. Unrolling (4) gives a closed form that makes the semantics explicit,
i.e. the bias qubit’s angle is a soft OR, a differentiable relaxation of the Boolean OR over turns, saturating as the learned probability that at least one turn so far carried cue i. Both the gain and the threshold are trainable parameters. The parameter plays the role of the hand-set cue threshold of a fixed encoder and that of its gain, but one per channel and fitted to data rather than shared and guessed. The monotonic pull is given by pull for (see Eqn. 12).
Let us denote , , and for some trainable parameters and . For the frame qubit, at each turn apply
where softplus(x) = log(1 + e^x) with softplus(x) = . Thus a loss-framing term drives the Z-axis, whereas a recovery framing turn the Y-axis with trainable gains. Further, note that the application of on in the Read-out block realizes the observable
Finally, observe from Proposition 3 that at the frame channel is provably order-blind.
Now we introduce trainable entangler gates that interact with the narrative qubit . After the per-turn block, each of acts as the control of a controlled- into , defined by
where indexes the bias qubits and the frame qubit, so there are controls in all. At each gate is CNOT. This entangler facilitates the strength of each bias's contribution to narrative coherence, which is a learned quantity.
The qubit and gate complexities scale linearly with the number of cognitive biases. For biases the register holds qubits, the per-turn block contributes single-qubit rotations and no entangling gates, and the readout block contributes one further rotation together with two-qubit controlled rotations. The circuit producing therefore comprises rotations and controlled rotations.
3 Joint Quantum-Classical Learning
We next describe a procedure for jointly learning the PQC parameters through the RL agent. This coupling yields a hybrid quantum-classical learning framework that
: loss
: commit
: recip.
: auth.
: frame
: narrative
(a) Per-turn block , applied once for each turn with that turn's cue-derived, trainable angles (4)–(6).

(b) Readout block, applied to a copy of the state at every turn: trainable basis rotation on , then the trainable controlled- aggregation into . At these are CNOTs.
Figure 2: Gate-level structure of the parameterized quantum-cognitive encoder. All angles shown are functions of the trainable parameters and of the current turn's cues.
falls within the broader paradigm of quantum reinforcement learning. At every turn , the agent observes the learned risk feature vector (Eqn. (1)) which form the Markov Decision Process (MDP) space for the RL framework. We define the action space as , where FLAG terminates the episode, WAIT advances deterministically, so and the only stochasticity is in which conversation is drawn. Rewards are defined as and
with a terminal penalty for reaching the end of a fraud conversation without flagging. Here is the labelled critical loss turn, discounts late-but-correct detections, is the false-alarm penalty and the detection bonus, and labels 0 and 1 denote benign and fraud conversations respectively. We use , , , and , with a 20/80 fraud/benign base rate. We note that the base rate is not incidental to this choice: at a 50/50 rate with the expected reward of blind flagging is , so “always flag at ” is the genuine optimum of the reward function, and Q-learning correctly finds it.
In our proposal, the RL agent approximates the action-value function linearly instead of a neural network based action-value function. Thus, the action-value function is defined as which stays linear in the encoder's output. Thus our model can be interpreted as a PQC feature map composed with a two-row linear head, and all nonlinearity and all representational capacity beyond that head live in the
Algorithm 1 PQC encoding of a conversation (n biases, qubits)
1: procedure ENCODE( ) 2: ; for ; 3: for to do 4: for to do 5: ; ; 6: 7: end for 8: ; 9: frame qubit, non-commuting 10: readout copy: separate execution 11: for to do 12: 13: end for 14: ; 15: end for 16: return 17: end procedure
circuit. Given the semi-gradient temporal-difference (TD) error
with the bootstrap target treated as constant, the classical head follows the usual update , and the same error drives the circuit parameters,
The details of the learning through gradients mechanism is described in the Supplementary Section 7.2. Algorithms 1 and 2 give the full procedure.
4 Numerical Simulations with Synthetic Data
Since we do not have access to real affinity/romance-fraud conversation transcripts, as it is not reported in the literature to the best of our knowledge, we generate synthetic, explicitly labelled conversations, described precisely below so the process is fully reproducible. In our generative process, each conversation has turns ( for the base classes). We divide into 6 equal-length stages using boundaries stage_bounds = (so, e.g., gives stage boundaries at turns 0, 2, 4, 7, 9, 11, 14), mirroring the six-stage structure documented for recovery/romance-investment scams in the fraud related cognitive psychology literature [33, 23]: contact, rapport, reciprocity hook, authority-backed big ask, loss event, recovery pressure. Each stage
Algorithm 2 Joint training of the PQC encoder and the RL detector
Require: labelled conversations ( ); rates ; discount ; schedule ; constants ; anchor ; warm-up
Ensure: trained and
1: ; ;
2: for epoch do
3: for each conversation, shuffled do
4: ; by (16) if ; ,
5: for to do
6: -greedy w.r.t.
7: compute and the target;
8: retain the pre-update head weights
9:
10: if then
11: ;
12: end if
13: if then break
14: end for
15: if and then
16: ;
17: ;
18: end if
19: end for
20: end for
21: return ,
has a fixed base cue profile , given in Table 1 for the FRAUD class.
For every turn t falling in stage s the cue values are drawn as
independently for each of the five channels, with for the bias channels and for the frame channel. The generator produces five classes, two positive and three negative. FRAUD follows Table 1 over turns with on all channels. SUBTLEFRAUD uses the same staged schedule over turns with the bias profile scaled by 0.4 and the frame profile by 0.5, giving a slower, lower-intensity escalation. Among the negatives, BENIGN uses a single flat profile with ; LEGITURGENT uses a flat profile with , representing a bona fide financial conversation with genuinely elevated loss and urgency discussion but no reciprocity hook, no authority escalation and no reframing; and PUSHYSALES is a staged hard negative that mimics the funnel's escalation of reciprocity at the hook stage), authority and commitment but contains neither a loss event nor any reframing , with on the bias channels and
Table 1: FRAUD class base cue profile by stage (Eq. 11).
| Stage | loss | commit | recip. | auth. | frame |
|---|---|---|---|---|---|
| Contact | 0.05 | 0.05 | 0.05 | 0.10 | 0.0 |
| Rapport | 0.10 | 0.25 | 0.10 | 0.20 | 0.0 |
| Reciprocity hook | 0.10 | 0.30 | 0.65 | 0.30 | 0.0 |
| Authority + big ask | 0.20 | 0.45 | 0.30 | 0.60 | 0.0 |
| Loss event | 0.70 | 0.55 | 0.15 | 0.40 | -0.8 |
| Recovery pressure | 0.65 | 0.75 | 0.20 | 0.55 | +0.8 |
0.08 on the frame channel. Positives are drawn evenly from FRAUD and SUBTLE-FRAUD; negatives are BENIGN, LEGITURGENT and PUSHYSALES. Consequently PUSHYSALES overlaps substantially with fraud when only the four bias channels are considered, while retaining a benign label. We use 300 training and 300 test conversations at a fraud base rate and report results averaged over three random seeds.
The initial values for are considered as , so , unit gain i.e. a maximal framing cue produces a one-rotation on that turn. The equal values encode no prior that one framing direction matters more than the other.
4.1 Simulation results
First, we introduce te following standard notations used in the sequel. Denoting TP, FN, FP and TN as true positive (label=1, flagged at some run), false negative (label=1, never flagged), false positive (label=0, flagged at some run), true negative (label=0, never flagged), respectively, the False Positive Rule (FPR) is defined as FP/(FP+TN), F1 (score) is defined as F1=(2 · Precision · Recall)/(Precision + Recall), where Precision=TP/(TP+FP), Recall=TP/(TP+FN).
In Table 2 we report that joint training provides only a marginal benefit when the encoder is already well calibrated. From the cognitive initialization the trained and frozen encoders achieve comparable performance ( and respectively), a difference of roughly one standard deviation that we do not read as decisive. The difference is substantial under the mis-specified initialization, which represents transfer to a domain with poorly calibrated parameters and rotation angles. There the frozen encoder, i.e. RL-only learning, fails completely (), missing all 62 fraud conversations, whereas end-to-end training from the same initialization achieves the best performance in the table, with no false positives. Figure 3a shows that the two runs diverge only after the circuit is unfrozen. The same reversal produces no change at all in a frame channel that is prepared in and measured in the basis, consistent with Proposition 3.
Further, we note from Table 2 that removing the frame qubit causes detection to collapse (). With only the bias channels, and against PUSHYSALES negatives that mimic the funnel's bias escalation, the optimal policy under at a base rate is to flag nothing. Whereas, removing only the narrative qubit is comparatively benign. Figure 4 shows the reason after training, the frame channel is
Table 2: Detection quality on the hard synthetic benchmark (300 test conversations, 20% fraud base rate, mean s.d. over three seeds). Lateness is the mean flag turn minus the labelled critical loss turn, over true positives; it is undefined for configurations that never flag.
| Configuration | FPR | Lateness | FN | |
|---|---|---|---|---|
| PQC, joint, cognitive init | 0.000 | +2.19 | 7.7 | |
| PQC, frozen, cognitive init | 0.000 | +1.68 | 9.0 | |
| Classical cue baseline | 0.000 | +0.99 | 11.3 | |
| PQC, frozen, mis-specified init | 0.000 | — | 62.0 | |
| PQC, joint, mis-specified init | 0.000 | +1.37 | 3.3 | |
| PQC, joint, no frame qubit | 0.000 | — | 62.0 | |
| PQC, joint, no narrative qubit | 0.000 | +2.19 | 7.3 | |
| PQC, joint, bias qubits only | 0.000 | — | 62.0 |
the one that separates fraud from pushy sales, rising from -1 to -0.08 after the loss event while remaining pinned at -1 for both negative classes, whereas the loss and authority channels saturate on all three. Detection timing is also sequence-dependent at the decision level (Fig. 3b).

(a) Joint versus frozen training

(b) Effect of turn-order shuffling on detection timing
Figure 3: Training and order-sensitivity results. (a) Joint training enables the misspecified encoder to adapt after warm-up, whereas the frozen encoder fails to flag. (b) Detection timing under turn-order shuffling with cue content held fixed.
5 Limitations and Future Work
Several limitations of the present framework motivate future work. First, a quantum hardware implementation introduces additional cost and noise. Estimating requires finite-shot measurements, and measurement at turn destroys the quantum state; hence, a -turn trajectory requires independent circuit executions, with total cost per conversation. Training further multiplies this cost by the shifted evaluations

Figure 4: Risk-feature trajectories at the cognitive initialization (top) and after joint training (bottom), for a fraud conversation, a pushy-sales hard negative, and a benign conversation. Training sharpens the frame channel into the discriminator that separates fraud from pushy sales, while the loss and authority channels saturate on all three classes.
required by (16), while shot noise in the TD error compounds the intrinsic variance of TD learning. A systematic shot-noise analysis is therefore left for future work. Next, joint optimization remains fragile because the semi-gradient TD update operates on a moving feature map. Warm-up, anchoring, and adaptive gradient scaling are required for stability, with the anchor strength introducing a tradeoff between stability and adaptability, policy-gradient methods or fitted-Q learning with a target network may provide more robust alternatives. Finally, the present evaluation relies entirely on synthetic conversations constructed around the funnel structure encoded by the model. In addition, the NLP front end that maps raw text to per-turn cue vectors is currently specified but not independently implemented or validated, and errors in cue extraction would propagate directly to the circuit through the angle map in (4).
6 Conclusion
We proposed a hybrid quantum-classical pipeline in which a structured parameterized quantum circuit encodes manipulation-relevant cognitive biases such as loss aversion, commitment, reciprocity, authority together with an order-sensitive frame qubit and a narrative-coherence aggregator, and is trained jointly with a classical reinforcement-learning agent that learns when to flag a conversation. On synthetic conversations with hard negatives, an encoder that is useless when frozen and at a mis-specified initialization becomes the best-performing configuration when trained end-to-end, and the frame qubit proves necessary for detection.
References
[1] Amira Abbas, David Sutter, Christa Zoufal, Aurélien Lucchi, Alessio Figalli, and Stefan Woerner. The power of quantum neural networks. Nature computational science, 1(6):403–409, 2021.
[2] Tom Buchanan and Monica T Whitty. The online dating romance scam: causes and consequences of victimhood. Psychology, Crime & Law, 20(3):261–283, 2014.
[3] Francois Buet-Golfouse, Osian Shelley, and George-Octavian Barbulescu. Behavioural reinforcement learning (beyond rationality: R1 under investor bias). In Proceedings of the 6th ACM International Conference on AI in Finance, pages 344–351, 2025.
[4] Jerome R Busemeyer and Peter D Bruza. Quantum models of cognition and decision. Cambridge University Press, 2012.
[5] Jerome R Busemeyer, Emmanuel M Pothos, Riccardo Franco, and Jennifer S Trueblood. A quantum theoretical explanation for probability judgment errors. Psychological review, 118(2):193, 2011.
[6] Jerome R Busemeyer and Zheng Wang. What is quantum cognition, and how is it applied to psychology? Current Directions in Psychological Science, 24(3):163–169, 2015.
[7] Claire Cardie. A cognitive bias approach to feature selection and weighting for case-based learners. Machine Learning, 41(1):85–116, 2000.
[8] Samuel Yen-Chi Chen. Quantum reinforcement learning: Concepts and applications. Quantum Computational AI, pages 3–23, 2026.
[9] Robert Cialdini and Robert B Cialdini. Influence: Science and practice. Allyn & Bacon, Boston, MA., 2013.
[10] Anna Coluccia, Andrea Pozza, Fabio Ferretti, Fulvio Carabellese, Alessandra Masti, and Giacomo Gualtieri. Online romance scams: Relational dynamics and psychological characteristics of the victims and scammers. a scoping review. Clinical practice and epidemiology in mental health: CP & EMH, 16:24, 2020.
[11] Filipa de Almeida, Ian J Scott, Jerônimo C Soro, Daniel Fernandes, André R Amaral, Mafalda L Catarino, André Arêde, and Mário B Ferreira. Financial scarcity and cognitive performance: A meta-analysis. Journal of Economic Psychology, 101:102702, 2024.
[12] Thomas Dearden, Jill O Jasperson, and Ronald Mellado Miller. Mechanisms of affinity fraud victimization. Journal of Financial Crime, 32(1):64–76, 2025.
[13] Riccardo Franco. The conjunction fallacy and interference effects. Journal of Mathematical Psychology, 53(5):415–422, 2009.
[14] Dinesh Gabhane, A Sharma, and Rupam Mukherjee. Behavioral finance: exploring the influence of cognitive biases on investment decisions. Boletin de Literatura Oral-The Literary Journal, 10(1):3133–3141, 2023.
[15] VP Syed Abdullahil Hammad and M Marimuthu. Cognitive biases and portfolio decisions: A neurofinance perspective on investor irrationality. Scriptora International Journal of Research and Innovation (SIJRI), pages 14–23, 2026.
[16] Daniel Kahneman and Amos Tversky. Prospect theory: An analysis of decision under risk. In Handbook of the fundamentals of financial decision making: Part I, pages 99–127. World Scientific, 2013.
[17] Danish Kaleem and Ken Ferens. A cognitive approach for attribute selection in internet dataset. In 2017 IEEE 16th International Conference on Cognitive Informatics & Cognitive Computing (ICCI* CC), pages 319–328. IEEE, 2017.
[18] Polina Khrennikova. Order effect in a study on us voters' preferences: quantum framework representation of the observables. Physica Scripta, 163(1):014010, 2014.
[19] Stephen EG Lea, Peter Fischer, and Kath M Evans. The psychology of scams: Provoking and committing errors of judgement. 2009.
[20] Nico Meyer, Christian Ufrecht, Maniraman Periyasamy, Daniel D Scherer, Axel Plinge, and Christopher Mutschler. A survey on quantum reinforcement learning. arXiv preprint arXiv:2211.03464, 2022.
[21] Michael A Nielsen and Isaac L Chuang. Quantum computation and quantum information, volume 2. Cambridge university press Cambridge, 2001.
[22] Frank S Perri and Richard G Brody. Birds of the same feather: the dangers of affinity fraud. Journal of Forensic Studies in Accounting and Business, 3(1):33–46, 2011.
[23] Anthony Pratkanis and Doug Shadel. Weapons of fraud: A source book for fraud fighters. 2005.
[24] Kai Ruggeri, Giampaolo Abate Romero Landini, Katharina Busch, Valentina Cafarelli, Barbora Doubravová, Deniz Gurol, Melika Miralem, Fredrik Nilsson, Sarah Ashcroft-Jones, and Friederike Stock. Financial decision-making, income, cognitive biases: The impact of economic systems and environments on behavior in six countries. 2024.
[25] Kai Ruggeri, Sarah Ashcroft-Jones, Giampaolo Abate Romero Landini, Narjes Al-Zahli, Natalia Alexander, Mathias Houe Andersen, Katherine Bibilouri, Katharina Busch, Valentina Cafarelli, Jennifer Chen, et al. The persistence of cognitive biases in financial decisions across economic groups. Scientific Reports, 13(1):10329, 2023.
[26] US Securities, Exchange Commission, et al. Affinity fraud: how to avoid investment scams that target groups, 2013.
[27] Maciej Tkacz, Celina Olszak, Jozef Zurada, and Paweł Weichbroth. Exploration of behavioral patterns and cognitive biases among stock market investors. 2025.
[28] Jennifer S Trueblood and Jerome R Busemeyer. A quantum probability account of order effects in inference. Cognitive science, 35(8):1518–1552, 2011.
[29] Amos Tversky and Daniel Kahneman. Judgment under uncertainty: Heuristics and biases, volume 185. American Association for the Advancement of Science.
[30] Amos Tversky and Daniel Kahneman. Extensional versus intuitive reasoning: The conjunction fallacy in probability judgment. Psychological review, 90(4):293, 1983.
[31] Hado Van Hasselt, Yotam Doron, Florian Strub, Matteo Hessel, Nicolas Sonnerat, and Joseph Modayil. Deep reinforcement learning and the deadly triad. arXiv preprint arXiv:1812.02648, 2018.
[32] Hongbin Wang, Todd R Johnson, and Jiajie Zhang. The order effect in human abductive reasoning: An empirical and computational study. Journal of Experimental & Theoretical Artificial Intelligence, 18(2):215–247, 2006.
[33] Monica T Whitty and Tom Buchanan. The online romance scam: A serious cybercrime. CyberPsychology, Behavior, and Social Networking, 15(3):181–183, 2012.
[34] Dominic Widdows, Jyoti Rani, and Emmanuel Pothos. Quantum circuit components for cognitive decision-making. arXiv preprint arXiv:2302.03012, 2023.
7 Supplementary
7.1 Mathematical Foundations
Recall that an -qubit state is . The Pauli matrices of order 2 are
along with the identity . Then the single-qubit rotations that we consider in this paper are: , and similarly for . The observables we consider as the Pauli Z matrix and denotes the expected value of the measurement outcomes, see [21] for basics of quantum computation.
Now we have the following propositions, whose proofs are computational and easy to verify. The Lie bracket for two operators A, B is defined as , which is the zero matrix only when they commute. Proposition 1 describes the frame-order dependence, whereas Proposition 2 shows that no joint measurement can produce the conjunction fallacy.
Proposition 1. , which vanishes only for trivial rotation angles; for any other , .
Proposition 2. For any two qubits , in any joint state, , since Born-rule outcome probabilities summing to 1 give , and symmetrically for , regardless of entanglement.
Proposition 2 shows that the conjunction fallacy cannot be reproduced by a single joint measurement of two qubits, however they are entangled. Indeed, the Fréchet bound follows from non-negativity of the Born-rule outcome probabilities alone. This does not contradict the quantum-cognitive account of the fallacy, which obtains it from sequential incompatible measurements rather than a joint one [5]. It does, however, determine our design: the narrative qubit is used not to violate the bound but as an order-insensitive coherence aggregate, while order sensitivity is carried entirely by the frame qubit through Proposition 1.
Next, we show that the expected value for any bias qubit after applying a rotation gate is given by for the initial state . Note that . Then
Then applying a sequence of gates, only amplify the rotation angle, and hence it remains cosine of the total rotation angle. Then note that is a strictly monotonic function on .
Next we have the following Proposition, which establishes the order-blind of the measurement bases.
Proposition 3. Let the frame qubit be prepared in and let one loss-framing event and one recovery-framing event occur, in either order. Write for the state and for . Then
and consequently, for the observable of (7),
The order effect is therefore zero at and maximal at . Moreover, for a frame qubit prepared in and measured in the Z basis, any prefix consisting solely of rotations leaves unchanged, so such a frame channel cannot register loss-framing that is not followed by recovery-framing.
Proof. On the Bloch sphere is . rotates by about , by about . Applying then gives ; applying then gives . The components agree and the components differ by . Substituting into gives (14). The final claim is immediate from .
Proposition 3 is the reason the readout angle is a trained parameter and is initialized at rather than at the natural-looking (which measures X exactly, and is precisely the blind point).
The following Proposition provides a closed form expression of the narrative qubit's readout.
Proposition 4. Every gate of the per-turn block acts on a single qubit, so is a product state . Let for (for , after the readout rotation ). Then the gates of in (8) pairwise commute, each leaves its own control's invariant, and
Proof. All the gates of share the target and rotate it about the same axis, and their controls are diagonal, so they commute pairwise; a controlled gate is diagonal on its control, hence leaves unchanged. Conditioned on the control bitstring , which occurs with probability because the controls are in a product state, the target evolves as and contributes to . Averaging and writing factorises the sum over into the product (15).
Remark 1. By Proposition 4, the full feature trajectory can be evaluated in classical arithmetic operations, without forming the -dimensional state-vector. The role of the quantum formalism here is representational. It supplies a non-commutative, interference-based inductive bias matched to documented judgement phenomena not computational. Quantum hardware implementation of the proposal would invite additional challenges, which is left as future work.
Next we have the following propositions, which shows that the entangler defined by CNOT gates is stationary.
Proposition 5. With as in (15) and ,
At every is real, so the bracket is purely imaginary and the derivative vanishes for every , every , and every input. The point is thus a critical point of the narrative readout and the second derivative is strictly negative. Consequently, it is a local maximum of the narrative contrast.
Observe that the Proposition 5 explains why the CNOT aggregation of a fixed encoder could be a sensible design choice for the encoder. Besides, it also establishes our observation in numerical simulations that the entangler angles do not move when training starts from , in fact the first-order signal is identically zero there. Accordingly, the evidence that training helps comes only from the mis-specified runs, which start away from the stationary point. Initializing such as removes the degeneracy at negligible cost to interpretability.
7.2 Gradients through the circuit and the joint training
Note that Eqn. (10) is the entire quantum-classical interface. The RL agent’s surprise at turn t is projected through its own weights onto the Jacobian of the Born-rule expectations with respect to the gate parameters. Besides, nothing about the conversation reaches the agent except the register’s readout, and nothing about the labels reaches the circuit except .
The Jacobian is obtained on hardware by the parameter-shift rule composed with the chain rule through the classical angle map. Writing for the set of parameterised gate occurrences in the circuit that produces , and for the angle of occurrence ,
which costs circuit evaluations per turn, for any observable . Note that the second factor is not a plain derivative because the angle map (4) is recurrent since depends on , and hence on all earlier cues but the recursion admits a closed form representation. The following lemma provides gradients of the saturating accumulation.
Lemma 1. With and as in (5), and writing ,
Table 3: Notation used in Algorithm 2.
| Symbol | Meaning |
|---|---|
| Episode (one labelled conversation) | |
| number of turns | |
| cue vector at turn from the NLP front end | |
| conversation label; | |
| labelled critical loss turn (first turn of the loss stage) | |
| Quantum encoder | |
| circuit parameters, Eq. (3) | |
| cognitive initialisation () | |
| encoded feature trajectory for the episode | |
| state at turn , Eq. (1) | |
| Jacobian of the Born-rule features, | |
| Reinforcement learner | |
| action set; FLAG is terminal | |
| linear head, | |
| action-value function | |
| action taken and reward received at turn | |
| temporal-difference error, Eq. (19) | |
| discount factor | |
| exploration probability, annealed | |
| false-alarm penalty, miss penalty, detection bonus, lateness discount | |
| Optimization | |
| total epochs (30) and warm-up epochs () | |
| learning rates for head and circuit | |
| accumulated circuit gradient and its step count | |
| anchor strength toward | |
| RMSProp running second moment | |
| elementwise square, elementwise division | |
Proof. ; substitute into . The case is identical with replaced by 1.
If both running sums are accumulated online, the classical factor in (16) costs per turn. In the simulations of Section 4 we evaluate the same derivative exactly and analytically from Proposition 4 and Lemma 1; we verified this implementation against central finite differences over all 16 parameters and all 6 observables at every turn, with maximum absolute discrepancy .
7.3 Algorithm 2
In this section we explain the execution of the Algorithm 2. First, we include all the notations in Table 3.
The head is initialized near zero and the circuit at the cognitive point , so the very first policy is uninformed but the very first feature map is a hand-designed encoder. Note that is a fixed time constant, in units of turns, that sets the scale over which the saturating time feature distinguishes early from late turns. We use , so the feature reads 0.63 at and 0.93 at the final turn of a conversation. Each epoch sweeps the labelled conversations in a fresh random order. For one conversation the encoder is invoked once (per visit), before the agent acts, and it returns the entire trajectory together with (when the circuit is unfrozen) the stack of per-turn Jacobians , , the Jacobian of the Born-rule features at turn with respect to the circuit parameters; row is and the time and constant components of are omitted as they do not depend on (see Eq. (16)). The agent then replays that pre-computed trajectory turn by turn, choosing at each row.
Note that, during the warm-up epochs, the Jacobians are not formed at all. Indeed, costs one forward sweep, whereas each costs shifted circuit evaluations. Thus, where the saturating recursion passes through every prefix on its way to and so yields all states in a single pass. On hardware, measurement collapses the state, so the trajectory genuinely requires separate circuit executions; what encoding once per episode avoids there is a further factor of from re-encoding inside the agent loop.
At turn the agent evaluates for both actions and selects -greedily, meaning that with probability it takes the currently best-estimated action and with probability it ignores its own estimate and samples uniformly from . Thus,
At evaluation we set , so the reported detector is the deterministic greedy policy .
The reward and bootstrap target follow the three cases of the stopping problem: if the episode terminates and is on a benign conversation or on a fraudulent one, with no bootstrap term; if the agent reaches the last turn still waiting, it receives when and 0 otherwise, again with no bootstrap; otherwise and the target is . Thus the temporal-difference error is given by
which measures how wrong the current estimate was, and it drives both halves of the model. The classical head takes its usual semi-gradient step immediately. The circuit's contribution for this turn, , is not applied immediately but accumulated into : this is the chain rule of Eq. (10), which captures “how much would each gate angle have had to change to move toward its target”. Only the first components of appear because the time feature and the constant do not depend on . Choosing FLAG breaks the turn loop.
Note that both updates are gradients of the same objective under the semi-gradient convention, so both must be evaluated at the same parameters. Substituting the already-updated head weights instead perturbs the circuit gradient by
which, being proportional to , is a sign-definite drift along rather than zero-mean noise. Thus it systematically inflates whichever channels are currently large, and does so most strongly on exactly the episodes the agent finds most surprising.
After the episode, is divided by the number of turns that contributed, so a conversation flagged at turn 2 does not receive a smaller circuit update than one that ran to turn 14. The anchor term is then subtracted, a quadratic pull back toward the cognitive initialization, is clipped to unit norm, and the step is scaled per coordinate by an RMSProp second moment , so that parameters of very different sensitivity, a cue gain and an entangler angle move the features by quite different amounts, take comparable steps. Two guards make this stable. The circuit is frozen for the first epochs, so the feature map does not move while the -values are still random, and the anchor bounds how far the learned encoder can drift from the documented baseline, which is a governance property as much as an optimization one.
Finally, note that nothing about the conversation reaches the agent except the register’s readout , and nothing about the labels reaches the circuit except the scalar . The encoder is therefore not trained to classify turns. In fact, it is trained to make the stopping decision easier, under the same cost asymmetry the deployed detector faces. This distinguishes Algorithm 2 from fitting a quantum feature map to labels and then bolting an agent onto it.
It is worth stating explicitly that neither nor W is trained by minimizing a loss. Indeed, the per-turn squared error
is a surrogate whose target is held fixed during differentiation even though it depends on and through . Thus, the update direction omits the term (it is not ) and hence it is not the gradient of any fixed scalar function, so semi-gradient temporal-difference learning is a stochastic approximation to a fixed point of the projected Bellman optimality operator rather than a descent method. The objective that is genuinely being optimized here is the reinforcement-learning one, and because at every non-terminal step an episode's return collapses to a single discounted terminal reward, making the problem exactly one of optimal stopping,
(22) where is the stopping time induced by the greedy policy. The one component of the circuit update that is an exact gradient is the anchor, . We therefore report mean episode return rather than a training loss throughout. Here denotes the distribution over labelled conversations, each draw being a triple comprising a cue trajectory, its label, and its critical turn, with the horizon itself part of the draw; in our experiments is the generative process of Section 4, and in deployment it would be the population of monitored conversations.
7.3.1 Stability of the joint update mechanism
It is well-known that training a feature map with a semi-gradient TD error is the deadly triad in miniature [31]. In particular, the TD targets are obtained by bootstrapping from a function approximator whose underlying feature representation is itself being updated during training. Consequently, both the value estimates and their feature representation evolve simultaneously, which can lead to unstable learning dynamics. In our experiments, such instability was not only associated with slower convergence, in fact without appropriate stabilization, the joint update learning occasionally collapsed to degenerate policies that either never issued a flag or flagged every conversation in the early runs. To mitigate this behavior, we employ the following three stabilization mechanisms.
• Warm-up. The parameters of the quantum circuit are kept fixed during the first third of the training epochs. This allows the Q-function to acquire a meaningful initial estimate before the feature representation itself is allowed to adapt.
• Anchoring. We regularize the circuit parameters toward their cognitively motivated initial values by adding
to the circuit gradient, with . This regularization constrains the learned encoder to remain interpretable while still allowing it to adapt to the learning objective. The parameter therefore controls a trade-off between interpretability and adaptability. For example, with , the model is unable to recover from the deliberately mis-specified initialization considered in Table 2.
• Per-episode, RMSProp-scaled steps. The circuit gradients are accumulated and averaged over each episode, followed by norm clipping and scaling using a running estimate of their second moment. The circuit learning rate is set to . This procedure limits abrupt changes in the learned feature representation caused by individual TD updates.
7.4 Synthetic data generation
In Figure 5, we describe our synthetic data generation process.
(a)

(b)

(c)
(d) Fraud

(e) PushySales

loss commit recip auth frame
Figure 5: The synthetic conversation generator. (a) Each fraudulent conversation is divided into six stages by the boundaries , shown here for ; the labelled critical turn is the first turn of the loss-event stage (turn 9), and detection lateness is measured relative to it. (b) Each stage carries a fixed base level for the four bias channels. (c) The frame channel is zero for the first four stages and non-zero only in the last two, with opposite signs, so every fraudulent conversation contains exactly one transition. By the sign convention of Eq. (6), is loss framing and drives while is recovery framing and drives . (d,e) Sampled realizations, drawn as with , , independently per turn and per channel, so there is within-stage variation but no autoregressive structure. Shading marks the stage, the dashed red line marks .