David Harel
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
David Harel has a total of 73 co-authors. Here are the top co-authors by number of shared publications:
- Yishai Feldman
The Interdisciplinary Center
18 shared publications - Assaf Marron
Weizmann Institute of Science
16 shared publications Yishai Feldman
6 shared publications- Guy Katz
The Hebrew University of Jerusalem
5 shared publications - Raz Yerushalmi
The Hebrew University of Jerusalem
5 shared publications - Irun R. Cohen
Weizmann Institute of Science
4 shared publications
Latest Publications
- 24 November 2025
- Published by Springer Nature
- p. 238-249
Meta-autoencoders: An Approach to Discovery and Representation of Relationships Between Dynamically Evolving Classes
- 24 November 2025
- Published by Springer Nature
- p. 238-249
Meta-autoencoders: An Approach to Discovery and Representation of Relationships Between Dynamically Evolving Classes
- Open Access
A Specification's Realm: Characterizing the Knowledge Required for Executing a Given Algorithm Specification
An algorithm specification in natural language or pseudocode is expected to be clear and explicit enough to enable mechanical execution. In this position paper we contribute an initial characterization of the knowledge that an executing agent, human or machine, should possess in order to be able to carry out the instructions of a given algorithm specification as a stand-alone entity, independent of any system implementation. We argue that, for that algorithm specification, such prerequisite knowledge, whether unique or shared with other specifications, can be summarized in a document of practical size. We term this document the realm of the algorithm specification. The generation of such a realm is itself a systematic analytical process, significant parts of which can be automated with the help of large language models and the reuse of existing documents. The algorithm-specification's realm would consist of specification language syntax and semantics, domain knowledge restricted to the referenced entities, inter-entity relationships, relevant underlying cause-and-effect rules, and detailed instructions and means for carrying out certain operations. Such characterization of the realm can contribute to methodological implementation of the algorithm specification in diverse systems and to its formalization for mechanical verification. The paper also touches upon the question of assessing execution faithfulness, which is distinct from correctness: in the absence of a reference interpretation of natural language or pseudocode specification with a given vocabulary, how can we determine if an observed agent's execution indeed complies with the input specification.
Open AccessA Specification's Realm: Characterizing the Knowledge Required for Executing a Given Algorithm Specification
An algorithm specification in natural language or pseudocode is expected to be clear and explicit enough to enable mechanical execution. In this position paper we contribute an initial characterization of the knowledge that an executing agent, human or machine, should possess in order to be able to carry out the instructions of a given algorithm specification as a stand-alone entity, independent of any system implementation. We argue that, for that algorithm specification, such prerequisite knowledge, whether unique or shared with other specifications, can be summarized in a document of practical size. We term this document the realm of the algorithm specification. The generation of such a realm is itself a systematic analytical process, significant parts of which can be automated with the help of large language models and the reuse of existing documents. The algorithm-specification's realm would consist of specification language syntax and semantics, domain knowledge restricted to the referenced entities, inter-entity relationships, relevant underlying cause-and-effect rules, and detailed instructions and means for carrying out certain operations. Such characterization of the realm can contribute to methodological implementation of the algorithm specification in diverse systems and to its formalization for mechanical verification. The paper also touches upon the question of assessing execution faithfulness, which is distinct from correctness: in the absence of a reference interpretation of natural language or pseudocode specification with a given vocabulary, how can we determine if an observed agent's execution indeed complies with the input specification.
- 1 October 2025
- Published by Springer Nature
- p. 147-162
Toward Methodical Discovery and Handling of Hidden Assumptions in Complex Systems and Models
- 1 October 2025
- Published by Springer Nature
- p. 147-162
Toward Methodical Discovery and Handling of Hidden Assumptions in Complex Systems and Models
- Open Access
- 12 September 2025
- Published by National Academy of Sciences in Proceedings of the National Academy of Sciences
- Vol. 122 (37)
Disentanglement of prosodic meaning: Toward a framework for the analysis of nonverbal information in speech
We propose a theoretical framework and a cost-effective automated method for the interpretation of prosodic messages (e.g., chunking of information, emphasis, conversation action, emotion). At the core of the proposal is a hierarchy of layered prosodic messages that co-occur within the same intonation unit (0.5 to 2 s long). Motivated by this hierarchy, a procedure for the differential detection of three such co-occurring nonverbal messages is then described. In way of implementation, we produce a variant model of the WHISPER automatic speech recognition system that flags intonation unit boundaries, intonation unit prototypes, and emphases therein. The procedure required us to alter WHISPER’s token combinations and significantly adjust its prediction process. The variant model was tested on four datasets that contain spontaneous and read speech, and performs on a par with similar human annotation, and often better, using relatively modest training data. Several insights regarding this implementation, such as model size and encoding methods, are described as well. We believe that the proposed framework, coupled with the results of its application herein, can greatly improve the analysis of speech and language, integrating contextual information and speaker intentions into linguistic descriptions for a large array of purposes with modest means.
- 12 September 2025
- Published by National Academy of Sciences in Proceedings of the National Academy of Sciences
- Vol. 122 (37)
Open AccessDisentanglement of prosodic meaning: Toward a framework for the analysis of nonverbal information in speech
We propose a theoretical framework and a cost-effective automated method for the interpretation of prosodic messages (e.g., chunking of information, emphasis, conversation action, emotion). At the core of the proposal is a hierarchy of layered prosodic messages that co-occur within the same intonation unit (0.5 to 2 s long). Motivated by this hierarchy, a procedure for the differential detection of three such co-occurring nonverbal messages is then described. In way of implementation, we produce a variant model of the WHISPER automatic speech recognition system that flags intonation unit boundaries, intonation unit prototypes, and emphases therein. The procedure required us to alter WHISPER’s token combinations and significantly adjust its prediction process. The variant model was tested on four datasets that contain spontaneous and read speech, and performs on a par with similar human annotation, and often better, using relatively modest training data. Several insights regarding this implementation, such as model size and encoding methods, are described as well. We believe that the proposed framework, coupled with the results of its application herein, can greatly improve the analysis of speech and language, integrating contextual information and speaker intentions into linguistic descriptions for a large array of purposes with modest means.
- 24 June 2025
- Published by Springer Nature
- p. 284-302
Enforcing Specific Behaviours via Constrained DRL and Scenario-Based Programming
- 24 June 2025
- Published by Springer Nature
- p. 284-302
Enforcing Specific Behaviours via Constrained DRL and Scenario-Based Programming
- 27 January 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 51 (3) , 741-745
From Executable Specifications to Hard-to-Specify Requirements: Challenges in Describing Reactive System Behavior
System and Software Engineering is about implementing “what the user wanted” (colloquial phrasing borrowed from the famous tree-swing cartoon; see Fig. 1). We begin this paper by revisiting briefly the decades-long continuous pursuit of answers to some of the underlying engineering challenges, carried out by the first-listed author and his colleagues. Along this road, concepts like executable specifications, visual formalisms, hierarchies, abstractions, and scenarios play major roles. We then reflect upon the observation that the very discovery of “what the user wanted”, which often appears to require only elicitation in some structured requirement engineering process, actually poses significant challenges of its own. Documenting in advance the requirements for a real-world reactive system, such as an autonomous vehicle – and more generally, producing a textual and visual description of what a system does or needs to do – is becoming ever harder, and in certain cases impossible. Furthermore, producing quality specifications is critical not only for eventually satisfying the user, but for early detection of critical faults. We conclude by outlining future approaches and tools that may be able to mitigate the severity of this issue.
- 27 January 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 51 (3) , 741-745
From Executable Specifications to Hard-to-Specify Requirements: Challenges in Describing Reactive System Behavior
System and Software Engineering is about implementing “what the user wanted” (colloquial phrasing borrowed from the famous tree-swing cartoon; see Fig. 1). We begin this paper by revisiting briefly the decades-long continuous pursuit of answers to some of the underlying engineering challenges, carried out by the first-listed author and his colleagues. Along this road, concepts like executable specifications, visual formalisms, hierarchies, abstractions, and scenarios play major roles. We then reflect upon the observation that the very discovery of “what the user wanted”, which often appears to require only elicitation in some structured requirement engineering process, actually poses significant challenges of its own. Documenting in advance the requirements for a real-world reactive system, such as an autonomous vehicle – and more generally, producing a textual and visual description of what a system does or needs to do – is becoming ever harder, and in certain cases impossible. Furthermore, producing quality specifications is critical not only for eventually satisfying the user, but for early detection of critical faults. We conclude by outlining future approaches and tools that may be able to mitigate the severity of this issue.
- Open Access
- 5 February 2024
- Published by National Academy of Sciences in Proceedings of the National Academy of Sciences
- Vol. 121 (7)
Deciphering the underlying mechanisms of the pharyngeal pumping motions in Caenorhabditis elegans
The pharynx of the nematode Caenorhabditis elegans is a neuromuscular organ that exhibits typical pumping motions, which result in the intake of food particles from the environment. In-depth inspection reveals slightly different dynamics at the various pharyngeal areas, rather than synchronous pumping motions of the whole organ, which are important for its effective functioning. While the different pumping dynamics are well characterized, the underlying mechanisms that generate them are not known. In this study, the C. elegans pharynx was modeled in a bottom–up fashion, including all of the underlying biological processes that lead to, and including, its end function, food intake. The mathematical modeling of all processes allowed performing comprehensive, quantitative analyses of the system as a whole. Our analyses provided detailed explanations for the various pumping dynamics generated at the different pharyngeal areas; a fine-resolution description of muscle dynamics, both between and within different pharyngeal areas; a quantitative assessment of the values of many parameters of the system that are unavailable in the literature; and support for a functional role of the marginal cells, which are currently assumed to mainly have a structural role in the pharynx. In addition, our model predicted that in tiny organisms such as C. elegans , the generation of long-lasting action potentials must involve ions other than calcium. Our study exemplifies the power of mathematical models, which allow a more accurate, higher-resolution inspection of the studied system, and an easier and faster execution of in silico experiments than feasible in the lab.
- 5 February 2024
- Published by National Academy of Sciences in Proceedings of the National Academy of Sciences
- Vol. 121 (7)
Open AccessDeciphering the underlying mechanisms of the pharyngeal pumping motions in Caenorhabditis elegans
The pharynx of the nematode Caenorhabditis elegans is a neuromuscular organ that exhibits typical pumping motions, which result in the intake of food particles from the environment. In-depth inspection reveals slightly different dynamics at the various pharyngeal areas, rather than synchronous pumping motions of the whole organ, which are important for its effective functioning. While the different pumping dynamics are well characterized, the underlying mechanisms that generate them are not known. In this study, the C. elegans pharynx was modeled in a bottom–up fashion, including all of the underlying biological processes that lead to, and including, its end function, food intake. The mathematical modeling of all processes allowed performing comprehensive, quantitative analyses of the system as a whole. Our analyses provided detailed explanations for the various pumping dynamics generated at the different pharyngeal areas; a fine-resolution description of muscle dynamics, both between and within different pharyngeal areas; a quantitative assessment of the values of many parameters of the system that are unavailable in the literature; and support for a functional role of the marginal cells, which are currently assumed to mainly have a structural role in the pharynx. In addition, our model predicted that in tiny organisms such as C. elegans , the generation of long-lasting action potentials must involve ions other than calcium. Our study exemplifies the power of mathematical models, which allow a more accurate, higher-resolution inspection of the studied system, and an easier and faster execution of in silico experiments than feasible in the lab.
- Open Access
On Augmenting Scenario-Based Modeling with Generative AI
The manual modeling of complex systems is a daunting task; and although a plethora of methods exist that mitigate this issue, the problem remains very difficult. Recent advances in generative AI have allowed the creation of general-purpose chatbots, capable of assisting software engineers in various modeling tasks. However, these chatbots are often inaccurate, and an unstructured use thereof could result in erroneous system models. In this paper, we outline a method for the safer and more structured use of chatbots as part of the modeling process. To streamline this integration, we propose leveraging scenario-based modeling techniques, which are known to facilitate the automated analysis of models. We argue that through iterative invocations of the chatbot and the manual and automatic inspection of the resulting models, a more accurate system model can eventually be obtained. We describe favorable preliminary results, which highlight the potential of this approach.
Open AccessOn Augmenting Scenario-Based Modeling with Generative AI
The manual modeling of complex systems is a daunting task; and although a plethora of methods exist that mitigate this issue, the problem remains very difficult. Recent advances in generative AI have allowed the creation of general-purpose chatbots, capable of assisting software engineers in various modeling tasks. However, these chatbots are often inaccurate, and an unstructured use thereof could result in erroneous system models. In this paper, we outline a method for the safer and more structured use of chatbots as part of the modeling process. To streamline this integration, we propose leveraging scenario-based modeling techniques, which are known to facilitate the automated analysis of models. We argue that through iterative invocations of the chatbot and the manual and automatic inspection of the resulting models, a more accurate system model can eventually be obtained. We describe favorable preliminary results, which highlight the potential of this approach.
- Open Access
Toward Methodical Discovery and Handling of Hidden Assumptions in Complex Systems and Models
Methodologies for development of complex systems and models include external reviews by domain and technology experts. Among others, such reviews can uncover undocumented built-in assumptions that may be critical for correct and safe operation or constrain applicability. Since such assumptions may still escape human-centered processes like reviews, agile development, and risk analyses, here, we contribute toward making this process more methodical and automatable. We first present a blueprint for a taxonomy and formalization of the problem. We then show that a variety of digital artifacts of the system or model can be automatically checked against extensive reference knowledge. Since mimicking the breadth and depth of knowledge and skills of experts may appear unattainable, we illustrate the basic feasibility of automation with rudimentary experiments using OpenAI's ChatGPT. We believe that systematic handling of this aspect of system engineering can contribute significantly to the quality and safety of complex systems and models, and to the efficiency of development projects. We dedicate this work to Werner Damm, whose contributions to modeling and model-based development, in industry and academia, with a special focus on safety, helped establish a solid foundation to our discipline and to the work of many scientists and professionals, including, naturally, the approaches and techniques described here.
Open AccessToward Methodical Discovery and Handling of Hidden Assumptions in Complex Systems and Models
Methodologies for development of complex systems and models include external reviews by domain and technology experts. Among others, such reviews can uncover undocumented built-in assumptions that may be critical for correct and safe operation or constrain applicability. Since such assumptions may still escape human-centered processes like reviews, agile development, and risk analyses, here, we contribute toward making this process more methodical and automatable. We first present a blueprint for a taxonomy and formalization of the problem. We then show that a variety of digital artifacts of the system or model can be automatically checked against extensive reference knowledge. Since mimicking the breadth and depth of knowledge and skills of experts may appear unattainable, we illustrate the basic feasibility of automation with rudimentary experiments using OpenAI's ChatGPT. We believe that systematic handling of this aspect of system engineering can contribute significantly to the quality and safety of complex systems and models, and to the efficiency of development projects. We dedicate this work to Werner Damm, whose contributions to modeling and model-based development, in industry and academia, with a special focus on safety, helped establish a solid foundation to our discipline and to the work of many scientists and professionals, including, naturally, the approaches and techniques described here.