atlas

Research map / Image generation / Autoregressive and latent generation

ConSequence: Synthesizing Logically Constrained Sequences for Electronic Health Record Generation

AAAI 2024 · Image generation › Autoregressive and latent generation · approach: Compositional scene generation · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ConSequence, a rule-neuron module with temporal aggregation implemented as matrix multiplications that enforces hard and soft temporal logical constraints in sequential EHR generators (applied to HALO), achieving zero rule violations with improved perplexity and under 13% generation slowdown.

Problem

Synthetic electronic health record generation from sequential generative models often violates domain logical constraints, especially temporal constraints spanning multiple visits, and existing constraint methods are either not guaranteed, unable to handle temporal rules, or computationally slow.

Approach

Encodes entailment rules in conjunctive implicative form, aggregates past visits with a temporal mask, and evaluates antecedents with a threshold rule neuron whose weighted sum is computed as batched matrix multiplication, so the neuron overrides the base model's output (Bernoulli-sampled for soft rules) to guarantee constraint satisfaction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add ConSequence logical constraint enforcementHALO · Outpatient EHR% valid: 87.2% (0.002) -> 100%Helped
Add ConSequence logical constraint enforcementHALO · Inpatient EHR% valid: 65.4% (0.002) -> 100%Helped
Add ConSequence training with rule-based constraintsHALO · Outpatient EHR test setperplexity: 24.019 -> 23.924Helped
Add ConSequence training with rule-based constraintsHALO · Inpatient EHR test setperplexity: 13.443 -> 12.712Helped
Use Semantic Loss constraint regularizationHALO · Outpatient EHR test setperplexity: 24.019 -> 23.995Helped
Use CCN constraint enforcementHALO · Inpatient EHR test setperplexity: 13.443 -> 12.985Helped
Use MultiPlexNet constraint enforcementHALO · Outpatient EHR test setperplexity: 24.019 -> 119.560Hurt
Use SPL constraint enforcementHALO · Inpatient EHR test setperplexity: 13.443 -> 22.794Hurt

Surprising findings

Limitations

Experimental setup

Datasets: US claims outpatient EHR dataset MIMIC-III

Benchmarks: Outpatient EHR dataset MIMIC-III

Metrics: rule violation count % valid records perplexity training speed generation speed

Baselines: Vanilla HALO Post Processing Semantic Loss CCN MultiPlexNet Semantic Probability Layer

Builds on: HALO Semantic Loss CCN MultiPlexNet Semantic Probability Layer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy