Eigenmood Space: Uncertainty-Aware Spectral Graph Analysis of Psychological Patterns in Classical Persian Poetry
Organizations: Sharif University of Technology, Tehran, Iran. · Amirkabir University of Technology, Tehran, Iran.
Abstract
Classical Persian poetry is a historically sustained archive in which affective life is expressed through metaphor, intertextual convention, and rhetorical indirection. These properties make close reading indispensable while limiting reproducible comparison at scale. We present an uncertainty-aware computational framework for poet-level psychological analysis based on large-scale automatic multi-label annotation. Each verse is associated with a set of psychological concepts, per-label confidence scores, and an abstention flag that signals insufficient evidence. We aggregate confidence-weighted evidence into a Poet Concept matrix, interpret each poet as a probability distribution over concepts, and quantify poetic individuality as divergence from a corpus baseline using Jensen--Shannon divergence and Kullback--Leibler divergence. To capture relational structure beyond marginals, we build a confidence-weighted co-occurrence graph over concepts and define an Eigenmood embedding through Laplacian spectral decomposition. On a corpus of 61{,}573 verses across 10 poets, 22.2% of verses are abstained, underscoring the analytical importance of uncertainty. We further report sensitivity analysis under confidence thresholding, selection-bias diagnostics that treat abstention as a category, and a distant-to-close workflow that retrieves verse-level exemplars along Eigenmood axes. The resulting framework supports scalable, auditable digital-humanities analysis while preserving interpretive caution by propagating uncertainty from verse-level evidence to poet-level inference.
Figures & tables
| Concept | Weighted mass | Share ( ) |
|---|---|---|
| Melancholia | 15462.2 | 0.307 |
| Emotional Dependency | 9962.4 | 0.198 |
| Romantic Obsession | 8564.9 | 0.170 |
| Self-Destructive Idealization | 5900.7 | 0.117 |
| Spiritual Narcissism | 3955.4 | 0.078 |
| Ambivalent Attachment | 2483.0 | 0.049 |
| Concept | Base | ||
|---|---|---|---|
| Melancholia | 0.307 | 0.306 | 0.302 |
| Emotional Dependency | 0.198 | 0.198 | 0.206 |
| Romantic Obsession | 0.170 | 0.170 | 0.202 |
| Self-Destructive Idealization | 0.117 | 0.117 | 0.106 |
| Spiritual Narcissism | 0.078 | 0.078 | 0.081 |
| Ambivalent Attachment | 0.049 | 0.049 | 0.036 |
| Poet | Verses | Abstain | Avg. conf. | Top concepts | |
|---|---|---|---|---|---|
| Khaghani | 17292 | 0.357 | 0.701 | 0.0179 | Melancholia (0.316) Spiritual Narcissism (0.164) |
| Jahan | 12299 | 0.065 | 0.710 | 0.0250 | Melancholia (0.319) Emotional Dependency (0.305) |
| Saadi | 6864 | 0.137 | 0.708 | 0.0106 | Romantic Obsession (0.239) Melancholia (0.238) |
| Vahshi | 5727 | 0.289 | 0.698 | 0.0085 | Melancholia (0.327) Self-Destructive Idealization (0.152) |
| Parvin | 5573 | 0.384 | 0.695 | 0.0459 | Melancholia (0.370) Self-Destructive Idealization (0.190) |
| Hafez | 5221 | 0.182 | 0.693 | 0.0035 | Melancholia (0.294) Romantic Obsession (0.188) |
| Poet | Largest positive lifts | Largest negative lifts |
|---|---|---|
| Khayyam | Melancholia Identity Fragmentation Spiritual Narcissism | Emotional Dependency Romantic Obsession Ambivalent Attachment |
| Parvin | Self-Destructive Idealization Melancholia Identity Fragmentation | Romantic Obsession Emotional Dependency Ambivalent Attachment |
| Jahan | Emotional Dependency Romantic Obsession Melancholia | Spiritual Narcissism Self-Destructive Idealization Identity Fragmentation |
| Poet | Baseline | ||
|---|---|---|---|
| Khayyam | 0.0901 | 0.0900 | 0.1011 |
| Parvin | 0.0459 | 0.0460 | 0.0564 |
| Jahan | 0.0250 | 0.0251 | 0.0282 |
| Khaghani | 0.0179 | 0.0180 | 0.0227 |
| Saadi | 0.0106 | 0.0108 | 0.0160 |
| Vahshi | 0.0085 | 0.0085 | 0.0111 |
| Poet | Non-abstained verses | mean [2.5%, 97.5%] | EM2 mean [2.5%, 97.5%] |
|---|---|---|---|
| Khayyam | 219 | 0.094 [0.072, 0.122] | -0.058 [-0.085, -0.028] |
| Parvin | 3432 | 0.046 [0.041, 0.051] | -0.027 [-0.034, -0.019] |
| Jahan | 11502 | 0.025 [0.024, 0.027] | 0.007 [0.005, 0.009] |
| Khaghani | 11111 | 0.018 [0.016, 0.020] | -0.011 [-0.014, -0.008] |
| Saadi | 5927 | 0.011 [0.010, 0.012] | -0.003 [-0.006, 0.000] |
| Vahshi | 4073 | 0.009 [0.007, 0.011] | 0.007 [0.002, 0.012] |
| Concept pair | Edge weight |
|---|---|
| Emotional Dependency – Melancholia | 4739.1 |
| Emotional Dependency – Romantic Obsession | 2650.9 |
| Melancholia – Romantic Obsession | 1981.4 |
| Melancholia – Self-Destructive Idealization | 1726.7 |
| Ambivalent Attachment – Melancholia | 1124.0 |
| Emotional Dependency – Self-Destructive Idealization | 770.6 |
| Axis | Largest-magnitude loadings (concept, value) |
|---|---|
| EM1 | Spiritual Narcissism Ambivalent Attachment Melancholia |
| EM2 | Internal Projection Identity Fragmentation Self-Destructive Idealization |
| EM3 | Identity Fragmentation Ambivalent Attachment Internal Projection |
| Poet | Abstain rate | Verses | |
|---|---|---|---|
| Khayyam | |||
| Parvin | |||
| Jahan | |||
| Khaghani | |||
| Saadi | |||
| Vahshi |
| Concept | Pos A | Pos B | |||
|---|---|---|---|---|---|
| Ambivalent Attachment | 0.980 | 0.931 | 0.712 | 16 | 20 |
| Emotional Dependency | 0.978 | 0.744 | 0.914 | 74 | 77 |
| Idealization | 0.990 | 0.986 | 0.282 | 5 | 2 |
| Identity Fragmentation | 0.984 | 0.909 | 0.825 | 24 | 24 |
| Internal Projection | 0.984 | 0.931 | 0.770 | 19 | 17 |
| Melancholia | 0.962 | 0.660 | 0.888 | 109 | 108 |
| Concept | #Pred | #Correct | Precision |
|---|---|---|---|
| Ambivalent Attachment | 21 | 15 | 0.714 |
| Emotional Dependency | 81 | 70 | 0.864 |
| Idealization | 3 | 2 | 0.667 |
| Identity Fragmentation | 27 | 19 | 0.704 |
| Internal Projection | 18 | 16 | 0.889 |
| Melancholia | 132 | 105 | 0.795 |
| Concept | Precision | Recall | Support | |
|---|---|---|---|---|
| Ambivalent Attachment | 0.714 | 0.652 | 0.682 | 23 |
| Emotional Dependency | 0.864 | 0.864 | 0.864 | 81 |
| Idealization | 0.667 | 0.333 | 0.444 | 6 |
| Identity Fragmentation | 0.704 | 0.679 | 0.691 | 28 |
| Internal Projection | 0.889 | 0.727 | 0.800 | 22 |
| Melancholia | 0.795 | 0.890 | 0.840 | 118 |
| Bin | Count | Mean conf. | Accuracy | gap |
|---|---|---|---|---|
| [0.3,0.4) | 4 | 0.327 | 0.500 | 0.173 |
| [0.5,0.6) | 31 | 0.509 | 0.710 | 0.201 |
| [0.6,0.7) | 93 | 0.673 | 0.710 | 0.036 |
| [0.7,0.8) | 55 | 0.751 | 0.764 | 0.012 |
| [0.8,0.9) | 151 | 0.843 | 0.821 | 0.022 |
| [0.9,1.0) | 103 | 0.944 | 0.951 | 0.008 |
| Retained | Coverage | Accuracy | Risk | |
|---|---|---|---|---|
| 0.3 | 437 | 1.000 | 0.810 | 0.190 |
| 0.5 | 433 | 0.991 | 0.813 | 0.187 |
| 0.7 | 309 | 0.707 | 0.854 | 0.146 |
| 0.8 | 254 | 0.581 | 0.874 | 0.126 |
| 0.9 | 103 | 0.236 | 0.951 | 0.049 |
| Comparison | Spearman | -value | 95% bootstrap CI |
|---|---|---|---|
| Base vs abstention-inclusive | 0.903 |
| Poet | Abstain rate | (base) | (aug.) | Rank change |
|---|---|---|---|---|
| Khayyam | 0.385 | 0.0901 | 0.0850 | +0 |
| Parvin | 0.384 | 0.0459 | 0.0547 | +0 |
| Jahan | 0.065 | 0.0250 | 0.0505 | +0 |
| Khaghani | 0.357 | 0.0179 | 0.0274 | +0 |
| Saadi | 0.137 | 0.0106 | 0.0156 | +1 |
| Vahshi | 0.289 | 0.0085 | 0.0102 | +2 |
Appendix figures & tables80 assets
Supplementary material from the paper’s appendix.
Appendix
| Poet | Verses | Abstain | |
|---|---|---|---|
| Khaghani |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Khaghani |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Spiritual Narcissism | |
| 3 | Self-Destructive Idealization |
| Reference | Score | English translation |
|---|---|---|
| EM1 (positive) | Let them call me a second Ptolemy. (Translation ours.) | |
| EM1 (positive) | On my threshold stood hosts of angels in rank. (Translation ours.) | |
| EM1 (positive) | I was a teacher in the heavenly realm; from my obedience came thousands upon thousands of treasures. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | Sorrows drained Khaghani’s blood; return him, at least, pure blood. (Translation ours.) | |
| Melancholia | You made my body and soul a dwelling of grief; in my heart’s garden the lily of sorrow bloomed. (Translation ours.) | |
| Melancholia | My heart has been worn away beneath grief’s tread; my hand is scorched in grief’s fire. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Jahan |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Jahan |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Emotional Dependency | |
| 3 | Romantic Obsession |
| Reference | Score | English translation |
|---|---|---|
| EM1 (negative) | With all your harshness, ill temper, and broken vows, you remain the soul’s companion and my wounded heart’s hope. (Translation ours.) | |
| EM1 (negative) | He carried off my heart and faith and veiled his face from me; what can I do, faithlessness is the beloved’s habit. (Translation ours.) | |
| EM1 (negative) | I have neither patience without him nor strength to bear his cruelty; my heart is at its limit, what am I to do? (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | Not a night passes in the sorrow of your absence that my face is not washed with liver-blood. (Translation ours.) | |
| Melancholia | In your separation my tears run like the Tigris; from grief, my liver’s blood drips from my eyes. (Translation ours.) | |
| Melancholia | I am weary of grief, weary of the world; it holds nothing but sorrow for our sorrow-laden heart. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Saadi |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Saadi |
| Rank | Concept | |
|---|---|---|
| 1 | Romantic Obsession | |
| 2 | Melancholia | |
| 3 | Emotional Dependency |
| Reference | Score | English translation |
|---|---|---|
| EM1 (negative) | The beloved forbids my union; I desist from what he forbids. The one I behold decrees my death; I submit to what he commands. (Translation ours.) | |
| EM1 (negative) | Rise, fill the cup, and pour, even if poison is in it; from your hand, even poison becomes remedy. (Translation ours.) | |
| EM1 (negative) | My thought is to pour out my life for you, not to free myself from your lasso. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Romantic Obsession | Wherever I turned my gaze, your image appeared before me on wall and door. (Translation ours.) | |
| Romantic Obsession | We rose, yet your imprint stayed within our breath; wherever you are absent, we cannot remain. (Translation ours.) | |
| Romantic Obsession | Pity the eye that never saw your face, or saw it once and looked again at another. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Vahshi |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Vahshi |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Self-Destructive Idealization | |
| 3 | Emotional Dependency |
| Reference | Score | English translation |
|---|---|---|
| EM3 (positive) | I remember the day your hem was in my hand: you struck with the dagger, and I kissed your feet. (Translation ours.) | |
| EM3 (positive) | If you know how many birds circle your snare, cast your trap in the plain, but first cast it over our hearts. (Translation ours.) | |
| EM3 (positive) | To strike down thousands unaware, the flower-dagger is hidden beneath the hem. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | Do not ask after my wounded heart; leave me for a moment with my sorrow and affliction. (Translation ours.) | |
| Melancholia | Restless, disordered in mind, constricted in heart, and grief-stricken. (Translation ours.) | |
| Melancholia | I once held a treasure of patience in my heart; the army of sorrow plundered that whole treasury. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Parvin |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Parvin |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Self-Destructive Idealization | |
| 3 | Spiritual Narcissism |
| Reference | Score | English translation |
|---|---|---|
| EM3 (negative) | The soul’s radiant palace stands firm; what endurance and permanence can the body’s hut possess? (Translation ours.) | |
| EM3 (negative) | The head, without the lamp of reason, is trapped in darkness; the body without spirit is scattered like dust. (Translation ours.) | |
| EM3 (negative) | A manifest tale can never be hidden from the eye of reason. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | Sit in a heart that has been cleansed of grief; then gladden me, O comforter of sorrowing hearts. (Translation ours.) | |
| Melancholia | Why must one live so desolate, dead at the morning of life? (Translation ours.) | |
| Melancholia | What shall I sing but grief’s melody? What shall I say to moonlight and dew? (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Hafez |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Hafez |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Romantic Obsession | |
| 3 | Emotional Dependency |
| Reference | Score | English translation |
|---|---|---|
| EM3 (negative) | Within my wounded heart I do not know who cries out; I am silent, while he is uproar and lament. (Translation ours.) | |
| EM3 (negative) | Do not say that, absent heart, I forgot you by mistake. (Translation ours.) | |
| EM3 (negative) | My heart was a treasury of secrets; fate locked it and handed its key to the stealer of hearts. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | My palate turned to poison from grief’s bitterness; remember the cry of those who drink joy. (Translation ours.) | |
| Melancholia | I go to the tavern weeping and seeking redress; perhaps there I may be released from sorrow’s hand. (Translation ours.) | |
| Melancholia | I have endured a love-pain beyond asking; I have tasted the poison of separation beyond asking. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Eraghi |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Eraghi |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Emotional Dependency | |
| 3 | Romantic Obsession |
| Reference | Score | English translation |
|---|---|---|
| EM2 (positive) | In vain I sought you through the world; you were already within Iraqi’s soul. (Translation ours.) | |
| EM2 (positive) | If you look to left and right, behind and before, know that before, behind, left, right, and above are all He. (Translation ours.) | |
| EM2 (positive) | He set speech upon our tongues and planted seeking within us. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | At every moment I weep; I weep from the grief of time. (Translation ours.) | |
| Melancholia | So long as Iraqi remains in the pain of parting, speak not of cure and do not try to heal me. (Translation ours.) | |
| Melancholia | I plucked no flower from the garden of joy; from grief, a hundred thorns were lodged in my soul. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Shahriar |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Shahriar |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Romantic Obsession | |
| 3 | Emotional Dependency |
| Reference | Score | English translation |
|---|---|---|
| EM3 (negative) | If your heart would open, speak the truth of companionship: you were never my friend; I was yours. (Translation ours.) | |
| EM3 (negative) | Let the lamp of wakefulness cast its light; every heart’s eye is asleep in heedlessness, my friend. (Translation ours.) | |
| EM3 (negative) | The gates of gnosis are shut before your reason; the key to our coffer is love. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | What a world, if there is a heart and no heart-soothing; what a life, if grief is present and no consoler. (Translation ours.) | |
| Melancholia | The candle of delight bloomed in tears and sighs; cloud and moon rose together. (Translation ours.) | |
| Melancholia | No one has read your lot as joy beneath this turning sky; here, rejection and denial are the standing decree. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Athir |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Athir |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Romantic Obsession | |
| 3 | Emotional Dependency |
| Reference | Score | English translation |
|---|---|---|
| EM1 (negative) | How can one carry away the heart from my house, when the hand that steals it rises from within? (Translation ours.) | |
| EM1 (negative) | I saw that all accounts are zero beside the tally of your pain; I inscribed that tally upon myself. (Translation ours.) | |
| EM1 (negative) | Your grief plundered my soul, body, faith, and heart; keep your evil eye away, master thief that you are. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | Who sits with my heart but grief? Who keeps company with my soul but your pain? (Translation ours.) | |
| Melancholia | Little of the night of sorrow remains; we must weep farewell to the day of joy. (Translation ours.) | |
| Melancholia | We are left with a life held in grief’s hand: much of life is gone, and little patience remains. (Translation ours.) |
| Poet | Verses | Abstain | |
|---|---|---|---|
| Khayyam |
| Poet | EM1 | EM2 | EM3 |
|---|---|---|---|
| Khayyam |
| Rank | Concept | |
|---|---|---|
| 1 | Melancholia | |
| 2 | Identity Fragmentation | |
| 3 | Spiritual Narcissism |
| Reference | Score | English translation |
|---|---|---|
| EM3 (negative) | The shell hides that drop in which the sea-heart’s secret resides. (Translation ours.) | |
| EM3 (negative) | We are the source of joy and also the mine of sorrow. (Translation ours.) | |
| EM3 (negative) | We are lowliness and loftiness, fullness and lack; a tarnished mirror and Jamshid’s cup. (Translation ours.) |
| Reference | Score | English translation |
|---|---|---|
| Melancholia | My life has long been dark and my work unstraight; hardship has increased and ease has grown scarce. (Translation ours.) | |
| Melancholia | That crystal cup that laughs with wine is a tear concealing the heart’s blood. (Translation ours.) | |
| Melancholia | Drink wine, for life is one death pursues; better it pass in sleep or in intoxication. (Translation ours.) |