Sheng-Jung Yu
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Sheng-Jung Yu has a total of 25 co-authors. Here are the top co-authors by number of shared publications:
- Alberto Sangiovanni Vincentelli
University of California Berkeley
6 shared publications - Inigo Incer
University of Michigan
4 shared publications - Sanjit A. Seshia
University of California, Berkeley, Berkeley, California, USA
3 shared publications - Albert Benveniste
IRISA-INRIA
1 shared publication - Ankur Mehta
Department of Electrical and Computer Engineering, Henry Samueli School of Engineering and Applied Science, University of California, Los Angeles, Los Angeles, CA 90095, USA
1 shared publication - Anwesha Chattoraj
University of California, Los Angeles, USA
1 shared publication
Latest Publications
- Open Access
- 28 September 2025
- Published by Association for Computing Machinery (ACM)
- p. 38-46
Contract-based Component Selection Using Behaviors
- 28 September 2025
- Published by Association for Computing Machinery (ACM)
- p. 38-46
Open AccessContract-based Component Selection Using Behaviors
- Open Access
- 28 September 2025
- Published by Association for Computing Machinery (ACM)
- p. 47-56
Ensuring Strong Replaceability of Assume-guarantee Contract for Feedback Composition
- 28 September 2025
- Published by Association for Computing Machinery (ACM)
- p. 47-56
Open AccessEnsuring Strong Replaceability of Assume-guarantee Contract for Feedback Composition
- Open Access
- 13 January 2025
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Cyber-Physical Systems
- Vol. 9 (1) , 1-35
Pacti: Assume-Guarantee Contracts for Efficient Compositional Analysis and Design
Contract-based design is a method to facilitate modular design of systems. While there has been substantial progress on the theory of contracts, there has been less progress on practical algorithms for the algebraic operations in the theory. In this article, we present (1) principles to implement a contract-based design tool at scale and (2) Pacti, a tool that can efficiently compute these operations. We illustrate the use of Pacti in a variety of case studies.
- 13 January 2025
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Cyber-Physical Systems
- Vol. 9 (1) , 1-35
Open AccessPacti: Assume-Guarantee Contracts for Efficient Compositional Analysis and Design
Contract-based design is a method to facilitate modular design of systems. While there has been substantial progress on the theory of contracts, there has been less progress on practical algorithms for the algebraic operations in the theory. In this article, we present (1) principles to implement a contract-based design tool at scale and (2) Pacti, a tool that can efficiently compute these operations. We illustrate the use of Pacti in a variety of case studies.
- Open Access
- 21 September 2023
- Published by Association for Computing Machinery (ACM)
- p. 180-190
Constraint-Behavior Contracts: A Formalism for Specifying Physical Systems
Contract-based design (CBD) is a system development methodology that addresses the ever-increasing complexity and heterogeneity of cyber-physical system design problems. In CBD, systems and subsystems are represented by assume-guarantee contracts, formal specifications that make a distinction between supported environments and guarantees offered by a component. While the assume-guarantee formalism offers compact encoding of specifications, the port directions, i.e., the classifications of ports as input and output ports, implied by its semantics make it difficult to express properties of physical systems and subsystems where the relation between inputs and outputs is implicit. In this paper, we propose constraint-behavior contracts to specify physical components without the need to classify ports. The operations and relations between constraint-behavior contracts are defined to facilitate system reasoning without port directions. The capability of constraint-behavior contracts to integrate with assume-guarantee contracts gives the user the choice of a formalism to use at different abstraction layers. A case study based on an Unmanned Aerial Vehicle design problem shows that the proposed constraint-behavior contracts can facilitate system verification by expressing physical components, reducing the number of contracts, and providing an intuitive encoding of contracts.
- 21 September 2023
- Published by Association for Computing Machinery (ACM)
- p. 180-190
Open AccessConstraint-Behavior Contracts: A Formalism for Specifying Physical Systems
Contract-based design (CBD) is a system development methodology that addresses the ever-increasing complexity and heterogeneity of cyber-physical system design problems. In CBD, systems and subsystems are represented by assume-guarantee contracts, formal specifications that make a distinction between supported environments and guarantees offered by a component. While the assume-guarantee formalism offers compact encoding of specifications, the port directions, i.e., the classifications of ports as input and output ports, implied by its semantics make it difficult to express properties of physical systems and subsystems where the relation between inputs and outputs is implicit. In this paper, we propose constraint-behavior contracts to specify physical components without the need to classify ports. The operations and relations between constraint-behavior contracts are defined to facilitate system reasoning without port directions. The capability of constraint-behavior contracts to integrate with assume-guarantee contracts gives the user the choice of a formalism to use at different abstraction layers. A case study based on an Unmanned Aerial Vehicle design problem shows that the proposed constraint-behavior contracts can facilitate system verification by expressing physical components, reducing the number of contracts, and providing an intuitive encoding of contracts.
- Open Access
- 21 September 2023
- Published by Association for Computing Machinery (ACM)
- p. 111-121
Contract Replaceability for Ensuring Independent Design using Assume-Guarantee Contracts
Complexity and heterogeneity are fundamental challenges for system design, as they prolong the design process and increase its cost. Independent design is a promising design flow to address these challenges whereby a supplier can develop its component without exchanging system-level information with other suppliers. Recent research on assume-guarantee contracts and contract-based design has focused on algebraic concepts, such as refinement and composition, to achieve independent design. However, the conventional definition of assume-guarantee contracts may result in implementations that may not operate correctly in the targeted environment of the system, thus hindering independent design. In this paper, we introduce the concept of contract replaceability, a binary relation on contracts that prevents this problem. We then extend the requirements to include receptiveness as a constraint on assume-guarantee contracts to ensure strong replaceability. The properties derived from the constraints ensure that strong replaceability is satisfied under contract refinement and cascade composition. Thus any assume-guarantee contract that satisfies this constraint permits independent design.
- 21 September 2023
- Published by Association for Computing Machinery (ACM)
- p. 111-121
Open AccessContract Replaceability for Ensuring Independent Design using Assume-Guarantee Contracts
Complexity and heterogeneity are fundamental challenges for system design, as they prolong the design process and increase its cost. Independent design is a promising design flow to address these challenges whereby a supplier can develop its component without exchanging system-level information with other suppliers. Recent research on assume-guarantee contracts and contract-based design has focused on algebraic concepts, such as refinement and composition, to achieve independent design. However, the conventional definition of assume-guarantee contracts may result in implementations that may not operate correctly in the targeted environment of the system, thus hindering independent design. In this paper, we introduce the concept of contract replaceability, a binary relation on contracts that prevents this problem. We then extend the requirements to include receptiveness as a constraint on assume-guarantee contracts to ensure strong replaceability. The properties derived from the constraints ensure that strong replaceability is satisfied under contract refinement and cascade composition. Thus any assume-guarantee contract that satisfies this constraint permits independent design.
- Open Access
- 9 September 2023
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 22 (5s) , 1-24
Towards Building Verifiable CPS using Lingua Franca
Formal verification of cyber-physical systems (CPS) is challenging because it has to consider real-time and concurrency aspects that are often absent in ordinary software. Moreover, the software in CPS is often complex and low-level, making it hard to assure that a formal model of the system used for verification is a faithful representation of the actual implementation, which can undermine the value of a verification result. To address this problem, we propose a methodology for building verifiable CPS based on the principle that a formal model of the software can be derived automatically from its implementation. Our approach requires that the system implementation is specified in Lingua Franca (LF), a polyglot coordination language tailored for real-time, concurrent CPS, which we made amenable to the specification of safety properties via annotations in the code. The program structure and the deterministic semantics of LF enable automatic construction of formal axiomatic models directly from LF programs. The generated models are automatically checked using Bounded Model Checking (BMC) by the verification engine Uclid5 using the Z3 SMT solver. The proposed technique enables checking a well-defined fragment of Safety Metric Temporal Logic (Safety MTL) formulas. To ensure the completeness of BMC, we present a method to derive an upper bound on the completeness threshold of an axiomatic model based on the semantics of LF. We implement our approach in the LF V erifier and evaluate it using a benchmark suite with 22 programs sampled from real-life applications and benchmarks for Erlang, Lustre, actor-oriented languages, and RTOSes. The LF V erifier correctly checks 21 out of 22 programs automatically.
- 9 September 2023
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 22 (5s) , 1-24
Open AccessTowards Building Verifiable CPS using Lingua Franca
Formal verification of cyber-physical systems (CPS) is challenging because it has to consider real-time and concurrency aspects that are often absent in ordinary software. Moreover, the software in CPS is often complex and low-level, making it hard to assure that a formal model of the system used for verification is a faithful representation of the actual implementation, which can undermine the value of a verification result. To address this problem, we propose a methodology for building verifiable CPS based on the principle that a formal model of the software can be derived automatically from its implementation. Our approach requires that the system implementation is specified in Lingua Franca (LF), a polyglot coordination language tailored for real-time, concurrent CPS, which we made amenable to the specification of safety properties via annotations in the code. The program structure and the deterministic semantics of LF enable automatic construction of formal axiomatic models directly from LF programs. The generated models are automatically checked using Bounded Model Checking (BMC) by the verification engine Uclid5 using the Z3 SMT solver. The proposed technique enables checking a well-defined fragment of Safety Metric Temporal Logic (Safety MTL) formulas. To ensure the completeness of BMC, we present a method to derive an upper bound on the completeness threshold of an axiomatic model based on the semantics of LF. We implement our approach in the LF V erifier and evaluate it using a benchmark suite with 22 programs sampled from real-life applications and benchmarks for Erlang, Lustre, actor-oriented languages, and RTOSes. The LF V erifier correctly checks 21 out of 22 programs automatically.
- Open Access
- 9 May 2023
- Published by Association for Computing Machinery (ACM)
- p. 92-99
Symbiotic CPS Design-Space Exploration through Iterated Optimization
Cyber-physical systems (CPSs) are complex systems comprised of computational processes, communication networks, and elements interacting with the physical world. The design of the CPSs involves many domain-specific tools and design flows created by engineers with diverse domain knowledge. As the scale of the systems increases, the heterogeneity nature of CPS design prolongs the CPS design process, making exhaustive design-space exploration infeasible. The symbiotic design methodology, in which the designers interact with optimization tools during the design process, is therefore promising to facilitate the design process by performing design exploration in a properly restricted design space. We present a symbiotic design methodology, which explores the design space iteratively and optimizes the system by exploiting the collaboration between designers and tools. The optimization tools perform the design space exploration, while the human designers use their expertise to guide the exploration by restricting the design space. Experimental results based on a robot car configuration problem and an unmanned aerial vehicle design problem show that the methodology can efficiently and effectively discover unconventional designs while optimizing the design objectives.
- 9 May 2023
- Published by Association for Computing Machinery (ACM)
- p. 92-99
Open AccessSymbiotic CPS Design-Space Exploration through Iterated Optimization
Cyber-physical systems (CPSs) are complex systems comprised of computational processes, communication networks, and elements interacting with the physical world. The design of the CPSs involves many domain-specific tools and design flows created by engineers with diverse domain knowledge. As the scale of the systems increases, the heterogeneity nature of CPS design prolongs the CPS design process, making exhaustive design-space exploration infeasible. The symbiotic design methodology, in which the designers interact with optimization tools during the design process, is therefore promising to facilitate the design process by performing design exploration in a properly restricted design space. We present a symbiotic design methodology, which explores the design space iteratively and optimizes the system by exploiting the collaboration between designers and tools. The optimization tools perform the design space exploration, while the human designers use their expertise to guide the exploration by restricting the design space. Experimental results based on a robot car configuration problem and an unmanned aerial vehicle design problem show that the methodology can efficiently and effectively discover unconventional designs while optimizing the design objectives.
- 13 December 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 41 (11) , 4653-4666
On-Chip Optical Routing With Provably Good Algorithms for Path Clustering and Assignment
As the VLSI technology continues to scale down, combined with increasing demands for large bandwidth and lowpower consumption, the optical interconnections withWavelength Division Multiplexing (WDM) become an attractive alternative for on-chip signal transmission. Previous WDM-aware optical routing works consist of three main drawbacks: they are based mainly on heuristics or restricted integer linear programming to handle optical routing, the addressed types of insertion loss and WDM overheads are incomplete, and the crosstalk noise during concurrent signal transmission is neglected. As a result, no performance guarantees can be achieved on their WDM clustering results, the reliability of the optical network is impaired, and/or their computations are too time-consuming. To remedy these disadvantages, we present a new WDM-aware optical routing flow to minimize the insertion loss, the WDM overheads, and the crosstalk noise with a significant speedup. In the proposed flow, the WDM-aware path clustering algorithm guarantees to find an optimal solution for 1-, 2-, and 3-path clustering and has the constant performance bound for most cases of 4-path clustering; the crosstalk-aware path assignment guarantees to minimize the number of crosstalk signal pairs within the given displacement bound. Experimental results based on the ISPD 2007 and 2019 contest benchmarks and a real optical design show that our optical router significantly outperforms published works in wirelength, insertion loss, wavelength power, crosstalk noise, and runtimes.
- 13 December 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 41 (11) , 4653-4666
On-Chip Optical Routing With Provably Good Algorithms for Path Clustering and Assignment
As the VLSI technology continues to scale down, combined with increasing demands for large bandwidth and lowpower consumption, the optical interconnections withWavelength Division Multiplexing (WDM) become an attractive alternative for on-chip signal transmission. Previous WDM-aware optical routing works consist of three main drawbacks: they are based mainly on heuristics or restricted integer linear programming to handle optical routing, the addressed types of insertion loss and WDM overheads are incomplete, and the crosstalk noise during concurrent signal transmission is neglected. As a result, no performance guarantees can be achieved on their WDM clustering results, the reliability of the optical network is impaired, and/or their computations are too time-consuming. To remedy these disadvantages, we present a new WDM-aware optical routing flow to minimize the insertion loss, the WDM overheads, and the crosstalk noise with a significant speedup. In the proposed flow, the WDM-aware path clustering algorithm guarantees to find an optimal solution for 1-, 2-, and 3-path clustering and has the constant performance bound for most cases of 4-path clustering; the crosstalk-aware path assignment guarantees to minimize the number of crosstalk signal pairs within the given displacement bound. Experimental results based on the ISPD 2007 and 2019 contest benchmarks and a real optical design show that our optical router significantly outperforms published works in wirelength, insertion loss, wavelength power, crosstalk noise, and runtimes.