Mosh Levy
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Mosh Levy has a total of 13 co-authors. Here are the top co-authors by number of shared publications:
- Guy Amit
Ben-Gurion University
3 shared publications Shauli Ravfogel
NYU Center for Data Science, New York University, New York, USA
3 shared publications- Yisroel Mirsky
Ben Gurion University of the Negev
3 shared publications Yoav Goldberg
Department of Computer Science, Bar-Ilan University, Ramat Gan, Israel
3 shared publicationsZohar Elyoseph
School of Counseling and Human Development, The Faculty of Education, University of Haifa, Haifa, Israel
3 shared publications- Yuval Elovici
Ben-Gurion University of the Negev
2 shared publications
Latest Publications
- 7 October 2026
- Published by Springer Nature in Nature Machine Intelligence
- Vol. 8 (10) , 1515-1522
Characterizing the role of reasoning tokens in large language models as state over tokens
- 7 October 2026
- Published by Springer Nature in Nature Machine Intelligence
- Vol. 8 (10) , 1515-1522
Characterizing the role of reasoning tokens in large language models as state over tokens
- Open Access
- 25 January 2026
- Published by Center for Open Science in PsyArXiv
Not One Size Fits All: The Selective Effect of Reasoning Processes for Multimodal Body Language Emotion Recognition in GAI
Background: The rapid integration of Generative AI (GAI) into mental health contexts necessitates a rigorous evaluation of its emotion recognition capabilities.Objective: This study investigated whether the integration of reasoning processes via specialized GAI architectures or Chain-of-Thought (CoT) prompting strategies translate to improved recognition of non-verbal emotion from body language.Methods: Four models from the Gemini family (Pro 2.0, Pro 1.5, Flash 2.0, and FlashThinking) were evaluated using the EU-Emotion Stimulus Set under Zero-Shot and CoT conditions.Results: The specialized reasoning model (FlashThinking) achieved a Chance-Corrected Recognition (CCR) score of 0.463, 95% CI [0.310, 0.621], failing to outperform generalist architectures. Instead, the high-capacity generalist model (Gemini Pro 2.0) exhibited the highest performance (CCR = 0.722, 95% CI [0.590, 0.838]), significantly outperforming all other models (OR ≤ 0.19, p < .001) and achieving parity with human benchmarks (CCR = 0.717). Interaction analyses revealed divergent effects: CoT prompting significantly enhanced Gemini Pro 2.0 (OR = 3.97, p < .001) and mitigated its “positivity bias,” whereas it significantly impaired Gemini Flash 2.0 (OR = 0.40, p < .001), creating a specific blind spot for negative emotions.Conclusion: We conclude that CoT is not a universal facilitator for emotion recognition; rather, its effectiveness is contingent on model capacity, and its misapplication to smaller models may compromise clinical safety.
- 25 January 2026
- Published by Center for Open Science in PsyArXiv
Open AccessNot One Size Fits All: The Selective Effect of Reasoning Processes for Multimodal Body Language Emotion Recognition in GAI
Background: The rapid integration of Generative AI (GAI) into mental health contexts necessitates a rigorous evaluation of its emotion recognition capabilities.Objective: This study investigated whether the integration of reasoning processes via specialized GAI architectures or Chain-of-Thought (CoT) prompting strategies translate to improved recognition of non-verbal emotion from body language.Methods: Four models from the Gemini family (Pro 2.0, Pro 1.5, Flash 2.0, and FlashThinking) were evaluated using the EU-Emotion Stimulus Set under Zero-Shot and CoT conditions.Results: The specialized reasoning model (FlashThinking) achieved a Chance-Corrected Recognition (CCR) score of 0.463, 95% CI [0.310, 0.621], failing to outperform generalist architectures. Instead, the high-capacity generalist model (Gemini Pro 2.0) exhibited the highest performance (CCR = 0.722, 95% CI [0.590, 0.838]), significantly outperforming all other models (OR ≤ 0.19, p < .001) and achieving parity with human benchmarks (CCR = 0.717). Interaction analyses revealed divergent effects: CoT prompting significantly enhanced Gemini Pro 2.0 (OR = 3.97, p < .001) and mitigated its “positivity bias,” whereas it significantly impaired Gemini Flash 2.0 (OR = 0.40, p < .001), creating a specific blind spot for negative emotions.Conclusion: We conclude that CoT is not a universal facilitator for emotion recognition; rather, its effectiveness is contingent on model capacity, and its misapplication to smaller models may compromise clinical safety.
- 2 January 2026
- Published by Springer Nature
- p. 86-110
The Security of Deep Learning Defenses in Medical Imaging
- 2 January 2026
- Published by Springer Nature
- p. 86-110
The Security of Deep Learning Defenses in Medical Imaging
- Open Access
State over Tokens: Characterizing the Role of Reasoning Tokens
Large Language Models (LLMs) can generate reasoning tokens before their final answer to boost performance on complex tasks. While these sequences seem like human thought processes, empirical evidence reveals that they are not a faithful explanation of the model's actual reasoning process. To address this gap between appearance and function, we introduce the State over Tokens (SoT) conceptual framework. SoT reframes reasoning tokens not as a linguistic narrative, but as an externalized computational state -- the sole persistent information carrier across the model's stateless generation cycles. This explains how the tokens can drive correct reasoning without being a faithful explanation when read as text and surfaces previously overlooked research questions on these tokens. We argue that to truly understand the process that LLMs do, research must move beyond reading the reasoning tokens as text and focus on decoding them as state.
Open AccessState over Tokens: Characterizing the Role of Reasoning Tokens
Large Language Models (LLMs) can generate reasoning tokens before their final answer to boost performance on complex tasks. While these sequences seem like human thought processes, empirical evidence reveals that they are not a faithful explanation of the model's actual reasoning process. To address this gap between appearance and function, we introduce the State over Tokens (SoT) conceptual framework. SoT reframes reasoning tokens not as a linguistic narrative, but as an externalized computational state -- the sole persistent information carrier across the model's stateless generation cycles. This explains how the tokens can drive correct reasoning without being a faithful explanation when read as text and surfaces previously overlooked research questions on these tokens. We argue that to truly understand the process that LLMs do, research must move beyond reading the reasoning tokens as text and focus on decoding them as state.
- Open Access
- 12 October 2024
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Intelligent Systems and Technology
- Vol. 15 (5) , 1-21
Ranking the Transferability of Adversarial Examples
Adversarial transferability in blackbox scenarios presents a unique challenge: while attackers can employ surrogate models to craft adversarial examples, they lack assurance on whether these examples will successfully compromise the target model. Until now, the prevalent method to ascertain success has been trial and error—testing crafted samples directly on the victim model. This approach, however, risks detection with every attempt, forcing attackers to either perfect their first try or face exposure. Our article introduces a ranking strategy that refines the transfer attack process, enabling the attacker to estimate the likelihood of success without repeated trials on the victim’s system. By leveraging a set of diverse surrogate models, our method can predict transferability of adversarial examples. This strategy can be used to either select the best sample to use in an attack or the best perturbation to apply to a specific sample. Using our strategy, we were able to raise the transferability of adversarial examples from a mere 20%—akin to random selection—up to near upper-bound levels, with some scenarios even witnessing a 100% success rate. This substantial improvement not only sheds light on the shared susceptibilities across diverse architectures but also demonstrates that attackers can forego the detectable trial-and-error tactics raising increasing the threat of surrogate-based attacks.
- 12 October 2024
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Intelligent Systems and Technology
- Vol. 15 (5) , 1-21
Open AccessRanking the Transferability of Adversarial Examples
Adversarial transferability in blackbox scenarios presents a unique challenge: while attackers can employ surrogate models to craft adversarial examples, they lack assurance on whether these examples will successfully compromise the target model. Until now, the prevalent method to ascertain success has been trial and error—testing crafted samples directly on the victim model. This approach, however, risks detection with every attempt, forcing attackers to either perfect their first try or face exposure. Our article introduces a ranking strategy that refines the transfer attack process, enabling the attacker to estimate the likelihood of success without repeated trials on the victim’s system. By leveraging a set of diverse surrogate models, our method can predict transferability of adversarial examples. This strategy can be used to either select the best sample to use in an attack or the best perturbation to apply to a specific sample. Using our strategy, we were able to raise the transferability of adversarial examples from a mere 20%—akin to random selection—up to near upper-bound levels, with some scenarios even witnessing a 100% success rate. This substantial improvement not only sheds light on the shared susceptibilities across diverse architectures but also demonstrates that attackers can forego the detectable trial-and-error tactics raising increasing the threat of surrogate-based attacks.
- Open Access
- 20 November 2023
- Published by Association for Computing Machinery (ACM)
- p. 37-44
The Security of Deep Learning Defenses in Medical Imaging
Deep learning has shown great promise in the medical image analysis domain. Medical professionals and healthcare providers have begun to adopt this technology to accelerate and enhance their work. These systems use deep neural networks (DNNs) which are vulnerable to adversarial samples: images with imperceivable changes that can alter the model's prediction. Prior research has proposed defenses aimed at making DNNs more robust or detecting the adversarial samples before they can do any harm. However, none of the studies considered an informed attacker capable of adapting the attack to the defense mechanism. In this qualitative study, we show that an informed attacker can evade five advanced defenses, successfully fooling the victim deep learning model and rendering the defense useless. We also propose two alternative means of securing healthcare DNNs from such attacks: (1) hardening the system's security, and (2) using digital signatures.
- 20 November 2023
- Published by Association for Computing Machinery (ACM)
- p. 37-44
Open AccessThe Security of Deep Learning Defenses in Medical Imaging
Deep learning has shown great promise in the medical image analysis domain. Medical professionals and healthcare providers have begun to adopt this technology to accelerate and enhance their work. These systems use deep neural networks (DNNs) which are vulnerable to adversarial samples: images with imperceivable changes that can alter the model's prediction. Prior research has proposed defenses aimed at making DNNs more robust or detecting the adversarial samples before they can do any harm. However, none of the studies considered an informed attacker capable of adapting the attack to the defense mechanism. In this qualitative study, we show that an informed attacker can evade five advanced defenses, successfully fooling the victim deep learning model and rendering the defense useless. We also propose two alternative means of securing healthcare DNNs from such attacks: (1) hardening the system's security, and (2) using digital signatures.
- Open Access
Guiding LLM to Fool Itself: Automatically Manipulating Machine Reading Comprehension Shortcut Triggers
Recent applications of LLMs in Machine Reading Comprehension (MRC) systems have shown impressive results, but the use of shortcuts, mechanisms triggered by features spuriously correlated to the true label, has emerged as a potential threat to their reliability. We analyze the problem from two angles: LLMs as editors, guided to edit text to mislead LLMs; and LLMs as readers, who answer questions based on the edited text. We introduce a framework that guides an editor to add potential shortcuts-triggers to samples. Using GPT4 as the editor, we find it can successfully edit trigger shortcut in samples that fool LLMs. Analysing LLMs as readers, we observe that even capable LLMs can be deceived using shortcut knowledge. Strikingly, we discover that GPT4 can be deceived by its own edits (15% drop in F1). Our findings highlight inherent vulnerabilities of LLMs to shortcut manipulations. We publish ShortcutQA, a curated dataset generated by our framework for future research.
Open AccessGuiding LLM to Fool Itself: Automatically Manipulating Machine Reading Comprehension Shortcut Triggers
Recent applications of LLMs in Machine Reading Comprehension (MRC) systems have shown impressive results, but the use of shortcuts, mechanisms triggered by features spuriously correlated to the true label, has emerged as a potential threat to their reliability. We analyze the problem from two angles: LLMs as editors, guided to edit text to mislead LLMs; and LLMs as readers, who answer questions based on the edited text. We introduce a framework that guides an editor to add potential shortcuts-triggers to samples. Using GPT4 as the editor, we find it can successfully edit trigger shortcut in samples that fool LLMs. Analysing LLMs as readers, we observe that even capable LLMs can be deceived using shortcut knowledge. Strikingly, we discover that GPT4 can be deceived by its own edits (15% drop in F1). Our findings highlight inherent vulnerabilities of LLMs to shortcut manipulations. We publish ShortcutQA, a curated dataset generated by our framework for future research.