ConSequence: Synthesizing Logically Constrained Sequences for Electronic Health Record Generation
Brandon Theodorou, Shrusti Jain, Cao Xiao, Jimeng Sun
Abstract
Generative models can produce synthetic patient records for analytical tasks when real data is unavailable or limited. However, current methods struggle with adhering to domainspecific knowledge and removing invalid data. We present ConSequence, an effective approach to integrating domain knowledge into sequential generative neural network outputs. Our rule-based formulation includes temporal aggregation and antecedent evaluation modules, ensured by an efficient matrix multiplication formulation, to satisfy hard and soft logical constraints across time steps. Existing constraint methods often fail to guarantee constraint satisfaction, lack the ability to handle temporal constraints, and hinder the learning and computational efficiency of the model. In contrast, our approach efficiently handles all types of constraints with guaranteed logical coherence. We demonstrate ConSequence's effectiveness in generating electronic health records, outperforming competitors in achieving complete temporal and spatial constraint satisfaction without compromising runtime performance or generative quality. Specifically, ConSequence successfully prevents all rule violations while improving the model quality in reducing its test perplexity by 5% and incurring less than a 13% slowdown in generation speed compared to an unconstrained model.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 3b39fcb0-d02b-488c-8308-e287fadecadcBuilds on4
- Video Diffusion ModelsJonathan Ho, Tim Salimans, Alexey A. Gritsenko, William Chan et al.NeurIPS 2022 · 2,948 citations
- Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
- MultiplexNet: Towards Fully Satisfied Logical Constraints in Neural NetworksNick Hoernle, Rafael-Michael Karampatsis, Vaishak Belle, Kobi GalAAAI 2022 · 73 citations
- A Chance-Constrained Generative Framework for Sequence OptimizationXianggen Liu, Qiang Liu, Sen Song, Jian PengICML 2020 · 13 citations
Related papers
- Domain Knowledge Empowered Structured Neural Net for End-to-End Event Temporal Relation ExtractionRujun Han, Yichao Zhou, Nanyun PengEMNLP 2020 · 38 citations
- Beyond the convexity assumption: Realistic tabular data generation under quantifier-free real linear constraintsMihaela C. Stoian, Eleonora GiunchigliaICLR 2025
- Forward-Chaining Temporal Point ProcessChao Yang, Wendi Ren, Shuang LiICML 2026
- GLUECons: A Generic Benchmark for Learning under ConstraintsHossein Rajaby Faghihi, Aliakbar Nafar, Chen Zheng, Roshanak Mirzaee et al.AAAI 2023 · 18 citations
- Efficient Generation of Structured Objects with Constrained Adversarial NetworksLuca Di Liello, Pierfrancesco Ardino, Jacopo Gobbi, Paolo Morettin et al.NeurIPS 2020 · 44 citations
