Intuitively, the associations between symptom entities can help enhance symptom inference.
we first define a smoothness loss that quantitatively measures the entity associations in the constructed symptom graph: where y i is 0 or 1 that depends whether the entity has been recognized by the symptom recognition module.