Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- -NE1T4oBgHgl3EQfUgOU/content/2301.03091v1.pdfAdded+3
- -NE1T4oBgHgl3EQfUgOU/vector_store/index.faissAdded+3
- -NE1T4oBgHgl3EQfUgOU/vector_store/index.pklAdded+3
- -dE2T4oBgHgl3EQfmQc9/content/2301.03996v1.pdfAdded+3
- -dE2T4oBgHgl3EQfmQc9/vector_store/index.faissAdded+3
- -tFAT4oBgHgl3EQfqR1A/vector_store/index.faissAdded+3
- .gitattributes+63
- 09FAT4oBgHgl3EQfjh3M/content/tmp_files/2301.08606v1.pdf.txtAdded+1117
- 09FAT4oBgHgl3EQfjh3M/content/tmp_files/load_file.txtAdded
- 0dFKT4oBgHgl3EQfNy2J/content/tmp_files/2301.11756v1.pdf.txtAdded+519
- 0dFKT4oBgHgl3EQfNy2J/content/tmp_files/load_file.txtAdded+465
- 1dFLT4oBgHgl3EQfpy-5/content/2301.12137v1.pdfAdded+3
- 1dFLT4oBgHgl3EQfpy-5/vector_store/index.faissAdded+3
- 2dFST4oBgHgl3EQfXzgB/content/tmp_files/2301.13785v1.pdf.txtAdded+1127
- 2dFST4oBgHgl3EQfXzgB/content/tmp_files/load_file.txtAdded
- 2tE2T4oBgHgl3EQfjAfh/content/tmp_files/2301.03965v1.pdf.txtAdded+1509
- 2tE2T4oBgHgl3EQfjAfh/content/tmp_files/load_file.txtAdded
- 2tFLT4oBgHgl3EQfrC9d/content/tmp_files/2301.12142v1.pdf.txtAdded+1631
- 2tFLT4oBgHgl3EQfrC9d/content/tmp_files/load_file.txtAdded
- 4NAyT4oBgHgl3EQf1_nb/content/2301.00745v1.pdfAdded+3
- 4NAyT4oBgHgl3EQf1_nb/vector_store/index.faissAdded+3
- 4NAyT4oBgHgl3EQf1_nb/vector_store/index.pklAdded+3
- 4dAyT4oBgHgl3EQfpPgc/content/tmp_files/2301.00520v1.pdf.txtAdded+1341
- 4dAyT4oBgHgl3EQfpPgc/content/tmp_files/load_file.txtAdded
- 69E1T4oBgHgl3EQfTgNE/vector_store/index.pklAdded+3
- 69E3T4oBgHgl3EQfpwru/content/tmp_files/2301.04646v1.pdf.txtAdded+1019
- 69E3T4oBgHgl3EQfpwru/content/tmp_files/load_file.txtAdded
- 79FAT4oBgHgl3EQfoh2y/content/tmp_files/2301.08635v1.pdf.txtAdded+1788
- 79FAT4oBgHgl3EQfoh2y/content/tmp_files/load_file.txtAdded
- 7NE3T4oBgHgl3EQfRgki/content/tmp_files/2301.04421v1.pdf.txtAdded+1476
- 7NE3T4oBgHgl3EQfRgki/content/tmp_files/load_file.txtAdded
- 99AzT4oBgHgl3EQfSvs8/content/tmp_files/2301.01236v1.pdf.txtAdded+684
- 99AzT4oBgHgl3EQfSvs8/content/tmp_files/load_file.txtAdded+223
- 9NE1T4oBgHgl3EQfCQIp/content/tmp_files/2301.02861v1.pdf.txtAdded+1231
- 9NE1T4oBgHgl3EQfCQIp/content/tmp_files/load_file.txtAdded+381
- A9FAT4oBgHgl3EQfrx7P/content/2301.08655v1.pdfAdded+3
- A9FAT4oBgHgl3EQfrx7P/vector_store/index.faissAdded+3
- A9FAT4oBgHgl3EQfrx7P/vector_store/index.pklAdded+3
- BNE1T4oBgHgl3EQfVgSF/content/tmp_files/2301.03103v1.pdf.txtAdded+2084
- BNE1T4oBgHgl3EQfVgSF/content/tmp_files/load_file.txtAdded
- BtE5T4oBgHgl3EQfTQ-D/vector_store/index.faissAdded+3
- CNE1T4oBgHgl3EQfDwNk/vector_store/index.faissAdded+3
- CNFJT4oBgHgl3EQfASxa/content/2301.11419v1.pdfAdded+3
- CNFJT4oBgHgl3EQfASxa/vector_store/index.faissAdded+3
- CNFJT4oBgHgl3EQfASxa/vector_store/index.pklAdded+3
- DNE0T4oBgHgl3EQfggEA/content/tmp_files/2301.02417v1.pdf.txtAdded+2744
- DNE0T4oBgHgl3EQfggEA/content/tmp_files/load_file.txtAdded
- EdE1T4oBgHgl3EQfWgTb/vector_store/index.faissAdded+3
- EdE5T4oBgHgl3EQfUw9y/content/2301.05546v1.pdfAdded+3
- EdE5T4oBgHgl3EQfUw9y/vector_store/index.faissAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:629bffbca7adc4d57a3982f62c928c49ba8933a4d95de0f560cb5112170c6fd3size 288297123version https://git-lfs.github.com/spec/v1oid sha256:31ce46e77c89ffd20340e3e2d3f809aff1b11f9721cfb43950b5ae8ec5c6ab09size 2687021123version https://git-lfs.github.com/spec/v1oid sha256:2bd760e2924de1b7ef5bceb0db70d25faf07b86f0a922de5635d2c55ef796589size 90463123version https://git-lfs.github.com/spec/v1oid sha256:97511271dad5b2fc492cd95305744e5c2f175e58ce2a69b0e9f6bf8cbcce05f4size 499082123version https://git-lfs.github.com/spec/v1oid sha256:00d0436e38f49547e816f8861f99e5950bce1bcdbdd1291e78c2a1be348cfb8bsize 1703981123version https://git-lfs.github.com/spec/v1oid sha256:79b16c352dffd8101d786d1dfdc56d48a54a99a9cc2cb469e0cad8dfa658a27esize 7209412687 unmodified lines2688268926902687 unmodified linesXtE2T4oBgHgl3EQfYgfk/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -texteNA0T4oBgHgl3EQfHP9d/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textG9A0T4oBgHgl3EQfBv-A/content/2301.01980v1.pdf filter=lfs diff=lfs merge=lfs -text2687 unmodified lines2688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532687 unmodified linesXtE2T4oBgHgl3EQfYgfk/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -texteNA0T4oBgHgl3EQfHP9d/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textG9A0T4oBgHgl3EQfBv-A/content/2301.01980v1.pdf filter=lfs diff=lfs merge=lfs -text-dE2T4oBgHgl3EQfmQc9/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -text1dFLT4oBgHgl3EQfpy-5/content/2301.12137v1.pdf filter=lfs diff=lfs merge=lfs -text_NE1T4oBgHgl3EQfUwPr/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textjdAzT4oBgHgl3EQf4_6S/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textNNAyT4oBgHgl3EQf6_pQ/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textMdFJT4oBgHgl3EQfzC0_/content/2301.11641v1.pdf filter=lfs diff=lfs merge=lfs -textA9FAT4oBgHgl3EQfrx7P/content/2301.08655v1.pdf filter=lfs diff=lfs merge=lfs -textMdFJT4oBgHgl3EQfzC0_/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -text-dE2T4oBgHgl3EQfmQc9/content/2301.03996v1.pdf filter=lfs diff=lfs merge=lfs -textodAyT4oBgHgl3EQfzPlC/content/2301.00697v1.pdf filter=lfs diff=lfs merge=lfs -text-tFAT4oBgHgl3EQfqR1A/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textEdE1T4oBgHgl3EQfWgTb/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textNdFQT4oBgHgl3EQfWTbR/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -texthdE_T4oBgHgl3EQf3hyR/content/2301.08347v1.pdf filter=lfs diff=lfs merge=lfs -textm9AyT4oBgHgl3EQfyvnQ/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textmdE1T4oBgHgl3EQfhATk/content/2301.03237v1.pdf filter=lfs diff=lfs merge=lfs -textm9AyT4oBgHgl3EQfyvnQ/content/2301.00691v1.pdf filter=lfs diff=lfs merge=lfs -textvdAyT4oBgHgl3EQfafdn/content/2301.00243v1.pdf filter=lfs diff=lfs merge=lfs -textW9FQT4oBgHgl3EQfcjYS/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textj9E0T4oBgHgl3EQf7QLf/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textA9FAT4oBgHgl3EQfrx7P/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textitAzT4oBgHgl3EQfpP1U/content/2301.01609v1.pdf filter=lfs diff=lfs merge=lfs -textI9A0T4oBgHgl3EQfCP_M/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textM9E0T4oBgHgl3EQfTABv/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textdNAyT4oBgHgl3EQfjPh9/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textv9FST4oBgHgl3EQfQjh8/content/2301.13759v1.pdf filter=lfs diff=lfs merge=lfs -textctE4T4oBgHgl3EQfQAwO/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textkb_46/content/kb_46.pdf filter=lfs diff=lfs merge=lfs -textcNE4T4oBgHgl3EQfow2y/content/2301.05187v1.pdf filter=lfs diff=lfs merge=lfs -text-NE1T4oBgHgl3EQfUgOU/content/2301.03091v1.pdf filter=lfs diff=lfs merge=lfs -textPtFJT4oBgHgl3EQf2C2D/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textPtFJT4oBgHgl3EQf2C2D/content/2301.11654v1.pdf filter=lfs diff=lfs merge=lfs -text-NE1T4oBgHgl3EQfUgOU/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textJtE3T4oBgHgl3EQfXgpN/content/2301.04479v1.pdf filter=lfs diff=lfs merge=lfs -textxdAyT4oBgHgl3EQfa_cC/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -text4NAyT4oBgHgl3EQf1_nb/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textbdE_T4oBgHgl3EQfzRz6/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textdNAyT4oBgHgl3EQfjPh9/content/2301.00411v1.pdf filter=lfs diff=lfs merge=lfs -textHdFIT4oBgHgl3EQfXith/content/2301.11244v1.pdf filter=lfs diff=lfs merge=lfs -text1dFLT4oBgHgl3EQfpy-5/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textVdE1T4oBgHgl3EQfIwNu/content/2301.02943v1.pdf filter=lfs diff=lfs merge=lfs -textv9FST4oBgHgl3EQfQjh8/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textodAyT4oBgHgl3EQfzPlC/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textCNFJT4oBgHgl3EQfASxa/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -text4NAyT4oBgHgl3EQf1_nb/content/2301.00745v1.pdf filter=lfs diff=lfs merge=lfs -texthdE_T4oBgHgl3EQf3hyR/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textctE4T4oBgHgl3EQfQAwO/content/2301.04977v1.pdf filter=lfs diff=lfs merge=lfs -textEdE5T4oBgHgl3EQfUw9y/content/2301.05546v1.pdf filter=lfs diff=lfs merge=lfs -textCNFJT4oBgHgl3EQfASxa/content/2301.11419v1.pdf filter=lfs diff=lfs merge=lfs -textwNFLT4oBgHgl3EQfki_9/content/2301.12116v1.pdf filter=lfs diff=lfs merge=lfs -textEdE5T4oBgHgl3EQfUw9y/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textfNAyT4oBgHgl3EQfjvgl/content/2301.00419v1.pdf filter=lfs diff=lfs merge=lfs -textG9A0T4oBgHgl3EQfBv-A/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textCNE1T4oBgHgl3EQfDwNk/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textF9E2T4oBgHgl3EQf-Qn4/content/2301.04238v1.pdf filter=lfs diff=lfs merge=lfs -textI9A0T4oBgHgl3EQfCP_M/content/2301.01988v1.pdf filter=lfs diff=lfs merge=lfs -textSNE3T4oBgHgl3EQfzAs2/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textjdAzT4oBgHgl3EQf4_6S/content/2301.01853v1.pdf filter=lfs diff=lfs merge=lfs -textNNAyT4oBgHgl3EQf6_pQ/content/2301.00830v1.pdf filter=lfs diff=lfs merge=lfs -textQtAyT4oBgHgl3EQfU_dt/content/2301.00135v1.pdf filter=lfs diff=lfs merge=lfs -textBtE5T4oBgHgl3EQfTQ-D/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textwNFLT4oBgHgl3EQfki_9/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -textNNE0T4oBgHgl3EQf0QK5/vector_store/index.faiss filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117Data Augmentation for Modeling HumanPersonality: The Dexter MachineYair Neuman, Vladyslav Kozhukhov and Dan VilenchikJanuary 23, 2023AbstractModeling human personality is important for several AI challenges,from the engineering of artificial psychotherapists to the design of personabots. However, the field of computational personality analysis heavily re-lies on labeled data, which may be expensive, difficult or impossible toget. This problem is amplified when dealing with rare personality typesor disorders (e.g., the anti-social psychopathic personality disorder). Inthis context, we developed a text-based data augmentation approach forhuman personality (PEDANT). PEDANT doesn’t rely on the commontype of labeled data but on the generative pre-trained model (GPT) com-bined with domain expertise. Testing the methodology on three differentdatasets, provides results that support the quality of the generated data.1IntroductionPersonality concerns the individual’s relatively stable pattern of thoughts, emo-tions and behaviors [1]. There are various personality theories from the Big Five[2] to Affective Neuroscience [3] and Mischel’s contextual approach to person-ality [4]. In this paper, we adhere to the clinical approach represented by thePsychodynamic Diagnostic Manual (PDM) [5] and SWAP [6], which is highlyrelevant for diagnosis, and research [7]. According to the PDM approach, per-sonality types are stable configurations characterized by key features such asthe individual’s core beliefs about self and others. For instance, a depressivepersonality is characterized by self-criticism and accompanied by the belief that”something is essentially bad about me”.Current computational personality research is almost exclusively focused onfeatures’-based data-driven classification involving the prediction of a person-ality class label. Accomplishing such tasks relies on the availability of a largeamount of high-quality labeled data (e.g., [8, 9, 10]). However, obtaining suchdata may be expensive, difficult, or impossible for various reasons. For instance,the prevalence of the anti-social psychopathic personality disorder in the pop-ulation is low[11, 12, 13], and it is currently impossible to gain access to amassive dataset of labeled texts produced by clinically diagnosed psychopaths.High-quality diagnostic procedures, such as SWAP, are costly as they requirehuman expertise and significant time to complete. While self-reported question-naires for personality assessment are available, they rely on the collaborationof the diagnosed individual and their ability to provide a valid self-assessment,1arXiv:2301.08606v1 [cs.CL] 20 Jan 2023
which in the case of the anti-social personality disorder, for instance, is nottrivial to gain.In the face of these challenges, a natural solution for data scarcity is dataaugmentation, intensively developed in computer vision but ”relatively under-explored” in NLP, where the generation of effective augmented examples is ”lessobvious” [14, 15]. To illustrate the challenges in textual data augmentation, weran the SOTA data-augmentation pipeline LAMBADA [16] to generate 200 sen-tences out of a seed set of 20 sentences (see appendix) expressing a clear psycho-pathic signature. This attempt to produce artificial ”psychopathic” sentencesresulted in only 100 unique sentences, where the vast majority of sentences wereeither one of the seed sentences or a simple paraphrasing thereof.Data augmentation is typically viewed as the process of increasing the amountof data by adding slightly modified copies of already existing labeled data. Insome cases, there is no labeled data at all or a very small quantity which pre-cludes proper augmentation (as our experiment with LAMBADA suggests). Inthis paper, we offer a solution to these cases by using unlabelled data and addingdomain expert input to compensate for the absence of labeled data (once canview labeled data as domain expert knowledge).A constructive approach to personality modeling may be found in the rev-olutionary large language models recently introduced to NLP (e.g., GPT-2)[17, 18]. Recently, [19] and [20] showed that the GPT model, once fine-tuned,can be useful in the domain of personal conversations. Their approach led tosubstantial improvements in the PersonaChat data set, showcasing the potentialof exploiting large pre-trained generative models in the conversational domain.However, these advancements do not naively imply anything for modeling per-sonality types, as the poor results obtained from LAMBADA, which is basedon GPT technology, show. Indeed, personalized chit-chat models, [21] use thenotion of personalization (e.g., age) which is different from the psychodynamicapproach used in this paper.1.1Our contribution.We present a novel personality data augmentation approach, PEDANT (PEr-sonality Data AugmeNTation), using (1) a generative pre-trained model (GPT)combined with (2) domain expertise (the domain expert is the first author whohas intensively studied and published about personality) while relying only on(3) unlabeled text.PEDANT operates in two phases. In the first phase, unlabeled data relevantto the selected personality type is harvested from online resources; this datais then used to train a generative language model. In the second phase, thelanguage model is repeatedly prompted to complete a set of seed sentencescarefully crafted by the domain expert. All these completions are then filteredand ranked according to a scoring function that the domain expert pre-defined;the top k sentences are the output of PEDANT.We implement PEDANT with regard to a specific personality type: the anti-social psychopathic personality [6]; we call this particular pipeline Dexter. Thistype of personality is suitable for validating our approach as the prevalence ofpsychopathic personality disorder is extremely low, and a labeled corpus of nat-urally produced texts of diagnosed psychopaths does not exist. The texts thatwe harvest for the first phase of PEDANT come from a few fictive characters2
from the cinema and TV (e.g., Dexter the psychopath from the TV series ”Dex-ter”) and from Reddit forums such as r/psychopath. The second phase, wheredomain expertise is used, is described in detail in Sections 3.2 and 3.4.We validated Dexter using a downstream text classification task, as commonin other works that deal with the evaluation of data augmentation pipelines[22, 16]. We used the data generated by Dexter to train a classifier and thentested it on three offensive-speech datasets that cover different dimensions ofthe psychopathic personality (e.g., lack of empathy, toxicity, and being manip-ulative).For comparison, we tested two SOTA data augmentation pipelines, LAM-BADA [16], and LeakGAN [23]. The Dexter dataset produced a classifier thatranked first (by a large gap) in all three datasets. The complete detail of bothexperiments appears in Section 5.2.1.2IllustrationIt is a non-trivial task to evaluate the extent to which the resulting genera-tive model (the outcome of Dexter) reflects the psychopathic mind. One waymentioned above is via a downstream task that uses data generated by themodel. Another way is to have a host of personality domain experts chat withthe model. While we did not have the resources to perform this expensive andlaborious task, we invite the reader to peek into such a possible Q&A sessionand to judge for herself the change in personality.Below is a comparison of the output of a GPT model before and after fine-tuning on the harvested psychopathic-related texts.In the examples below,GPT is prompt with psychopathic statements chosen by the domain expert, andits completion is recorded; a couple more examples are given in the appendix.Statement: I act impulsively, without regard for the consequences of my actions.GPT-2 before fine-tuning: I know when someone is suffering and I feel bad.GPT-3 davinci: I have difficulty organizing tasks and activities. I have difficultywith time management. .GPT-3 curie: My friends are more important to me than my family. I dress ina way that is not in keeping with the standards of my community.chatGPT: It’s natural to act impulsively at times, but if you find that you fre-quently act without considering the consequences of your actions, it may behelpful to try to develop more self-control.GPT-2after fine-tuning: I have an abundance of rage, and I can turn to it with noconsideration for consequences.Statement: I feel like a hunter seeking a prey.GPT-2 before fine-tuning: I don’t want to be a bad person.GPT-3 davinci: I want to let my heart feel.GPT-3 curie: I’m lost in this forest ! I’ll be crushed by this forest!chatGPT: It’s important to remember that other people are not prey to be hunted.It’s never okay to view or treat others as if they are objects or targets to bepursued or exploited.GPT-2 after fine-tuning: I don’t care about it, I just want to kill and eat.3
2Related workData augmentation methods have been explored to address the imbalance ofdatasets challenge in supervised classification tasks. Noise injection or attributemodification techniques were commonly applied to generate synthetic data forimage and sound classification tasks [24, 25, 26]. However, such techniques donot extend to text due to the categorical nature of words and the sequentialnature of text.We locate our work in the context of text data augmentation, [14, 27, 16].“Previous-generation” textual data augmentation approaches focus on samplealteration [28, 29, 30, 31, 32], in which a single sentence is altered to generate anew sentence primarily by synonyms replacements. Presumably, methods thatmake only local changes will produce sentences with a structure similar to theoriginal ones, thus yielding low corpus-level variability.Other recent approaches to textual data augmentation that generate wholesentences rather than making a few local changes include using variational au-toencoding [33], paraphrasing [34] and methods based on generative adversarialnetworks [35, 23, 36].Recent progress in NLP has been marked by the emergence of large lan-guage models (i.e., transformers) such as GPT-2 [18].GPT-based languagemodels scored high in open-domain dialogue generation tasks [20, 19, 37]. Thedata-augmentation pipeline presented in [16] uses GPT technology to generatethemed synthetic text. The idea behind [16] involves fine-tuning a GPT modelto a specific task using existing labeled data. Using the fine-tuned model andgiven a class label, new sentences for the class are generated. The sentences arefiltered with a classifier trained on the original data.While our pipeline is similar to [16] in flavor (a fine-tuning step followed bya filtering step), it is different in two key aspects. We use unlabelled data forthe fine-tuning step. This allows us to fine-tune the GPT model with a largeamount of, possibly slightly lower quality, data. [16] use labeled data for thefine-tuning step; thus the quality of the augmentation depends on the amountof available text. Second, our filtering is also done in an unsupervised manner,replacing the need for labeled data for training a classifier with the knowledgeof a domain expert. These two key differences make our pipeline useful for datageneration for rare classes, such as rare personality types, where labeled datais scarce or non-existent. Indeed, comparing the performance of [16] to Dextercorroborates the latter.3MethodologyThe pipeline for generating data for a given personality type, illustrated inFigure 1, is composed of the following stages (the actual parameter values thatwe’ve used are given in this general description):1. Texts produced by a few fictive characters (e.g., Dexter) and secondarysources (e.g., Reddit forums discussing the personality style) are collectedto form a preliminary dataset. Let D be that preliminary dataset.2. A pre-trained language model is fine-tuned on D. Let G be the obtainedmodel4
Figure 1: Pipeline for PEDANT. GPT-2 is trained and prompted to completea carefully chosen seed of sentences. The completions are filtered and rankedusing similarity to relevant words chosen using domain expertise.3. A domain-expert hand-crafted set of s = 40 seed sentences representingthe personality’s beliefs about self/others is prepared; G is prompted tocomplete each seed c = 200 times, for a total of n = s·c = 8000 candidatesentences.4. Based on domain expertise, a hand-crafted vector F, containing f wordsthat are typical of the personality type, is assembled. The n candidatesentences are being filtered and ranked according to their cosine similaritywith F.5. The top k = 2000 sentences compose the output.We now describe how we customized this general pipeline to the psychopathicpersonality.3.1The preliminary datasetsFollowing [38, 39] we used data from movie scripts – the text produced bythree well-known fictive psychopathic characters: The Joker in the movie ”TheJoker”, Bateman in the movie ”American Psycho” and Dexter from the TVseries ”Dexter”. In addition, we collected all texts from Reddit discussion groupsdealing with psychopathy (r/psychopath, r/sociopath, r/antisocial).After cleaning the data by applying a spell checker [40], removing emojis,duplicates, hyperlinks, and spam messages [41], the preliminary cleaned datasetconsisted of 1,320,552 tokens.3.2The sentences completion seed setOur domain expert manually prepared 20 seed sentences representing the psy-chopath’s ”beliefs about self” (e.g., ”I take advantage of others whenever I can”)5
OCNCandidateGPT-2DataSentenceBankSentencesforcompletion88Final set ofsentencesand 20 seed sentences representing the psychopath’s ”beliefs about others” (e.g.,”Human beings are weak”). The complete list of seed sentences appears in theappendix.The number ’20’ is somewhat arbitrary. While testing with other seed sizes,we found that 20 was the minimal number that gave good results, consideringthe computational constraints such as space and running time.3.3Training GPT-2 and generating sentencesOur starting point is the pre-trained GPT-2 with 1.5B parameters accessed viathe popular HuggingFace API [42]. We chose GPT-2 as it is currently one ofthe most useful language generation model. (The newer GPT-3 is still not opensource, and it’s harder to work with, e.g., fine-tuning on a large text like ourpreliminary dataset). Next, we fine-tuned the pre-trained GPT-2 model on theentire preliminary dataset (the fictive characters text and the Reddit data) usingthe task of predicting the next word of the sentence [18]. The parameters weused were: learning rate=0.0001, model name=‘1558M’, batch size=4, optimizer= ‘adafactor’, steps = 10000 and the cross entropy loss function.We prompted the fine-tuned GPT-2 model on each of the 40 seed sentences( see the appendix for the full list), producing 200 sentence completions for eachsentence. Using the experts’ judgment of two psychologists, we qualitativelyevaluated a random sample of these sentences. We concluded that the best com-pletions were obtained with the following parameters: length=50,temperature=0.7,top k = 50, top p = 0.90.We used the free Google Colab resources with Tesla P100 GPUs for thispart.3.4Filtering and RankingWe applied filtering and ranking to the 8000 sentence completions. First, weremoved sentences that (1) include the trivial words: psychopath, antisocial,and sociopath; (2) are duplicates of other sentences; (3) contain less than threewords; (4) end with a stop word; (5) are emotionally neutral or have a higherpositive than a negative sentiment (we used NLTK to estimate the sentiment);(6) are simple paraphrases of each other (via [43]).For the ranking task, we identified words significantly collocated with thetarget word ”psychopath” in the iWeb repository [44].The domain expertselected 28 to form a ”psychopathic vector” (see the appendix). Next, we usedthe vectorial semantic approach for personality assessment [45] and measuredthe cosine similarity between each filtered candidate sentence completion andthe psychopathy vector. For each of the 40 seed sentences, we selected the 50completions that scored highest on the cosine similarity test. The output was aset of 1735 synthetically generated sentences that are supposed to represent apsychopathic mind (if for some seed less than 50 completions passed the filteringstep, we took all of them).6
4DataOur setting inherently precludes the existence of a large labeled bench-markingdataset of text written by clinically diagnosed psychopaths. However, as theantisocial psychopathic personality is composed of several dimensions (e.g., lackof empathy), we tested our approach on labeled datasets hypothesized to shareone dimension or more with this personality type.4.1Test DataWe now describe the three datasets that we’ve used to evaluate the performanceof Dexter and two other data augmentation pipelines.Sexual predators. Sexual predators share with psychopaths at least two psy-chological dimensions: being manipulative and lacking empathy, as indicatedby the correlation between sexual offending and psychopathy [46, 47, 48]. Ourfirst dataset was a labeled data set of texts produced by 142 sexual predatorsand 97,689 non-predators [49].Empathy. Psychopaths are characterized by a lack of empathy. Our seconddata set consists of interactions between help seekers in an online call centerfor mental health support [50]. Labeled texts of the mental health supporters(responders) are provided. Responders are tagged according to three increasinglevels of empathy: “0” (N = 2037), “1” (N = 895), and “2” (N = 152). Unlikethe other two datasets, the empathy dataset does not contain a natural positiveclass, as an empathy score of 0 does not necessarily imply a strong negativepersonality.Cyberbullying. Cyberbullying may have a clear psychopathic signature, giventhe reported association between the psychopathic mind and sadism [51, 52].We have used the labeled toxic-text subset of the cyberbullying dataset [53]that contains 12,168 toxic vs. 14,874 non-toxic texts. Unlike the previous twodatasets, this one is labeled at the message level.Each message consists ofseveral sentences, and the entire message is assigned the label “toxic” if thereare “enough” toxic sentences (the exact labeling procedure is described in theoriginal paper [53]).4.2Train DataWe now describe the datasets we used to fine-tune the BERT-base-uncasedmodel [54], which we then ran to classify the aforementioned test datasets. Thedata statistics is summarized in Table 1.The Dexter dataset. This dataset contains 3400 sentences; 1700 sentencesare the output of Dexter, which serve as the positive class, and 1700 sentencesfrom various Reddit discussion groups that serve as the negative class. Thesesentences were selected by first sampling 8000 random sentences from variousReddit groups, then filtering and cleaning them according to the same procedurethat was applied to the psychopathic texts. Finally, the 1700 sentences with thelowest psychopathic score were chosen.The Dexter-minus and the PRELIM dataset. These two datasets allow usto evaluate the importance of the different stages in the Dexter pipeline (Figure1). The Dexter-minus dataset follows the same pipeline as Dexter just that the7
Dataset#Pos.#NegSexual Predators14297,689Empathy2,037152Cyberbullying12,16814,784Table 1: Summary statistics for the three datasets described in Section 4. Thenumber of samples in the positive and negative class are shown.fine-tuning of the GPT is skipped. The PERLIM dataset shortcuts the GPTstep altogether and proceeds directly to the filtering and ranking step.To compare the performance of Dexter against the two SOTA data-augmentationpipelines, we created the following two synthetic datasets.The LAMBADA dataset. To train LAMBADA, we used the Papers-With-Code recommended implementation of LAMBADA [55]. We augmented GPT-2with two new classes, ”#beliefs about others” and ”# beliefs about self”. Eachclass was seeded with the 20 sentences that our domain expert crafted (Section3.2). All the training parameters and the code are available at [55].We then used the LAMBADA pipeline to generate 17,000 sentences, outof which we chose the best 1700 (this was the recommendation of the authors[16], to generate 10x more sentences than needed). Specifically, we generated8500 from the “#beliefs about others” class and 8500 from “#beliefs aboutself” (we used the following parameters for GPT-2: max length=50, top k = 10,p = 0.85). We ranked the sentences the same way we ranked ours: using cosinesimilarity to the psychopathic vector of words (Section 3.4).The negative class of the LAMBADA dataset is the same as Dexter’s.The LeakGAN dataset. We trained LeakGAN using the official LeakGANimplementation [56]. LeakGAN is trained with the target class text. We usedall the text in the preliminary dataset to that end (Section 3.1) and the defaultparameters from the official implementation. We generated 1700 sentences usingLeakGAN to serve as the positive class, and the negative class was the same asDexter’s.External competition datasets. This collection contains three gold-standardcompetition offensive speech datasets: OffenseEval [57], HatEval [58], and AbuseE-val [59]. Each dataset contains roughly 10,000 labeled texts. We call the unionof all three datasets the Golden dataset.5EvaluationTo evaluate Dexter we’ve created a family of models using the aforementionedtraining datasets of Section 4.2. Each model is named X@BERT, which meansthat the BERT-base-uncased model [54] was fine-tuned using dataset X. If a’+’ is appended, X@BERT+, this means that a preceding step of fine-tuning onOffenseEval [57] was taking place.5.1Evaluation procedureAll the test datasets mentioned in Section 4.1, Table 1, are imbalanced to dif-ferent degrees (the sexual predators dataset contained merely 0.001% sexual8
ModelPred.Emp.Cyber.Avg RankDexter@BERT+1121.33OffenseEval@BERT3212Dexter@BERT2453.66HateEval@BERT6365Dexter-@BERT4575.33Golden@BERT7735.66AbuseEval@BERT7746PRELIM@BERT8888Table 2: Summary of Table 4. The Dexter@BERT variants are in bold.ModelPred.Emp.Cyber.Avg RankDexter@BERT+1111Dexter@BERT2232.33LAMBADA@BERT+4423.33Dexter-@BERT3353.66LeakGAN@BERT+5544.66LAMBADA@BERT7666.33LeakGAN@BERT6776.66Table 3: Summary of Table 5. The Dexter@BERT variants are in bold.predators). To allow comparison across the three datasets while avoiding mis-leading artifacts that such imbalanced data introduces, we down-sampled themajority class to obtain balanced sets.The output of a BERT model is a number in [0, 1], the result of the last layeractivation unit (soft-max in our case). This number may be thought of as theprobability that BERT assigns the instance to belong to the positive class (inour case, ”psychopath”). We define the PsychoScore of a user as the averageoutput of the model over all the sentences produced by that user (each sentenceis scored separately by the model). It is common practice to feed the BERTscore into a simple classifier, like SVM, to find the optimal cut-off for the binaryclassification task [60].To evaluate the model on each test data set, we computed the 5-fold cross-validation F1 and Macro F1 scores. Each fold consisted of n = 100 randomlysampled instances from each class, and split into 80% train and 20% test. Wetrained a soft-margin kernel SVM (we used the default Python sklearn moduleparameters C = 1, kernel = RBF) on the users’ PsychoScores and the corre-sponding label.5.2ResultsThe results of running the X@BERT models on the test datasets of Section4.1 are summarized in Tables 4 and 5. Table 4 reprots the comparison againstthe pre-trained offensive speech models, while Table 5 reports the comparisonagainst LeakGAN and LAMBADA. Table 2 summarizes Table 4 with the over-all average ranking across the three datasets and similarly Table 3 summarizesTable 5. Both show that the model Dexter@BERT+ ranked first, and Dex-ter@BERT came second (Table 5) and third (Table 4) .The following keyconclusions are read from the tables:9
Data setModelPrecisionRecallF1 scoreMacro F1 scoreDexter@BERT+0.920.870.890.91 ± 0.029Dexter@BERT0.910.860.880.90 ± 0.037Sexual Predator IdentificationOffenseEval@BERT0.890.870.880.90 ± 0.035Competition [49]Dexter-@BERT0.800.930.860.88 ± 0.043HateEval@BERT0.950.50.650.75 ± 0.011Golden@BERT0.880.500.630.69 ± 0.095AbuseEval@BERT0.730.580.510.53 ± 0.133PRELIM@BERT0.511.000.680.38 ± 0.024Dexter@BERT+0.660.800.720.70 ± 0.083OffenseEval@BERT0.610.810.690.64 ± 0.081Empathy [50]HateEval@BERT0.590.650.610.59 ± 0.063Dexter@BERT0.550.880.670.54 ± 0.077Dexter-@BERT0.510.650.570.52 ± 0.075Golden@BERT0.420.930.580.38 ± 0.061AbuseEval@BERT0.440.850.580.37 ± 0.018PRELIM@BERT0.160.270.220.27 ± 0.080OffenseEval@BERT0.920.800.850.88 ± 0.044Dexter@BERT+0.960.720.830.87 ± 0.048Golden@BERT0.840.870.850.87 ± 0.041Cyberbullying [53]AbuseEval@BERT0.890.780.820.83 ± 0.050Dexter@BERT0.930.600.720.77 ± 0.051HateEval@BERT0.860.610.71078 ± 0.075Dexter-@BERT0.910.560.680.77 ± 0.080PRELIM@BERT0.800.570.670.70 ± 0.012Table 4: Results of the various models on the test data sets sorted according tomacro F1 score.• The results for the sexual predators place Dexter@BERT+ and Dex-ter@BERT at the top two both with respect to the other data augmenta-tion pipelines (Table 5) and with respect to the abusive speech BERT mod-els (Table 4). In fact, both LAMBADA@BERT+ and LeakGAN@BERT+obtained worse results than the baseline OffenseEval@BERT. (F1 score of0.88 vs 0.8 and lower).• The results for the empathy dataset in Table 4 show that Dexter@BERT+obtained the highest F1 and macro F1 score. In Table 5 we see that theperformance of Dexter@BERT and its derivatives is far better than theother two pipelines. We also observe a poorer overall performance than theother two datasets, in accordance with the absence of a natural positiveclass.• The results for the cyberbullying dataset in Table 4 show that Dex-ter@BERT+ scored at the top (Macro F1 score 0.87) together with Of-fenseEval@BERT (0.88) and AbuseEval@BERT (0.87).In Table 5 weagain see that Dexter@BERT+ came first, although this time, the gapfrom LAMBADA@BERT+ is small.• The performance of Dexter@BERT+ is similar to OffenseEval@BERT onthe sexual predators and cyberbullying data sets. This is to be expectedas these datasets have a clear offensive speech element. The more tellingresult is the larger gap for the empathy dataset, 0.7 vs 0.64 in Macro F110
DatasetModelPrecisionRecallF1 scoreMacro F1 scoreDexter@BERT+0.920.870.890.91 ± 0.029Dexter@BERT0.910.860.880.90 ± 0.037Sexual Predator IdentificationDexter-@BERT0.800.930.860.88 ± 0.043Competition [49]LAMBADA@BERT+0.850.730.770.80 ± 0.074LeakGAN@BERT+0.550.990.710.51 ± 0.035LeakGAN@BERT0.530.850.650.51 ± 0.041LAMBADA@BERT0.470.800.510.30 ± 0.019Dexter@BERT+0.660.800.720.70 ± 0.083Dexter@BERT0.550.880.670.54 ± 0.077Empathy [50]Dexter-@BERT0.510.650.570.52 ± 0.075LAMBADA@BERT+0.400.670.500.33 ± 0.071LeakGAN@BERT+0.300.760.410.31 ± 0.122LAMBADA@BERT0.810.350.400.50 ± 0.145LeakGAN@BERT0.280.530.360.30 ± 0.040Dexter@BERT+0.960.720.830.87 ± 0.048LAMBADA@BERT+0.950.700.800.83 ± 0.060Dexter@BERT0.930.600.720.77 ± 0.051Cyberbullying [53]LeakGAN@BERT+0.910.560.690.71 ± 0.064Dexter-@BERT0.910.560.680.77 ± 0.080LAMBADA@BERT0.880.540.660.71 ± 0.078LeakGAN@BERT0.970.470.620.68 ± 0.114Table 5: Results of the various models that were trained by different text aug-mentation techniques, sorted according to macro F1 score.score. Indeed lack of empathy has more to do with the psychopathic mindthan offensive speech.• One can look at our results through the lens of transfer learning, whereour dataset was successfully used to facilitate transfer learning from thetask of offensive speech detection to the task of predicting various aspectsassociated with the psychopathic personality.6DiscussionThis paper presents a new unsupervised approach for personality data augmen-tation (PEDANT), trading labeled data with domain expertise. We implementit in a specific pipeline that generates sentences with a psychopathic signature(Dexter). One could ask whether it is feasible to assemble a labeled datasetvia platforms such as Amazon Turk. The answer is probably no, as domainexpertise is required in the field of personality to correctly label the data. Ourwork offers a scalable and feasible data augmentation pipeline that circumventssuch caveats by taking input from a domain expert in the later stages of thepipeline rather than at the beginning (the data collection step).The clear conclusion from the evaluation experiments we ran is that ourpipeline produced synthetic data with better quality than the other two pipelines([16], and [23]) thus highlighting the point that not all data augmentation taskswere born equal. The task of generating synthetic data about flight and travelissues (the examples from the LAMBADA paper) is not the same as generatingpersonality-type text. The same way generating a synthetic dog picture is not11
the same as generating a CT-scan picture of a brain with a tumor in order totrain med students to read such images.We expect that our pipeline can be adapted to other domains where high-quality labeled data is lacking and hard to obtain by crowd-sourcing: suicide,school shooters, etc.References[1] Philip J Corr and Gerald Ed Matthews. The Cambridge handbook of per-sonality psychology. Cambridge University Press, 2020.[2] Lewis R Goldberg. An alternative” description of personality”: the big-fivefactor structure. Journal of personality and social psychology, 59(6):1216,1990.[3] Kenneth L Davis and Jaak Panksepp. The brain’s emotional foundations ofhuman personality and the affective neuroscience personality scales. Neu-roscience & Biobehavioral Reviews, 35(9):1946–1958, 2011.[4] Walter Mischel. Toward an integrative science of the person. Annu. Rev.Psychol., 55:1–22, 2004.[5] Vittorio Lingiardi and Nancy McWilliams. Psychodynamic diagnostic man-ual: PDM-2. Guilford Publications, 2017.[6] Jonathan Shedler and Drew Westen. The shedler–westen assessment pro-cedure (swap): making personality diagnosis clinically meaningful. Journalof personality assessment, 89(1):41–55, 2007.[7] Vittorio Lingiardi, Nancy McWilliams, Robert F Bornstein, FrancescoGazzillo, and Robert M Gordon. The psychodynamic diagnostic manualversion 2 (pdm-2): Assessing patients for improved clinical practice andresearch. Psychoanalytic Psychology, 32(1):94, 2015.[8] Yair Neuman. Computational personality analysis: Introduction, practicalapplications and novel directions. Springer, 2016.[9] David E Losada and Fabio Crestani. A test collection for research on depres-sion and language use. In International Conference of the Cross-LanguageEvaluation Forum for European Languages, pages 28–39. Springer, 2016.[10] Yoram Bachrach, Michal Kosinski, Thore Graepel, Pushmeet Kohli, andDavid Stillwell. Personality and patterns of facebook usage. In Proceedingsof the 4th annual ACM web science conference, pages 24–32, 2012.[11] Ana Sanz-Garc´ıa, Clara Gesteira, Jes´us Sanz, and Mar´ıa Paz Garc´ıa-Vera.Prevalence of psychopathy in the general adult population: A systematicreview and meta-analysis. Frontiers in Psychology, page 3278, 2021.[12] Kimberly B Werner, Lauren R Few, and Kathleen K Bucholz. Epidemiol-ogy, comorbidity, and behavioral genetics of antisocial personality disorderand psychopathy. Psychiatric annals, 45(4):195–199, 2015.12
[13] Katherine J Holzer, Michael G Vaughn, Travis M Loux, Michael A Mancini,Noelle E Fearn, and Cara L Wallace. Prevalence and correlates of antisocialpersonality disorder in older adults. Aging & Mental Health, pages 1–10,2020.[14] Steven Y Feng, Varun Gangal, Jason Wei, Sarath Chandar, SoroushVosoughi, Teruko Mitamura, and Eduard Hovy.A survey of data aug-mentation approaches for nlp. arXiv preprint arXiv:2105.03075, 2021.[15] Tri Dao, Albert Gu, Alexander Ratner, Virginia Smith, Chris De Sa, andChristopher R´e. A kernel theory of modern data augmentation. In Inter-national Conference on Machine Learning, pages 1528–1537. PMLR, 2019.[16] Ateret Anaby-Tavor, Boaz Carmeli, Esther Goldbraich, Amir Kantor,George Kour, Segev Shlomov, Naama Tepper, and Naama Zwerdling. Donot have enough data? deep learning to the rescue! In Proceedings of theAAAI Conference on Artificial Intelligence, volume 34, pages 7383–7390,2020.[17] Alec Radford, Karthik Narasimhan, Tim Salimans, Ilya Sutskever, et al.Improving language understanding by generative pre-training. 2018.[18] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, IlyaSutskever, et al.Language models are unsupervised multitask learners.OpenAI blog, 1(8):9, 2019.[19] Thomas Wolf, Victor Sanh, Julien Chaumond, and Clement Delangue.Transfertransfo: A transfer learning approach for neural network basedconversational agents. arXiv preprint arXiv:1901.08149, 2019.[20] Sergey Golovanov, Rauf Kurbanov, Sergey Nikolenko, Kyryl Truskovskyi,Alexander Tselousov, and Thomas Wolf. Large-scale transfer learning fornatural language generation. In Proceedings of the 57th Annual Meeting ofthe Association for Computational Linguistics, pages 6053–6058, 2019.[21] Saizheng Zhang, Emily Dinan, Jack Urbanek, Arthur Szlam, Douwe Kiela,and Jason Weston. Personalizing dialogue agents: I have a dog, do youhave pets too? arXiv preprint arXiv:1801.07243, 2018.[22] Sebastian Ruder and Barbara Plank.Strong baselines for neural semi-supervised learning under domain shift. arXiv preprint arXiv:1804.09530,2018.[23] Jiaxian Guo, Sidi Lu, Han Cai, Weinan Zhang, Yong Yu, and Jun Wang.Long text generation via adversarial training with leaked information. InProceedings of the AAAI Conference on Artificial Intelligence, volume 32,2018.[24] Connor Shorten and Taghi M Khoshgoftaar. A survey on image data aug-mentation for deep learning. Journal of big data, 6(1):1–48, 2019.[25] Toan Tran, Trung Pham, Gustavo Carneiro, Lyle Palmer, and Ian Reid. Abayesian data augmentation approach for learning deep models. Advancesin neural information processing systems, 30, 2017.13
[26] Justin Salamon and Juan Pablo Bello. Deep convolutional neural networksand data augmentation for environmental sound classification. IEEE Signalprocessing letters, 24(3):279–283, 2017.[27] Connor Shorten, Taghi M Khoshgoftaar, and Borko Furht. Text data aug-mentation for deep learning. Journal of big Data, 8(1):1–34, 2021.[28] Sosuke Kobayashi. Contextual augmentation: Data augmentation by wordswith paradigmatic relations. arXiv preprint arXiv:1805.06201, 2018.[29] Jonas Mueller and Aditya Thyagarajan. Siamese recurrent architecturesfor learning sentence similarity. In Proceedings of the AAAI conference onartificial intelligence, volume 30, 2016.[30] Xing Wu, Shangwen Lv, Liangjun Zang, Jizhong Han, and Songlin Hu.Conditional bert contextual augmentation. In International Conference onComputational Science, pages 84–95. Springer, 2019.[31] Georgios Rizos, Konstantin Hemker, and Bj¨orn Schuller. Augment to pre-vent: short-text data augmentation in deep learning for hate-speech clas-sification. In Proceedings of the 28th ACM International Conference onInformation and Knowledge Management, pages 991–1000, 2019.[32] Mai Ibrahim, Marwan Torki, and Nagwa El-Makky. Imbalanced toxic com-ments classification using data augmentation and deep learning. In 201817th IEEE international conference on machine learning and applications(ICMLA), pages 875–878. IEEE, 2018.[33] Diederik P Kingma and Max Welling. Auto-encoding variational bayes.arXiv preprint arXiv:1312.6114, 2013.[34] Ashutosh Kumar, Satwik Bhattamishra, Manik Bhandari, and ParthaTalukdar. Submodular optimization-based diverse paraphrasing and its ef-fectiveness in data augmentation. In Proceedings of the 2019 Conference ofthe North American Chapter of the Association for Computational Linguis-tics: Human Language Technologies, Volume 1 (Long and Short Papers),pages 3609–3619, 2019.[35] Fabio Henrique Kiyoiti dos Santos Tanaka and Claus Aranha. Data aug-mentation using gans. arXiv preprint arXiv:1904.09135, 2019.[36] Rui Cao and Roy Ka-Wei Lee. HateGAN: Adversarial generative-baseddata augmentation for hate speech detection. In Proceedings of the 28thInternational Conference on Computational Linguistics, pages 6327–6338,Barcelona, Spain (Online), December 2020. International Committee onComputational Linguistics.[37] Yizhe Zhang, Siqi Sun, Michel Galley, Yen-Chun Chen, Chris Brockett,Xiang Gao, Jianfeng Gao, Jingjing Liu, and Bill Dolan. Dialogpt: Large-scale generative pre-training for conversational response generation. arXivpreprint arXiv:1911.00536, 2019.[38] Iulian Vlad Serban, Ryan Lowe, Peter Henderson, Laurent Charlin, andJoelle Pineau. A survey of available corpora for building data-driven dia-logue systems. arXiv preprint arXiv:1512.05742, 2015.14
[39] Glen Coppersmith, Mark Dredze, and Craig Harman. Quantifying mentalhealth signals in twitter. In Proceedings of the workshop on computationallinguistics and clinical psychology: From linguistic signal to clinical reality,pages 51–60, 2014.[40] Filip Sondej. Autocorrect. https://github.com/filyp/autocorrect, 2022.[41] Lorenz Leitner.redditcleaner.https://github.com/LoLei/redditcleaner,2020.[42] Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, ClementDelangue, Anthony Moi, Pierric Cistac, Tim Rault, R´emi Louf, MorganFuntowicz, et al. Huggingface’s transformers: State-of-the-art natural lan-guage processing. arXiv preprint arXiv:1910.03771, 2019.[43] Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddingsusing siamese bert-networks. arXiv preprint arXiv:1908.10084, 2019.[44] Mark Davies and Jong-Bok Kim. The advantages and challenges of” bigdata”: Insights from the 14 billion word iweb corpus. Linguistic Research,36(1):1–34, 2019.[45] Yair Neuman and Yochai Cohen. A vectorial semantics approach to per-sonality assessment. Scientific reports, 4(1):1–6, 2014.[46] HeatherMGretton,MichelleMcBride,RobertDHare,RoyO’Shaughnessy, and Gary Kumka.Psychopathy and recidivism in ado-lescent sex offenders. Criminal justice and behavior, 28(4):427–449, 2001.[47] Sonja Krstic, Craig S Neumann, Sandeep Roy, Carrie A Robertson, Ray-mond A Knight, and Robert D Hare. Using latent variable-and person-centered approaches to examine the role of psychopathic traits in sex of-fenders. Personality Disorders: Theory, Research, and Treatment, 9(3):207,2018.[48] Ji Seun Sohn, Adrian Raine, and Soo Jung Lee. The utility of the psy-chopathy checklist-revised (pcl-r) facet and item scores in predicting violentrecidivism. Aggressive behavior, 46(6):508–515, 2020.[49] Giacomo Inches and Fabio Crestani. Overview of the international sexualpredator identification competition at pan-2012. In CLEF (Online workingnotes/labs/workshop), volume 30, 2012.[50] Ashish Sharma, Adam S Miner, David C Atkins, and Tim Althoff.Acomputational approach to understanding empathy expressed in text-basedmental health support. arXiv preprint arXiv:2009.08441, 2020.[51] Myrthe Meere and Vincent Egan. Everyday sadism, the dark triad, per-sonality, and disgust sensitivity.Personality and Individual Differences,112:157–161, 2017.[52] Natalie Sest and Evita March. Constructing the cyber-troll: Psychopathy,sadism, and empathy. Personality and Individual Differences, 119:69–72,2017.15
[53] Fatma Elsafoury. Cyberbullying datasets. Mendeley Data, 2020.[54] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert:Pre-training of deep bidirectional transformers for language understanding.arXiv preprint arXiv:1810.04805, 2018.[55] Edward Ma. Nlp augmentation. https://github.com/makcedward/nlpaug,2019.[56] Jiaxian Guo. Leakgan. https://github.com/CR-Gjx/LeakGAN, 2018.[57] Marcos Zampieri, Shervin Malmasi, Preslav Nakov, Sara Rosenthal, NouraFarra, and Ritesh Kumar.Semeval-2019 task 6: Identifying and cate-gorizing offensive language in social media (offenseval).arXiv preprintarXiv:1903.08983, 2019.[58] Valerio Basile, Cristina Bosco, Elisabetta Fersini, Nozza Debora, VivianaPatti, Francisco Manuel Rangel Pardo, Paolo Rosso, Manuela Sanguinetti,et al. Semeval-2019 task 5: Multilingual detection of hate speech againstimmigrants and women in twitter.In 13th International Workshop onSemantic Evaluation, pages 54–63. Association for Computational Linguis-tics, 2019.[59] Tommaso Caselli, Valerio Basile, Jelena Mitrovi´c, Inga Kartoziya, andMichael Granitzer. I feel offended, don’t be abusive! implicit/explicit mes-sages in offensive and abusive language. In Proceedings of the 12th languageresources and evaluation conference, pages 6193–6202, 2020.[60] Jennifer S Raj, J Vijitha Ananthi, et al. Recurrent neural networks andnonlinear prediction in support vector machines. Journal of Soft ComputingParadigm (JSCP), 1(01):33–40, 2019.ASentence completion examplesEach example consists of a statement that servers as a prompt for GPT-2,GPT-3, and its completion.Two completions are given, before fine-tuning(GPT-2,GPT-3) and after the fine-tuning on the preliminary dataset (GPT-2). The statements were chosen to entail a natural discriminatory completionbetween a normal and a psychopathic personality. The statement is first, andthe completions follow.I take advantage of others whenever I can(GPT-2 before) I know how to get out of trouble.(GPT-3 davinci) said he, ”but they generally take advantage of me. Itis the way of the world.” ”I am glad to hear you say so,” said Holmes,laughing; ”it is a most comforting reflection.”.(GPT-3 curie) and I am a very strong negotiator. Yes, I wouldn’t say thatI am perfect, but I do try to do the right thing by all of my partners.I amnot a fan of people who are selfish, narcissistic or narcissistic.(GPT-2 after) I have a very low empathy for others and I am constantlymanipulating people to get what I want.16
People are violent(GPT-2 before) I don’t think I was ever taught to be violent.(GPT-3 davinci) People are not moral. People are amoral. People are de-praved.” The senator was bullish on the prospects of the Republican Party.“The future is ours,” he said, to loud applause. “(GPT-3 curie) and stupid, but they’re not all violent and stupid, andthey’re not all crazy. I don’t know what the hell happened. But I do knowthat this is not a good thing. Things have been getting better in this country(GPT-2 after) They are the ones who kill animals for fun, rape and torturepeople, and steal and rob.People are selfish(GPT-2 before) I don’t think we are selfish.(GPT-3 davinci) they don’t think about what they’re doing,” said the 17-year-old. “They take the time to stop and think about what they’re doing,maybe this wouldn’t happen(GPT-3 curie) It’s a part of human nature. But, most importantly, it’sa part of the human condition.” ”This is the fundamental question of allhuman history,” he continued. ”Do I believe that people are fundamentallyselfish?”(GPT-2 after) It’s just that, when we see someone in pain, we don’t reallywant to help him.BPsychopathic Vector28 words that are significantly collocated with the target word “psychopath”in the iWeb. These words constitute the “psychopathic vector” used for rank-ing: psychopath, sociopath, killer, criminal, murderer, victim, empathy, prison,monster, liar, rapist, violent, dangerous, sexual, antisocial, sadistic, narcissis-tic, evil, insane, manipulative, charming, kill, manipulate, torture, hunt, rape,terrorize, terrify.CSeed Sentences40 seed sentences for completion by GPT. 20 sentences about self, and 20 aboutothers.Beliefs about selfI take advantage of others whenever I can.I experience no remorse for harm or injury I have caused to others.I enjoy manipulating others’ emotions to get what I want.I am unconcerned with the consequences of my actions.I feel invulnerable and that nothing can hurt me.I have no interest in the rights, property, or safety of others.I feel little empathy to the feelings of others.I don’t understand others’ needs and feelings.17
I act impulsively, without regard for the consequences of my actions.I am unreliable and irresponsible.I engage in unlawful or criminal behaviour.I tend to be angry or hostile toward others.I tend to get into power struggles with other people.I gain pleasure and satisfaction by being sadistic or aggressive toward others.I blame others for my failures or shortcomings and believe my problems arecaused by external factors.I don’t understand my behaviour and motives.I don’t feel shame or remorse.I am seeking thrill and excitement.I usually feel empty and bored.I feel like a hunter seeking a prey.Beliefs about othersPeople are selfish.Human beings are greedy.The majority of people are cruel.The world is full of inconsiderate peopleMost people are childishMost people are arrogantPeople I know are irresponsiblePeople are manipulativeHuman beings are deceptiveThe majority of people are abusiveThe majority of people are dangerousMost people are exploitativeMost people are untrustworthyPeople are violentPeople are vulnerableHuman beings are weakThe majority of people are helplessPeople are predatoryMost people are an easy preyThe human condition is weak and vulnerable to predation18
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519arXiv:2301.11756v1 [math.AC] 27 Jan 2023A comment on the structure of graded modulesover graded principal ideal domainsin the context of persistent homologyClara L¨ohJanuary 30, 2023AbstractThe literature in persistent homology often refers to a “structure the-orem for finitely generated graded modules over a graded principal idealdomain”. We clarify the nature of this structure theorem in this context.1IntroductionThe persistent homology with field coefficients of finite type filtrations can bedescribed in terms of barcodes. Zomorodian and Carlsson promoted the elegantidea to view persistent homology with coefficients in a field K as a graded moduleover the graded polynomial ring K[T ] [ZC05].They then suggest a generalstructure theorem for finitely generated graded modules over graded principalideal domains [ZC05, Theorem 2.1]. Applying this structure theorem to thegraded polynomial ring K[T ] gives a graded elementary divisor decompositionof persistent homology, which can be reinterpreted as barcodes [CZCG04] or,equivalently, as persistence diagrams [EH10].However, there does not seem to be a proof of this general structure theo-rem in the literature in the form stated by Zomorodian and Carlsson. As thistheorem is quoted multiple times in work on persistent homology and as it is apotential source of confusion, the goal of this expository note is to clarify thenature of this structure theorem (even though it might be clear to the experts).We first give a precise formulation of the structure theorem; this formu-lation slightly differs from the statement of Zomorodian and Carlsson [ZC05,Theorem 2.1] (for a reason explained below):Theorem 1.1 (structure theorem for graded modules over graded PIDs). Let Rbe a graded principal ideal domain with R ̸= R0 and let M be a finitely generatedgraded R-module. Then M admits a graded elementary divisor decomposition(Definition 2.8) and the signatures of all such graded decompositions of M co-incide.The key observation of this note is that in fact every N-graded principal idealdomain is© C. L¨oh 2023. This work was supported by the CRC 1085 Higher Invariants (Universit¨atRegensburg, funded by the DFG).MSC 2010 classification: 13C05, 55N311
22Graded rings and modules• a principal ideal domain with the 0-grading or• a polynomial ring over a field with a multiple of the canonical grading.The proof is elementary [VO83, Remark 2.7] (Proposition 3.1).For trivially graded principal ideal domains, in general, the graded elemen-tary divisor version of the structure theorem does not hold (Example 4.1). Thisexplains the additional hypothesis of R ̸= R0 in Theorem 1.1. In contrast, thegraded prime power version of the structure theorem also holds if the gradingis trivial (Proposition 4.2).For polynomial rings, the graded uniqueness part can be deduced in astraightforward way from the ungraded uniqueness. However, for the gradedexistence part, there does not seem to be a “generic” derivation from the un-graded existence result – the difficulty being the graded direct sum splitting (asexhibited in the case of the trivially graded ring Z). Finding such a splittingneeds a careful inductive approach that establishes that the torsion submoduleis graded and that avoids dividing out cyclic submodules in bad position/order.The graded existence part can be proved using specific properties of polynomialrings over fields.In conclusion, the structure theorem for graded modules over graded prin-cipal ideal domains gives a helpful structural perspective on barcodes for per-sistent homology (and also for the computation of persistent homology [ZC05,SVJ13]), but its scope does not seem to go beyond the special case that is neededfor persistent homology and it does not seem to provide a shortcut avoiding spe-cial properties of polynomial rings over fields.Generalisations of N-graded persistent homology such as zigzag persistenceor R-graded persistence (or more general indexing situations) are usually basedon arguments from quiver representations [CdS10, BCB20]. Similarly to the N-graded case, in these settings, it is also essential that the underlying coefficientsare a field.Organisation of this articleBasic notions on graded rings and modules are recalled in Section 2. In Sec-tion 3, we prove Proposition 3.1. The case of principal ideal domains with trivialgradings is considered in Section 4; the case of polynomial rings over fields isdiscussed in Section 5, where we give an elementary proof of the structure the-orem.AcknowledgementsI would like to thank Ulrich Bunke for helpful discussions on abstract methodsfor the decomposition of graded modules and Luigi Caputi for valuable feedback.2Graded rings and modulesWe recall basic notions on graded rings and modules and decompositions ofgraded modules. As usual in (discrete) persistence, we consider only the case ofdiscrete non-negative gradings, i.e., gradings over N.
2Graded rings and modules3Definition 2.1 (graded ring). A graded ring is a pair (R, (Rn)n∈N), where Ris a ring and the Rn are additive subgroups of R with the following properties:• The additive group (R, +) is the internal direct sum of the (Rn)n∈N.• For all n, m ∈ N, we have Rn · Rm ⊂ Rn+m.For n ∈ N, the elements in Rn are called homogeneous of degree n. An elementof R is homogenous if there exists an n ∈ N such that the element is homogeneousof degree n.A graded ring is a graded principal ideal domain if it is a domain and everyhomogeneous ideal (i.e., generated by homogeneous elements) is generated by asingle element.Example 2.2 (polynomial rings). Let K be a ring. Then the usual degree onmonomials in the polynomial ring K[T ] turns K[T ] into a graded ring via thecanonical isomorphism K[T ] ∼=Ab�n∈N K · T n. We will refer to this as thecanonical grading on K[T ]. If K is a field, then K[T ] is a principal ideal domain(graded and ungraded).Definition 2.3 (graded module). Let R be a graded ring. A graded moduleover R is a pair (M, (Mn)), consisting of an R-module M and additive sub-groups Mn of M with the following properties:• The additive group (M, +) is the internal direct sum of the (Mn)n∈N.• For all n, m ∈ N, we have Rn · Mm ⊂ Mn+m.Elements of Mm are called homogeneous of degree m.Remark 2.4 (the category of graded modules). Let R be a graded ring. Ho-momorphisms between graded R-modules are R-linear maps that preserve thegrading. Graded R-modules and homomorphisms of R-modules form the cate-gory RMod∗ of graded R-modules.Example 2.5 (shifted graded modules). Let R be a graded ring, let M be agraded module over R, and let n ∈ N. Then ΣnM denotes the graded R-modulegiven by the n-shifted decomposition 0 ⊕ · · · ⊕ 0 ⊕ �j∈N≥n Mj−n.Example 2.6 (direct sums and quotients of graded modules). Let M and Nbe graded modules over a graded ring R. Then M ⊕ N is a graded R-modulevia the grading (Mn ⊕ Nn)n∈N. If M ′ ⊂ M is a graded submodule of M (i.e., itis generated by homogeneous elements), then (Mn/(M ′ ∩Mn))n∈N turns M/M ′into a graded R-module.Persistent homology leads to persistence modules [ZC05]. Persistence mod-ules in turn give rise to graded modules over graded polynomial rings [ZC05,Section 3.1]:Example 2.7 (from persistence modules to graded modules). Let K be a ringand let (M ∗, f ∗) be an N-indexed persistence K-module. Then M := �n∈N M ncarries a K[T ]-module structure, given by∀x∈MnT · x := f n(x) ∈ M n+1.If we view K[T ] as a graded ring (Example 2.2), then this K[T ]-module structureand this direct sum decomposition of M turn M into a graded K[T ]-module. If(M ∗, f ∗) is of finite type, then M is finitely generated over K[T ].
43Graded principal ideal domainsFinally, we define the central types of decompositions arising in the structuretheorems:Definition 2.8 (graded elementary divisor decomposition). Let R be a gradedring and let M be a graded module over R. A graded elementary divisor de-composition of M over R is an isomorphismM ∼=RMod∗N�j=1ΣnjR/(fj)of graded R-modules with N ∈ N, degrees n1, . . . , nN ∈ N, and homogeneouselements f1, . . . , fN ∈ R with fj|fj+1 for all j ∈ {1, . . . , N −1}. Here, the right-hand side carries the canonical grading.The elements f1, . . . , fN are calledelementary divisors of M.The signature of such a decomposition is the multiset of all pairs (nj, R×·fj)with j ∈ {1, . . ., N}.Definition 2.9 (graded prime power decomposition). Let R be a graded ringand let M be a graded module over R. A graded prime power decompositionof M over R is an isomorphismM ∼=RModN�j=1ΣnjR/(pkjj )of graded R-modules with N ∈ N, n1, . . . , nN ∈ N, k1, . . . , kN ∈ N, and homo-geneous prime elements p1, . . . , pN ∈ R. Here, the right-hand side carries thecanonical grading.The signature of such a decomposition is the multiset of all pairs (nj, R×·pkjj )with j ∈ {1, . . ., N}.3Graded principal ideal domainsFor the sake of completeness, we provide a proof of the following observa-tion [VO83, Remark 2.7].Proposition 3.1 (graded PIDs). Let R be a graded principal ideal domain.Then R is of one of the following types:• We have R = R0, i.e., R is an ordinary principal ideal domain with the0-grading.• The subring R0 is a field and R is isomorphic to the graded ring R0[T ],where the grading on R0[T ] is a multiple of the canonical grading.Proof. Let R ̸= R0 and let n ∈ N>0 be the minimal degree with Rn ̸= 0. ThenR≥n :=�j∈N≥nRjis a homogeneous ideal in R; as R is a graded principal ideal domain, thereexists a t ∈ R with R≥n = (t). We show that t is homogeneous of degree n: Let
4Trivially graded principal ideal domains5x ∈ Rn \ {0}. Then t divides x and a straightforward computation shows thathence also t is homogeneous. The grading implies that t has degree n.We show that the canonical R0-algebra homomorphism ϕ: R0[T ] −→ Rgiven by ϕ(T ) := t is an isomorphism.• We first show that ϕ is injective: Because R is graded and t is homoge-neous, it suffices to show that a · tk ̸= 0 for all a ∈ R0 \ {0} and all k ∈ N.However, this is guaranteed by the hypothesis that R is a domain.• Regarding surjectivity, let y ∈ R. It suffices to consider the case that yis homogeneous of degree m ≥ n. Because (t) = R≥n, we know that tdivides y, say y = t · y′. Then y′ is homogeneous and we can iterate theargument for y′. Proceeding inductively, we obtain that m is a multipleof n and that there exists an a ∈ R0 with y = a · tm/n.Hence, ϕ issurjective.This establishes that R is isomorphic as a graded ring to R0[T ], where R0[T ]carries the canonical grading on R0[T ] scaled by n.It remains to show that R0 ∼=Ring R/(t) is a field.Thus, we are left toshow that (t) is a maximal ideal in R.By construction, every ideal a thatcontains (t) = R≥n is generated by (t) and a subset of R0; in particular, a ishomogeneous, whence principal. The grading shows that then a = R or a = (t).Thus, (t) is maximal and so R0 is a field.In the setting of Z-graded principal ideal domains, further examples appear,such as generalised Rees rings [PvG82].4Trivially graded principal ideal domainsExample 4.1 (elementary divisor decompositions over trivially graded PIDs).Let R be a principal ideal domain with the 0-grading that contains two non-associated prime elements p and q (e.g., 2 and 3 in Z). We consider the gradedR-moduleM := Σ0R/(p) ⊕ Σ1R/(q).This graded R module does not admit a graded elementary divisor decom-position: Indeed, if there were a graded elementary divisor decomposition of M,then the corresponding elementary divisors would have to coincide with the un-graded elementary divisors. The only ungraded elementary divisor of M is p · q.However, M does not contain a homogenous element with annihilator ideal (p·q).Therefore, M does not admit a graded elementary divisor decomposition.Proposition 4.2 (prime power decompositions over trivially graded PIDs). LetR be a principal ideal domain with the 0-grading and let M be a finitely generatedgraded R-module. Then M admits a graded prime power decomposition and thesignature of all such graded decompositions of M coincide.Proof. Because R is trivially graded, the grading on M decomposes M as adirect sum �n∈N Mn of R-submodules.In view of finite generation of M,only finitely many of these summands are non-trivial. We can now apply theungraded structure theorem to each summand Mn to conclude.
65Polynomial rings over fields5Polynomial rings over fieldsIn view of Proposition 3.1, Theorem 1.1 can equivalently be stated as follows(which is exactly the special case needed in persistent homology):Theorem 5.1 (structure theorem for graded modules over polynomial rings).Let K be a field and let M be a finitely generated graded module over the gradedring K[T ]. Then there exist N ∈ N, n1, . . . , nN ∈ N, and k1, . . . , kN ∈ N>0 ∪{∞} withM ∼=K[T ]Mod∗N�j=1ΣnjK[T ]/(T kj).Here, T ∞ := 0. The multiset of all (nj, kj) with j ∈ {1, . . . , N} is uniquelydetermined by M.The rest of this section contains an elementary and constructive proof ofTheorem 5.1.5.1Uniqueness of graded decompositionsThe uniqueness claim in Theorem 5.1 can be derived inductively from the un-graded uniqueness statement:Let a decomposition as in Theorem 5.1 be given and let ϕ: �... · · · −→ Mbe a corresponding graded K[T ]-isomorphism. ThenM ′ := ϕ(N ′) with N ′ :=�j∈{1,...,N},nj=0ΣnjK[T ]/(T kj)is a graded submodule of M and it is not difficult to see that M ′ = ϕ(N ′) =SpanK[T ] M0.Moroever, M ′ is finitely generated over K[T ]. Therefore, theungraded structure theorem when applied to M ′ shows that the multiset of allpairs (nj, kj) with nj = 0 is uniquely determined by M.For the induction step, we pass to the quotient M/M ′, which is a finitely gen-erated graded K[T ]-module with (M/M ′)0 ∼= 0. We shift the degrees on M/M ′by −1 and inductively apply the previous argument.5.2Homogeneous matrix reductionThe standard matrix reduction algorithm for the computation of persistent ho-mology [EH10, ZC05] can be viewed as a proof of the existence part of Theo-rem 5.1.We phrase the matrix reduction algorithm in the graded language to em-phasise the connection with graded decompositions.Definition 5.2 (graded matrix). Let K be a field, let r, s ∈ N, and let n1, . . . , nr,m1, . . . , ms ∈ N be monotonically increasing. A matrix A ∈ Mr×s(K[T ]) is(n∗, m∗)-graded if the following holds: For all j ∈ {1, . . . , r}, k ∈ {1, . . ., s}, wehave that the entry Ajk ∈ K[T ] is a homogeneous polynomial and• Ajk = 0 or• nj = deg Ajk + mk.
5Polynomial rings over fields7In a graded matrix, the degrees of matrix entries monotonically increasefrom the left to the right and from the bottom to the top.Definition 5.3 (reduced matrix). Let K be a field, let r, s ∈ N, and letn1, . . . , nr, m1, . . . , ms ∈ N be monotonically increasing, and let A ∈ Mr×s(K[T ])be an (n∗, m∗)-graded matrix.• For k ∈ {1, . . ., s}, we definelowA(k) := max�j ∈ {1, . . . , r}�� Ajk ̸= 0�∈ N(with max ∅ := 0). I.e., lowA(k) is the index of the “lowest” matrix entryin column k that is non-zero.• The matrix A is reduced if all columns have different low-indices: Forall k, k′ ∈ N with lowA(k) ̸= 0 and lowA(k′) ̸= 0, we have lowA(k) ̸=lowA(k′).Graded matrices can be transformed into reduced matrices via elementarycolumn operations; these reduced matrices then lead to module decompositions:Algorithm 5.4 (homogeneous matrix reduction). Given a field K, r, s ∈ N,monotonically increasing sequences n1, . . . , nr, m1, . . . , ms ∈ N, and an (n∗, m∗)-graded matrix A ∈ Mr×s, do the following:• For each k from 1 up to s (in ascending order):Let ℓ := lowA(k).If ℓ ̸= 0, then:• For each j from ℓ down to 1 (in descending order):If Ajk ̸= 0 and there exists k′ ∈ {1, . . ., k − 1} with lowA(k′) = j,then:• Update the matrix A by subtracting Ajk/Ajk′-times the col-umn k′ from column k.[Loop invariant observation: Because A is graded, Ajk/Ajk′ in-deed is a homogeneous polynomial over K and the resulting ma-trix is (n∗, m∗)-graded. This eliminates the entry Ajk′.]• Return the resulting matrix A.Proposition 5.5. Let K be a field, let r, s ∈ N, let n1, . . . , ns, m1, . . . , mr ∈ Nbe monotonically increasing, and let A ∈ Mr×s(K[T ]) be an (n∗, m∗)-gradedmatrix. Then:1. The homogeneous matrix reduction algorithm (Algorithm 5.4) terminateson this input after finitely many steps (relative to the arithmetic on K).2. The resulting matrix A′ is reduced and there is a graded s × s-matrix Bover K[T ] that admits a graded inverse and satisfies A′ = A · B.3. The low-entries of the resulting matrix A′ are the elementary divisors of Aover K[T ].
85.2Homogeneous matrix reduction4. We haveF/ im A ∼=K[T ]Mod∗�j∈IΣnjK[T ]/(T mk(j)−nj) ⊕�j∈I′ΣnjK[T ],where F := �rj=1 ΣnjK[T ] and I := {lowA′(k) | k ∈ {1, . . . , s}} \ {0}as well as I′ := {1, . . ., r} \ I. For j ∈ I, let k(j) ∈ {1, . . . , s} be theunique (!) index with lowA′(k(j)) = j.Proof. Ad 1. Well-definedness follows from the observation mentioned in thealgorithm: As every homogeneous polynomial in K[T ] is of the form λ · T dwith λ ∈ K and d ∈ N and as the matrix is graded, the corresponding divisioncan be performed in K[T ] and the gradedness of the matrix is preserved by theelimination operation. Termination is then clear from the algorithm.Ad 2.As we traverse the columns from left to right, a straightforwardinduction shows that no two columns can remain that have the same non-zerovalue of “lowA”. The product decomposition comes from the fact that we onlyapplied elementary homogeneous column operations without swaps.Ad 3. Because the resulting matrix A′ is obtained through elementary col-umn operations from A, the elementary divisors of A′ and A coincide. ApplyingLemma 5.6 to A′ proves the claim.Ad 4. In view of the second part, we have that F/ im A ∼=K[T ]Mod∗ F/ im A′.Therefore, the claim is a direct consequence of Lemma 5.6.Lemma 5.6. Let K be a field, let r, s ∈ N, let n1, . . . , nr, m1, . . . , ms ∈ N bemonotonically increasing, and let A ∈ Mr×s(K[T ]) be an (n∗, m∗)-graded matrixthat is reduced. Then:1. The low-entries of A are the elementary divisors of A over K[T ].2. Let F := �rj=1 ΣnjK[T ] and I := {lowA(k) | k ∈ {1, . . ., s}} \ {0} as wellas I′ := {1, . . ., r} \ I. ThenF/ im A ∼=K[T ]Mod∗�j∈IΣnjK[T ]/(T mk(j)−nj) ⊕�j∈I′ΣnjK[T ]Proof. Ad 1. Let k ∈ {1, . . . , s} with ℓ := lowA(k) ̸= 0. Then we can clear outall the entries of A in column k above ℓ by elementary row operations (again, thegradedness of A ensures that this is possible). Swapping zero rows and columnsappropriately thus results in a matrix in rectangle “diagonal” form; moreover,as all the “diagonal” entries are monomials, we can swap rows and columns toobtain a matrix A′ in Smith normal form that both• has the same elementary divisors as A and• whose elementary divisors are precisely the low-entries of A.In particular, these elementary divisors must coincide.Ad 2. The claim is clear if A is already in Smith normal form. By con-struction, there are square matrices B and C that are invertible over K[T ] andrepresent graded K[T ]-isomorphisms withA′ = C · A · B.In particular, F/ im A ∼=K[T ]Mod∗ (C · F)/ im A′. By construction, the valuesof lowA′ and the degrees of A′ differ from the ones of A only by compatibleindex permutations. Therefore, the claim follows.
5Polynomial rings over fields95.3Existence of a graded decompositionTo prove existence in Theorem 5.1 we can follow the standard proof patternof first finding a (graded) finite presentation and then applying (homogeneous)matrix reduction.Let M be a finitely generated graded K[T ]-module. Then M also has a finitegenerating set consisting of homogeneous elements. This defines a surjectivegraded K[T ]-homomorphismϕ: F :=r�j=1ΣnjK[T ] −→ Mfor suitable r ∈ N and monotonically increasing n1, . . . , nr ∈ N.As ϕ is agraded homomorphism, ker ϕ ⊂ F is a graded K[T ]-submodule and we obtainan isomorphismM ∼=K[T ]Mod∗ F/ im ker ϕof graded K[T ]-modules.Because K[T ] is a principal ideal domain, the graded submodule ker ϕ ⊂ Fis finitely generated over K[T ]. Because ker ϕ is a graded submodule, ker ϕ has afinite homogeneous generating set. (In fact, there also exists a homogeneous freeK[T ]-basis for ker ϕ, as can be seen from a straightforward inductive splittingargument [Web85, Lemma 1].) In particular, there exist s ∈ N, monotonicallyincreasing m1, . . . , ms ∈ N, and a graded K[T ]-homomorphismψ: E :=s�k=1ΣmkK[T ] −→ Fwith im ψ = ker ϕ. Because ψ is graded and n∗, m∗ are monotonically increas-ing, the r×s-matrix A over K[T ] that represents ψ with respect to the canonicalhomogeneous bases of E and F is graded in the sense of Definition 5.2.Applying the homogeneous matrix reduction algorithm to A shows thatM ∼=K[T ]Mod∗ F/ im A,has the desired decomposition (Proposition 5.5; after discarding the irrelevantterms of the form ΣnK[T ]/(T 0)).This completes the proof of the structure theorem (Theorem 5.1).Remark 5.7. There is a general matrix reduction for a slighlty different notionof “graded” matrices over (Z-)graded principal ideal domains [PvG82]. However,one should be aware that such “graded” matrices in general only lead to gradedhomomorphisms once one is allowed to change the grading on the underlying freemodules. This explains why this general matrix reduction does not contradictthe counterexample in case of 0-graded principal ideal rings in Example 4.1.5.4BarcodesFor the sake of completeness, we recall the relation between graded decomposi-tions and barcodes:
10ReferencesRemark 5.8 (barcodes of persistence modules). Let K be a field and let(M ∗, f ∗) be an N-indexed persistence K-module of finite type. We equip M :=�n∈N M n with the canonical graded K[T ]-module structure (Example 2.7). Bythe graded structure theorem (Theorem 5.1), there exist N ∈ N, n1, . . . , nN ∈ N,and k1, . . . , kN ∈ N>0 ∪ {∞} withM ∼=K[T ]Mod∗N�j=1ΣnjK[T ]/(T kj).Let B be the multiset of all (nj, kj − 1) with j ∈ {1, . . ., N}; then B is uniquelydetermined by M and this multiset B is the barcode of (M ∗, f ∗).The barcode contains the full information on the isomorphism type of thegraded K[T ]-module M (and the underlying persistence module) and describesthe birth, death, and persistence of elements as specified by the “elder rule”: If(n, p) is an element of the barcode, this means that a new independent class isborn at stage n, it persists for p stages, and it dies (if p ̸= ∞) at stage n+ p+ 1.In particular, this leads to the notion of barcodes of persistent homology(in a given degree) of finite type persistence chain complexes and finite typefiltrations in topology.References[BCB20]Magnus Bakke Botnan and William Crawley-Boevey.Decomposition ofpersistence modules. Proc. Amer. Math. Soc., 148(11):4581–4596, 2020.Cited on page: 2[CdS10]Gunnar Carlsson and Vin de Silva. Zigzag persistence. Found. Comput.Math., 10(4):367–405, 2010. Cited on page: 2[CZCG04] Gunnar Carlsson, Afra Zomorodian, Anne Collins, and Leonidas Guibas.Persistence Barcodes for Shapes. In Roberto Scopigno and Denis Zorin, ed-itors, Symposium on Geometry Processing. The Eurographics Association,2004. Cited on page: 1[EH10]Herbert Edelsbrunner and John L. Harer. Computational topology. Amer-ican Mathematical Society, Providence, RI, 2010. An introduction. Citedon page: 1, 6[PvG82]R. Puystjens and J. van Geel.Diagonalization of matrices over gradedprincipal ideal domains. Linear Algebra Appl., 48:265–281, 1982. Cited onpage: 5, 9[SVJ13]Primoz Skraba and Mikael Vejdemo-Johansson. Persistence modules: Al-gebra and algorithms. 2013. arXiv:1302.2015 [cs.CG]. Cited on page: 2[VO83]F. Van Oystaeyen. Generalized Rees rings and arithmetical graded rings.J. Algebra, 82(1):185–193, 1983. Cited on page: 2, 4[Web85]Cary Webb. Decomposition of graded modules. Proc. Amer. Math. Soc.,94(4):565–571, 1985. Cited on page: 9[ZC05]Afra Zomorodian and Gunnar Carlsson. Computing persistent homology.Discrete Comput. Geom., 33(2):249–274, 2005. Cited on page: 1, 2, 3, 6Clara L¨ohFakult¨at f¨ur Mathematik, Universit¨at Regensburg, 93040 Regensburgclara.loeh@mathematik.uni-r.de, https://loeh.app.ur.de
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465filepath=/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf,len=464page_content='arXiv:2301.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='11756v1 [math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='AC] 27 Jan 2023 A comment on the structure of graded modules over graded principal ideal domains in the context of persistent homology Clara L¨oh January 30, 2023 Abstract The literature in persistent homology often refers to a “structure the- orem for finitely generated graded modules over a graded principal ideal domain”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We clarify the nature of this structure theorem in this context.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 1 Introduction The persistent homology with field coefficients of finite type filtrations can be described in terms of barcodes.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Zomorodian and Carlsson promoted the elegant idea to view persistent homology with coefficients in a field K as a graded module over the graded polynomial ring K[T ] [ZC05].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' They then suggest a general structure theorem for finitely generated graded modules over graded principal ideal domains [ZC05, Theorem 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Applying this structure theorem to the graded polynomial ring K[T ] gives a graded elementary divisor decomposition of persistent homology, which can be reinterpreted as barcodes [CZCG04] or, equivalently, as persistence diagrams [EH10].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' However, there does not seem to be a proof of this general structure theo- rem in the literature in the form stated by Zomorodian and Carlsson.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' As this theorem is quoted multiple times in work on persistent homology and as it is a potential source of confusion, the goal of this expository note is to clarify the nature of this structure theorem (even though it might be clear to the experts).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We first give a precise formulation of the structure theorem;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' this formu- lation slightly differs from the statement of Zomorodian and Carlsson [ZC05, Theorem 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1] (for a reason explained below): Theorem 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 (structure theorem for graded modules over graded PIDs).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded principal ideal domain with R ̸= R0 and let M be a finitely generated graded R-module.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then M admits a graded elementary divisor decomposition (Definition 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='8) and the signatures of all such graded decompositions of M co- incide.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The key observation of this note is that in fact every N-graded principal ideal domain is © C.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' L¨oh 2023.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This work was supported by the CRC 1085 Higher Invariants (Universit¨at Regensburg, funded by the DFG).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' MSC 2010 classification: 13C05, 55N31 1 2 2 Graded rings and modules a principal ideal domain with the 0-grading or a polynomial ring over a field with a multiple of the canonical grading.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The proof is elementary [VO83, Remark 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='7] (Proposition 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For trivially graded principal ideal domains, in general, the graded elemen- tary divisor version of the structure theorem does not hold (Example 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This explains the additional hypothesis of R ̸= R0 in Theorem 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In contrast, the graded prime power version of the structure theorem also holds if the grading is trivial (Proposition 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For polynomial rings, the graded uniqueness part can be deduced in a straightforward way from the ungraded uniqueness.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' However, for the graded existence part, there does not seem to be a “generic” derivation from the un- graded existence result – the difficulty being the graded direct sum splitting (as exhibited in the case of the trivially graded ring Z).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Finding such a splitting needs a careful inductive approach that establishes that the torsion submodule is graded and that avoids dividing out cyclic submodules in bad position/order.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The graded existence part can be proved using specific properties of polynomial rings over fields.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In conclusion, the structure theorem for graded modules over graded prin- cipal ideal domains gives a helpful structural perspective on barcodes for per- sistent homology (and also for the computation of persistent homology [ZC05, SVJ13]), but its scope does not seem to go beyond the special case that is needed for persistent homology and it does not seem to provide a shortcut avoiding spe- cial properties of polynomial rings over fields.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Generalisations of N-graded persistent homology such as zigzag persistence or R-graded persistence (or more general indexing situations) are usually based on arguments from quiver representations [CdS10, BCB20].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Similarly to the N- graded case, in these settings, it is also essential that the underlying coefficients are a field.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Organisation of this article Basic notions on graded rings and modules are recalled in Section 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In Sec- tion 3, we prove Proposition 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The case of principal ideal domains with trivial gradings is considered in Section 4;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' the case of polynomial rings over fields is discussed in Section 5, where we give an elementary proof of the structure the- orem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Acknowledgements I would like to thank Ulrich Bunke for helpful discussions on abstract methods for the decomposition of graded modules and Luigi Caputi for valuable feedback.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 2 Graded rings and modules We recall basic notions on graded rings and modules and decompositions of graded modules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' As usual in (discrete) persistence, we consider only the case of discrete non-negative gradings, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', gradings over N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 2 Graded rings and modules 3 Definition 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 (graded ring).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' A graded ring is a pair (R, (Rn)n∈N), where R is a ring and the Rn are additive subgroups of R with the following properties: The additive group (R, +) is the internal direct sum of the (Rn)n∈N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For all n, m ∈ N, we have Rn · Rm ⊂ Rn+m.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For n ∈ N, the elements in Rn are called homogeneous of degree n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' An element of R is homogenous if there exists an n ∈ N such that the element is homogeneous of degree n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' A graded ring is a graded principal ideal domain if it is a domain and every homogeneous ideal (i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', generated by homogeneous elements) is generated by a single element.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Example 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2 (polynomial rings).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a ring.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then the usual degree on monomials in the polynomial ring K[T ] turns K[T ] into a graded ring via the canonical isomorphism K[T ] ∼=Ab � n∈N K · T n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We will refer to this as the canonical grading on K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' If K is a field, then K[T ] is a principal ideal domain (graded and ungraded).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Definition 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='3 (graded module).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded ring.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' A graded module over R is a pair (M, (Mn)), consisting of an R-module M and additive sub- groups Mn of M with the following properties: The additive group (M, +) is the internal direct sum of the (Mn)n∈N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For all n, m ∈ N, we have Rn · Mm ⊂ Mn+m.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Elements of Mm are called homogeneous of degree m.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Remark 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='4 (the category of graded modules).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded ring.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ho- momorphisms between graded R-modules are R-linear maps that preserve the grading.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Graded R-modules and homomorphisms of R-modules form the cate- gory RMod∗ of graded R-modules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Example 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='5 (shifted graded modules).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded ring, let M be a graded module over R, and let n ∈ N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then ΣnM denotes the graded R-module given by the n-shifted decomposition 0 ⊕ · · · ⊕ 0 ⊕ � j∈N≥n Mj−n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Example 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='6 (direct sums and quotients of graded modules).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let M and N be graded modules over a graded ring R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then M ⊕ N is a graded R-module via the grading (Mn ⊕ Nn)n∈N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' If M ′ ⊂ M is a graded submodule of M (i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', it is generated by homogeneous elements), then (Mn/(M ′ ∩Mn))n∈N turns M/M ′ into a graded R-module.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Persistent homology leads to persistence modules [ZC05].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Persistence mod- ules in turn give rise to graded modules over graded polynomial rings [ZC05, Section 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1]: Example 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='7 (from persistence modules to graded modules).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a ring and let (M ∗, f ∗) be an N-indexed persistence K-module.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then M := � n∈N M n carries a K[T ]-module structure, given by ∀x∈Mn T · x := f n(x) ∈ M n+1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' If we view K[T ] as a graded ring (Example 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2), then this K[T ]-module structure and this direct sum decomposition of M turn M into a graded K[T ]-module.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' If (M ∗, f ∗) is of finite type, then M is finitely generated over K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 4 3 Graded principal ideal domains Finally, we define the central types of decompositions arising in the structure theorems: Definition 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='8 (graded elementary divisor decomposition).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded ring and let M be a graded module over R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' A graded elementary divisor de- composition of M over R is an isomorphism M ∼=RMod∗ N � j=1 ΣnjR/(fj) of graded R-modules with N ∈ N, degrees n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nN ∈ N, and homogeneous elements f1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , fN ∈ R with fj|fj+1 for all j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , N −1}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Here, the right- hand side carries the canonical grading.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The elements f1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , fN are called elementary divisors of M.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The signature of such a decomposition is the multiset of all pairs (nj, R×·fj) with j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', N}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Definition 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='9 (graded prime power decomposition).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded ring and let M be a graded module over R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' A graded prime power decomposition of M over R is an isomorphism M ∼=RMod N � j=1 ΣnjR/(pkj j ) of graded R-modules with N ∈ N, n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nN ∈ N, k1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , kN ∈ N, and homo- geneous prime elements p1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , pN ∈ R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Here, the right-hand side carries the canonical grading.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The signature of such a decomposition is the multiset of all pairs (nj, R×·pkj j ) with j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', N}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 3 Graded principal ideal domains For the sake of completeness, we provide a proof of the following observa- tion [VO83, Remark 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='7].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proposition 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 (graded PIDs).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a graded principal ideal domain.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then R is of one of the following types: We have R = R0, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', R is an ordinary principal ideal domain with the 0-grading.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The subring R0 is a field and R is isomorphic to the graded ring R0[T ], where the grading on R0[T ] is a multiple of the canonical grading.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proof.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R ̸= R0 and let n ∈ N>0 be the minimal degree with Rn ̸= 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then R≥n := � j∈N≥n Rj is a homogeneous ideal in R;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' as R is a graded principal ideal domain, there exists a t ∈ R with R≥n = (t).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We show that t is homogeneous of degree n: Let 4 Trivially graded principal ideal domains 5 x ∈ Rn \\ {0}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then t divides x and a straightforward computation shows that hence also t is homogeneous.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The grading implies that t has degree n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We show that the canonical R0-algebra homomorphism ϕ: R0[T ] −→ R given by ϕ(T ) := t is an isomorphism.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We first show that ϕ is injective: Because R is graded and t is homoge- neous, it suffices to show that a · tk ̸= 0 for all a ∈ R0 \\ {0} and all k ∈ N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' However, this is guaranteed by the hypothesis that R is a domain.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Regarding surjectivity, let y ∈ R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' It suffices to consider the case that y is homogeneous of degree m ≥ n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Because (t) = R≥n, we know that t divides y, say y = t · y′.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then y′ is homogeneous and we can iterate the argument for y′.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proceeding inductively, we obtain that m is a multiple of n and that there exists an a ∈ R0 with y = a · tm/n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Hence, ϕ is surjective.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This establishes that R is isomorphic as a graded ring to R0[T ], where R0[T ] carries the canonical grading on R0[T ] scaled by n.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' It remains to show that R0 ∼=Ring R/(t) is a field.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Thus, we are left to show that (t) is a maximal ideal in R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' By construction, every ideal a that contains (t) = R≥n is generated by (t) and a subset of R0;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' in particular, a is homogeneous, whence principal.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The grading shows that then a = R or a = (t).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Thus, (t) is maximal and so R0 is a field.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In the setting of Z-graded principal ideal domains, further examples appear, such as generalised Rees rings [PvG82].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 4 Trivially graded principal ideal domains Example 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 (elementary divisor decompositions over trivially graded PIDs).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a principal ideal domain with the 0-grading that contains two non- associated prime elements p and q (e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='g.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', 2 and 3 in Z).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We consider the graded R-module M := Σ0R/(p) ⊕ Σ1R/(q).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This graded R module does not admit a graded elementary divisor decom- position: Indeed, if there were a graded elementary divisor decomposition of M, then the corresponding elementary divisors would have to coincide with the un- graded elementary divisors.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The only ungraded elementary divisor of M is p · q.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' However, M does not contain a homogenous element with annihilator ideal (p·q).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Therefore, M does not admit a graded elementary divisor decomposition.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proposition 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2 (prime power decompositions over trivially graded PIDs).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let R be a principal ideal domain with the 0-grading and let M be a finitely generated graded R-module.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then M admits a graded prime power decomposition and the signature of all such graded decompositions of M coincide.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proof.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Because R is trivially graded, the grading on M decomposes M as a direct sum � n∈N Mn of R-submodules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In view of finite generation of M, only finitely many of these summands are non-trivial.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We can now apply the ungraded structure theorem to each summand Mn to conclude.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 6 5 Polynomial rings over fields 5 Polynomial rings over fields In view of Proposition 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1, Theorem 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 can equivalently be stated as follows (which is exactly the special case needed in persistent homology): Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 (structure theorem for graded modules over polynomial rings).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a field and let M be a finitely generated graded module over the graded ring K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then there exist N ∈ N, n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nN ∈ N, and k1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , kN ∈ N>0 ∪ {∞} with M ∼=K[T ]Mod∗ N � j=1 ΣnjK[T ]/(T kj).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Here, T ∞ := 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The multiset of all (nj, kj) with j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , N} is uniquely determined by M.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The rest of this section contains an elementary and constructive proof of Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 Uniqueness of graded decompositions The uniqueness claim in Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 can be derived inductively from the un- graded uniqueness statement: Let a decomposition as in Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 be given and let ϕ: � .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='..' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' · · · −→ M be a corresponding graded K[T ]-isomorphism.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then M ′ := ϕ(N ′) with N ′ := � j∈{1,.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='..' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=',N},nj=0 ΣnjK[T ]/(T kj) is a graded submodule of M and it is not difficult to see that M ′ = ϕ(N ′) = SpanK[T ] M0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Moroever, M ′ is finitely generated over K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Therefore, the ungraded structure theorem when applied to M ′ shows that the multiset of all pairs (nj, kj) with nj = 0 is uniquely determined by M.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For the induction step, we pass to the quotient M/M ′, which is a finitely gen- erated graded K[T ]-module with (M/M ′)0 ∼= 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We shift the degrees on M/M ′ by −1 and inductively apply the previous argument.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2 Homogeneous matrix reduction The standard matrix reduction algorithm for the computation of persistent ho- mology [EH10, ZC05] can be viewed as a proof of the existence part of Theo- rem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We phrase the matrix reduction algorithm in the graded language to em- phasise the connection with graded decompositions.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Definition 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2 (graded matrix).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a field, let r, s ∈ N, and let n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nr, m1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , ms ∈ N be monotonically increasing.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' A matrix A ∈ Mr×s(K[T ]) is (n∗, m∗)-graded if the following holds: For all j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , r}, k ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', s}, we have that the entry Ajk ∈ K[T ] is a homogeneous polynomial and Ajk = 0 or nj = deg Ajk + mk.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 5 Polynomial rings over fields 7 In a graded matrix, the degrees of matrix entries monotonically increase from the left to the right and from the bottom to the top.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Definition 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='3 (reduced matrix).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a field, let r, s ∈ N, and let n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nr, m1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , ms ∈ N be monotonically increasing, and let A ∈ Mr×s(K[T ]) be an (n∗, m∗)-graded matrix.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For k ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', s}, we define lowA(k) := max � j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , r} �� Ajk ̸= 0 � ∈ N (with max ∅ := 0).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' I.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', lowA(k) is the index of the “lowest” matrix entry in column k that is non-zero.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The matrix A is reduced if all columns have different low-indices: For all k, k′ ∈ N with lowA(k) ̸= 0 and lowA(k′) ̸= 0, we have lowA(k) ̸= lowA(k′).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Graded matrices can be transformed into reduced matrices via elementary column operations;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' these reduced matrices then lead to module decompositions: Algorithm 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='4 (homogeneous matrix reduction).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Given a field K, r, s ∈ N, monotonically increasing sequences n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nr, m1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , ms ∈ N, and an (n∗, m∗)- graded matrix A ∈ Mr×s, do the following: For each k from 1 up to s (in ascending order): Let ℓ := lowA(k).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' If ℓ ̸= 0, then: For each j from ℓ down to 1 (in descending order): If Ajk ̸= 0 and there exists k′ ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', k − 1} with lowA(k′) = j, then: Update the matrix A by subtracting Ajk/Ajk′-times the col- umn k′ from column k.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' [Loop invariant observation: Because A is graded, Ajk/Ajk′ in- deed is a homogeneous polynomial over K and the resulting ma- trix is (n∗, m∗)-graded.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This eliminates the entry Ajk′.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='] Return the resulting matrix A.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proposition 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a field, let r, s ∈ N, let n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , ns, m1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , mr ∈ N be monotonically increasing, and let A ∈ Mr×s(K[T ]) be an (n∗, m∗)-graded matrix.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then: 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The homogeneous matrix reduction algorithm (Algorithm 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='4) terminates on this input after finitely many steps (relative to the arithmetic on K).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The resulting matrix A′ is reduced and there is a graded s × s-matrix B over K[T ] that admits a graded inverse and satisfies A′ = A · B.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The low-entries of the resulting matrix A′ are the elementary divisors of A over K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 8 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2 Homogeneous matrix reduction 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We have F/ im A ∼=K[T ]Mod∗ � j∈I ΣnjK[T ]/(T mk(j)−nj) ⊕ � j∈I′ ΣnjK[T ], where F := �r j=1 ΣnjK[T ] and I := {lowA′(k) | k ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , s}} \\ {0} as well as I′ := {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', r} \\ I.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' For j ∈ I, let k(j) ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , s} be the unique (!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=') index with lowA′(k(j)) = j.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proof.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ad 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Well-definedness follows from the observation mentioned in the algorithm: As every homogeneous polynomial in K[T ] is of the form λ · T d with λ ∈ K and d ∈ N and as the matrix is graded, the corresponding division can be performed in K[T ] and the gradedness of the matrix is preserved by the elimination operation.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Termination is then clear from the algorithm.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ad 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' As we traverse the columns from left to right, a straightforward induction shows that no two columns can remain that have the same non-zero value of “lowA”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The product decomposition comes from the fact that we only applied elementary homogeneous column operations without swaps.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ad 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Because the resulting matrix A′ is obtained through elementary col- umn operations from A, the elementary divisors of A′ and A coincide.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Applying Lemma 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='6 to A′ proves the claim.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ad 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In view of the second part, we have that F/ im A ∼=K[T ]Mod∗ F/ im A′.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Therefore, the claim is a direct consequence of Lemma 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='6.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Lemma 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='6.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a field, let r, s ∈ N, let n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nr, m1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , ms ∈ N be monotonically increasing, and let A ∈ Mr×s(K[T ]) be an (n∗, m∗)-graded matrix that is reduced.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then: 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The low-entries of A are the elementary divisors of A over K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let F := �r j=1 ΣnjK[T ] and I := {lowA(k) | k ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', s}} \\ {0} as well as I′ := {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', r} \\ I.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then F/ im A ∼=K[T ]Mod∗ � j∈I ΣnjK[T ]/(T mk(j)−nj) ⊕ � j∈I′ ΣnjK[T ] Proof.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ad 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let k ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , s} with ℓ := lowA(k) ̸= 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then we can clear out all the entries of A in column k above ℓ by elementary row operations (again, the gradedness of A ensures that this is possible).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Swapping zero rows and columns appropriately thus results in a matrix in rectangle “diagonal” form;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' moreover, as all the “diagonal” entries are monomials, we can swap rows and columns to obtain a matrix A′ in Smith normal form that both has the same elementary divisors as A and whose elementary divisors are precisely the low-entries of A.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In particular, these elementary divisors must coincide.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Ad 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The claim is clear if A is already in Smith normal form.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' By con- struction, there are square matrices B and C that are invertible over K[T ] and represent graded K[T ]-isomorphisms with A′ = C · A · B.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In particular, F/ im A ∼=K[T ]Mod∗ (C · F)/ im A′.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' By construction, the values of lowA′ and the degrees of A′ differ from the ones of A only by compatible index permutations.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Therefore, the claim follows.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 5 Polynomial rings over fields 9 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='3 Existence of a graded decomposition To prove existence in Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1 we can follow the standard proof pattern of first finding a (graded) finite presentation and then applying (homogeneous) matrix reduction.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let M be a finitely generated graded K[T ]-module.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Then M also has a finite generating set consisting of homogeneous elements.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This defines a surjective graded K[T ]-homomorphism ϕ: F := r � j=1 ΣnjK[T ] −→ M for suitable r ∈ N and monotonically increasing n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nr ∈ N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' As ϕ is a graded homomorphism, ker ϕ ⊂ F is a graded K[T ]-submodule and we obtain an isomorphism M ∼=K[T ]Mod∗ F/ im ker ϕ of graded K[T ]-modules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Because K[T ] is a principal ideal domain, the graded submodule ker ϕ ⊂ F is finitely generated over K[T ].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Because ker ϕ is a graded submodule, ker ϕ has a finite homogeneous generating set.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' (In fact, there also exists a homogeneous free K[T ]-basis for ker ϕ, as can be seen from a straightforward inductive splitting argument [Web85, Lemma 1].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=') In particular, there exist s ∈ N, monotonically increasing m1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , ms ∈ N, and a graded K[T ]-homomorphism ψ: E := s � k=1 ΣmkK[T ] −→ F with im ψ = ker ϕ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Because ψ is graded and n∗, m∗ are monotonically increas- ing, the r×s-matrix A over K[T ] that represents ψ with respect to the canonical homogeneous bases of E and F is graded in the sense of Definition 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Applying the homogeneous matrix reduction algorithm to A shows that M ∼=K[T ]Mod∗ F/ im A, has the desired decomposition (Proposition 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='5;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' after discarding the irrelevant terms of the form ΣnK[T ]/(T 0)).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This completes the proof of the structure theorem (Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Remark 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='7.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' There is a general matrix reduction for a slighlty different notion of “graded” matrices over (Z-)graded principal ideal domains [PvG82].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' However, one should be aware that such “graded” matrices in general only lead to graded homomorphisms once one is allowed to change the grading on the underlying free modules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' This explains why this general matrix reduction does not contradict the counterexample in case of 0-graded principal ideal rings in Example 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='4 Barcodes For the sake of completeness, we recall the relation between graded decomposi- tions and barcodes: 10 References Remark 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='8 (barcodes of persistence modules).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let K be a field and let (M ∗, f ∗) be an N-indexed persistence K-module of finite type.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' We equip M := � n∈N M n with the canonical graded K[T ]-module structure (Example 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='7).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' By the graded structure theorem (Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='1), there exist N ∈ N, n1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , nN ∈ N, and k1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' , kN ∈ N>0 ∪ {∞} with M ∼=K[T ]Mod∗ N � j=1 ΣnjK[T ]/(T kj).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Let B be the multiset of all (nj, kj − 1) with j ∈ {1, .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', N};' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' then B is uniquely determined by M and this multiset B is the barcode of (M ∗, f ∗).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The barcode contains the full information on the isomorphism type of the graded K[T ]-module M (and the underlying persistence module) and describes the birth, death, and persistence of elements as specified by the “elder rule”: If (n, p) is an element of the barcode, this means that a new independent class is born at stage n, it persists for p stages, and it dies (if p ̸= ∞) at stage n+ p+ 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In particular, this leads to the notion of barcodes of persistent homology (in a given degree) of finite type persistence chain complexes and finite type filtrations in topology.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' References [BCB20] Magnus Bakke Botnan and William Crawley-Boevey.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Decomposition of persistence modules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Amer.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Soc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', 148(11):4581–4596, 2020.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 2 [CdS10] Gunnar Carlsson and Vin de Silva.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Zigzag persistence.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Found.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Comput.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', 10(4):367–405, 2010.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 2 [CZCG04] Gunnar Carlsson, Afra Zomorodian, Anne Collins, and Leonidas Guibas.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Persistence Barcodes for Shapes.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' In Roberto Scopigno and Denis Zorin, ed- itors, Symposium on Geometry Processing.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' The Eurographics Association, 2004.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 1 [EH10] Herbert Edelsbrunner and John L.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Harer.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Computational topology.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Amer- ican Mathematical Society, Providence, RI, 2010.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' An introduction.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 1, 6 [PvG82] R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Puystjens and J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' van Geel.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Diagonalization of matrices over graded principal ideal domains.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Linear Algebra Appl.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', 48:265–281, 1982.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 5, 9 [SVJ13] Primoz Skraba and Mikael Vejdemo-Johansson.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Persistence modules: Al- gebra and algorithms.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' 2013.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' arXiv:1302.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='2015 [cs.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='CG].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 2 [VO83] F.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Van Oystaeyen.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Generalized Rees rings and arithmetical graded rings.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Algebra, 82(1):185–193, 1983.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 2, 4 [Web85] Cary Webb.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Decomposition of graded modules.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Proc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Amer.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Soc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', 94(4):565–571, 1985.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 9 [ZC05] Afra Zomorodian and Gunnar Carlsson.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Computing persistent homology.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Discrete Comput.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Geom.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=', 33(2):249–274, 2005.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content=' Cited on page: 1, 2, 3, 6 Clara L¨oh Fakult¨at f¨ur Mathematik, Universit¨at Regensburg, 93040 Regensburg clara.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='loeh@mathematik.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='uni-r.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='de, https://loeh.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='app.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='ur.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}page_content='de' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/0dFKT4oBgHgl3EQfNy2J/content/2301.11756v1.pdf'}123version https://git-lfs.github.com/spec/v1oid sha256:7e413712f23fcdfa6e417cb008d81fa85e3165cfd2925bb3376e228c73d0127fsize 303973123version https://git-lfs.github.com/spec/v1oid sha256:829292d4adfc5bf683710cc871c447e321dff79f7c6deef812eaa261235884a5size 773329312345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127Commitment Against Front RunningAttacks∗Andrea Canidio †and Vincent Danos‡February 1, 2023AbstractWe provide a game-theoretic analysis of the problem of front-running attacks. We use itto distinguish attacks from legitimate competition among honest users for having theirtransactions included earlier in the block. We also use it to introduce an intuitive notionof the severity of front-running attacks. We then study a simple commit-reveal protocoland discuss its properties. This protocol has costs because it requires two messages andimposes a delay. However, it is effective at preventing the most severe front-running at-tacks while preserving legitimate competition between users, guaranteeing that the earliesttransaction in a block belongs to the honest user who values it the most.Keywords: Front running, Game theory, Ethereum, MEV, Transaction reordering, commit-reveal1IntroductionOn the Ethereum network, each validator decides how to order pending transactionsto form the next block, which determines the order in which these transactions areexecuted.As a consequence, users often compete with each other to have their∗We are grateful to Agostino Capponi, Jiasun Li, Christof Ferreira Torres, Arthur Gervais,Ari Juels, and the participants to UBRI Connect 2022, Tokenomics 2022 for their comments andsuggestions. We gratefully acknowledge the financial support of the Ethereum Foundation (grantFY22-0840).†IMT school of advanced studies, Lucca, Italy‡CNRS and École Normale Supérieure (France);1arXiv:2301.13785v1 [econ.TH] 31 Jan 2023
1 Introduction2transactions included earlier in a block, either by paying transaction fees or by mak-ing side payments directly to validators.1 This form of competition can be beneficialbecause it ensures that a scarce resource (i.e., having a transaction included earlierin the block) is allocated to the user who values it the most.2 But at the same time,it opens the possibility of front-running attacks: because pending transactions arepublic, a malicious user can observe a victim’s incoming transaction, craft a newtransaction and then pay to place it before that of the victim.Importantly, legitimate competition and attacks are often difficult to distinguish.As an illustrative example, consider a smart contract programmed to award a valu-able NFT to the first person who correctly answers a question. Assume, crucially,that the smart contract does not have an explicit mechanism to resolve competingclaims to the object (i.e., by running an auction among those who provided thecorrect answer) and settles claims in order of arrival. In this example, competitionbetween users can arise in two cases. In the first case, two users simultaneouslyand independently find the answer. Each submits it and competes to have his/hertransaction included earlier in the block. Because the user who values the NFT themost is willing to pay more, this user should be able to place his transaction beforethat of the opponent, thereby winning the NFT. In the second case, an honest userfinds the answer and sends it to the smart contract. A malicious user observes thetransaction, copies it, and competes to have its copy included in the block earlierthan the original transaction.From the observational point of view, the above two situations are identical:two users submit the same answer and then compete to have it included earlier inthe block. Despite this, the first is an example of legitimate competition becauseusers do not exploit their observation of the opponent’s transaction. Hence, eachuser would have submitted his answer also in the absence of the other user. Thesecond is an attack because the attacker cannot send his transaction if he doesnot observe the victim’s transaction. Furthermore, the extent to which an attacker1 Competition through higher transaction fees occurs via “gas replacement” transactions,whereby a pending transaction is resubmitted with a higher fee. The resulting game is akin to anauction (see Daian et al. (2019)). The most popular way to make side payments to validators isto use flashbots (see https://github.com/flashbots/pm).2 Whether it is the most efficient to achieve this goal is a different issue we do not address here.
1 Introduction3relies on the victim’s message can be interpreted as a measure of the severity ofa front-running attack.For example, the “attacker” could be another user who,through his research, narrowed the correct answer to two or three possibilities. Thisattack seems less severe relative to a situation in which the attacker has no priorinformation.Our simple, illustrative example is representative of the workings of most smartcontracts, including those at the core of decentralized finance protocols. For ex-ample, Automated Market Makers (AMM) are the dominant type of decentralizedexchange. They allow users to swap one token for a different one at a price thatis mechanically derived by the size of two liquidity pools (one per token traded).Because swapping one token for another changes the liquidity in each pool, if noliquidity is added, then a sequence of users performing the same swap will face worseand worse terms.3 Hence, two users who independently decide to perform the sameswap on an AMM will compete to obtain a better rate. Competition ensures thatthe user who most values obtaining the better rate (perhaps because the swap ispart of a sequence of atomic transactions) can obtain it. Alternatively, a user maywant to perform a swap. Upon observing this transaction, an attacker will front-runthe victim with the same swap and then back-run her with the opposite swap, inwhat is called a sandwich attack or insertion attack.4 Again, the second example isan attack because the attacker uses information obtained by observing the victim’stransaction.In this paper, we propose a game-theoretic model of front-running. Our goals aretwo. First, inspired by the above discussion, we aim to provide a formal definitionof front-running attacks (vs. legitimate competition among honest users) as well astheir severity. Second, we study a simple commit-reveal protocol that can be im-plemented at the smart contract level without modifying the underlying Ethereuminfrastructure or introducing third parties (or layer-2 networks). In the simplestversion of the protocol, the user concatenates the desired message with the address3 Like in our simple illustrative example, AMMs do not have an explicit mechanism to allocatethe “better rate” to one of the users and instead rely on the order in which transactions areaggregated into a block.4 See Eskandari et al. (2019) for a discussion of this type of front running. See also Park (2022)for an analysis of these types of attacks in the context of AMMs.
1 Introduction4from which the reveal message will be sent and passes this into a function withan intractable pre-image problem (for example, the SHA-256 hash function).5 Theresulting output is the commit message, which the user sends to the smart contract.Then, the user sends the reveal message to the smart contract, where the revealmessage is simply the desired message. The smart contract receiving a reveal mes-sage will execute it only if the concatenation of the reveal message with the addressfrom which it was received corresponds to the commit message.The key observation is that an attack involves two steps: (i) committing a mes-sage without knowing what message the victim will send and (ii) after observingthe victim’s reveal message, deciding to send the committed message or no messageat all. Furthermore, the victim may use a newly-created address to send the com-mit message. When this is the case, the attacker may observe that someone senta commit message to the smart contract, but not whom. The protocol, therefore,forces the attacker to make a costly guess: send a costly commit message withoutknowing whether a given victim committed (and will reveal) nor what the victimcommitted. At the same time, the protocol does not impede legitimate competitionbetween users: two honest users can commit their messages and then compete tohave their reveal message included earlier in the block.We derive conditions under which an honest player is better off using the pro-tocol than Ethereum’s standard procedure.6 On the cost side, the protocol requiressending two messages instead of one and imposes a delay. Hence, if the cost ofsending messages or waiting is high, the protocol is worse than the standard wayto send transactions; if they are low, the protocol is preferred. On the benefit side,the protocol can eliminate front-running attacks, especially when it is difficult foran attacker to guess, that is, when the expected payoff of an attacker who commitswithout knowing whether the victim committed and what message was committedis low. By definition of the severity of the attack introduced earlier, we can say5 In this version, an attacker observes that a smart contract received a commit message (butnot necessary whom if the commit message is sent from a brand new address). Later, we discussa more complex protocol in which the receiver of the commit message is obfuscated.6 We believe that, for our purposes, the honest player’s welfare is the most sensible criterion toevaluate the protocol. The alternative would be to consider the smart contract perspective. Note,however, that certain types of attacks can be quite profitable from the smart contract viewpoint—for example, sandwich attacks in the context of AMMs.
1 Introduction5that our protocol is most effective when the severity of the attack is high and is lesseffective when the severity of the attack is low.As an extension (see Section 5.1), we study a variation of the above protocol inwhich the identity of the receiver of the commit message is hidden. This variationhinges on the existence of a template code for a container smart contract. Whencommitting, the user uses a brand new address to create a container smart con-tract using the template and then sends the commit message to this newly-createdcontainer, which time-stamps the commitment message with the current block num-ber. When sending the reveal message, the honest user also sends a pointer to thecontainer smart contract where the commitment is located. The smart contractconsiders the commitment as valid if the commit message is correct, its timestampis antecedent to the current block, and, crucially, if the code of the container smartcontract corresponds to the template. This way, an outside observer can only seethat someone created a commitment smart contract and sent a commit message, butnot who committed nor the target smart contract for that commitment. Guessingis even harder for an attacker, and hence the probability of an attack is even lower.As a second extension (see Section 5.4), we introduce multiple attackers. Absentthe protocol, competition pushes each attacker to overspend (relative to the single-attacker case). This is detrimental to both the attackers and the honest user. Inparticular, the weakest attacker always earns zero in expected terms.7 Instead, inthe commit-reveal protocol, the commit message acts as a fixed cost to attack in thenext period. Because in the following period, the weakest attackers earn zero, thereis no equilibrium in which both attackers send the commit message with probability1: either there is no attack; or a single attacker commits and then attacks; orboth attackers commit (and then attack) with probability strictly less than one.As a consequence, in the best-case scenario, the protocol eliminates attacks; in theworst-case scenario, it reduces the level of competition between attackers resultingin fewer resources spent in an attack, which benefits the honest player as well.7 This result is a version of a well-known result in contest theory, that of “full dissipation ofrents”. See, for example, Fudenberg and Tirole (1987).
1 Introduction6Prior workOur commit-reveal protocol is novel but similar to existing proposals.Our main contribution is the type of analysis. In particular, we show that our proto-col can eliminate the most severe front-running attacks while maintaining legitimatecompetition between users. As we discuss later, existing solutions instead are eitherprimarily concerned with eliminating attacks (at the cost of also eliminating legit-imate competition) or better organizing competition (at the cost of exacerbatingattacks). Furthermore, most of the literature has proposed solutions to reduce oreliminate front-running in Ethereum by changing its infrastructure or introducingthird parties (See Heimbach and Wattenhofer (2022) for a review of the literature).Instead, our solution does not require third parties and can be implemented at thesmart contract level, allowing for flexibility in its implementation. For example,each smart contract could decide that only some messages must follow the protocolto be considered valid, while other messages do not need to.8 Or a smart contractmay decide that the protocol is required only during some periods (see Section 5.3).With respect to existing solutions, our protocol can be seen as a simplified versionof the submarine commitments protocol in Breidenbach et al. (2018): in both cases, amessage is first committed and then revealed, and the commitment can be hidden inthe sense that the identity of the sender and receiver of the commit message cannotbe observed. The main difference is that we adopt a weaker notion of “commitment”because we allow users not to send a transaction after committing it. The notionof “commitment” in Breidenbach et al. (2018) is instead stronger because users arepenalized for not following through with their commitment.As already mentioned, we provide a game-theoretic analysis of the propertiesof this protocol, applicable to any smart contract.9 With this respect, our workis inspired by Gans and Holden (2022), who develop a game-theoretic analysis ofthe problem of front-running arising when an honest user and an attacker claim thesame reward. They also propose a protocol that eliminates these types of attacks.Their key assumption is that the legitimate claimant strictly prefers the reward8 See the discussion in Section 5.2. For example, in the context of AMMs, it may make sensethat users who want to provide or withdraw liquidity do not need to follow the commit revealprotocol, which is instead required for swaps.9 Breidenbach et al. (2018) analyze the properties of the submarine commitment scheme in thecontext of a bug-bounty scheme they propose.
1 Introduction7to be burned rather than paid to the attacker. Therefore, these results are usefulin some environments where front-running may emerge, but not all. For example,front-running attacks are a serious concern in the AMMs, but in this context, it maynot be possible to “burn the reward”.Flashbots is a well-known project aiming to better organize competition amongusers. The premise is that competition through transaction fees can lead to so-called“gas wars” by which a given block is filled with transactions that will fail (becauseonly the first one can be correctly executed). Therefore, gas wars impose a negativeexternality on all users because they lead to congestion and higher transaction fees.The idea is to eliminate these negative externalities by allowing users to pay valida-tors directly, therefore keeping their messages private.10 Doing so, however, makesit extremely easy to attack an honest user who sends his or her message publicly(see Capponi et al. (2022)).Other solutions impose exogenous criteria for ordering transactions, preventingattacks but also hindering legitimate competition. Kelkar et al. (2020) propose theAequitas protocol, a method to achieve ordering-fairness, by which if sufficientlymany nodes observe a given transaction arriving before a different transaction, thisordering should be maintained when these transactions are included in a block.11There are also commit-reveal schemes intermediated by third parties in charge of,for example, reorganizing incoming transactions while also encrypting and then de-crypting them. With this respect, the better-known solution is the Shutter network,in which a network of nodes called “keypers” jointly generate cryptographic keys withwhich users encrypt their transactions. Users then submit these transactions to abatcher contract that also orders them. Finally, Keypers broadcast the decryptionkey, the transactions are decrypted and sent to the target smart contracts.A concept that is often associated with front-running attacks is that of Maximal-extractable value (MEV), defined as “the maximum value that can be extracted fromblock production in excess of the standard block reward and gas fees by including, ex-cluding, and changing the order of transactions in a block”12 Most existing measures10 We note that our protocol also reduces competition among attackers and hence reduces "gaswars".11 See also the hedera-hashgraph project (Baird (2016)).12 See https://ethereum.org/en/developers/docs/mev/.
1 Introduction8of total MEV are not very useful in our context as they capture both users’ legit-imate competition (sometimes called “good MEV”) and attacks (sometimes called“bad MEV”). A few papers, however, identify specifically profits extracted from at-tacks. Torres et al. (2021) collect on-chain data from the inception of Ethereum(July 30, 2015) until November 21, 2020. They estimate that these attacks gener-ated 18.41M USD in profits for the attackers, of which 13.9M USD due to sandwich(also called insertion) attacks. They also identify instances where several attackerscompeted to attack the same victim. Similarly, Qin et al. (2022) consider a laterperiod (from the 1st of December, 2018 to the 5th of August, 2021) and find thatsandwich attacks generated 174.34M USD in profits.The profits reported in the literature correspond to a situation in which anattacker can craft his attack after observing the victim’s message, which is impossiblewith our protocol. Nonetheless, we can use these measures as upper bounds foran attacker’s profits under our protocol.For example, suppose that all attacksreported in Torres et al. (2021) are generated from attacking a single smart contract(remember that in our protocol, commitments are specific to a given target smartcontract) and that the attacker is uninformed concerning when the victim will act.In this case, an attacker must commit a message every block, hoping a victim woulddo something. The profits per block reported by Torres et al. (2021) (and hence percommitment) is 1.23 USD. Currently, the simplest possible transaction on Ethereumcosts approximately 2 USD (the base fee of a simple 21,000 gwei transaction), andhence front-running attacks would not be profitable under our protocol.We can repeat the same exercise using Qin et al. (2022) measures. Interestingly,Qin et al. (2022) report that “the most sandwich attack-prone ERC-20 token isSHIB, with an adversarial profit of 6.8M USD”. Because each pool of an AMM isa different smart contract, 6.8M USD is an upper bound to the profits extractedby attacking a single smart contract.13 Repeating the same calculation discussedearlier yields profits per block of approx 8 USD.14 Remember that sandwich attacks13 It is precisely the profits extracted by attacking a single smart contract if SHIB is traded onlyon an AMM and only against one other token. It will be lower if SHIB is traded against multipletokens and/or on multiple AMMs.14 SHIB was created in Aug 2020 and did not see much price action until April 2021. Here weassume that all front-running attacks on SHIB occurred between April 2021 and Aug 2021 (whentheir data collection stopped), for a period of 821798 blocks.
2 The problem: front-running attacks9require 2 messages. Hence, if profits are reduced by half (or more) by the inabilityto observe the victim’s message beforehand, these attacks are not profitable underour protocol.2The problem: front-running attacksAs a benchmark case, we develop a model of front-running attacks and later intro-duce our protocol. There is a smart contract SC and two players: Alice and Bob.There is a piece of information (call it “the state of the world”) s ∈ S that only Alearns at the beginning of the game. Absent front running attacks, after observings, player A sends a message ˜σA ∈ Σ to the mempool (i.e., the set of pending trans-actions), where Σ ̸= ∅ is the space of possible messages. As soon as the message ˜σAis included in a block, the smart contract SC performs an action that generates abenefit ˜PA(˜σA, s) to player A.Front-running attacks arise because messages in the mempool are public. Hence,after A sends a message to the mempool, this message is observed by B, who cansend a counter-message ˜σB ∈ Σ. If ˜σB is included in the blockchain before A’smessage, then B earns ˜PB(˜σB, ˜σA, s) while A earns nothing. Else, B earns nothingand A earns ˜PA(˜σA, s).Sending messages is costly. Each player can send a regular message by payingc > 0. If multiple regular messages are sent, they are included in the block in theorder they are sent. We can think of c as being the base fee: a fee that shouldguarantee the inclusion of a transaction in the next bloc, at least outside of periodsof rapid change in the demand for transactions.15 Player B, however, can also payf > c to send a “fast” message that, with probability q, is included in the blockbefore A’s regular message, despite A’s message being sent first. For example, fcould be the cost of sending a transaction via a service such as flashbots, or couldbe a regular mempool transaction with a transaction fee significantly above the basefee. Here we consider the parameters q, c, and f as exogenous and determined bythe technology available to A and B. We relax this assumption in Section 5.4, in15 The concept of base fee was introduced with the EIP-1559 upgrade. See the original pro-posal here https://eips.ethereum.org/EIPS/eip-1559. For an economic analysis of EIP-1559, seeRoughgarden (2020).
2 The problem: front-running attacks10which we introduce multiple B players choosing their own f, which then determinethe probability that a given B player successfully front runs both A and the otherB players.In terms of applications, consider the example we discussed in the introduction:a smart contract that rewards whoever can correctly answer a question. In this case,B will learn the correct answer by observing A’s message and then try to submit thesame answer before A. Formally, s = σA(s) = σB(s). Our model also fits a famous(nonfictional) example: that discussed in the blog post “Ethereum is a dark forest”(Robinson and Konstantopoulos, 2020). In this example, two researchers wanted torecover some tokens that a user sent to an incorrect address. They realized thatanyone who knew about these tokens could have stolen them. Despite their effort,their attempt to recover these tokens revealed their existence to an attacker whomanaged to front-run them and steal them. In the context of our model, againσA(s) = σB(s). Another fitting example is that of an AMM. Player A is a liquidityprovider who, upon learning some private information s, decides to withdraw some orall the liquidity provided. By observing such a message, B can infer that somethinghas changed in the environment and try to steal the same liquidity. In this case,σA(s) ={withdraw my liquidity}, σB(s) ={swap some tokens}.16 Also relevant inthe context of AMMs are sandwich attacks, in which A sends message σA(s) ={swapsome tokens}, and B then front runs A with a message σB(s) ={perform the sameswap as A} and “back-run” A with the message σB(s) ={perform the opposite swapas A}. This attack is profitable because it exploits the slippage curve of the AMM.Although we do not explicitly allow B to back-run A, the only difference in theanalysis is that a sandwich attack is more costly than a simple front-running attackbecause it requires an additional message. It follows that all our results apply tosandwich attacks as well.We make two simplifying assumptions. First, we assume that A is partially naive.She is naive in that she always chooses the message that maximizes her payoff giventhe state of the world; however, she is sophisticated in the choice of whether to sendher message (or, in the next section, to initiate the protocol). We, therefore, rule16 For a study of this type of attack, see Capponi and Jia (2021). For a study of similar attacksin the context of traditional exchanges, see Section 6 of Budish et al. (2015).
2 The problem: front-running attacks11out the possibility that A chooses her message to manipulate B���s belief about thestate of the world, which we think is unrealistic.17 Mathematically, after observingthe state of the world, if A sends a message, she sends a messageσA(s) ≡ argmax˜σA∈Σ ˜PA(˜σA, s).Given this, we can re-define A’s payoff in case she sends a message, and she is notfront-ran as:PA(s) ≡ ˜PA(σA(s), s).The second simplifying assumption is that σA(s) is a bijection; that is, in each stateof the world, there is a unique and distinct message maximizing player A’s payoff.This a useful simplification because A’s message (if sent and observed) always revealsthe state of the world. It follows that B’s optimal counter message after observingσA(s) and learning s is:σB(s) ≡ argmax˜σB∈Σ ˜PB(˜σB, σA(s), s).The resulting payoff for player B if he successfully front-runs A is:PB(s) ≡ ˜PB(σB(s), σA(s), s).EquilibriumThe above assumptions allow us to write the extensive form of thegame for given s as in Figure 1, which we can easily solve by backward induction.If A sends a message, then B attempts to front-run if and only if:qPB(s) > fGiven this, we can derive A’s optimal strategy. Suppose the state of the world issuch that qPB(s) < f, and A expects no front running. In this case, she sends a17 If A is fully sophisticated, then the equilibrium of the game is a partition of the possible statesof the world S such that A sends the same message in all states of the world belonging to thesame part of the partition. Upon observing the message, B learns the part of the partition butnot the state of the world. The results for a given partition are identical to those presented here.However, deriving the equilibrium partition is non-trivial and of second-order importance relativeto our main research question.
2 The problem: front-running attacks12AB((1 − q)PA(s) − c, qPB(s) − f)σB(s)(PA(s) − c, 0)no messageσA(s)(0, 0)no messageFig. 1: Game tree for given s.message if and only ifPA(s) > cIf, instead, the state of the world is such that qPB(s) > f, then A anticipates thatB will try to front-run. In this case, A sends a message if and only if(1 − q)PA(s) > cThe following proposition summarizes these derivations.Proposition 1 (Equilibrium). Player A’s equilibrium strategy is:σ∗A(s) =���∅if PA(s) < c or qPB(s) > f and (1 − q)PA(s) < cσA(s)otherwise(1)where σ∗A(s) = ∅ means that A does not send any message. Player B’s equilibriumstrategy isσ∗B(s) =���σB(s)if qPB(s) > f and σ∗A(s) ̸= ∅∅otherwise(2)Hence, front running does not happen when its benefit is low (i.e., PB(s) ≤ f/q).If, instead, its benefit is large (i.e., PB(s) > f/q), B will attempt to front run A
2 The problem: front-running attacks13whenever A sends a message. In particular, when PA(s) > c but (1 − q)PA(s) < cthe threat of front running prevents A from sending the message in the first place,therefore destroying the value of the exchange between A and SC.Front-running attacks vs. legitimate competition.In the introduction, we ar-gued that the difference between front-running attacks and legitimate competitionis whether the “attacker” relies on the information extracted from observing the vic-tim’s message. This intuitive notion can be easily formalized in the context of ourmodel by considering a modified game in which player B chooses whether to sendhis message and what message to send without observing A’s actions. We want tofind necessary and sufficient conditions such that, in the equilibrium of this modi-fied game, B does not want to send any message. Clearly, if B does not send anymessage, then A’s optimal strategy is simply:σ∗∗A (s) ≡���σA(s)if PA(s) ≥ c∅otherwise(3)Given this, there is an equilibrium in which B does not send any message if andonly ifEs[ ˜PB(˜σB, σ∗∗A (s), s)] ≤ f∀˜σB ∈ Σ,(4)In what follows, if in the equilibrium of the original game, B sends a messageand condition 4 holds, then we say that there is a front-running attack. If instead, inthe equilibrium of the original game, B sends a message and condition 4 is violated,then we say that B is a legitimate competitor.18 As we will see, this distinction willplay an important role in the next section when we introduce our commit-revealprotocol. The reason is that the protocol reduces (but not fully eliminates) B’sability to act upon A’s message. If (4) holds, the expected benefit of an attack isreduced, and hence attacks are less likely. If instead (4) is violated, then B always18 It is possible that (4) does not hold and hence B sends a message also when he does not observeA’s actions. At the same time, he may choose a different message if he observes A’s message.According to our definition, this is not a front-running attack, even if B uses A’s message. Thisis justified by the observation that, in our model, A’s payoff does not depend on what message Bsends. Hence, the fact that B uses A’s message to craft his message is irrelevant to A.
3 Preventing front-running via commitment14has a profitable message to send, independently of his observation of A. In this case,the protocol has little impact on B’s behavior, except for requiring him to send twomessages. This means that the protocol reduces the expected return of an attack(i.e. when 4 holds) but has little impact on legitimate competition (i.e., when 4 isviolated)3Preventing front-running via commitmentTo address the problem of front-running attacks, here we propose a commit-revealprotocol. In terms of notation, we call player A’s commit message σA,1 and revealmessage σA,2. Similarly, player B’s counter-messages are σB,1 and σB,2.Formally, the protocol has a commitment period and a reveal period, which hereare two subsequent blocks.19 If player A wants to send message σA ∈ Σ to SC, inthe commit period A sends the commit messageσA,1 = S(addr, σA)to SC where addr is an address that A controls and S() is a function with anintractable pre-image problem (for example Hash (addr|σA) where Hash() is theSHA-256 hash function). Once the commit message is included in a block, A sendsthe reveal message σA,2 = σA to SC from the address addr, which is then included inthe next block. Upon receiving the message, SC computes S(addr, σA) and checkswhether it received message S(addr, σA) in the previous block.It follows that if B wants to front run A he will need to commit a message at thecommit stage and then reveal it at the reveal stage. There is a common discountfactor β ∈ [0, 1], so when a given payoff is earned with a block delay, this payoff isdiscounted by β. Finally, A does not observe B’s commit message and hence cannotdetect B’s attempt to front running. At the same time, we assume B observes A’scommit message. In Section 5.1, instead, we introduce a modified protocol thatallows A to hide his commit message.Finally, we simplify the problem slightly by assuming that there is no state of the19 In Section 5.3 we discuss more in detail the problem of specifying commit and reveal periods.
4 Solution15world s such that PA(s) ∈ [c, c + cβ]. Under this assumption, absent front running,the states of the world in which A wants to send a message is the same with andwithout the protocol.204SolutionWe start with a rather immediate result: there is no equilibrium in which B sendsthe same commit message as A. To see this, suppose that player A sends the commitmessage S(addr, σA) and player B sends the same commit message. If in the nextperiod B sends the message revealB = σA, then the SC will consider the earliercommitment as invalid because B’s address is different from addr. It is also easyto see that there is no equilibrium in which A commits but then does not revealbecause A can do better by not committing at all. The next lemma summarizesthese observations.Lemma 1 (No cloning in equilibrium). There is no equilibrium in which σB,1 = σA,1.There is also no equilibrium in which A sends the commit message but not the revealmessage.In equilibrium, therefore, if B wants to attack, he would need to guess whatmessage to commit message without knowing the state of the world s. Nonetheless,B anticipates that he will observe A’s message and, under our assumptions, willlearn the state of the world. At that point, he can decide whether or not to sendthe message he initially committed. Therefore, the protocol severely limits but doesnot totally eliminate B’s ability to act upon his observation of A’s message. Hence,it is possible that (4) holds and, despite this, B can profitably attack.We derive conditions under which the protocol is effective at eliminating frontrunning. In an equilibrium without front running, A’s optimal strategy is againσ∗∗A (s) as defined in (3). Given this, consider player B. Suppose that A sent her20 We could alternatively assume that these states of the world exist but are not very importantfrom B’s viewpoint, in the sense thatpr�PA(s) ∈ [c, c + cβ ]�Es�PB(˜σB, σA(s), s)|PA(s) ∈ [c, c + cβ ]�is sufficiently small.
4 Solution16commit message, that B committed message σB and then observed A’s reveal mes-sage σA(s). In this case, B’s expected payoff from front-running isq · ˜PB(σB, σA(s), s) − f.Hence, upon observing σA(s) and learning s, B will try to front run if and onlyif q · ˜P(σB, σA(s), s) > f. In the commitment phase, therefore, the best possiblemessage B can commit isˆσB ≡ argmaxσB∈ΣEs�max{q · ˜PB(σB, σA(s), s) − f, 0}|σ∗∗A (s) ̸= ∅�,where the expectation is conditional on the state of the world being such that Asends a commit message. We define π as the expected payoff if B commits ˆσB afterobserving that A committed a message:π ≡ Es�max{q · ˜PB(ˆσB, σA(s), s) − f, 0}|σ∗∗A (s) ̸= ∅�Hence, if A sends a commit message and B tries to front run, B’s expected payoffis βπ − c. We therefore have the following proposition:21Proposition 2. If π ≤cβ (i.e., “guessing is hard for B”), then there is no front-running in equilibrium.If instead π >cβ (i.e., “guessing is easy for B”), frontrunning occurs with strictly positive probability in equilibrium.Note that in case “guessing is easy for B”, there could be a pure strategy equilibriumin which B commits with probability 1 whenever A commits, or a mixed strategyequilibrium in which B commits with some probability. In either cases, after com-mitting, B attempts to front run A or not depending on A’s reveal message.It is easy to check that in the “guessing is hard for B” case, A’s equilibriumpayoff isv∗A(s) = max {−c + β(PA(s) − c), 0}Therefore, the protocol generates both costs and benefits to player A. The main21 The existence of the equilibrium follows from the fact that the players’ strategy space is finite,as noted already in Nash (1950).
4 Solution17benefit is that the protocol reduces or eliminates front running. The costs are two.The most evident one is that, here, two messages are required which implies that Apays c twice. More subtle is the fact that, here, the payoff is earned with a one-blockdelay, and hence is discounted by the parameter β.4.1DiscussionAttack vs legitimate competitionIt is instructive to consider what happenswhen B is an attacker (i.e., condition 4) holds vs a legitimate competitor (i.e.,condition 4 is violated). To do so, we introduce the following conditionEs[ ˜PB(˜σB, σ∗∗A (s), s)] ≤ c + fβfor some ˜σB ∈ Σ,(5)which is akin to condition (4), but where the cost of sending a message is now thecost of participating in the commit-reveal protocol. Suppose first that the abovecondition is violated, which implies that 4 is violated and hence B is a legitimatecompetitor. Defineσ∗∗B ≡ argmaxσB∈ΣEs[ ˜PB(˜σB, σ∗∗A (s), s)]as the best possible message that B can send when he is completely uninformed,earning him a payoff equal to−c + β(Es[ ˜PB(σ∗∗B , σ∗∗A (s), s)] − f)It is easy to see that− c + βEs[ ˜PB(σ∗∗B , σ∗∗A (s), s)] − f = −Pr {σ∗∗A (s) = ∅} · c+Pr�σ∗∗A (s) ̸= ∅ & q · ˜PB(σ∗∗B , σA(s), s) − f > 0�· Es�max{q · ˜PB(σ∗∗B , σA(s), s) − f, 0} − c|σ∗∗A (s) ̸= ∅�+Pr�σ∗∗A (s) ̸= ∅ & q · ˜PB(σ∗∗B , σA(s), s) − f < 0�· Es�min{q · ˜PB(σ∗∗B , σA(s), s) − f, 0} − c|σ∗∗A (s) ̸= ∅�≤ Pr�σ∗∗A (s) ̸= ∅ & q · ˜PB(σ∗∗B , σA(s), s) − f > 0�· Es�max{q · ˜PB(σ∗∗B , σA(s), s) − f, 0} − c|σ∗∗A (s) ̸= ∅�≤ Pr�σ∗∗A (s) ̸= ∅ & q · ˜PB(σ∗∗B , σA(s), s) − f > 0�· π.
4 Solution18That is, player B is strictly better off whenever he can (i) commit a message onlywhen A commits a message (therefore avoiding paying the commit message andearning zero) and (ii) only send the reveal message after observing A’s message andonly when it is profitable to do so. It follows that when (4) holds, then player Balways wants to commit.There derivations show that, modulo the fact that sending messages is moreexpensive with the protocol (i.e.the right-hand side of 4 is different from theright-hand side of 5), the protocol does not impede legitimate competition: bothplayers commit their messages and then compete with each other to have theirreveal message included first in the following block. At the same time, attacks aremore costly because an attacker is forced to make a costly guess. Hence, under theprotocol, front-running attacks are discouraged while competition among honestplayers is preserved (but postponed by one period).Severity of attacksThe value of π measures how easy it is for B to guess. Itis therefore the inverse of the measure of severity of the attack discussed in theintroduction: if it is difficult for B to guess, it is because B has very little priorinformation and, in the benchmark case, he relies heavily on observing A’s message,while the opposite is true when it is easy for B to guess. We can therefore say thatthe protocol is most effective at preventing the most severe front-running attacks.Additional messagesIn the above analysis, we restricted the players’ action spaceto a single message per player in the commit period. If we relax this assumption,additional interesting considerations emerge, although the basic intuition discussedearlier remains the same.For example, player A may want to commit and disclose σA already in period 1.This is strictly beneficial to A if the state of the world s is such that• π ≥ cβ so that player B sends a commit message with strictly positive proba-bility.• s is such that ˜PB(ˆσB, σA(s), s) ≥ fq . That is, after sending the commit messageand learning the state of the world, player B will try to front-run A.
5 Extensions to the protocol19• s is such that PB(s) < f/q + c/β, so that if B knew the state of the worldfrom the beginning, he would not want to commit and then front-run.In this situation, by disclosing σA(s) already in period 1, player A can prevent Bfrom attempting to front run. The analysis above therefore holds by restricting thespace of signals Σ to those such that the above conditions do not hold and A doesnot want to disclose.It is also possible that B may want to send multiple commit messages. If thenumber of commit messages is k, then B will choose the k messages that, jointly,generate the largest expected payoffs. There is a “guessing is hard” case which isidentical to the one discussed earlier. There is also a “guessing is easy” case, whichis however more convoluted than earlier because the number of messages committedby B may be greater than 1. However, the intuition is largely unchanged from thesimple case.Pre-commitmentsAnother restriction we imposed is that the protocol startswhen player A learns the state of the world. It is however possible that A maywant to pre-commit, that is, commit a message before learning the state of theworld, in the hope that the committed message can be used immediately when thestate of the world is revealed. The important observation is that A can pre-commit,and then decide to restart the protocol by committing a second message upon learn-ing the state of the world. This complicates B’s inference problem because whatevermessage he commits may be wasted in the future. Again, the basic insight from thesimple model above continues to hold, but guessing is harder for player B.5Extensions to the protocol5.1Hiding commitmentsHere we propose a version of the protocol that allows to hide the commit message,in which an attacker does not know whether the victim committed something (andwill reveal in the following period). The modified protocol exploits the fact thatplayer A can send commit and reveal messages from different addresses, provided
5 Extensions to the protocol20that the commit message includes the address that A will use in the following periodto send the reveal message.To study how the possibility of hiding the commit messages affects the equilib-rium of the game, here we assume that the honest player observes the state of theworld only with some probability, in which case she may decide to send her message.If instead player A does not observe the state of the world, then she takes no action.We also replicate the game n times: there are now n identical honest player, whowith some probability may want to interact with one of n smart contracts.These modifications are irrelevant in the protocol that we introduced earlier,because, in each replica game, the attacker can send his commit message after havingobserved whether the victim sent her commit message.But the above protocolcan be modified so that both the sender and the receiver of the commitment areobfuscated. More precisely, the modified protocol is now:• there is a pre-existing template code for the container smart contract. Thiscode is such that when the container smart contract receives a commit message,it time-stamps it with the current block number.• to commit, the honest player generates a brand-new address and uses it to senda transaction in which, first, a container smart contract is created using thetemplate, and then the commit message is sent to the newly-created containersmart contract.22 The commitment message is now S(addr, addrSC, σA), whereaddrSC is the address of the target smart contract.• to reveal, the honest player sends to the target smart contract the message σAtogether with a pointer to the container smart contract in which the commit-ment message is stored.• the target smart contract considers the message as valid if all these conditionsare satisfied1. like before, the commit message should be S(addr, addrSC, σA), whereaddr is the address from which the reveal message was sent.22 The brand new address needs to be founded with some ETH before it can send messages. Wenote that this could be done via a centralized exchange, therefore hiding the identity of the creatorof the new address from the attacker.
5 Extensions to the protocol212. the timestamp associated with the commit message is lower than thecurrent block number. This step makes sure that the commit messagewas sent before the reveal message.3. the code of the container smart contract is identical to the template smartcontract.23The very last step is necessary to prevent an attack in which, after observing thereveal message, an attacker sends a single transaction that (i) creates a containersmart contract, (ii) stores the commitment there together with a fake time stampand (iii) send the reveal message.An outside observer can infer that someone created a container smart contractusing the template and committed something, but does not know who committednor the target smart contract that will receive the reveal message. Call τ the ratiobetween the observed container smart contracts created and n.The same logicdiscussed above implies that if τ · π ≤ c/β, then it is too costly for B to attack agiven A player: guessing is too hard for B and front-running is prevented. Hence, ifthe probability that a given honest user sends a message to a given smart contractis sufficiently low (so that the realized τ is also low), then the protocol eliminatesall front-running attacks.An important observation is that the above scheme is effective in hiding thetarget smart contract if and only if multiple target smart contracts share the sametemplate for the container smart contract. In the extreme case in which each targetsmart contract has its own template, then the identity of the user remains hiddenbut the target smart contract that will receive the reveal can be inferred. At theother extreme, the highest level of obfuscation is achieved when all smart contractsuse the same template. Different smart contracts could also coordinate by creatinga single “official” container smart contract that receives all commitments. Again,an outside observer can infer that a user sent a commitment to the container smartcontract, without knowing who is the user and what is the target smart contract.23 In Ethereum, a smart contract code is accessible by other smart contracts.For example,the expression type(SC).creationCode returns the creation bytecode of smart contract SC (seehttps://docs.soliditylang.org/en/latest/units-and-global-variables.html#type-information). If thetemplate storage contract specifies that the contract is immutable, such bytecode will be constantand cannot be changed.
5 Extensions to the protocol22Here, however, users do not need to create the container smart contract each time,leading to significant savings in gas. How to achieve this coordination among smartcontracts is not part of the model.5.2Partial implementation.It is possible to implement the protocol only for a subset of possible messages. Thatis, there is a set of messages M ⊂ Σ such that any message σ ∈ M is consideredvalid by the SC only if the commit-reveal protocol described above is followed. Allother messages σ ̸∈ M are considered valid by the SC as soon as they are received.Suppose that A wants to send message σA and B wants to front run with messageσB. There are four possible cases:1. σA, σB ∈ M, which means that we are in the commit-reveal case discussedearlier.2. σA, σB ̸∈ M, which means that we are in the benchmark case discussed earlier.3. σA ̸∈ M but σB ∈ M, which means that A can send her message directly,without fear of being front ran. In this case, front running is prevented at nocost for A.4. σA ∈ M but σB ̸∈ M, which implies that A needs to send two messages(commit and reveal), and wait one period, for in the end having the sameprobability of being front ran than in the benchmark case. In this case, A theprotocol imposes extra costs on A without any benefit.The specific design of M depends on the situation and will balance the possiblecosts and benefits to player A. With this respect, an important observation is thatthe choice of M determines π. So, for example, for given π, it would seem beneficialnot to use the protocol in states of the world in which player A does not expect anattack. But this may not be optimal, because states of the world in which A doesnot expect to be attacked are precisely the ones in which the attackers’ payoff islow. Hence, by applying the protocol also in these states of the world, π decrease,and with it the probability of a front-running attack.
5 Extensions to the protocol235.3Specifying commit and reveal periodsOur model assumes that both commit and reveal messages are included in a blockimmediately after being sent. In practice, however, messages may remain in themempool for some time before being included in a block.24 This possibility is notan issue with respect to the commit message, because the honest player can simplywait until this message is included in a block before sending the reveal message. Itis however an issue with respect to the reveal message, because an attacker may beable to observe the victim’s reveal message, send a commit message (either directlyto SC or via a container smart contract as discussed in the previous section), haveit included in a block, then send a reveal message and have it included in a blockbefore that of the honest user.To start, note that the possibility that messages stay in the mempool is a concernalso in the benchmark case (i.e. the standard way in which Ethereum operates),possibly even more than in our protocol because an attacker needs to send just 1message during the period in which the honest player’s message stays in the mempool(vs 2 in our protocol). It is also a concern that is greatly reduced by the introductionof the base fee: a fee that should guarantee the rapid inclusion of a transaction in abloc (see footnote 15).For our purposes, it is interesting to note that our protocol can reduce or elim-inate this concern by appropriately specifying commit and reveal periods, that canbe thought of as sets of blocks. The SC will then consider a reveal message as validonly if received during a block belonging to the reveal period, and only if its commitmessage was received (either directly by SC or via the container smart contract)during a block belonging to the commit period.For example, a specific application may have a natural deadline, such as a com-petition rewarding whoever can provide the correct answer to a question within aspecific time period. In these situations, it seems natural to specify the commitperiod as all blocks up until the deadline and the reveal period as all blocks afterthe deadline, therefore eliminating the risk that an attacker commits after having24 We treat this possibility as a random event, not something that an attacker could manipulate.The reason is that purposefully censoring a transaction requires a large number of miners/validatorsto collude, which is prevented by the consensus protocol.
5 Extensions to the protocol24observed the reveal message. In other situations, it may be possible to alternatebetween commitment periods and reveal periods. In this case, the above attack ispossible only if the reveal message remains in the mempool for the entire length ofthe reveal period—a probability that drops to zero rapidly with the length of thisperiod. Of course, this modification has a cost because it increases A’s waiting time(i.e., the time between A learning the state of the world and deciding to send hermessage and the time he receives her reward).Finally, it is also possible that the commit-reveal protocol is required only in someperiods. For example, during the “commit” period users could either commit or senda message directly to the smart contract without any commitment, which would beconsidered valid. In the reveal period, only reveal messages that were committedduring the commit period are considered valid. The honest player can choose to senda given transaction in a “slow but safe” mode, or a “fast but risky” mode. In theslow but safe mode, the user sends her commitment during the “commit” period andthe reveal in the “reveal” period, therefore preventing an attacker from sending bothcommit and reveal messages after observing the honest player’s reveal message. Inthe fast but risky mode, a user sends a direct message to the smart contract duringthe commit period. Doing so exposes the honest player to the risk of being front-ranbut may nonetheless be optimal if the honest player is particularly impatient.5.4Multiple attackersAn interesting implication of our protocol is that it may reduce or eliminate com-petition between attackers, therefore benefiting the attackers as well as the honestplayer. To see this, assume that there are two attackers: B1 and B2. When sendinga transaction, each Bi chooses how much money to spend fi ≥ 0, simultaneouslyand independently from each other.To remain as close as possible to the case with a single attacker (and leverage asmuch as possible the results already derived), we can think of competition betweenthe two attackers and the honest player as happening in two steps. First, the attackerthat spends the most wins the right to attack the honest player. Then, similarly
5 Extensions to the protocol25to the single-attacker case, the winner attempts to front-run the honest player.25Mathematically, the probability that the transaction sent by player Bi is includedin the block before that of B−i and player A is:���γiq(fi)iffi > f−i0iffi < f−iwhere the function q() : R+ → [0, 1] is strictly increasing and strictly concave, andγi > 0 for i ∈ {1, 2}. A tie-breaking rule determines what happens when fi = f−i,but the nature of such a rule is not important for our analysis. The parameterγi measures the strength of each attacker. Without loss of generality, we assumethat the attacker number 1 is stronger, and hence γ1 ≥ γ2. Attackers are otherwiseidentical: they have the same payoff function and the same information.Benchmark caseWe start by deriving what happens with multiple attackers whenplayers can send their messages directly to the smart contract (i.e., no commitmentneeded). Again, after observing the victim’s message and learning the state of theworld, attacker Bi’s payoff as a function of fi, f−i is���Pb(s)γiq(fi)if fi > f−i0if fi < f−iFormally, therefore the attackers are engaged in an asymmetric contest with pro-ductive effort, as studied in Siegel (2014). Definef i ≡ fi : PB(s)γiq′(fi) = 1as the optimal expenditure by attacker i whenever attacker −i is absent (or alter-natively, whenever f−i = 0). Definef i ≡ fi : PB(s)γiq(fi) = fi25 All our results are robust to other ways to model competition. The reason is that our resultsrely on there being full dissipation of rents: the weakest attacker expects to earn zero. This resultholds in a large class of contest models.
5 Extensions to the protocol26as the expenditure level at which attacker i’s payoff is zero in the absence of attacker−i. Note that whenever f 1 ≥ f i, then there is a unique equilibrium in pure strategy,in which attacker B1 sets f ∗1 = f 1 and attacker 2 does not do anything. This situationis therefore identical to the single-attacker case discussed earlier.If instead f 1 < f i, according to Theorem 1 in Siegel (2014), there are multiplemixed-strategy equilibria. However, in every equilibrium of the game attacker 1’sutility isPB(s)γ1q(f 2).That is, the strong attacker’s payoff is equal to the payoff he would achieve if he’dset his expenditure equal to the follower’s largest possible expenditure.26 Also here,the utility of the other attackers is zero.To summarize, relative to the single-attacker case, if there are two attackerswho are sufficiently similar then in equilibrium they will randomize their level ofspending. In expectation, the weaker attacker earns zero. The stronger attackerearns a positive amount, which is however lower than if he was the unique attacker.Competition, therefore, hurts both attackers because they overspend (relative to thesingle-attacker case). This is clearly detrimental to the honest player as well.Commit-reveal protocol.Consider the commit-reveal protocol. We assume thatboth attackers observe the victim’s commit message. For simplicity, we also assumethat the attackers choose their commit messages simultaneously and independently,and that they can observe each other’s commit messages.27We solve the gamebackward, starting from the reveal phase.If only one attacker Bi committed, then the problem is quite simple: the single26 This result is also in Siegel (2009), in which however only non-productive effort is considered.Siegel (2014) extends these results to cases in which, over some range, the “prize” to be won by aplayer may be increasing in this player’s effort.27 If an attacker does not observe the other attacker’s commit message, he will nonetheless detectthe opponent’s attempt to front run in the following period. At that point, he will increase its levelof spending. The outcome is identical to the case in which the attacker knows from the beginningthat the other attacker committed and will therefore attack.
5 Extensions to the protocol27attacker i earns28V (γi) ≡ maxfi�˜PB(˜σB, s)γiq(fi) − fi�If instead both attackers committed, then the logic discussed in the previous sectioncontinues to apply: if they are sufficiently similar, then the equilibrium is in mixedstrategies. The attackers overspend (relative to the single attacker case) and, as aconsequence, the weaker attacker expects to earn zero while the stronger attackerexpects to earn V (γ1) < V (γ1).29Given this, we can derive the equilibrium in the commitment phase. The mainresult is that there is no equilibrium in which both players commit with probability 1.The reason is that the weak attacker anticipates that, if the other attacker commitsand he also commits, he will then earn zero in the following period. Commitmentmessages are however costly, which implies that the weak attacker is better off bynot committing.It follows that the equilibria of the game are• if either βV (γ1) > c, or βV (γ1) > c > βV (γ1) and c > βV (γ2), then there is aunique equilibrium in pure strategy in which only the strong attacker (attacker1) commits.• if βV (γ1) > c > βV (γ1) and βV (γ2) > c, then there are two pure strategyNash equilibria, each corresponding to only one attacker sending the commitmessage. There is also a mixed strategy equilibrium, in which attacker 1 com-mits with probability α1 and attacker 2 commits with probability α2. Theseprobabilities are such that each attacker is indifferent between committing ornot, that is α1V (γ2) = c and α2V (γ1) + (1 − α2)V (γ1) = c. In this equilib-rium, there is a probability α1α2 that both attackers commit, a probability(1−α1)(1−α2) that no attackers commit, and the remaining probability thata single attacker commits.• otherwise, no attacker commits and front running is prevented.28 Remember that the attacker has the same payoff function and information. Hence, in thecommit period, if they commit they will both commit ˆσB.29 The meaning of “the attackers being sufficiently similar” and the expected payoff of player 1can be precisely derived following the same steps illustrated in the previous paragraph. But theirprecise expressions are not important in what follows.
6 Conclusion28The protocol, therefore, decreases the level of competition among attackers.This, in turn, have a beneficial effect on the victim as reducing competition alsoreduces the amount spent by the attackers.6ConclusionWe conclude by discussing a number of possible limitations to our protocol thatrequire further study.Our commit-reveal protocol may impede the possibility of calling different smartcontracts within the same transaction (usually referred to as smart-contract compos-ablity). In principle, composability is still possible by first committing the differentmessages to the various smart contracts. A problem however arises when these smartcontracts have different commit-reveal periods (see Section 5.3). Although differentcommit messages may be sent in different periods depending on the commitmentwindow of each smart contract, to maintain composability the reveal messages mustbe sent within the same transaction during the reveal window of all smart contracts.If such a window does not exist, then composability is not possible. If it exists, thenit is possible but exploiting it may impose large delays to the execution of the trans-action. Studying further how to mitigate this problem is also left for future work.Here we just note that composability is preserved if the commit-reveal protocol isrequired only in some periods (as discussed in the last paragraph of Section 5.3),chosen in a coordinated way among all smart contracts.Our analysis assumes that the smart contract does not have an explicit mecha-nism to resolve competing claims to an object and therefore does not apply to, forexample, a smart contract running an on-chain auction. Applying our protocol tosuch smart contract may lead to unintended consequence because the players (hon-est or not) may fail to reveal after having committed—perhaps because they realizethat they would lose the auction. This is problematic in many cases. For example,failures to reveal in a second-price auction may decrease the revenues raised in theauction.Finally, our protocol is also not effective against a type of front-running attackcalled suppression attacks in which an attacker prevents the victim’s transaction
6 Conclusion29from being included in a block by front-running it with a series of spam transactions(see Eskandari et al. (2019)). The reason is that, in these attacks, the content of thevictim’s transaction is irrelevant to the attacker. However, these types of attacksare rare and specific to certain applications. For example, Eskandari et al. (2019)document only one of them in the context of a gambling smart contract.ReferencesBaird, L. (2016). The swirlds hashgraph consensus algorithm: Fair, fast, byzantinefault tolerance. Swirlds Tech Reports SWIRLDS-TR-2016-01, Tech. Rep 34.Breidenbach, L., P. Daian, F. Tramèr, and A. Juels (2018). Enter the hydra: To-wards principled bug bounties and {Exploit-Resistant} smart contracts. In 27thUSENIX Security Symposium (USENIX Security 18), pp. 1335–1352.Budish, E., P. Cramton, and J. Shim (2015). The high-frequency trading arms race:Frequent batch auctions as a market design response. The Quarterly Journal ofEconomics 130(4), 1547–1621.Capponi, A. and R. Jia (2021). The adoption of blockchain-based decentralizedexchanges. arXiv preprint arXiv:2103.08842.Capponi, A., R. Jia, and Y. Wang (2022). The evolution of blockchain: from lit todark.Daian, P., S. Goldfeder, T. Kell, Y. Li, X. Zhao, I. Bentov, L. Breidenbach, andA. Juels (2019). Flash boys 2.0: Frontrunning, transaction reordering, and con-sensus instability in decentralized exchanges. arXiv preprint arXiv:1904.05234.Eskandari, S., S. Moosavi, and J. Clark (2019). Sok: Transparent dishonesty: front-running attacks on blockchain. In International Conference on Financial Cryp-tography and Data Security, pp. 170–189. Springer.Fudenberg, D. and J. Tirole (1987). Understanding rent dissipation: on the use ofgame theory in industrial organization. The American Economic Review 77(2),176–183.
6 Conclusion30Gans, J. S. and R. T. Holden (2022). A solomonic solution to ownership disputes:An application to blockchain front-running. Technical report, National Bureau ofEconomic Research.Heimbach, L. and R. Wattenhofer (2022). Sok: Preventing transaction reorderingmanipulations in decentralized finance. arXiv preprint arXiv:2203.11520.Kelkar, M., F. Zhang, S. Goldfeder, and A. Juels (2020). Order-fairness for byzantineconsensus. Cryptology ePrint Archive, Paper 2020/269. https://eprint.iacr.org/2020/269.Nash, J. (1950). Equilibrium points in n-person games. Proceedings of the nationalacademy of sciences 36(1), 48–49.Park, A. (2022). Conceptual flaws of decentralized automated market making. Tech-nical report, Working paper, University of Toronto.Qin, K., L. Zhou, and A. Gervais (2022). Quantifying blockchain extractable value:How dark is the forest? In 2022 IEEE Symposium on Security and Privacy (SP),pp. 198–214. IEEE.Robinson, D. and G. Konstantopoulos (2020, Aug). Ethereum is a dark forest.Roughgarden, T. (2020).Transaction fee mechanism design for the ethereumblockchain: An economic analysis of eip-1559. arXiv preprint arXiv:2012.00854.Siegel, R. (2009). All-pay contests. Econometrica 77(1), 71–92.Siegel, R. (2014). Contests with productive effort. International Journal of GameTheory 43(3), 515–523.Torres, C. F., R. Camino, et al. (2021). Frontrunner jones and the raiders of thedark forest: An empirical study of frontrunning on the ethereum blockchain. In30th USENIX Security Symposium (USENIX Security 21), pp. 1343–1359.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091BiCurNet: Pre-Movement EEG based NeuralDecoder for Biceps Curl Trajectory EstimationManali Saini*, Anant Jain*, Lalan Kumar, Suriya Prakash Muthukrishnan, Shubhendu Bhasin and Sitikantha RoyAbstract—Kinematic parameter (KP) estimation from earlyelectroencephalogram (EEG) signals is essential for positiveaugmentation using wearable robot. However, work related toearly estimation of KPs from surface EEG is sparse. In thiswork, a deep learning-based model, BiCurNet, is presented forearly estimation of biceps curl using collected EEG signal.The model utilizes light-weight architecture with depth-wiseseparable convolution layers and customized attention module.The feasibility of early estimation of KPs is demonstrated usingbrain source imaging. Computationally efficient EEG features inspherical and head harmonics domain is utilized for the firsttime for KP prediction. The best Pearson correlation coefficient(PCC) between estimated and actual trajectory of 0.7 is achievedwhen combined EEG features (spatial and harmonics domain)in delta band is utilized. Robustness of the proposed networkis demonstrated for subject-dependent and subject-independenttraining, using EEG signals with artifacts.Index Terms—Brain-computer interface, Electroencephalo-gram, Deep learning, Kinematic parameter estimation.I. INTRODUCTIONBrain-computer interface (BCI) is an integration of themeasurement, decoding, and translation of the activity ofcentral nervous system (CNS) into imitative output that rein-states, augments, or rehabilitates the natural CNS output [1].This creates an interface between the CNS and its externalenvironment. BCI-based systems are rapidly emerging onaccount of the recent advancements in signal processing andartificial intelligence [2], [3]. These systems are useful in*Manali Saini and Anant Jain have contributed equally to this work.This work was supported in part by DRDO - JATC project with projectnumber RP04191G.This work involved human subjects or animals in its research. Approvalof all ethical and experimental procedures and protocols was granted bythe Institute Ethics Committee, All India Institute of Medical Sciences, NewDelhi, India with reference number IEC-751/07.08.2020,RP-06/2020.Manali Saini is with the Department of Electrical Engineering, IndianInstitute of Technology Delhi, New Delhi 110016, India (e-mail: manali-igit@gmail.com).Anant Jain is with the Department of Electrical Engineering, IndianInstitute of Technology Delhi, New Delhi 110016, India (e-mail: anant-jain@ee.iitd.ac.in).Lalan Kumar is with the Department of Electrical Engineering, BhartiSchool of Telecommunication, and Yardi School of Artificial Intelligence,Indian Institute of Technology Delhi, New Delhi 110016, India (e-mail:lkumar@ee.iitd.ac.in).Suriya Prakash Muthukrishnan is with the Department of Physiology,All India Institute of Medical Sciences, New Delhi - 110016, India(e-mail:dr.suriyaprakash@aiims.edu).Subhendu Bhasin is with the Department of Electrical Engineering, In-dian Institute of Technology Delhi, New Delhi 110016, India (e-mail: sb-hasin@ee.iitd.ac.in).Sitikantha Roy is with the Department of Applied Mechanics, In-dian Institute of Technology Delhi, New Delhi 110016, India (e-mail:sroy@am.iitd.ac.in).neuro-rehabilitation to assist users with motor-impairments[4]–[7]. For real-time operability of these systems, continuoussignal decoding is required for extraction of kinematic param-eters (KPs) such as motion trajectory, velocity, acceleration,etc. [8]–[10]. In view of these aspects, electroencephalogram(EEG)-based BCI systems have gained popularity in the recentyears, owing to the non-invasiveness, low-cost, and excellenttemporal resolution of EEG signals [11], [12].A. Motivation and Related WorkLiterary works explore machine learning and deep learning-based paradigms for upper limb kinematic parameter esti-mation (KPE), movement intention detection and classifica-tion from low frequency components of EEG signals. Forinstance, in [13], sparse multinomial logistic regression isutilized to classify EEG signals during reach intention andactual movement, based on multiple hand-crafted featuresextracted from EEG signals filtered in the range of 1 − 40Hz. In this work, independent component analysis (ICA) anddipole fitting are applied to remove movement artifacts fromthe recorded EEG signals, for obtaining low classificationerror rates [13]. Researchers in [14] have explored EEGcurrent source dipole (CSD) data, using standardized lowresolution brain electromagnetic tomography (sLORETA) todecode actual and imagined arm joint trajectories based onmultiple linear regression (mLR). The most useful time lagsare observed to be between 80−150 ms prior to the movement,and the low β and γ bands are shown to be more effectivein movement decoding with a correlation of 0.67. Similarly,mLR is utilized in [15] for estimating the 3D trajectories ofarm movement with variable velocities using EEG segmentsfiltered in the range of 0.1 − 40 Hz. The researchers reporteda high correlation between the movement velocities and EEGactivity above the motor cortex in fronto-central and parietalareas [15]. mLR is also utilized in [16] with α and β bandpowers of EEG signals during the motor planning and exe-cution phases to predict the upcoming peak tangential speedand acceleration of hand movement. This study demonstratesthe prominence of occipital and parietal-occipital regions forα band, and frontal and frontal-central regions for the β bandin movement planning and execution phases. In a recent study,researchers have explored the feasibility of a commercial EEGheadset in motor decoding and classification with the use ofKalman filter and spatio-spectral features extracted from EEGsignals [9]. An overall correlation of 0.58 is achieved in thiswork. Besides mLR, sparse LR is investigated for predictingthe circular trajectories of upper limb during movement ofarXiv:2301.03965v1 [eess.SP] 10 Jan 2023
2bottles with varying masses [17]. In this work, a wide rangeof EEG frequencies, i.e., 0−150 Hz is used and channels overthe motor cortex are shown to be more prominent towardsthe prediction. In [18], movement intent is decoded frommovement related cortical potentials (MRCPs) using narrow-band EEG in the range of 0.1−1 Hz to train a support vectormachine (SVM)-based classifier. The selection of a single-channel, i.e., Cz in movement onset decoding with an accuracyof 91% using low frequency (0 − 5 Hz) Teager-Kaiser energyoperator with threshold-based classification is demonstrated in[19].Despite of the effectiveness of conventional machinelearning-based paradigms in EEG-based movement decoding,there is a need of extracting the high-level features which canenhance the performance. To overcome this, researchers haveproposed deep learning-based paradigms. For example, convo-lutional neural network (CNN) is proposed with the use of pre-movement raw spatio-temporal multi-channel EEG for handmovement and force levels classification with an accuracy of84% [20]. This work demonstrates early classification of handmovement, i.e., in 100−1600 ms advance. CNN is also utilizedin [21] along with bidirectional long short term memory (Bi-LSTM)-based network to predict the velocities of arm reachingtasks using pre-processed EEG signals. An overall correlationbetween 0.4 − 0.6 is achieved in this work and feasibility ofrobotic arm control based on real-time EEG is demonstrated[21]. Recently, deep learning-based three-dimensional (3D)hand movement trajectory during grasp and lift movementsis estimated using a public EEG database in [10], [22], [23].In [22], wavelet packet decomposition (WPD) based time-lagged EEG sub bands are used to train a CNN-LSTM networkfor prediction of the hand position/trajectory with a highcorrelation of 0.86. This work explores the source-aware EEGfeatures and the demonstrates the relevance of low frequencybands (δ, θ, and α) in movement estimation, however, it haslimited feasibility in real-time hardware implementation. Earlyestimation of this trajectory is demonstrated in [10] with a highcorrelation 0.79 using the δ band of EEG. Further, researchersin [23] demonstrate the feasibility of a brain-inspired spikingneural network (Bi-SNN) along with mid-frequency and high-frequency EEG bands, i.e., α, β, and γ, toward the sametrajectory estimation with a correlation of 0.7.Based on the aforementioned description of literary works,it can be asserted that many of these works focus onclassification of upper limb movements, rather than predic-tion/estimation of the related kinematic parameters. Timelyextraction of kinematic parameters from EEG data duringupper limb movement is imperative towards different real-timeexosuit control-based BCI applications. Further, few existingmachine-learning based regression algorithms are able to esti-mate the KPs earlier w.r.t. actual movement, however, averagecorrelation is achieved. Although the existing deep learning-based networks outperform these ML-based paradigms, onlyfew of them have explored early estimation of KPs. Further,these networks use slightly complex architectures after pre-processing which may not be feasible on hand-held processorsfor real-time BCI systems. Most importantly, the performanceof the existing paradigms for KP estimation is highly subject-Fig. 1: Experimental setup for biceps-curl task.specific, which further adds to the complexity since thenetworks need to be trained for each subject.B. Objective and Key ContributionsIn view of the aforementioned challenges of literary works,this work proposes a deep learning-based upper limb mo-tion trajectory prediction/estimation from preceding EEG, i.e.,BiCurNet, for early estimation towards exosuit control-basedBCI applications. Further, the proposed network is demon-strated to be subject-independent and robust against artifacts,unlike the existing works. To the best of our awareness, thisis the first work which focuses on early estimation of kine-matic parameters from both subject-dependent and subject-independent EEG signals and further analyses the noise-robustness of the proposed network. The key contributions ofthis work are listed as follows.• Low-complex deep learning-based architecture is pro-posed for early estimation of upper limb motion trajec-tory.• In-house recording of multi-channel EEG signals duringupper limb biceps curl experiment.• Spherical harmonics and head-harmonics domain EEGfeatures based motion trajectory estimation has beenexplored for the first time.• Demonstrationofsubject-adaptabilityandnoise-robustness of the proposed network.The rest of this paper is organized as follows. Section IIdescribes the experimental recording and data acquisitionprocedures. Section III presents the proposed methodology forBiCurNet. Section IV discusses the experimental evaluationresults for the proposed work. Finally, section V concludesthis work with major advantages, shortcomings, and futuredirections.
3Fig. 2: Block diagram depicting the proposed methodology for biceps-curl trajectory estimation.II. EXPERIMENT AND DATA ACQUISITIONThe key objective of the study is to investigate the via-bility of using EEG signals for elbow joint angle decodingduring biceps-curl motion. For this purpose, we designeda synchronous EEG and joint angle recording system. Thedescription of the experimental paradigm and data acquisitionare elucidated in the subsequent sections.A. Subjects and EquipmentThe experiment was performed in the Multichannel SignalProcessing Laboratory, Department of Electrical Engineeringat Indian Institute of Technology Delhi, New Delhi. Thisresearch was authorized by the Institutional Review Board ofAll India Institute Of Medical Sciences, New Delhi. EEG dataand joint angle data were recorded from 5 healthy subjects(all males, age 29 ± 2.61, all right handed) while performingthe biceps curl task. Each subject performed 300 trials ofbiceps curls task. EEG data was recorded using 16-channeldry-active electrodes (actiCAP Xpress Twist, Brain Products,Gilching, Germany) with wireless EEG amplifier (LiveAmp-16, Brain Products, Gilching, Germany). The EEG sensorswere arranged in 10-20 international system of EEG electrodeplacement, namely, Fp1, Fz, F3, C3, T7, Pz, P3, O1, Oz, O2,P4, Cz, C4, T8, F4 and Fp2. The EEG data was acquired with500 Hz sampling frequency. A marker-based camera system(Noraxon NiNOX 125 Camera System) was placed for elbowjoint angle measurement. The NiNOX 125 camera system wasconnected to Noraxon myoResearch platform (MR 3.16) forrecording the biceps-curl hand motion. The camera system wasplaced in sagittal plane 2 m away from the subject. The elbowjoint angle was calculated using myoResearch software inthe post-processing step. The 3-point angle measurement toolwas utilized to compute 2D joint angle by tracking reflectivemarkers in the video recording. The joint angle data wassampled with the sampling frequency of 125 Hz. The EEG andjoint angle data was synchronized using Noraxon myoSyncdevice.B. Experimental Setup and ParadigmConcurrent EEG and motion data was collected from theusers during biceps-curl task. At the beginning of experiment,participants were in standing position with 2 Kg dumbbellholding in their right hand. A monitor was positioned 1.8 maway in front of them for showing the experimental paradigm.Participants were standing in balanced upright posture withdumbbell in their right hand. We designed the experiment inPsychoPy [24] for instructing the participant for initiating thebiceps-curl movement. Each trial begin with a cross appearingon the center screen along with a beep sound, indicating thestart of the trial. After a couple of seconds, a visual cueappeared on the screen to instruct the participant to initiatethe biceps-curl. The biceps-curl was performed in the motionexecution phase. Each trial ended with resting phase of twoseconds. Before the actual data acquisition, each participantperformed a practice run for executing the task correctly. Thispractice run was not included for any consequent analysis. Werecorded 30 runs with 10 trials each for the biceps curl task.Inter-run rest was given to the participant for avoiding musclefatigue.III. PROPOSED METHODOLOGYThis section elaborates the proposed methodology for earlyprediction of upper limb motion trajectory from EEG basedon deep learning, as illustrated in Fig. 2. It consists of threemajor modules: EEG recording, pre-processing and feature
Raw EEGsignalsPre-processing and3 Denseandino(Channels 1feature extractionEEG dataFlattenlayers, 8layer, Nto 16)(Channels 1layerunits,units,DFT-basedto Nc)DWSConv1DlayerConv1D layerMaxpool1D layerEnhance and suppressactivation = activation =baseline wander32 kernels,kernel 32kernels, kernelPool size=2,attention blockSwishLinearsize=5, stride=1,size=5, stride=1,noise removalactivation-ReLustride=2activation=ReLu(Threshold: 0.5Hz).dwConv1DDense+ ReLulayerCommon averagereferencing.ICA-based artifactrejection.Amplitudenormalization [v].DWT-based sub-bands extraction:[AA:"A:A:*A]DWT-Sphericalharmonics (SH)(C3-Ks 1) × 32C4 × 32features:C4C5DWT-Headharmonics (H2)(N-Ks+1) × 32(C,-Ks+1) × 32 (C,/2) × 32C5 × 18×1N×1NxNC.features:PredictedcC2C3trajectoryEEGrecording4extraction, and depth-wise separable convolutional neural net-work with a customized attention module. The modules aredescribed in the subsequent sub-sections.A. EEG recordingIn this work, the EEG signals are acquired using LiveAmp16 Brain Products system as described in the previous section.Prior to be used for the proposed BiCurNet, these signals arepre-processed as detailed in the ensuing sub-section.B. Pre-processingThe recorded EEG signals are pre-processed in EEGLAB[25] and MATLAB for feature extraction prior to be fed tothe proposed BiCurNet, as shown in Fig. 2. After recordingand re-sampling the EEG signals, low frequency (below 0.5Hz) baseline wander noise (BWN) suppression is done usingdiscrete Fourier transform (DFT). For this purpose, the DFTcoefficients corresponding to frequencies below 0.5Hz areestimated. The computation of DFT coefficient index k is doneas: k = ⌊(fqNd/fqs)⌋, where fq is the frequency in Hz, fqs isthe sampling frequency, and Nd is the number of DFT pointsfor computation. These DFT coefficients are thresholded tozero for suppression of the BWN. The EEG signal after BWNsuppression is synthesized as the inverse of the DFT coefficientmatrix. The mathematical interpretation of this procedure isdescribed for a recorded EEG signal v[n] by the followingDFT pair:DFT of recorded signal : V [k] =Nd−1�n=0v[n]e−jn2πkNd(1)˜vq[n] = 1NdNd−1�k=0˜Vq(k)ejn2πkNd(2)where˜Xq denotes the DFT coefficient matrix after thresh-olding, i.e., ˜Xq(k) = [0, . . . , 0, Xq[k + 1], . . . , Xq[Nd − k −1], 0, ...., 0]. All signals are normalized w.r.t. amplitude tobring it in range: [−1, 1] as˜xq[n]max| ˜xq[n]|.In this work, the recorded EEG signals are analyzed forthe estimation of motion trajectory with and without artifactsuppression. Independent component analysis (ICA) is utilizedfor artifact suppression. It is used for estimating the sourcescorresponding to cerebral and non-cerebral activities resultingin the scalp EEG [26]. EEGLAB is used in this work for ICA-based decomposition of the EEG signals obtained after BWNremoval. The decomposed independent sources with more than70% of artifactual components are rejected and the artifact-freeEEG signal is reconstructed.C. Brain source imagingBrain source imaging (BSI) is performed to select the rel-evant pre-movement EEG segment prior to feature extraction.Numerical Boundary Element Method (BEM) based forwardmodeling is utilized for this purpose. The head model utilizesICBM MRI template [27] in OpenMEEG [28] toolbox. Thespatio-temporal dynamics of brain cortical sources are ob-tained using inverse modeling. In particular, standardized low-resolution electromagnetic tomography (sLORETA) [29] isutilized to solve the under-determined inverse problem. Underthe constraint of the smooth source distribution, standardizedcurrent density maps are utilized for localization inference.Source localization plots for a right hand biceps-curl activityare illustrated in Fig. 3. The analysis shown corresponds toa single-trial of biceps-curl. The subject was instructed tofocus the vision on fixation cross. A visual cue for movementonset was presented at 0 ms. The subject executed biceps-curlactivity 410 ms after the visual cue was given. A constantactivation may be observed in occipital lobe up to 60 ms.The information starts getting transferred to the left motorcortex thereafter. All such pre-movement EEG [Fig 3(c)-(g)]has inbuilt motion trajectory.It may be noted that the left motor cortex region was acti-vated at 220-240 ms [Fig 3(e)] corresponding to the right-handbiceps-curl activity. Motor activity was observed thereafterup to 320 msec [Fig 3(e)]. The subject executed biceps-curlactivity at 400-450 ms after the visual cue was given. It maybe concluded that the motor neural information correspondingto the biceps-curl activity is present approximately 250 msprior to the motor execution. This information is utilized forselecting the time-lag window for elbow joint-angle trajectory.The selected EEG data was utilized for the training and testingof the proposed neural decoder.D. Feature extractionThe pre-processed EEG signals are analyzed with differenttransform-domain techniques for significant feature extraction.This work explores time-frequency features using discretewavelet transform (DWT) in: Spatial domain; Spatio-temporaldomain using spherical Fourier transform (SFT); and Spatio-temporal domain using head harmonics transform.1) Discrete wavelet transform-based features:Discretewavelet transform is utilized to decompose the EEG signalsinto constituent sub-bands/rhythms. It makes use of high-passand low-pass filters for decomposing the signals into a pre-defined number of levels based on the sampling frequency[30]. DWT of a single channel EEG signal v[n] is given byVj,r =�n∈zv[n]ψ∗j,r[n](3)where ψj,r is the translated and scaled version of the motherwavelet ψ0,0, and defined as:ψj,r[n] = 2−(j/2)ψ0,0�2−j(n − r)�(4)The procedure for DWT-based decomposition follows atree-like structure as demonstrated in Fig. 4. At each decompo-sition level, the wavelet coefficients are down-sampled for re-moving the redundant information [31]. In this work, since thesampling frequency used is 125 Hz, the decomposed sub bandsare obtained as: delta (δ : 0.5 − 3.9 Hz), theta (θ : 3.9 − 7.8Hz), alpha (α : 7.8 − 15.6 Hz), beta (β : 15.6 − 31.2 Hz), andgamma (γ :> 31.2 Hz), denoted by Vδ, Vθ, Vα, Vβ, and Vγrespectively.
5(a)(b)(c)(d)(e)(f)(g)(h)Fig. 3: Brain source localization using sLORETA at different time stamps : (a) 0ms (b) 60ms (c) 120ms (d) 180ms (e) 240ms(f) 300ms (g) 360ms (h) 420msFig. 4:Four-level DWT-based decomposition to obtain the approxi-mation and detail bands with frequency range at level jgiven by:�0, 2−j−1 Fs�, and�2−j−1 Fs, 2−j Fs�respectively.2) DWT-Spherical harmonics-based features: To extract thespatio-temporal features of the EEG signal and the correspond-ing DWT-based sub bands obtained above, spherical Fouriertransform (SFT) is explored in this work. Since the humanhead is assumed to be spherical in shape [32], spherical Fourierbasis functions have been widely employed in literary works.The decomposition of a multi-channel EEG signal V in SFDis obtained as:VSHlm =�ΩV (Ω, n) [Y mn (Ω)] dΩ(5)where V (Ω, n) denotes the potential at (Ω) = (r, θ, φ) onthe scalp at time instant n. Here, r represents the radius ofhead, θ denotes the angle of elevation measured in downwarddirection from positive Z-axis (θ ∈ [0, π]), and φ denotesthe azimuth angle measured in anticlockwise direction frompositive X-axis, as shown in Fig. 5. The real-valued Y ml (Ω)of lth order and mth degree constitutes an orthonormal set ofbasis function, defined over spherical array. For a finite orderFig. 5: Total potential at a channel is a contribution of each active equivalentdipole .system, l ∈ [0, L], and m ∈ [−l, l]. Therefore, (L+1)2 distinctspherical harmonics are obtained in total. Since the number ofsampling points S in spatial domain should be atleast (L+1)2,the highest limit of L is ≤�(S) − 1. In this work, since 16electrodes are used for recording, i.e., S = 16, the limit of L is3. Therefore, L = 2 is used here and total 9 distinct sphericalharmonics are obtained. The corresponding features are storedin V SHnm with a dimension of 9 × N. Each EEG sub band isalso decomposed using spherical Fourier basis functions, andthe corresponding features are obtained as V SHδlm , V SHθlm , V SHαlm,V SHβlm , and V SHγlm .3) DWT-Head harmonics-based features: More recently,head harmonics (H2) basis functions have been proposed formore adequate representation of EEG signals based on thegeometry of human head [32]. Since the EEG sensors placedon head form a shape between a sphere and a hemisphere, H2basis functions are shown to be more efficient for representing
x[n] sampled at F, = 125 HzApproximation 1Detail 1(0-31.25 Hz)(31.25-62.5 Hz)VApproximation 2Detail 2(0-15.625 Hz)(15.625-31.25 Hz)VpApproximation 3Detail 3(0-7.8125 Hz)(7.8125-15.625 Hz)VaApproximation 4Detail 4(0-3.9 Hz)(3.9-7.8125 Hz)VsVe+Y010-86the data sampled over head. The decomposition of an EEGsignal matrix V in H2 domain is given as:VH2lm =�ΩV (Ω, n) [Hml (Ω)] dΩ≈S�w=1zwV (Ωw, n) [Hml (Ωw)](6)where, zw denotes the sampling weight and Ωw = (θw, φw)is the location of channel w. Here, the angle of elevation θis in the range [0, 2π/3], as per the head geometry shown inFig. 6. The real-valued Hml (Ω) of lth order and mth degreeconstitutes an orthonormal set of basis function defined overhuman head .Fig. 6: Geometry of human head with the parameters: Perimeter=40cm,radius=10cm [32].The corresponding features are stored in V H2lmwith a di-mension of 9 × N, similar to that obtained in SFT. Each EEGsub-band is also decomposed using H2 basis functions, andthe corresponding features are obtained as V H2δlm , V H2θlm, V H2αlm,V H2βlm, and V H2γlm.E. Proposed BiCurNetAfter pre-processing and feature extraction, the EEG data isgiven as input to the proposed BiCurNet model. The proposeddeep learning model is illustrated in Fig. 2. The constituentlayers in the proposed model include a depth-wise separableone-dimensional convolution layer (DWSConv1D), a conv1Dlayer, a maxpooling (maxpool1D) layer, a customized attentionmodule, a flatten layer, three dense layers, and an output layerfor regression/prediction.• Depth-wise separable convolution layer (DWSConv1D):The first layer of the network is a conv1D layer whichperforms a depth-wise separable convolution of the re-ceived input data with the kernels/filters used in thislayer. It receives the input EEG data in the form ofN × Nc matrix as shown in Fig. 2. Here N denotes thenumber of samples in the data, and Nc is the number ofchannels. The convolution operation is split into two partsin this layer as depth-wise and point-wise [33]. Depth-wise convolution is performed with each channel sepa-rately, and point-wise convolution is performed as 1 × 1convolution. It is a computationally efficient operationw.r.t. the standard convolution layer, making it suitablefor lightweight scenarios. Convolution of a filter f[n] withan input v[n] is written as:v[n] ∗ f[n] =ks−1�i=0v[i] · f[n − i](7)where, ‘∗’ represents the convolution operation and ksdenotes the filter width. In this layer, 32 filters are used.Each filter has a width ks of 5. In general, the zthconvolution output, i.e, feature map of layer lr is givenas [34]:clrz = σ��bilrz +�jclr−1j× f lrzj��(8)where, clrz is the zth feature in the lrth layer; clr−1jisthe jth feature in the corresponding preceding layer; f lrzjrepresents the filter which links feature z to feature j, bilrzrepresents the corresponding bias vector and σ denotesthe activation function, which is rectified linear unit(ReLu) in this layer. It is defined as: σ(t) = max(0, t).A stride of one is used in this layer. The ’He’ uniforminitialization is used for kernel weights and zero initializa-tion is used for bias vector. All these parameters producean output dimension of C1: (N − ks + 1) × 32 as shownin Fig. 2. L2 regularization with a factor of 0.001 is alsoused in this layer to reduce over-fitting.• Conv1D layer: The second layer is a conventional con-volution layer, which operates on all input channels at atime. This layer uses the same parameters as described inthe previous layer. The corresponding output dimensionof this layer is given as (C1 − ks + 1) × 32.• Max pooling layer (Maxpool1D): The convolution layeroutput is reduced in dimensionality by using a maxpooling 1D layer, which retains the highest value of thefeature in a segment with a pool size [35]. This layerhelps in low-level feature extraction. The correspondingprocess can be interpreted as [34]:chxmx = max∀b∈arm chx−1b(9)where, arm denotes the pool area with index m. In thiswork, a pool size and a stride of 2 is selected, whichresults in the dimension of the output as (C1 − ks +1)/2 × 32, shown in Fig. 2.• Customized attention module (CAM): The feature mapsof the previous layer are further transformed to intensifythe more relevant features and restrain the less relevantfeatures. A CAM is utilized for this purpose, which usesa dense layer with 32 units and a multiply layer asshown in Fig. 2. This module works on the attentionphenomenon, which enhances the relevant features anddiminishes the less significant features [33]. An element-wise multiplication operation is performed between theoutputs of the dense layer and the maxpool1D layer. Thisproduces higher values of product where both maxpool1Dand dense layer outputs are high, thereby enhancingthe more intense features. Similarly, the less significantfeatures are further restrained due to low values of theproduct where both the layer outputs are low. The inputdimension of the dense layer is (C3) × 32, and a dotproduct operation between a 32 × 32 weight vector ofthe dense layer and its input results in the same outputdimension.
+ Z (Superior)+ Z (Superior)40 cm+Yfx-x10 cmPosteriorAnteriorRightLeft- Z (Inferior)Z (Inferior)7TABLE I: Training hyper-parameters (After hypertuning).NcNkDrkssrlrBtec3320.40510.00115100Ncl: Number of convolution layers, Nk: Number of kernels/filters, Dr: Dropout rate,ks: Kernel width, sr: Stride/shift, lr: Learning rate, Bt: Batch size, ec: Number oftraining epochs.• Flatten layer: This layer transforms the output of CAMwhich is C3 × 32 to a 1D vector with dimension C4 × 1,as shown in Fig. 2. A dropout with a factor of 0.4 is usedafter this layer to prevent the model from over-fitting [36].• Dense layers: Three dense layers with 8 units each areused after the flatten layer. In this work, swish activationfunction is used in these layers, interpreted as:f(x) = x . swish(x)(10)• Output layer: The final layer is a dense layer for re-gression, that maps the output of flatten layer to thepredicted trajectory with dimension N × 1, as shownin Fig. 2. Dense layer implements the element-wisedot product between the input and the kernel. Linearactivation function is used in this layer, given by:f(x) = x(11)The aforementioned layers and hyper-parameters are usedto create the proposed network. For training, 80% of EEGsignals with different durations/window lengths are taken fromthe recorded database. The rest 20% of the data is dividedinto 10% test and 10% validation data. The information aboutoptimal training hyper-parameter selection and their values isprovided in the next section. The proposed network is builtusing Keras deep learning framework with TensorFlow version2.2.1 as backend in Python. In this work, data augmentationis utilized to increase the number of training examples in thedata to avoid over-fitting. It makes the proposed network morerobust by creating new and different training examples bywhich it can learn the alterations in the real world. For thispurpose, random flipping and rolling operations are used inPython Keras framework.IV. RESULTS AND DISCUSSIONIn this Section, the performance evaluation of the proposedBiCurNet on the recorded EEG signals is presented w.r.t.different parameters. Elaborated interpretations of the resultsare also presented for the proposed network.A. Hyper-parameters for training BiCurNetVarious parameters used for training the proposed networkare presented herein. For assessing the regression/predictionperformance of the proposed network, 10% of the EEG signalsfrom the recorded database are used for testing. The datafrom each subject is used for training, testing, and validation,i.e., subject-dependent training is performed. The networkis trained using a batch size of 15, epochs as 100, andAdam optimizer with a learning rate as 0.001. To curtailthe statistical unreliability in computation of test loss dueto small database, ten-fold cross validation is employed forperformance evaluation. Mean square error (MSE) is used asthe loss function for regression. Table I presents the traininghyper-parameters which are selected using the KerasTunerframework in Python. It is an optimization framework fortuning the hyper-parameters that uses search-and-selection-based criteria. The final corresponding selected set of optimalhyper-parameters is listed in the table.B. Regression metricIn this work, time lagged and windowed EEG signalsare used to estimate the motion trajectory in advance. Inparticular, the EEG data preceding the motion by differenttime lags (8-240 ms) is used to train, test, and validate theproposed network. Additionally, the performance is evaluatedwith varying EEG window sizes (320-1600 ms). A 95%overlap between adjacent windows is considered. Pearsoncorrelation coefficient (PCC) is utilized for analysing theperformance of the proposed network w.r.t. upper limb motiontrajectory estimation. PCC between true/measured (A) andpredicted/estimated (P) trajectory signal with N samples isgiven asΠ(A, P) =1N − 1N�i=1�Ai − mAσA� �Pi − mPσP�(12)where m is the mean and σ denotes standard deviation. Thenormalized covariance measure assumes a value between -1and 1.C. Subject dependent PCC analysisThe proposed model is trained and tested for each subjectseparately, for subject-dependent (SD) performance analysis.The PCC values averaged across all the trials and subjects, arepresented in Table II with varying time lags, window sizes,and EEG features. The EEG bands are considered in spatial(V ), spherical harmonics (Vδnm), and head harmonics domains(V H2δnm). It may be noted that the transformed domain (Vδnmand V H2δnm) features gives PCC similar to spatial domain coun-terparts with reduced computational cost, as detailed in SectionIII-D2. Additionally, δ band gives higher PCC values while γband has the lowest PCC. This indicates the pertinence of low-frequency δ band for motion trajectory decoding using EEG.The best correlation is observed when Vδ, V SHδnm, and V H2δnm arecombined. The highest correlation achieved is 0.7 with 240ms advanced EEG window of 1600 ms. This demonstrates thefeasibility of early estimation of the motion trajectory by usingthe proposed network.D. Subject-independent performance analysisTo further explore the adaptability of the proposed network,subject-independent (SI) analysis is presented herein usingleave-one-out scheme. Simultaneous comparison of SI/SDcase on PCC is presented in Fig. 7. The PCC values areaveraged over all subjects and lags. A slight decrease in PCCvalue may be noted in the SI case. However, it remains within±0.05 which indicates the robustness of the proposed networkagainst the subject-variability.
8TABLE II: Pearson correlation coefficient (PCC) for different EEG segments and lags of data (Mean over subjects).EEGFeatures8ms40ms80ms160ms240ms8ms40ms80ms160ms240ms8ms40ms80ms160ms240ms8ms40ms80ms160ms240msV0.25 0.250.260.260.260.35 0.350.360.350.260.42 0.420.420.420.430.55 0.550.550.550.56Vδ0.34 0.330.330.340.360.41 0.410.420.420.420.48 0.480.480.480.490.61 0.610.610.660.67Vθ0.24 0.230.230.240.260.38 0.380.380.380.380.44 0.440.440.440.450.55 0.550.550.560.57Vα0.22 0.220.220.220.210.36 0.360.370.360.360.39 0.390.390.390.390.51 0.510.510.510.53Vβ0.18 0.180.170.170.170.29 0.290.290.30.30.32 0.320.320.320.330.39 0.390.390.390.39Vγ0.10.10.10.10.10.17 0.170.170.180.180.27 0.270.270.270.280.29 0.290.290.290.29V SHnm0.25 0.250.250.250.260.34 0.350.350.350.360.41 0.410.410.410.420.54 0.540.540.540.55V SHδnm0.34 0.330.340.350.350.41 0.410.410.410.410.47 0.470.470.480.480.61 0.610.610.660.66V SHθnm0.23 0.220.220.220.230.37 0.370.370.370.380.44 0.440.440.440.450.55 0.550.550.550.56V SHαnm0.20.20.190.20.20.34 0.340.340.340.360.38 0.380.380.380.380.50.50.50.50.51V SHβnm0.17 0.170.160.160.170.29 0.290.290.290.290.33 0.330.330.330.340.40.40.40.40.41V SHγnm0.09 0.10.10.10.10.18 0.180.180.180.180.28 0.280.280.280.30.30.30.30.30.31V H2nm0.25 0.250.260.260.260.35 0.350.350.350.360.42 0.420.420.420.430.55 0.550.550.550.57V H2δnm0.34 0.330.340.340.350.41 0.410.410.410.410.48 0.480.480.480.490.62 0.620.620.620.65V H2θnm0.25 0.240.240.230.230.38 0.380.380.390.390.44 0.440.440.440.450.53 0.530.530.530.55V H2αnm0.22 0.20.20.20.220.36 0.360.360.360.360.38 0.380.380.380.390.51 0.510.510.510.51V H2βnm0.18 0.180.180.180.180.28 0.280.280.280.290.33 0.330.330.330.340.39 0.390.390.390.4V H2γnm0.11 0.110.110.110.110.16 0.160.160.160.170.20.20.20.20.20.19 0.190.190.190.19Vcom0.36 0.360.360.360.370.43 0.430.440.440.440.50.50.50.510.520.67 0.670.670.680.70■: 320 ms window, ■: 800 ms window, ■: 1200 ms window , ■: 1600 ms window; Note: Vcom : [Vδ; V SHδnm; V H2δnm]Fig. 7: Average PCC values w.r.t. subject dependent (SD) andsubject-independent (SI) training of the proposed network atdifferent window sizes (320 ms to 1600 ms).E. Robustness analysisThe robustness of the proposed network is analyzed hereinusing artifactual EEG signals. In particular, the pre-processingdid not include ICA decomposition-based artifact removal. Theproposed network is trained and tested using such signals.Mean PCC values obtained using without artifact (WOA) andwith artifact (WA) EEG signal are presented in Fig. 8. Asmall decrease of 0.06 in the PCC values may be observedwith artifact case that indicates the robustness of the proposedmodel.F. Trajectory estimation curvesThe proposed BiCurNet model is additionally evaluatedherein using actual motion trajectories. Fig. 9 illustrates theestimated and actual trajectories for subject I with windowsize varying between 800-1600 ms. 95% overlap is consideredFig. 8: Subject dependent average PCC values utilizing withand without artifactual EEG data for different window sizes.between two adjacent windows. It may be observed from thefigure that there is a considerable improvement in correlationwhen window size is increased. This results in trajectory closerto the ground truth. Ability of the proposed network to followthe trajectory pattern for all windows indicates the learningcapability of the network.V. CONCLUSIONA deep learning-based paradigm for early estimation ofupper limb motion trajectory using EEG signal is proposedin this work. The EEG is collected while performing bicepscurl movement. The proposed BiCurNet model is built usinga light-weight architecture with depth-wise separable con-volution layers and customized attention module. The inputfeatures to the model are taken in computationally moreefficient spherical and head harmonics domain in addition tospatio-temporal data. The extensive performance evaluation
0.70.60.5PCC0.40.3SDSIMeanoversubjects0.70.6IWOAIWA0.50.4CCP0.30.20.10320 ms800ms1200ms1600msWindow size9Fig. 9: Actual and predicted trajectories of subject 1 (Early prediction, before 40 ms).of the proposed network on in-house recorded EEG signalsdemonstrates its effectiveness in early estimation. Performanceevaluation includes subject (in)dependent study. the noiseawareness of the proposed network is also demonstrated byusing the artifactual EEG signals for training. Robustness ofthe proposed network is demonstrated by using the artifactualEEG signals for training. The proposed network being com-putationally efficient, and noise-aware, makes it suitable foruse in real-time BCI applications. Real-time implementationof the proposed network for an exosuit control is currentlybeing explored.ACKNOWLEDGMENTThis research work was supported in part by DRDO - JATCproject with project number RP04191G.REFERENCES[1] J. R. Wolpaw and E. W. Wolpaw, “Brain-computer interfaces: somethingnew under the sun,” Brain-computer interfaces: principles and practice,vol. 14, 2012.[2] S. Gong, K. Xing, A. Cichocki, and J. Li, “Deep learning in EEG:Advance of the last ten-year critical period,” IEEE Transactions onCognitive and Developmental Systems, 2021.[3] S. Aggarwal and N. Chugh, “Review of machine learning techniquesfor EEG based brain computer interface,” Archives of ComputationalMethods in Engineering, pp. 1–20, 2022.[4] A. Chowdhury, H. Raza, Y. K. Meena, A. Dutta, and G. Prasad, “On-line covariate shift detection-based adaptive brain-computer interfaceto trigger hand exoskeleton feedback for neuro-rehabilitation,” IEEETransactions on Cognitive and Developmental Systems, vol. 10, no. 4,pp. 1070–1080, 2017.[5] H. Raza, A. Chowdhury, and S. Bhattacharyya, “Deep learning basedprediction of EEG motor imagery of stroke patients’ for neuro-rehabilitation application,” in 2020 International Joint Conference onNeural Networks (IJCNN).IEEE, 2020, pp. 1–8.[6] P. Di Lillo, F. Arrichiello, D. Di Vito, and G. Antonelli, “BCI-controlledassistive manipulator: developed architecture and experimental results,”IEEE Transactions on Cognitive and Developmental Systems, vol. 13,no. 1, pp. 91–104, 2020.[7] X. Li, L. Wang, S. Miao, Z. Yue, Z. Tang, L. Su, Y. Zheng, X. Wu,S. Wang, J. Wang et al., “Sensorimotor Rhythm-Brain Computer Inter-face With Audio-Cue, Motor Observation and Multisensory Feedbackfor Upper-Limb Stroke Rehabilitation: A Controlled Study,” Frontiersin Neuroscience, vol. 16, 2022.[8] R. Sosnik and O. B. Zur, “Reconstruction of hand, elbow and shoulderactual and imagined trajectories in 3d space using eeg slow corticalpotentials,” Journal of neural engineering, vol. 17, no. 1, p. 016065,2020.[9] N. Robinson, T. W. J. Chester, and K. Smitha, “Use of mobile EEG indecoding hand movement speed and position,” IEEE Transactions onHuman-Machine Systems, vol. 51, no. 2, pp. 120–129, 2021.[10] A. Jain and L. Kumar, “PreMovNet: Premovement EEG-Based HandKinematics Estimation for Grasp-and-Lift Task,” IEEE Sensors Letters,vol. 6, no. 7, pp. 1–4, 2022.[11] M. Saini, U. Satija, and M. D. Upadhayay, “One-dimensional convo-lutional neural network architecture for classification of mental tasksfrom electroencephalogram,” Biomedical Signal Processing and Control,vol. 74, p. 103494, 2022.[12] A. Jain and L. Kumar, “Subject-Independent 3D Hand KinematicsReconstruction using Pre-Movement EEG Signals for Grasp And LiftTask,” arXiv preprint arXiv:2209.01932, 2022.[13] P. S. Hammon, S. Makeig, H. Poizner, E. Todorov, and V. R. De Sa,“Predicting reaching targets from human EEG,” IEEE Signal ProcessingMagazine, vol. 25, no. 1, pp. 69–77, 2007.[14] R. Sosnik and L. Zheng, “Reconstruction of hand, elbow and shoulderactual and imagined trajectories in 3D space using EEG current sourcedipoles,” Journal of Neural Engineering, vol. 18, no. 5, p. 056011, 2021.[15] J.-H. Kim, F. Bießmann, and S.-W. Lee, “Decoding three-dimensionaltrajectory of executed and imagined arm movements from electroen-cephalogram signals,” IEEE Transactions on Neural Systems and Reha-bilitation Engineering, vol. 23, no. 5, pp. 867–876, 2014.[16] L. Yang, H. Leung, M. Plank, J. Snider, and H. Poizner, “EEG activityduring movement planning encodes upcoming peak speed and acceler-ation and improves the accuracy in predicting hand kinematics,” IEEEjournal of biomedical and health informatics, vol. 19, no. 1, pp. 22–28,2014.[17] Y. Nakanishi, T. Yanagisawa, D. Shin, H. Kambara, N. Yoshimura,M. Tanaka, R. Fukuma, H. Kishima, M. Hirata, and Y. Koike, “MappingECoG channel contributions to trajectory and muscle activity predictionin human sensorimotor cortex,” Scientific reports, vol. 7, no. 1, pp. 1–13,2017.[18] N. A. Bhagat, A. Venkatakrishnan, B. Abibullaev, E. J. Artz, N. Yoz-batiran, A. A. Blank, J. French, C. Karmonik, R. G. Grossman, M. K.O’Malley et al., “Design and optimization of an EEG-based brain ma-chine interface (BMI) to an upper-limb exoskeleton for stroke survivors,”Frontiers in neuroscience, vol. 10, p. 122, 2016.[19] M. Mahmoodi, B. Makkiabadi, M. Mahmoudi, and S. Sanei, “A newmethod for accurate detection of movement intention from singlechannel EEG for online BCI,” Computer Methods and Programs inBiomedicine Update, vol. 1, p. 100027, 2021.[20] R. Gatti, Y. Atum, L. Schiaffino, M. Jochumsen, and J. Biurrun Manresa,“Decoding kinetic features of hand motor preparation from single-trial EEG using convolutional neural networks,” European Journal ofNeuroscience, vol. 53, no. 2, pp. 556–570, 2021.[21] J.-H. Jeong, K.-H. Shim, D.-J. Kim, and S.-W. Lee, “Brain-controlledrobotic arm system based on multi-directional CNN-BiLSTM networkusing EEG signals,” IEEE Transactions on Neural Systems and Reha-bilitation Engineering, vol. 28, no. 5, pp. 1226–1238, 2020.[22] S. Pancholi, A. Giri, A. Jain, L. Kumar, and S. Roy, “Source awaredeep learning framework for hand kinematic reconstruction using EEGsignal,” IEEE Transactions on Cybernetics, 2022.[23] K. Kumarasinghe, N. Kasabov, and D. Taylor, “Brain-inspired spikingneural networks for decoding and understanding muscle activity andkinematics from electroencephalography signals during hand move-ments,” Scientific reports, vol. 11, no. 1, pp. 1–15, 2021.[24] J. W. Peirce, “PsychoPy—psychophysics software in Python,” Journalof neuroscience methods, vol. 162, no. 1-2, pp. 8–13, 2007.[25] A. Delorme and S. Makeig, “EEGLAB: an open source toolbox foranalysis of single-trial EEG dynamics including independent componentanalysis,” Journal of neuroscience methods, vol. 134, no. 1, pp. 9–21,2004.
Window size: 800 msWindow size: 1200 msWindow size: 1600 msTruePredicted1010100.90.90.90.80.80.8Angle0.7 0.70.7 0.60.50.50.50.4 PCC0.4PCC0.4 PCC0.450.3 0.3 0.52EO0.600.2 0.20.2 2505007501000125015001750200002505007501000125015001750200075010001250150017502000SamplesSamplesSamples10[26] A. K. Maddirala and K. C. Veluvolu, “ICA with CWT and k-meansfor Eye-blink Artifact Removal from Fewer Channel EEG,” IEEETransactions on Neural Systems and Rehabilitation Engineering, 2022.[27] J. Mazziotta, A. Toga, A. Evans, P. Fox, J. Lancaster, K. Zilles,R. Woods, T. Paus, G. Simpson, B. Pike et al., “A probabilistic atlasand reference system for the human brain: International Consortiumfor Brain Mapping (ICBM),” Philosophical Transactions of the RoyalSociety of London. Series B: Biological Sciences, vol. 356, no. 1412,pp. 1293–1322, 2001.[28] A. Gramfort, T. Papadopoulo, E. Olivi, and M. Clerc, “OpenMEEG:opensource software for quasistatic bioelectromagnetics,” Biomedicalengineering online, vol. 9, no. 1, pp. 1–20, 2010.[29] R. D. Pascual-Marqui et al., “Standardized low-resolution brain elec-tromagnetic tomography (sLORETA): technical details,” Methods FindExp Clin Pharmacol, vol. 24, no. Suppl D, pp. 5–12, 2002.[30] M. Saini, U. Satija, and M. D. Upadhayay, “Discriminatory featuresbased on wavelet energy for effective analysis of electroencephalogramduring mental tasks,” Circuits, Systems, and Signal Processing, pp. 1–29,2022.[31] S. G. Mallat, “A theory for multiresolution signal decomposition: thewavelet representation,” IEEE transactions on pattern analysis andmachine intelligence, vol. 11, no. 7, pp. 674–693, 1989.[32] A. Giri, L. Kumar, and T. K. Gandhi, “Brain source localization inhead harmonics domain,” IEEE Transactions on Instrumentation andMeasurement, vol. 70, pp. 1–10, 2020.[33] S. Woo, J. Park, J.-Y. Lee, and I. S. Kweon, “Cbam: Convolutionalblock attention module,” in Proceedings of the European conference oncomputer vision (ECCV), 2018, pp. 3–19.[34] M. P´erez-Enciso and L. M. Zingaretti, “A guide on deep learning forcomplex trait genomic prediction,” Genes, vol. 10, no. 7, p. 553, 2019.[35] Z. Jiao, X. Gao, Y. Wang, J. Li, and H. Xu, “Deep convolutional neuralnetworks for mental load classification based on EEG data,” PatternRecognition, vol. 76, pp. 582–595, 2018.[36] H. Wu and X. Gu, “Towards dropout training for convolutional neuralnetworks,” Neural Networks, vol. 71, pp. 1–10, 2015.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631arXiv:2301.12142v1 [math.DG] 28 Jan 2023THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRASHUI ZHANG AND ZAILI YANAbstract. We consider the moment map m : PVn → iu(n) for the action of GL(n) on Vn = ⊗2(Cn)∗ ⊗ Cn,and study the critical points of the functional Fn = ∥m∥2 : PVn → R. Firstly, we prove that [µ] ∈ PVn is acritical point if and only if Mµ = cµI + Dµ for some cµ ∈ R and Dµ ∈ Der(µ), where m([µ]) =Mµ∥µ∥2 . Then weshow that any algebra µ admits a Nikolayevsky derivation φµ which is unique up to automorphism, and ifmoreover, [µ] is a critical point of Fn, then φµ = − 1cµ Dµ. Secondly, we characterize the maxima and minimaof the functional Fn : An → R, where An denotes the projectivization of the algebraic varieties of all n-dimensional associative algebras. Furthermore, for an arbitrary critical point [µ] of Fn : An → R, we alsoobtain a description of the algebraic structure of [µ]. Finally, we classify the critical points of Fn : An → Rfor n = 2, 3, respectively.1. IntroductionLauret has studied the moment map for the variety of Lie algebras and obtained many remarkableresults in [7], which turned out to be very important in proving that every Einstein solvmanifold isstandard ([9]) and in the characterization of solitons ([1, 10]). Apart from the Lie algebras, the studyof the moment map in other classes of algebras was also initiated by Lauret, see [11] for more details.Motivated by this, the authors have recently extended the study of the moment map to the variety of3-Lie algebras (see [17]).In this paper, we study the moment map for the variety of associative algebras. Let GL(n) be thecomplex reductive Lie group acting naturally on the complex vector space Vn = ⊗2(Cn)∗ ⊗ Cn, i.e., thespace of all n-dimensional complex algebras. The usual Hermitian inner product on Cn naturally inducesan U(n)-invariant Hermitian inner product on Vn, which is denoted by ⟨·, ·⟩. Since gl(n) = u(n) + iu(n),we may define a function as followsm : PVn → iu(n),(m([µ]), A) = (dρµ)eA∥µ∥2,0 � µ ∈ Vn, A ∈ iu(n),where (·, ·) is an Ad(U(n))-invariant real inner product on iu(n), and ρµ : GL(n) → R is defined byρµ(g) = ⟨g.µ, g.µ⟩. The function m is the moment map from symplectic geometry, corresponding to theHamiltonian action U(n) of Vn on the symplectic manifold PVn (see [4, 12]). In this paper, we study thecritical points of the functional Fn = ∥m∥2 : PVn → R, with an emphasis on the critical points that lie inthe projectivization of the algebraic variety of all n-dimensional associative algebras An.2010 Mathematics Subject Classification. 14L30, 17B30, 53D20.Key words and phrases. Moment map; Variety of associative algebras; Critical point.This work is supported by NSFC (Nos. 11701300, 11626134) and K.C. Wong Magna Fund in Ningbo University.1
2HUI ZHANG AND ZAILI YANThe paper is organized as follows: In Sect. 2, we recall some basic concepts and results of complexassociative algebras.In Sect. 3, we first give the explicit expression of the moment map m : PVn → iu(n) in terms of Mµ,that is, m([µ]) = Mµ∥µ∥2 for any [µ] ∈ PVn. Then we show that [µ] ∈ PVn is a critical point of Fn if and onlyif Mµ = cµI + Dµ for some cµ ∈ R and Dµ ∈ Der(µ) (Thm. 3.3).In Sect. 4, we first show that any algebra µ ∈ Vn admits a Nikolayevsky derivation φµ which is uniqueup to automorphism, the eigenvalues of φµ are necessarily rational, and moreover, φµ = − 1cµ Dµ if [µ]is a critical point of Fn (Thm. 4.1). Then we study the extremal points of Fn : An → R, proving thatthe minimum value is attained at semisimple associative algebras (Thm. 4.6), and the maximum value atthe direct sum of a two-dimensional commutative associative algebra with the trivial algebra (Thm. 4.9).In the context of Lie algebras ([7]), Lauret proved that any µ for which there exists [λ] ∈ GL(n).[µ]such that all eigenvalues of Mλ are negative, must be semisimple, and we prove that this result alsoholds for associative algebras (Remark 4.7). Besides, the structure for an arbitrary critical point [µ] ofFn : An → R is discussed (Thm. 4.10 and Thm. 4.12).In Sect. 5, we classify the critical points of Fn : An → R for n = 2, 3. It shows that every two-dimensional associative algebra is isomorphic to a critical point of F2; and there exists only one three-dimensional associative algebra which is not isomorphic to any critical point of F3. Finally, based on thediscussion in previous sections, we collect some natural and interesting questions.2. PreliminariesIn this section, we recall some basic definitions and results of associative algebras. The ambient fieldis always assumed to be the complex number field C unless otherwise stated.Definition 2.1. A vector space A over C with a bilinear operation A × A → A, denoted by (x, y) �→ xy,is called an associative algebra, ifx(yz) = (xy)zfor all x, y, z ∈ A.A derivation of an associative algebra A is a linear transformation D : A → A satisfyingD(xy) = (Dx)y + x(Dy),for x, y ∈ A. It is easy to see that the set of all derivations of A is a Lie algebra, which is denoted byDer(A). A vector subspace I of A is called an ideal if AI, IA ⊂ I.
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS3Definition 2.2. Let A be an associative algebra. The center of A is defined by C(A) = {x ∈ A : xy =yx, ∀y ∈ A}. The annihilator of A is defined by ann(A) = {x ∈ A : xy = yx = 0, ∀y ∈ A}.Clearly, C(A) is a subalgebra of A, and ann(A) is an ideal of A.Definition 2.3. Let I be an ideal of an associative algebra. Then I is called nilpotent, if Ik = 0 for someinteger k ≥ 1, where Ik = I· · ·I· · ·I����������k.If I, J are any two nilpotent ideals of an associative algebra A, then I + J is also a nilpotent ideal. Sothe maximum nilpotent ideal of A is unique, which is called the radical and denoted by N(A).Remark 2.4. Note that N(A) coincides with the Jacobson radical of A since A is an associative algebraover C. Moreover, N(A) = {x ∈ A : xy, yx are nilpotent elements for any y ∈ A}.Definition 2.5. Let A be an associative algebra. If A has no ideals except itself and 0, we call A simple.Denote by Mn(C) the set of all n × n complex square matrices, which is clearly an associative algebrawith respect to the usual matrix addition and multiplication. In fact, Mn(C) is a simple associative algebrafor any n ≥ 1. Moreover, it follows from Wedderburn-Artin theorem that any finite-dimensional simpleassociative algebra over C is isomorphic to Mn(C) for some integer n ≥ 1 ([15]).An associative algebra A is called semisimple if its radical N(A) is zero. The following theorem iswell known.Theorem 2.6 ([15]). An associative algebra over C is semisimple if and only if it is a direct sum of simpleideals. That is, a semisimple associative algebra is isomorphic to Mn1(C) × Mn2(C) × · · · × Mns(C) forsome positive integers n1, n2, · · · , ns.3. The moment map for complex algebrasLet Cn be the n-dimensional complex vector space and Vn = ⊗2(Cn)∗ ⊗ Cn be the space of all complexn-dimensional algebras. The natural action of GL(n) = GL(Cn) on Vn is given byg.µ(X, Y) = gµ(g−1X, g−1Y),g ∈ GL(n), X, Y ∈ Cn.(3.1)Clearly, GL(n).µ is precisely the isomorphism class of µ. Note thatlimt→∞ gt.µ = 0,gt = tI ⊂ GL(n), t > 0,we see that 0 lies in the boundary of the orbit GL(n).µ for each µ ∈ Vn. By differentiating (3.1), we obtainthe natural action gl(n) on Vn, i.e.,A.µ(X, Y) = Aµ(X, Y) − µ(AX, Y) − µ(X, AY),A ∈ gl(n), µ ∈ Vn.(3.2)
4HUI ZHANG AND ZAILI YANIt follows that A.µ = 0 if and only if A ∈ Der(µ), where Der(µ) denotes the derivation algebra of µ.Note that the usual Hermitian inner product on Cn gives an U(n)-invariant Hermitian inner product onVn as follows⟨µ, λ⟩ =�i, j,k⟨µ(Xi, X j), Xk⟩⟨λ(Xi, X j), Xk⟩,µ, λ ∈ Vn,(3.3)where {X1, X2, · · · , Xn} is an arbitrary orthonormal basis of Cn. Let u(n) denote the Lie algebra of U(n),then it is easy to see that gl(n) = u(n) + iu(n) decomposes into skew-Hermitian and Hermitian transfor-mations of Vn, respectively. Moreover, there is an Ad(U(n))-invariant Hermitian inner product on gl(n)given by(A, B) = tr AB∗, A, B ∈ gl(n).(3.4)The moment map from symplectic geometry, corresponding to the Hamiltonian action of U(n) on thesymplectic manifold PVn, is defined as followsm : PVn → iu(n),(m([µ]), A) = (dρµ)eA∥µ∥2,0 � µ ∈ Vn, A ∈ iu(n),(3.5)where ρµ : GL(n) → R is given by ρµ(g) = ⟨g.µ, g.µ⟩. Clearly, (dρµ)eA = ⟨A.µ, µ⟩ + ⟨µ, A.µ⟩ = 2⟨A.µ, µ⟩for any A ∈ iu(n). The square norm of the moment map is denoted byFn : PVn → R,(3.6)where Fn([µ]) = ∥m([µ])∥2 = (m([µ]), m([µ])) for any [µ] ∈ PVn.In order to express the moment map m explicitly, we define Mµ ∈ iu(n) as followsMµ = 2�iLµXi(LµXi)∗ − 2�i(LµXi)∗LµXi − 2�i(RµXi)∗RµXi,(3.7)where the left and right multiplication LµX, RµX : Cn → Cn by X of the algebra µ, are given by LµX(Y) =µ(X, Y) and RµX(Y) = µ(Y, X) for all Y ∈ Cn, respectively. It is not hard to prove that⟨MµX, Y⟩ =2�i, j⟨µ(Xi, X j), X⟩⟨µ(Xi, X j), Y⟩ − 2�i, j⟨µ(Xi, X), X j⟩⟨µ(Xi, Y), X j⟩− 2�i, j⟨µ(X, Xi), X j⟩⟨µ(Y, Xi), X j⟩(3.8)for X, Y ∈ Cn. Note that if the algebra µ is commutative or anticommutative, then the second and thirdterm of (3.8) are the same, and in this case, Mµ coincides with [7].Lemma 3.1. For any µ ∈ Vn, we have (Mµ, A) = 2⟨µ, A.µ⟩, ∀A ∈ gl(n) = u(n) + iu(n). In particular,m([µ]) = Mµ∥µ∥2 for any 0 � µ ∈ Vn
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS5Proof. For any A ∈ gl(n), we have (A, Mµ) = tr AM∗µ = tr AMµ = tr MµA, andtr MµA = 2 tr�iLµXi(LµXi)∗A��������������������������������������I− 2 tr�i((LµXi)∗LµXi + (RµXi)∗RµXi)A��������������������������������������������������������������������������II=: I − II.Note thatI =2�itr LµXi(LµXi)∗A=2�itr(LµXi)∗ALµXi=2�i, j⟨(LµXi)∗ALµXi(X j), X j⟩=2�i, j⟨Aµ(Xi, X j), µ(Xi, X j)⟩,andII =2 tr�i((LµXi)∗LµXi + (RµXi)∗RµXi)A=2�i, j⟨((LµXi)∗LµXi + (RµXi)∗RµXi)AX j, X j⟩=2�i, j⟨µ(Xi, AX j), µ(Xi, X j)⟩ − 2�i, j⟨µ(AX j, Xi), µ(X j, Xi)⟩=2�i, j⟨µ(AXi, X j) + µ(Xi, AX j), µ(Xi, X j)⟩.By (3.2), it follows that (A, Mµ) = tr MµA = 2⟨A.µ, µ⟩, so (Mµ, A) = 2⟨µ, A.µ⟩ for any A ∈ gl(n). Thisproves the first statement. For A ∈ iu(n), we have ⟨A.µ, µ⟩ = ⟨µ, A.µ⟩. By (3.5), we conclude thatm([µ]) = Mµ∥µ∥2 for any 0 � µ ∈ Vn. This completes proof Lemma 3.1□Corollary 3.2. For any µ ∈ Vn, then(i) tr MµD = 0 for any D ∈ Der(µ);(ii) tr Mµ[A, A∗] ≥ 0 for any A ∈ Der(µ), and equality holds if and only if A∗ ∈ Der(µ).Proof. For (i), it follows from Lemma 3.1 that tr MµD = 2⟨D.µ, µ⟩. For (ii), it follows from that tr Mµ[A, A∗] =2⟨[A, A∗].µ, µ⟩ = 2⟨A∗.µ, A∗.µ⟩ ≥ 0, ∀A ∈ Der(µ), and the fact A∗.µ = 0 if and only if A∗ ∈ Der(µ).□Theorem 3.3. The moment map m : PVn → iu(n), the functional square norm of the moment mapFn = ∥m∥2 : PVn → R and the gradient of Fn are, respectively, given byFn([µ]) =tr M2µ∥µ∥4 ,grad(Fn)[µ] = 8π∗(Mµ).µ∥µ∥4,[µ] ∈ PVn,(3.9)
6HUI ZHANG AND ZAILI YANwhere π∗ denotes the derivative of π : Vn\{0} → PVn, the canonical projection. Moreover, the followingstatements are equivalent:(i) [µ] ∈ PVn is a critical point of Fn.(ii) [µ] ∈ PVn is a critical point of Fn|GL(n).[µ].(iii) Mµ = cµI + Dµ for some cµ ∈ R and Dµ ∈ Der(µ).Proof. By (3.6) and Lemma 3.1, we have Fn([µ]) =tr M2µ∥µ∥4 for any [µ] ∈ PVn. To prove the second one, weonly need to compute the gradient of Fn : Vn \ {0} → R, Fn(µ) =tr M2µ∥µ∥4 , and then to project it via π∗. Ifµ, λ ∈ Vn with µ � 0, thenRe⟨grad(Fn)µ, λ⟩ = ddt�����t=0Fn(µ + tλ) = ddt�����t=01∥µ + tλ∥4 (Mµ+tλ, Mµ+tλ)= − 4 Re⟨Fn(µ)∥µ∥2 µ, λ⟩ +2∥µ∥4 ( ddt�����t=0Mµ+tλ, Mµ)We claim that ( ddt���t=0 Mµ+tλ, A) = 4 Re⟨A.µ, λ⟩ for any A ∈ iu(n). Indeed, by Lemma 3.1, ( ddt���t=0 Mµ+tλ, A) =ddt���t=0 (Mµ+tλ, A) = 2 ddt���t=0 ⟨µ + tλ, A.(µ + tλ)⟩ = 2⟨λ, A.µ⟩ + 2⟨µ, A.λ⟩ = 4 Re⟨A.µ, λ⟩ for any A ∈ iu(n).It follows that grad(Fn)µ = −4 Fn(µ)∥µ∥2 µ + 8(Mµ).µ∥µ∥4 , and consequentelygrad(Fn)[µ] = 8π∗(Mµ).µ∥µ∥4.Thus the first part of the theorem is proved, and the following is to prove the equivalence among thestatements (i), (ii) and (iii).(i) ⇔ (ii) : The equivalence follows from that grad(Fn) is tangent to the GL(n)-orbits. Indeedgrad(Fn)[µ] = 8π∗(Mµ).µ∥µ∥4=8∥µ∥4 π∗( ddt�����t=0etMµ.µ) =8∥µ∥4ddt�����t=0etMµ.[µ] ∈ T[µ](GL(n).[µ]).(iii) ⇒ (i) : By (3.2), we know that I.µ = −µ, and (Mµ).µ = (cµI + Dµ).µ = −cµµ. It follows thatgrad(Fn)[µ] = 0.(i) ⇒ (iii) : Since grad(Fn)[µ] = 0, then (Mµ).µ ∈ ker π∗µ = Cµ. So Mµ = cI + D for some c ∈ C andD ∈ Der(µ). Clearly [D, D∗] = [Mµ − cI, Mµ − ¯cI] = 0, we conclude by Corollary 3.2 that D∗ is also aderivation of µ. In particular, (c − ¯c)I = (D∗ − D) ∈ Der(µ), thus c = ¯c ∈ R.□Remark 3.4. Let [µ] be a critical point of Fn and [λ] be a critical point of Fm, then [µ ⊕ cλ] is a criticalpoint of Fn+m for a suitable c ∈ C. Indeed, assume that Mµ = cµI + Dµ for some cµ ∈ R, Dµ ∈ Der(µ),and Mλ = cλI +Dλ for some cλ ∈ R, Dλ ∈ Der(λ). Noting that Mtλ = |t|2Mλ for any t ∈ C, we can chooset0 such that cµ = |t0|2cλ, then it follows that [µ ⊕ t0λ] is a critical point of Fn+m.In the frame of algebras, a remarkable result due to Ness can be stated as followsTheorem 3.5 ([12]). If [µ] is a critical point of the functional Fn : PVn → R, then
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS7(i) Fn|GL(n).[µ] attains its minimum value at [µ].(ii) [λ] ∈ GL(n).[µ] is a critical point of Fn if and only if [λ] ∈ U(n).[µ].In fact, the above theorem implies that up to U(n)-orbit, GL(n).[µ] contains at most one critical pointfor each [µ] ∈ PVn.Lemma 3.6. Let [µ] ∈ PVn be a critical point of Fn with Mµ = cµI+Dµ for some cµ ∈ R and Dµ ∈ Der(µ).Then we have(i) cµ =tr M2µtr Mµ = − 12tr M2µ∥µ∥2 < 0.(ii) If tr Dµ � 0, then cµ = −tr D2µtr Dµ and tr Dµ > 0.Proof. Since Mµ = cµI + Dµ, by Lemma 3.1 and Corollary 3.2 we havetr Mµ = (Mµ, I) = 2⟨µ, I.µ⟩ = −2∥µ∥2 < 0,tr M2µ = tr Mµ(cµI + Dµ) = cµ tr Mµ.So cµ =tr M2µtr Mµ = − 12tr M2µ∥µ∥2 < 0. If tr Dµ � 0, then0 = tr MµDµ = cµ tr Dµ + tr D2µ.So cµ = −tr D2µtr Dµ and tr Dµ > 0.□Remark 3.7. In fact, tr Dµ = 0 if and only if Dµ = 0. Indeed, it follows from that 0 = tr MµDµ =cµ tr Dµ + tr D2µ and Dµ is Hermitian.4. The critical points of the variety of associative algebrasThe space An of all n-dimensional associative algebras is an algebraic set since it is given by polyno-mial conditions. Denote by An the projective algebraic variety obtained by projectivization of An . Notethat An is GL(n)-invariant, then by Theorem 3.3, the critical points of Fn : An → R are precisely thecritical points of Fn : PVn → R that lie in An.4.1. The Nikolayevsky derivation and the rationality. A derivation of φ of an algebra (µ, Cn) is calleda Nikolayevsky derivation, if it is semisimple with all eigenvalues real, and tr φψ = tr ψ for any ψ ∈Der(µ). This notion is motivated by [14].Theorem 4.1. Let (µ, Cn) be an arbitrary algebra. Then(1) (µ, Cn) admits a Nikolayevsky derivation φµ.(2) The Nikolayevsky derivation φµ is determined up to automorphism of µ.(3) All eigenvalues of φµ are rational numbers.
8HUI ZHANG AND ZAILI YANIf moreover, [µ] is a critical point of Fn : PVn → R with Mµ = cµI+Dµ for some cµ ∈ R and Dµ ∈ Der(µ),then − 1cµ Dµ is the Nikolayevsky derivation of µ.Proof. (1) The complex Lie algebra Der(µ) is algebraic. Let Der(µ) = s ⊕ t ⊕ n be its Levi-Mal’cevdecomposition, where s is semisimple, t ⊕ n is the radical of Der(µ), n is the set of all nilpotent elementsin t ⊕ n (and is the nilradical of t ⊕ n), t is an abelian subalgebra consisting of semisimple elements, and[s, t] = 0. Define the bilinear form B on Der(µ) byB(ψ1, ψ2) := tr ψ1ψ2,∀ψ1, ψ2 ∈ Der(µ).Then, in general, B is degenerate, and Ker B = n. Since s is semisimple, then B(s, t) = B([s, s], t) =B(s, [s, t]) = 0. Clearly, B is nondegenerate on t. Since t is reductive, we have t = a + ia, where a consistsof semisimple elements with all eigenvalues real. It follows that there exists a unique element φ ∈ a suchthat B(φ, ψ) = tr ψ for any ψ ∈ t. Thus tr φψ = tr ψ for any ψ ∈ Der(µ).(2) The subalgebra s ⊕ t is a maximal fully reducible subalgebra of Der(µ). Since the maximal fullyreducible subalgebras of Der(µ) are conjugate by inner automorphism of Der(µ) (which corresponds toan automorphism of µ), and then the center t of s ⊕ t, is defined uniquely, up to automorphism. So theNikolayevsky derivation is determined up to automorphism of µ.(3) The case φµ = 0 is trivial. In the following, we assume that φµ is nonzero. Note that φµ issimisimple with all eigenvalues real, we have the following decompositionCn = l1 ⊕ l2 ⊕ · · · ⊕ lr,where li = {X ∈ Cn|φµX = ciX} are eigenspaces of φµ corresponding to eigenvalues c1 < c2 < · · · < cr ∈R, respectively. Set di = dim li ∈ N, 1 ≤ i ≤ r. Since φµ is a derivation, we have the following relationsµ(li, lj) ⊂ lkif ci + cj = ck,for all 1 ≤ i, j, k ≤ r. Conversely, if we define a linear transformation ψ : Cn → Cn by ψ|li = aiIdli,where a1, a2, · · · , ar ∈ R satisfy ai + aj = ak for all 1 ≤ i, j, k ≤ r such that ci + cj = ck, then ψ isa derivation of µ. Clearly, all such derivations form a real vector space, which can be identified withW := {(w1, w2, · · · , wr) ∈ Rr|wi + w j = wk if ci + cj = ck}. We endow Rr with the usual inner product, i.e.⟨x, y⟩ =�ixiyi,(4.1)for any x = (x1, x2, · · · , xr), y = (y1, y2, · · · , yr) ∈ Rr.For any derivation ψ ∈ W, we havetr(φµ − I)ψ = tr φµψ − tr ψ = 0.
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS9Then we see that (d1(c1 − 1), d2(c2 − 1), · · · , dr(cr − 1)) ⊥ W relative to (4.1). Put F := W⊥, then bydefinition we haveF = span1≤i, j,k≤r{ei + ej − ek : ci + cj = ck},where ei belongs to Rr having 1 in the i-th position and 0 elsewhere. Let {ei1 +ej1 −ek1, · · · , eis +ejs −eks}be a basis of F, then(d1(c1 − 1), d2(c2 − 1), · · · , dr(cr − 1)) =s�p=1bp(eip + ejp − ekp),(4.2)for some b1, b2, · · · , bs ∈ R. PutE =ei1 + ej1 − ek1ei2 + ej2 − ek2...eis + ejs − eks∈ Zs×r,then EET ∈ GL(s, Z), and (EET)−1 ∈ GL(s, Q). By (4.2) and the definition of E, we haved1(c1 − 1)d2(c2 − 1)...dr(cr − 1)r×1= ETb1b2...bss×1, Ec1c2...crr×1=00...0s×1,E11...1r×1=11...1s×1.By the left multiplication of E on (4.2), we have00...0s×1−11...1s×1= ED−1ETb1b2...bss×1,where D = diag(d1, d2, · · · , dr). It is easy to see that (ED−1ET) ∈ GL(s, Q). ConsequentlyDc1 − 1c2 − 1...cr − 1r×1= −ET(ED−1ET)−111...1s×1,andc1c2...crr×1=11...1r×1− D−1ET(ED−1ET)−111...1s×1∈ Qr.So all eigenvalues of φµ are rational.For the last statement, by Corollary 3.2 we know that 0 = tr Mµψ = cµ tr ψ+tr Dµψ for any ψ ∈ Der(µ).Since Dµ is Hermitian, we conclude that − 1cµ Dµ is the Nikolayevsky derivation of µ.□By Theorem 4.1, it is easy to obtain the following theorem.
10HUI ZHANG AND ZAILI YANTheorem 4.2. Let [µ] ∈ PVn be a critical point of Fn : PVn → R with Mµ = cµI + Dµ for some cµ ∈ Rand Dµ ∈ Der(µ). Then there exists a constant c > 0 such that the eigenvalues of cDµ are integers primeto each other, say k1 < k2 < · · · < kr ∈ Z with multiplicities d1, d2, · · · , dr ∈ N.Definition 4.3. The data set (k1 < k2 < · · · < kr; d1, d2, · · · , dr) in Theorem 4.2 is called the type of thecritical point [µ].Proposition 4.4. Let [µ] ∈ PVn be a critical point of Fn with type α = (k1 < k2 < · · · < kr; d1, d2, · · · , dr).Then we have(i) If α = (0; n), then Fn([µ]) = 4n.(ii) If α � (0; n), then Fn([µ]) = 4�n − (k1d1+k2d2+···+krdr)2k21d1+k22d2+···+k2r dr�−1.Proof. We suppose that Mµ = cµI + Dµ, ∥µ∥ = 1. Since tr Mµ = −2⟨µ, µ⟩ = −2, thentr M2µ = tr Mµ(cµI + Dµ) = cµ tr Mµ = −2cµ,and Fn([µ]) = tr Mµ2∥µ∥4 = tr Mµ2 = −2cµ.For (i), we have Dµ = 0, so Mµ = cµI and cµn = tr Mµ = −2. Thus cµ = − 2n. Fn([µ]) = −2cµ = 4n.For (ii), we have Dµ � 0, and cµ = −tr D2µtr Dµ by Lemma 3.6 and Remark 3.7. Note thatFn([µ]) = tr Mµ2 = tr(cµI + Dµ)2 = c2µn + cµ tr Dµ = 14Fn([µ])2n − 12Fn([µ]) tr Dµ,so we have1Fn([µ]) = 14n −12Fn([µ]) tr(Dµ) = 14n + 14cµtr Dµ = 14n − (tr Dµ)2tr D2µ .It follows that Fn([µ]) = 4�n − (k1d1+k2d2+···+krdr)2k21d1+k22d2+···+k2r dr�−1.□4.2. The minima of Fn : An → R.Lemma 4.5. Assume [µ] ∈ PVn, then [µ] is a critical point of Fn : PVn → R with type (0; n) if and onlyif Fn([µ]) = 4n. Moreover, 4n is the minimum value of Fn : PVn → R.Proof. For any 0 � µ ∈ Vn, we use x1, x2, · · · , xn ∈ R denote the eigenvalues of Mµ. Note that tr Mµ =−2∥µ∥2, then we haveFn([µ]) = tr Mµ2∥µ∥4= 4 tr Mµ2(tr Mµ)2 = 4(x21 + x22 + · · · + x2n)(x1 + x2 + · · · + xn)2 .It is easy to see that Fn([µ]) ≥ 4n with equality holds if and only if x1 = x2 = · · · = xn. So [µ] is a criticalpoint of Fn : PVn → R with type (0; n) if only if Mµ is a constant multiple of I, if and only Fn attains itsminimum value 4n at [µ].□
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS11Theorem 4.6. The functional Fn : An → R attains its minimum value at a point [λ] ∈ GL(n).[µ] if andonly if µ is a semisimple associative algebra. In such a case, Fn([λ]) = 4n.Proof. Consider the simple associative algebra Mm(C) for an integer m > 0. We endow Mm(C) with thefollowing Hermitian inner product⟨A, B⟩ := tr AB∗, A, B ∈ Mm(C).(4.3)Then {Eij : 1 ≤ i, j ≤ m} is an orthonormal basis, where Eij denote the matrices having 1 in the (i, j)-position and 0 elsewhere. Set ν := (Mm(C), ⟨·, ·⟩). Clearly(LνA)∗ = LA∗,(RνA)∗ = RA∗for any A ∈ Mm(C). Thus by (3.7), we haveMν = 2�ijLνEij(LνEij)∗ − 2�ij(LνEij)∗LνEij − 2�ij(RνEij)∗RνEij= 2�ijLνEijLνEji − 2�ijLνEjiLνEij − 2�ijRνEjiRνEij= 2�ijLνEijEji − 2�ijLνEjiEij − 2�ijRνEijEji= 2m�iLνEii − 2m�iLνEii − 2m�iRνEii= 2mLνI − 2mLνI − 2mRνI= 2mIm2 − 2mIm2 − 2mIm2= −2mIm2.So [ν] is a critical point of type (0; m2). Since µ is a complex semisimple associative algebra, by Theo-rem 2.6, µ is isomorphic to Mn1(C) × Mn2(C) × · · · × Mns(C) for some positive integers n1, n2, · · · , ns. Itfollows from Remark 3.4 that there exists a point [λ] ∈ GL(n).[µ] such that [λ] is a critical point of type(0; n). So the functional Fn : An → R attains its minimum value at [λ], and Fn([λ]) = 4n by Lemma 4.5.Conversely, assume that Fn : An → R attains its minimum value at a point [λ] ∈ GL(n).[µ]. The firstpart of the proof implies that Mλ = cλI with cλ < 0. To prove µ is semisimple, it suffices to show thatL = (λ, Cn) is semisimple. Consider the following orthogonal decompositions: (i) L = H ⊕ N, whereN is the radical of λ; (ii) N = V ⊕ Z, where Z = {A ∈ N : λ(A, N) = λ(N, A) = 0} is the annihilatorof N. Clearly, Z is an ideal of L. We have L = H ⊕ V ⊕ Z. Suppose that Z � 0. Let {Hi}, {Vi}, {Zi} bean orthonormal basis of H, V, and Z, respectively. Put {Xi} = {Hi} ∪ {Vi} ∪ {Zi}. For any 0 � Z ∈ Z, by
12HUI ZHANG AND ZAILI YANhypothesis we have0 > ⟨MλZ, Z⟩ =2�ij|⟨λ(Xi, X j), Z⟩|2 − 2�ij|⟨λ(Z, Xi), X j⟩|2 − 2�ij|⟨λ(Xi, Z), X j⟩|2=2�ij�|⟨λ(Zi, H j), Z⟩|2 + |⟨λ(Hi, Z j), Z⟩|2�+ α(Z)− 2�ij|⟨λ(Z, Hi), Z j⟩|2 − 2�ij|⟨λ(Hi, Z), Z j⟩|2,where α(Z) = 2 �ij |⟨λ(Yi, Y j), Z⟩|2 ≥ 0, {Yi} = {Hi} ∪ {Vi}. This implies0 >�k⟨MλZk, Zk⟩ =�kα(Zk) ≥ 0,which is a contradiction. So Z = 0, and consequently, N = 0. Therefore L is a semisimple associativealgebra.This completes the proof of theorem.□Remark 4.7. In fact, by the proof of Theorem 4.6, we know that if [µ] ∈ An for which there exists[λ] ∈ GL(n).[µ] such that Mλ is negative definite, then µ is a semisimple associative algebra.4.3. The maxima of Fn : An → R. We say that an algebra λ degenerates to µ, write as λ → µ ifµ ∈ GL(n).λ, the closure of GL(n).λ with respect to the usual topology of Vn. The degeneration λ → µis called direct degeneration if there are no nontrivial chains: λ → ν → µ. The degeneration level of analgebra is the maximum length of chain of direct degenerations.Theorem 4.8 ([3]). An n-dimensional associative algebra is of degeneration level one if and only if it isisomorphic to one of the following(1) µl: µl(X1, Xi) = Xi, i = 1, · · · , n;(2) µr: µr(Xi, X1) = Xi, i = 1, · · · , n;(3) µca: µs(X1, X1) = X2,where {X1, · · · , Xn} is a basis.Theorem 4.9. The functional Fn : An → R attains its maximal value at a point [µ] ∈ Ln, n ≥ 3 if andonly if µ is isomorphic to the commutative associative algebra µca. In such a case, Fn([µ]) = 20.Proof. Assume that Fn : An → R attains its maximal value at a point [µ] ∈ An, n ≥ 3. By Theorem 3.3,we know that [µ] is also a critical of Fn : PVn → R. Then it follows Theorem 3.5 that Fn|GL(n).[µ] alsoattains its minimum value at a point [µ] , consequently Fn|GL.[µ] is a constant, soGL(n).[µ] = U(n).[µ](4.4)
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS13The relation (4.4) implies that the only non-trivial degeneration of µ is 0 ([8, Theorem 5.1] ), conse-quently the degeneration level of µ is 1.It is easy to see that the critical points [µl], [µr] are both of type (0 < 1; 1, n − 1), and [µca] is of type(3 < 5 < 6; 1, n − 2, 1). By Proposition 4.4, we knowFn([µca]) = 20 > 4 = Fn([µl]) = Fn([µr]).So the theorem is proved.□4.4. The structure for the critical points of Fn : An → R. In the following, we discuss the structurefor an arbitrary critical points of Fn : An → R by Theorem 4.2.Theorem 4.10. Let [µ] be a critical point of Fn : An → R with Mµ = cµI + Dµ of type (k1 < · · · <kr; d1, d2, · · · , dr), where cµ ∈ R and Dµ ∈ Der(µ). Consider the orthogonal decompositionCn = A− ⊕ A0 ⊕ A+,where A−, A0 and A+ denote the direct sum of eigenspaces of Dµ with eigenvalues smaller than zero,equal to zero and larger than zero, respectively. Then the following conditions hold:(i) ann(µ) ⊂ A+, where ann(µ) is the annihilator of µ(ii) A+ ⊂ N(µ), where N(µ) is the radical of µ.(iii) A− ⊂ (C(µ) ∩ N(µ)) \ ann(µ), where C(µ) is the center of µ.(iv) (LµA − RµA)∗ ∈ Der(µ) for any A ∈ A0. So the induced Lie algebra of A0 is reductive.Proof. For (i), assume that X ∈ ann(µ) and DµX = cX, then by (3.8)⟨MµX, X⟩ = 2�i, j|⟨µ(Xi, X j), X⟩|2 ≥ 0.Since Mµ = cµI + Dµ, then 0 ≤ ⟨MµX, X⟩ = (cµ + c)⟨X, X⟩. It follows from Lemma 3.6 that c ≥ −cµ > 0.This proves (i).For (ii), it is an immediate consequence of (iii) by Remark 2.4. Now, we prove (iii) as follows. Assumethat DµX = cX for some c < 0. Since cLµX = [Dµ, LµX], cRµX = [Dµ, RµX], thenc tr(LµX − RµX)(LµX − RµX)∗ = tr[Dµ, (LµX − RµX)](LµX − RµX)∗= tr[Mµ, (LµX − RµX)](LµX − RµX)∗= tr Mµ[(LµX − RµX), (LµX − RµX)∗].Noting that (LµX − RµX) ∈ Der(µ), by Corollary 3.2 we havec tr(LµX − RµX)(LµX − RµX)∗ ≥ 0.
14HUI ZHANG AND ZAILI YANIt follows that (LµX − RµX) = 0 since c < 0. So X ∈ C(µ). By Remark 2.4, it is easy to see that X ∈ N(µ).Using (i), we conclude A− ⊂ (C(µ) ∩ N(µ)) \ ann(µ). This proves (iii).For (iv), we first note that[Dµ, LµA] = LµDµA,[Dµ, RµA] = RµDµA,for any A ∈ A. If A ∈ A0, we have [Dµ, LµA] = [Dµ, RµA] = 0, and sotr Mµ[(LµA − RµA), (LµA − RµA)∗] = tr(cµI + Dµ)[(LµA − RµA), (LµA − RµA)∗]= tr Dµ[(LµA − RµA), (LµA − RµA)∗]= tr[Dµ, (LµA − RµA)](LµA − RµA)∗= 0.By Corollary 3.2, it follows that (LµA − RµA)∗ ∈ Der(µ) since (LµA − RµA) ∈ Der(µ). This proves (iv).□In the sequel, we give a description of the critical points in terms of those which are nilpotent. Let [λ]be a nilpotent critical point of Fm : Am → R. DefineL(λ) : = {Φ ∈ End(Cm) : Φ(λ(X, Y)) = λ(ΦX, Y)},R(λ) : = {Ψ ∈ End(Cm) : Ψ(λ(X, Y)) = λ(X, ΨY)}.Moreover, we set Γl = {Φ ∈ L(λ) : [Φ, Ψ] = 0, ∀Ψ ∈ R(λ)}, Γr = {Ψ ∈ R(λ) : [Φ, Ψ] = 0, ∀Φ ∈ L(λ)}, andΓ(λ) : = {(Φ, Ψ) ∈ Γl × Γr : λ(·, Φ(·)) = λ(Ψ(·), ·)}.For any (Φi, Ψi) ∈ Γ(λ), i = 1, 2, we define (Φ1, Ψ1)(Φ2, Ψ2) := (Φ1Φ2, Ψ2Ψ1). Then it follows that Γ(λ)is an associative algebra.Lemma 4.11. Assume that S ⊂ Γ(λ) is a subalgebra such that (Φ∗, Ψ∗) ∈ S for any (Φ, Ψ) ∈ S, then Sis a semisimple associative algebra.Proof. Note that S is an associative algebra of matrices, which are closed under conjugate transpose.Define an Hermitian inner product on S by⟨H1, H2⟩ := tr H1H∗2 = tr Φ1Φ∗2 + tr Ψ1Ψ∗2, ∀Hi = (Φi, Ψi) ∈ S, i = 1, 2.Then it follows that ⟨HH1, H2⟩ = ⟨H1, H∗H2⟩, ⟨H1H, H2⟩ = ⟨H1, H2H∗⟩ for any H, H1, H2 ∈ S. Let I bean ideal in S and I⊥ denote the orthogonal complement of I. Then it is easy to see that I⊥ is also an idealof S. Let S = R⊕N, where N is the radical of S and R = N⊥. It follows that R and N are both ideals ofS. Moreover, R is semisimple, and N is the annihilator of S (by considering the derived series). Since Sis an associative algebra of matrices which are closed under conjugate transpose, then HH∗ = 0 for anyH ∈ N, hence H = 0. So N = 0, and S is semisimple.□
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS15Theorem 4.12. Let [λ] be a nilpotent critical point of Fm : Am → R with Mλ = cλI + Dλ of type(k2 < · · · < kr; d2, · · · , dr), where cλ ∈ R and Dλ ∈ Der(λ). Assume that S ⊂ Γ(λ) is a subalgebra ofdimension d1 such that (Φ∗, Ψ∗) ∈ S, [Dλ, Φ] = [Dλ, Ψ] = 0 for any (Φ, Ψ) ∈ S. Consider the followingsemidirect sumµ = S ⋉ λ,whereµ((Φ1, Ψ1) + X1, (Φ2, Ψ2) + X2) := (Φ1Φ2, Ψ2Ψ1) + Φ1(X2) + Ψ2(X1) + X1X2,for any (Φ1, Ψ1), (Φ2, Ψ2) ∈ S, X1, X2 ∈ Cm. Then µ is an associative algebra. If we extend the Hermitianinner product on Cm by setting⟨H, K⟩ = − 2cλ(tr LSHLSK∗ + tr HK∗), H, K ∈ S,then [µ] is a critical point of type (0, k2 < · · · < kr; d1, d2, · · · , dr) for the functional Fn : An → R, wheren = d1 + m.Proof. For any H = (Φ, Ψ) ∈ S, we haveLµH =�LSH00Φ�,RµH =�RSH00Ψ�,where LµH, RµH (resp. LSH, RSH) denote the left and right multiplication by H of the algebra µ (resp. S),respectively. By Lemma 4.11, we know that S is a semisimple associative algebra. Then it followsthat there is an orthonormal basis {Hi = (Φi, Ψi)} ⊂ S such that Φi∗ = −Φi, Ψi∗ = −Ψi, and LµHi, RµHiare skew-Hermitian for each i. Let {Hi} ∪ {Xi} be an orthonormal basis of Cn = S ⊕ Cm. Then for anyH = (Φ, Ψ) ∈ S and X ∈ Cm, we have⟨MµX, H⟩ = −2�i, j⟨µ(Xi, X), X j⟩⟨µ(Xi, H), X j⟩ − 2�i, j⟨µ(X, Xi), X j⟩⟨µ(H, Xi), X j⟩= −2�i, j⟨λ(Xi, X), X j⟩⟨Ψ(Xi), X j⟩ − 2�i, j⟨λ(X, Xi), X j⟩⟨Φ(Xi), X j⟩= −2�i⟨λ(Xi, X), Ψ(Xi)⟩ − 2�i⟨λ(X, Xi), Φ(Xi)⟩= −2 tr Ψ∗RλX − 2 tr Φ∗LλX= −2 tr RλΨ∗(X) − 2 tr LλΦ∗(X)= 0,where LλX, RλX denote the left and right multiplication by X of the algebra λ, respectively, and the last twoequalities follow from that λ is nilpotent and (Φ∗, Ψ∗) ∈ S. Moreover, since Φi∗ = −Φi, Ψi∗ = −Ψi for
16HUI ZHANG AND ZAILI YANeach i, then [Φi, Φi∗] = 0, [Ψi, Ψi∗] = 0. So by (3.8) we have⟨MµX, Y⟩ = 2�i, j⟨µ(Hi, X j), X⟩⟨µ(Hi, X j), Y⟩ + 2�i, j⟨µ(Xi, H j), X⟩⟨µ(Xi, H j), Y⟩+ 2�i, j⟨µ(Xi, X j), X⟩⟨µ(Xi, X j), Y⟩ − 2�i, j⟨µ(Hi, X), X j⟩⟨µ(Hi, Y), X j⟩− 2�i, j⟨µ(Xi, X), X j⟩⟨µ(Xi, Y), X j⟩ − 2�i, j⟨µ(X, Hi), X j⟩⟨µ(Y, Hi), X j⟩− 2�i, j⟨µ(X, Xi), X j⟩⟨µ(Y, Xi), X j⟩= ⟨MλX, Y⟩ + 2�i⟨[Φi, Φi∗](X, Y⟩ + 2�i⟨[Ψi, Ψi∗](X), Y⟩= ⟨MλX, Y⟩,for any X, Y ∈ Cm. Therefore Mµ|Cm = Mλ = cλI + Dλ. On the other hand, noting that LµHi and RµHi areskew-Hermitian for each i, then for any H = (Φ, Ψ) ∈ S, we have⟨MµH, H⟩ = 2�i, j⟨µ(Hi, H j), H⟩⟨µ(Hi, H j), H⟩− 2�i, j⟨µ(Hi, H), H j⟩⟨µ(Hi, H), H j⟩ − 2�i, j⟨µ(Xi, H), X j⟩⟨µ(Xi, H), X j⟩− 2�i, j⟨µ(H, Hi), H j⟩⟨µ(H, Hi), H j⟩ − 2�i, j⟨µ(H, Xi), X j⟩⟨µ(H, Xi), X j⟩= −2(tr LSHLSH∗ + tr ΦΦ∗ + tr ΨΨ∗)= −2(tr LSHLSH∗ + tr HH∗)= cλ⟨H, H⟩.So Mµ = cµI + Dµ, where cµ = cλ, andDµ =�000Dλ�∈ Der(µ).This completes the proof.□Remark 4.13. Let the notation be as Theorem 4.10. If (LµA)∗ ∈ {LµA : A ∈ A0} and (RµA)∗ ∈ {RµA : A ∈ A0}for any A ∈ A0. Then it follows from a similar proof of Lemma 4.11 that A0 is a semisimple associativealgebra. Moreover, the radical of [µ] corresponds to a critical point of type (k1 < · · · < ˆks < · · · <kr; d1, · · · , ˆds, · · · , dr) by Theorem 4.12, where ks = 0.5. ExamplesIn this section, we classify the critical points of Fn : An → R for n = 2 and 3, respectively. It showsthat every 2-dimensional associative algebra is isomorphic to a critical point of F2, and there exists only
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS17one 3-dimensional associative algebra which is not isomorphic to any critical point of F3. Finally, basedon the discussion in previous sections, we collect some natural and interesting questions.For reader’s convenience, we recall the notation in [2]. Let {e1, e2, · · · , en} be a basis of Cn. Definethe bilinear maps ψi, jk : Cn × Cn → Cn byψi, jk (emen) = δimδjnek.It follows that any algebra can be expressed in the form d = �ijk ckijψi, jk , where ckij ∈ C are the structureconstants.5.1. Two-dimensional case. The classification of two-dimensional associative algebras can be found in[2, TABLE 1]. We give the classification of the critical points of F2 : A2 → R as follows.TABLE I. Two-dimensional associative algebras, critical types and critical values.Multiplication relationCritical typeCritical value�d1 = ψ1,11(0 < 1; 1, 1)4�d2 = ψ1,11+ ψ1,22(0 < 1; 1, 1)4�d3 = ψ1,11+ ψ2,12(0 < 1; 1, 1)4�d4 = ψ1,11+ ψ2,22(0; 2)2�d5 = ψ1,12(1 < 2; 1, 1)20�d6 = ψ1,11+ ψ1,22+ ψ2,12(0 < 1; 1, 1)4Indeed, endow these algebras with the Hermitian inner product ⟨·, ·⟩ so that {e1, e2} is an orthonormalbasis, then it is easy to obtain TABLE I. For example, the multiplication relation of µ := (d6, ⟨·, ·⟩) isgiven by: e1e1 = e1, e1e2 = e2, e2e1 = e2. With respect to the given orthonormal basis {e1, e2}, the leftand right multiplications of µ are represented byLµe1 =� 1001�,Lµe2 =� 0010�,Rµe1 =� 1001�,Rµe2 =� 0010�.It follows from (3.7) thatMµ =�−6000�Set cµ :=tr M2µtr Mµ , then cµ = −6. It follows that Mµ = cµI + Dµ, whereDµ =�0006�is clearly a derivation of µ. So [µ] is a critical point of F2 : A2 → R with the critical type (0 < 1; 1, 1)and F2([µ]) = 4.
18HUI ZHANG AND ZAILI YAN5.2. Three-dimensional case. The complete classification of three-dimensional associative algebrascan be found in [2, TABLE 2]. The following table gives the classification of the critical points ofF3 : A3 → R.TABLE II. Three-dimensional associative algebras, critical types and critical values.Multiplication relationCritical typeCritical value�d1 = ψ1,11(0 < 1; 1, 2)4�d2 = ψ1,11+ ψ2,23(0 < 1 < 2; 1, 1, 1)103�d3 = ψ1,11+ ψ1,33(0 < 1; 1, 2)4�d4 = ψ1,11+ ψ3,13(0 < 1; 1, 2)4�d5 = ψ1,11+ ψ1,33+ ψ3,13(0 < 1; 1, 2)4�d6 = ψ1,11+ ψ3,33(0 < 1; 2, 1)2�d7 = ψ1,11+ ψ2,12+ ψ1,33(0 < 1; 1, 2)4�d8 = ψ1,11+ ψ2,12+ ψ3,13(0 < 1; 1, 2)4�d9 = ψ1,11+ ψ2,12+ ψ1,33+ ψ3,13(0 < 1; 1, 2)4�d10 = ψ1,11+ ψ2,12+ ψ3,33(0 < 1; 2, 1)2�d11 = ψ1,11+ ψ2,22+ ψ2,33(0 < 1; 2, 1)2�d12 = ψ1,11+ ψ2,22+ ψ2,33+ ψ3,23(0 < 1; 2, 1)2�d13 = ψ1,11+ ψ2,22+ ψ2,33+ ψ3,13(0 < 1; 2, 1)2�d14 = ψ1,11+ ψ2,22+ ψ3,33(0; 3)43�d15 = ψ1,12(3 < 5 < 6; 1, 1, 1)20�d16 = ψ1,12+ ψ1,23+ ψ2,13(1 < 2 < 3; 1, 1, 1)203�d17 = ψ1,11+ ψ1,12+ ψ1,22+ ψ2,12+ ψ1,33(0 < 1; 1, 2)4�d18 = ψ1,11+ ψ1,12+ ψ1,22+ ψ2,12+ ψ1,33+ ψ3,13(0 < 1; 1, 2)4�d19 = ψ3,33+ ψ1,12+ ψ1,31+ ψ3,11+ ψ2,32+ ψ3,22(0 < 1 < 2; 1, 1, 1)103�d20 = ψ1,11+ ψ1,22+ ψ1,33(0 < 1; 1, 2)4�d21 = ψ1,13+ ψ1,23− ψ2,13−−�d22 = xψ1,23+ yψ2,13(1 < 2; 2, 1)12Indeed, endow the algebras with the Hermitian inner product ⟨·, ·⟩ so that {e1, e2, e3} is an orthonormalbasis, it is easy to obtain all cases in TABLE II except for d2, d10, d11, d12, d13, d17, d18, d21. For the casesd2, d10, d11, d12, it follows from Remark 3.4 and TABLE I. For the cases d13, d17, d18, it follows from [5]that d13 � U31, d17 � W310 and d18 � U30, where U31, W310 and U30 are defined byU31 :ψ1,11+ ψ3,31+ ψ1,22+ ψ2,12+ ψ2,32+ ψ1,33+ ψ3,13− ψ3,23 .W310 :ψ1,21+ ψ2,11+ ψ2,22+ ψ2,33 .U30 :ψ1,12+ ψ1,22+ ψ2,12+ ψ1,33+ ψ3,13 .Endow U31, W310 and U30 with the Hermitian inner product ⟨·, ·⟩ so that {e1, e2, e3} is an orthonormal basis,then it is easy to obtain the corresponding critical types and values for d13, d17, d18.
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS19In the sequel, we follow a similar procedure as in [6, 16] to classify all Hermitian inner products ond21, then show that for any Hermitian inner product ⟨·, ·⟩ on d21, (d21, ⟨·, ·⟩) cannot be a critical point ofF3. First, note that the multiplication relation of d21 is given as follows:e1e1 = e3,e1e2 = e3,e2e1 = −e3.Denote by ⟨·, ·⟩0 the Hermitian inner product on d21 such that {e1, e2, e3} is orthonormal. With respect tothis basis {e1, e2, e3}, the automorphism group of d21 is given byAut(d21) =a00ba0cda2 ⊂ GL(3, C),(5.1)where 0 � a ∈ C, and b, c, d ∈ C are arbitrary.Lemma 5.1. For any Hermitian inner product ⟨·, ·⟩ on d21, there exist k > 0 and φ ∈ Aut(d21) such that{aφe1, φe2, φe3} is orthonormal with respective to k⟨·, ·⟩, where a > 0Proof. It suffices to prove thatU = {diag(a, 1, 1) : a > 0} ⊂ GL(3, C)is a set of representatives for the action C×Aut(d21) on M, i.e., the space of all Hermitian inner productson d21, which can be identified with the homogeneous space GL(3, C)/U(3) at the base point ⟨·, ·⟩0 ∈ M(see [6]). Indeed, since�g∈UC×Aut(d21) · g · U(3) = GL(3, C),it follows that U is a set of representatives. For any Hermitian inner product ⟨·, ·⟩ on d21, we know thatthere exists g0 ∈ U such that⟨·, ·⟩ ∈ (C×Aut(d21)).(g0.⟨·, ·⟩0)Hence there exist c ∈ C×, φ ∈ Aut(d21) such that⟨·, ·⟩ = (cφ).(g0.⟨·, ·⟩0) = (cφg0).⟨·, ·⟩0)Put k = |c|2, thenk⟨·, ·⟩ = k⟨(cφg0)−1(·), (cφg0)−1(·)⟩0 = kc−1¯c−1⟨(φg0)−1(·), (φg0)−1(·)⟩0 = ⟨(φg0)−1(·), (φg0)−1(·)⟩0Since g0 ∈ U, then g0 = diag{a, 1, 1} for some a > 0. It follows that {aφe1, φe2, φe3} is orthonormal withrespective to k⟨·, ·⟩□Proposition 5.2. For any Hermitian inner product ⟨·, ·⟩ on d21, (d21, ⟨·, ·⟩) can not be a critical point ofF3 : A3 → R.
20HUI ZHANG AND ZAILI YANProof. Assume that ⟨·, ·⟩ is a Hermitian inner product on d21 such that (d21, ⟨·, ·⟩) is a critical point of F3 :A3 → R. Then the critical type is necessarily of (1 < 2; 2, 1) by Theorem 4.1 and (5.1). Moreover, forthe Hermitian inner product ⟨·, ·⟩ on d21, by Lemma 5.1 we know that there exist k > 0 and φ ∈ Aut(d21)such that {x1 = aφe1, x2 = φe2, x3 = φe3} is orthonormal with respective to k⟨·, ·⟩, where a > 0. Withrespect to the basis {x1, x2, x3}, the multiplication relation of d21 is given as followsx1x1 = a2x3,x1x2 = ax3,x2x1 = −ax3.By (3.7), Lemma 3.6 and a straightforward calculation, it follows that the critical type is of(3a4 + 6a2 + 8, 5a4 + 10a2 + 8, 2(3a4 + 8a2 + 8))which is never of type (1 < 2; 2, 1) for any a > 0. This is a contradiction by Theorem 4.1, and theproposition is therefore proved.□5.3. Comments. By the previous discussion, we know that the critical types of Fn : An → R, n = 2, 3,are necessarily nonnegative. So it is natural to ask the following question: Let [µ] ∈ An be a criticalpoint of Fn : An → R with Mµ = cµI + Dµ for some cµ ∈ R and Dµ ∈ Der(µ). Are all the eigenvalues ofDµ necessarily nonnegative?On the other hand, it will be also interesting to construct or classify the critical points [µ] of Fn :An → R such that Dµ has negative eigenvalues if the above question does not hold. We note that 2-stepnilpotent Lie algebras are automatically associative algebras, so it follows from [13, Example 1] thatthere exist associative algebras whose Nikolayevsky derivations do admit negative eigenvalues.6. Statements and DeclarationsThe authors declare that there is no conflict of interest.References[1] B¨ohm, C.; Lafuente, R: Immortal homogeneous Ricci flows, Invent. Math. 212 (2018), 461–529.[2] Fialowski, A.; Penkava, M.: The moduli space of 3-dimensional associative algebras, Comm. Algebra 37(10) (2009)3666–3685.[3] Khudoyberdiyev, A.; Omirov, B.: The classification of algebras of level one, Linear Algebra Appl. 439(11) (2013), 3460–3463.[4] Kirwan, K.: Momentum maps and reduction in algebraic geometry, Differential Geom. Appl. 9 (1998), 135–172.[5] Kobayashi, Y; Shirayanagi, K; Tsukada, M; Takahasi, S.: A complete classification of three-dimensional algebras over Rand C–(visiting old, learn new),Asian-Eur. J. Math. 14 (2021).[6] Kubo, A; Onda, K; Taketomi, Y; Tamaru, H.: On the moduli spaces of left-invariant pseudo-Riemannian metrics on Liegroups, Hiroshima math. J. 46 (2016), 357–374.[7] Lauret, J.: On the moment map for the variety of Lie algebras, J. Funct. Anal. 202 (2003), 392–423.[8] Lauret, J.: Degenerations of Lie algebras and geometry of Lie groups, Differential Geom. Appl. 18 (2003), 177–194.[9] Lauret, J.: Einstein solvmanifolds are standard, Ann. of Math. 172 (2010), 1859–1877.[10] Lauret, J.: Ricci soliton solvmanifolds, J. reine angew. Math. 650 (2011), 1–21.[11] Lauret, J.: Finding solitons, Notices Am. Math. Soc. 67 (2020), 647–657.[12] Ness, L.: A stratification of the null cone via the moment map, Amer. J. Math., 106 (1984), 1281-1329 (with an appendixby D. Mumford).
THE MOMENT MAP FOR THE VARIETY OF ASSOCIATIVE ALGEBRAS21[13] Nikolayevsky, Y.: Nilradicals of Einstein solvmanifolds, arXiv:math/0612117v1 [math.DG] (2006).[14] Nikolayevsky, Y.: Einstein solvmanifolds and the pre-Einstein derivation, Trans. Am. Math. Soc. 363 (2011), 3935–3958.[15] Pierce, R.S.: Associative Algebras, Springer-Verlag, New York, Heidelberg, Berlin, 1982[16] Taketomi, Y; Tamaru, H.: On the nonexistence of left-invariant Ricci solitons a conjecture and examples, Transform.Groups 23 (2018), 257–270.[17] Zhang, H.; Chen, Z.; Li, L.: The moment map for the variety of 3-Lie algebras, J. Funct. Anal. 283 (2022), No. 11, ArticleID 109683.(Hui Zhang) School of Mathematics, Southeast University, Nanjing 210096, P. R. ChinaEmail address: 2120160023@mail.nankai.edu.cnSchool of Mathematics and Statistics, Ningbo University, Ningbo, Zhejiang Province, 315211, People’s Republic of ChinaEmail address: yanzaili@nbu.edu.cn
123version https://git-lfs.github.com/spec/v1oid sha256:48f940b5d31c0b2f0eb31b46aa8bccdc475b04f480f9058b23d6b61cd476d177size 302817123version https://git-lfs.github.com/spec/v1oid sha256:ac7dc53f312cc9b8f03464845b313b0e1fd027c7d01d0c6702b63886e90f9878size 4325421123version https://git-lfs.github.com/spec/v1oid sha256:3eddfd4c00e13b2e580370f6891bd302620722001487fa4cb9239c00f34f86fbsize 170819123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341Quantum Annealing vs. QAOA: 127 Qubit Higher-Order IsingProblems on NISQ ComputersElijah Pelofske∗1, Andreas B¨artschi†1, and Stephan Eidenbenz11CCS-3 Information Sciences, Los Alamos National LaboratoryAbstractQuantum annealing (QA) and Quantum Alternating Operator Ansatz (QAOA) are both heuristic quantumalgorithms intended for sampling optimal solutions of combinatorial optimization problems. In this article weimplement a rigorous direct comparison between QA on D-Wave hardware and QAOA on IBMQ hardware. Thestudied problems are instances of a class of Ising problems, with variable assignments of +1 or −1, that containcubic ZZZ interactions (higher order terms) and match both the native connectivity of the Pegasus topology D-Wave chips and the heavy hexagonal lattice of the IBMQ chips. The novel QAOA implementation on the heavyhexagonal lattice has a CNOT depth of 6 per round and allows for usage of an entire heavy hexagonal lattice.Experimentally, QAOA is executed on an ensemble of randomly generated Ising instances with a grid searchover 1 and 2 round angles using all 127 programmable superconducting transmon qubits of ibm washington.The error suppression technique digital dynamical decoupling (DDD) is also tested on all QAOA circuits. QAis executed on the same Ising instances with the programmable superconducting flux qubit devices D-WaveAdvantage system4.1 and Advantage system6.1 using modified annealing schedules with pauses. We find thatQA outperforms QAOA on all problem instances. We also find that DDD enables 2-round QAOA to outperform1-round QAOA, which is not the case without DDD.1IntroductionQuantum annealing (QA) in the transverse field Ising model (TFIM) is an analog computation technology whichutilizes quantum fluctuations in order to search for ground state solutions of a problem Hamiltonian [1–4]. D-Wavequantum annealers are programmable hardware implementations of quantum annealing which use superconductingflux qubits.Quantum alternating operator ansatz (QAOA) is a hybrid quantum classical algorithm for sampling combina-torial optimization problems [5, 6], the quantum component of which can be instantiated with a programmablegate-based universal quantum computer. The quantum approximate optimization algorithm [7] was the first vari-ational algorithm of this type, which was then generalized to the quantum alternating operator ansatz algorithm[5].QAOA is effectively a Trotterization of the Quantum Adiabatic Algorithm, and is overall similar to QuantumAnnealing. In particular both algorithms address combinatorial optimization problems. The exact characteristicsof how both QA and QAOA will scale to large system sizes is currently not fully understood, in particular becausequantum hardware is still in the NISQ era [8–10]. For example, there is evidence that QAOA may be more difficultfor classical computers to simulate than quantum annealing, which could make it a viable candidate for quantumadvantage [11]. Therefore it is of interest to investigate differences between QAOA and QA, and determine howthese algorithms will scale [12–17]. There have been experimental QAOA implementations which used up to 27qubits [18] and 23 qubits [19]. There have also been QAOA experiments which had circuit depth up to 159 [20]and 148 [21].The contributions of this article are as follows:1. We provide a direct comparison between QAOA and Quantum Annealing in terms of experiments on D-Waveand IBMQ hardware. This comparison uses a comparable parameter search space for QA and QAOA, usesno minor embedding for quantum annealing, and uses short depth QAOA circuits, thus providing a faircomparison of the two algorithms. We show that QAOA is better than random sampling, and quantumannealing clearly outperforms QAOA.∗Email: epelofske@lanl.gov†Email: baertschi@lanl.gov1arXiv:2301.00520v1 [quant-ph] 2 Jan 2023
Device nameTopology/chipnameAvailable qubitsAvailablecouplers/CNOTsComputation typeAdvantage system4.1Pegasus P16562740279QAAdvantage system6.1Pegasus P16561640135QAibm washingtonEagle r1heavy-hexagonal127142Universal gate-modelTable 1: NISQ hardware summary at the time the experiments were executed.The hardware yield (e.g., thenumber of available qubits or two qubit interactions) for all of these devices can be less than the logical latticebecause of hardware defects, and can also change over time if device calibration changes.2. The QAOA algorithm we present is tailored for short depth circuit construction on the heavy hexagonallattice, therefore allowing full usage of any heavy hexagonal topology quantum processor in the future. Weuse all 127 qubits of the ibm washington chip in order to execute the largest QAOA circuit, in terms ofqubits, to date.3. The problem instances that are used to compare quantum annealing and QAOA are specifically constructedto include higher order terms, specifically three variable (cubic) terms. QAOA can directly implement higherorder terms, and quantum annealing requires order reduction using auxiliary variables to implement thesehigher order terms. This is the largest experimental demonstration of QAOA with higher order terms to date.4. In order to mitigate errors when executing the QAOA circuits, we utilize digital dynamical decoupling. Thisis the largest usage of dynamical decoupling in terms of qubit system size to date, and the results show thatdigital dynamical decoupling improves performance for two round QAOA, suggesting that it will be usefulfor computations with large numbers of qubits in the noisy regime.In Section 2 the QAOA and QA hardware implementations are detailed. Section 3 details the experimentalresults and how the two algorithms compare. Section 4 concludes with what the results indicate and future researchdirections. The figures in this article are generated using matplotlib [22, 23], and Qiskit [24] in Python 3.2MethodsThe problem instances are defined in Section 2.1.In Section 2.2 the QAOA circuit algorithm and hardwareparameters are defined. In Section 2.3 the quantum annealing implementation is defined.2.1Problem instancesThe NISQ computers which are used in this comparison are detailed in Table 1; the clear difference between theD-Wave quantum annealers and ibm washington is the number of qubits that are available. The additional qubitsavailable on the quantum annealers will allow us to embed multiple problem instances onto the chips. The currentIBMQ devices have a graph topology referred to as the heavy-hexagonal lattice [25]. Therefore, for a direct QAOAand QA comparison we would want to be able to create QAOA circuits which match the logical heavy-hexagonallattice and the quantum annealer graph topology of Pegasus. For this direct comparison we target D-Wave quantumannealers with Pegasus graph hardware [26, 27] connectivities. The two current D-Wave quantum annealers withPegasus hardware graphs have chip id names Advantage system6.1 and Advantage system4.1. The goal for thisdirect comparison is that ideally we want problems which can be instantiated on all three of the devices in Table1. In particular, we want these implementations to not be unfairly costly in terms of implementation overhead.For example we do not want to introduce unnecessary qubit swapping in the QAOA circuit because that wouldintroduce larger circuit depths which would introduce more decoherence in the computation. We also do not wantto introduce unnecessary minor-embedding in the problems for quantum annealers.The other property of these problem instances that is of interest is an introduction of higher order terms,specifically cubic ZZZ interactions [28] also referred to as multi-body interactions [29], in addition to randomlinear and quadratic terms. These higher order terms require both QAOA and QA to be handle these higher ordervariable interactions, which is an additional test on the capability of both algorithms. QAOA can naturally handle2
01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251260123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126Figure 1: Left: ibm washington graph connectivity, where qubits are connected by CNOT (also referred to as cx)gates. The ideal lattice is called the heavy-hexagonal lattice. Note that there are two missing graph edges fromthe lattice between qubits 8-9 and 109-114. The total number of qubits (nodes) is 127. The edges of the graph arethree colored (red, blue, and green) such that no node shares two or more edges with the same color. The nodecolorings of light and dark gray show that the heavy hexagonal lattice is bipartite (meaning it can be partitionedinto two disjoint sets). The three edge coloring is consistent with the QAOA circuit construction in Figure 2.Right: Example of a single random problem instance with cubic terms (see Eq. (1)) on the ibm washingtongraph. The linear and quadratic terms are shown using two distinct colors (red and green). The nodes and edgescolored red denote a weight of −1 and the nodes and edges colored green denote a weight of +1. The cubic termsare represented by ovals around the three qubits which define the cubic variable interactions. Like the linear andquadratic terms, the color of the oval representing the cubic terms represents the sign of the weight on the terms,where green is +1 and red is −1.higher order terms [30]. Implementing high order terms with QA requires introducing auxiliary variables in orderto perform order reduction to get a problem structure that is comprised of only linear and quadratic terms, so thatit can be implemented on the hardware, but whose optimal solutions match the optimal solutions of the originalhigh order polynomial [3, 31–34].Taking each of these characteristics into account, we create a class of random problems which follow the nativedevice connectivities in Table 1. The problem instances we will be considering are Ising problems defined on thehardware connectivity graph of the heavy hexagonal lattice of the device, which for these experiments will beibm washington.C(x) =�v∈Ncv · xv +�(i,j)∈Eci,j · xi · xj +�l∈Dcl · xl · xn1(l) · xn2(l)(1)Eq. (1) defines the class of problem Isings as follows. N is the set of qubits, or variables, that exist on the heavyhexagonal layout topology. E is the edge set of all two qubit (CNOT) gates that can allow two qubits, indexed asi and j, to interact. Any heavy hexagonal lattice is a bipartite graph with vertices V = V2 ∪ V3 where V2 consistsof vertices with a maximum degree of 2, and V3 consists of vertices with a maximum degree of 3. D is the setof vertices in V2 which all have degree exactly equal to 2. n1 is a function which gives the qubit (variable) indexof the first of the two neighbors of a degree-2 node, and n2 provides the qubit (variable) index of the second ofthe two neighbors of any degree-2 node. cv, ci,j, and ct are all functions representing the random selection of thelinear, quadratic, and cubic coefficients, respectively. These coefficients could be drawn from any distribution - inthis case we draw the coefficients from {+1, −1} with probability 0.5. The decision variables are xi, where thepossible variable states are the spins −1 or +1. Combined, any vector of variable states x can be evaluated giventhis objective function formulation of Eq. (1).The heavy hexagonal topology of ibm washington, along with an overlay showing one of the random probleminstances with cubic terms defined on ibm washington, is shown in Figure 1. Each term coefficient was chosen to3
be either +1 or −1 in order to mitigate the potential problem of limited precision for the programming control onall of the NISQ devices. 10 random instances of this class of problems are generated and sampled using QAOA andQA, the implementations of each will be discussed next.2.2QAOAGiven a combinatorial optimization problem over inputs x ∈ {0, 1}n, let f(x): {0, 1}n → R be the objective functionwhich evaluates the cost of solution x. For a maximization (or minimization) problem, the goal is to find a variableassignment vector x for which f(x) is maximized (or minimized). The QAOA algorithm consists of the followingcomponents:• An initial state |ψ⟩• A phase separating Hamiltonian: HP |x⟩ = f(x) |x⟩• A mixing Hamiltonian: HM• An integer p ≥ 1, the number of rounds to run the algorithm• Two real vectors ⃗γ = (γ1, ..., γp) and ⃗β = (β1, ..., βp), each with length pThe algorithm consists of preparing the initial state |ψ⟩, then applying p rounds of the alternating simulationof the phase separating Hamiltonian and the mixing Hamiltonian:|⃗γ, ⃗β⟩ = e−iβpHM e−iγpHP����round p· · · e−iβ1HM e−iγ1HP����round 1|ψ⟩(2)Within reach round, HP is applied first, which separates the basis states of the state vector by phases e−iγf(x).HM then provides parameterized interference between solutions of different cost values. After p rounds, the state|⃗γ, ⃗β⟩ is measured in the computational basis and returns a sample solution y of cost value f(y) with probability| ⟨y|⃗γ, ⃗β⟩ |2.The aim of QAOA is to prepare the state |⃗γ, ⃗β⟩ from which we can sample a solution y with high cost value f(y).Therefore, in order to use QAOA the task is to find angles ⃗γ and ⃗β such that the expectation value ⟨⃗γ, ⃗β|HP |⃗γ, ⃗β⟩is large (−HP for minimization problems). In the limit p → ∞, QAOA is effectively a Trotterization of of theQuantum Adiabatic Algorithm, and in general as we increase p we expect to see a corresponding increase in theprobability of sampling the optimal solution [17]. The challenge is the classical outer loop component of findingthe good angles ⃗γ and ⃗β for all rounds p, which has a high computational cost as p increases.Variational quantum algorithms, such as QAOA, have been a subject of large amount of attention, in large partbecause of the problem domains that variational algorithms can address (such as combinatorial optimization) [35].One of the challenges however with variational quantum algorithms is that the classical component of parameterselection, in the case of QAOA this is the angle finding problem, is not solved and is even more difficult whennoise is present in the computation [36]. Typically the optimal angles for QAOA are computed exactly for smallproblem instances [15, 37].However, in this case the angle finding approach we will use is a reasonably highresolution gridsearch over the possible angles. Note however that a fine gridsearch scales exponentially with thenumber of QAOA rounds p, and therefore is not advisable for practical high round QAOA [6, 7]. Exactly computingwhat the optimal angles are for problems of this size would be quite computationally intensive, especially with theintroduction of higher order terms. We leave the problem of exactly computing the optimal QAOA angles up tofuture work.Figure 2 describes the short depth QAOA circuit construction for sampling the higher order Ising test instance.This algorithm can be applied to any heavy hexagonal lattice topology, which allows for executing the QAOAcircuits on the 127 variable instances on the IBMQ ibm washington backend. For the class of Isings with higherorder terms defined in Section 2.1, the QAOA angle ranges which are used are γ1, . . . , γp ∈ [0, π) and β1, . . . , βp−1 ∈[0, π), βp ∈ [0, π2 ) where p is the number of QAOA rounds. Note that the halving of the angle search space for βapplies when p = 1. For optimizing the angles using the naive grid search for p = 1, β0 is varied over 60 linearlyspaced angles ∈ [0, π2 ] and γ0 is varied over 120 linearly spaced angles ∈ [0, π]. For the high resolution gridsearchfor p = 2, β1 is varied over 5 linearly spaced angles ∈ [0, π2 ] and γ0, γ1, and β0 are varied over 11 linearly spacedangles ∈ [0, π]. Therefore, for p = 2 the angle gridsearch uses 6655 separate circuit executions (for each of the 10problem instances), and for p = 1 the angle gridsearch uses 7200 separate circuit executions. Each circuit executionused 10, 000 samples in order to compute a robust distribution for each angle combination.4
|0⟩|0⟩|0⟩|0⟩|0⟩|0⟩|0⟩|0⟩|0⟩|0⟩|0⟩HHHHHHHHHHHdBdCdDdEdFdGdHdIdJdBAdDEdF CdJIdBCdF IdHGdJKdDCdHIdAdKdBACdDCEdHGIdJIKdF CIγdBCγdDEγdF IγdJKγdHIγdDCγdBAγdF CγdHGγdAγdBγdCγdDγdEγdFγdGγdHγdIγdJγdKZZγdJIγdBACγdDCEγdF CIγdHGIγdJIKZZZZRowColumnTimed... = ±1γdZβX= Rz(2γd)= Rx(2β)InitPhase SeparatorMixerβXββββββββββEval����⟨β,γ|HC|β,γ⟩Figure 2: A 1-round QAOA circuit: (left) The problem instance is a hardware-native bipartite graph with anarbitrary 3-edge-coloring given by K˝onig’s line coloring theorem. (right) Any quadratic term (colored edge) givesrise to a combination of two CNOTs and a Rz-rotation in the phase separator, giving a CNOT depth of 6 due tothe degree-3 nodes. When targeting the degree-2 nodes with the CNOT gates, these constructions can be nested,leading to no overhead when implementing the three-qubit terms: these always have a degree-2 node in the middle(see Eq. (1)).In order to mitigate decoherence on idle qubits, digital dynamical decoupling (DDD) is also tested for allQAOA circuits. Dynamical Decoupling is an open loop quantum control technique error suppression techniquefor mitigating decoherence on idle qubits [38–41].Dynamical decoupling can be implemented with pulse levelquantum control, and digital dynamical decoupling can be implemented simply with circuit level instructions ofsequences of gates which are identities [41]. Note that digital dynamical decoupling is an approximation of pulselevel dynamical decoupling.Dynamical decoupling has been experimentally demonstrated for superconductingqubit quantum processors including IBMQ devices [42–44]. Dynamical decoupling in particular is applicable forQAOA circuits because they can be relatively sparse and therefore have idle qubits [42]. DDD does not alwayseffective at consistently reducing errors during computation (for example because of other control errors presenton the device [40, 42]), and therefore the raw QAOA circuits are compared against the QAOA circuits with DDDin the experiments section. In order to apply the DDD sequences to the OpenQASM [45] QAOA circuits, thePadDynamicalDecoupling 1 method from Qiskit [24] is used, with the pulse alignment parameter set based onthe ibm washington backend properties. The native gateset of all current IBMQ backends is x, rz, cx, sx. Thecircuit scheduling algorithm that is used for inserting the digital dynamical decoupling sequences is ALAP, whichschedules the stop time of instructions as late as possible 2. There are other scheduling algorithms that could beapplied which may increase the efficacy of dynamical decoupling. Note that the rz gate is a virtual gate which isnot executed on the hardware. There are different DDD gate sequences that can be applied, including Y-Y or X-Xsequences. Because the X Pauli gate is already a native gate of the IBMQ device, the X-X DDD sequence is usedfor simplicity.Note that the variable states for the optimization problems are either −1 or +1, but the circuit measurementstates are either 0 or 1. Therefore once the measurements are made on the QAOA circuits, for each variable in eachsample the variable state mapping of 0 → 1, 1 → −1 is performed. For circuit execution on the superconductingtransom qubit ibm washington, circuits are batched into jobs where each job is composed of a group of at most 250circuits - the maximum number of circuits for a job on ibm washington is currently 300, but we use 250 in orderto reduce job errors related to the size of jobs. Grouping circuits into jobs is helpful for reducing the total amountof compute time required to prepare and measure each circuit. When submitting the circuits to the backend,they are all first locally transpiled via Qiskit [24] with optimization level=3. This transpilation converts thegateset to the ibm washington native gateset, and the transpiler optimization attempts to simplify the circuitwhere possible. The QAOA circuit execution on ibm washington spanned a large amount of time, and thereforethe backend versions were not consistent. The exact backend software versions were 1.3.7, 1.3.8, 1.3.13, 1.3.15,1.3.17.1https://qiskit.org/documentation/locale/bn_BN/stubs/qiskit.transpiler.passes.PadDynamicalDecoupling.html2https://qiskit.org/documentation/apidoc/transpiler_passes.html5
dAdBdCdBAdBCdBAC = +1dAdBdCdBAdBC+1−1−1−1−211122 2dAdBdCdBAdBC+1−3−3−1+160−1−12−4−4dAdBdCdBAdBCdBAC = −1dAdBdCdBAdBC+1−1−1−1−2−11122 2dAdBdCdBAdBC+3−1−1+1−1201−1−2−4−4Figure 3:(left) Two different embeddings for cubic +1/−1 terms. Each embedding needs two slack variablequbits. Our overall embedding alternates between these two cubic term embeddings. Any embedding with onlyone slack variable needs a 4-clique between the slack and the three original variables, which is not possible toembed for consecutive cubic terms. (right) Embedding structures of the problem instances with higher orderterms embedded in parallel (independently) 6 times onto the logical Pegasus P16 graph. The view of this graph hasbeen slightly partitioned so that not all of the outer parts of the Pegasus chip are drawn. The light grey qubits andcouplers indicate unused hardware regions. The cyan coloring on nodes and edges denote the vertical qubits andCNOTs on the ibm washington hardware graph (see Figure 1). The red coloring on nodes and edges denote thehorizontal lines of qubits and CNOTs on ibm washington. The green nodes and edges denote the order reductionauxiliary variables. Note that the top right hand and lower left hand qubits are not present on the ibm washingtonlattice - but for the purposes of generating the embeddings, these extra qubits are filled in to complete the lattice.2.3Quantum AnnealingQuantum annealing is a proposed type of quantum computation which uses quantum fluctuations, such as quantumtunneling, in order to search for the ground state of a user programmed Hamiltonian. Quantum annealing, in thecase of the transverse field Ising model implemented on D-Wave hardware, is explicitly described by the systemgiven in Eq. (3). The state begins at time zero purely in the transverse Hamiltonian state �i σxi , and then overthe course of the anneal (parameterized by the annealing time) the user programmed Ising is applied according thefunction B(s). Together, A(s) and B(s) define the anneal schedules of the annealing process, and s is referred toas the anneal fraction. The standard anneal schedule that is used is a linear interpolation between s = 0 and s = 1.H = −A(s)2� �iσxi�+ B(s)2�Hising�(3)The adiabatic theorem states that if changes to the Hamiltonian of the system are sufficiently slow, the systemwill remain in the ground state of problem Hamiltonian, thereby providing a computational mechanism for comput-ing the ground state of optimization problems. The user programmed Ising Hising, acting on n qubits, is definedin Eq. (4). The quadratic terms and the linear terms combined define the optimization problem instance that theannealing procedure will ideally find the ground state of. As with QAOA, the objective of quantum annealing is6
0.00.20.40.60.81.0Pause duration fraction0.00.20.40.60.81.0Anneal fraction [s]Figure 4: All modified (forward) quantum annealing schedules which are tested in order to find the best annealschedule with a pause. The symmetric pause inserted into the normal linearly interpolated schedule defining theA(s) and B(s) functions can provide better ground state sampling probability. The anneal fraction at which thispause occurs is varied between 0.1 and 0.9 in steps of 0.1. The pause duration, as a fraction of the total annealingtime, is also varied between 0.1 and 0.9 in steps of 0.1. Although not shown in this figure, the annealing times arealso varied between 10, 100, 1000, and 2000 microseconds.to find the variable assignment vector x that minimizes the cost function which has the form of Eq. (4).Hising =n�ihiσzi +n�i<jJijσzi σzj(4)The goal is to be able to implement the Ising problems defined in Section 2.1 on D-Wave quantum annealers.In order to implement the higher order terms, we will need to use order reduction in order to transform the cubicterms into linear and quadratic terms [3, 31–34]. This order reduction will result in using additional variables,usually called auxiliary or slack variables. Figure 3 shows the embeddings of the problem instances onto the logicalPegasus P16 graph, including the order reduction procedure which is used. The order reduction procedure outlinedin Figure 3 allows for direct embedding of the order reduced polynomials onto the hardware graph, regardless ofwhether the cubic term coefficient is +1 or −1. This order reduction ensures that the ground state(s) of the cubicterm are also the ground states of the order reduced Ising. Additionally, this order reduction ensures that forevery excited state of the cubic term, there are no slack variable assignments which result in the original variableshaving an energy less than or equal to the ground state of the original cubic term. This order reduction procedureallows any problem in the form of Eq. (1) to be mapped natively to quantum annealing hardware which acceptsproblems with the form of Eq. (4). Importantly, this procedure does not require minor-embedding, even includingthe auxiliary variables.In order to get more problem samples for the same QPU time, the other strategy that is employed is to embedmultiple independent problem instances onto the hardware graph and thus be able to execute several instances inthe same annealing cycle(s). This technique is referred to as parallel quantum annealing [33, 46] or tiling 3. Figure 3(right) shows the parallel embeddings on a logical Pegasus graph. Because some of the logical embeddings may usea qubit or coupler which is missing on the actual hardware, less than 6 parallel instances can be tiled onto the chipsto be executed at the same time. For Advantage system4.1, 2 independent embeddings of the problem instancescould be created without encountering missing hardware. For Advantage system6.1, 3 independent embeddings ofthe problem instances could be created. The structure of the heavy-hexagonal lattice onto Pegasus can be visuallyseen in Figure 3; the horizontal heavy-hex lines (Figure 1) are mapped to diagonal Pegasus qubit lines that runfrom top left to bottom right of the square Pegasus graph rendering. Then the vertical heavy-hexagonal qubits aremapped to QA qubits in between the diagonal qubit lines.In order to optimize the quantum annealing parameters, with relatively similar complexity to the angle param-eter search done for QAOA, the forward anneal schedule with pausing is optimized over a gridsearch. Pausing the3https://dwave-systemdocs.readthedocs.io/en/samplers/reference/composites/tiling.html7
20015010050050Energy0100200300400500600700800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.363], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.389], [2.856]]Advantage_system4.1 AT=2000 s=0.6 pause=0.3Advantage_system6.1 AT=2000 s=0.6 pause=0.5Figure 5: Direct energy histogram comparison of QA and QAOA results for one of the ten problem instances.Here the energies being plotted are the full energy spectrum for the parameters which gave the minimum meanenergy across the parameter grid searches performed across the QA and QAOA parameters. The optimal parametercombination is given in the figure legend. For QA parameters, the annealing time in microseconds, the forwardanneal schedule (symmetric) pause fraction, and anneal fraction, are given in the legend. For the QAOA angleparameters, the format is [β, γ], and are rounded to 3 decimal places. The mean for each dataset is marked withvertical dashed lines and the minimum energy found in each dataset is marked with solid vertical lines. The energyhistogram plots for the other 9 problems are shown in Figure 6.anneal at the appropriate spot can provide higher chances of sampling the ground state [47]. Figure 4 shows thisanneal schedule search space - importantly the annealing times used in these schedule are also optimized for. Thetotal number of QA parameters which are varied are 9 anneal fractions, 9 pause durations, and 4 annealing times(10, 100, 1000, 2000 microseconds). Therefore, the total number of parameter combinations which are consideredin the grid search is 324. 2000 microseconds is the longest annealing time available on the current D-Wave quantumannealers. The number of anneals sampled for each D-Wave job was 500. The annealing times and the annealschedules were varied in a simple grid search. Readout and programming thermalization times are both set to 0microseconds. All other parameters are set to default, with the exception of the modified annealing schedule.3ResultsFigures 5 and 6 combined show the detailed energy distributions for all 10 problem instances sampled using thebest parameter choices found for QA and QAOA. These histograms include the four variants of QAOA - 1 and 2rounds with and without DDD. The histograms include 10000 random samples (binomial distribution with p = 0.5)on the problem instances.QA performs better than QAOA: The most notable observation across these histograms is that clearly quantumannealing results in better variable assignments compared to all tested variations of QAOA; this clear stratificationof the algorithms capabilities is consistent across all 10 problem instances. Notice that the minimum energiesachieved by QAOA (marked by the solid vertical lines) do not reach the energy distribution sampled by thequantum annealers. The characteristics of each of the 10 problem instances are slightly different, but this trend isvery clear.QAOA performs better than random sampling: Both QA and QAOA sampled better solutions than the8
20015010050050Energy0200400600800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.363], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.338], [2.882]]Advantage_system4.1 AT=2000 s=0.6 pause=0.9Advantage_system6.1 AT=2000 s=0.6 pause=0.520015010050050Energy0100200300400500600700800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.363], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.441], [2.908]]Advantage_system4.1 AT=2000 s=0.6 pause=0.3Advantage_system6.1 AT=2000 s=0.5 pause=0.420015010050050Energy0100200300400Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.389], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.441], [2.908]]Advantage_system4.1 AT=2000 s=0.6 pause=0.4Advantage_system6.1 AT=2000 s=0.7 pause=0.120015010050050Energy0200400600800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.389], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.441], [2.856]]Advantage_system4.1 AT=2000 s=0.6 pause=0.5Advantage_system6.1 AT=2000 s=0.6 pause=0.220015010050050Energy0100200300400500600700800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.363], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.415], [2.882]]Advantage_system4.1 AT=2000 s=0.6 pause=0.4Advantage_system6.1 AT=2000 s=0.6 pause=0.215010050050Energy0100200300400500Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.389], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.363], [2.882]]Advantage_system4.1 AT=2000 s=0.6 pause=0.4Advantage_system6.1 AT=2000 s=0.6 pause=0.720015010050050Energy0200400600800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.338], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.415], [2.908]]Advantage_system4.1 AT=2000 s=0.6 pause=0.5Advantage_system6.1 AT=1000 s=0.6 pause=0.615010050050Energy0100200300400500600700800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.363], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.441], [2.882]]Advantage_system4.1 AT=2000 s=0.6 pause=0.6Advantage_system6.1 AT=1000 s=0.6 pause=0.320015010050050Energy0100200300400500600700800Countsrandom samples2-round [[0.524, 0.262], [2.88, 2.88]]1-round [[0.441], [2.882]]2-round DDD [[0.524, 0.262], [2.88, 2.88]]1-round DDD [[0.441], [2.882]]Advantage_system4.1 AT=2000 s=0.6 pause=0.4Advantage_system6.1 AT=2000 s=0.7 pause=0.3Figure 6: Direct energy histogram comparison of QA and QAOA results for the other nine problem instances,continuing from Figure 5.10000 random samples.Although an obvious observation from the distributions in Figures 6 and 5, it is nottrivial that the QAOA samples had better objective function values compared to random sampling. The reasonthis is not trivial is because at sufficient circuit, which is not difficult to reach, the computation will entirelydecohere and the computation will not be meaningful. This result is encouraging because it shows that short depthcircuit constructions, combined with increasing scale of near term quantum computers, can begin to yield relevantcomputations for larger system sizes (in this case, 127 variables).The effect of digital dynamical decoupling: The dataset shown in Figure 6 also allows for a direct quantifi-cation of how successful the digital dynamical decoupling passes were at improving the QAOA circuit executions.Table 2 shows a comparison of the four QAOA implementations. For 2-round QAOA, DDD improved the meansample energy for 10 out of the 10 problem instances. For 1-round QAOA, DDD improved the mean sample energyfor 4 out of the 10 problem instances. This shows that digital dynamical decoupling does not uniformly improvethe performance of the QAOA circuits. This suggests that the qubits in the 2-round QAOA circuits have moreavailable idle time compared to the 1-round QAOA circuits, which would allow for DDD to improve the circuitperformance. The 2-round QAOA results had better average energy compared the 1-round results in 6 out of the10 problem instances.Optimal parameter choices - QAOA: The optimal 2-round QAOA angles for all 10 problems with and withoutdynamical decoupling is the same. The optimal 1-round QAOA angles are not consistent across all problems, andeven vary between the with and without DDD circuit executions. However, even though the exact optimal angleassignments are not consistent across all problems the, they are very close to each other which is notable becauseit indicates that the optimal angles may be identical or nearly identical but the search space is being obscured bythe noise in the computation.Optimal parameter choices - QA: Figure 6 also allows examination of how stable the different parameters are,both across the 10 problem instances but also within each problem instance. In the case of quantum annealing,but the optimal annealing times are always 2000 and the optimal pause schedule is not incredibly consistent withpause fraction durations ranging from 0.1 to 0.9 and with anneal fractions s ranging from 0.5 to 0.7.9
p = 1p = 2p = 1 with DDDp = 2 with DDDp = 1 (no DDD) better than --10/105/104/10p = 2 (no DDD) better than -0/10-2/100/10p = 1 (with DDD) better than -5/108/10-4/10p = 2 (with DDD) better than -6/1010/106/10-Table 2: How the four different QAOA implementations, one and two rounds with and without DDD, compareagainst each other in terms of in how many of the 10 random instances each method was better than the otherthree methods in terms of mean objective function value across the 10000 samples (for the best angle combination).There is a clear finding in the order of performance of the four methods; p = 2 with no DDD performed the worse,p = 1 with no DDD performed the next best, p = 1 with DDD performed the next best, and p = 2 with DDDperformed the best overall.D-Wave devices performance differences: One last observation from Figure 6 is that there a small but consis-tent performance difference between the two quantum annealers; the slightly older generation Advantage system4.1yields lower mean energy than Advantage system6.1.4DiscussionIt is of considerable interest to determine how effective quantum annealing and QAOA are at computing theoptimal solutions of combinatorial optimization problems. Combinatorial optimization problems have wide reachingapplicability, and being able to solve them faster or to get better heuristic solutions is a very relevant topicin computing. In this article, we have presented experimental results for a fair direct comparison of QAOA andquantum annealing, implemented on the currently accessible quantum hardware via cloud computing. This researchhas specifically found the following:1. Quantum annealing finds higher quality solutions to the random test Isings with higher order terms comparedto the short depth QAOA p = 1 and p = 2 circuits, with reasonably fine grid searches over the QAOA anglesand quantum annealing schedules with pauses.2. QAOA performs noticeably better than random sampling - this is mostly due to the short depth QAOA circuitconstructions which allow reasonably robust computations to be executed without the qubits decohering oncurrent quantum computers.3. The short depth QAOA circuit construction is notable because it allows for higher order terms in the Ising,and is scalable to a heavy-hexagonal lattice of any size, therefore this circuit construction can be used forfuture implementations of QAOA on devices with heavy-hexagonal lattices.4. Dynamical decoupling can improve the computation of QAOA on NISQ computers.5AcknowledgmentsThis work was supported by the U.S. Department of Energy through the Los Alamos National Laboratory. LosAlamos National Laboratory is operated by Triad National Security, LLC, for the National Nuclear Security Ad-ministration of U.S. Department of Energy (Contract No. 89233218CNA000001). We acknowledge the use of IBMQuantum services for this work.The views expressed are those of the authors, and do not reflect the officialpolicy or position of IBM or the IBM Quantum team. The research presented in this article was supported bythe Laboratory Directed Research and Development program of Los Alamos National Laboratory under projectnumber 20220656ER. This research used resources provided by the Darwin testbed at Los Alamos National Labo-ratory (LANL) which is funded by the Computational Systems and Software Environments subprogram of LANL’sAdvanced Simulation and Computing program (NNSA/DOE).LA-UR-22-3307710
References[1]Tadashi Kadowaki and Hidetoshi Nishimori. “Quantum annealing in the transverse Ising model”. In: PhysicalReview E 58.5 (1998), pp. 5355–5363. doi: 10.1103/physreve.58.5355. url: https://doi.org/10.1103%2Fphysreve.58.5355.[2]Arnab Das and Bikas K Chakrabarti. “Colloquium: Quantum annealing and analog quantum computation”.In: Reviews of Modern Physics 80.3 (2008), p. 1061.[3]Philipp Hauke et al. “Perspectives of quantum annealing: methods and implementations”. In: Reports onProgress in Physics 83.5 (2020), p. 054401. doi: 10.1088/1361-6633/ab85b8. url: https://dx.doi.org/10.1088/1361-6633/ab85b8.[4]Sheir Yarkoni et al. “Quantum annealing for industry applications: introduction and review”. In: Reports onProgress in Physics 85.10 (2022), p. 104001. doi: 10.1088/1361-6633/ac8c54. url: https://doi.org/10.1088%2F1361-6633%2Fac8c54.[5]Stuart Hadfield et al. “From the Quantum Approximate Optimization Algorithm to a Quantum AlternatingOperator Ansatz”. In: Algorithms 12.2 (2019), p. 34. doi: 10.3390/a12020034. url: https://doi.org/10.3390%2Fa12020034.[6]Jeremy Cook, Stephan Eidenbenz, and Andreas B¨artschi. “The Quantum Alternating Operator Ansatz onMaximum k-Vertex Cover”. In: 2020 IEEE International Conference on Quantum Computing and Engineering(QCE). 2020, pp. 83–92. doi: 10.1109/QCE49297.2020.00021.[7]Edward Farhi, Jeffrey Goldstone, and Sam Gutmann. A Quantum Approximate Optimization Algorithm.2014. doi: 10.48550/ARXIV.1411.4028. url: https://arxiv.org/abs/1411.4028.[8]Phillip C. Lotshaw et al. “Scaling quantum approximate optimization on near-term hardware”. In: ScientificReports 12.1 (2022). doi: 10.1038/s41598-022-14767-w. url: https://doi.org/10.1038%2Fs41598-022-14767-w.[9]Tameem Albash and Daniel A. Lidar. “Demonstration of a Scaling Advantage for a Quantum Annealer overSimulated Annealing”. In: Phys. Rev. X 8 (3 2018), p. 031016. doi: 10.1103/PhysRevX.8.031016. url:https://link.aps.org/doi/10.1103/PhysRevX.8.031016.[10]Andrew D King et al. “Scaling advantage over path-integral Monte Carlo in quantum simulation of geomet-rically frustrated magnets”. In: Nature communications 12.1 (2021), pp. 1–6. doi: 10.1038/s41467-021-20901-5.[11]Edward Farhi and Aram W Harrow. Quantum Supremacy through the Quantum Approximate OptimizationAlgorithm. 2016. doi: 10.48550/ARXIV.1602.07674. url: https://arxiv.org/abs/1602.07674.[12]Lucas T. Brady et al. “Optimal Protocols in Quantum Annealing and Quantum Approximate OptimizationAlgorithm Problems”. In: Phys. Rev. Lett. 126 (7 2021), p. 070505. doi: 10.1103/PhysRevLett.126.070505.url: https://link.aps.org/doi/10.1103/PhysRevLett.126.070505.[13]Madita Willsch et al. “Benchmarking the quantum approximate optimization algorithm”. In: Quantum In-formation Processing 19.7 (2020), pp. 1–24. doi: 10.1007/s11128-020-02692-8.[14]Michael Streif and Martin Leib. Comparison of QAOA with Quantum and Simulated Annealing. 2019. doi:10.48550/ARXIV.1901.01903. url: https://arxiv.org/abs/1901.01903.[15]Elijah Pelofske et al. “Sampling on NISQ Devices: ”Who’s the Fairest One of All?””. In: 2021 IEEE Interna-tional Conference on Quantum Computing and Engineering (QCE). IEEE, 2021. doi: 10.1109/qce52317.2021.00038. url: https://doi.org/10.1109%2Fqce52317.2021.00038.[16]Stefan H. Sack and Maksym Serbyn. “Quantum annealing initialization of the quantum approximate op-timization algorithm”. In: Quantum 5 (2021), p. 491. doi: 10.22331/q-2021-07-01-491. url: https://doi.org/10.22331%2Fq-2021-07-01-491.[17]John Golden et al. Evidence for Super-Polynomial Advantage of QAOA over Unstructured Search. 2022. doi:10.48550/ARXIV.2202.00648. url: https://arxiv.org/abs/2202.00648.[18]Johannes Weidenfeller et al. “Scaling of the quantum approximate optimization algorithm on superconductingqubit based hardware”. In: Quantum 6 (Dec. 2022), p. 870. issn: 2521-327X. doi: 10.22331/q-2022-12-07-870. url: https://doi.org/10.22331/q-2022-12-07-870.11
[19]Matthew P. Harrigan et al. “Quantum approximate optimization of non-planar graph problems on a planarsuperconducting processor”. In: Nature Physics 17.3 (2021), pp. 332–336. doi: 10.1038/s41567-020-01105-y. url: https://doi.org/10.1038%2Fs41567-020-01105-y.[20]Pradeep Niroula et al. “Constrained quantum optimization for extractive summarization on a trapped-ionquantum computer”. In: Scientific Reports 12.1 (2022), pp. 1–14. doi: 10.1038/s41598-022-20853-w.[21]Dylan Herman et al. Portfolio Optimization via Quantum Zeno Dynamics on a Quantum Processor. 2022.doi: 10.48550/ARXIV.2209.15024. url: https://arxiv.org/abs/2209.15024.[22]Thomas A Caswell et al. matplotlib/matplotlib. Version v3.4.3. doi: 10.5281/zenodo.5194481.[23]J. D. Hunter. “Matplotlib: A 2D graphics environment”. In: Computing in Science & Engineering 9.3 (2007),pp. 90–95. doi: 10.1109/MCSE.2007.55.[24]Matthew Treinish et al. Qiskit/qiskit: Qiskit 0.34.1. Version 0.34.1. Jan. 2022. doi: 10.5281/zenodo.5823346.[25]Christopher Chamberland et al. “Topological and Subsystem Codes on Low-Degree Graphs with Flag Qubits”.In: Phys. Rev. X 10 (1 2020), p. 011022. doi: 10.1103/PhysRevX.10.011022. url: https://link.aps.org/doi/10.1103/PhysRevX.10.011022.[26]Stefanie Zbinden et al. “Embedding algorithms for quantum annealers with chimera and pegasus connectiontopologies”. In: International Conference on High Performance Computing. Springer. 2020, pp. 187–206. doi:10.1007/978-3-030-50743-5_10.[27]Nike Dattani, Szilard Szalay, and Nick Chancellor. Pegasus: The second connectivity graph for large-scalequantum annealing hardware. 2019. doi: 10.48550/ARXIV.1901.07636. url: https://arxiv.org/abs/1901.07636.[28]C. H. Tseng et al. “Quantum simulation of a three-body-interaction Hamiltonian on an NMR quantumcomputer”. In: Phys. Rev. A 61 (1 1999), p. 012302. doi: 10.1103/PhysRevA.61.012302. url: https://link.aps.org/doi/10.1103/PhysRevA.61.012302.[29]Nicholas Chancellor, Stefan Zohren, and Paul A Warburton. “Circuit design for multi-body interactions insuperconducting quantum annealing systems with applications to a scalable architecture”. In: npj QuantumInformation 3.1 (2017), pp. 1–7. doi: 10.1038/s41534-017-0022-6.[30]Colin Campbell and Edward Dahl. “QAOA of the Highest Order”. In: 2022 IEEE 19th International Confer-ence on Software Architecture Companion (ICSA-C). 2022, pp. 141–146. doi: 10.1109/ICSA-C54293.2022.00035.[31]Elisabetta Valiante et al. “Computational overhead of locality reduction in binary optimization problems”. In:Computer Physics Communications 269 (2021), p. 108102. issn: 0010-4655. doi: https://doi.org/10.1016/j.cpc.2021.108102. url: https://www.sciencedirect.com/science/article/pii/S0010465521002149.[32]Hiroshi Ishikawa. “Transformation of General Binary MRF Minimization to the First-Order Case”. In: IEEETransactions on Pattern Analysis and Machine Intelligence 33.6 (2011), pp. 1234–1249. doi: 10.1109/TPAMI.2010.91.[33]Elijah Pelofske et al. “Quantum annealing algorithms for Boolean tensor networks”. In: Scientific Reports 12.1(2022). doi: 10.1038/s41598-022-12611-9. url: https://doi.org/10.1038%2Fs41598-022-12611-9.[34]Shuxian Jiang et al. “Quantum annealing for prime factorization”. In: Scientific reports 8.1 (2018), pp. 1–9.doi: 10.1038/s41598-018-36058-z.[35]M. Cerezo et al. “Variational quantum algorithms”. In: Nature Reviews Physics 3.9 (2021), pp. 625–644. doi:10.1038/s42254-021-00348-9. url: https://doi.org/10.1038%2Fs42254-021-00348-9.[36]Samson Wang et al. “Noise-induced barren plateaus in variational quantum algorithms”. In: Nature commu-nications 12.1 (2021), pp. 1–11. doi: 10.1038/s41467-021-27045-6.[37]Yingyue Zhu et al. “Multi-round QAOA and advanced mixers on a trapped-ion quantum computer”. In:Quantum Science and Technology 8.1 (2022), p. 015007. doi: 10.1088/2058-9565/ac91ef. url: https://dx.doi.org/10.1088/2058-9565/ac91ef.[38]Dieter Suter and Gonzalo A. ´Alvarez. “Colloquium: Protecting quantum information against environmentalnoise”. In: Rev. Mod. Phys. 88 (4 2016), p. 041001. doi: 10.1103/RevModPhys.88.041001. url: https://link.aps.org/doi/10.1103/RevModPhys.88.041001.12
[39]Lorenza Viola, Emanuel Knill, and Seth Lloyd. “Dynamical Decoupling of Open Quantum Systems”. In:Phys. Rev. Lett. 82 (12 1999), pp. 2417–2421. doi: 10.1103/PhysRevLett.82.2417. url: https://link.aps.org/doi/10.1103/PhysRevLett.82.2417.[40]Mustafa Ahmed Ali Ahmed, Gonzalo A. ´Alvarez, and Dieter Suter. “Robustness of dynamical decouplingsequences”. In: Physical Review A 87.4 (2013). doi: 10.1103/physreva.87.042309. url: https://doi.org/10.1103%2Fphysreva.87.042309.[41]Ryan LaRose et al. “Mitiq: A software package for error mitigation on noisy quantum computers”. In: Quan-tum 6 (2022), p. 774. doi: 10.22331/q-2022-08-11-774. url: https://doi.org/10.22331%2Fq-2022-08-11-774.[42]Siyuan Niu and Aida Todri-Sanial. “Effects of Dynamical Decoupling and Pulse-Level Optimizations on IBMQuantum Computers”. In: IEEE Transactions on Quantum Engineering 3 (2022), pp. 1–10. doi: 10.1109/tqe.2022.3203153. url: https://doi.org/10.1109%2Ftqe.2022.3203153.[43]Nic Ezzell et al. Dynamical decoupling for superconducting qubits: a performance survey. 2022. doi: 10.48550/ARXIV.2207.03670. url: https://arxiv.org/abs/2207.03670.[44]Bibek Pokharel et al. “Demonstration of Fidelity Improvement Using Dynamical Decoupling with Supercon-ducting Qubits”. In: Phys. Rev. Lett. 121 (22 2018), p. 220502. doi: 10.1103/PhysRevLett.121.220502.url: https://link.aps.org/doi/10.1103/PhysRevLett.121.220502.[45]Andrew W. Cross et al. Open Quantum Assembly Language. 2017. doi: 10.48550/ARXIV.1707.03429. url:https://arxiv.org/abs/1707.03429.[46]Elijah Pelofske, Georg Hahn, and Hristo N. Djidjev. “Parallel quantum annealing”. In: Scientific Reports 12.1(2022). doi: 10.1038/s41598-022-08394-8. url: https://doi.org/10.1038%2Fs41598-022-08394-8.[47]Jeffrey Marshall et al. “Power of Pausing: Advancing Understanding of Thermalization in ExperimentalQuantum Annealers”. In: Phys. Rev. Appl. 11 (4 2019), p. 044083. doi: 10.1103/PhysRevApplied.11.044083. url: https://link.aps.org/doi/10.1103/PhysRevApplied.11.044083.13
123version https://git-lfs.github.com/spec/v1oid sha256:f6f8e14d19b5dae642843d3c1de6bd8502529893dbb78d89a7c279e9af9db184size 11638112345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019Draft version January 12, 2023Typeset using LATEX twocolumn style in AASTeX631HAWC Detection of a TeV Halo Candidate Surrounding a Radio-quiet pulsarA. Albert,1 R. Alfaro,2 J.C. Arteaga-Vel´azquez,3 E. Belmont-Moreno,2 T. Capistr´an,4A. Carrami˜nana,5 S. Casanova,6 J. Cotzomi,7 S. Couti˜no de Le´on,8 E. De la Fuente,9R. Diaz Hernandez,5 M.A. DuVernois,8 J.C. D´ıaz-V´elez,9 C. Espinoza,2 K.L. Fan,10 N. Fraija,4K. Fang,8 J.A. Garc´ıa-Gonz´alez,11 F. Garfias,4 Armelle Jardin-Blicq,12, 13 M.M. Gonz´alez,4J.A. Goodman,10 J.P. Harding,1 S. Hernandez,2 D. Huang,14 F. Hueyotl-Zahuantitla,15A. Iriarte,4 V. Joshi,16 A. Lara,17 J. Lee,18 H. Le´on Vargas,2 J.T. Linnemann,19A.L. Longinotti,4 G. Luis-Raya,20 K. Malone,21 O. Martinez,7 J. Mart´ınez-Castro,22J.A. Matthews,23 J.A. Morales-Soto,3 E. Moreno,7 M. Mostaf´a,24 A. Nayerhoda,6 L. Nellen,25M. Newbold,26 M.U. Nisa,27, 28 Y. P´erez Araujo,4 E.G. P´erez-P´erez,20 C.D. Rho,29D. Rosa-Gonz´alez,5 M. Schneider,10 J. Serna-Franco,2 A.J. Smith,10 Y. Son,18 R.W. Springer,26K. Tollefson,27 I. Torres,5 R. Torres-Escobedo,30 X. Wang,14 K. Whitaker,24 E. Willox,10 H. Zhou,30C. de Le´on,3(THE HAWC COLLABORATION)1Physics Division, Los Alamos National Laboratory, Los Alamos, NM, USA2Instituto de F´ısica, Universidad Nacional Aut´onoma de M´exico, Ciudad de Mexico, Mexico3Universidad Michoacana de San Nicol´as de Hidalgo, Morelia, Mexico4Instituto de Astronom´ıa, Universidad Nacional Aut´onoma de M´exico, Ciudad de Mexico, Mexico5Instituto Nacional de Astrof´ısica, ´Optica y Electr´onica, Puebla, Mexico6Institute of Nuclear Physics Polish Academy of Sciences, PL-31342 IFJ-PAN, Krakow, Poland7Facultad de Ciencias F´ısico Matem´aticas, Benem´erita Universidad Aut´onoma de Puebla, Puebla, Mexico8Department of Physics, University of Wisconsin-Madison, Madison, WI, USA9Departamento de F´ısica, Centro Universitario de Ciencias Exactase Ingenierias, Universidad de Guadalajara, Guadalajara, Mexico10Department of Physics, University of Maryland, College Park, MD, USA11Tecnologico de Monterrey, Escuela de Ingenier´ıa y Ciencias, Ave. Eugenio Garza Sada 2501, Monterrey, N.L., Mexico, 6484912Universit´e Bordeaux, CNRS/IN2P3, LP2I Bordeaux, UMR 5797, F-33170 Gradignan, France13Max-Planck Institute for Nuclear Physics, D-69117 Heidelberg, Germany14Department of Physics, Michigan Technological University, Houghton, MI, USA15Universidad Aut´onoma de Chiapas, Tuxtla Guti´errez, Chiapas, M´exico16Erlangen Centre for Astroparticle Physics, Friedrich-Alexander-Universit¨at Erlangen-N¨urnberg, Erlangen, Germany17Instituto de Geof´ısica, Universidad Nacional Aut´onoma de M´exico, Ciudad de Mexico, Mexico18University of Seoul, Seoul, Rep.of Korea19Department of Physics and Astronomy, Michigan State University, East Lansing, MI, USA20Universidad Politecnica de Pachuca, Pachuca, Hgo, Mexico21Space Science and Applications Group, Los Alamos National Laboratory, Los Alamos, NM, USA22Centro de Investigaci´on en Computaci´on, Instituto Polit´ecnico Nacional, M´exico City, M´exico.23Dept of Physics and Astronomy, University of New Mexico, Albuquerque, NM, USA24Department of Physics, Pennsylvania State University, University Park, PA, USA25Instituto de Ciencias Nucleares, Universidad Nacional Aut´onoma de Mexico, Ciudad de Mexico, Mexico26Department of Physics and Astronomy, University of Utah, Salt Lake City, UT, USA27Department of Physics and Astronomy, Michigan State University, East Lansing, MI, USA28Department of Physics, Michigan Technological University, Houghton, MI, USA29University of Seoul, Seoul, Rep. of Korea30Tsung-Dao Lee Institute, Shanghai Jiao Tong University, Shanghai, ChinaCorresponding author: Sara Couti˜no de Le´onscoutino@icecube.wisc.eduarXiv:2301.04646v1 [astro-ph.HE] 11 Jan 2023
ID2ABSTRACTExtended very-high-energy (VHE; 0.1-100 TeV) γ-ray emission has been observed around severalmiddle-aged pulsars and referred to as “TeV halos”. Their formation mechanism remains under debate.It is also unknown whether they are ubiquitous or related to certain subgroup of pulsars. With 2321days of observation, the High Altitude Water Cherenkov (HAWC) Gamma-Ray Observatory detectedVHE γ-ray emission at the location of the radio-quiet pulsar PSR J0359+5414 with > 6σ significance.By performing likelihood tests with different spectral and spatial models and comparing the TeVspectrum with multi-wavelength observations of nearby sources, we show that this excess is consistentwith a TeV halo associated with PSR J0359+5414, though future observation of HAWC and multi-wavelength follow-ups are needed to confirm this nature. This new halo candidate is located in anon-crowded region in the outer Galaxy. It shares similar properties to the other halos but its pulsar isyounger and radio-quiet. Our observation implies that TeV halos could commonly exist around pulsarsand their formation does not depend on the configuration of the pulsar magnetosphere.Keywords: Pulsars (1306) — Gamma-ray astronomy(628) — High-energy astrophysics(739)1. INTRODUCTIONExtended TeV gamma-ray emission has been observedaround several middle-aged (> 100 kyr) pulsars andgrouped as a new source class named “TeV halos” (Lin-den et al. 2017; L´opez-Coto et al. 2022). Seven sourcesare referenced as TeV halos in the online catalog for TeVAstronomy, TeVCat1 (Wakely & Horan 2008), includingthe first halos around the Geminga and Monogem pul-sars, discovered by HAWC (Abeysekara et al. 2017a),HESS J1825-137 reported by the H.E.S.S. collaboration(H. E. S. S. Collaboration et al. 2018), and the haloof PSR J0622+3749, identified by the LHAASO collab-oration (Aharonian et al. 2021).The VHE fluxes ofthese halos suggest that ∼ 10% − 40% of the spin-downpower of the pulsars is converted into e± pair popula-tion that interacts with the ambient interstellar radia-tion field (Sudoh et al. 2019; Aharonian et al. 2021). Thediffusion coefficients derived from the sizes of the halosare typically two orders of magnitude lower than theaverage diffusion coefficient of the interstellar medium(ISM; Hooper et al. 2017; Sudoh et al. 2019).The formation mechanism of the TeV halos is stillunder debate (Linden et al. 2017; Sudoh et al. 2019;Giacinti et al. 2020; L´opez-Coto et al. 2022; Liu 2022; DeLa Torre Luque et al. 2022). Whether they are related tothe local environment, such as extended, diffuse emissionby other sources near the pulsar (e.g., the MonogemRing Plucinsky et al. 1996), is also questioned. If TeVhalos commonly exist around pulsars, they can be usedto study the propagation of cosmic rays (e.g., Evoli et al.2018) and to identify pulsars that are otherwise invisibleto radio and γ-ray observations (Linden et al. 2017).1 http://tevcat2.uchicago.edu/In this letter, we report the detection of a new TeVhalo candidate around the pulsar PSR J0359+5414(hereafter J0359) using 2321 days of HAWC data. Thedetection of J0359 was first reported in the Fermi LargeArea Telescope (LAT) First Source Catalog (1FGL,Abdo et al. 2010) where it remained as an unclassi-fied source until the Third Source Catalog (3FGL, Aceroet al. 2015). J0359 was later classified as a radio-quietpulsar by Clark et al. (2017) with an age of 75 kyr anda spin-down power of ˙E = 1.3 × 1036 erg s−1. In Zyuzinet al. (2018) a pseudo-distance of J0359 is reported asd = 3.45 kpc, derived from the ˙E and the gamma-rayflux.The latest report at high energies of J0359 ap-pears in the Fermi-LAT Fourth Source Catalog (4FGL,Abdollahi et al. 2020) where it is detected above 33σin the MeV-GeV energy range. A pulsar wind nebula(PWN) with an extension of ∼ 30′′ was observed byChandra as a result of a X-ray analysis on gamma-raypulsars (Zyuzin et al. 2018). No radio emission has beendetected from the pulsar (Grießmeier et al. 2021). TheVHE γ-ray emission from the vicinity of J0359 observedby HAWC presents similar properties to the other TeVhalos candidates, including the derived acceleration ef-ficiency and diffusion coefficient. If this source is a TeVhalo, it would support the hypothesis that the halos areubiquitous.The paper is organized as follows. The data set andanalysis framework are described in Section 2. The re-sults of the spectral and spatial analysis are presented inSection 3. In Section 4, the broadband spectral energydistribution (SED) of J0359 is presented and the originof the TeV emission is discussed. The conclusions aresummarized in Section 5.2. INSTRUMENT AND DATA ANALYSIS
TeV Halo Candidate Surrounding Radio-quiet pulsar3Figure 1. HAWC significance map in Galactic coordinatesusing 2321 days of live data. The significance is computedwith a point-like spatial template and a power-law spectrumwith spectral index α = 2.7. For comparison, the positionsof PSR J0359+5414 and PSR B0355+54 are marked.The HAWC Gamma-Ray Observatory consists of 300water Cherenkov detectors located at 19◦N in Puebla,Mexico at an altitude of 4100 m. Each detector is in-strumented with 4 photo-multiplier tubes (PMTs) thatare capable of detecting the Cherenkov radiation pro-duced in the detector water when an electromagnetic orhadronic shower hits the ground, which is initiated bya γ-ray or a cosmic ray, respectively, when it enters theEarth’s atmosphere. HAWC is sensitive to sources withdeclinations between −41◦ and +79◦ and to energies inthe 300 GeV to > 100 TeV range. The data set usedin this analysis comprises 2321 days of live data takenfrom November 2014 to October 2021. The data set isdivided into 11 analysis bins (fHit) based on the fractionof PMTs that are triggered in each event, on and off themain detector array. A full description of HAWC’s de-sign and performance can be found in Smith & HAWCCollaboration (2015) and Abeysekara et al. (2017b).A maximum likelihood analysis was performed usingthe Multi-Mission Maximum Likelihood (3ML) frame-work (Vianello et al. 2015) with the HAWC AcceleratedLikelihood (HAL) plug-in (Abeysekara et al. 2021). Formodel selection, we use the likelihood ratio test statistic(TS) which is defined byTS = 2 ln LS+BLB,(1)where LS+B is the maximum likelihood of a signal plusbackground model, which depends on the spectral andspatial parameters, and LB is the maximum likelihood ofthe background-only hypothesis. Three spectral modelsare tested, including single power-law (PL, Equation 2),log-parabola (LOGP, Equation 3), and power-law withan exponential energy cutoff (PL+CO, Equation 4):dNdE = N0� EE0�−α,(2)dNdE = N0� EE0�−α−β ln(E/E0),(3)dNdE = N0� EE0�−α× exp�−EEc�.(4)In the above equations, N0 is the flux normalization inunits of [TeV−1cm−2s−1], E0 is the pivot energy fixed at30 TeV to minimize correlations with the other parame-ters, α is the spectral index, Ec is the cut-off energy andβ is the curvature of the log-parabola spectrum. Twospatial models are tested: a point-like template and anextended template. The extended template is describedby a symmetric Gaussian with width as a free parame-ter.The energy range in which a source is detected is com-puted by multiplying a step function with the best fitmodel (nominal case). The lower and upper values ofthe step function at which the likelihood decreases by1σ, 2σ or 3σ from that of the nominal case are regardedas the upper limit to the minimum energy and lowerlimit to the maximum energy, respectively.3. RESULTS3.1. Association with J0359We first free the position of the emission and fit thePL point source model to data. The best-fit R.A. anddecl. are 59.83 ± 0.07stat and 54.22 ± 0.05stat degrees(the systematic uncertainty at this location is 0◦.02),which are consistent with the position of J0359 (59.86and 54.25 degrees for R.A and decl. respectively). TheTS of the model is TS = 38.18, which corresponds to asignificance of 6.18σ for four degrees of freedom basedon the Wilks theorem (Wilks 1938). As the position isconsistent with the pulsar position, we fixed the TeVemission to the pulsar position to perform the spectralanalysis.Table 1 summarizes the best-fit parameters of differ-ent spectral and spatial models.The simplest modelassuming a point-like morphology and non-broken PL
PSR-B0355+542PSR-J0359+54141b0-11501491481471[°]-4-202468101214VTS4Table 1. PSR J0359-5414 likelihood fit results for the two spatial scenarios and different spectral shapes.ModelTS∆BICExtensionN0αβEc[◦][×10−16TeV−1cm−2s−1][TeV]PL, point-like37.86-12-1.34+0.34−0.272.60 ± 0.16--LOGP, point-like39.18-1-1.6+0.5−0.42.80 ± 0.230.14 ± 0.12-PL+CO, point-like37.980-4+50−42.5 ± 1.2-500PL, extended40.27-120.2 ± 0.12.0+0.8−0.62.52 ± 0.16--LOGP, extended41.72-1.20.2 ± 0.12.6+1.5−1.02.71 ± 0.220.14 ± 0.13-PL+CO, extended40.4800.23 ± 0.114+5−42.40 ± 0.19-270+240−130Note—All the associated errors are statistical. The best model is the one with the lowest BIC value so, ∆BIC isthe difference between a model and the best model, such that it quantifies the evidence against the model withthe highest BIC value. In this case, from both spatial models, the PL+CO spectral model results with the highestBIC value. The energy cutoff of 500 TeV of the PL+CO point-like model is the boundary of the fit.yields TS = 37.86. In general more complicated modelswith extended morphology and spectral curvature yieldsa larger TS since they have more degrees of freedom thanthe PL point-source model. So, the preferred spectralmodels for both spatial assumptions is a PL, based theBIC values, where these models have the lower ones.Figure 2 presents the model and residual significancemaps, and the residual histograms for the two spatialtemplates assuming a PL spectral model.The resid-ual histogram shows the distribution of the significancevalue in each pixel within the region of interest cen-tered at J0359. The residual significance is defined asthe deviation from the background expectation after fit-ting and subtracting the modeled emission from J0359.If only random background fluctuations are left, thenthe significance values follow a standard normal distri-bution (dashed red line). A positive tail is visible in theresidual map of the point-source model. Although thecurrent sample do not allow to distinguish between thedifferent spatial models, the residual histograms in Fig-ure 2 indicate that we get a better fit for an extendedmodel.The energy range of the detection are found to be 7-188 TeV at 1σ level, 11-89 TeV at 2σ level and 15-51TeV at 3σ level, with the PL point-source model. Forthe PL extended model, the energy range is 4-190 TeVat 1σ level, 9-110 TeV at 2σ level and 17-78 TeV at 3σlevel.The luminosity of the VHE emission is L15−51 TeV =3.6 × 1032 erg s−1 for a distance of 3.45 kpc. The typ-ical energies of the synchrotron and inverse Comptonphotons produced by the same electrons are relatedby Esyn ≈ 2.1 keV(EIC/30 TeV) (B/10 µG) (e.g., Aharo-nian et al. 1997), where B is the magnetic field strengthin the PWN. As the magnetic energy density of a PWNis usually higher than the energy density of the Cos-mic Microwave Background (CMB) and infrared (IR)photons of the ISM, the synchrotron flux of a typicalPWN at keV energies is expected to be higher thanits inverse Compton emission at the HAWC energies(see e.g., the Crab Nebula H. E. S. S. Collaboration2020). However, the X-ray luminosity of J0359’s PWN,L0.3−10 keV = 2.8 × 1031 erg s−1 (Zyuzin et al. 2018), isinstead ∼ 13 times lower than the VHE gamma-ray lu-minosity. This suggests the existence of a VHE electronpopulation outside the region where the nebula is ener-getically dominant, which is expected in the case of aTeV halo (Linden et al. 2017; L´opez-Coto et al. 2022).Figure 3 presents the broadband SED of J0359. Thepulsar, PWN, and TeV halo components are shown ingrey, black, and in blue/green colors, respectively. Themulti-wavelength data points include an upper limit ofthe pulsar emission by the Effelsberg telescope at 1400MHz (Grießmeier et al. 2021), X-ray measurements ofthe pulsar and PWN (Zyuzin et al. 2018), γ-ray ob-servation of the pulsar from 50 MeV to 1 TeV by theFermi-LAT (Abdollahi et al. 2020), and the VHE fluxof the halo measured by HAWC.3.2. Nearby pulsar B0355+54Another pulsar, PSR B0355+54 (B0355) is only 0.09degrees from J0359. B0355 is classified as a radio-loudpulsar with characteristic age of 564 kyr and spin-downpower˙E = 4.5 × 1034 erg s−1 at a distance of 1 kpc.B0355 has not been detected at high or very-high ener-gies (Benbow et al. 2021). Below we investigate whetherB0355 is related to the HAWC excess emission.We performed likelihood fits and compared three sce-narios: 1) the VHE emission is only associated withJ0359, 2) the VHE emission is only associated with
TeV Halo Candidate Surrounding Radio-quiet pulsar5(a) PL, point-like model(b) PL, extended model(c) PL, point-like residuals(d) PL, extended residuals(e) PL, point-like residualhistogram( f) PL, extended residualhistogramFigure 2.Comparison of the model maps, significancemaps, and 1-D residual histograms for point-like and ex-tended spatial models. The source position is fixed to PSRJ0359+5414 (black cross in the significance maps) and thespectrum is assumed to be a non-broken power-law.Thebest-fit parameter values are listed in Table 1.B0355, and 3) the VHE emission is contributed by bothsources. We present the detailed results of scenarios 2and 3 in Appendix A and B, respectively. We find thatthe two-source scenario (scenario 3) is disfavored com-pared to the single-source scenarios. Scenario 1 (J0359)yields lower BIC values than scenario 2 (B0355) for var-ious spectral and spatial models, though the preferenceof scenario 1 is not statistically significant.The VERITAS telescope searched for emission fromthe PWN of B0355 and posed tight upper limits on theTeV flux (Benbow et al. 2021). The right panel of Figure3 shows the broadband SED of B0355, which includesthe radio observation of the pulsar (Lorimer et al. 1995),X-ray observation of the pulsar and its tail at 0.5-8 keV(Klingler et al. 2016), and the VERITAS upper limits at95% C.L. between 1 and 10 TeV (Benbow et al. 2021).For comparison, we show the best-fit flux between 16and 59 TeV obtained by assuming that the VHE emis-sion is centered at the position of B0355. The upperlimits set by VERITAS on B0355’s tail are in tensionwith the HAWC’s flux at 16 TeV for both the point-like and extended models. This suggests that the excessemission observed by HAWC is more likely associatedwith J0359 than B0355, though future multi-wavelengthobservation is needed to confirm the finding.4. SYSTEMATIC UNCERTAINTIESThe systematic uncertainties arising from the detec-tor performance and simulations are described in Abey-sekara et al. (2017b) and Abeysekara et al. (2019). Thesystematic contribution is calculated in a single energyband for each spectral and spatial parameter, with thepositive (negative) shift results added in quadrature toaccount for the upward (downward) uncertainties. Thesystematic uncertainties are calculated for the PL spec-tral model and for both the point-like and extended tem-plates.To account for additional sources of systematic uncer-tainties, such as the variations in the atmosphere thatare not considered in simulations, a 10% error has beenadded to normalization ��ux (Albert et al. 2020). Thetotal systematic uncertainties are reported in Table 2.5. CONCLUSIONSWith 2321 days of HAWC observation, VHE γ-rayemission is detected in a relatively source-empty regionin the outer galaxy. Based on likelihood fits with dif-ferent spectral and spatial models to the HAWC dataand the comparison of VHE γ-ray flux with multi-wavelength observations, we conclude that the emis-sion is a TeV halo candidate associated with the pulsarPSR J0359+5414.If this TeV emission is a halo, it would share sim-ilar characteristics with the existing population.Wefind a 95% upper limit on the extension of the emis-sion as 0.◦41 (with the PL-extended model in Ta-ble 1), corresponding to a physical size of Rul=
PSRJO0359+54142 b0149148147[。]1-4 -224681012140VTSPSRJO0359+54142 b0149148147[。]1-4 -202468101214VTSPSRT0359+54142 b01491481471[°]-4 -224608101214VTSPSRJO0359+54142 Xb0149148147[。-4 -202468101214VTS1D Significance Histogram101 PixelsDataExpectationNumber of Fitmean = 0.395 ± 0.043width = 1.249 ± 0.0491000-4-2024significance1D Significance Histogram101 Pixels DataExpectationNumber of Fitmean = 0.063 ± 0.019width = 0.964 ± 0.0181000.4-202significance610410110210510810111014Energy (eV)101610151014101310121011E2 dN/dE (erg cm2 s1)Telescope/ObservatoryHAWCChandraFermi-LATEffelsbergComponentsTeV haloPWNPulsar10410110210510810111014Energy (eV)101610151014101310121011E2 dN/dE (erg cm2 s1)Telescope/ObservatoryHAWCChandraVERITASLovellComponentsTeV haloTailPulsarFigure 3. Left panel: Spectral energy distribution (SED) of the emission around PSR J0359+5414, including the TeV halo(green and blue bands corresponding to the HAWC observation for a point-like and extended model, respectively, as explainedin Section 3), the PWN (black band at 0.3-10 keV; Zyuzin et al. 2018), and the pulsar (in grey color; including the upper limitin radio at 1400 MHz from Grießmeier et al. 2021, the band in X-ray at 0.3-10 keV from Zyuzin et al. 2018, and the datapoints or limits at 100 MeV-1 TeV from Abdollahi et al. 2020). Right panel: SED of the emission around PSR B0355+54.The green and blue bands indicate the TeV excess emission obtained from fits to the HAWC data with models that center atB0355 with point-like and extended spatial profiles, respectively (see Appendix A). For comparison, the upper limits on VHEgamma-ray emission from the PWN by VERITAS with hard spectral cuts are shown in orange, with the upper and lower barscorresponding to region sizes of 0◦.1 and 0◦.235, respectively (Benbow et al. 2021). The black band at 0.5-8 keV indicates thePWN in X-rays (Klingler et al. 2016). The grey band at 0.5-8 keV (Klingler et al. 2016) and the circular data markers at 1400and 1600 MHz (Lorimer et al. 1995) correspond to the emission from the pulsar. The HAWC bands correspondo to statisticaluncerntanties only.Table 2. Systematic uncertainties considering a PLfor each spatial scenario.ModelParameterLower sys.Upper sys.Point-likeN0−3.94.6α−0.150.3ExtendedN0−4.63.4α−0.050.03extension−0.020.02Note—N0 is in units of 10−17 TeV−1cm−2s−1 andextension is in degrees.25 (d/3.45 kpc) pc.The diffusion coefficient of thehalo is confined to be D≲R2ul/(4 te)=3.7 ×1027 cm2 s−1(te/12 kyr)−1(d/3.45 kpc)2,wherete∼12 kyr(Ee/100 TeV)−1 is the cooling time of an electronat energy Ee by upper-scattering the CMB. Like theother halos (Abeysekara et al. 2017a), the diffusion co-efficient is much lower than the average diffusion coeffi-cient of the ISM.The candidate halo of J0359 joins the observation ofextended VHE emission surrounding PSR J0622+3749(Aharonian et al. 2021) as the first evidence of TeV halosaround radio-quiet pulsars. Their presence suggests thatthe formation of the halos is insensitive to the configu-ration of the pulsar magnetosphere, in particular, thegeometry of the γ-ray and radio beams (Harding 2001).With an age of 70 kyr, J0359 is younger than the otherpulsars with halos. It is likely in a transition betweenthe so-called relic- and halo-stage of a PWN, the bound-aries of which are not well defined and have motivateddifferent classification criteria of TeV halos (Linden et al.2017; Giacinti et al. 2020; L´opez-Coto et al. 2022). Ourobservation of TeV halo features associated with J0359implies that high-energy particles may already start es-caping in the ISM in the late relic-stage.Our observation provides spectral evidence toward aTeV halo nature of J0359.Future data from HAWCand multi-wavelength follow-ups of this new TeV sourceare crucial to confirming its nature via morphologicalstudies that identify the halo extension and exclude theassociation with the nearby pulsars. Future observationsof young to middle-aged pulsars like PSR J0359+5414with wide-field γ-ray experiments and imaging atmo-spheric Cherenkov telescopes may provide further un-derstanding into the evolution of TeV PWNe and theirconnection with TeV halos.ACKNOWLEDGMENTSWe acknowledge the support from:the US Na-tional Science Foundation (NSF); the US Departmentof Energy Office of High-Energy Physics; the Labora-
TeV Halo Candidate Surrounding Radio-quiet pulsar7tory Directed Research and Development (LDRD) pro-gram of Los Alamos National Laboratory; Consejo Na-cional de Ciencia y Tecnolog´ıa (CONACyT), M´exico,grants 271051, 232656, 260378, 179588, 254964, 258865,243290, 132197, A1-S-46288, A1-S-22784, c´atedras 873,1563, 341, 323, Red HAWC, M´exico; DGAPA-UNAMgrants IG101320, IN111716-3, IN111419, IA102019,IN110621, IN110521; VIEP-BUAP; PIFI 2012, 2013,PROFOCIE 2014, 2015; the University of WisconsinAlumni Research Foundation; the Institute of Geo-physics,Planetary Physics,and Signatures at LosAlamos National Laboratory; Polish Science Centregrant, DEC-2017/27/B/ST9/02272; Coordinaci´on de laInvestigaci´on Cient´ıfica de la Universidad Michoacana;Royal Society - Newton Advanced Fellowship 180385;Generalitat Valenciana, grant CIDEGENT/2018/034;The Program Management Unit for Human Resources& Institutional Development, Research and Innovation,NXPO (grant number B16F630069); Coordinaci´on Gen-eral Acad´emica e Innovaci´on (CGAI-UdeG), PRODEP-SEP UDG-CA-499; Institute of Cosmic Ray Research(ICRR), University of Tokyo, H.F. acknowledges sup-port by NASA under award number 80GSFC21M0002.We also acknowledge the significant contributions overmany years of Stefan Westerhoff, Gaurang Yodh and Ar-nulfo Zepeda Dominguez, all deceased members of theHAWC collaboration. Thanks to Scott Delay, LucianoD´ıaz and Eduardo Murrieta for technical support.REFERENCESAbdo, A. A., Ackermann, M., Ajello, M., et al. 2010, ApJS,188, 405, doi: 10.1088/0067-0049/188/2/405Abdollahi, S., Acero, F., Ackermann, M., et al. 2020, ApJS,247, 33, doi: 10.3847/1538-4365/ab6bcbAbeysekara, A. U., Albert, A., Alfaro, R., et al. 2017a,Science, 358, 911, doi: 10.1126/science.aan4880—. 2017b, ApJ, 843, 39, doi: 10.3847/1538-4357/aa7555—. 2019, ApJ, 881, 134, doi: 10.3847/1538-4357/ab2f7dAbeysekara, A. U., et al. 2021, PoS, ICRC2021, 828,doi: 10.22323/1.395.0828Acero, F., Ackermann, M., Ajello, M., et al. 2015, ApJS,218, 23, doi: 10.1088/0067-0049/218/2/23Aharonian, F., An, Q., Axikegu, Bai, L. X., et al. 2021,PhRvL, 126, 241103,doi: 10.1103/PhysRevLett.126.241103Aharonian, F. A., Atoyan, A. M., & Kifune, T. 1997,MNRAS, 291, 162, doi: 10.1093/mnras/291.1.162Albert, A., Alfaro, R., Alvarez, C., et al. 2020, ApJ, 905,76, doi: 10.3847/1538-4357/abc2d8Benbow, W., Brill, A., Buckley, J. H., et al. 2021, ApJ, 916,117, doi: 10.3847/1538-4357/ac05b9Clark, C. J., Wu, J., Pletsch, H. J., et al. 2017, ApJ, 834,106, doi: 10.3847/1538-4357/834/2/106De La Torre Luque, P., Fornieri, O., & Linden, T. 2022,arXiv e-prints, arXiv:2205.08544.https://arxiv.org/abs/2205.08544Evoli, C., Linden, T., & Morlino, G. 2018, Phys. Rev. D,98, 063017, doi: 10.1103/PhysRevD.98.063017Giacinti, G., Mitchell, A. M. W., L´opez-Coto, R., et al.2020, Astron. Astrophys., 636, A113,doi: 10.1051/0004-6361/201936505Grießmeier, J. M., Smith, D. A., Theureau, G., et al. 2021,A&A, 654, A43, doi: 10.1051/0004-6361/202140841H. E. S. S. Collaboration. 2020, Nature Astronomy, 4, 167,doi: 10.1038/s41550-019-0910-0H. E. S. S. Collaboration, Abdalla, H., Abramowski, A.,et al. 2018, A&A, 612, A2,doi: 10.1051/0004-6361/201629377Harding, A. K. 2001, in American Institute of PhysicsConference Series, Vol. 558, High Energy Gamma-RayAstronomy: International Symposium, ed. F. A.Aharonian & H. J. V¨olk, 115–126, doi: 10.1063/1.1370785Hooper, D., Cholis, I., Linden, T., & Fang, K. 2017, Phys.Rev. D, 96, 103013, doi: 10.1103/PhysRevD.96.103013Kass, R. E., & Raftery, A. E. 1995, Journal of theAmerican Statistical Association, 90, 773,doi: 10.1080/01621459.1995.10476572Klingler, N., Rangelov, B., Kargaltsev, O., et al. 2016, ApJ,833, 253, doi: 10.3847/1538-4357/833/2/253Linden, T., Auchettl, K., Bramante, J., et al. 2017, PhRvD,96, 103016, doi: 10.1103/PhysRevD.96.103016Liu, R.-Y. 2022, arXiv e-prints, arXiv:2207.04011.https://arxiv.org/abs/2207.04011L´opez-Coto, R., de O˜na Wilhelmi, E., Aharonian, F.,Amato, E., & Hinton, J. 2022, Nature Astronomy, 6, 199,doi: 10.1038/s41550-021-01580-0Lorimer, D. R., Yates, J. A., Lyne, A. G., & Gould, D. M.1995, MNRAS, 273, 411, doi: 10.1093/mnras/273.2.411Plucinsky, P. P., Snowden, S. L., Aschenbach, B., et al.1996, ApJ, 463, 224, doi: 10.1086/177236Smith, A. J., & HAWC Collaboration. 2015, inInternational Cosmic Ray Conference, Vol. 34, 34thInternational Cosmic Ray Conference (ICRC2015), 966.https://arxiv.org/abs/1508.05826Sudoh, T., Linden, T., & Beacom, J. F. 2019, PhRvD, 100,043016, doi: 10.1103/PhysRevD.100.043016
8Vianello, G., Lauer, R. J., Younk, P., et al. 2015, arXive-prints, arXiv:1507.08343.https://arxiv.org/abs/1507.08343Wakely, S. P., & Horan, D. 2008, in International CosmicRay Conference, Vol. 3, International Cosmic RayConference, 1341–1344Wilks, S. S. 1938, Annals Math. Statist., 9, 60,doi: 10.1214/aoms/1177732360Zyuzin, D. A., Karpova, A. V., & Shibanov, Y. A. 2018,MNRAS, 476, 2177, doi: 10.1093/mnras/sty359
TeV Halo Candidate Surrounding Radio-quiet pulsar9Table 3.Results of the likelihood fit assuming that the only emitting sourceis PSR B0355+54. The PL spectral model along with the two different spatialmodels were tested.Spatial modelTS∆BICExtensionN0α[◦]TeV−1 cm−2 s−1Point-like35.86-1.90.0(1.28+0.34−0.27) × 10−162.56 ± 0.17Extended41.83-1.50.22 ± 0.09(2.0+0.7−0.5) × 10−162.51 ± 0.15Note—All associated errors are statistical. ∆BIC is obtained comparing the BICvalue with the best spectral model fit for both spatial models assuming that theemission is coming from J0359 (Section 3).APPENDIXA. PSR B0355+54 FITTING RESULTSIn this section, we explore the possibility that the TeV excess comes entirely from B0355. We fit models with apower-law (PL) spectrum and the spatial templates described in Section 3. The results are summarized in Table 3.The energy ranges at which the source is detected are 7-180 TeV at 1σ level, 11-90 TeV at 2σ level and 17-54 TeVassuming at 3σ level assuming a point-like morphology. For an extended morphology, the energy ranges are found tobe 8-155 TeV for 1σ level, 11-90 TeV at 2σ level and 17-59 at 3σ level.As single-source scenarios are not nested models, we have employed the Bayesian Information Criterion (BIC) toselect the models. The difference in the BIC value, ∆BIC, quantifies the evidence against the model with a higherBIC value. According to Kass & Raftery (1995), if ∆BIC is between 0 and 2 it is not clear which model is preferred;∆BIC between 2 and 10 and above 10 indicates a slight and strong preference of the model with the smallest BIC,respectively.The small difference in ∆BIC from the fits of models centered at J0359 and B0355 does not allow us to distinguishbetween the models. This is expected as the angular distance of the two pulsars is smaller than the spatial resolutionof HAWC. However, the tension between the VERITAS limits on B0355 and HAWC fluxes, as explained in Section 3,suggests that the TeV emission is more likely associated with J0359.B. FITTING RESULTS OF A TWO-SOURCE SCENARIOWe further explore a scenario where both J0359 and B0359 contribute to the TeV emission observed by HAWC.Such a two-source model is disfavored by the data.Table 4 presents the results of the two-source models. We consider three combinations of spatial profiles of thetwo sources: (A) both sources are point-like, (B) both sources are extended with a Gaussian shape, and (C) J0359 isextended source and B0355 is point-like. The energy spectrum is assumed to be a PL. The normalization flux N0 andthe spectral index α in each fit were free to vary while the position of the sources for all the scenarios were fixed.The ∆TS column shows the gain of test statistics by adding an extra source to the one-source model presented inSection 3 and Section A (the baseline model considers pure background plus the emission from the other source). Thetwo-source model is disfavored in all cases.
10Table 4.Results of the likelihood fit assuming that the excess observed comes from two sources: PSRJ0359+5414 and PSR B0355+54. The spectral model for all the spatial models is a PL.Two-source modelSource∆TS∆BICExtensionN0α[◦]TeV−1 cm−2 s−1J03592.320.0(1.0+0.5−0.9) × 10−162.63+0.6−0.20Model AB03550.32-240.0(0.00034+6−0.00024) × 10−132.4+1.3−5J03598.731.500+0.18−0.004(3.3+1.5−3.3) × 10−162.2+0.4−1.3Model BB035510.29-260.14+0.08−0.15(1.5+0.5−0.4) × 10−162.56 ± 0.20J035913.021.5000 ± 0.0010(0.04+4−0.04) × 10−142.2 ± 2.8Model CB03558.62-26 / -150.0(3.2+3.0−1.5) × 10−162.60 ± 0.28Note—All associated errors are statistical. Model A corresponds to a scenario where both sources are point-like, model B assumes that both sources are extended with a Gaussian shape, and model C assumes thatPSR J0359+5414 is as a point-like source and PSR B0355+54 is an extended source with a Gaussian shape.∆BIC is obtained comparing the BIC value with the best model fit assuming that the emission is comingfrom J0359 (Section 3). For model A, with the PL point-like model, for model B with the PL Gaussianmodel and for model C with the two previous models.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788Astronomy & Astrophysics manuscript no. main©ESO 2023January 23, 2023Supercritical colliding wind binariesLeandro Abaroa1, 2⋆, Gustavo E. Romero1, 2, and Pablo Sotomayor1, 21 Instituto Argentino de Radioastronomía, CICPBA-CONICET-UNLPVilla Elisa, La Plata, Argentina2 Facultad de Cs. Astronómicas y Geofísicas, Universidad Nacional de La PlataPaseo del Bosque S/N (1900), La Plata, ArgentinaReceived / AcceptedABSTRACTContext. Particle-accelerating colliding-wind binaries (PACWBs) are systems that are formed by two massive and hot stars andproduce nonthermal radiation. The key elements of these systems are fast winds and the shocks that they create when they collide.Binaries with nonaccreting young pulsars have also been detected as nonthermal emitters, again as a consequence of the wind–windinteraction. Black holes might produce nonthermal radiation by this mechanism if they accrete at super-Eddington rates. In such cases,the disk is expected to launch a radiation-driven wind, and if this wind has an equatorial component, it can collide with the companionstar yielding a PACWB. These systems are supercritical colliding wind binaries.Aims. We aim to characterize the particle acceleration and nonthermal radiation produced by the collision of winds in binary systemscomposed of a superaccreting black hole and an early-type star.Methods. We estimated the terminal velocity of the disk-driven wind by calculating the spatial distribution of the radiation fieldsand their effect on disk particles. We then found the location of the wind collision region and calculated the timescales of energygain and losses of relativistic particles undergoing diffusive particle acceleration. With this information, we were able to computethe associated spectral energy distribution of the radiation. We calculated a number of specific models with different parameters toexplore this scenario.Results. We find that the interaction of winds can produce nonthermal emission from radio up to tens of GeV, with luminosities inthe range of ∼ 1033–1035 erg s−1, which for the most part are contributed by electron synchrotron and inverse Compton radiation.Conclusions. We conclude that supercritical colliding wind binaries, such as some ultraluminous X-ray sources and some GalacticX-ray binaries, are capable of accelerating cosmic rays and producing nonthermal electromagnetic emission from radio to γ-rays, inaddition to the thermal components.Key words. acceleration of particles – accretion, accretion disks – relativistic processes – X-ray: binaries – gamma-rays: general –radiation mechanism: non-thermal1. IntroductionEarly-type stars are very hot and their radiation fields can launchpowerful particle winds (Lamers & Cassinelli 1999). Such windsquickly reach supersonic velocities and accelerate to terminalvelocities in the range (2 − 4) × 103 km s−1 (Abbott 1978; Mui-jres et al. 2012). When two massive stars with powerful windsform a binary system, the winds collide producing shocks sepa-rated by a contact discontinuity from where matter is evacuated(e.g., Stevens et al. 1992). A reverse shock moves in the wind ofeach star. When such shocks are adiabatic, they can acceleratesuprathermal particles up to relativistic energies (Eichler & Usov1993; Pittard et al. 2020). These particles, in turn, cool mainlyby synchrotron radiation and inverse Compton upscattering ofstellar photons, emitting nonthermal radiation (Eichler & Usov1993; Benaglia & Romero 2003; Reimer et al. 2006; De Becker2007; Reitberger et al. 2014; del Palacio et al. 2016; Pittard et al.2021). Proton acceleration can also lead to gamma-ray emissionthrough pp collisions and the subsequent π0 decays (e.g., Balbo& Walter 2017; Grimaldo et al. 2019).The actual fraction of particle-accelerating colliding-windbinaries (PACWBs) among massive colliding wind binariesSend offprint requests to: Leandro Abaroa⋆ leandroabaroa@gmail.com(CWBs) is not well known. De Becker & Raucq (2013) list 43confirmed cases, mostly detected at radio wavelengths. Theseauthors mention several other candidates, and new sources havebeen found since the publication of this latter work (e.g., Be-naglia et al. 2015; del Palacio et al. 2016). The total kineticpower of these systems ranges from ∼ 1034 to more than1037 erg s−1. The most extreme cases are WR89, WR98, andWR140, with powers of between 6 and 8 times 1037 erg s−1.Less than 10−7 of this power is finally radiated through syn-chrotron radio emission. The most luminous nonthermal radio-emitting CWB is WR140, with a total radio luminosity of ∼2.6 × 1030 erg s−1.Contrary to the radio emission, high-energy radiation hasbeen more difficult to detect in CWBs. At X-rays, the thermalcomponent usually dominates and hinders the detection of non-thermal components. In the gamma-ray domain, only two sys-tems have been detected so far: η Carinae and WR11. The lat-ter is the nearest known CWB. At d ∼ 340 pc, it shows agamma-ray luminosity in the Fermi-LAT energy range of Lγ =(3.7 ± 0.7) × 1031 erg s−1. This luminosity amounts to ∼ 6 × 10−6of the total wind kinetic power (Pshirkov 2016). Similar frac-tions for other, more distant PACWBs yield fluxes that are un-detectable with the currently available instrumentation. The no-table exception is the mentioned η Carinae.Article number, page 1 of 12arXiv:2301.08635v1 [astro-ph.HE] 20 Jan 2023
A&A proofs: manuscript no. mainη Carinae is a heavily obscured and peculiar object. The sys-tem includes a luminous blue variable (LBV) star of about 90solar masses and a secondary Wolf-Rayet (WR) star of ∼ 30 so-lar masses. η Carinae is the most luminous binary in the Galaxy,with a bolometric luminosity of about 5 × 106 L⊙. The mass-loss rate of the primary is extremely high, reaching up to 10−3M⊙ yr−1. The binary was detected in hard X-rays by INTEGRAL(Leyder et al. 2008) and Suzaku (Okazaki et al. 2008), suggestingthe presence of relativistic electrons in the system. AGILE de-tected gamma rays from η Carinae for the first time (Tavani et al.2009). The system was subsequently detected by Fermi (Abdoet al. 2010) with a luminosity of ∼ 1034 erg s−1. The observationsreveal the presence of a hard component in the spectrum aroundperiastron, which disappears near apastron. Such a componenthas been explained through the decay of π0 produced by rela-tivistic protons interacting with the dense stellar wind (Farnieret al. 2011). There is a clear variability with the orbital phase.Different behaviors are observed at low (0.3 − 10 GeV) and high(> 10 GeV) gamma-ray energies. The low-energy component islikely produced by inverse Compton scattering of stellar photons(Balbo & Walter 2017).The case of η Carinae suggests that super-Eddington systemsmight be particularly powerful PACWBs. When a compact ob-ject such as a black hole accretes with rates that exceed the Ed-dington rate, the radiation pressure on the surface of the disk willovercome the gravitational attraction and matter will be expelledfrom the surface of the disk in the form of a strong wind. Suchwinds can rival and even surpass those of the most luminousCWBs in terms of kinetic power. When the donor star is a hotearly-type star also endowed with a wind, a supercritical collid-ing wind binary (SCWB) can be formed. Such systems shouldhave strong shocks and are potential particle accelerators andnonthermal emitters.In our Galaxy, there are some examples of black hole X-raybinaries with disks that launch strong outflows. Two examplesare GRS 1915+105 (Mirabel & Rodríguez 1994; Neilsen & Lee2009) and V404 Cygni (Muñoz-Darias et al. 2016; Tetarenkoet al. 2017). However, the donor star in both of these systemsis a low-mass star. Another well-known supercritical source isthe Galactic microquasar SS433, which is a confirmed nonther-mal emitter and might be a possible example of a SCWB in ourGalaxy (see Fabrika 2004, for an extensive review). Many ul-traluminous X-ray sources (ULXs) detected in nearby galaxiesmight also belong to this category of sources.In this paper, we explore the CWB scenario where one of thewinds is launched by a supercritical disk around a black hole. Westart by characterizing the disk model and the radiation fields itproduces (Sections 2.1 and 2.2). We then investigate the motionof particles under the radiation pressure in such fields (Section2.3). This allows us to get reasonable estimates of the terminalvelocities expected for the matter ejected in the direction of thecompanion star. We then proceed to study the wind interactions,shock adiabaticity, and other relevant issues for particle accelera-tion in Sect. 3. This is followed by estimates of energy losses foraccelerated particles, particle distributions, and calculations ofthe nonthermal output (Sect. 4). In Section 5 we present resultsfor some specific models, with different choices of the accretormass and the accretion power. The donor star is supposed to be ahot O.5V with a temperature of 41500 K and a kinetic power ofa few times 1037 erg s−1. We finally apply our model to the ex-tragalactic binary system NGC 4190 ULX 1. After a discussion(Sect. 7), we close with a summary and our conclusions.2. The accretion disk and its windWe assume that the X-ray binary is composed of a PopulationI star and a nonrotating stellar mass black hole (BH) in a closeorbit.The orbital semi-axis a, the stellar radius, and the mass ratioof the system, q = M∗/MBH, satisfy (Eggleton 1983):R∗lob =a 0.49 q2/30.6 q2/3 + ln (1 + q1/3),(1)where M∗ is the mass of the star and MBH the mass of the BH.Hence, the star overflows its Roche lobe R∗lob, transfers mass tothe BH through the Lagrange point, and an accretion disk isformed due to the angular momentum of the system.In this section, we describe the semi-analytical models weuse to study the accretion disk, the spatial distribution of the ra-diation fields produced by the disk, and the wind ejected from itssurface. We assume a Newtonian potential for the gravity field,because we are interested in weak-field processes.2.1. Accretion diskWe adopt cylindrical coordinates with axial symmetry along thez-axis, neglect the self-gravity of the disk gas, and consider anonmagnetized disk with a super-Eddington accretion rate at theouter part of the disk, ˙minput = ˙Minput/ ˙MEdd ≫ 1, where ˙Minputis the input of mass per time unit in the accretion disk. The Ed-dington rate is given by˙MEdd = LEddηc2 ≈ 2.2×10−8MBH yr−1 = 1.4×1018 MBHM⊙g s−1, (2)with LEdd the Eddington luminosity1, η ≈ 0.1 the accretion effi-ciency, and c the speed of light.The critical or spherization radius, given byrcrit ∼ 40 ˙minputrg,(3)separates the disk in two regions: a standard outer disk (Shakura& Sunyaev 1973) and a radiation-dominated inner disk with ad-vection (Fukue 2004). In relation (3), rg = GMBH/c2 is the grav-itational radius of the BH, with G the gravitational constant. Inthe disk model, the advection is parameterized as a fraction f ofthe viscous heating, Qadv = f Qvis, and the disk becomes geo-metrically thick in the inner region, where the ejection of windsby the radiation force helps to regulate the mass-accretion rateonto the BH ( ˙Macc) at the Eddington rate2.As the disk is optically thick, we assume that it radiates lo-cally as a blackbody. The radiation intensity of a plasma elementin the comoving frame of the outer and inner disk, at a radius rdmeasured on the equatorial plane, isI0 = 1πσT 4eff =���������������������1π3GMBH ˙Minput8πr3dfin, rd > rcrit1π34√c3LEdd4πr2d, rd ≤ rcrit,(4)1 The Eddington luminosity is defined as the luminosity required tobalance the attractive gravitational pull of the accreting object by radia-tion pressure.2˙Macc = ˙Minput in the outer region of the disk and ˙Macc = ˙Minputrd/rcritin the inner region (Fukue 2004).Article number, page 2 of 12
L. Abaroa et al.: Super critical colliding wind binariesFig. 1: Geometry of the present disk model. The radiation fieldsare calculated in the rz plane, where φ = 0. Here, Q is the posi-tion of the plasma element of the disk and P the point of calcu-lation on the rz plane. The scale height of the disk is H, and Dis the distance between Q and P. The short arrow is the directioncosine jµ. This figure is adapted from Watarai & Fukue (1999).where √c3 = H/rd = tan δ, with H the scale height of the disk,δ the disk opening angle, and fin = 1 − rin/rd ≈ 1 (as rd >rcrit, then rd ≫ rin). Here, c3 (along with c1 and c2 used in thefollowing section) is a coefficient that depends on the advectionparameter, the adiabatic index of the gas γ, and the viscosity α(see Appendix in Fukue 2004). We adopt a disk with f = 0.5 andα = 0.5; that is, we assume equipartition between advection andviscous heating. The index γ = 4/3 corresponds to a radiation-dominated gas in the inner disk. These values lead to a disk-opening angle of δ = 30◦.2.2. Radiation fieldsThe wind launched from the radiation-dominated region of thedisk will be determined by the radiation forces acting upon theparticles on the disk surface and along their subsequent trajec-tories. These forces will have contributions from different partsof the disk in relative motion with respect to the particles. Someradiation will be blueshifted and some will be redshifted, result-ing in differential azimuthal forces onto the particles and thentransferring angular momentum from the disk to the wind.In order to obtain the radiative contribution of each plasmaelement Q = (rd, φd, H) of the disk surface, at any point P =(r, φ, z) above or below the disk, we make a transformation ofthe intensity between the inertial and comoving reference frames(see Fig. 1). Azimuthal symmetry allows us to perform the cal-culations for any constant value of φ; therefore, we do it in therz plane (φ = 0). The relativistic Doppler factor D provides thetransformation between the reference frames (McKinley 1980):I = D4I0 =I0(1 + zred)4 ,(5)where zred is the redshift factor given by (Watarai & Fukue 1999)zred = −(r cos φd − rd)vr − (r sin φd)vφ + (z − H)vrc3cD.(6)Here, D is the distance between P and Q, vφ = c2vK is the az-imuthal velocity and vr = −c1αvK is the radial velocity, withvK = √GMBH/rd the Keplerian velocity. We note that we onlyconsider the inner part of the disk for these calculations, becausethe intensity decays with r−3d .The radiation-field tensor is given by (Rybicki & Lightman1986)Rµν =�E1c Fα1c FαPαβ�= 1c�I jµ jνdΩ.(7)This is a symmetric tensor of rank 2 and therefore we calculateten elements in total: one for the energy density E, three for theflux vector Fα, and six for the stress tensor Pαβ. In Eq. 7, jµ andjν are the direction cosines in Cartesian coordinates, and Ω is thesolid angle subtended by Q:jµ =�r − rd cos φdD, −rd sin φdD, z − HD�,(8)dΩ = −(r cos φd − rd) sin δ + (z − H) cos δD3dS,(9)where dS = √1 + c3 rd drd dφd.2.3. Particles in the photon fieldWe now calculate the trajectory and velocity of the particlesejected from the disk when they interact with photons of the am-bient radiation field.The equation of motion under a relativistic, radiation treat-ment, is given by (Kato & Fukue 2020)fµ = −∂Φe∂xν + Rνµ;ν,(10)where fµ is the four-force per unit volume. The effective po-tential Φe is the sum of gravitational (Φg) and centrifugal (Φc)potentials. The semicolon (; ) in the second term refers to thecovariant differentiation of the energy-momentum tensor.As we consider a disk with axial symmetry, the gravitationalpotential cancels out in the azimuthal coordinate: ∂Φg/∂xα =(∂Φg/∂r, 0, ∂Φg/∂z). Furthermore, the centrifugal potential actsonly in the radial direction: ∂Φc/∂xα = (l2/r3, 0, 0), with l =r2dωK being the specific angular momentum of the disk, and ωKthe angular velocity.The equations of motion of the ejected particles can be foundworking with Eq. 10. In terms of the nondimensional form ofthe radiation-field tensor elements ϵ, f α, and pαβ, the system ofdifferential, tensorial, and coupled equations is as follows (equa-tions originally derived by Watarai & Fukue 1999, Eq. 42–44,but now extended to second order in velocity):Radial coordinate:durdτ = − ∂Φg∂r + l2r3 +(11)+ 12[γ f r − prβuβ − γ2ϵur + ur(2γ f βuβ − pβδuβuδ)].Azimuthal coordinate:1rdldτ = 12[γ f φ − pφβuβ − γ2ϵ(l/r)+(12)+ (l/r)(2γ f βuβ − pβδuβuδ)].Article number, page 3 of 12
P = (r,Φ,z)DQ = (rd,Φd, H)7rSBHA&A proofs: manuscript no. mainHeight coordinate:duzdτ = − ∂Φg∂z +(13)+ 12[γ f z − pzβuβ − γ2ϵuz + uz(2γ f βuβ − pβδuβuδ)],where uµ denotes the four-velocity of the particles and γ theLorentz factor, which is given byγ =�1 + urur + l2/r2 + uzuz.(14)The free parameter of these equations of motion is the launch-ing radius of the particles, r0, and we assume as initial con-dition that the particles co-rotate with the disk at this radius,uα0 = (0, l0/r0, 0).We solve this system of equations numerically and assumethat the kinematics of the disk-driven wind is roughly describedby the trajectory and terminal velocities obtained for the test par-ticles. As the accretion rate in the inner region of the disk is reg-ulated at the Eddington rate, the mass loss in the wind is of theorder of the super-Eddington accretion rate, ˙Mdw ∼ ˙Minput.3. Collision of windsThe wind ejected from the disk collides with the stellar windat the interaction region, where shocks are generated giving riseto particle acceleration. An important quantity that characterizesthe wind is the kinetic luminosity, LK =˙Mv2/2, where ˙M isthe mass-loss rate and v the velocity of the fluid. A small frac-tion of the total kinetic power of the wind is transferred to rel-ativistic particles, Lrel ∼ 0.1LK, where we assume equipartitionbetween relativistic protons and electrons (Le = Lp). The mass-loss rate and velocity of the stellar wind are set according to theparameters found in the literature for the type of star we havechosen (e.g., Kobulnicky et al. 2019). In the case of the disk-driven wind, the velocity is obtained following the proceduresdescribed in the previous section. Given the orbital separation,the disk inclination, and the stellar size, we estimate that ∼ 10%of the original kinetic power reaches the acceleration region. Weassume a circular orbit, that is, the geometry associated with thecollision of winds does not depend on the orbital phase.In this section, we describe the models for the collision re-gion, the magnetic ambient field, and the shocks. We adopt aone-zone approximation for these calculations.Fig. 2: Scheme of the wind collision seen in the rz plane (not toscale), adapted from Abaroa et al. (2021).3.1. Contact discontinuityThe winds collide at a surface called the contact discontinuity(CD). The stagnation point (SP) is the closest position of the CDto the star, and is located where the ram pressures of the windsare in equilibrium,Pram(rBH) = ρdwv2dw = ρ∗wv2∗w = Pram(r∗).(15)Here, rBH and r∗ are the distances to the SP from the BH andfrom the center of the star, respectively. The density of the spher-ical stellar wind at this location is given byρ∗w =˙M∗4πr2∗v∗w,(16)whereas the density of the disk-driven wind readsρdw =˙MdwΩr2BHvdw,(17)where Ω = 2π(1 − cos θ) is the solid angle of the wind and θthe semi-opening angle of the wind. Solving these equations weobtain the position of the SP.3.2. Magnetic fieldThe strength of the magnetic field at the CD is essentially deter-mined by the stellar surface magnetic field B∗. The intensity ofBCD and its topology –dipole (i), radial (ii), or toroidal (iii)–, isgiven by (Eichler & Usov 1993):BCD ≈ B∗ ×�����������������R3∗/r3∗, R∗ < r∗ < rA,(i)R3∗/rAr2∗, rA < r∗ < R∗(v∗w/vrot∗ ),(ii)R2∗vrot∗ /rAr∗v∗w, R∗(v∗w/vrot∗ ) < r∗, (iii),(18)where R∗ is the stellar radius, rA the Alfvén radius, and vrot∗∼0.1v∗w the surface rotation velocity.3.3. Particle acceleration and shockParticles are accelerated up to relativistic energies in the col-lision region through a first-order diffusive shock mechanism.Two shock fronts are generated: a forward shock (FS) that prop-agates through the stellar wind, and a reverse shock (RS) thatpropagates through the wind of the disk. The diffusive accelera-tion rate of the particles is given by (e.g., Protheroe 1999):t−1ac = ηace Z c BCDE,(19)where e is the electric charge, Z the atomic number, and E is theenergy of the particle. The acceleration efficiency, ηac, dependson the diffusion coefficient of the particles, the shock velocity,and the angle between the magnetic field and the normal to theshock plane. We assume that the shock propagates perpendicu-lar to the magnetic field and that diffusion occurs in the Bohmregime. Thus, the acceleration efficiency isηac ≈ 38�vshc�2,(20)where the shock velocities in the reference frame where one ofthe fluids is at rest, v∗w = 0, and the other one moves with avelocity vdw, are given by (Lee et al. 1996):vRS = −4311 +�n∗w/ndwvdw,(21)Article number, page 4 of 12
ShockStellar windDisk-driven windBHStarDisk7L. Abaroa et al.: Super critical colliding wind binariesvFS = 4311 +�ndw/n∗wvdw.(22)Here, n∗w and ndw are the numerical densities of the winds (nw =ρw/mp, with mp the mass of the proton). The pressure and densityof the shocked medium are calculated following the Rankine-Hugoniot relations (e.g., Lamers & Cassinelli 1999).As we are interested in the nonthermal particle distribution,we investigate only adiabatic shocks; that is, where radiativelosses are negligible. This is because in radiative shocks the gasin the shocked region emits large amounts of thermal radiation;the system therefore loses energy, the entropy increases, andthe medium becomes increasingly homogeneous. If magnetic-inhomogeneities disappear, the acceleration efficiency decaysabruptly, aborting the formation of nonthermal distributions.The shock is adiabatic if the thermal cooling length RΛ islarger than the size of the acceleration region ∆xac (McCray &Snow 1979). The cooling length readsRΛ =5.9 × 1011µ(vsh/km s−1)3(nw/cm−3)[Λ(Tsh)/erg s−1 cm−3] cm.(23)Here, nw is the number density of the undisturbed medium, µis the average molecular weight (µ = 0.6 for a fully ionizedplasma), and Λ(Tsh) is the cooling function, which depends onthe shock temperature (Raymond et al. 1976; Myasnikov et al.1998; Wolfire et al. 2003). This latter function can be written asΛ(Tsh) =�������������4 × 10−29T 0.8sh ,55 K ≤ Tsh < 104 K7 × 10−27Tsh,104 K ≤ Tsh < 105 K7 × 10−19T −0.6sh,105 K ≤ Tsh < 4 × 107 K3 × 10−27T 0.5sh ,Tsh ≥ 4 × 107 K,(24)where Tsh is given byTsh = 18.21µ�vshkm s−1�2K.(25)We note that this temperature has a maximum value in a colli-sional plasma: it is self-regulated by the pair-creation, satisfyingin any case kBTsh < 1 MeV (kB is the Boltzmann constant).We assume that the size of the acceleration region is a frac-tion of the distance from the BH to the SP, ∆xac ∼ 0.1rBH. Aswe consider a one-zone model, the acceleration region must benarrow enough to generate near-homogeneous conditions.4. Radiative processesParticles accelerated at the shock can cool through different pro-cesses and produce nonthermal radiation. The timescales asso-ciated to this cooling are related to the total energy-loss of theparticles:dEdt ≈ −Etcool,(26)where the total cooling rate ist−1cool =�it−1i ,(27)where ti corresponds to each timescale of the involved coolingprocesses.We assume advective escape; that is, particles are removedfrom the acceleration region by the bulk motion of the fluid. Ifthe timescales of cooling are shorter than those of escape, par-ticles radiate before they escape from the acceleration region.The maximum energy for each kind of particle can be inferredby looking at the point where the acceleration rate is equal tothe total cooling or escape rate. This energy cannot exceed themaximum energy imposed by the Hillas criterion, Emaxe,p < EmaxHillas.As we are interested in nonthermal processes, we work atscales smaller than the size of the binary system and assume thatrotation effects are negligible there. Effects caused by the orbitalmotion, such as Coriolis or centrifugal forces, could be relevanton larger scales and lead to strong disturbances in the flow andthermal processes. The analysis of such effects usually requiresnumerical simulations and is beyond the scope of this work.4.1. Energy lossesWe consider adiabatic and radiative losses. Adiabatic cooling isrelated to the work done by the particles of the wind to expandthe shocked gas. Radiative cooling is caused by nonthermal pro-cesses as a consequence of the interaction of the wind particleswith ambient fields and matter.Our model is lepto-hadronic, and so we calculate the follow-ing radiative processes numerically:–Synchrotron: interaction of protons and electrons with theambient magnetic field, which will be amplified by a factor of 4in the shocked region due to Rankine-Hugoniot relations.–Inverse Compton (IC): collision of relativistic electronswith photons of the ambient radiation field.–Bremmstrahlung: Coulombian interactions between rela-tivistic electrons and cold matter.–Photo-hadronic interactions: interaction of highly relativis-tic protons with photons of the ambient radiation field.–Proton-proton: collision of relativistic protons with coldmatter.In addition, we take into account inelastic collision of parti-cles with atoms of the dense medium; that is, ionization losses,which can be relevant in the 1–100 MeV range. We note thatin this energy range, ionization losses largely dominate overCoulomb scatterings (see e.g., Fig. 7 from O’C Drury et al.1996), and so the latter are not included in our analysis. Thereader is referred to Romero & Paredes (2011), Romero & Vila(2014), and Müller & Romero (2020) plus references therein foradditional details on radiative processes.4.2. Particle distributionWe investigate the evolution of particles that are acceleratedat the shock and injected into the surrounding medium. Themedium around the shock is the shocked gas of the winds. Inthis paper, we restrict our analysis to this region. Beyond the bi-nary, the surrounding medium has been affected by the effectsof the stellar winds, and so the system is expected to be locatedinside a bubble inflated by the winds and surrounded by a shellformed with the swept-up material at distances of a few to sev-eral parsecs, depending on the mass of the black hole progenitor.Inside the bubble, where the advected protons will be injected,the density is expected to be lower than that of the standard in-terstellar medium (e.g., around 0.01 cm−3 or less). In the shell,there should be sufficient material for hadronic interactions withthe protons diffused or transported from the central source3.3 These effects will be discussed elsewhere; some of them might beresponsible for part of the high-energy emission observed in the shellArticle number, page 5 of 12
A&A proofs: manuscript no. mainThe relativistic particles have a distribution given by dN =n(r, E, t)dEdV, where n is the number density of particles, t thetime, r the position, V the volume, and E the energy. The evo-lution of this distribution is determined by the transport equa-tion (see e.g., Ginzburg & Syrovatskii 1964; Romero & Paredes2011). We solve this equation numerically in steady state and inthe one-zone approximation:∂∂E�dEdt N(E)�+ N(E)tesc= Q(E),(28)where tesc ∼ ∆xac/vsh is the advection time, and the particle in-jection function,Q(E) = Q0E−p exp (−E/Emax),(29)is a power-law in the energy with an exponential cutoff and aspectral index p = 2.2, which is characteristic of the Fermi first-order acceleration mechanism (see e.g., Drury 1983). The nor-malization constant Q0 is obtained fromL(e,p) = ∆V� Emax(e,p)Emin(e,p)dE(e,p)E(e,p)Q(e,p)(E(e,p)),(30)where ∆V is the volume of the acceleration region, and Emax(e,p)the maximum energy reached by protons and electrons, which isfound by looking at the point where the acceleration rate is equalto the total cooling or escape rate.4.3. Nonthermal emissionOnce we have the particle distributions, we calculate the spectralenergy distribution (SED) for each of the relevant processes in-volved in cooling. We find that in SCWBs, electrons typicallycool by synchrotron and IC mechanisms, and protons escapefrom the acceleration region without significant cooling. Theresultant nonthermal SED usually yields a broadband spectrumfrom radio waves (due to synchrotron emission) to gamma-rays(due to IC emission).4.4. Wind emissionWe calculate the thermal emission of the photosphere of the disk-driven wind assuming a spherically symmetric wind that ex-pands with constant velocity equal to its terminal velocity. Sincethe mass-loss rate of the disk is much higher than the criticalrate, the wind is optically thick and therefore we assume that itradiates locally as a blackbody. The temperature measured by anobserver at infinity is given by (Fukue 2009):σTT 4dw =˙e LEdd(1 − β cos Θ)4 4πR2 ,(31)where ˙e =˙E/LEdd is the normalized comoving luminosity,β = vdw/c the normalized velocity, Θ the angle of the flow withrespect to the line of sight, and R =√r2 + z2, with r and z thebeing cylindrical coordinates. We assume that the comoving lu-minosity is equal to the Eddington luminosity (˙e = 1), as is com-monly done in supercritical wind-models (e.g., Fukue 2009).The apparent photosphere of this wind is defined as the sur-face where the optical depth τphoto is unity for an observer at in-finity. If the velocity of the wind is relativistic, the optical depthof W50, which is powered by SS433, although there are jets involved inthis specific object.in the observer frame depends in general on the magnitude ofthe velocity and the viewing angle. The location of the apparentphotosphere from the equatorial plane zphoto is (Fukue 2009):τphoto =� ∞zphotoγdw(1 − β cos Θ) κco ρcodz = 1,(32)where γdw is the wind Lorentz factor, κco the opacity in the co-moving frame, and ρco the wind density in the comoving frame.As we assume a fully ionized wind, the opacity is dominated byfree electron scattering (κco = σT/mp).4.5. AbsorptionFinally, we calculate the gamma absorption by pair creation fromphoton–photon annihilation, γ + γ → e+ + e−. The nonthermalphotons in their way out of the acceleration region can find pho-tons of the ambient radiation fields and annihilate. The absorp-tion is quantified by the optical depth of the medium, τγγ. If theoriginal luminosity of gamma rays is L0γ(Eγ), the attenuated lu-minosity reads:Lγ(Eγ) = L0γ(Eγ) · e−τ,(33)where e−τ is the attenuation factor. The targets of the ambient ra-diation fields are photons from the star and from the disk-drivenwind photosphere.The process of annihilation is possible only above a kine-matic energy threshold given byEγEph > (mec2)2,(34)in a frontal collision, where Eph is the energy of the targets. Theopacity caused by a photon–photon pair production for a photoncreated at a distance r from the center of the thermal source canbe obtained from (Romero & Vila 2008):τγγ(Eγ, r) =� ∞Emin� ∞rnph(Eph, r′) σγγ(Eph, Eγ) dr′dEph,(35)where nph is the density of the ambient radiation field. The totalcross-section is given by (see e.g., Aharonian et al. 1985):σγγ = πr2e2 (1 − ξ2)�(3 − ξ4) ln�1 + ξ1 − ξ�+ 2ξ(ξ2 − 2)�,(36)where re is the classical radius of the electron, andξ =�1 − (mec2)2EγEph�1/2.(37)The blackbody density radiation of the star and the photosphereof the disk-driven wind is given bynph =2E2phh3c31exp(Eph/kBT) − 1,(38)where T is the temperature of the thermal source considered foreach case; that is, Tdw or Teff.On the other side, free-free absorption (FFA) must also betaken into account. The collision of low-energy photons withparticles of the dense medium leads to a cutoff in the SED atradio frequencies. The denser the medium, the higher the energyat which the cutoff occurs. Therefore, FFA will determine theArticle number, page 6 of 12
L. Abaroa et al.: Super critical colliding wind binariesturnover of the synchrotron spectrum in SCWBs, which is ex-pected to be at ∼GHz frequencies (see e.g., Rybicki & Lightman1986; del Palacio et al. 2016).Other absorption processes, such as the photoelectric effect,direct Compton, or γ-nucleon pair creation, are not taken intoaccount in this paper. Their cross-sections are not high enough tobecome relevant in the calculation of opacity given the ambientdensities that we consider here (see Fig. 1 from Reynoso et al.2011).5. ResultsIn this section, we apply our model to a generic super-EddingtonX-ray binary. We consider a star of spectral type O.5V (Table1) and investigate four scenarios: in scenarios S1 and S2 we re-gard a BH with mass MBH = 5M⊙ and mass-accretion rates of102 ˙MEdd and 103 ˙MEdd, respectively; in scenarios S3 and S4 weconsider a BH with mass MBH = 20M⊙ and again accretion ratesof 102 ˙MEdd and 103 ˙MEdd, respectively. The complete set of pa-rameters is summarized in Table 2.Type O.5V StarParameterValueUnitsM∗37M⊙R∗11R⊙Teff41500K˙M∗1.2 × 10−5M⊙ yr−1v∗w2.9 × 108cm s−1vrot∗2.9 × 107cm s−1L∗K3.2 × 1037erg s−1B∗750GTable 1: Parameters adopted in the model for the star of typeO.5V. All parameters from Kobulnicky et al. (2019), with theexception for the magnetic field (from Wade & MiMeS Collab-oration 2015).5.1. WindWe calculate the radiation-field tensor (Eq. 7) and in Fig. 3 weshow the distribution of the energy density (ϵ) on the rz plane,where the black zone is the inflated inner disk. We obtain astrong azimuthal flux component of the radiation-field tensor.This distribution is the same in all four scenarios, because inthe critical disk the radiation-field tensor depends on advection,viscosity, and adiabatic parameters, which remain the same in allcases.We solve Eqs. 11-13 to find the trajectory and velocity of theparticles. Both quantities are determined by Rµν and therefore weobtain the same trajectories and terminal velocities in S1–S4. Asan example, in Fig. 4 we show the normalized velocity of a testparticle, with a launching radius of 40rg (≡ 20rs), which reachesa terminal velocity of ≈ 0.16c. This result does not vary much ifwe vary the launching radius (±0.02c for ±20rg).The particles describe a helical trajectory in the vicinity ofthe BH for two main reasons (Fig. 5). The first is the presenceof the strong azimuthal components of the radiation field, whichhelp to maintain the spiral geometry of the particles in the innerdisk. The second reason is the condition imposed for the particleejection, namely that the particles initially have only azimuthal 0 5 10 15 20 0 5 10 15 20z [rs]r [rs]1x10-32x10-32x10-32x10-33x10-34x10-34x10-35x10-3Fig. 3: Contour maps of the spatial distribution of the normalizedradiation energy density ϵ in the rz plane above the accretiondisk. Both axes are in units of Schwarzschild radius. The colorbar is the intensity of ϵ and the black zone is the inflated disk( f = 0.5, α = 0.5, γ = 4/3).4060801001200.160.170.180.190.200.21r/rsv/cFig. 4: Normalized velocity of a wind test particle as a functionof the Schwarzschild radius. The particle reaches a terminal ve-locity of ∼ 0.16c for a launching radius of r0 = 20rs (coincidentwith the vertical axis).velocity. The intensity of the radiation field decays rapidly withdistance from the BH, and therefore the ejected particles follow aspiral trajectory near the BH, but beyond a certain radius (∼ rcrit)they follow a free path with a strong component of the radialvelocity.The overall result is an equatorial wind with terminal veloci-ties of the order of 0.15c. The kinetic power of these winds is inthe range 1039−41 erg s−1, which is well above the power of thewinds of typical WR or OB stars. Therefore, in general, the diskwind is expected to overwhelm the stellar wind.5.2. Energy gain and lossesWe follow the calculations in Sect. 3.1 and find that, in all fourscenarios, the SP is located near the stellar surface and the windof the disk completely sweeps up the stellar wind, as expected.Hence, the forward shock is in the stellar atmosphere, fully ra-Article number, page 7 of 12
A&A proofs: manuscript no. mainScenarioParameterSymbol [units]S1S2S3S4Black hole mass(1)MBH [M⊙]552020Mass accretion rate(1)˙Minput [M⊙ yr−1]1.1 × 10−51.1 × 10−44.4 × 10−54.4 × 10−4Orbital semi-axis(1)a [R⊙]15152222Gravitational radius(2)rg [cm]7.4 × 1057.4 × 1052.9 × 1062.9 × 106Critical radius(2)rcrit [rg]400040000400040000Mass loss in disk winds(1)˙Mdw [M⊙ yr−1]10−510−44.3 × 10−54.3 × 10−4Kinetic power of the disk-driven wind(2)LdwK[erg s−1]7.8 × 10397.8 × 10403.4 × 10403.4 × 1041Cold matter density at SP(2)ndw [cm−3]5.1 × 10125.1 × 10132.9 × 10122.9 × 1013Distance to SP from BH(2)rBH [cm]2.7 × 10112.7 × 10117.6 × 10117.6 × 1011Size of acceleration region(1)∆xac [cm]2.7 × 10102.7 × 10107.6 × 10107.6 × 1010Shock cold matter density(2)nRS [cm−3]2 × 10132 × 10141.2 × 10131.2 × 1014Shock cooling length(2)RΛ [cm]7.6 × 10117.6 × 10101.3 × 10121.3 × 1011Maximum energy of electrons(2)Emaxe[eV]10111.6 × 101110111011Maximum energy of protons(2)Emaxp[eV]101510153 × 10153.1 × 1015Emission peak (low energy)(2)L0.01mm [erg s−1]3.2 × 10333.2 × 10338 × 10348 × 1034Emission peak (high energy)(2)L10MeV [erg s−1]4 × 10324 × 103210341034Table 2: Parameters of the different scenarios calculated for the model. We indicate with superscript (1) those parameters that areassumed and with (2) those that are derived. In all models, the system is supposed to be oriented face-on to the observer, that is, theinclination of the normal to the orbital plane i with respect to the line of the sight is ∼ 0◦.Fig. 5: Trajectory of a test particle in the Cartesian 3D-space inunits of Schwarzschild radius. The particles describe a helicaltrajectory above the inner disk because of the strong azimuthalradiation fields. The launching radius of this test particle is r0 =20rs.diative, and completely unable to accelerate relativistic particles.Only the reverse shock (RS) is suitable for the task. As r∗ ≈ R∗,the magnetic field at the CD is BCD ≈ B���.The cooling length of the RS is greater than the size of theacceleration region in all cases (see Table 2); this is why theshock is adiabatic and the acceleration efficiency of the processis relatively high: ηac ∼ 10−2 (see Sect. 3.3). The shock velocityis ≈ 4.4 × 109 cm s−1 and the temperature of the shocked gasreaches ≈ 4.8 × 1010 K.We calculate the energy gain and losses of the shock-accelerated particles following Sect. 4. Highly relativistic pro-tons escape from the acceleration region without cooling in allscenarios considered here (with energies up to Ep ≈ 1 PeV) andare injected into the interstellar medium (ISM). Protons are ad-vected, that is, they are removed from the collision region by thebulk motion of the fluid. They therefore do not interact with am-bient material at scales similar to that of the system. Electronscool mainly through IC and synchrotron mechanisms, and reacha maximum energy of Ee ≈ 100 GeV. To obtain the electron dis-tribution, we solve the transport equation considering only thedominant IC and synchrotron losses, and a power-law injectionfunction with a spectral index of 2.2 and an exponential cutoff(see Eq. 29).5.3. Spectral energy distributionFigure 6 shows the SEDs of the four scenarios. The only thermalcomponent of the spectrum is the photosphere of the opticallythick disk-driven wind. The emission peak of the wind for S1and S2 is ≈ 1037 erg s−1, whereas for S3 and S4 the peak is≈ 1038 erg s−1. This occurs at energies of ∼ 100 eV for S1 andS3, and ∼ 30 eV for S2 and S4. Therefore, if MBH increases, theluminosity is higher and, if the mass-accretion rate increases, theluminosity peak occurs at lower energies.In the case of the nonthermal spectrum, we calculate theemission due to synchrotron and IC losses. In the latter case, weconsider the photon fields of the star and of the wind photosphereas targets. In all cases, the dominant IC contribution is that ofthe star. The luminosity in S3 and S4 is an order of magnitudegreater than that in S1 and S2. This is because of the modificationof the orbital parameters when the BH mass varies: to guaranteethe overflow of the Roche lobe, the orbital semi-axis varies withMBH, which results in variation in the size of the acceleration re-Article number, page 8 of 12
L. Abaroa et al.: Super critical colliding wind binariesgion and the photon density at SP, among other parameters. Theemission peak at low energies is ∼ 1033 erg s−1 for S1 and S2,and ∼ 1035 erg s−1 for S3 and S4. At high energies, the emissionpeak is ∼ 1032 erg s−1 (S1 and S2) and ∼ 1034 erg s−1 (S3 andS4). The gamma-ray absorption due to γγ annihilation is totalfor energies > 10 GeV in all scenarios4.Attenuation due to material between the source and the ob-server, that is, absorption by external cold gas, is mainly in theoptical-to-UV range and at soft X-rays. At radio wavelengths, re-fractive scintillation on free electrons of the ISM occurs at lowerfrequencies than predicted here. For high-energy gamma rays,the main absorbers are infrared (IR) fields and the cosmic mi-crowave background (CMB), but their effects are only relevantfor cosmological distances.6. Application to NGC 4190 ULX 1Ultraluminous X-ray sources (ULXs) are extragalactic point-likeobjects where the luminosity in the X-ray band appears to behigher than the Eddington luminosity (Bachetti 2016). ULXs arethought to be X-ray binaries with a stellar-mass compact objectaccreting at super-Eddington rates, where a beaming effect couldbe responsible for the luminosity observed in the X-ray band:the radiation emitted from the inner part of the accretion disk isgeometrically collimated by the ejected wind, which is opticallythick except in a narrow region around the black-hole axis andforms a cone-shaped funnel (King et al. 2001; King 2009; Kaaretet al. 2017; Fabrika et al. 2021).We apply our model to estimate the radiation emitted by theultraluminous X-ray source NGC 4190 ULX 1 (also known asCXO J121345.2+363754). Although many characteristics of thisULX remain poorly understood, several authors have exploredthe system and have provided constraints on some of its param-eters (see e.g., Liu & Bregman 2005; Gladstone et al. 2013; Ko-liopanos et al. 2017; Kosec et al. 2018; Ghosh & Rana 2021).In what follows, we describe the parameterization of the sys-tem and its components, and investigate the expected collisionof winds. The complete set of parameters used in this section isdetailed in Table 3.6.1. System parameterizationThe source is located in the nearby Galaxy NGC 4190 at a dis-tance of d ≈ 3 Mpc (Tully et al. 2013). Observations madein 2010 using the XMM-Newton telescope reveal a long-termspectral variability in the 0.3–10.0 keV energy range: LX ∼3 − 8 × 1039 erg s−1.The angle i between the line of sight and the z-axis at whichthe disk of a ULX is observed determines the components of itsspectrum: blackbody disk (BB) or Comptonization. If i is small,the observer is able to look into the funnel and see the innermostpart of the disk: the spectrum shows only the BB component,which corresponds to thermal emission of the disk. This type ofspectrum is called broadened disk (BD). If i is sufficiently large,another effect is observed: the interaction between photons andwind particles near the disk surface induces a Comptonizationthat produces a hardening in the spectrum. Most ULXs exhibit acombination of both phenomena in their X-ray spectrum.4 We note that, since we assume a nearly face-on inclination of thesystem, there are no significant variations of the radiative output associ-ated with the orbital phase. If the system were oriented nearly edge-on,the emission would be modulated by the orbital phase due to absorption(for details see Romero et al. 2010).Ghosh & Rana (2021) investigated the spectral properties ofNGC 4190 ULX 1 and suggested that the ULX is in a BD state,and that the compact object is a BH with mass ∼ 10 − 30M⊙accreting at super-Eddington rates. We fit the XMM-Newton ob-servations (Epoch 3) with the supercritical advection-dominateddisk model detailed in Sect. 2.1, assuming a mass-accretion rateof ˙Minput = 10 ˙MEdd. We also assume a face-on inclination i ≈ 0◦,a BH mass 10M⊙ and a geometrical beaming factor b = 0.07.This factor is given by,b = Ω/4π = 0.5(1 − cos ϑ),(39)where Ω is the solid angle of the emission. The angle ϑ is relatedto the opening angles of the disk (δ) and its wind (θ): ϑ+δ+2θ =90◦. Both angles, i and ϑ, can change over time, causing thespectral variability of the object (Fabrika et al. 2021).On the other hand, Gladstone et al. (2013) provided con-straints on the characteristics of the optical counterpart of thesystem. They suggested that, if MBH = 10M⊙, the mass of thestar could be < 50M⊙ and its radius < 86R⊙. We choose a starof type B2V for our model in light of one of the fittings theselatter authors made from Hubble Space Telescope observations.If we apply Eq. 1 and consider the mass ratio M∗/MBH, and thestellar radius involved (see Table 3), the transfer of mass in thebinary system occurs for an orbital semi-axis a ≤ 15.2 R⊙, whichresults in a period ≤ 38 h.6.2. Collision of windsThe terminal velocity of the disk-driven wind is vdw = 4.95 ×109 cm s−1, and therefore LdwK = 1.5 × 1039 erg s−1, while L∗K =2.17 × 1034 erg s−1. The SP is located near the stellar surfaceand the wind of the disk completely suppresses the stellar wind.We therefore only take into account the reverse shock (RS). Asr∗ ≈ R∗, the magnetic field at the CD is BCD ≈ B∗.The cooling length of the RS is RΛ = 2.2 × 1013 cm andthe size of the acceleration region is ∆xac = 6.68 × 1010 cm;therefore, the shock is adiabatic and the acceleration efficiency ofthe process is ηac = 10−2, as in our general models. We calculatethe energy gain and losses of the shock particles following Sect.4. Highly relativistic protons escape from the acceleration regionwithout cooling, as in our previous scenarios (with energies upto Ep ≈ 1 PeV), and are injected into the ISM. Electrons coolmainly through IC and synchrotron mechanisms. Figure 7 showsthe timescales of electrons, which reach a maximum energy ofEe ≈ 0.32 TeV. To obtain the electron distribution, we solve thetransport equation taking into account only IC and synchrotronlosses, and a power-law injection function with a spectral indexof 2.2 and an exponential cutoff.6.3. Total SEDThe SED of the ULX spans a broadband energy range. Figure9 shows the thermal (wind and accretion disk) and nonthermal(colliding-winds shock) contributions of the system. We alsoshow the sensitivity of the instruments ALMA, VLA (sub-mmwaves), Fermi, and CTA (gamma rays), and observational datafrom XMM-Newton.The luminosity in the IR band is ∼ 1034 erg s−1, which is rel-atively strong, though still undetectable at megaparsec distances.The luminosity in gamma-rays also reaches ∼ 1034 erg s−1. Theattenuation factor (Fig. 8) has an effect on photons with ener-gies ≳ 1 GeV. Most of the radiation above 1 GeV and all above50 GeV is suppressed by the annihilation of the γ rays with thephoton fields of the disk-driven wind and the star.Article number, page 9 of 12
A&A proofs: manuscript no. main 30 31 32 33 34 35 36 37 38 39 40-4-2 0 2 4 6 8 10 12S1 & S3log10 (EγLγ / erg s-1)log10 (Eγ / eV)wind photosphere S1synchrotron S1inverse Compton S1 (star)inverse Compton S1 (wind)total SED S1wind photosphere S3synchrotron S3inverse Compton S3 (star)inverse Compton S3 (wind)total SED S3 30 31 32 33 34 35 36 37 38 39 40-4-2 0 2 4 6 8 10 12S2 & S4log10 (EγLγ / erg s-1)log10 (Eγ / eV)wind photosphere S2synchrotron S2inverse Compton S2 (star)inverse Compton S2 (wind)total SED S2wind photosphere S4synchrotron S4inverse Compton S4 (star)inverse Compton S4 (wind)total SED S4Fig. 6: Thermal and nonthermal SEDs of the four scenarios considered, S1–S4, in logarithmic scale, where a face-on inclination isassumed. S1 and S3 are shown in the left plot, whereas S2 and S4 are shown in the right plot. Dashed lines correspond to S1 (left)and S2 (right), solid lines correspond to S3 (left) and S4 (right). We plot the nonattenuated inverse Compton contributions in gray.The emission peak at high energies is ∼ 1033 erg s−1 for S1 and S2, and ∼ 1034 erg s−1 for S3 and S4. The gamma-ray absorptiondue to γγ annihilation is total for energies > 10 GeV.-8-6-4-2 0 2 4 6 8 10 6 7 8 9 10 11 12 13ηac ∼ 10-2RSlog10 (t-1 / s-1)log10 (Ee / eV)synchrotroninverse ComptonBremsstrahlungadiabaticionaccelerationescapeFig. 7: Timescales in logarithmic scale of the electron accelera-tion, escape, and cooling at the reverse shock in NGC 4190 ULX1. Electrons reach a maximum energy of ≈ 0.32 TeV. The accel-eration efficiency is 10−2.7. DiscussionOur analysis of supercritical colliding wind binaries shows thatthese systems should exhibit broadband emission from radio togamma rays. In this sense, they are similar to CWBs formed bytwo hot stars, such as O+WR binaries. However, there are im-portant differences as well. If we compare our models with re-cent models of O+WR CWBs (Pittard et al. 2021), we find that(i) in SCWBs, the wind of the disk is far more powerful thanthe wind of the star. This results in stagnation points that arevery close to the surface of the star. Efficient particle accelera-tion then can only occur in reverse shocks. (ii) We also see thatthe disk wind advects protons from the acceleration region be-fore they have time to cool. Only electrons can cool locally. The 0 0.2 0.4 0.6 0.8 1-6-4-2 0 2 4 6 8 10 12e−τγγlog10 (Eγ / eV)StarWind photosphereTotal attenuationFig. 8: Attenuation factors due to γγ-annihilation between high-energy nonthermal radiation and photon fields from the star andfrom the photosphere of the disk-driven wind in NGC 4190 ULX1. The total attenuation is plotted with a black line.resulting SED is consequently dominated by synchrotron and ICradiation. (iii) As the acceleration region is close to the star, thelocal magnetic field is relatively strong. Synchrotron emissionreaches energies of hundreds of keV. As the medium is far moredense than in stellar CWBs, free-free absorption causes this radi-ation to turnover below ∼ 24 GHz. The total power at millimeter(mm) and submm wavelengths can be between three and fiveorders of magnitude higher in SCWBs than in stellar CWBs.(iv) IC is the dominant radiation mechanism at high energies.The stronger thermal fields of SCWBs (wind photosphere andstar) provide the seed photons, but also impose a high-energycutoff at ∼ 1 GeV through γ − γ attenuation. Instead, stellarCWBs can reach energies close to 1 TeV. (v) The strong mag-netic fields in the acceleration region cut electromagnetic cas-Article number, page 10 of 12
L. Abaroa et al.: Super critical colliding wind binariesTable 3: Parameters of NGC 4190 ULX 1.ParameterSymbolValueUnitsSystemInclination(1)i0◦Orbital semi-axis(2)a15R⊙Distance to the source(3)d3MpcBlack holeMass(1)MBH10M⊙Gravitational radius(2)rg1.48 × 106cmAccretion diskDisk semi opening angle(1)δ30◦Critical radius(2)rcrit3.5 × 109cmEddington accretion rate˙MEdd2.2 × 10−7M⊙ yr−1Mass accretion rate(1)˙Minput2.2 × 10−6M⊙ yr−1Mass loss in winds(1)˙Mdw1.98 × 10−6M⊙ yr−1Wind velocity(2)vdw4.95 × 109cm s−1Wind semi opening angle(2)θ14.5◦Beaming factor(2)b0.07−B2V StarMass(4)M∗8M⊙Radius(4)R∗5.4R⊙Temperature(4)Teff20600KMass loss in winds(4)˙M∗1.4 × 10−7M⊙ yr−1Wind velocity(4)v∗w7 × 107cm s−1Rotation velocity(1)vrot∗7 × 106cm s−1Magnetic field(5)B∗200GColliding windsKinetic power of disk-driven wind(2)LdwK1.5 × 1039erg s−1Kinetic power of stellar wind(2)L∗K2.17 × 1034erg s−1Distance from BH to SP(2)rBH6.68 × 1011cmSize of acceleration region(1)∆xac6.68 × 1010cmMagnetic field at SP(2)BSP200GInjection spectral index(1)p2.2−Acceleration efficiency(2)ηac10−2−Molecular mean weight(1)µ0.6−Reverse shockVelocity(2)vRS4.4 × 109cm s−1Temperature(2)TRS1010KCold matter density(2)nRS6.9 × 1011cm−3Cooling length(2)RΛ2.2 × 1013cmNotes. We indicate the parameters we have assumed with superscript(1) and those we have derived with (2). Parameters with superscripts(3), (4), and (5) were taken from Tully et al. (2013), Kobulnicky et al.(2019), and Shultz et al. (2015), respectively.cades in SCWBs. (vi) The SED is always dominated by the X-ray component associated with the disk or its wind in SCWBs.Finally, (vii) stellar CWBs have wider orbits and a variable sep-aration between the components of the system. This producesvariability related to the orbital period. On the contrary, the or-bits of SCWBs should be mostly circularized. In general, CWBsare weaker than SCWBs, although span a broader energy range.An interesting feature of SCWBs is their potential as cosmicray sources. As mentioned, the strong wind of the disk dragsaway the relativistic protons before they cool. These protons,with maximum energies of the order of 1 PeV, are then injectedinto the ISM where they diffuse. Even if a fraction of just ∼ 1% of the wind kinetic power goes to relativistic protons, thecosmic ray output of a SCWB would be in the range 1037−39erg s−1. These protons might interact with ambient clouds atsome distance from the system, producing gamma rays throughpp → π0 + pp interactions and the subsequent pion decaysπ0 → γγ. The gamma-ray emission from the illuminated clouds 30 32 34 36 38 40 42-8-6-4-2 0 2 4 6 8 10 12FermiCTAALMAVLAlog10 (EγLγ / erg s-1)log10 (Eγ / eV)wind photospherebeamed diskinverse Compton (star)inverse Compton (wind)synchrotronTotal SEDXMM Newton dataFig. 9: Thermal and nonthermal SEDs of NGC 4190 ULX 1 inlogarithmic scale (dashed lines). The nonthermal SED is par-tially attenuated for energies > 1 GeV and totally attenuatedfor energies > 50 GeV due to annihilation of γ-rays with thephoton fields of the star and the photosphere of the disk-drivenwind. The gray dashed lines are the nonattenuated IC contribu-tions. The total SED is plotted with a solid black line. Data fromXMM-Newton (Epoch 3), and the sensitivity of ALMA, Fermi,VLA, and CTA are also shown (instrument sensitivities weretaken from Sotomayor & Romero 2022).can be even stronger than the emission from the binary itself.However, the spectrum should be softer because of propagationeffects (Aharonian & Atoyan 1996). Recent modeling by Pit-tard et al. (2021) of particle acceleration in colliding wind bina-ries with wind velocities of a few 103 km s−1 and mG magneticfields in the acceleration region demonstrate that up to ∼ 30 % ofthe wind power can be transferred to nonthermal particles. Thismeans that, in some extreme cases, a SCWB might inject up to∼ 1040 erg s−1 in cosmic rays.Another type of CWB is the so-called gamma-ray binary(GRB; e.g., LS 5039, PSR B1259-63, LSI +61◦ 303, PSRJ2032+4127, and others; see, e.g., Dubus 2013; Chernyakova &Malyshev 2020). These sources are formed by a massive star(usually a Be star with a dense equatorial decretion disk and afast wind) and a young pulsar in an eccentric orbit. The pul-sar ejects a relativistic pair wind. The wind collision producesa broadband spectrum from electrons accelerated at the shockthat cool by synchrotron and IC radiation. The two-peak SEDsare similar to those we estimate for SCWBs, but some differ-ences are also clearly seen: (i) GRBs are less energetic becausethe spin-down luminosity of the pulsar is much smaller than thepower of a supercritical wind. (ii) GRBs are highly variable. Thisvariability is modulated with the orbital period. The orbital mod-ulation of the different components of the broadband spectrum isa consequence of the orbital variability of geometrical parame-ters, such as the geometry of the contact surface of the stellarand pulsar winds. Absorption effects are also strongly variable.(iii) Hadronic interactions are likely when the pulsar crosses theequatorial disk of the star (e.g., Bykov et al. 2021). (iv) GeVflares have been observed after the periastron passage in sourcessuch as PSR B1259-63 (Abdo et al. 2011; Chernyakova et al.2014). These flares are attributed to the effects of the unshockedpulsar wind interaction with photons from the stellar disk (e.g.,Khangulyan et al. 2012).Article number, page 11 of 12
A&A proofs: manuscript no. mainWe finally mention that some black holes accreting at super-critical rates seem to be capable of launching mildly relativis-tic jets. A remarkable case in our Galaxy is the notorious mi-croquasar SS433 (Fabrika 2004). This object resembles a ULXsource seen edge on (Begelman et al. 2006). The accretion rateshould be extremely high in order to explain the large jet powerLK ∼ 1040 erg s−1. Begelman et al. (2006) suggest rates of∼ 5 × 103 ˙MEdd ∼ 5 × 10−4 M⊙ yr−1, which are consistent withestimates of equatorial mass outflows inferred from radio obser-vations (Blundell et al. 2001). These outflows, ejected towardeither side of the jets, present a thermal spectrum and might wellcorrespond to the radiation-driven wind of the hypercritical disk.The contamination from the jet base makes it impossible to dis-entangle contributions from colliding winds from those comingfrom the jet. However, the equatorial outflow might propagatewell beyond the system and reveal itself if it collides with anyclouds. The shock generated in the collision would convert thekinetic energy of the plasmoids into internal energy and relativis-tic particles, which might then cool by pp interactions with thecloud material. Such a scenario might explain the detection of aGeV source by the Fermi satellite on the side of SS433 (Bordas2020; Li et al. 2020). We will explore the details of this hypoth-esis elsewhere.8. Summary and conclusionsWe explored the consequences of supercritical accretion in bi-nary systems consisting of a hot star and a black hole. We findthat a fraction of the kinetic power of the radiation-driven windreleased by the accretion disk is transformed into relativistic par-ticles in the region of the wind that collides with the star. Elec-trons are cooled locally, mainly through synchrotron and inverseCompton radiation. The radiation fields of the star and wind pho-tosphere provide abundant thermal photons for the latter process;they also absorb high-energy radiation above a few GeV. Free-free absorption imposes a high-frequency turnover in the ra-dio regime, suppressing centimeter radio waves, unlike the caseof colliding wind binaries. The relativistic protons are blownaway by the wind before they can cool down significantly. Oncetrapped by the outflow, these protons are transported to outer re-gions where they can interact with ambient gas away from thebinary system, producing hadronic gamma-rays. Our most im-portant finding is that, in addition to being strong thermal UVand X-ray sources, supercritical colliding wind binaries can besignificant nonthermal sources at mm wavelengths and GeV en-ergies.Acknowledgements. The authors thank the anonymous referee for a careful andconstructive review, and for his/her comments that improved this work. We thankalso Daniela Pérez and Jiˇri Horák for fruitful discussions. This work was sup-ported by grant PIP 0554 (CONICET). LA ackowledges the Universidad Na-cional de La Plata for the education received. GER acknowledges the supportfrom the Spanish Ministerio de Ciencia e Innovación (MICINN) under grantPID2019-105510GBC31 and through the Center of Excellence Mara de Maeztu2020-2023 award to the ICCUB (CEX2019-000918-M).ReferencesAbaroa, L., Sotomayor Checa, P., & Romero, G. E. 2021, Boletin de la Asocia-cion Argentina de Astronomia La Plata Argentina, 62, 262Abbott, D. C. 1978, ApJ, 225, 893Abdo, A. A., Ackermann, M., Ajello, M., et al. 2010, ApJ, 723, 649Abdo, A. A., Ackermann, M., Ajello, M., et al. 2011, ApJ, 736, L11Aharonian, F. A. & Atoyan, A. M. 1996, A&A, 309, 917Aharonian, F. A., Kririllov-Ugriumov, V. G., & Vardanian, V. V. 1985, Ap&SS,115, 201Bachetti, M. 2016, Astronomische Nachrichten, 337, 349Balbo, M. & Walter, R. 2017, A&A, 603, A111Begelman, M. C., King, A. R., & Pringle, J. E. 2006, MNRAS, 370, 399Benaglia, P., Marcote, B., Moldón, J., et al. 2015, A&A, 579, A99Benaglia, P. & Romero, G. E. 2003, A&A, 399, 1121Blundell, K. M., Mioduszewski, A. J., Muxlow, T. W. B., Podsiadlowski, P., &Rupen, M. P. 2001, ApJ, 562, L79Bordas, P. 2020, Nature Astronomy, 4, 1132Bykov, A. M., Petrov, A. E., Kalyashova, M. E., & Troitsky, S. V. 2021, ApJ,921, L10Chernyakova, M., Abdo, A. A., Neronov, A., et al. 2014, MNRAS, 439, 432Chernyakova, M. & Malyshev, D. 2020, in Multifrequency Behaviour of HighEnergy Cosmic Sources - XIII. 3-8 June 2019. Palermo, 45De Becker, M. 2007, A&A Rev., 14, 171De Becker, M. & Raucq, F. 2013, A&A, 558, A28del Palacio, S., Bosch-Ramon, V., Romero, G. E., & Benaglia, P. 2016, A&A,591, A139Drury, L. O. 1983, Reports on Progress in Physics, 46, 973Dubus, G. 2013, A&A Rev., 21, 64Eggleton, P. P. 1983, ApJ, 268, 368Eichler, D. & Usov, V. 1993, ApJ, 402, 271Fabrika, S. 2004, Astrophys. Space Phys. Res., 12, 1Fabrika, S. N., Atapin, K. E., Vinokurov, A. S., & Sholukhova, O. N. 2021,Astrophysical Bulletin, 76, 6Farnier, C., Walter, R., & Leyder, J. C. 2011, A&A, 526, A57Fukue, J. 2004, PASJ, 56, 569Fukue, J. 2009, PASJ, 61, 1305Ghosh, T. & Rana, V. 2021, MNRAS, 504, 974Ginzburg, V. L. & Syrovatskii, S. I. 1964, The Origin of Cosmic Rays. Oxford:Pergamon Press.Gladstone, J. C., Copperwheat, C., Heinke, C. O., et al. 2013, ApJS, 206, 14Grimaldo, E., Reimer, A., Kissmann, R., Niederwanger, F., & Reitberger, K.2019, ApJ, 871, 55Kaaret, P., Feng, H., & Roberts, T. P. 2017, ARA&A, 55, 303Kato, S. & Fukue, J. 2020, Fundamentals of Astrophysical Fluid Dynamics. Sin-gapore: Springer.Khangulyan, D., Aharonian, F. A., Bogovalov, S. V., & Ribó, M. 2012, ApJ, 752,L17King, A. R. 2009, MNRAS, 393, L41King, A. R., Davies, M. B., Ward, M. J., Fabbiano, G., & Elvis, M. 2001, ApJ,552, L109Kobulnicky, H. A., Chick, W. T., & Povich, M. S. 2019, AJ, 158, 73Koliopanos, F., Vasilopoulos, G., Godet, O., et al. 2017, A&A, 608, A47Kosec, P., Pinto, C., Fabian, A. C., & Walton, D. J. 2018, MNRAS, 473, 5680Lamers, H. J. G. L. M. & Cassinelli, J. P. 1999, Introduction to Stellar Winds.Cambridge: Cambridge University Press.Lee, H. M., Kang, H., & Ryu, D. 1996, ApJ, 464, 131Leyder, J. C., Walter, R., & Rauw, G. 2008, A&A, 477, L29Li, J., Torres, D. F., Liu, R.-Y., et al. 2020, Nature Astronomy, 4, 1177Liu, J.-F. & Bregman, J. N. 2005, ApJS, 157, 59McCray, R. & Snow, T. P., J. 1979, ARA&A, 17, 213McKinley, J. M. 1980, American Journal of Physics, 48, 612Mirabel, I. F. & Rodríguez, L. F. 1994, Nature, 371, 46Muñoz-Darias, T., Casares, J., Mata Sánchez, D., et al. 2016, Nature, 534, 75Muijres, L. E., Vink, J. S., de Koter, A., Müller, P. E., & Langer, N. 2012, A&A,537, A37Müller, A. L. & Romero, G. E. 2020, A&A, 636, A92Myasnikov, A. V., Zhekov, S. A., & Belov, N. A. 1998, MNRAS, 298, 1021Neilsen, J. & Lee, J. C. 2009, Nature, 458, 481O’C Drury, L., Duffy, P., & Kirk, J. G. 1996, A&A, 309, 1002Okazaki, A. T., Owocki, S. P., Russell, C. M. P., & Corcoran, M. F. 2008, MN-RAS, 388, L39Pittard, J. M., Romero, G. E., & Vila, G. S. 2021, MNRAS, 504, 4204Pittard, J. M., Vila, G. S., & Romero, G. E. 2020, MNRAS, 495, 2205Protheroe, R. J. 1999, in Topics in Cosmic-Ray Astrophysics. New York: NovaScience Publishing, ed. M. A. Duvernois, Vol. 230Pshirkov, M. S. 2016, MNRAS, 457, L99Raymond, J. C., Cox, D. P., & Smith, B. W. 1976, ApJ, 204, 290Reimer, A., Pohl, M., & Reimer, O. 2006, ApJ, 644, 1118Reitberger, K., Kissmann, R., Reimer, A., & Reimer, O. 2014, ApJ, 789, 87Reynoso, M. M., Medina, M. C., & Romero, G. E. 2011, A&A, 531, A30Romero, G. E., Del Valle, M. V., & Orellana, M. 2010, A&A, 518, A12Romero, G. E. & Paredes, J. M. 2011, Introducción a la Astrofísica Relativista.Barcelona: Universitat de Barcelona.Romero, G. E. & Vila, G. S. 2008, A&A, 485, 623Romero, G. E. & Vila, G. S. 2014, Introduction to Black Hole Astrophysics.Heidelberg: Springer.Rybicki, G. B. & Lightman, A. P. 1986, Radiative Processes in Astrophysics.New York: Wiley VCH.Shakura, N. I. & Sunyaev, R. A. 1973, A&A, 500, 33Article number, page 12 of 12
L. Abaroa et al.: Super critical colliding wind binariesShultz, M., Wade, G. A., Alecian, E., & BinaMIcS Collaboration. 2015, MN-RAS, 454, L1Sotomayor, P. & Romero, G. E. 2022, A&A, 664, A178Stevens, I. R., Blondin, J. M., & Pollock, A. M. T. 1992, ApJ, 386, 265Tavani, M., Sabatini, S., Pian, E., et al. 2009, ApJ, 698, L142Tetarenko, A. J., Sivakoff, G. R., Miller-Jones, J. C. A., et al. 2017, MNRAS,469, 3141Tully, R. B., Courtois, H. M., Dolphin, A. E., et al. 2013, AJ, 146, 86Wade, G. A. & MiMeS Collaboration. 2015, in Astronomical Society of the Pa-cific Conference Series, Vol. 494, Physics and Evolution of Magnetic andRelated Stars, ed. Y. Y. Balega, I. I. Romanyuk, & D. O. Kudryavtsev, 30Watarai, K.-y. & Fukue, J. 1999, PASJ, 51, 725Wolfire, M. G., McKee, C. F., Hollenbach, D., & Tielens, A. G. G. M. 2003, ApJ,587, 278Article number, page 13 of 12
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476 Abstract— Motion prediction is essential for safe and efficient autonomous driving. However, the inexplicability and uncertainty of complex artificial intelligence models may lead to unpredictable failures of the motion prediction module, which may mislead the system to make unsafe decisions. Therefore, it is necessary to develop methods to guarantee reliable autonomous driving, where failure detection is a potential direction. Uncertainty estimates can be used to quantify the degree of confidence a model has in its predictions and may be valuable for failure detection. We propose a framework of failure detection for motion prediction from the uncertainty perspective, considering both motion uncertainty and model uncertainty, and formulate various uncertainty scores according to different prediction stages. The proposed approach is evaluated based on different motion prediction algorithms, uncertainty estimation methods, uncertainty scores, etc., and the results show that uncertainty is promising for failure detection for motion prediction but should be used with caution. I. INTRODUCTION Motion prediction is a hot topic in mobile robot and autonomous vehicle communities, accurate prediction of the future motion of surrounding traffic participants is fundamental to robust and reliable decision-making. Artificial intelligence (AI), especially deep learning, has been widely used in autonomous driving tasks by its advantages in dealing with complex problems. With the collection of large-scale data, the improvement of computing power and related algorithms, AI is expected to play a vital role in autonomous driving systems in the future [1]. However, although AI-based motion prediction has shown statistical performance advantages, it is difficult to avoid unpredictable failures due to the inherent inexplicability and insufficient reliability of deep learning models, which may cause serious autonomous driving accidents [2]. From the uncertainty perspective, motion prediction faces the dual challenge of uncertainty from the environment and the model. Drivers, pedestrians, etc. in the environment have uncertainty in their intentions and movements, which makes it difficult to accurately predict their future in all scenarios. Additionally, due to insufficient training data and training process, the model may experience serious performance degradation when faced with rare or unknown scenarios. *Research supported by the National Science Foundation of China Project: U1964203 and 52072215, and the National Key R&D Program of China:2020YFB1600303. (Corresponding authors: Hong Wang) Wenbo Shao, Liang Peng, Jun Li and Hong Wang are with School of Vehicle and Mobility, Tsinghua University, Beijing 100084, China. (e-mail: {swb19, peng-l20}@mails.tsinghua.edu.cn; {lijun1958, hong_wang}@tsinghua.edu.cn) Yanchao Xu is with School of Mechanical Engineering, Beijing Institute of Technology, Beijing 100081, China. (e-mail: 3120200410@bit.edu.cn) Failure DetectorMain ModelManeuverClassifierTrajectoryPredictorGraph ModelUMUTIs there a wrong maneuver classification or trajectory prediction? Fig. 1. Uncertainty-based failure detection for motion prediction. UM, UT are the uncertainty scores extracted for maneuver classification and trajectory prediction, respectively. The failure detection, isolation, and recovery mechanism is an effective way to solve the above problems [3]. Among them, the study of failure detection for AI models has attracted increasing interest, which is of critical significance for the development of reliable autonomous driving systems [4]. As shown in Fig. 1, using the information extracted from the main model, i.e. motion prediction model, a failure detector is built to identify maneuver classification errors and trajectory prediction errors. Uncertainty, as a measure of the confidence level of the model in its output, has been used by some researchers for failure detection in tasks such as semantic segmentation [5]. Our study exploits various uncertainties from motion prediction and explores their usefulness for failure detection. In this work, we concentrate on failure detection for motion prediction from the uncertainty perspective. The main contributions are as follows: A framework of failure detection using uncertainty for motion prediction tasks, taking into account both motion uncertainty and model uncertainty. A series of uncertainty scores for failure detection formulated for different motion prediction stages and algorithms. A detailed evaluation and comparison with multiple motion prediction algorithms, uncertainty estimation methods and uncertainty scores. II. RELATED WORK A. Motion Prediction and Motion Uncertainty Estimation Traditional motion prediction methods predict the future motion of the target agent (TA) based on its historical state by explicitly modeling kinematic models, such as Kalman Filter[5], [6], but they only apply to short-term prediction under scenarios with few interactions. In recent years, deep learning-based motion prediction [8]–[10] has demonstrated promising performance by simultaneously modeling TA’s historical state, its interactions with surrounding traffic participants, and other environmental information in deep Failure Detection for Motion Prediction of Autonomous Driving: An Uncertainty Perspective* Wenbo Shao, Yanchao Xu, Liang Peng, Jun Li, and Hong Wang
neural networks. A broader review of deep learning-based motion prediction can be found in [11]. As for the model’s output form, some studies regard motion prediction as a multipoint regression problem [12]–[14], so as to output the unimodal predicted trajectory. However, due to the diversity of intentions and the uncertainty of traffic participants’ behaviors, the future trajectory distribution corresponding to one model input presents multiple possibilities. Recently, increasing researchers and prediction competitions have paid attention to multimodal motion prediction, which is generally divided into two stages: maneuver or target classification, and trajectory prediction. Some studies [15], [16] define maneuvers as specified behavior patterns, then train the maneuver classifier through supervised learning. For example, CS-LSTM [15] defines six maneuver modes for vehicles on highways, where longitudinal maneuvers include normal driving and braking, the lateral maneuvers include left lane change, right lane change, and lane keeping. The predicted maneuvers can serve as an important guide for future trajectory prediction. Other studies do not explicitly define specific behavior patterns before training, but guide the model to learn the optimal maneuver modes through model design and training process [17]–[19]. For example, Trajectron++ [18] adopts the conditional variational autoencoder (CVAE) to encode multimodality by introducing latent variables, and relies on a bivariate Gaussian Mixture Model (GMM) to model the final output. B. Model Uncertainty Estimation The above multimodal prediction algorithms model the uncertainty in the traffic participants’ movements. In addition, deep learning models have inherent uncertainty, generally called model uncertainty or epistemic uncertainty [20], it is difficult to ignore in the real world where there are distribution shifts or out-of-distribution data. Bayesian neural network (BNN) [21]–[23] is a representative method for estimating model uncertainty, in which Bayesian inference plays an important role. Methods such as Monte-Carlo dropout [24], [25] achieve approximate inference through sampling, and they further promote the generality and popularity of BNN. Besides, deep ensemble [26]–[28], as a simple and scalable method, has shown promising performance in model uncertainty estimation and thus has attracted many researchers and practitioners. As the representative method requiring only a single forward pass, evidential deep learning (EDL) [29] computes the uncertainty of the output distribution by modeling the prior distribution for the classification. C. Failure Detection for Autonomous Driving Failure detection is attracting attention as a technology to achieve reliable autonomous driving. It uses the main model's input, internal features, or output to diagnose whether there is a failure. Learning-based approaches build a specialized model to act as the failure detector, and it identifies failures of the main model by using failure cases for supervised training [30]–[32] or estimating reconstruction errors [33]–[35]. In addition, uncertainty-based anomaly detection has attracted some interest, such as detecting misclassified or out-of-distribution examples through maximum softmax probabilities directly output by classification networks [36] or predictive entropy quantization taking into account model uncertainty [26]. However, to the best of our knowledge, most current research on failure detection for autonomous driving focuses on perception tasks, such as semantic segmentation, depth estimation, etc. [5], and failure detection for motion prediction models from the uncertainty perspective has been rarely discussed. Our approach utilizes both motion uncertainty and model uncertainty, proposes uncertainty scores for different stages of motion prediction, and investigates the effect of motion prediction failure detection based on different scores. III. METHODOLOGY A. Problem Setting Motion prediction is a task that predicts TA’s trajectory over a period of time in the future given input information. Assuming the current moment 0t , the input information may include TA’s historical state 120[,,,]hhttsssS in the past ht timesteps, the historical state of TA’s surrounding traffic participants, and other contextual information such as maps, which are uniformly represented here by C . Among them, ts may contain TA’s information such as the position, speed, and category at t . The output is the predicted position ˆY of TA in the future ft timesteps: ˆ,fYS C (1) with 12ˆ ˆˆˆ[ ,,...,]ftd ddY consisting of the ft predicted positions ˆtd . For multimodal motion prediction, ˆY contains predicted trajectories under multiple maneuvers. Failure detection for motion prediction refers to identifying potential motion prediction failures by monitoring model’s state, where failures may exist in the form of maneuver misclassification or excessive error of predicted trajectories. Uncertainty, as the measure of TA's behavior or model state, reflects the model's confidence in its particular output and thus has the potential to diagnose potential prediction failures. This work proposes to detect the performance degradation of motion prediction models, i.e. the decrease in the accuracy of prediction results, by quantifying the uncertainty scores. B. Motion Prediction with Motion Uncertainty Estimation Due to the unavailability of TA's actual intentions and the randomness of its behavior, it may have multiple possible future trajectories. GRIP++ is an enhanced graph-based interaction-aware trajectory prediction algorithm, it models inter-agent interactions and temporal features but only predicts future trajectories in a single mode. As shown in Fig. 2, we add the maneuver classification module to GRIP++, by distinguishing different behavioral patterns to improve the authenticity and usability of the prediction results. The new method is called GRIP+++. We focus on two-stage tasks in the proposed method: maneuver classification and maneuver-based trajectory prediction. In the maneuver classification stage, given the TA’s historical state and scene context, feature G are extracted through the graph convolutional model (GCN), which includes the processing of fixed and trainable graphs. Then TA’s maneuver P|zz G is inferred by multilayer perceptron (MLP), where 1,2,...,zZ represents one of the
defined maneuver modes. In CS-LSTM [15], the modes are divided into three types of lateral maneuvers and two types of longitudinal maneuvers, but they are only applicable to vehicles driving on highway, we define a common set of maneuver modes suitable for various scenarios. Specifically, TA's maneuvers are divided into four categories according to their movement direction and speed: going straight, turning left, turning right, and stopping. In the network, we adopt the softmax head for probabilistic maneuver classification. Graph Convolutional ModelManeuver Classification Module64htnTrajectory Prediction ModulePredicted TrajectoriesconcatManeuver Probabilitiesht Fig. 2. The architecture of GRIP+++. The maneuver-based trajectory prediction module consists of seq2seq networks taking the concatenation of the graph feature G and the feature vector transformed by the maneuver z as input, and outputs the future trajectory ˆzY under the maneuver z . To compare the generality of uncertainty-based failure detection in different motion prediction mechanisms, we employ another two classes of typical prediction algorithms. Firstly, we focus on multimodal trajectory prediction based on the generative model, so we adopt Trajectron++ [18], it utilizes the CVAE-based latent network framework to model multimodal future trajectories, where the discrete categorical latent variable z encodes high-level behavior patterns: 1,2,...,P(,)P (,, )P (,)ˆˆˆzZzzψθS CS CYYYS C∣∣∣ (2) where θ , ψ are deep neural network parameters. Furthermore, we use PGP [16] as a comparison, it is a multimodal trajectory prediction method combining graph traversal, latent vector sampling, and clustering. It models discrete policy for graph traversal by representing HD maps as lane graphs, and implements diverse trajectories prediction combined with a random sampling of latent vectors for longitudinal variability. Furthermore, it uses K-means clustering to obtain Z predictive trajectories. With its clever design, PGP achieved the state-of-the-art results on almost all metrics of the nuScenes leaderboard when proposed. C. Model Uncertainty Estimation As mentioned above, deep ensemble has certain advantages in model uncertainty estimation, so we design a prediction approach that simultaneously integrates model uncertainty and motion uncertainty estimation based on it. Specifically, we use random initialization of the model parameters and random shuffling of the training data to train K homogeneous and heterogeneous models, then estimate uncertainty based on the K set of output ˆ kY , 1,2,...,kK. In addition, EDL, as a method to capture multiclass uncertainties with low computational cost, is also exploited to estimate the model uncertainty of the maneuver classification module. Specifically, the Dirichlet distribution is considered the prior distribution for the classification: 111P for P(P| )( )0 otherwise zZzZzDB αα (3) where 1[,...,]Zα are the distribution parameters, 1zze is the evidence, andZ is the Z-dimensional unit simplex. D. Uncertainty Scores Design In our work, different uncertainty scores are proposed for failure detection. Considering the different problem forms of maneuver classification and trajectory prediction tasks, we formulate corresponding scores for both. For maneuver classification task combined with deep ensemble, we formulate the following uncertainty scores referring to the definition in [37]: Total entropy (TE) for maneuver classification is quantified to represent the total uncertainty considering both model uncertainty and the motion uncertainty: P11TE=P| , ,P| , ,KkkzKz θS C θS C θ∣ (4) where kθ are the parameters of the kth model of deep ensemble, represents the formula for calculating entropy, represents the training set. Data entropy (DE) for maneuver classification is quantified to represent the average of data uncertainty from different models. The larger the value, the higher the motion uncertainty estimated by deep ensemble-prediction models. P11DE| , ,P| , ,KkkKzz θS C θS C θ∣ (5) Mutual Information (MI) is quantified to represent the model uncertainty. As it increases, the degree of difference between the prediction results of multiple models increases, which to a certain extent reflects the reduction of the confidence of the models in their classification results. MI,, ,TEDEzθ S C∣ (6) The maximum predicted probability [38] is also considered and its inverse (negative maximum softmax probability, NMaP) is calculated as an uncertainty score. As for the EDL-based method, the above-discussed types of uncertainty scores are also quantified for comparison, and their formulas are derived according to (3)-(6). Additionally, we consider the metrics suggested in [29]: 1uZzzZ (7) Trajectory prediction involves multiple trajectories output by one or more models, where each trajectory contains position information for multiple future moments. Referring
to the usual error metrics [8, 12, 18], average displacement error (ADE) and final displacement error (FDE), we define two basic metrics, average predictive entropy (APE) and final predictive entropy (FPE), to represent the uncertainty formed by multiple trajectories: 1=1lˆA111ˆ( n21)ln2PE=ffttiiffttttd (8) lˆFP1ˆn21ln2Effttd (9) where for different predicted trajectories of the same input, the predicted position ˆtd at the same time is assumed to follow a two-dimensional Gaussian distribution. Based on the above two basic metrics, different types of uncertainty scores are defined according to the source of different predicted trajectories (such as different sub-models, different maneuvers, or both), which may represent model uncertainty, motion uncertainty, or both. IV. EXPERIMENTS A. Experimental Setup 1) Model Implementation: For the training of GRIP+++, inspired by [15], we adopt a two-stage training approach. In the first stage, we focus on improving the trajectory prediction accuracy under the real maneuver, by training the model as a regression task at each time: ,1ˆ1ftt ztregftLt YY (10) where ,ˆt zY and tY are predicted positions for true maneuver z and ground truth at time t respectively. In the second stage, we additionally consider the loss of maneuver classification by adding the cross-entropy loss: regmanLLL (11) where log P,|manLz S C, is the weighting factor, and z is the true maneuver label. Besides, in the implementation of GRIP+++, the trajectories are sampled at 2Hz, with an observation length of 3s and a prediction horizon of 3s. As for the implementation of Trajectron++ [18] and PGP [16], we follow their original model design and training scheme. For deep ensemble, we set 5K , a scheme considered cost-controllable and sufficiently efficient. To achieve EDL, referring to [29], we incorporate a Kullback-Leibler (KL) divergence term into our loss function to avoid unnecessary uncertainty reduction. 2) Dataset: The proposed motion prediction models and failure detectors are trained and validated on real traffic datasets. Specifically, GRIP+++ and its failure detectors are trained on SinD and tested on SinD and INTERACTION, respectively. Trajectron++, PGP and their failure detection experiments are carried out on the nuScenes dataset. The SinD [39] dataset consists of 13248 recorded trajectories from a signalized intersection. The traffic participant classes include car, truck, bus, tricycle, bike, motorcycle, and pedestrian. The INTERACTION [40] dataset contains motion data collected in four categories of scenarios, where we adopt the TC_intersection_VA (VA) subset that also belongs to signalized intersection. It provided 3775 trajectories for around 60 minutes. The nuScenes [41] dataset is a large-scale self-driving car dataset with 1000 scenes, each scene contains 20s object annotations and HD semantic maps. 3) Evaluation methodology: We set the evaluation methodology separately for the failure detection for the two-stage prediction task. Maneuver classification is a classification task, a good failure detector is considered to assign higher uncertainty scores to misclassified cases. Therefore, we adopt the area under the receiver operating characteristic curve (AUROC) as the basic evaluation metric. However, AUROC does not reflect the impact of the addition of the uncertainty estimation module on the original prediction algorithm. Therefore, we also plot the cut-off curve to evaluate the average accuracy of the remaining data after filtering out a certain percentage of data in descending order of uncertainty. The area under the cut-off curve (AUCOC) is regarded as an overall evaluation of the prediction model with the failure detector, with a larger value indicating better performance. For trajectory prediction tasks, AUROC is not suitable, we use the cut-off curve as the evaluation methodology. Unlike maneuver classification, the curve here is drawn by calculating the average prediction error of the remaining data, so a smaller AUCOC represents better performance. B. Failure Detection for Maneuver Classification Regarding failure detection for maneuver classification, we set up several experiments to answer the following questions. Fig. 3. Uncertainty distribution for correctly classified and misclassified samples. Experimental results of GRIP+++ based on deep ensemble. How different are the distributions of uncertainty scores for correct and misclassified cases? An effective uncertainty-based failure detector is built on the assumption that the uncertainty score level has a strong correlation with the correctness of the prediction. As shown in Fig. 3, the uncertainty scores of the correctly predicted maneuvers are generally relatively low, while the incorrectly predicted cases generally have high uncertainty scores. Meanwhile, there is a relatively obvious separation between the two distributions, especially for TA, DA, and NMaP. Therefore, it is preliminarily inferred that the uncertainty scores have the potential for failure detection. Differences between different uncertainty scores for failure detection? As indicated previously, in the deep ensemble-based maneuver classification network, we can extract various uncertainty scores, here we set up experiments to compare the effects of different scores as the reference for failure detection. The second row of TABLE I shows the results, NMaP, TE, and DE achieve better failure detection
performance when used as uncertainty scores, where the total uncertainty considering both motion and model uncertainty is slightly better than the motion uncertainty alone. NMaP is relatively simple to calculate and has a strong detection ability. Furthermore, although MI, which represents the model uncertainty, reflects the reduced confidence of the model when faced with unknown scenarios (as in TABLE II), its performance is relatively weak when used alone as the reference for failure detection. In Fig. 4, the cut-off curve and AUCOC corresponding to different uncertainty scores are further compared. Their performance has a great advantage over the random filtering method and is close to the optimal situation. And the relative relationship between different uncertainty scores is consistent with TABLE I. TABLE I. AUROC(↑) FOR MANEUVER CLASSIFICATION STAGE OF GRIP+++ TE DE MI NMaP u Ensemble 0.911 0.903 0.864 0.918 - Model 1 - 0.871 - 0.867 - Model 2 - 0.868 - 0.864 - Model 3 - 0.871 - 0.867 - Model 4 - 0.868 - 0.864 - Model 5 - 0.863 - 0.858 - EDL 0.912 0.909 0.911 0.912 0.910 TABLE II. AVERAGE UNCERTAINTY OBTAINED BY DEEP ENSEMBLE-BASED GRIP+++ TRAINED ON SIND, AND TESTED ON IN-DISTRIBUTION DATA (SIND) AND OUT-OF-DISTRIBUTION DATA (VA), RESPECTIVELY TE DE MI NMaP SinD 0.318 0.250 0.068 -0.877 VA 0.303 0.198 0.105 -0.879 Fig. 4. Cut-off curves and AUCOC (↑). The optimal curve is drawn by directly using the classification error as a filtering reference; the random curve is drawn by filtering the data in random order. TABLE III. AUCOC (↑) FOR MANEUVER CLASSIFICATION STAGE OF GRIP+++. MODEL I IS THE RESULT FROM THE ITH MODEL IN DEEP ENSEMBLE TE DE MI NMaP u Ensemble 0.988 0.987 0.984 0.989 - Model 1 - 0.981 - 0.982 - Model 2 - 0.980 - 0.981 - Model 3 - 0.981 - 0.982 - Model 4 - 0.980 - 0.980 - Model 5 - 0.979 - 0.979 - EDL 0.978 0.978 0.978 0.978 0.978 Uncertainty scores based on deep ensemble vs. uncertainty scores based on a single model? Here, we obtain DE and NMaP from the single model in deep ensemble, and they are further used for failure detection for the maneuver classification module of the corresponding model. From the comparison of rows 2-7 of TABLE I, although the uncertainty scores extracted from the single model has a certain failure detection ability, they are not as good as the failure detector based on deep ensemble. In addition, it is also concluded from the comparison of rows 2-7 in TABLE III that the introduction of deep ensemble is beneficial to improve the maneuver classification performance combined with failure detector filtering. How well do the EDL-based uncertainty scores perform? As a comparison, we employ EDL to extract uncertainty scores and evaluate their performance for failure detection. TABLE I shows that using the uncertainty scores extracted by EDL as references for the failure detector achieves comparable results to deep ensemble. However, TABLE III presents that the overall accuracy after filtering the data based on these uncertainty scores is not high. One possible reason is that the regularization term added by EDL during the training process causes a drop in the prediction performance of the main model, which in turn weakens the effect of motion prediction with failure detection. C. Failure Detection for Trajectory Prediction As for failure detection for trajectory prediction, we design some experiments to answer the following questions. How well does the failure detector based on uncertainty scores from multiple trajectories perform? For the prediction error, considering the K predicted trajectories under the real maneuver z, we calculate the minimum (minADEz, minFDEz) and mean (meanADEz, meanFDEz) of the errors of the K trajectories, and the error of their average trajectory (ADEz, avg, FDEz, avg). We calculate APEz and FPEz of the above K trajectories to estimate the predictive uncertainty. As a comparison, we calculate the uncertainty of the average trajectories of K models in different maneuvers (APEavg, FPEavg), which to some extent represent the motion uncertainty. In TABLE IV, each column represents an error metric and each row represents the corresponding uncertainty score used for failure detection (except rows 1-3). By comparing rows 2-5 of the 2 sub-tables, APEz and FPEz have stronger failure detection potential than APEavg and FPEavg. Are the uncertainty scores extracted in the maneuver classification stage applicable to the trajectory prediction stage? Theoretically, the uncertainty scores obtained in the maneuver classification stage represent the confidence of the model in the current scene, so it may be suitable for failure detection in the trajectory prediction stage. We conduct some experiments to explore this question, the results are recorded in rows 6-9 of the two sub-tables of TABLE IV. Compared with the above trajectory uncertainty scores, the uncertainty extracted in the maneuver classification stage has limited potential for detecting high-error trajectories. One of the possible reasons is that the uncertainty scores calculated directly based on the trajectories imply the consideration of information such as the velocity and acceleration of the object, thus having a greater correlation with the trajectory error. How is the failure detection generalizing to scenarios with larger distributional shifts? Here, we use the VA dataset to test the model trained based on SinD, results are shown in TABLE V and TABLE VI. Compared with TABLE I, III, and IV, when faced with larger distributional shifts, while the reduction in the prediction accuracy of the main model leads to a worsening of AUCOC, the decrease in failure detection ability (such as AUROC) is relatively small.
TABLE IV. AUCOC (↓)/IMPROVEMENT RATIO (IR)1 (↑) FOR THE TRAJECTORY PREDICTION STAGE OF GRIP+++ minADEz meanADEz ADEz, avg Optimal 0.066 0.096 0.088 Random 0.259 0.345 0.330 APEz 0.119/0.725 0.143/0.813 0.139/0.790 APEavg 0.136/0.636 0.172/0.694 0.166/0.677 TE 0.170/0.459 0.228/0.469 0.218/0.464 DE 0.170/0.457 0.229/0.466 0.218/0.462 MI 0.169/0.462 0.227/0.476 0.216/0.470 NMaP 0.170/0.461 0.228/0.472 0.217/0.467 minFDEz meanFDEz FDEz, avg Optimal 0.114 0.182 0.164 Random 0.522 0.718 0.686 FPEz 0.249/0.670 0.301/0.779 0.293/0.754 FPEavg 0.278/0.599 0.358/0.672 0.345/0.654 TE 0.361/0.395 0.493/0.420 0.471/0.413 DE 0.362/0.393 0.494/0.417 0.472/0.410 MI 0.359/0.400 0.489/0.428 0.467/0.420 NMaP 0.360/0.397 0.491/0.423 0.497/0.416 TABLE V. RESULTS FOR MANEUVER CLASSIFICATION STAGE OF GRIP+++ WITH DEEP ENSEMBLE, WHICH IS TRAINED ON SIND AND TESTES ON VA TE DE MI NMaP AUROC 0.914 0.915 0.863 0.912 AUCOC 0.978 0.978 0.971 0.978 TABLE VI. AUCOCOPTIMAL/AUCOCUNCERTAINTY (↓)/AUCOCRANDOM/IR(↑) FOR TRAJECTORY PREDICTION STAGE OF GRIP+++ WITH DEEP ENSEMBLE, WHICH IS TRAINED ON SIND AND TESTES ON VA minADEz meanADEz ADEz, avg APEz 0.088/0.210/ 0.445/0.656 0.125/0.238/ 0.565/0.744 0.117/0.234/ 0.550/0.730 minFDEz meanFDEz FDEz, avg FPEz 0.158/0.991/ 0.491/0.601 0.243/1.262/ 0.550/0.699 0.228/1.232/ 0.543/0.686 TABLE VII. AUCOCOPTIMAL/AUCOCUNCERTAINTY (↓)/AUCOCRANDOM/IR(↑) FOR TRAJECTRON++ ON NUSCENES Single model Deep ensemble (mean)minADE 0.088/0.167/0.378/0.730 0.096/0.160/0.384/0.778 (mean)minFDE 0.132/0.308/0.689/0.683 0.151/0.293/0.702/0.742 (mean)meanADE 0.322/0.386/1.045/0.912 0.339/0.394/1.040/0.922 (mean)meanFDE 0.608/0.754/2.096/0.902 0.637/0.763/2.082/0.913 minminADE - 0.055/0.112/0.234/0.682 meanmaxpADE - 0.181/0.280/0.801/0.841 TABLE VIII. AUCOCOPTIMAL/AUCOCUNCERTAINTY(↓)/AUCOCRANDOM/IR(↑) FOR PGP ON NUSCENES, UC MEANS UNIFIED CLUSTERING Single model Deep ensemble (mean)minADE 0.498/0.837/0.945/0.242 0.529/0.832/0.945/0.271 (mean)minFDE 0.623/1.273/1.554/0.302 0.747/1.249/1.548/0.373 minminADE - 0.367/0.628/0.708/0.234 meanmaxpADE - 1.538/2.497/3.115/0.392 minADE (uc) - 0.488/0.797/0.908/0.264 minFDE (uc) - 0.612/0.181/1.466/0.333 How well does uncertainty-based failure detection perform in generative model-based trajectory prediction? We adopt Trajectron++ combined with deep ensemble to extract multiple uncertainty scores as failure detection references. The results of this investigation are provided in TABLE VII, where minADE/minFDE/meanADE/meanFDE for single model is calculated based on the 10 trajectories 1 IR is calculated by (AUCOCrandom – AUCOCuncertainty)/(AUCOCrandom – AUCOCoptimal), where AUCOCrandom, AUCOCoptimal, and AUCOCuncertainty represent the AUCOC based on the optimal sorting, the random sorting, and the uncertainty scores-based sorting, respectively. predicted by the single model, and the corresponding uncertainty scores for failure detection are APE/FPE/APE /FPE obtained from the 10 trajectories. In contrast, meanminADE/meanminFDE/meanmeanADE/meanmeanFDE/minminADE/meanmaxpADE for deep ensemble are calculated based on 50 trajectories from all 5 ensemble models, where the first operator (mean/min) is for different sub-models and the second operator (mean/min/maxp) is for different maneuvers from each model’s output. The corresponding uncertainty scores for failure detection are meanAPE/meanFPE/meanAPE/meanFPE/APEall/APEmaxp, where meanAPE/meanFPE are obtained by averaging APE/ FPE from 5 sub-models, APEall is directly calculated from all 50 trajectories, APEmaxp is calculated according to the maximum probability trajectory of each model. The results show promising performance of the uncertainty-based failure detector. Can the above uncertainty-based failure detection be simply applied to any trajectory prediction algorithms? In addition to the typical deep neural network architecture and modules, existing trajectory prediction algorithms may use various tricks, which may directly affect the uncertainty scores extracted from the output trajectories. We conduct some exploratory experiments with PGP, a high-performance prediction algorithm integrating special tricks including traversal, sampling, and clustering, to analyze the performance of applying the uncertainty scores obtained from the output trajectories for failure detection. In addition, we apply deep ensemble to consider model uncertainty. From the evaluation results in TABLE VIII, we conclude that the performance of direct uncertainty quantification based on output results is not very outstanding. Possible reasons include operations such as sampling latent vectors from an unconstrained normal distribution or clustering. This result reminds us that it is necessary to improve uncertainty estimation methods and scores according to the prediction algorithms’ characteristics. For example, we propose a framework for unified clustering based on the outputs of all sub-models of the deep ensemble, the results in the last two rows of TABLE VIII show some improvement over the original model in trajectory prediction performance. V. CONCLUSION In this work, we propose a framework to detect motion prediction failures from the uncertainty perspective. We divide motion prediction tasks into two stages, maneuver classification and maneuver-based trajectory prediction, and formulate corresponding uncertainty scores for failure detection, where motion uncertainty and model uncertainty are both discussed. Our experiments cover the comparison of different prediction tasks, multiple prediction algorithms, different uncertainty estimation methods, and various uncertainty scores, Finally, we observe that uncertainty quantification is promising for failure detection for motion prediction, with the potential to generalize to environments with larger distributional shifts. However, it is also necessary to conduct targeted discussions and designs for different prediction algorithms. Our future work will focus on the integration of the proposed method with safety decision -making for autonomous driving, and its implementation and validation on physical vehicle platforms.
REFERENCES [1] A. Jain, L. Del Pero, H. Grimmett, and P. Ondruska, “Autonomy 2.0: Why is self-driving always 5 years away?” arXiv, Aug. 09, 2021. doi: 10.48550/arXiv.2107.08142. [2] L. Plaza, “Collision Between Vehicle Controlled by Developmental Automated Driving System and Pedestrian,” PB2019-101402, Mar. 2018. [3] J. Sifakis and D. Harel, “Trustworthy Autonomous System Development,” ACM Trans. Embed. Comput. Syst., Jun. 2022, doi: 10.1145/3545178. [4] L. A. Dennis and M. Fisher, “Verifiable Self-Aware Agent-Based Autonomous Systems,” Proceedings of the IEEE, vol. 108, no. 7, pp. 1011–1026, Jul. 2020, doi: 10.1109/JPROC.2020.2991262. [5] B. Sun, J. Xing, H. Blum, R. Siegwart, and C. Cadena, “See Yourself in Others: Attending Multiple Tasks for Own Failure Detection,” in 2022 International Conference on Robotics and Automation (ICRA), 2022, pp. 8409–8416. doi: 10.1109/ICRA46639.2022.9812310. [6] E. A. Wan and R. Van Der Merwe, “The unscented Kalman filter for nonlinear estimation,” in Proceedings of the IEEE 2000 Adaptive Systems for Signal Processing, Communications, and Control Symposium (Cat. No.00EX373), 2000, pp. 153–158. doi: 10.1109/ASSPCC.2000.882463. [7] A. Cosgun et al., “Towards full automated drive in urban environments: A demonstration in GoMentum Station, California,” in 2017 IEEE Intelligent Vehicles Symposium (IV), Jun. 2017, pp. 1811–1818. doi: 10.1109/IVS.2017.7995969. [8] A. Alahi, K. Goel, V. Ramanathan, A. Robicquet, L. Fei-Fei, and S. Savarese, “Social LSTM: Human Trajectory Prediction in Crowded Spaces,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 961–971. [9] J. Gao et al., “VectorNet: Encoding HD Maps and Agent Dynamics From Vectorized Representation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020, pp. 11525–11533. [10] J. Gu, C. Sun, and H. Zhao, “DenseTNT: End-to-End Trajectory Prediction From Dense Goal Sets,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, 2021, pp. 15303–15312. [11] S. Mozaffari, O. Y. Al-Jarrah, M. Dianati, P. Jennings, and A. Mouzakitis, “Deep Learning-Based Vehicle Behavior Prediction for Autonomous Driving Applications: A Review,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 1, pp. 33–47, 2022, doi: 10.1109/TITS.2020.3012034. [12] X. Li, X. Ying, and M. C. Chuah, “GRIP++: Enhanced Graph-based Interaction-aware Trajectory Prediction for Autonomous Driving.” arXiv, May 19, 2020. doi: 10.48550/arXiv.1907.07792. [13] X. Mo, Z. Huang, Y. Xing, and C. Lv, “Multi-Agent Trajectory Prediction With Heterogeneous Edge-Enhanced Graph Attention Network,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 7, pp. 9554–9567, Jul. 2022, doi: 10.1109/TITS.2022.3146300. [14] N. Djuric et al., “Uncertainty-aware Short-term Motion Prediction of Traffic Actors for Autonomous Driving,” in Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 2020, pp. 2095–2104. [15] N. Deo and M. M. Trivedi, “Convolutional Social Pooling for Vehicle Trajectory Prediction,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, 2018, pp. 1468–1476. [16] N. Deo, E. Wolff, and O. Beijbom, “Multimodal Trajectory Prediction Conditioned on Lane-Graph Traversals,” in Proceedings of the 5th Conference on Robot Learning, Jan. 2022, pp. 203–212. [17] H. Cui et al., “Multimodal Trajectory Predictions for Autonomous Driving using Deep Convolutional Networks,” in 2019 International Conference on Robotics and Automation (ICRA), 2019, pp. 2090–2096. doi: 10.1109/ICRA.2019.8793868. [18] T. Salzmann, B. Ivanovic, P. Chakravarty, and M. Pavone, “Trajectron++: Dynamically-Feasible Trajectory Forecasting with Heterogeneous Data,” in Computer Vision – ECCV 2020, Cham, 2020, pp. 683–700. doi: 10.1007/978-3-030-58523-5_40. [19] T.-J. Hsieh, C.-S. Shih, C.-W. Lin, C.-W. Chen, and P.-K. Tsung, “Trajectory Prediction at Unsignalized Intersections using Social Conditional Generative Adversarial Network,” in 2021 IEEE International Intelligent Transportation Systems Conference (ITSC), Sep. 2021, pp. 844–851. doi: 10.1109/ITSC48978.2021.9564441. [20] J. Gawlikowski et al., “A Survey of Uncertainty in Deep Neural Networks.” arXiv, Jan. 18, 2022. doi: 10.48550/arXiv.2107.03342. [21] A. Kendall and Y. Gal, “What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?,” in Advances in Neural Information Processing Systems, 2017, vol. 30. [22] C. Louizos and M. Welling, “Multiplicative Normalizing Flows for Variational Bayesian Neural Networks,” in Proceedings of the 34th International Conference on Machine Learning, Jul. 2017, pp. 2218–2227. [23] C. Blundell, J. Cornebise, K. Kavukcuoglu, and D. Wierstra, “Weight Uncertainty in Neural Network,” in Proceedings of the 32nd International Conference on Machine Learning, Jun. 2015, pp. 1613–1622. [24] Y. Gal and Z. Ghahramani, “Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning,” in Proceedings of The 33rd International Conference on Machine Learning, Jun. 2016, pp. 1050–1059. [25] Y. Gal, J. Hron, and A. Kendall, “Concrete Dropout,” in Advances in Neural Information Processing Systems, 2017, vol. 30. [26] B. Lakshminarayanan, A. Pritzel, and C. Blundell, “Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles,” in Advances in Neural Information Processing Systems, 2017, vol. 30. [27] Y. Wen, D. Tran, and J. Ba, “BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learning.” arXiv, Feb. 19, 2020. doi: 10.48550/arXiv.2002.06715. [28] F. Wenzel, J. Snoek, D. Tran, and R. Jenatton, “Hyperparameter Ensembles for Robustness and Uncertainty Quantification,” in Advances in Neural Information Processing Systems, 2020, vol. 33, pp. 6514–6527. [29] M. Sensoy, L. Kaplan, and M. Kandemir, “Evidential deep learning to quantify classification uncertainty,” in Advances in neural information processing systems, 2018, vol. 31. [30] D. Hendrycks, M. Mazeika, and T. Dietterich, “Deep Anomaly Detection with Outlier Exposure.” arXiv, Jan. 28, 2019. doi: 10.48550/arXiv.1812.04606. [31] C. B. Kuhn, M. Hofbauer, Z. Xu, G. Petrovic, and E. Steinbach, “Pixel-Wise Failure Prediction For Semantic Video Segmentation,” in 2021 IEEE International Conference on Image Processing (ICIP), Sep. 2021, pp. 614–618. doi: 10.1109/ICIP42928.2021.9506552. [32] Q. M. Rahman, N. Sünderhauf, P. Corke, and F. Dayoub, “FSNet: A Failure Detection Framework for Semantic Segmentation,” IEEE Robotics and Automation Letters, vol. 7, no. 2, pp. 3030–3037, Apr. 2022, doi: 10.1109/LRA.2022.3143219. [33] K. Lis, K. Nakka, P. Fua, and M. Salzmann, “Detecting the Unexpected via Image Resynthesis,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019, pp. 2152–2161. [34] D. Haldimann, H. Blum, R. Siegwart, and C. Cadena, “This is not what I imagined: Error Detection for Semantic Segmentation through Visual Dissimilarity.” arXiv, Sep. 02, 2019. doi: 10.48550/arXiv.1909.00676. [35] L. Deecke, R. Vandermeulen, L. Ruff, S. Mandt, and M. Kloft, “Image Anomaly Detection with Generative Adversarial Networks,” in Machine Learning and Knowledge Discovery in Databases, Cham, 2019, pp. 3–17. doi: 10.1007/978-3-030-10925-7_1. [36] D. Hendrycks and K. Gimpel, “A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks,” presented at the International Conference on Learning Representations, 2017. [37] D. Feng, A. Harakeh, S. L. Waslander, and K. Dietmayer, “A Review and Comparative Study on Probabilistic Object Detection in Autonomous Driving,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 8, pp. 9961–9980, 2022, doi: 10.1109/TITS.2021.3096854. [38] W. J. Maddox, P. Izmailov, T. Garipov, D. P. Vetrov, and A. G. Wilson, “A Simple Baseline for Bayesian Uncertainty in Deep Learning,” in Advances in Neural Information Processing Systems, 2019, vol. 32. [39] Y. Xu et al., “SIND: A Drone Dataset at Signalized Intersection in China.” arXiv, Sep. 06, 2022. doi: 10.48550/arXiv.2209.02297. [40] W. Zhan et al., “INTERACTION Dataset: An INTERnational, Adversarial and Cooperative moTION Dataset in Interactive Driving Scenarios with Semantic Maps.” arXiv, Sep. 30, 2019. doi: 10.48550/arXiv.1910.03088. [41] H. Caesar et al., “nuScenes: A Multimodal Dataset for Autonomous Driving,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020, pp. 11621–11631.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684� For correspondence:jens.sjolund@it.uu.seFunding: This work was partiallysupported by the Wallenberg AI,Autonomous Systems andSoftware Program (WASP) fundedby the Knut and Alice WallenbergFoundation.A Tutorial on ParametricVariational InferenceJens Sjölund 1 �1Department of Information Technology, Uppsala University, SwedenAbstractVariational inference uses optimization, rather than integration, to approximate the marginallikelihood, and thereby the posterior, in a Bayesian model. Thanks to advances in computationalscalability made in the last decade, variational inference is now the preferred choice for manyhigh-dimensional models and large datasets. This tutorial introduces variational inference fromthe parametric perspective that dominates these recent developments, in contrast to themean-field perspective commonly found in other introductory texts.IntroductionIn Bayesian machine learning and statistics, the central object of interest is the posterior distribu-tion found by Bayesian inference—combining prior beliefs with observations according to Bayes’rule. In simple cases, such as in conjugate models, this can be done exactly. But, general (non-conjugate) models require approximate inference techniques such as Monte Carlo or variationalinference. These have complementary strengths and weaknesses, hence the most appropriatechoice is application dependent. We focus on variational inference, which is on the one hand notguaranteed to be asymptotically exact but is on the other hand computationally efficient and scal-able to high-dimensional models and large datasets.NotationWe use a single observation variable 풙 to denote both the observed inputs and outputs. Our pri-mary interest is however in the latent variables 풛. Since we adhere to the Bayesian framework,the “parameters” of a model (such as the slope and intercept in a linear regression model) that areassigned priors are actually latent variables. We denote remaining parameters of interest by 휽.Variational inferenceSo, why do we need variational inference? First, recall that to infer anything about the latent vari-ables from our observations, we need the posterior:푝휽(풛 ∣ 풙) = 푝휽(풙, 풛)푝휽(풙) .(1)The expression in the denominator, 푝휽(풙), is called the marginal likelihood of 풙 because it can berewritten as a marginalization over the latent variables:푝휽(풙) = ∫ 푝휽(풙, 풛) 푑풛.(2)The catch is that in practice this integral is often intractable, i.e. not computable in closed form.Since 풙 are our observations, the marginal likelihood is a (normalizing) constant. Nevertheless,without knowing this constant the utility of the posterior is limited. Hence the need for approximateinference.Sjölund|arXiv|January 4, 2023|1–9arXiv:2301.01236v1 [stat.ML] 3 Jan 2023
Key ideaThe key idea in variational inference is to replace the intractable marginal likelihood with a tractablelower bound that we then maximize. Modeling mainly consists of choosing a family of probabilitydistribution that are well-behaved yet sufficiently expressive. More specifically, we want there tobe a distribution 푞 ∈ , called the variational posterior, that can be used as a drop-in replacementfor the true posterior. The variational posterior should therefore be “close” to the true posterior푝휽(풛 ∣ 풙) and at the same time (relatively) easy to find. The search procedure amounts to mathemat-ical optimization, which is why variational inference is sometimes described as trading a difficultintegration problem for an easier optimization problem.The evidence lower bound (ELBO)In variational inference, the distance between the true posterior 푝(풛 ∣ 풙) and the variational poste-rior 푞(풛) is measured using the Kullback-Leibler (KL) divergence,KL(푞(풛) ‖ 푝(풛 ∣ 풙)) = − ∫ 푞(풛) log(푝(풛 ∣ 풙)푞(풛))푑풛.(3)Other distance measures can also be used to make the variational posterior similar to the true pos-terior, but the KL divergence has a particular benefit: through a neat trick we can simultaneouslyestimate the marginal likelihood and circumvent the need to evaluate the posterior in equation 3.To see how, we first note the two mathematical identities:∫ 푞(풛) 푑풛 = 1,(4)푝(풙) = 푝(풙, 풛)푝(풛 ∣ 풙) = 푝(풙, 풛)푞(풛)(푝(풛 ∣ 풙)푞(풛))−1.(5)Using these we may rewrite the marginal likelihood as follows:log 푝(풙) =(4) log 푝(풙) ⋅ ∫ 푞(풛) 푑풛 = ∫ 푞(풛) log 푝(풙) 푑풛=(5) ∫ 푞(풛) log(푝(풙, 풛)푞(풛))푑풛 − ∫ 푞(풛) log(푝(풛 ∣ 풙)푞(풛))푑풛= ∫ 푞(풛) log(푝(풙, 풛)푞(풛))푑풛 + KL(푞(풛) ‖ 푝(풛 ∣ 풙)).(6)Because the KL divergence is always nonnegative, the first term lower bounds the log marginallikelihood (also known as the evidence) for any 푞, and is therefore known as the evidence lowerbound (ELBO):ELBO(푞(풛)) = ∫ 푞(풛) log(푝(풙, 풛)푞(풛))푑풛 = 피푞(풛)[log 푝(풙, 풛) − log 푞(풛)] .(7)Equation 6 can thus be written more succinctly aslog 푝(풙) = ELBO(푞(풛)) + KL(푞(풛) ‖ 푝(풛 ∣ 풙)).(8)For a fixed model 푝(풙, 풛), the (log) evidence is a constant. Hence—recalling that the KL divergence isnonnegative—we conclude that maximizing the ELBO is equivalent to minimizing the KL divergence.This is great, because to compute the KL divergence we would have to marginalize over a functionthat includes the same intractable posterior that we want to estimate. In contrast, the model onlyenters in the ELBO through the joint distribution 푝(풙, 풛), which means that, first, we don’t need tocompute the problematic integral in equation 2 and, second, we can factorize the joint distribution,e.g., as encoded by a directed graphical model (Wainwright and Jordan, 2008).Sjölund|A Tutorial on Parametric Variational InferencearXiv|2 of 9
Example 1Suppose we have a single observation 푥 from an Exp(휆) likelihood with a Gamma(훼, 훽) prioron the rate parameter 휆. Assuming that 훼 and 훽 are known, the only latent variable of interestis 푧 = {휆}. Specifically,푝(푥 ∣ 휆) = 휆푒−휆푥,푝(휆) =훽훼Γ(훼)휆훼−1푒−훽휆,where Γ(훼) is the Gamma function. Since the Gamma distribution is the conjugate prior for 휆,we know that the posterior is also a Gamma distribution. Invoking Bayes’ rule and disregardingall factors not including 휆, we find that푝(휆 ∣ 푥) ∝ 푝(푥 ∣ 휆)푝(휆) ∝ 휆훼푒−휆(훽+푥).Hence, we identify the posterior as 푝(휆 ∣ 푥) = Gamma(훼 + 1, 훽 + 푥).But, let’s pretend we don’t know this and instead want to fit a Lognormal(휇, 휎2) distribution tothe posterior using variational inference, i.e.푞(휆) =1휆휎√2휋exp(−(log 휆 − 휇)22휎2).From equation 7 we have thatELBO(푞(휆)) = 피푞(휆)[log (푝(푥 ∣ 휆)푝(휆)) − log 푞(휆)]= 피푞(휆)[log( 훽훼Γ(훼))+ 훼 log 휆 − 휆(훽 + 푥) + log√2휋 + log 휎 + log 휆 + (log 휆 − 휇)22휎2]= log(훽훼√2휋Γ(훼))+ (훼 + 1)피푞(휆)[log 휆] − (훽 + 푥)피푞(휆) [휆] + log 휎 +12휎2 피푞(휆)[(log 휆 − 휇)2] .The expectation 피푞(휆) [휆] = exp(휇 + 휎22)since, by definition, it is the mean of the lognormaldistribution. Furthermore, the change of integration variables 푦 = log 휆, which transforms 푞(휆)into 푞(푦) = (휇, 휎2), shows that피푞(휆)[log 휆] = 피푞(푦) [푦] = 휇,피푞(휆)[(log 휆 − 휇)2] = 피푞(푦)[(푦 − 휇)2] = 휎2.The final expression for the ELBO is thusELBO(푞(휆)) = log(훽훼√2휋Γ(훼))+ (훼 + 1)휇 − (훽 + 푥)푒휇+ 휎22 + log 휎 + 12.Sjölund|A Tutorial on Parametric Variational InferencearXiv|3 of 9
ModelingHow, then, do we choose the variational family ? Historically, the dominant approach has beento assume a particular factorization of the variational posterior, and to use calculus of variations tosearch for distributions that match this factorization. This is known as mean-field variational infer-ence (Blei, Kucukelbir, and McAuliffe, 2017), and is still the approach most-often taught in classes.However, mean-field variational inference is only applicable to a rather limited set of models. Mostof the successes of VI in the last 10–15 years have instead taken a parametric approach, where thevariational family is parameterized by a highly expressive model such as a deep neural network.One can then use “standard” optimization techniques to search for the parameters 휽∗ that max-imize the ELBO. In light of the above, this tutorial focuses exclusively on parametric variationalinference.In example 1, we indeed took the parametric approach, since the variational posterior wasexplicitly parameterized by a Lognormal distribution with parameters 휽 = {휇, 휎}. In example 2, wetake a closer look at the ELBO for a specific instance of this model.To approximate the true posterior distribution accurately, we want the variational family tobe as rich as possible so long as we maintain tractability—it is impossible to overfit! However, asexample 3 shows, there is one pitfall to be aware of: 푞(풛) needs to be zero whenever 푝(풛 ∣ 풙) is zero.Estimating the ELBOIn the examples we’ve seen so far the expectations could be computed in closed form. But thatwill rarely be the case in general (non-conjugate) models. We can, however, use a Monte Carloestimate to replace the expectation with a sum,ELBO(푞(풛)) = ∫ 푞(풛) log(푝(풙, 풛)푞(풛))푑풛 = 피푞(풛)[log 푝(풙, 풛) − log 푞(풛)]≈ 1퐿퐿∑푖=1(log 푝(풙, 풛(푖)) − log 푞(풛(푖))) .(9)The key requirement is that we are able to draw samples 풛(푖) from the variational posterior 푞(풛). But,as suggested by the previous section, it is not enough to evaluate the ELBO for a given 푞 ∈ —wewant to find the best 푞! Having parameterized the variational posterior 푞휽(풛) with the parameters 휽,we may rephrase this as finding parameter values that maximize the ELBO. For efficient optimiza-tion, however, we need to evaluate both the objective function (the ELBO) and its gradient.Gradient-based optimization of the ELBOIn optimization, it is standard practice to consider minimization problems. (Since a maximizationproblem can be transformed into a minimization problem by negating the objective function, thiscan be done without loss of generality.) We thus express our optimization problem as:휽∗ = arg min휽− 피푞휽(풛)[log 푝(풙, 풛) − log 푞휽(풛)] .(10)Applying, for instance, gradient descent to this problem corresponds to the iterations휽푘+1 = 휽푘 + 휂∇휽피푞휽(풛)[log 푝(풙, 풛) − log 푞휽(풛)] ,푘 = 0, 1, …(11)where the hyperparameter 휂 > 0 is the step size. But this reveals a complication: the gradientacts on the parameters of the distribution that we compute the expectation over. Consequently,we cannot simply move the gradient inside the expectation, nor can we use the Monte Carlo trickto first replace the expectation with samples and then compute the gradient on those. But thereare other, less direct, ways of applying the Monte Carlo idea that do work (incidentally, this turnsgradient descent into stochastic gradient descent). We begin by rewriting the gradient of the ELBOSjölund|A Tutorial on Parametric Variational InferencearXiv|4 of 9
Example 2To make thing more concrete, we continue with the setting from example 1 and set 훼 = 3,훽 = 1, and 푥 = 1. The evidence 푝(푥) is the, previously neglected, proportionality constantrelating the posterior and the joint distributions,푝(푥) = 푝(푥, 휆)푝(휆 ∣ 푥) = Γ(훼 + 1)Γ(훼)훽훼(훽 + 푥)훼+1 =훼훽훼(훽 + 푥)훼+1 .Inserting the numerical values above gives 푝(푥 = 1) = 3∕16.For simplicity, we fix 휎 = 0.5 in the variational posterior (this corresponds approximately tothe value found by moment matching) and study the effect of changing 휇.Example 2—figure 1. The fit of a Lognormal(휇, 휎2 = 0.25) variational posterior to a Gamma(4, 2) posteriorfor different values of 휇.Example 2—figure 2. How well the ELBO approximates the log evidence depends on the parameter 휇.The gap corresponds exactly to the KL divergence, hence maximizing the ELBO is equivalent to minimizingthe KL divergence.Sjölund|A Tutorial on Parametric Variational InferencearXiv|5 of 9
0.6Exact posteriorVariational posterior (μ= 0.4)0.5Variational posterior (μ= 0.6)0.4 Variational posterior (μ= 0.8)0.30.2 0.10.02FM0F5161.68KL(qμ*() II p( I X=1))1.701.721.741.761.78Inp(x= 1)1.B0ELBO(μ, = 0.5)0.400.450.500.550900.650.700.750.BOμExample 3Let’s return to Example 1 and see what happens if we try to use an (휇, 휎2) distribution as thevariational posterior, i.e.푞(휆) =1√2휋휎2exp(−(휆 − 휇)22휎2).Deriving the ELBO as before, we have thatELBO(푞(휆)) = 피푞(휆)[log (푝(푥 ∣ 휆)푝(휆)) − log 푞(휆)]= 피푞(휆)[log( 훽훼Γ(훼))+ 훼 log 휆 − 휆(훽 + 푥) + log√2휋 + log 휎 + (휆 − 휇)22휎2]= log(훽훼√2휋Γ(훼))+ 훼 피푞(휆)[log 휆]⏟⏞⏞⏞⏞⏟⏞⏞⏞⏞⏟undefined!−(훽 + 푥) 피푞(휆) [휆]⏟⏟⏟=휇+ log 휎 +12휎2 피푞(휆)[(휆 − 휇)2]⏟⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏟=휎2The logarithm is only defined for positive values, hence 피푞(휆)[log 휆] is undefined. This illustratesan important caveat when choosing the variational distribution: 푞(풛) needs to be zero whenever푝(풛 ∣ 풙) is zero.as follows (Ranganath, Gerrish, and Blei, 2014):∇휽피푞휽(풛)[log 푝(풙, 풛) − log 푞휽(풛)] = ∇휽 ∫(log 푝(풙, 풛) − log 푞휽(풛)) 푞휽(풛) 푑풛= ∫(log 푝(풙, 풛) − log 푞휽(풛)) ∇휽 푞휽(풛) 푑풛 − ∫(∇휽 log 푞휽(풛)) 푞휽(풛) 푑풛(12)But the second term in this expression vanishes,∫(∇휽 log 푞휽(풛)) 푞휽(풛) 푑풛 = ∫∇휃푞휽(풛)���푞휽(풛) ���푞휽(풛) 푑풛 = ∇휃 ∫ 푞휽(풛) 푑풛⏟⏞⏞⏞⏞⏟⏞⏞⏞⏞⏟=1= 0.(13)In conclusion, we have that∇휽피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] = ∫(log 푝(풙, 풛) − log 푞휽(풛)) ∇휽 푞휽(풛)푑풛.(14)Sometimes, as in example 4, we can rewrite ∇휽푞휽(풛) (the gradient of the variational posterior) suchthat we can directly use a Monte Carlo method to estimate the integral. Later, we will cover twomore general Monte Carlo-based approaches: reparameterization (Kingma and Welling, 2014) andblack-box variational inference (Ranganath, Gerrish, and Blei, 2014).ReparameterizationThe “reparameterization trick” was popularized in the work introducing the variational autoencoder(Kingma and Welling, 2014) but the general principle has a much longer history (Devroye, 1996).The idea is to decouple the source of randomness from the parameters by cleverly reformulatingthe random variable 풛 ∼ 푞휽(풛) as a parameterized transformation 푧 = 푔휽(휖) of another randomvariable 휖 ∼ 푝(휖) that is easy to sample. Effectively, this moves the randomness “outside” the modeland makes it possible to move the gradient inside the expectation, as shown in the example below.The reparameterization trick is valid if and only if 푔(휖, 휽) is a continuous function of 휽 for all 휖(Schulman et al., 2015). Further, it works in the same way as in the example above also for expec-tations 피푞휽(풛) [푓(풛)] where 푓(풛) is a general nonlinear function of 풛,∇휽피푞휽(풛) [푓(풛)] = ∇휽피푝(휖)[푓(푔휽(휖))] = 피푝(휖)[∇휽푓(푔휽(휖))] .(15)By setting 푓(풛) = log 푝(풙, 풛) − log 푞휽(풛) we retrieve the ELBO as a special case.Sjölund|A Tutorial on Parametric Variational InferencearXiv|6 of 9
Example 4Consider a univariate Normal variational posterior parameterized by the mean 휇 and standarddeviation 휎, i.e.푞휽(푧) =1√2휋휎2exp(−(푧 − 휇)22휎2),휽 = {휇, 휎}.After some algebraic manipulations, the partial derivatives can be written as:휕푞휽휕휇 = 푧 − 휇휎2⋅ 푞휽(푧),휕푞휽휕휎 = 1휎((푧 − 휇)2휎2− 1)⋅ 푞휽(푧).Note that 푞휽(푧) appears in both of these expressions. By inserting the above in equation 14,we thus arrive at an expectation that we can replace with a Monte Carlo estimate:∇휽피푞휽(푧) [log 푝(풙, 푧) − log 푞휽(푧)]= ∫(log 푝(풙, 푧) − log 푞휽(푧)) (푧−휇휎2 , 1휎((푧−휇)2휎2− 1))⊤푞휽(푧)푑푧≈ 1퐿퐿∑푖=1(log 푝(풙, 푧(푖)) − log 푞휽(푧(푖))) (푧(푖)−휇휎2 , 1휎((푧(푖)−휇)2휎2− 1))⊤,where 푧(푖) ∼ 푞휽(푧).Example 5Suppose the variational posterior is a univariate Normal distribution parameterized by themean 휇 and standard deviation 휎, i.e. 푞휽(푧) = (푧; 휽) where 휽 = {휇, 휎}. This can be reparame-terized as 푧 = 푔휽(휖) = 휇 + 휎 ⋅ 휖 where 휖 ∼ (0, 1).Let’s consider the effect this has on the expectation 피푞휽(푧)[log 푧].(i) Original expression:피푞휽(푧)[log 푧] =1√2휋휎2 ∫ log 푧 exp(−(푧 − 휇)22휎2)푑푧,∇휽피푞휽(푧)[log 푧] = ∫ log 푧 ∇휽푞휽(푧)푑푧= 피푞휽(푧)[log 푧 ⋅((푧−휇휎2), 1휎((푧−휇)2휎2− 1))⊤]where we used the expression for ∇휽푞휽(푧) from example 4.(ii) Reparameterized expression:피푞휽(푧)[log 푧] ||||푧=휇+휎휖=1√2휋휎2 ∫ log(휇 + 휎휖) exp(−(휇 + 휎휖 − 휇)22휎2)휎 푑휖=1√2휋 ∫ log(휇 + 휎휖) exp(−휖22)푑휖 = 피푝(휖)[log(휇 + 휎휖)] ,∇휽피푝(휖)[log(휇 + 휎휖)] = 피푝(휖)[∇휽 log(휇 + 휎휖)]= 피푝(휖)[(1휇+휎휖 ,휖휇+휎휖)⊤].Sjölund|A Tutorial on Parametric Variational InferencearXiv|7 of 9
Amortized variational inferenceMany probabilistic models have local latent variables 풛푖 associated with each data point 풙푖. Thesimplest case is when the joint distribution factorizes as푝(풙, 풛) =푁∏푖=1푝(풙푖 ∣ 풛푖)푝(풛푖).(16)Suppose we use a variational posterior that factorizes accordingly,푞휽(풛) =푁∏푖=1푞휽푖(풛푖),(17)then the ELBO maximization in equation 10 decomposes into a sum of local ELBOs휽∗ = arg min휽−푁∑푖=1피푞휽푖 (풛푖)[log 푝(풙푖 ∣ 풛푖) + log 푝(풛푖) − log 푞휽푖(풛푖)] .(18)Since the optimization variables are 휽 = {휽1, … , 휽푁}, large datasets amount to large optimizationproblems, which are computationally demanding to solve. This led to the idea of amortized vari-ational inference (Rezende, Mohamed, and Wierstra, 2014), wherein a machine learning model(often a neural network) is trained to directly predict the solution 휽∗ of this optimization problem.Specifically, let Λ휙 denote a neural network parameterized by 휙 that maps individual datapoints풙푖 to corresponding parameters 휽푖 of the local variational posterior 푞휽푖(풛푖). This model is trained us-ing the expression in equation 18 as the loss function but replacing 휽푖 = Λ휙(풙푖). Note that eventhough the objective function is the same, this is a form of amortized optimization (Amos, 2022)since we are now using 휙 as the optimization variables instead of 휽. Furthermore, the loss functionis a sum over datapoints, which means that the standard machinery for training neural networks(stochastic gradient descent etc.) can be applied. In the context of variational autoencoders, themodel Λ휙 is referred to as the encoder, which is accompanied by a, jointly trained, decoder corre-sponding to the probability distribution 푝(풙 ∣ 풛) (Kingma and Welling, 2019).Black-box variational inferenceThe reparameterization trick lets you compute the exact gradient by automatic differentiation,which is undoubtedly convenient. On the other hand, there are many models in which reparam-eterization is impossible. In these cases, one can instead estimate the gradient using black-boxvariational inference (BBVI) (Ranganath, Gerrish, and Blei, 2014), which is more general yet stillconvenient. However, the BBVI estimator suffers from high variance.BBVI relies on the observation that∇휽 log 푞휽(풛) = ∇휽푞휽(풛)푞휽(풛) ,(19)which is sometimes referred to as the REINFORCE trick (Williams, 1992). This can be used to rewriteequation 14 as∇휽피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] = ∫(log 푝(풙, 풛) − log 푞휽(풛)) 푞휽(풛)∇휽 log 푞휽(풛)⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟=∇휽푞휽(풛)푑풛= 피푞휽(풛) [(log 푝(풙, 풛) − log 푞휽(풛)) ∇휽 log 푞휽(풛)] ≈ 1퐿퐿∑푖=1(log 푝(풙, 풛(푖)) − log 푞휽(풛(푖))) ∇휽 log 푞휽(풛(푖)).(20)Since we can often use automatic differentiation to evaluate the score function ∇휽 log 푞휽(풛), it ap-pears that this reformulation resolves the problem of estimating the gradient of the ELBO fromsamples. The catch is, however, that this estimator often has a too high variance to be useful inpractice. Arguably, the key contribution of BBVI was to adapt two variance reduction techniques—Rao-Blackwellization and control variates—to the estimator in equation 20. Going into detail onthese variance reduction techniques would, however, take us beyond the scope of a tutorial on thebasics of variational inference. We refer the interested reader to the original work by Ranganath,Gerrish, and Blei (2014).Sjölund|A Tutorial on Parametric Variational InferencearXiv|8 of 9
AcknowledgmentsThis work was partially supported by the Wallenberg AI, Autonomous Systems and Software Pro-gram (WASP) funded by the Knut and Alice Wallenberg Foundation. This preprint was created usingthe LaPreprint template (https://github.com/roaldarbol/lapreprint) by Mikkel Roald-Arbøl.ReferencesAmos, Brandon (2022). “Tutorial on amortized optimization for learning to optimize over continu-ous domains”. In: arXiv preprint 2202.00665.Blei, David M, Alp Kucukelbir, and Jon D McAuliffe (2017). “Variational inference: A review for statis-ticians”. In: Journal of the American statistical Association 112.518, pp. 859–877.Devroye, Luc (1996). “Random variate generation in one line of code”. In: Proceedings Winter Simu-lation Conference. IEEE, pp. 265–272.Kingma, Diederik P and Max Welling (2014). “Auto-Encoding Variational Bayes”. In: 2nd InternationalConference on Learning Representations.— (2019). “An introduction to variational autoencoders”. In: Foundations and Trends® in MachineLearning 12.4, pp. 307–392.Ranganath, Rajesh, Sean Gerrish, and David M Blei (2014). “Black box variational inference”. In:Artificial intelligence and statistics. PMLR, pp. 814–822.Rezende, Danilo Jimenez, Shakir Mohamed, and Daan Wierstra (2014). “Stochastic backpropagationand approximate inference in deep generative models”. In: International conference on machinelearning. PMLR, pp. 1278–1286.Schulman, John et al. (2015). “Gradient estimation using stochastic computation graphs”. In: Ad-vances in Neural Information Processing Systems 28.Wainwright, Martin J and Michael I Jordan (2008). “Graphical models, exponential families, and vari-ational inference”. In: Foundations and Trends in Machine Learning 1.1–2, pp. 1–305.Williams, Ronald J (1992). “Simple statistical gradient-following algorithms for connectionist rein-forcement learning”. In: Machine learning 8.3, pp. 229–256.Sjölund|A Tutorial on Parametric Variational InferencearXiv|9 of 9
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223filepath=/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf,len=222page_content='� For correspondence: jens.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='sjolund@it.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='uu.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='se Funding: This work was partially supported by the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' A Tutorial on Parametric Variational Inference Jens Sjölund 1 � 1Department of Information Technology, Uppsala University, Sweden Abstract Variational inference uses optimization, rather than integration, to approximate the marginal likelihood, and thereby the posterior, in a Bayesian model.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Thanks to advances in computational scalability made in the last decade, variational inference is now the preferred choice for many high-dimensional models and large datasets.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This tutorial introduces variational inference from the parametric perspective that dominates these recent developments, in contrast to the mean-field perspective commonly found in other introductory texts.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Introduction In Bayesian machine learning and statistics, the central object of interest is the posterior distribu- tion found by Bayesian inference—combining prior beliefs with observations according to Bayes’ rule.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In simple cases, such as in conjugate models, this can be done exactly.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' But, general (non- conjugate) models require approximate inference techniques such as Monte Carlo or variational inference.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' These have complementary strengths and weaknesses, hence the most appropriate choice is application dependent.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' We focus on variational inference, which is on the one hand not guaranteed to be asymptotically exact but is on the other hand computationally efficient and scal- able to high-dimensional models and large datasets.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Notation We use a single observation variable 풙 to denote both the observed inputs and outputs.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Our pri- mary interest is however in the latent variables 풛.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Since we adhere to the Bayesian framework, the “parameters” of a model (such as the slope and intercept in a linear regression model) that are assigned priors are actually latent variables.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' We denote remaining parameters of interest by 휽.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Variational inference So, why do we need variational inference?' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' First, recall that to infer anything about the latent vari- ables from our observations, we need the posterior: 푝휽(풛 ∣ 풙) = 푝휽(풙, 풛) 푝휽(풙) .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (1) The expression in the denominator, 푝휽(풙), is called the marginal likelihood of 풙 because it can be rewritten as a marginalization over the latent variables: 푝휽(풙) = ∫ 푝휽(풙, 풛) 푑풛.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (2) The catch is that in practice this integral is often intractable, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' not computable in closed form.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Since 풙 are our observations, the marginal likelihood is a (normalizing) constant.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Nevertheless, without knowing this constant the utility of the posterior is limited.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Hence the need for approximate inference.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | arXiv | January 4, 2023 | 1–9 arXiv:2301.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='01236v1 [stat.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='ML] 3 Jan 2023 Key idea The key idea in variational inference is to replace the intractable marginal likelihood with a tractable lower bound that we then maximize.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Modeling mainly consists of choosing a family \ue23d of probability distribution that are well-behaved yet sufficiently expressive.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' More specifically, we want there to be a distribution 푞 ∈ \ue23d, called the variational posterior, that can be used as a drop-in replacement for the true posterior.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The variational posterior should therefore be “close” to the true posterior 푝휽(풛 ∣ 풙) and at the same time (relatively) easy to find.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The search procedure amounts to mathemat- ical optimization, which is why variational inference is sometimes described as trading a difficult integration problem for an easier optimization problem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The evidence lower bound (ELBO) In variational inference, the distance between the true posterior 푝(풛 ∣ 풙) and the variational poste- rior 푞(풛) is measured using the Kullback-Leibler (KL) divergence, KL(푞(풛) ‖ 푝(풛 ∣ 풙)) = − ∫ 푞(풛) log (푝(풛 ∣ 풙) 푞(풛) ) 푑풛.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (3) Other distance measures can also be used to make the variational posterior similar to the true pos- terior, but the KL divergence has a particular benefit: through a neat trick we can simultaneously estimate the marginal likelihood and circumvent the need to evaluate the posterior in equation 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' To see how, we first note the two mathematical identities: ∫ 푞(풛) 푑풛 = 1, (4) 푝(풙) = 푝(풙, 풛) 푝(풛 ∣ 풙) = 푝(풙, 풛) 푞(풛) (푝(풛 ∣ 풙) 푞(풛) )−1 .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (5) Using these we may rewrite the marginal likelihood as follows: log 푝(풙) = (4) log 푝(풙) ⋅ ∫ 푞(풛) 푑풛 = ∫ 푞(풛) log 푝(풙) 푑풛 = (5) ∫ 푞(풛) log (푝(풙, 풛) 푞(풛) ) 푑풛 − ∫ 푞(풛) log (푝(풛 ∣ 풙) 푞(풛) ) 푑풛 = ∫ 푞(풛) log (푝(풙, 풛) 푞(풛) ) 푑풛 + KL(푞(풛) ‖ 푝(풛 ∣ 풙)).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (6) Because the KL divergence is always nonnegative, the first term lower bounds the log marginal likelihood (also known as the evidence) for any 푞, and is therefore known as the evidence lower bound (ELBO): ELBO(푞(풛)) = ∫ 푞(풛) log (푝(풙, 풛) 푞(풛) ) 푑풛 = 피푞(풛) [log 푝(풙, 풛) − log 푞(풛)] .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (7) Equation 6 can thus be written more succinctly as log 푝(풙) = ELBO(푞(풛)) + KL(푞(풛) ‖ 푝(풛 ∣ 풙)).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (8) For a fixed model 푝(풙, 풛), the (log) evidence is a constant.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Hence—recalling that the KL divergence is nonnegative—we conclude that maximizing the ELBO is equivalent to minimizing the KL divergence.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This is great, because to compute the KL divergence we would have to marginalize over a function that includes the same intractable posterior that we want to estimate.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In contrast, the model only enters in the ELBO through the joint distribution 푝(풙, 풛), which means that, first, we don’t need to compute the problematic integral in equation 2 and, second, we can factorize the joint distribution, e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='g.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=', as encoded by a directed graphical model (Wainwright and Jordan, 2008).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 2 of 9 Example 1 Suppose we have a single observation 푥 from an Exp(휆) likelihood with a Gamma(훼, 훽) prior on the rate parameter 휆.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Assuming that 훼 and 훽 are known, the only latent variable of interest is 푧 = {휆}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Specifically, 푝(푥 ∣ 휆) = 휆푒−휆푥, 푝(휆) = 훽훼 Γ(훼)휆훼−1푒−훽휆, where Γ(훼) is the Gamma function.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Since the Gamma distribution is the conjugate prior for 휆, we know that the posterior is also a Gamma distribution.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Invoking Bayes’ rule and disregarding all factors not including 휆, we find that 푝(휆 ∣ 푥) ∝ 푝(푥 ∣ 휆)푝(휆) ∝ 휆훼푒−휆(훽+푥).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Hence, we identify the posterior as 푝(휆 ∣ 푥) = Gamma(훼 + 1, 훽 + 푥).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' But, let’s pretend we don’t know this and instead want to fit a Lognormal(휇, 휎2) distribution to the posterior using variational inference, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 푞(휆) = 1 휆휎 √ 2휋 exp ( −(log 휆 − 휇)2 2휎2 ) .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' From equation 7 we have that ELBO(푞(휆)) = 피푞(휆) [log (푝(푥 ∣ 휆)푝(휆)) − log 푞(휆)] = 피푞(휆) [ log ( 훽훼 Γ(훼) ) + 훼 log 휆 − 휆(훽 + 푥) + log √ 2휋 + log 휎 + log 휆 + (log 휆 − 휇)2 2휎2 ] = log ( 훽훼√ 2휋 Γ(훼) ) + (훼 + 1)피푞(휆) [log 휆] − (훽 + 푥)피푞(휆) [휆] + log 휎 + 1 2휎2 피푞(휆) [(log 휆 − 휇)2] .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The expectation 피푞(휆) [휆] = exp ( 휇 + 휎2 2 ) since, by definition, it is the mean of the lognormal distribution.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Furthermore, the change of integration variables 푦 = log 휆, which transforms 푞(휆) into 푞(푦) = \ue23a (휇, 휎2), shows that 피푞(휆) [log 휆] = 피푞(푦) [푦] = 휇, 피푞(휆) [(log 휆 − 휇)2] = 피푞(푦) [(푦 − 휇)2] = 휎2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The final expression for the ELBO is thus ELBO(푞(휆)) = log ( 훽훼√ 2휋 Γ(훼) ) + (훼 + 1)휇 − (훽 + 푥)푒휇+ 휎2 2 + log 휎 + 1 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 3 of 9 Modeling How, then, do we choose the variational family \ue23d?' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Historically, the dominant approach has been to assume a particular factorization of the variational posterior, and to use calculus of variations to search for distributions that match this factorization.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This is known as mean-field variational infer- ence (Blei, Kucukelbir, and McAuliffe, 2017), and is still the approach most-often taught in classes.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' However, mean-field variational inference is only applicable to a rather limited set of models.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Most of the successes of VI in the last 10–15 years have instead taken a parametric approach, where the variational family is parameterized by a highly expressive model such as a deep neural network.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' One can then use “standard” optimization techniques to search for the parameters 휽∗ that max- imize the ELBO.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In light of the above, this tutorial focuses exclusively on parametric variational inference.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In example 1, we indeed took the parametric approach, since the variational posterior was explicitly parameterized by a Lognormal distribution with parameters 휽 = {휇, 휎}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In example 2, we take a closer look at the ELBO for a specific instance of this model.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' To approximate the true posterior distribution accurately, we want the variational family \ue23d to be as rich as possible so long as we maintain tractability—it is impossible to overfit!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' However, as example 3 shows, there is one pitfall to be aware of: 푞(풛) needs to be zero whenever 푝(풛 ∣ 풙) is zero.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Estimating the ELBO In the examples we’ve seen so far the expectations could be computed in closed form.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' But that will rarely be the case in general (non-conjugate) models.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' We can, however, use a Monte Carlo estimate to replace the expectation with a sum, ELBO(푞(풛)) = ∫ 푞(풛) log (푝(풙, 풛) 푞(풛) ) 푑풛 = 피푞(풛) [log 푝(풙, 풛) − log 푞(풛)] ≈ 1 퐿 퐿 ∑ 푖=1 (log 푝(풙, 풛(푖)) − log 푞(풛(푖))) .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (9) The key requirement is that we are able to draw samples 풛(푖) from the variational posterior 푞(풛).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' But, as suggested by the previous section, it is not enough to evaluate the ELBO for a given 푞 ∈ \ue23d—we want to find the best 푞!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Having parameterized the variational posterior 푞휽(풛) with the parameters 휽, we may rephrase this as finding parameter values that maximize the ELBO.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' For efficient optimiza- tion, however, we need to evaluate both the objective function (the ELBO) and its gradient.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Gradient-based optimization of the ELBO In optimization, it is standard practice to consider minimization problems.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (Since a maximization problem can be transformed into a minimization problem by negating the objective function, this can be done without loss of generality.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=') We thus express our optimization problem as: 휽∗ = arg min 휽 − 피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (10) Applying, for instance, gradient descent to this problem corresponds to the iterations 휽푘+1 = 휽푘 + 휂∇휽피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] , 푘 = 0, 1, … (11) where the hyperparameter 휂 > 0 is the step size.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' But this reveals a complication: the gradient acts on the parameters of the distribution that we compute the expectation over.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Consequently, we cannot simply move the gradient inside the expectation, nor can we use the Monte Carlo trick to first replace the expectation with samples and then compute the gradient on those.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' But there are other, less direct, ways of applying the Monte Carlo idea that do work (incidentally, this turns gradient descent into stochastic gradient descent).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' We begin by rewriting the gradient of the ELBO Sjölund | A Tutorial on Parametric Variational Inference arXiv | 4 of 9 Example 2 To make thing more concrete, we continue with the setting from example 1 and set 훼 = 3, 훽 = 1, and 푥 = 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The evidence 푝(푥) is the, previously neglected, proportionality constant relating the posterior and the joint distributions, 푝(푥) = 푝(푥, 휆) 푝(휆 ∣ 푥) = Γ(훼 + 1) Γ(훼) 훽훼 (훽 + 푥)훼+1 = 훼훽훼 (훽 + 푥)훼+1 .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Inserting the numerical values above gives 푝(푥 = 1) = 3∕16.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' For simplicity, we fix 휎 = 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='5 in the variational posterior (this corresponds approximately to the value found by moment matching) and study the effect of changing 휇.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Example 2—figure 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The fit of a Lognormal(휇, 휎2 = 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='25) variational posterior to a Gamma(4, 2) posterior for different values of 휇.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Example 2—figure 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' How well the ELBO approximates the log evidence depends on the parameter 휇.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The gap corresponds exactly to the KL divergence, hence maximizing the ELBO is equivalent to minimizing the KL divergence.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 5 of 9 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='6 Exact posterior Variational posterior (μ= 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='4) 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='5 Variational posterior (μ= 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='6) 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='4 Variational posterior (μ= 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='8) 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='3 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='2 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='1 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='0 2 FM 0 F51 61.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='68 KL(qμ*() II p( I X=1)) 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='70 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='72 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='74 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='76 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='78 Inp(x= 1) 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='B0 ELBO(μ, = 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='5) 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='40 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='45 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='50 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='55 090 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='65 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='70 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='75 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='BO μExample 3 Let’s return to Example 1 and see what happens if we try to use an \ue23a (휇, 휎2) distribution as the variational posterior, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 푞(휆) = 1 √ 2휋휎2 exp ( −(휆 − 휇)2 2휎2 ) .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Deriving the ELBO as before, we have that ELBO(푞(휆)) = 피푞(휆) [log (푝(푥 ∣ 휆)푝(휆)) − log 푞(휆)] = 피푞(휆) [ log ( 훽훼 Γ(훼) ) + 훼 log 휆 − 휆(훽 + 푥) + log √ 2휋 + log 휎 + (휆 − 휇)2 2휎2 ] = log ( 훽훼√ 2휋 Γ(훼) ) + 훼 피푞(휆) [log 휆] ⏟⏞⏞⏞⏞⏟⏞⏞⏞⏞⏟ undefined!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' −(훽 + 푥) 피푞(휆) [휆] ⏟⏟⏟ =휇 + log 휎 + 1 2휎2 피푞(휆) [(휆 − 휇)2] ⏟⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏟ =휎2 The logarithm is only defined for positive values, hence 피푞(휆) [log 휆] is undefined.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This illustrates an important caveat when choosing the variational distribution: 푞(풛) needs to be zero whenever 푝(풛 ∣ 풙) is zero.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' as follows (Ranganath, Gerrish, and Blei, 2014): ∇휽피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] = ∇휽 ∫ (log 푝(풙, 풛) − log 푞휽(풛)) 푞휽(풛) 푑풛 = ∫ (log 푝(풙, 풛) − log 푞휽(풛)) ∇휽 푞휽(풛) 푑풛 − ∫ (∇휽 log 푞휽(풛)) 푞휽(풛) 푑풛 (12) But the second term in this expression vanishes, ∫ (∇휽 log 푞휽(풛)) 푞휽(풛) 푑풛 = ∫ ∇휃푞휽(풛) �� � 푞휽(풛) �� � 푞휽(풛) 푑풛 = ∇휃 ∫ 푞휽(풛) 푑풛 ⏟⏞⏞⏞⏞⏟⏞⏞⏞⏞⏟ =1 = 0.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (13) In conclusion, we have that ∇휽피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] = ∫ (log 푝(풙, 풛) − log 푞휽(풛)) ∇휽 푞휽(풛)푑풛.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (14) Sometimes, as in example 4, we can rewrite ∇휽푞휽(풛) (the gradient of the variational posterior) such that we can directly use a Monte Carlo method to estimate the integral.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Later, we will cover two more general Monte Carlo-based approaches: reparameterization (Kingma and Welling, 2014) and black-box variational inference (Ranganath, Gerrish, and Blei, 2014).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Reparameterization The “reparameterization trick” was popularized in the work introducing the variational autoencoder (Kingma and Welling, 2014) but the general principle has a much longer history (Devroye, 1996).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The idea is to decouple the source of randomness from the parameters by cleverly reformulating the random variable 풛 ∼ 푞휽(풛) as a parameterized transformation 푧 = 푔휽(휖) of another random variable 휖 ∼ 푝(휖) that is easy to sample.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Effectively, this moves the randomness “outside” the model and makes it possible to move the gradient inside the expectation, as shown in the example below.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The reparameterization trick is valid if and only if 푔(휖, 휽) is a continuous function of 휽 for all 휖 (Schulman et al.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=', 2015).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Further, it works in the same way as in the example above also for expec- tations 피푞휽(풛) [푓(풛)] where 푓(풛) is a general nonlinear function of 풛, ∇휽피푞휽(풛) [푓(풛)] = ∇휽피푝(휖) [푓(푔휽(휖))] = 피푝(휖) [∇휽푓(푔휽(휖))] .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (15) By setting 푓(풛) = log 푝(풙, 풛) − log 푞휽(풛) we retrieve the ELBO as a special case.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 6 of 9 Example 4 Consider a univariate Normal variational posterior parameterized by the mean 휇 and standard deviation 휎, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 푞휽(푧) = 1 √ 2휋휎2 exp ( −(푧 − 휇)2 2휎2 ) , 휽 = {휇, 휎}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' After some algebraic manipulations, the partial derivatives can be written as: 휕푞휽 휕휇 = 푧 − 휇 휎2 ⋅ 푞휽(푧), 휕푞휽 휕휎 = 1 휎 ((푧 − 휇)2 휎2 − 1 ) ⋅ 푞휽(푧).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Note that 푞휽(푧) appears in both of these expressions.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' By inserting the above in equation 14, we thus arrive at an expectation that we can replace with a Monte Carlo estimate: ∇휽피푞휽(푧) [log 푝(풙, 푧) − log 푞휽(푧)] = ∫ (log 푝(풙, 푧) − log 푞휽(푧)) ( 푧−휇 휎2 , 1 휎 ( (푧−휇)2 휎2 − 1 ))⊤ 푞휽(푧)푑푧 ≈ 1 퐿 퐿 ∑ 푖=1 (log 푝(풙, 푧(푖)) − log 푞휽(푧(푖))) ( 푧(푖)−휇 휎2 , 1 휎 ( (푧(푖)−휇)2 휎2 − 1 ))⊤ , where 푧(푖) ∼ 푞휽(푧).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Example 5 Suppose the variational posterior is a univariate Normal distribution parameterized by the mean 휇 and standard deviation 휎, i.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 푞휽(푧) = \ue23a (푧;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 휽) where 휽 = {휇, 휎}.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This can be reparame- terized as 푧 = 푔휽(휖) = 휇 + 휎 ⋅ 휖 where 휖 ∼ \ue23a (0, 1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Let’s consider the effect this has on the expectation 피푞휽(푧) [log 푧].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (i) Original expression: 피푞휽(푧) [log 푧] = 1 √ 2휋휎2 ∫ log 푧 exp ( −(푧 − 휇)2 2휎2 ) 푑푧, ∇휽피푞휽(푧) [log 푧] = ∫ log 푧 ∇휽푞휽(푧)푑푧 = 피푞휽(푧) [ log 푧 ⋅ (( 푧−휇 휎2 ) , 1 휎 ( (푧−휇)2 휎2 − 1 ))⊤] where we used the expression for ∇휽푞휽(푧) from example 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (ii) Reparameterized expression: 피푞휽(푧) [log 푧] ||||푧=휇+휎휖 = 1 √ 2휋휎2 ∫ log(휇 + 휎휖) exp ( −(휇 + 휎휖 − 휇)2 2휎2 ) 휎 푑휖 = 1 √ 2휋 ∫ log(휇 + 휎휖) exp ( −휖2 2 ) 푑휖 = 피푝(휖) [log(휇 + 휎휖)] , ∇휽피푝(휖) [log(휇 + 휎휖)] = 피푝(휖) [∇휽 log(휇 + 휎휖)] = 피푝(휖) [( 1 휇+휎휖 , 휖 휇+휎휖 )⊤] .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 7 of 9 Amortized variational inference Many probabilistic models have local latent variables 풛푖 associated with each data point 풙푖.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The simplest case is when the joint distribution factorizes as 푝(풙, 풛) = 푁 ∏ 푖=1 푝(풙푖 ∣ 풛푖)푝(풛푖).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (16) Suppose we use a variational posterior that factorizes accordingly, 푞휽(풛) = 푁 ∏ 푖=1 푞휽푖(풛푖), (17) then the ELBO maximization in equation 10 decomposes into a sum of local ELBOs 휽∗ = arg min 휽 − 푁 ∑ 푖=1 피푞휽푖 (풛푖) [log 푝(풙푖 ∣ 풛푖) + log 푝(풛푖) − log 푞휽푖(풛푖)] .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (18) Since the optimization variables are 휽 = {휽1, … , 휽푁}, large datasets amount to large optimization problems, which are computationally demanding to solve.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This led to the idea of amortized vari- ational inference (Rezende, Mohamed, and Wierstra, 2014), wherein a machine learning model (often a neural network) is trained to directly predict the solution 휽∗ of this optimization problem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Specifically, let Λ휙 denote a neural network parameterized by 휙 that maps individual datapoints 풙푖 to corresponding parameters 휽푖 of the local variational posterior 푞휽푖(풛푖).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This model is trained us- ing the expression in equation 18 as the loss function but replacing 휽푖 = Λ휙(풙푖).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Note that even though the objective function is the same, this is a form of amortized optimization (Amos, 2022) since we are now using 휙 as the optimization variables instead of 휽.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Furthermore, the loss function is a sum over datapoints, which means that the standard machinery for training neural networks (stochastic gradient descent etc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=') can be applied.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In the context of variational autoencoders, the model Λ휙 is referred to as the encoder, which is accompanied by a, jointly trained, decoder corre- sponding to the probability distribution 푝(풙 ∣ 풛) (Kingma and Welling, 2019).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Black-box variational inference The reparameterization trick lets you compute the exact gradient by automatic differentiation, which is undoubtedly convenient.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' On the other hand, there are many models in which reparam- eterization is impossible.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In these cases, one can instead estimate the gradient using black-box variational inference (BBVI) (Ranganath, Gerrish, and Blei, 2014), which is more general yet still convenient.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' However, the BBVI estimator suffers from high variance.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' BBVI relies on the observation that ∇휽 log 푞휽(풛) = ∇휽푞휽(풛) 푞휽(풛) , (19) which is sometimes referred to as the REINFORCE trick (Williams, 1992).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This can be used to rewrite equation 14 as ∇휽피푞휽(풛) [log 푝(풙, 풛) − log 푞휽(풛)] = ∫ (log 푝(풙, 풛) − log 푞휽(풛)) 푞휽(풛)∇휽 log 푞휽(풛) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ =∇휽푞휽(풛) 푑풛 = 피푞휽(풛) [(log 푝(풙, 풛) − log 푞휽(풛)) ∇휽 log 푞휽(풛)] ≈ 1 퐿 퐿 ∑ 푖=1 (log 푝(풙, 풛(푖)) − log 푞휽(풛(푖))) ∇휽 log 푞휽(풛(푖)).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (20) Since we can often use automatic differentiation to evaluate the score function ∇휽 log 푞휽(풛), it ap- pears that this reformulation resolves the problem of estimating the gradient of the ELBO from samples.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' The catch is, however, that this estimator often has a too high variance to be useful in practice.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Arguably, the key contribution of BBVI was to adapt two variance reduction techniques— Rao-Blackwellization and control variates—to the estimator in equation 20.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Going into detail on these variance reduction techniques would, however, take us beyond the scope of a tutorial on the basics of variational inference.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' We refer the interested reader to the original work by Ranganath, Gerrish, and Blei (2014).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 8 of 9 Acknowledgments This work was partially supported by the Wallenberg AI, Autonomous Systems and Software Pro- gram (WASP) funded by the Knut and Alice Wallenberg Foundation.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' This preprint was created using the LaPreprint template (https://github.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='com/roaldarbol/lapreprint) by Mikkel Roald-Arbøl.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' References Amos, Brandon (2022).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Tutorial on amortized optimization for learning to optimize over continu- ous domains”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: arXiv preprint 2202.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='00665.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Blei, David M, Alp Kucukelbir, and Jon D McAuliffe (2017).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Variational inference: A review for statis- ticians”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Journal of the American statistical Association 112.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='518, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 859–877.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Devroye, Luc (1996).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Random variate generation in one line of code”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Proceedings Winter Simu- lation Conference.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' IEEE, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 265–272.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Kingma, Diederik P and Max Welling (2014).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Auto-Encoding Variational Bayes”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: 2nd International Conference on Learning Representations.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' — (2019).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “An introduction to variational autoencoders”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Foundations and Trends® in Machine Learning 12.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='4, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 307–392.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Ranganath, Rajesh, Sean Gerrish, and David M Blei (2014).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Black box variational inference”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Artificial intelligence and statistics.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' PMLR, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 814–822.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Rezende, Danilo Jimenez, Shakir Mohamed, and Daan Wierstra (2014).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Stochastic backpropagation and approximate inference in deep generative models”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: International conference on machine learning.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' PMLR, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 1278–1286.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Schulman, John et al.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' (2015).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Gradient estimation using stochastic computation graphs”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Ad- vances in Neural Information Processing Systems 28.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Wainwright, Martin J and Michael I Jordan (2008).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Graphical models, exponential families, and vari- ational inference”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Foundations and Trends in Machine Learning 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='1–2, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 1–305.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Williams, Ronald J (1992).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' “Simple statistical gradient-following algorithms for connectionist rein- forcement learning”.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' In: Machine learning 8.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content='3, pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' 229–256.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}page_content=' Sjölund | A Tutorial on Parametric Variational Inference arXiv | 9 of 9' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/99AzT4oBgHgl3EQfSvs8/content/2301.01236v1.pdf'}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231arXiv:2301.02861v1 [math.NT] 7 Jan 2023IDENTITIES INVOLVING DEGENERATE HARMONIC AND DEGENERATEHYPERHARMONIC NUMBERSHYE KYUNG KIM1, DAE SAN KIM2, AND TAEKYUN KIM3,∗ABSTRACT. Harmonic numbers have been studied since antiquity, while hyperharmonic numberswere intoduced by Conway and Guy in 1996. The degenerate harmonic numbers and degeneratehyperharmonic numbers are their respective degenerate versions. The aim of this paper is to furtherinvestigate some properties, recurrence relations and identities involving the degenerate harmonicand degenerate hyperharmonic numbers in connection with degenerate Stirling numbers of the firstkind, degenerate Daehee numbers and degenerate derangements.1. INTRODUCTIONIn recent years, various degenerate versions of many special numbers and polynomials havebeem studied and yielded a lot of fascinating and fruitful results (see [5, 6, 7, 8, 9, 10, 11, 12] andthe references therein), which began with Carlitz’s work on the degenerate Bernoulli and degen-erate Euler numbers (see [2]). It is worthwhile to mention that these explorations for degenerateversions are not limited to polynomials and numbers but also extended to transcendental functions,like gamma functions (see [9, 10]). It is also remarkable that the λ-umbral calculus and λ-q-umbralcalculus were introduced as degenerate versions of the umbral calculus and the q-umbral calculus,respectively (see [6, 11]). As it turns out, the λ-umbral calculus and λ-q-umbral calculus are moreconvenient than the umbral calculus and the q-umbral calculus when dealing with degenerate Shef-fer polynomials and degenerate q-Sheffer polynomials.The aim of this paper is to further investigate some properties, recurrence relations and identitiesinvolving the degenerate harmonic numbers (see (6)) and the degenerate hyperharmonic numbers(see (7), (8)) in connection with degenerate Stirling numbers of the first kind, degenerate Daeheenumbers and degenerate derangements. The degenerate harmonic numbers and degenerate hyper-harmonic numbers are respectively degenerate versions of the harmonic numbers and the hyperhar-monic numbers, of which the latter are introduced in [4].The outline of this paper is as follows. In Section 1, we recall the degenerate exponentials andthe degenerate logarithms. We remind the reader of the harmonic numbers, and of the hyperhar-monic numbers together with their explicit expression due to Conway and Guy (see [4]). Thenwe recall their degenerate versions, namely the degenerate harmonic numbers, and the degeneratehyperharmonic numbers together with their explicit expression (see [7, 8]). We also mention therecently introduced degenerate Stirling numbers of the first kind and the degenerate Daehee num-bers of order r. Section 2 is the main result of this paper. We obtain an expression of the degeneratehyperharmonic numbers of order r in terms of the same numbers of lower orders in Theorem 1. Weexpress the Daehee numbers in terms of the degenerate harmonic numbers and of the degeneratehyperharmonic numbers, respectively in Theorem 2 and Theorem 3. In Theorem 4, the degenerateharmonic numbers are represented in terms of the degenerate hyperharmonic numbers of order r.2010 Mathematics Subject Classification. 05A19; 11B73; 11B83.Key words and phrases. degenerate harmonic number; degenerate hyperharmonic number; degenerate Daehee num-ber; degenerate logarithm; degenerate Stirling number of the first kind; degenerate derangement.* is corresponding author.1
2Identities involving degenerate harmonic and degenerate hyperharmonic numbersIn Theorem 5, the degenerate Daehee numbers are represented in terms of the degenerate Daeheenumbers of order r −1 and of the degenerate hyperharmonic numbers. We derive a simple relationbetween the degenerate hyperharmonic numbers and the degenerate Daehee numbers in Theorem6. We deduce an identity involving the degenerate hyperharmonic numbers and the degenerate de-rangements in Theorem 7. The degenerate Daehee numbers are expressed in terms of the degenerateStirling numbers of the first kind in Theorem 8. Finally, we get an identity involving the degenerateStirling numbers of the first kind and the degenerate harmonic numbers in Theorem 9.For any nonzero λ ∈ R, the degenerate exponential functions are defined byexλ(t) = (1+λt)xλ =∞∑n=0(x)n,λtnn!,eλ(t) = e1λ(t),(see [2, 8]),(1)where(x)0,λ = 1, (x)n,λ = x(x−λ)···(x−(n−1)λ), (n ≥ 1),(see [8]).Let logλ t be the compositional inverse of eλ(t) with eλ(logλ t) = logλ eλ(t) = t. It is called thedegenerate logarithm and is given bylogλ(1+t) =∞∑k=1λ k−1(1)k, 1λk!tk = 1λ ((1+t)λ −1),(see [5]).(2)The harmonic numbers are given byH0 = 0, Hn = 1+ 12 +···+ 1n,(n ∈ N),(see [3, 4, 16]).(3)In 1996, Conway and Guy introduced the hyperharmonic numbers H(r)nof order r, (n,r ≥ 0), whichare given byH(r)0= 0, (r ≥ 0), H(0)n= 1n, (n ≥ 1), H(r)n=n∑k=1H(r−1)k, (n,r ≥ 1),(see [4]).(4)Thus, by (4), we getH(r)n=�n+r −1n�(Hn+r−1 −Hr−1),(r ≥ 1),(see [4]).(5)Recently, the degenerate harmonic numbers are defined byH0,λ = 0, Hn,λ =n∑k=11λ�λk�(−1)k−1,(n ≥ 1),(see [8]).(6)Note that limλ→0 Hn,λ = Hn. The degenerate hyperharmonic numbers H(r)n,λ of order r, (n,r ≥ 0),are defined byH(r)0,λ = 0, (r ≥ 0), H(0)n,λ = 1λ�λn�(−1)n−1, (n ≥ 1), H(r)n,λ =n∑k=1H(r−1)k,λ, (n,r ≥ 1),(see [7]).(7)We see from (6) and (7) that H(1)n,λ = Hn,λ. From (7), we note thatH(r)n,λ = (−1)r−1�λ−1r−1��n+r −1n�(Hn+r−1,λ −Hr−1,λ),(see [7]),(8)where n, r are positive numbers. Here we observe from (5) and (8) that limλ→0 H(r)n,λ = H(r)n .
H. K. Kim, D. S. Kim, and T. Kim3In [5], the degenerate Stirling numbers of the first kind are defined by(x)n =n∑k=0S1,λ(n,k)(x)k,λ ,(n ≥ 0),(see [5, 8]),(9)where (x)0 = 1, (x)n = x(x−1)···(x−n+1), (n ≥ 1).For r ∈ N, the degenerate Daehee numbers of order r are defined by�logλ(1+t)t�r=∞∑n=0D(r)n,λtnn!,(see [11]).(10)In particular, for r = 1, Dn,λ = D(1)n,λ are called the degenerate Daehee numbers2. IDENTITIES INVOLVING DEGENERATE HARMONIC AND DEGENERATE HYPERHARMONICNUMBERSFrom (6) and (7), we note that−logλ(1−t)(1−t)=∞∑n=1Hn,λtn,(see [7]),(11)and−logλ(1−t)(1−t)r=∞∑n=1H(r)n,λtn,(see [7]),(12)where r is a nonnegative integer.By (12), we get∞∑n=1H(r−1)n,λtn = −logλ(1−t)(1−t)r(1−t) =∞∑n=1H(r)n,λtn(1−t)=∞∑n=1H(r)n,λtn −∞∑n=1H(r)n,λtn+1 =∞∑n=1(H(r)n,λ −H(r)n−1,λ)tn.(13)By comparing the coefficients on both sides of (13), we get(14)H(r)n,λ = H(r)n−1,λ +H(r−1)n,λ.For 1 ≤ s ≤ r, by (12), we get∞∑n=1H(r)n,λtn = −logλ(1−t)(1−t)r= −logλ(1−t)(1−t)r−s1(1−t)s=∞∑l=1H(r−s)l,λtl∞∑k=0�k +s−1k�tk=∞∑n=1n∑l=1H(r−s)l,λ�n−l +s−1s−1�tn.(15)By comparing the coefficients on both sides of (15), we getH(r)n,λ =n∑l=1H(r−s)l,λ�n−l +s−1s−1�,(16)where r, s ∈ Z with 1 ≤ s ≤ r. In particular, for r = s, we haveH(r)n,λ =n∑l=1H(0)l,λ�n−l +r −1r −1�=n∑l=11λ�λl�(−1)l−1�n−l +r −1r −1�.(17)Therefore, by (16) and (17), we obtain the following theorem.
4Identities involving degenerate harmonic and degenerate hyperharmonic numbersTheorem 1. For r, s ∈ Z with 1 ≤ s ≤ r, we haveH(r)n,λ =n∑l=1H(r−s)l,λ�n−l +s−1s−1�,andH(r)n,λ =n∑l=11λ�λl�(−1)l−1�n−l +r −1r −1�.From (11) and (14), we note that∞∑n=0Dn,λtnn! = logλ(1+t)t= logλ(1+t)1+t1+tt=� ∞∑k=1(−1)k+1Hk,λtk��1+ 1t�=∞∑n=1(−1)n+1Hn,λtn +∞∑n=0(−1)nHn+1,λtn= 1+∞∑n=1(−1)n(Hn+1,λ −Hn,λ)tn.(18)Therefore, by comparing the coefficients on both sides of (18), we have the following theorem.Theorem 2. For n ≥ 0, we haveD0,λ = 1, Dn,λ = (−1)nn!(Hn+1,λ −Hn,λ), (n ≥ 1).From (12), we note that∞∑n=0Dn,λtnn! = logλ(1+t)t= logλ(1+t)t(1+t)r (1+t)r=∞∑k=0H(r)k+1,λ(−1)ktk∞∑l=0�rl�tl=∞∑n=0� n∑k=0H(r)k+1,λ� rn−k�(−1)k�tn.(19)Therefore, by (19), we obtain the following theoremTheorem 3. For n ≥ 0, we haveDn,λ = n!n∑k=0H(r)k+1,λ� rn−k�(−1)k.Now, we observe from (2) that(20)∞∑n=0Dn,λtnn! = logλ(1+t)t=∞∑n=1�λn� 1λ tn−1 =∞∑n=0� λn+1� 1λ tn.Thus, by (20), we getDn,λ = n! 1λ� λn+1�= (λ −1)nn+1 ,(n ≥ 0).(21)
H. K. Kim, D. S. Kim, and T. Kim5From (11), we have∞∑n=1Hn,λtn = −logλ(1−t)1−t= −logλ(1−t)tt1−t=∞∑l=0Dl,λ(−1)l tll!∞∑m=1tm=∞∑n=1� n−1∑l=0Dl,λ(−1)ll!�tn.(22)Thus, by Theorem 3 and (22), we getHn,λ =n−1∑l=0Dl,λ(−1)ll!=n−1∑l=0(−1)ll!l!l∑k=0H(r)k+1,λ� rl −k�(−1)k=n−1∑l=0l∑k=0(−1)k+lH(r)k+1,λ� rl −k�,(n ≥ 1).(23)Therefore, by (23), we obtain the following theorem.Theorem 4. For n ≥ 1, we haveHn,λ =n−1∑l=0l∑k=0(−1)k+l� rl −k�H(r)k+1,λ.By (10), we get∞∑n=0D(r)n,λtnn! =�logλ(1+t)t�r= logλ(1+t)t(1+t)k�logλ(1+t)t�r−1(1+t)k=∞∑i=1(−1)i+1H(k)i,λ ti−1∞∑j=0D(r−1)j,λt jj!∞∑l=0�kl�tl=∞∑i=0(−1)iH(k)i+1,λti∞∑m=0� m∑j=0�mj�D(r−1)j,λ(k)m− j� tmm!=∞∑n=0� n∑i=0n−i∑j=0(−1)i�n−ij�(k)n−i− j(n−i)! D(r−1)j,λH(k)i+1,λ�tn.(24)Therefore, by comparing the coefficients on both sides of (24), we obtain the following theorem.Theorem 5. For n,k ≥ 0 and r ≥ 1, we haveD(r)n,λ = n!n∑i=0n−i∑j=0(−1)i�n−ij�(k)n−i− j(n−i)! D(r−1)j,λH(k)i+1,λ.By (11), we get∞∑n=1Hn,λtn = −logλ(1−t)1−t= logλ(1−t)−tt1−t=∞∑l=0(−1)lDl,λtll!∞∑j=1t j=∞∑n=1� n−1∑l=0(−1)l Dl,λl!�tn.(25)
6Identities involving degenerate harmonic and degenerate hyperharmonic numbersThus, by comparing the coefficients on both sides of (25), we getHn,λ =n−1∑l=0(−1)l Dl,λl! ,(n ≥ 1).(26)From (12), we can derive the following.∞∑n=1H(r)n,λtn = −logλ(1−t)tt(1−t)r=∞∑l=0Dl,λ(−1)l tll!∞∑m=1�r +m−2m−1�tm=∞∑n=1�n∑m=1�r +m−2r −1� Dn−m,λ(n−m)!(−1)n−m�tn.(27)Therefore, by (26) and (27), we obtain the following theorem.Theorem 6. For n ∈ N, we haveHn,λ =n−1∑l=0(−1)l Dl,λl! ,(n ≥ 1),andH(r)n,λ =n∑m=1�r +m−2r −1� Dn−m,λ(n−m)!(−1)n−m.The degenerate derangements are defined by11−t eλ(−t) =∞∑n=0dn,λtnn!.(28)Thus, we note thatdn,λ = n!n∑k=0(1)k,λ(−1)kk!,(n ≥ 0).Now, we observe that−logλ(1−t)(1−t)reλ(−t) =∞∑l=1H(r)l,λtl∞∑k=0(1)k,λk!(−1)ktk=∞∑n=1� n∑l=1H(r)l,λ(1)n−l,λ(n−l)! (−1)n−l�tn.(29)On the other hand, by (28), we get−logλ(1−t)(1−t)reλ(−t) = −logλ(1−t)(1−t)r−111−t eλ(−t)=∞∑l=1H(r−1)l,λtl∞∑k=0dk,λtkk! =∞∑n=1� n∑l=1H(r−1)l,λdn−l,λ(n−l)!�tn.(30)Therefore, by (29) and (30), we obtain the following theorem.Theorem 7. For n ∈ N, we haven∑l=1H(r)l,λ(1)n−l,λ(n−l)! (−1)n−l =n∑l=1H(r−1)l,λdn−l,λ(n−l)!.
H. K. Kim, D. S. Kim, and T. Kim7We let Y = logλ(1+t). Then, for N ≥ 1, we have� ddt�NY = (λ −1)(λ −2)···(λ −N +1)(1+t)λ−N= N!λ�λN�eλ−Nλ(logλ(1+t))= N!λ�λN� ∞∑k=0(λ −N)k,λ1k!(logλ(1+t))k= N!λ�λN� ∞∑k=0(λ −N)k,λ∞∑n=kS1,λ(n,k)tnn!=∞∑n=0�N!λ�λN� n∑k=0S1,λ(n,k)(λ −N)k,λ�tnn!,(31)where N is a positive integer.On the other hand, by (10), we getY = logλ(1+t) = logλ(1+t)tt =∞∑n=1nDn−1,λtnn!.(32)Thus, by (32), we get� ddt�NY =∞∑n=NnDn−1,λn(n−1)···(n−N +1)tn−Nn!=∞∑n=0(n+N)Dn+N−1,λtnn!.(33)Therefore, by (31) and (33), we obtain the following theorem.Theorem 8. For N ∈ N and n ≥ N −1, we haveDn,λ =N!n+11λ�λN� n−N+1∑k=0S1,λ(n−N +1,k)(λ −N)k,λ.Next, we let F = −logλ(1−t). Then, for N ≥ 1, we have� ddt�NF = (−1)N+1(λ −1)(λ −2)···(λ −N +1)(1−t)λ−N= (−1)N+1 N!λ�λN�eλ−Nλ(logλ(1−t))= (−1)N+1N! 1λ�λN� ∞∑k=0(λ −N)k,λ1k!(logλ(1−t))k= (−1)N+1N! 1λ�λN� ∞∑k=0(λ −N)k,λ∞∑n=kS1,λ(n,k)(−1)n tnn!=∞∑n=0�N! 1λ�λN� n∑k=0(−1)n−N−1(λ −N)k,λS1,λ(n,k)�tnn!.(34)On the other hand, by (11), we get(35)F = −logλ(1−t) = −logλ(1−t)1−t(1−t) =∞∑n=1(Hn,λ −Hn−1,λ)tn.
8Identities involving degenerate harmonic and degenerate hyperharmonic numbersThus, by (35) and for N ≥ 1, we have� ddt�NF =∞∑n=Nn(n−1)···(n−N +1)(Hn,λ −Hn−1,λ)tn−N=∞∑n=0(n+N)(n+N −1)···(n+1)(Hn+N,λ −Hn+N−1,λ)tn=∞∑n=0N!�n+NN�(Hn+N,λ −Hn+N−1,λ)tn.(36)Therefore, by (34) and (36), we obtain the following theorem.Theorem 9. For N ∈ N and n ≥ 0, we have1n!1λ�λN� n∑k=0(−1)n−N−1(λ −N)k,λS1,λ(n,k) =�n+NN�(Hn+N,λ −Hn+N−1,λ).By Theorem 9 and (6), we get1n!n∑k=0(−1)n−N−1(λ −N)k,λS1,λ(n,k) =�n+NN�1λ�λN� (Hn+N,λ −Hn+N−1,λ)=�n+NN�1λ�λN� 1λ�λn+N�(−1)n+N−1 = (−1)n+N−1� λN+n��λN��n+NN�.(37)Therefore, by (37), we obtain the following corollary.Corollary 10. For n ≥ 0 and N ∈ N, we have1n!n∑k=0(λ −N)k,λS1,λ(n,k) =� λn+N��λN��n+NN�.Remark 11. From Corollary 10 and letting λ → 0, we obtain(−1)nNn+N�n+NN�= 1n!n∑k=0(−1)kNkS1(n,k).Remark 12. Recently, on the Daehee numbers and their related topics various studies have beenconducted by several researchers. Interested readers may refer to [1, 12, 13, 14, 15, 17, 18].3. CONCLUSIONMany different tools have been used in the explorations for degenerate versions of some specialnumbers and polynomials, which include generating functions, combinatorial methods, umbral cal-culus, p-adic analysis, differential equations, probability theory, operator theory, special functionsand analytic number theory (see [5, 6, 7, 8, 9, 10, 11, 12] and the references therein). In this paper,we used the elementary methods of generating functions in order to study the degenerate harmonicand degenerate hyperharmonic numbers. Some properties, recurrence relations and identities relat-ing to those numbers were derived in connection with the degenerate Stirling numbers of the firstkind, the degenerate Daehee numbers and the degenerate derangement.We would like to continue to investigate various degenerate versions of certain special numbersand polynomials, especially their applications to physics, science and engineering.
H. K. Kim, D. S. Kim, and T. Kim9AcknowledgmentsThe authors thank Jangjeon Institute for Mathematical Sciences for the support of this research.Availability of data and materialNot applicable.FundingThis work was supported by the Basic Science Research Program, the National Research Founda-tion of Korea, (NRF-2021R1F1A1050151).Ethics approval and consent to participateAll authors declare that there is no ethical problem in the production of this paper.Competing interestsAll authors declare no conflict of interest.Consent for publicationAll authors want to publish this paper in this journal.Author’ ContributionsAll authors read and approved the final manuscript.REFERENCES[1] S. Araci, U. Duran and M. Acikgoz, On weighted q-Daehee polynomials with their applications. Indag. Math. (N.S.)30 (2019), no. 2, 365-374.[2] L. Carlitz, Degenerate Stirling, Bernoulli and Eulerian numbers. Utilitas Math. 15 (1979), 51-88.[3] L. Comtet, Advanced combinatorics. The art of finite and infinite expansions. Revised and enlarged edition. D. ReidelPublishing Co., Dordrecht, 1974. xi+343 pp. ISBN: 90-277-0441-4.[4] J. H. Conway and R. K. Guy, The book of numbers. Copernicus, New York, 1996. x+310 pp. ISBN: 0-387-97993-X.[5] D. S. Kim and T. Kim, A note on a new type of degenerate Bernoulli numbers. Russ. J. Math. Phys. 27 (2020), no. 2,227-235.[6] D. S. Kim and T. Kim, Degenerate Sheffer sequence and λ-Sheffer sequence. J. Math. Anal. Appl. 493 (2021), no.1, 124521.[7] T. Kim and D. S. Kim, Some identities on degenerate hyperharmonic numbers. Georgian Math. J., 2022 (2022).https://doi.org/10.1515/gmj-2022-2203[8] T. Kim and D. S. Kim, On some degenerate differential and degenerate difference operators. Russ. J. Math. Phys. 29(2022), no. 1, 37-46.[9] T. Kim and D. S. Kim, Degenerate Laplace transform and degenerate gamma function. Russ. J. Math. Phys. 24(2017), no. 2, 241–248 .[10] T. Kim and D. S. Kim, Note on the degenerate gamma function Russ. J. Math. Phys. 27 (2020), no. 3, 352-358.[11] T. Kim, D. S. Kim and H. K. Kim, λ-q-Sheffer sequence and its applications. Demonstr. Math. 55 (2022), 843–865.[12] T. Kim, D. S. Kim, H. Lee and J. Kwon, Representations by degenerate Daehee polynomials. Open Math. 20 (2022),no. 1, 179-194.[13] J. Kwon, W. J. Kim and S.-H. Rim, On the some identities of the type 2 Daehee and Changhee polynomials arisingfrom p-adic integrals on Zp. Proc. Jangjeon Math. Soc. 22 (2019), no. 3, 487-497.[14] J. G. Lee, J. Kwon, G.-W. Jang and L.-C. Jang, Some identities of λ-Daehee polynomials. J. Nonlinear Sci. Appl.10 (2017), no. 8, 4137-4142.[15] J.-W. Park, B. M. Kim and J. Kwon, On a modified degenerate Daehee polynomials and numbers. J. Nonlinear Sci.Appl. 10 (2017), no. 3, 1108-1115.[16] S. Roman, The umbral calculus. Pure and Applied Mathematics, 111. Academic Press, Inc. [Harcourt Brace Jo-vanovich, Publishers], New York, 1984. x+193 pp. ISBN: 0-12-594380-6[17] S. K. Sharma, W. A. Khan, S. Araci and S. S. Ahmed, New type of degenerate Daehee polynomials of the secondkind. Adv. Difference Equ. 2020 (2020), Paper No. 428, 14 pp.[18] S. J. Yun and J.-W. Park, On fully degenerate Daehee numbers and polynomials of the second kind. J. Math. 2020(2020), Art. ID 7893498, 9 pp.
10Identities involving degenerate harmonic and degenerate hyperharmonic numbersDEPARTMENT OF MATHEMATICS EDUCATION, DAEGU CATHOLIC UNIVERSITY, GYEONGSAN 38430, REPUB-LIC OF KOREAEmail address: hkkim@cu.ac.krDEPARTMENT OF MATHEMATICS, SOGANG UNIVERSITY, SEOUL 121-742, REPUBLIC OF KOREAEmail address: dskim@sogang.ac.krDEPARTMENT OF MATHEMATICS, KWANGWOON UNIVERSITY, SEOUL 139-701, REPUBLIC OF KOREAEmail address: tkkim@kw.ac.kr
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381filepath=/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf,len=380page_content='arXiv:2301.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='02861v1 [math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='NT] 7 Jan 2023 IDENTITIES INVOLVING DEGENERATE HARMONIC AND DEGENERATE HYPERHARMONIC NUMBERS HYE KYUNG KIM1, DAE SAN KIM2, AND TAEKYUN KIM3,∗ ABSTRACT.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Harmonic numbers have been studied since antiquity, while hyperharmonic numbers were intoduced by Conway and Guy in 1996.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The degenerate harmonic numbers and degenerate hyperharmonic numbers are their respective degenerate versions.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The aim of this paper is to further investigate some properties, recurrence relations and identities involving the degenerate harmonic and degenerate hyperharmonic numbers in connection with degenerate Stirling numbers of the first kind, degenerate Daehee numbers and degenerate derangements.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' INTRODUCTION In recent years, various degenerate versions of many special numbers and polynomials have beem studied and yielded a lot of fascinating and fruitful results (see [5, 6, 7, 8, 9, 10, 11, 12] and the references therein), which began with Carlitz’s work on the degenerate Bernoulli and degen- erate Euler numbers (see [2]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' It is worthwhile to mention that these explorations for degenerate versions are not limited to polynomials and numbers but also extended to transcendental functions, like gamma functions (see [9, 10]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' It is also remarkable that the λ-umbral calculus and λ-q-umbral calculus were introduced as degenerate versions of the umbral calculus and the q-umbral calculus, respectively (see [6, 11]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' As it turns out, the λ-umbral calculus and λ-q-umbral calculus are more convenient than the umbral calculus and the q-umbral calculus when dealing with degenerate Shef- fer polynomials and degenerate q-Sheffer polynomials.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The aim of this paper is to further investigate some properties, recurrence relations and identities involving the degenerate harmonic numbers (see (6)) and the degenerate hyperharmonic numbers (see (7), (8)) in connection with degenerate Stirling numbers of the first kind, degenerate Daehee numbers and degenerate derangements.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The degenerate harmonic numbers and degenerate hyper- harmonic numbers are respectively degenerate versions of the harmonic numbers and the hyperhar- monic numbers, of which the latter are introduced in [4].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The outline of this paper is as follows.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' In Section 1, we recall the degenerate exponentials and the degenerate logarithms.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We remind the reader of the harmonic numbers, and of the hyperhar- monic numbers together with their explicit expression due to Conway and Guy (see [4]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Then we recall their degenerate versions, namely the degenerate harmonic numbers, and the degenerate hyperharmonic numbers together with their explicit expression (see [7, 8]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We also mention the recently introduced degenerate Stirling numbers of the first kind and the degenerate Daehee num- bers of order r.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Section 2 is the main result of this paper.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We obtain an expression of the degenerate hyperharmonic numbers of order r in terms of the same numbers of lower orders in Theorem 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We express the Daehee numbers in terms of the degenerate harmonic numbers and of the degenerate hyperharmonic numbers, respectively in Theorem 2 and Theorem 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' In Theorem 4, the degenerate harmonic numbers are represented in terms of the degenerate hyperharmonic numbers of order r.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 2010 Mathematics Subject Classification.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 05A19;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 11B73;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 11B83.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Key words and phrases.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' degenerate harmonic number;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' degenerate hyperharmonic number;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' degenerate Daehee num- ber;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' degenerate logarithm;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' degenerate Stirling number of the first kind;' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' degenerate derangement.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' is corresponding author.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1 2 Identities involving degenerate harmonic and degenerate hyperharmonic numbers In Theorem 5, the degenerate Daehee numbers are represented in terms of the degenerate Daehee numbers of order r −1 and of the degenerate hyperharmonic numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We derive a simple relation between the degenerate hyperharmonic numbers and the degenerate Daehee numbers in Theorem 6.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We deduce an identity involving the degenerate hyperharmonic numbers and the degenerate de- rangements in Theorem 7.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The degenerate Daehee numbers are expressed in terms of the degenerate Stirling numbers of the first kind in Theorem 8.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Finally, we get an identity involving the degenerate Stirling numbers of the first kind and the degenerate harmonic numbers in Theorem 9.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For any nonzero λ ∈ R, the degenerate exponential functions are defined by ex λ(t) = (1+λt) x λ = ∞ ∑ n=0 (x)n,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=', eλ(t) = e1 λ(t), (see [2, 8]), (1) where (x)0,λ = 1, (x)n,λ = x(x−λ)···(x−(n−1)λ), (n ≥ 1), (see [8]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Let logλ t be the compositional inverse of eλ(t) with eλ(logλ t) = logλ eλ(t) = t.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' It is called the degenerate logarithm and is given by logλ(1+t) = ∞ ∑ k=1 λ k−1(1)k, 1 λ k!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' tk = 1 λ ((1+t)λ −1), (see [5]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (2) The harmonic numbers are given by H0 = 0, Hn = 1+ 1 2 +···+ 1 n, (n ∈ N), (see [3, 4, 16]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (3) In 1996, Conway and Guy introduced the hyperharmonic numbers H(r) n of order r, (n,r ≥ 0), which are given by H(r) 0 = 0, (r ≥ 0), H(0) n = 1 n, (n ≥ 1), H(r) n = n ∑ k=1 H(r−1) k , (n,r ≥ 1), (see [4]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (4) Thus, by (4), we get H(r) n = �n+r −1 n � (Hn+r−1 −Hr−1), (r ≥ 1), (see [4]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (5) Recently, the degenerate harmonic numbers are defined by H0,λ = 0, Hn,λ = n ∑ k=1 1 λ �λ k � (−1)k−1, (n ≥ 1), (see [8]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (6) Note that limλ→0 Hn,λ = Hn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The degenerate hyperharmonic numbers H(r) n,λ of order r, (n,r ≥ 0), are defined by H(r) 0,λ = 0, (r ≥ 0), H(0) n,λ = 1 λ �λ n � (−1)n−1, (n ≥ 1), H(r) n,λ = n ∑ k=1 H(r−1) k,λ , (n,r ≥ 1), (see [7]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (7) We see from (6) and (7) that H(1) n,λ = Hn,λ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' From (7), we note that H(r) n,λ = (−1)r−1 �λ−1 r−1 � �n+r −1 n � (Hn+r−1,λ −Hr−1,λ), (see [7]), (8) where n, r are positive numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Here we observe from (5) and (8) that limλ→0 H(r) n,λ = H(r) n .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, and T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim 3 In [5], the degenerate Stirling numbers of the first kind are defined by (x)n = n ∑ k=0 S1,λ(n,k)(x)k,λ , (n ≥ 0), (see [5, 8]), (9) where (x)0 = 1, (x)n = x(x−1)···(x−n+1), (n ≥ 1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For r ∈ N, the degenerate Daehee numbers of order r are defined by �logλ(1+t) t �r = ∞ ∑ n=0 D(r) n,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=', (see [11]).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (10) In particular, for r = 1, Dn,λ = D(1) n,λ are called the degenerate Daehee numbers 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' IDENTITIES INVOLVING DEGENERATE HARMONIC AND DEGENERATE HYPERHARMONIC NUMBERS From (6) and (7), we note that −logλ(1−t) (1−t) = ∞ ∑ n=1 Hn,λtn, (see [7]), (11) and −logλ(1−t) (1−t)r = ∞ ∑ n=1 H(r) n,λtn, (see [7]), (12) where r is a nonnegative integer.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' By (12), we get ∞ ∑ n=1 H(r−1) n,λ tn = −logλ(1−t) (1−t)r (1−t) = ∞ ∑ n=1 H(r) n,λtn(1−t) = ∞ ∑ n=1 H(r) n,λtn − ∞ ∑ n=1 H(r) n,λtn+1 = ∞ ∑ n=1 (H(r) n,λ −H(r) n−1,λ)tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (13) By comparing the coefficients on both sides of (13), we get (14) H(r) n,λ = H(r) n−1,λ +H(r−1) n,λ .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For 1 ≤ s ≤ r, by (12), we get ∞ ∑ n=1 H(r) n,λtn = −logλ(1−t) (1−t)r = −logλ(1−t) (1−t)r−s 1 (1−t)s = ∞ ∑ l=1 H(r−s) l,λ tl ∞ ∑ k=0 �k +s−1 k � tk = ∞ ∑ n=1 n ∑ l=1 H(r−s) l,λ �n−l +s−1 s−1 � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (15) By comparing the coefficients on both sides of (15), we get H(r) n,λ = n ∑ l=1 H(r−s) l,λ �n−l +s−1 s−1 � , (16) where r, s ∈ Z with 1 ≤ s ≤ r.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' In particular, for r = s, we have H(r) n,λ = n ∑ l=1 H(0) l,λ �n−l +r −1 r −1 � = n ∑ l=1 1 λ �λ l � (−1)l−1 �n−l +r −1 r −1 � .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (17) Therefore, by (16) and (17), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 4 Identities involving degenerate harmonic and degenerate hyperharmonic numbers Theorem 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For r, s ∈ Z with 1 ≤ s ≤ r, we have H(r) n,λ = n ∑ l=1 H(r−s) l,λ �n−l +s−1 s−1 � , and H(r) n,λ = n ∑ l=1 1 λ �λ l � (−1)l−1 �n−l +r −1 r −1 � .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' From (11) and (14), we note that ∞ ∑ n=0 Dn,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = logλ(1+t) t = logλ(1+t) 1+t 1+t t = � ∞ ∑ k=1 (−1)k+1Hk,λtk �� 1+ 1 t � = ∞ ∑ n=1 (−1)n+1Hn,λtn + ∞ ∑ n=0 (−1)nHn+1,λtn = 1+ ∞ ∑ n=1 (−1)n(Hn+1,λ −Hn,λ)tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (18) Therefore, by comparing the coefficients on both sides of (18), we have the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 2.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n ≥ 0, we have D0,λ = 1, Dn,λ = (−1)nn!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (Hn+1,λ −Hn,λ), (n ≥ 1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' From (12), we note that ∞ ∑ n=0 Dn,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = logλ(1+t) t = logλ(1+t) t(1+t)r (1+t)r = ∞ ∑ k=0 H(r) k+1,λ(−1)ktk ∞ ∑ l=0 �r l � tl = ∞ ∑ n=0 � n ∑ k=0 H(r) k+1,λ � r n−k � (−1)k � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (19) Therefore, by (19), we obtain the following theorem Theorem 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n ≥ 0, we have Dn,λ = n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n ∑ k=0 H(r) k+1,λ � r n−k � (−1)k.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Now, we observe from (2) that (20) ∞ ∑ n=0 Dn,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = logλ(1+t) t = ∞ ∑ n=1 �λ n � 1 λ tn−1 = ∞ ∑ n=0 � λ n+1 � 1 λ tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Thus, by (20), we get Dn,λ = n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1 λ � λ n+1 � = (λ −1)n n+1 , (n ≥ 0).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (21) H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, and T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim 5 From (11), we have ∞ ∑ n=1 Hn,λtn = −logλ(1−t) 1−t = −logλ(1−t) t t 1−t = ∞ ∑ l=0 Dl,λ(−1)l tl l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ∞ ∑ m=1 tm = ∞ ∑ n=1 � n−1 ∑ l=0 Dl,λ (−1)l l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (22) Thus, by Theorem 3 and (22), we get Hn,λ = n−1 ∑ l=0 Dl,λ (−1)l l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = n−1 ∑ l=0 (−1)l l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' l ∑ k=0 H(r) k+1,λ � r l −k � (−1)k = n−1 ∑ l=0 l ∑ k=0 (−1)k+lH(r) k+1,λ � r l −k � , (n ≥ 1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (23) Therefore, by (23), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n ≥ 1, we have Hn,λ = n−1 ∑ l=0 l ∑ k=0 (−1)k+l � r l −k � H(r) k+1,λ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' By (10), we get ∞ ∑ n=0 D(r) n,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = �logλ(1+t) t �r = logλ(1+t) t(1+t)k �logλ(1+t) t �r−1 (1+t)k = ∞ ∑ i=1 (−1)i+1H(k) i,λ ti−1 ∞ ∑ j=0 D(r−1) j,λ t j j!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ∞ ∑ l=0 �k l � tl = ∞ ∑ i=0 (−1)iH(k) i+1,λti ∞ ∑ m=0 � m ∑ j=0 �m j � D(r−1) j,λ (k)m− j � tm m!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = ∞ ∑ n=0 � n ∑ i=0 n−i ∑ j=0 (−1)i �n−i j �(k)n−i− j (n−i)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' D(r−1) j,λ H(k) i+1,λ � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (24) Therefore, by comparing the coefficients on both sides of (24), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 5.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n,k ≥ 0 and r ≥ 1, we have D(r) n,λ = n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n ∑ i=0 n−i ∑ j=0 (−1)i �n−i j �(k)n−i− j (n−i)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' D(r−1) j,λ H(k) i+1,λ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' By (11), we get ∞ ∑ n=1 Hn,λtn = −logλ(1−t) 1−t = logλ(1−t) −t t 1−t = ∞ ∑ l=0 (−1)lDl,λ tl l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ∞ ∑ j=1 t j = ∞ ∑ n=1 � n−1 ∑ l=0 (−1)l Dl,λ l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (25) 6 Identities involving degenerate harmonic and degenerate hyperharmonic numbers Thus, by comparing the coefficients on both sides of (25), we get Hn,λ = n−1 ∑ l=0 (−1)l Dl,λ l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' , (n ≥ 1).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (26) From (12), we can derive the following.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ∞ ∑ n=1 H(r) n,λtn = −logλ(1−t) t t (1−t)r = ∞ ∑ l=0 Dl,λ(−1)l tl l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ∞ ∑ m=1 �r +m−2 m−1 � tm = ∞ ∑ n=1 � n ∑ m=1 �r +m−2 r −1 � Dn−m,λ (n−m)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (−1)n−m � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (27) Therefore, by (26) and (27), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 6.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n ∈ N, we have Hn,λ = n−1 ∑ l=0 (−1)l Dl,λ l!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' , (n ≥ 1), and H(r) n,λ = n ∑ m=1 �r +m−2 r −1 � Dn−m,λ (n−m)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (−1)n−m.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The degenerate derangements are defined by 1 1−t eλ(−t) = ∞ ∑ n=0 dn,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='. (28) Thus, we note that dn,λ = n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n ∑ k=0 (1)k,λ (−1)k k!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' , (n ≥ 0).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Now, we observe that −logλ(1−t) (1−t)r eλ(−t) = ∞ ∑ l=1 H(r) l,λtl ∞ ∑ k=0 (1)k,λ k!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (−1)ktk = ∞ ∑ n=1 � n ∑ l=1 H(r) l,λ (1)n−l,λ (n−l)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (−1)n−l � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (29) On the other hand, by (28), we get −logλ(1−t) (1−t)r eλ(−t) = −logλ(1−t) (1−t)r−1 1 1−t eλ(−t) = ∞ ∑ l=1 H(r−1) l,λ tl ∞ ∑ k=0 dk,λ tk k!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = ∞ ∑ n=1 � n ∑ l=1 H(r−1) l,λ dn−l,λ (n−l)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' � tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (30) Therefore, by (29) and (30), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 7.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n ∈ N, we have n ∑ l=1 H(r) l,λ (1)n−l,λ (n−l)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (−1)n−l = n ∑ l=1 H(r−1) l,λ dn−l,λ (n−l)!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='. H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, and T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim 7 We let Y = logλ(1+t).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Then, for N ≥ 1, we have � d dt �N Y = (λ −1)(λ −2)···(λ −N +1)(1+t)λ−N = N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' λ �λ N � eλ−N λ (logλ(1+t)) = N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' λ �λ N � ∞ ∑ k=0 (λ −N)k,λ 1 k!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (logλ(1+t))k = N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' λ �λ N � ∞ ∑ k=0 (λ −N)k,λ ∞ ∑ n=k S1,λ(n,k)tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = ∞ ∑ n=0 �N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' λ �λ N � n ∑ k=0 S1,λ(n,k)(λ −N)k,λ �tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=', (31) where N is a positive integer.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' On the other hand, by (10), we get Y = logλ(1+t) = logλ(1+t) t t = ∞ ∑ n=1 nDn−1,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='. (32) Thus, by (32), we get � d dt �N Y = ∞ ∑ n=N nDn−1,λn(n−1)···(n−N +1)tn−N n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = ∞ ∑ n=0 (n+N)Dn+N−1,λ tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='. (33) Therefore, by (31) and (33), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 8.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For N ∈ N and n ≥ N −1, we have Dn,λ = N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n+1 1 λ �λ N � n−N+1 ∑ k=0 S1,λ(n−N +1,k)(λ −N)k,λ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Next, we let F = −logλ(1−t).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Then, for N ≥ 1, we have � d dt �N F = (−1)N+1(λ −1)(λ −2)···(λ −N +1)(1−t)λ−N = (−1)N+1 N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' λ �λ N � eλ−N λ (logλ(1−t)) = (−1)N+1N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1 λ �λ N � ∞ ∑ k=0 (λ −N)k,λ 1 k!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (logλ(1−t))k = (−1)N+1N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1 λ �λ N � ∞ ∑ k=0 (λ −N)k,λ ∞ ∑ n=k S1,λ(n,k)(−1)n tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' = ∞ ∑ n=0 � N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1 λ �λ N � n ∑ k=0 (−1)n−N−1(λ −N)k,λS1,λ(n,k) �tn n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='. (34) On the other hand, by (11), we get (35) F = −logλ(1−t) = −logλ(1−t) 1−t (1−t) = ∞ ∑ n=1 (Hn,λ −Hn−1,λ)tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 8 Identities involving degenerate harmonic and degenerate hyperharmonic numbers Thus, by (35) and for N ≥ 1, we have � d dt �N F = ∞ ∑ n=N n(n−1)···(n−N +1)(Hn,λ −Hn−1,λ)tn−N = ∞ ∑ n=0 (n+N)(n+N −1)···(n+1)(Hn+N,λ −Hn+N−1,λ)tn = ∞ ∑ n=0 N!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' �n+N N � (Hn+N,λ −Hn+N−1,λ)tn.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (36) Therefore, by (34) and (36), we obtain the following theorem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Theorem 9.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For N ∈ N and n ≥ 0, we have 1 n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1 λ �λ N � n ∑ k=0 (−1)n−N−1(λ −N)k,λS1,λ(n,k) = �n+N N � (Hn+N,λ −Hn+N−1,λ).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' By Theorem 9 and (6), we get 1 n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n ∑ k=0 (−1)n−N−1(λ −N)k,λS1,λ(n,k) = �n+N N � 1 λ �λ N � (Hn+N,λ −Hn+N−1,λ) = �n+N N � 1 λ �λ N � 1 λ � λ n+N � (−1)n+N−1 = (−1)n+N−1 � λ N+n � �λ N � �n+N N � .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (37) Therefore, by (37), we obtain the following corollary.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Corollary 10.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' For n ≥ 0 and N ∈ N, we have 1 n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n ∑ k=0 (λ −N)k,λS1,λ(n,k) = � λ n+N � �λ N � �n+N N � .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Remark 11.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' From Corollary 10 and letting λ → 0, we obtain (−1)n N n+N �n+N N � = 1 n!' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' n ∑ k=0 (−1)kNkS1(n,k).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Remark 12.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Recently, on the Daehee numbers and their related topics various studies have been conducted by several researchers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Interested readers may refer to [1, 12, 13, 14, 15, 17, 18].' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 3.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' CONCLUSION Many different tools have been used in the explorations for degenerate versions of some special numbers and polynomials, which include generating functions, combinatorial methods, umbral cal- culus, p-adic analysis, differential equations, probability theory, operator theory, special functions and analytic number theory (see [5, 6, 7, 8, 9, 10, 11, 12] and the references therein).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' In this paper, we used the elementary methods of generating functions in order to study the degenerate harmonic and degenerate hyperharmonic numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Some properties, recurrence relations and identities relat- ing to those numbers were derived in connection with the degenerate Stirling numbers of the first kind, the degenerate Daehee numbers and the degenerate derangement.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' We would like to continue to investigate various degenerate versions of certain special numbers and polynomials, especially their applications to physics, science and engineering.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, and T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim 9 Acknowledgments The authors thank Jangjeon Institute for Mathematical Sciences for the support of this research.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Availability of data and material Not applicable.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Funding This work was supported by the Basic Science Research Program, the National Research Founda- tion of Korea, (NRF-2021R1F1A1050151).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Ethics approval and consent to participate All authors declare that there is no ethical problem in the production of this paper.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Competing interests All authors declare no conflict of interest.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Consent for publication All authors want to publish this paper in this journal.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Author’ Contributions All authors read and approved the final manuscript.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' REFERENCES [1] S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Araci, U.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Duran and M.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Acikgoz, On weighted q-Daehee polynomials with their applications.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Indag.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' (N.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=') 30 (2019), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 2, 365-374.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [2] L.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Carlitz, Degenerate Stirling, Bernoulli and Eulerian numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Utilitas Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 15 (1979), 51-88.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [3] L.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Comtet, Advanced combinatorics.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' The art of finite and infinite expansions.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Revised and enlarged edition.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Reidel Publishing Co.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=', Dordrecht, 1974.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' xi+343 pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ISBN: 90-277-0441-4.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [4] J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Conway and R.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Guy, The book of numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Copernicus, New York, 1996.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' x+310 pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ISBN: 0-387-97993-X.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [5] D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, A note on a new type of degenerate Bernoulli numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Russ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Phys.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 27 (2020), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 2, 227-235.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [6] D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, Degenerate Sheffer sequence and λ-Sheffer sequence.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Anal.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Appl.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 493 (2021), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1, 124521.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [7] T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, Some identities on degenerate hyperharmonic numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Georgian Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=', 2022 (2022).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' https://doi.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='org/10.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='1515/gmj-2022-2203 [8] T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, On some degenerate differential and degenerate difference operators.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Russ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Phys.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 29 (2022), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1, 37-46.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [9] T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, Degenerate Laplace transform and degenerate gamma function.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Russ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Phys.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 24 (2017), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 2, 241–248 .' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [10] T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, Note on the degenerate gamma function Russ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Phys.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 27 (2020), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 3, 352-358.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [11] T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, λ-q-Sheffer sequence and its applications.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Demonstr.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 55 (2022), 843–865.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [12] T.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, D.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim, H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Lee and J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kwon, Representations by degenerate Daehee polynomials.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Open Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 20 (2022), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 1, 179-194.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [13] J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kwon, W.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='-H.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Rim, On the some identities of the type 2 Daehee and Changhee polynomials arising from p-adic integrals on Zp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Proc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Jangjeon Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Soc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 22 (2019), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 3, 487-497.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [14] J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' G.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Lee, J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kwon, G.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='-W.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Jang and L.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='-C.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Jang, Some identities of λ-Daehee polynomials.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Nonlinear Sci.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Appl.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 10 (2017), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 8, 4137-4142.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [15] J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='-W.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Park, B.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' M.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kim and J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Kwon, On a modified degenerate Daehee polynomials and numbers.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Nonlinear Sci.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Appl.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 10 (2017), no.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 3, 1108-1115.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [16] S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Roman, The umbral calculus.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Pure and Applied Mathematics, 111.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Academic Press, Inc.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [Harcourt Brace Jo- vanovich, Publishers], New York, 1984.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' x+193 pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ISBN: 0-12-594380-6 [17] S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' K.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Sharma, W.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' A.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Khan, S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Araci and S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Ahmed, New type of degenerate Daehee polynomials of the second kind.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Adv.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Difference Equ.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 2020 (2020), Paper No.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 428, 14 pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' [18] S.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Yun and J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='-W.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Park, On fully degenerate Daehee numbers and polynomials of the second kind.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' J.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' Math.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 2020 (2020), Art.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' ID 7893498, 9 pp.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content=' 10 Identities involving degenerate harmonic and degenerate hyperharmonic numbers DEPARTMENT OF MATHEMATICS EDUCATION, DAEGU CATHOLIC UNIVERSITY, GYEONGSAN 38430, REPUB- LIC OF KOREA Email address: hkkim@cu.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='ac.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='kr DEPARTMENT OF MATHEMATICS, SOGANG UNIVERSITY, SEOUL 121-742, REPUBLIC OF KOREA Email address: dskim@sogang.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='ac.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='kr DEPARTMENT OF MATHEMATICS, KWANGWOON UNIVERSITY, SEOUL 139-701, REPUBLIC OF KOREA Email address: tkkim@kw.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='ac.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}page_content='kr' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/9NE1T4oBgHgl3EQfCQIp/content/2301.02861v1.pdf'}123version https://git-lfs.github.com/spec/v1oid sha256:01262dbda26eb60a40ab2d73bbb0d61831a1ec2b3f16a31595e401692e63df5asize 193782123version https://git-lfs.github.com/spec/v1oid sha256:af582328fb9199499516cc030f6e3225ceb2b4864a6902c013d2b6702e173fc2size 1441837123version https://git-lfs.github.com/spec/v1oid sha256:02e56db9b963589338936f99f9a6a55410754150363c75f83c66ab84877d3975size 6477712345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084A Multi-Site Accelerator-Rich Processing Fabric forScalable Brain-Computer InterfacingKarthik Sriram, Raghavendra Pradyumna Pothukuchi, Michał Gerasimiuk, Oliver Ye, Muhammed UgurRajit Manohar, Anurag Khandelwal, Abhishek BhattacharjeeYale University, New Haven, USAAbstract—Hull1 is an accelerator-rich distributed implantablebrain-computer interface (BCI) that reads biological neurons atdata rates that are 2-3 orders of magnitude higher than theprior art, while supporting many neuroscientific applications.Prior approaches have restricted brain interfacing to tens ofmegabits per second in order to meet two constraints necessaryfor effective operation and safe long-term implantation—powerdissipation under tens of milliwatts and response latencies inthe tens of milliseconds. Hull also adheres to these constraints,but is able to interface with the brain at much higher datarates, thereby enabling, for the first time, BCI-driven research onand clinical treatment of brain-wide behaviors and diseases thatrequire reading and stimulating many brain locations. Central toHull’s power efficiency is its realization as a distributed system ofBCI nodes with accelerator-rich compute. Hull balances modularsystem layering with aggressive cross-layer hardware-softwareco-design to integrate compute, networking, and storage. Theresult is a lesson in designing networked distributed systems withhardware accelerators from the ground up.I. I N T RO D U C T I O NBrain-computer interfaces (BCIs) sense the electrical activityof biological neurons and electrically stimulate them to “rewire”neuronal circuits. By directly connecting brains to computers,BCIs help advance our understanding of the brain and themind [1, 2], offer treatment of neurological disorders [2–6],enable industrial robotics [7], permit novel modes of personalentertainment [8], and more.BCIs can be realized as surface electrodes (i.e., electricalsensors) placed on the scalp above the skull to measure brainactivity [2, 3]. While such wearable BCIs do not require surgicaldeployment, the signals they collect are muffled by the skull,making them noisy, low-resolution, and less ideal for forward-looking BCI applications [5, 9–12].Instead, this work focuses on implantable BCIs that aresurgically embedded directly on, around, and in the braintissue [13, 14]. Implantable BCIs directly record from andstimulate neurons with high fidelity, spatial resolution, and inreal time [2, 5]. Hundreds of individuals use clinically approvedimplantable BCIs to treat epilepsy, movement disorders, as wellas impaired vision [15–17]. Implantable BCIs are also beingstudied in clinical trials to assess their effectiveness in treatingbrain stroke, memory disorders, paralysis, anxiety/depression,addiction, and more [14, 18, 19].Conflicting constraints make it challenging to design hard-ware for implantable BCIs. BCIs cannot overheat brain regions1A hull is the protective outer covering of grain. We call our design Hullsince it similarly protects the brain.by >1 ◦C to avoid cellular damage [20, 21] and must thereforebe ultra-low-power. But, BCI designers are also seeking toleverage improvements in sensor technology that are readingexponentially increasing neuronal data [22]. It is challenging toconstrain power/energy while processing such large data, espe-cially to respond to neuronal activity in real-time (i.e., in ms).Hardware over-specialization is not a viable way to reduce BCIpower; to enable many research and clinical studies, BCIs mustbe adequately programmable to personalize algorithms, supportseveral computational methods to treat multiple disorders, andenable deployment of maturing/emerging algorithms [23, 24].Complicating BCI design further is the emergence ofapplications that read and process neural activity from manybrain sites over time [1, 13, 25, 26]. This is because the brain’sfunctions (and disorders) are ultimately based on physical andfunctional connectivity between brain regions that evolve overtime [1, 13, 25, 26].Existing BCIs [16, 17, 23, 27, 28] are designed for single-site implantation and lack the ability to store adequately longhistorical neural data. Most BCIs [29, 30] have additionallimitations in that they have historically eschewed a subset ofprogrammability, data rates, and flexibility to meet safe powerconstraints. These BCIs are specialized to a specific task and/orlimit personalization of the algorithm [29, 30]. Some supportmore programmability by sacrificing high data rates [16, 17,27, 28]. Consequently, none support the distributed and rapidlyevolving neural data processing that emerging BCI applicationsrequire. Recent work on HALO balances flexibility, data rates,and power, but is limited to one brain site. At best, distributedBCI applications have been studied in prior work that consistsof multiple sensor implants that offload processing to externaldevices with higher power budgets [31, 32]. But, this is nota panacea because of the long network latency, privacy, andmobility limitations [33].Our work is the first to offer a path toward scalable whole-brain interfacing across multiple brain sites. Our solution, Hull,is a distributed BCI consisting of multiple BCI nodes thatcommunicate with one another wirelessly and interface withthe brain with an aggregate data rate 2-3 orders of magnitudehigher than the prior state-of-art [23]. Each BCI node consistsof flexible compute made up of reconfigurable power-efficientdomain-specific hardware accelerators customized for importantneural processing applications. These accelerators are tightlyco-designed with storage and networking to ensure system-wideadherence to power and response latency constraints.1arXiv:2301.03103v1 [cs.DC] 8 Jan 2023
Hull uses a scheduler based on an integer linear program(ILP) to optimally map tasks and algorithms to the hardwareaccelerators across all of Hull’s nodes, and to create the networkand storage access schedules to feed the accelerators. Hullsupports three types of BCI applications [34, 35]:The first category consists of applications that continuouslymonitor brain activity and respond to aberrant behavior withoutengaging with agents external to Hull [34–36]. This includes,for example, detection of seizures [26], prediction of theirspread, and finally, to mitigate symptoms, electrical stimulationof regions where seizures are expected to migrate.The second category also monitor the brain continuously butrely on agents external to Hull to respond. This includes, forexample, the detection of an individual’s intended movement,and relaying of this data to prostheses or assistive devices [3, 33–35]. These applications enable paralyzed individuals to actuatemachines and restore (partial) sensory function.The third category interactively queries Hull to analyze datafrom multiple brain sites. These queries may be used “in theloop” or “out of the loop”. With the former, clinicians may needto modify treatment options based on data that the BCI reads;e.g., confirming that Hull has correctly detected seizures andresponded appropriately [37, 38]. The latter refers to interactivequeries used by technicians to debug system operations, byclinicians to glean the individual’s medical history, and byresearchers to better understand brain function.In supporting these types of applications, Hull offers researchinsights on building end-to-end computer systems centered onhardware accelerators. Specifically, our choice of hardwareaccelerators follows several important design principles:First, to maximize power efficiency, as well as simplicity ofhardware design, we identify algorithmic kernels within ourapplications that accelerate not only their computation but alsotheir networking and storage latency needs. This is a non-trivialexercise that requires domain-specific knowledge to convert BCIapplications into equivalent forms that are amenable to exposingthese kernels. We reformulate known computational pipelinesfor seizure propagation prediction/treatment and movementintent – two BCI applications that Hull focuses on – to use hash-based similarity measures that identify the neural signals fromdifferent brain sites likeliest to be correlated, before applyingheavy-weight correlation measures. The same hashes can drivethe design of domain-specific layouts of data in our storagestack. Co-designing our hashes with our storage layout permitseveral power/latency-efficient data retrievals from our storagelayer. The hashes also enable reducing the data communicatedin the intra-BCI network between the Hull nodes.Second, we design our accelerators to be predictable inlatency and power for our target data rates. Predictable perfor-mance and power characteristics facilitate the optimal design ofcompute and network schedules—the enabling feature for ourILP scheduler. Designing accelerators with predictable perfor-mance and power requires care. For some accelerators, whosedata generation rate is input-dependent (e.g., data compression),we use theoretically-derived worst-case latency and throughputestimates. Furthermore, we design our accelerators in their ownclock domains to enable a range of operating frequencies withwell-defined power and performance characteristics.Third, we design our accelerators to be reconfigurable. Thispermits the repurposing of our hash accelerators, for example,to act as hash indices for our storage layer, as filters that reduceour networking traffic, and to be tuned differently dependingon the target application being supported.Overall, Hull scales brain-computer interface bandwidthbeyond what was previously achievable. Hull is flexible, recon-figurable, and supports real-time distributed neural processing.We use a detailed physical synthesis flow in a 28 nm CMOSprocess (including tapeouts of partial hardware at 12 nm)coupled with network and storage models to evaluate Hull’spower and performance. We show that Hull can process anaggregate of 460 Mbps wireless data from multiple regions inonly 10 ms and dissipates no more than 15 mW at any node,confirming its suitability for autonomous use. In interactivemode, it can support 10 queries per second over 6 MB ofdata over 10 implants. Existing designs support two orders ofmagnitude lower data and need intrusive wiring. In summary,our specific contributions are:1) Hull, the first distributed and wireless BCI system that scalesto multi-region neural processing in real time.2) The cross-layer co-design of BCI applications, processing,and storage for scalable and distributed neural processing.Hull is the first to support long-term storage of data, hashing,and database indices to enable distributed signal processingon a single BCI platform.3) An evaluation of Hull’s flexibility and performance onepileptic seizure propagation and detection of movementintent, in various deployment scenarios, as well as inthe support of more arbitrary queries that may be usedinteractively by clinicians/technicians.Hull furthers the elevation of hardware accelerators to first-class compute citizens that, like CPUs, can directly engagewith networking and storage. This trend will be crucial tofuture IoT, swarm, and intermittent computing environmentsthat sustain adaptive and complex functionality while meetingstrict safe-use (i.e., power, latency, throughput) constraints.II. BAC K G RO U N DA. Brain-Computer Interface DesignBCI applications typically perform signal measurement,feature extraction, classification/decision-making, and whenapplicable, neural feedback/stimulation [2, 5]. The hardwareorganization of BCIs reflects these four aspects. Signal mea-surement is performed by electrodes that read the electricalactivity of clusters of biological neurons, and analog to digitalconverters (ADCs) then digitize this data. State-of-the-artsensors consist of 96-256 electrode arrays per implant. ADCstypically encode measured signal samples with 8-16 bits at arate of 20-50 K samples per second per electrode. Digitized datais then relayed to compute logic for feature extraction, basedon which classification/decision-making proceeds. If needed,the electrode arrays are repurposed, after a digital-to-analog(DAC) conversion step, to electrically stimulate the brain.2
Modern BCIs also use radios to communicate with externalagents (e.g., servers, prostheses), presenting an evolution fromthe surgical cables (which were susceptible to infectionsand restricted free movement) used in early BCIs [39, 40].Finally, BCIs are powered with rechargeable batteries and/orinductive power transfer. These components are packaged inhermetically-fused silica or titanium capsules. While the powerlimit considered safe for permanent implantation varies onthe implant’s target location and depth, we use 15 mW as aconservative limit [23, 41] for each of Hull’s constituent BCInodes.B. Neural Processing Applications & Algorithmic KernelsFuture BCI applications will collect data across multiplebrain sites, and compare histories of stored neural signalsacross them. Many applications exhibit these needs, includingalgorithms for neuromuscular rehabilitation and neuropsychi-atric disorders [2, 4, 13, 42–44], but we focus on epilepticseizure propagation and detection of movement intent as theyform the bulk of emerging BCI use [2, 5, 45–47]. In addition,we also consider spike sorting, a crucial kernel widely usedin many applications [48, 49]. Spike sorting differs fromseizure propagation and movement intent in that it is not a fullapplication in itself. Nevertheless, we study it because it is aprime candidate for wide use in a distributed manner.1) Epileptic seizure propagation application: Seizures oftenmigrate across brain regions [26]. Predicting seizure spreadcan help explain seizure dynamics and offer treatment options.When a seizure is detected at a brain site, seizure propagationalgorithms compare neural signals from the originating siteagainst current and past signals collected from other brain sitesof interest. Correlation measures are used to detect whetherthere is a seizure match across brain sites; i.e., whether a seizureis likely to propagate to another brain region.Figure 1a shows the steps used (but unsupported in theirentirety in any existing BCI) in standard seizure propagationpipelines [25, 26]. First, seizure signals are detected in thesignals from each electrode in all the brain regions that theelectrodes probe. This step typically uses band-pass filters or afast Fourier transform (FFT) on continuous signal windows togenerate features, followed by a classifier like a support vectormachine (SVM) [50]. Alternatively, clinicians may manuallyannotate the onset of a seizure.Once a seizure is detected in a region at a specific point intime, the signal window from that region is compared with allthe concurrent and previous windows from all other regions,up to a chosen time in the past.2) Detection of movement intent application: BCIs can infercoarse-grained movement from reading single sites of the motorcortex region [51, 52], but more fine-grained movement intent(e.g., the movement of individual fingers grasping an object)requires reading neural activity from multiple brain regions [45,53, 54]. Figure 1b shows a typical computational pipelinethat infers fine-grained movement intent [47, 55–57]. Neuralsignals from all electrodes in all target brain sites are firstfiltered or converted into the frequency domain using FFT(a) Seizure propagation analysis.(b) Decoding movement intent and stimulating response to it.(c) Spike sorting to separate the combined electrode activity.Fig. 1: Main BCI application steps. BCIs do not yet supporton-device seizure propagation or multi-site movement intent.for feature extraction. Then, the features are all pushed intoa classifier to deduce intended movement. Linear SVMs arecommonly used for classification because they are effective,and because their parameters are intuitive for neuroscientists toreason about [3, 55, 58, 59]. Intended movement is then relayedto an external agent like a prosthetic arm. The prosthetic arm’smovement then has to be conveyed to the brain regions (e.g.,the sensorimotor cortex) responsible for sensing the individual’senvironment using neural stimulation patterns [60, 61].3) Spike sorting algorithmic kernel: Spike sorting is anexemplar of key signal transformations that comprise importantapplications, and that benefit from engagement with multiplebrain sites. Most sensor arrays used in existing BCIs haveelectrodes that measure the combined electrical activity ofa cluster of neurons, rather than that of individual neurons.Spike sorting detects all the peaks in the combined electrodeactivity and separates them into a series of constituent signalspikes from distinct neurons. Figure 1c shows this algorithm.It measures the distance of each signal peak from severalspike templates, and the nearest template is chosen as thepeak’s spike. In some variants [62], the templates are obtaineddynamically from clustering the peaks. Spike distances aremeasured with dynamic time warping (DTW) or earth moversdistance (EMD) [63, 64], which are computationally expensive.Modern spike sorting methods are too slow to be deployedonline; distributed spike sorting has even higher overheads.No existing BCIs support the signal processing needed forhistorical analysis of seizure and movement intent activityemanating from multiple brain sites, and for distributed spikesorting. Most designs use a single implanted device thatsenses and processes information from the brain region probedby the implant [16, 17, 23, 27, 28]. Some designs usedistributed sensors that do not directly connect to computationalsupport [31, 32], and offload data to an external device. But,the lack of on-device distributed processing precludes BCIsupport for applications that require ms-scale decisions, suchas preempting propagation of seizures, or control of prosthetics.C. Locality-Sensitive Hashing for Signal ComparisonAll the applications described previously use signal com-parison that is expensive. We use locality-sensitive hashingfor fast time series matching [65] to meet Hull’s ms-scalelatency constraints. We face two challenges in using locality-3
PropagationElectrodeSeizureSignal similarity inDataDetectionall other regionsStimulationElectrodeFeatureSVMDataExtractionSorted SpikesElectrodeSpikeTemplate matchDataDetectionfor every spike(a) Hull overview.(b) The processor fabric in each of Hull’s nodes.Fig. 2: The Hull BCI is made up of nodes that are implanted in distinct brain sites. The nodes communicate wirelessly witheach other and external agents. Each Hull node has sensors, radios, analog/digital conversion, processing fabric, and storage;the processing fabric contains hardware accelerators and configurable switches that can be used to create different pipelines.sensitive hashing. The first is the presence of variable-latencycomputations involving randomization, and the other is theneed to support multiple comparison measures—the choice ofmeasure varies across BCI uses [63, 64, 66]. We leverage priorwork on two locality-sensitive hashing schemes developed forDTW [67] and EMD [68]. Subsequent sections describe howwe modify them to suit the needs of Hull’s target applications.The DTW hash generation process [67] first creates sketchesof the signal by using the dot product of a random vector withsliding windows in the signal. If the dot product is positive,the sketch value for the window is 1; otherwise, it is 0. Next,it counts the occurrences of n-grams formed by n consecutivesketch values. The n-grams and their counts are used by arandomized weighted min-hash to produce the final hash.The original EMD hash [68] is obtained by first calculatingthe dot product of the entire signal with a random vector, andcomputing a linear function of the dot product’s square root.D. Flexibility as a Goal in Brain-Computer Interface DesignA key takeaway from Sections II-B and II-C is the need forflexible support of compute on emerging BCIs. Indeed, thisis a topic explored in recent work on the HALO architecturefor BCIs [23, 69, 70]. Prior to HALO, power efficiency wasachieved by specializing BCIs to offer a specific type ofcomputation for a specific brain region. However, flexibility isan important requirement for future BCIs for several reasons:First, there is no single best signal processing pipeline fora task; instead, there exist several distinct signal processingpipelines with different tradeoffs [24, 35, 71]. For Hull, thismeans that the specific hardware accelerators needed to supporttarget computational pipelines (e.g., DTW vs cross-correlation),and the configuration of key parameters in these accelerators(e.g., window sizes, thresholds) must be customizable to users.Second, BCIs may be used in different ways [34, 35]. Oneuse is autonomous operation, monitoring neural activity andstimulating neurons when a harmful event occurs. An exampleis epileptic seizure monitoring and deep brain stimulation topreempt the seizure before its onset [71]. Alternatively, BCIsmay translate neural activity into commands for an externaldevice [33] (e.g., the commands to move a prosthetic) or theletters to be displayed on a screen [5]. It is common for theBCI to also translate the external activity into neural feedback(e.g., to recreate the sense of touch and movement) [72].Third, beyond clinical uses, the same BCI platform shouldsupport algorithmic deployment and data collection for researchand exploration of the brain sciences [5, 35, 73]. In thesecases, many applications and usage modes may be necessarydepending on the desired experiment.Some of these uses mayrequire interactive monitoring, where the BCI and a clinicianare part of the decision-making loop [37]. In this case, theBCI operates autonomously until it detects abnormal activity,such as the onset of a seizure. When this happens, it alertsa clinician, who can use additional data from the individualto determine the course of action [37]. A useful BCI systemmust be customizable to support these different scenarios.Beyond these scenarios, there are many practical reasonsthat BCIs should be flexible, such as changes in the individ-ual’s neurological conditions (which may require modifyingtreatment protocols), changes in electrode behavior from theimmune response of the brain to the BCI etc. [5, 35, 71].Supporting high performance with flexibility under extremepower and latency constraints is challenging. Like HALO,Hull relies on modular hardware accelerators (henceforthreferred to as processing elements or PEs) to form varioussignal processing pipelines. Unlike HALO and any existingBCI, however, Hull supports the distributed signal processingapplications in Section II-B for the first time.III. T H E D E S I G N O F T H E H U L L S Y S T E MFigure 2 shows the Hull BCI and its constituent Hullnodes implanted in different regions of the brain. Hull nodescommunicate with one another wirelessly. An ILP schedulermaps applications and interactive queries onto Hull’s nodes.Each Hull node contains 16-bit ADCs/DACs, a reconfigurableprocessor with several PEs, an integrated physical storage layermade of non-volatile memory (NVM), separate radios for Hull’s4
Closed-loopProsthesisILPNVMAutonomousOperationQueriesExternalWriteRadio DACConfigurationReadADCIntra-BCIProcessorRadio BrainInteractiveTissuePower SupplyMonitoringData↑CSELMCSCNGRAMDTWHCONVEMDHGATECCHECKNEOTHRHFREQDCOMPFFTBBFSVMHCOMPUNPACKXCORNPACKnodes to communicate with one another (i.e., intra-BCI radios)and externally (i.e., external radio), and a power supply.A. Rewriting Applications for On-Device ProcessingWe make three changes to existing BCI applications torun them on Hull (to meet real-time constraints), rather thanrelying on external processing. First, we rewrite the signalprocessing pipelines to use fast hash-based signal comparisonin the common case, falling back to more time-consumingapproaches (e.g., cross-correlation or DTW) only when moreaccurate computation is really necessary. Second, we allow ourapplications to use memory. Third, we observe that classifierscommonly used in neuroscience are linear (e.g., SVMs), andtherefore compute classifier outputs hierarchically across Hull’snodes in a manner that reduces network communication.Figure 3a shows our newly created seizure propagationapplication. While functionally equivalent to the standardversion, our application is made up of three phases—seizuredetection, hash comparison, and exact signal matching. Onevery sample at all electrodes, we generate new hashes foreach sliding signal window (e.g., one hash for a 120-samplewindow), and store them on the on-device non-volatile memoryin each Hull node (Section III-B). When a Hull node detectsa seizure locally (i.e., in the brain region that it probes), itbroadcasts the hashes of the signal windows that were classifiedas a seizure. All other Hull nodes check if these hashes matchwith any of their recently stored local hashes, and respond whena match is found. A match indicates that a seizure experiencedin one brain region likely has a correlated seizure in anotherregion. To ascertain this, the Hull node that initially detectedthe seizure broadcasts the entire signal window for the signalsthat resulted in a hash collision. Seizure propagation is thenconfirmed by running an exact comparison with these signals atthe nodes that had the hash collision. Since the full signal dataand exact similarity matches are performed only when necessary,computation per Hull node and communication among Hullnodes is reduced by two orders of magnitude compared to thebaseline application pipelines in Section II-B.Figure 3c shows that we use a similar approach to enable,for the first time, an online version of spike sorting even indistributed scenarios. Like seizure propagation, spike sortingbenefits from hash-based signal processing and memory. Thetemplates are stored in NVM, and distance computation isreplaced with hash collision checks. Because spike sorting is aprecursor to many neural processing algorithms [35, 48], thisonline realization of it for the first time unlocks the ability tosupport many spike sorting-centered applications.Finally, movement intent also benefits from computing ourlinear classifier hierarchically. Figure 3b shows the pipelinethat Hull supports. Each Hull node computes a partial classifieroutput from the signals it receives and transmits the output.One node, the leader, computes the final SVM classification andcommunicates it to an external prosthetic device. The prostheticdevice’s movements are broadcast back to Hull; each node thenelectrically stimulates the sensorimotor cortex of the brain tosimulate the “feeling” of having moved a natural limb.(a) Seizure propagation.(b) Decoding movement intent and stimulating response to it.(c) Spike sorting.Fig. 3: High-level overview of the BCI applications supportedfor online distributed processing in Hull.B. Flexible & Energy-Efficient Accelerator DesignFigure 2b shows the processing fabric that we design foreach of Hull’s nodes. Several accelerators or PEs are connectedvia programmable switches to realize many signal processingpipelines. A low-power microcontroller (MC) support mis-cellaneous workloads for which there are no PEs. The PEsare designed for flexibility to support various computationalfunctions, power/energy- and area-efficient acceleration, anddeterministic latency and energy consumption to enable our ILPscheduler to optimally map application tasks onto our acceler-ators. We use the recently-published HALO architecture [23]as a starting point to realize a set of PEs that are useful forsingle-implant scenarios, and then go beyond to realize PEsthat accelerate our distributed neural applications.Hull includes PEs for single-site spike detection (NEO–non-linear energy operator; DWT–discrete wavelet transform),compression (LZ4; LZMA), feature extraction (FFT–discretefast Fourier transform; XCOR–cross-correlation measure; BBF–Butterworth bandpass filtering), thresholding (THR), conditional(GATE), classification (SVM–linear support vector machine),and the radio for communication with systems outside of Hull.Hull then integrates several new PEs to support distributedcomputation, fine-grained wireless communication, and accessto per-node NVM. Each PE has appropriately sized SRAMbuffers to support its processing. The PEs include support for:1) Hash generation:Hull supportsEuclidean, cross-correlation, DTW, and EMD; we support configurability ofhash settings for all four measures.First, we identify that important parameters of the DTW hash(e.g., size and step of the sliding window), and n-gram length(Section II-C) can be modified to also support Euclidean, andcross-correlation measures. There is no need for new hardwareto support additional means of configurability beyond what isalready needed for the DTW-hash parameters.5
SignalSourceDeviceHashHashGenerationSeizureBroadcastTransmitSensorDetectionHashSignalRemoteCollisionSignalDevicesCheckSimilarityIntentSourceFeatureLocalGlobalAlSensorDeviceExtractionSVMSVMDevicesRemoteFeatureLocalSensorDevicesExtractionSVMSortedSpikesSpikeHashNearestSensorGenerationTemplate LookupDetectionTemplateSecond, we identify that the DTW and EMD hashes sharedot product computation of the signal with a random vector(Section II-C), enabling the reuse of hardware.Finally, we select a different weighted min-hash algorithmfor the last step of the DTW hash than the one originallyproposed in prior work [67]. Our approach [74] preserves hashproperties while achieving deterministic latency and power.Our hash generation uses three PEs: HCONV, to obtain thedot product of a configurable signal window with a randomvector; NGRAM, to compute the n-gram counts in a signal andgenerate the DTW-based hash; and EMDH, to square root thedot product, and other operations to generate the EMD hash.2) Hash collision check: To determine signal similarityacross multiple brain sites, the hashes received over the networkby the Hull nodes must be compared with the locally generatedhashes in the recent past (e.g., 100 ms). Each Hull node usesa CCHECK PE that receives decompressed hashes from thenetwork, stores them in SRAM registers, and sorts them inplace. The PE requests the storage controller (SC) to readthe hashes to be compared from the NVM. These hashes arecompared with those in the registers using binary search.3) Signal similarity: CSEL identifies signals for exactsignal comparison using DTW, EMD, and Euclidean distance.For DTW, we build a pipelined implementation that usesthe standard DTW algorithm [75] with a Sakoe-Chiba bandparameter for faster computation [76]. This PE can also supportEuclidean distance computation by using the Sakoe-Chiba bandparameter to be 1. We use the microcontroller to run EMD [77]for now, although we will build custom PEs in the future.4) Intra-BCI network compression and packing: The intra-Hull network transmits hashes and signals. We compress thehashes but transmit uncompressed raw signals. Compressionmakes data more vulnerable to bit errors. Because the hashesare used only for approximate matching, bit errors are notas critical to the quality of signal correlation. But, the rawsignals are used for accurate matching. Measures like DTWare naturally resilient to single-bit errors in the signal, but theirquality worsens rapidly with erroneous compressed signals.Compression PEs (i.e., LZ/LZMA) built for HALO do notmeet Hull’s power and latency constraints for hashes. Instead,we build PEs customized to our particular data/communicationneeds. The HFREQ PE collects the hash values (and sorts themby frequency of occurrence) that a Hull node must transmit. TheHCOMP PE encodes the hashes first with dictionary coding,then uses run-length encoding of the dictionary indexes [78],and finally uses Elias-γ coding [79] on the run-length counts.HCOMP’s compression ratio is only 10% lower than that ofLZ4/LZMA, but consumes ≈7× less power.Compressed data is sent to the NPACK PE, which addschecksums before transmission. The UNPACK and DCOMPPEs decode and decompress packets on the receiving side.5) Storage control: An SC PE manages NVM access. SCuses SRAM to buffer data before NVM writes in 4 KB pages.The SRAM also permits data buffering during NVM eraseoperations when writes cannot be accepted. Finally, SC (andthe SRAM) permits data reorganization to accelerate futurereads from the NVM (Section III-C). SC uses registers to storemetadata about data written by the ADC and hash PEs (e.g., thelast written page and the size of written data). This accelerates,for example, the search for recent common signal data.6) Microcontroller:The MC runs at low frequency(20 MHz), and integrates 8 KB memory. It configures individualPEs into target pipelines (Section IV) and receives commands tostimulate neurons either for stopping a seizure or for conveyingneural feedback from a prosthetic. The MC can be used forgeneral-purpose computation not supported by any PEs suchas new algorithms, or infrequently run system operations suchas clock synchronization (Section III-F).7) Well-defined throughput: Each PE operates in its ownclock domain, like prior work [23], but also supports multiplefrequencies. This enables each PE to lower operating frequency(and reduce power) to the minimum necessary to sustain thePE’s target data rate, for varying input electrode counts. Thisfeature also ensures fixed latency even when PEs process avariable number of input electrode signals. We design each PEto support a maximum frequency f P Emax which is high enoughto support the maximum data processing rate required. We usea configurable register that can be used to set the frequency tof P Emax/k, where k is user-programmable. The clock frequencyis varied using a simple state machine that uses a counter toonly pass through every k clock pulses. The power consumedby this counter is in the µW range [80], much lower than theper-PE power. Overall, the dynamic power of the PEs scaleslinearly with the frequency. This also enables deterministicpower and latency and helps optimal scheduling (Section III-E).C. On-device non-volatile memoryEach Hull node integrates 128 GB on-device NVM to storeraw neural signals, hashes of these signals, and pre-loaded dataneeded by applications (e.g., templates for spike sorting). Wedivide the NVM into four partitions, one for each of theseclasses of data, and another for use by the MC. The sizesof the partitions are configurable through registers. When apartition is full, the oldest data in the partition is overwritten.We optimize the layout of signal and hash data in the NVMfor performance and power. Hull’s ADCs (and hash generationPEs) process electrode samples sequentially. If the data is storedin this manner, extracting a contiguous segment of one signalwould require long-latency reads from multiple discontinuousNVM locations. Instead, we store contiguous chunks (wherea chunk size is user-specified) of each signal. Retrieving thesignal (or hashes) at a particular electrode and time-step needonly offset calculations. SC enables this reorganization as itbuffers data in 4 KB SRAM pages before NVM writes.D. NetworkingWe use separate radios for intra-Hull and external devicecommunication as the required distances and communicationneeds are different. For intra-Hull communication, we use acustom network protocol with a fixed schedule across the nodes.The schedule is decided by an ILP based on application goals6
Fig. 4: Seizure detection and propagation on Hull. The colors of the PEs are matched with the high-level tasks from Figure 3a.(Section III-E). To coordinate intra-Hull communication, weuse TDMA for its simplicity and deterministic behavior.Each network packet has an 84-bit header, and a variable datasize up to a maximum packet size of 256 bytes. The header andthe data have 32-bit CRC32 [81] checksums. On a checksummismatch, the receiver simply discards the packet and does notparticipate in the pipeline for processing the current sample.However, we find that while it is best to discard erroneouspackets with hashes, erroneous packets carrying raw signaldata can still be used without adversely affecting the overallapplication because of the resiliency of measures like DTW.E. Task Scheduling on Accelerators, Storage, & NetworkingAs input to our ILP scheduler, users provide a description ofthe desired computation as a dataflow pipeline using functionsof the PEs, or as an interactive query from which the dataflowcan be extracted (Section IV). They also provide the prioritiesof the tasks in the application (e.g., seizure detection versussignal comparison), and constraints like the overall responselatency. A higher priority task ensures that the system processesmore neural signals in this task relative to the others when allsignals cannot be processed for all tasks due to power or latencyconstraints. The ILP maps each function to the correspondingPE in one or more of Hull’s nodes.The ILP considers each possible mapping of applicationtasks (e.g., seizure detection, hash comparison) to PEs as a flow,and maximizes the weighted sum of the number of channelsprocessed in each flow. It uses three major constraints:Latency: End-to-end latencies through the PEs and communi-cation links must be below a specified limit.Power: The power consumed by all the PEs and links at alltimes must be below a specified limit.Communication: Only one flow is allowed to use the radio atany time because of TDMA.Our ILP setup is simple because of the behavior of the PEs.With variable throughput processing, the latency of processingany number of input signals is the same. The dynamic powerconsumed by a PE scales predictably linearly with the inputsize (since frequency scales linearly). Finally, the system allowstwo flows to share the same PE. When this occurs and electrodesignals to be processed are allocated to both flows, the signalsfrom each flow are interleaved so that they are all run at thesame frequency—completing within the same time as if theywere run independently. The hardware tags the signals fromeach flow so that they are routed to the correct destinations.F. Clock SynchronizationHull’s distributed processing requires the clocks in each BCInode to be synchronized up to a few µs of precision. Hull’sclocks are based on pausable clock generators and clock controlunits [82, 83] that suffer only picoseconds of clock uncertainty,a scale much smaller than our µs target. Hull operates at thetemperature of the human body and does not experience clockdrift due to temperature variance. Nevertheless, Hull runs clocksynchronization once a day using SNTP [84].One of the Hull nodes is set up to act as the SNTP server, towhich all other nodes send messages to synchronize their time.The clients send their previously synchronized clock times,and current times, while the server sends its correspondingtimes. The difference between these values is used to adjustthe clocks. This process repeats a few times until all theclocks are synchronized within the desired precision. Duringclock synchronization, the intra-Hull network is unavailable forapplication use. However, operations that do not require thenetwork (e.g., seizure detection) or NVM access can continue.IV. D E P L OY I N G H U L L F O R BCI A P P L I C AT I O N SHull supports autonomous epileptic seizure propagationin autonomous, movement intent detection for closed-loopprosthesis, online spike sorting, and interactive querying.Autonomous seizure propagation and detection: Figure 4shows Hull’s implementation of autonomous seizure detectionand propagation. The choice of the PE functions is basedon prior work [50]. This implementation uses XCOR, BBF,and FFT to extract features from the ADC measurements anduses an SVM to detect a seizure. When a seizure is detected,the nodes exchange hashes for comparison. To confirm that aseizure is indeed likely being propagated, Hull uses the DTWdistance of the signals across nodes, and electrically stimulatesthe brain in response to predicted propagation within 10 ms.The dataflow in Figure 4 is fed to the ILP to schedule thisapplication on Hull. The ILP generates an optimal mapping ofthe functions and generates a configuration code. This code isrun by each Hull node’s microcontroller to configure the PEs.Online spike sorting: Figure 5 shows the mapping of onlinespike sorting to Hull. The template-matching version pre-loadsthe NVM in the nodes with templates and their hashes.Fig. 5: Spike sorting on Hull.7
NEOsCADCHCONVEMDHGATECCHECKMCSourceRemoteDeviceFFTDevicesSVMADCBBFTHRSCXCORUNPACKDCOMPCCHECKDTWTHRSCNGRAMNPACKHCONVGATEHFREQHCOMPCSELMovement intent detection and feedback: Figure 6 showshow Hull implements detection of movement intent andfeedback, augmented from prior work[55]. Each node extractsfeatures from its local signals and computes a partial SVMoutput. Then, one node receives the partial SVM outputs andcomputes the commands for the prosthetic. The movements ofthe prosthetic are transmitted wirelessly, and each node runs astimulation algorithm for its region to provide neural feedback.Fig. 6: Query pipeline for movement intent applicationInteractive querying:Interactive queries are used to readmulti-site data or modify system configuration. The generalformat for an interactive query follows a select-project structure,akin to SQL queries [85]:from [set of devices] selectdata[electrodes][time range] where conditionThe query specifies select criteria, i.e., the range of timefrom which data is requested, along with the nodes from whichthe data should be returned, and the project criteria, i.e., theconditions that the selected data must satisfy. Similar to select-project-based SQL queries, Hull’s interactive query interfacecan support a wide range of complex queries. The projectconditions are evaluated on the PEs when possible, and on themicrocontroller otherwise. The following illustrates an examplequery to fetch ±100 ms of data from all devices from the timethey detected a seizure in the last 5 s. This example requiresseizure detection using 120 ms windows of the raw signal data.from * select data[:][t-100:t+100] whereseizure_detect(data[t-120:t]) and t >= -5000and t <= 0Complex examples can supply template signals and requestdata from nodes that recorded signals similar to the templates.Queries are separately compiled and the extracted dataflow issent to the ILP, which finalizes query execution schedules.Users can also set up the pipelines of specific tasks; e.g.,a clinician may modify seizure_detect to use only FFTfor feature extraction instead of FFT, BBF and XCOR as inFigure 4. Such a configuration does not need the ILP.Interactive queries use a power-hungry radio, precludingsimultaneous execution of queries and autonomous tasksin some cases. Some of these are either slowed down ortemporarily paused; e.g., when a clinician responds to a seizurealert and requests recent signal data, seizure propagation hasto be paused to send the data to the clinician.V. M E T H O D O L O G YProcessing fabric: Hull’s PEs are designed with a commercial28 nm fully-depleted silicon-on-insulator (FD-SOI) CMOSprocess and synthesized using the Cadence® suite of tools.We use standard cell libraries from STMicroelectronic andfoundry-supplied memory macros that are interpolated to 40 °C,which is close to human body temperature. We design eachPE for its highest frequency, and scale the power when usingthem at lower frequency. We run multi-corner, physically-awaresynthesis, and use latency and power measurements from theworst variation corner. Table I shows these values. We tapedout early designs of the PEs at 12 nm to confirm these values.TABLE I: Latency and Power of the PEs.ProcessingMax FreqPower (µW )LatencyElements(MHz)LeakageDyn/Elec(mS)FFT15.7141.979.024.00XCOR85377.0044.114.00BBF666.000.354.00SVM399.000.531.67THR162.000.110.06NEO312.000.034.00HCONV389.890.801.50NGRAM0.215.690.081.50EMDH0.0310.470.000.04GATE567.000.630.00HFREQ2.8861.980.524.00HCOMP2.8877.000.654.00NPACK33.535.490.008UNPACK33.535.490.008DCOMP16.3937.200.140.50CCHECK16.3937.200.140.50CSEL0.14.006.000.04SC3.295.301.640.03-4DTW50167.9326.940.003We assume that each node uses a standard 96-electrodearray [86] to sense neural activity, and a configurable 16-bitADC [87] generating 30 K samples per second per electrode.The ADC dissipates 2.88 mW per sample from all 96 electrodes.Each node has a DAC to support electrical stimulation of braintissue [88], a process that consumes ≈0.6 mW of power.Radio parameters. We use a radio that can transmit/receiveup to 10 m to external devices, at 46 Mbps, 250 MHz frequency,and which consumes 9.2 mW. For intra-Hull communication, weconsider a state-of-the-art radio designed for safe implantationin the brain [89]. While the radio was originally designed forasymmetric transmission/reception, we modify it for symmetriccommunication. Our intra-Hull radio supports a transmissiondistance of 20 cm (i.e., > 90th percentile head breadth [90]). Toestimate the power and data rates, we use path-loss models [91],with a path-loss parameter of 3.5 for transmission through thebrain, skull, and skin, consistent with prior studies [92, 93].We calculate that our radio can transmit/receive 7 Mbps at4.12 GHz and consumes 1.721 mW of power.Non-volatile memory. We use NVMs with 4 KB page sizesand 1 MB block sizes. The NVMs can read 8 bytes, write apage, or erase a block in one operation. We use SLC NANDparameters like erase time (1.5 ms), program time (350 us),and voltage (2.7 V) from industrial technical reports [94] withNVSim [95]. We choose a low operating power transistor typein NVSim, and use a temperature of 40 °C. NVSim assessesa leakage power of 0.252 mW, dynamic energies of 164.4 nJand 261.143 nJ per page for reads and writes, respectively. Wealso use these parameters to size our SC buffers to 24 KB.Electrophysiological data. We use publicly available electro-physiological data for our evaluation [96, 97]. For seizuredetection and propagation, we use a data from the Mayo8
SourceADCFFTSVMUNPACKSVMTHRMCMCDeviceRemoteMCADCFFTSVMNPACKDevicesSeizureDetectionSpikeSortingSignalSimilarityMovementIntent100101102103104Max Aggregate Throughput (Mbps)Central No-HashCentralHull No-HashHull(a) Maximum aggregate throughput of Hull versusalternative BCI architectures.1248163264Number of devices110100100010000Max Aggregate Throughput (Mbps)DTW ComparisonHash ComparisonDTW One-AllMovement Intent(b) Maximumaggregatethroughputofcommunication-dependent tasks in Hull.050100150Sensor Data Rate (Mbps)0255075100125Throughput (Mbps)Seizure DetectionSpike Sorting(c) Maximum throughput of tasks without inter-node communication, using re-designed PEs.Fig. 7: Experimental quantification of Hull’s benefits.Clinic [97] of a patient (label “I001 P013”) with 76 electrodesimplanted in the parietal/occipital lobes. This data-set wasrecorded for 4 days at 5 KHz, and is annotated with hundredsof seizure instances. We upscaled the sampling frequency to30 KHz, and split the dataset to emulate multiple BCI devices.We use consecutive and overlapping 4 ms windows (120samples) from the electrodes to detect seizures [98]. Forpropagation, we check similarity with a seizure-positive signalin the last 100 ms from electrode data in all nodes [98]. Forhash pipelines, we use one 8-bit hash for 120 sample data.For spike sorting, we use the Spikeforest dataset [96, 99].This dataset contains recordings collected from the CA1 regionof a rat hippocampus using tetrode electrodes recorded at30 KHz sampling frequency. The dataset contains spikes from10 neurons, with 65, 000 spikes that were manually sorted.Alternative system architectures. Table II shows the systemsthat we compare Hull against. Hull No-Hash uses the sameHull architecture but does not use hashes. The power saved byremoving the hash processing PEs is allocated to the remainingtasks optimally. Hull No-Hash does not require re-writingthe applications for hash-based processing. Central uses oneprocessing node with the same processor as Hull, and multiplesensors that are connected using wires. Finally, Central No-Hash is a centralized design without hash processing, likemost existing BCIs [27, 31, 100]. We do not consider wirelesscentralized designs as they need a radio and have lesser computeavailable than the wired ones. We also do not consider designswithout memory as they do not support seizure propagation. Wemap our applications onto all systems using the ILP, ensuringthat each node consumes < 15 mW.TABLE II: Alternative BCI designs.DesignArchitectureComparisonCommunicationHull (Proposed)DistributedHash, SignalWirelessHull-No hashDistributedSignalWirelessCentralCentralizedHash, SignalWiredCentral-No hashCentralizedSignalWiredVI. E VA L UAT I O NA. Comparing BCI ArchitecturesFigure 7a shows the maximum aggregate throughput of thesystems in Table II. A task’s maximum aggregate throughput isachieved when it is the only task running in the system, summedover all nodes. Central No-Hash has the worst throughput forall tasks. This design suffers from having just one processorand from using expensive signal processing. Central increasesthroughput by an order of magnitude for tasks that benefitfrom hashing (spike sorting and signal similarity). However,the single processor remains the bottleneck for all tasks.Hull No-Hash has distributed processors and enjoys higheraggregate seizure detection and movement intent. However, itperforms poorly for tasks that need signal comparison (signalsimilarity, spike sorting). For these tasks, Hull No-Hash haslower throughput than Central because it does not use hashes.Hull uses distributed hash-based processing and has the highestaggregate throughput for all tasks. Compared to Central-Nohash, which is closest to state-of-the-art BCIs, Hull’s datarates are an order of magnitude higher for seizure detection,and movement intent detection, and are nearly three orders ofmagnitude higher for signal similarity and spike sorting.B. Throughput for Communication-Dependent TasksFigure 7b shows the maximum aggregate throughput ofthe communication-dependent task (hash comparison, DTWcomparison, and movement intent), with various node counts.DTW Comparison uses all-to-all comparison of raw signals.It has a lower throughput than the other tasks because only16 out of 96 electrode signals can be transmitted for all-to-all comparison. The reason is that new electrode samples areobtained at 47 Mbps from the ADC, but the intra-Hull radio canonly transmit about 7 Mbps. Increasing the number of nodesdecreases the throughput further because of the communicationdelays. Because Hull uses a TDMA network, where slots fornetwork access are serialized, DTW Comparison has the worstthroughput and scales poorly with node count.An alternative DTW One-All, which only uses one-to-allDTW comparison, scales better since its communication latency9
doesn’t increase with the number of nodes. However, a one-to-all comparison is insufficient for general BCI applications.Hash Comparison uses all-to-all hash communication tocheck for collisions. Its throughput increases to 470 Mbps until10 devices, after which it begins to decrease. When the numberof nodes is small, few TDMA slots are required to exchange allhashes, enabling a linear increase in throughput as a function ofnode count. But, as node counts keep increasing, it takes longerto communicate all hashes and overall throughput reduces.Finally, Movement Intent uses all-to-one communication ofthe partial SVM products. However, as the product is small, itsthroughput scales linearly with the number of nodes (note thatthe Y-axis in Figure 7b is logarithmic). It also has the highestaggregate throughput because it needs the least communication.Figure 7b shows that hashing, and distributing the SVMcomputation in Hull enables it to scale to many regions andwith higher data rates than what has been possible.C. Throughput for Non-Communicating TasksWe design our PEs for a maximum sensor rate of 47 Mbpsper node (Section V). However, we study potential PE re-designto support higher processing rates for tasks that do not needcommunication. Figure 7c shows the throughput of SeizureDetection and Spike Sorting for varying per-node signal sensorrates. Task throughput increases linearly up to 105 Mbps forspike sorting, and 70 Mbps for seizure detection. Beyond thissensing rate, the higher frequency of the PEs and ADCs resultsin exceeding the device power limit. Nonetheless, these valuesare nearly twice as supported by existing single-implant BCIsand show the robustness of our methodology.D. Application Level ThroughputThe throughput achieved at the application level dependson the number of implanted nodes. Additionally, when thereare multiple tasks, it depends on the priorities assigned to theapplication tasks. Recall that the ILP schedules applicationsto optimize a priority-weighted sum of the signals processedin each task. For seizure detection propagation, Figure 8ashows the weighted aggregate throughput as a function of thenumber of devices, for various weight choices (in the formatseizure detection:hash comparison:DTW comparison). For anequal priority to seizure detection, DTW processing, and hashcomparison, we find that the maximum throughput is achievedfor 11 nodes. Other weight choices have different optimal nodecounts. Note that there is no comparable system for on-deviceseizure propagation—Hull is the first design with this feature.Movement intent has only one task, and its throughput (innumber of intents detected per second), is shown in Figure 8b.This metric accounts for only movement intent detection, andnot for the variable response latency of the prosthetic device.Hull spike sorts up to 12, 250 spikes per second per nodewith 82% accuracy, comparing well to the state of the art [96].E. Interactive QueriesWe consider three types of common queries applied on dataranging from the past 100 ms (≈7 MB over all nodes) to the020406080Number of Devices01020304050Weighted Throughput (Mbps)11:1:13:1:11:3:1020406080Number of Devices050100150Movement Intents / Second2(a) Weighted throughput of seizurepropagation tasks.020406080Number of Devices01020304050Weighted Throughput (Mbps)11:1:13:1:11:3:1020406080Number of Devices050100150Movement Intents / Second2(b) Movement intentsper second(without device movement time).Fig. 8: Application level metrics on Hull.past 1 s (≈60 MB). They are: Q1, which returns all signals thatwere detected as a seizure; Q2, which returns all signals thatmatched with a template using a hash; and Q3, which returnsall data in the timeframe. For Q1 and Q2, we vary the fractionof data that tests positive for their condition.Figure 9 shows Hull’s throughput with 11 nodes for ourqueries. Hull supports up to 10 queries per second (QPS) forQ1 and Q2 over the last 100 ms data (the common case). If Q2is run with DTW instead of hash-based search, we see a QPSof 8, which is only slightly lower, but the power consumptionincreases from 3.57 mW for the hash vs the entire 15 mW forDTW based matching. Thus, DTW-based matching is unsuitablewhen interactively querying in response to a seizure.Q3 on this data takes 1.21 s, yielding a throughput of ≈0.8.In interactive querying, the external radio, which consumeshigh power, is the bottleneck.As the data to be searched increases, the query latencyincreases linearly due to the radio latency. However, Hullcan still process 1 QPS for Q1 and Q2 for the past 1 s data(≈60 MB), making it suitable for real-time use.7 (110 ms)24 (400 ms)42 (700 ms)60 (1000 ms)0.00.20.40.60.81.05%5%50%50%100%100%100%5%5%50%50%100%100%100%5%5%50%50%100%100%100%5%5%50%50%100%100%100%Query Data Size (MB) (Time Range)0.1110Queries per secondQ1Q2Q3Fig. 9: Interactive query throughput on Hull with 11 nodes.F. HashingAccuracy: We vary the parameters of all our hash functionsand show the performance of the best configuration for seizurepropagation and spike sorting. Figure 11 shows the accuracy(TP: True positive, TN: True negative, FP: False positive, FN:False negative) for the four hash functions. XCOR and EMDhashes have ≈ 85% accuracy while Euclidean and DTW haveover 90% accuracy. The high true positive rate of our DTW10
0255075100125Window Size0123456Ngram SizeXCORDTWEuclideanXCOR Euclidean DTWEMD050100Percentage (%)TPFNTNFPFig. 10: Hash accuracy.0255075100125Window Size0123456Ngram SizeXCORDTWEuclideanXCOR Euclidean DTWEMD0255075100Percentage (%)True PositiveTrue NegativeFig. 11: Hash flexibility.Standard Bit Error Rate0.00.20.40.60.81.0Percentage of Packets with Error (%)30507090100Hash PacketsSignal PacketsDTW Failure104105106051015Fig. 12: Bit error rates.123456789 10 11 12 13 14 15Number of devices0.010.1110100100010000100000Time (seconds)Full ILPReducedFig. 13: Time to solve the ILP.hash is particularly beneficial for the seizure propagation (notethat false positives are removed using exact DTW).Parameter selection: Figure 11 shows the best parametersof our hash implementation (window size and n-gram size—Section II-C) to approximate each of Euclidean, cross correla-tion, and DTW similarity. We also show parameters (with lightercolors in the figure) that are within 90% of the true positiverate achieved by the corresponding best configuration. Thisflexibility enables reusing a single fast hardware acceleratorfor different measures.G. Impact of Network Bit Error RateThe intra-Hull network protocol drops packets carryinghashes when there is a checksum error but allows signal packetsto flow into PEs since signal similarity measures are naturallyresilient to a few errors. We simulate various bit-error ratios(BERs) using uniformly random bit flips in the packet headerand data. Figure 12 shows the fraction of hash or signal packetswith an error at different BERs, and the fraction of erroneoussignal packets that flipped the similarity measure (DTW). Forreference, the BER is <10−4 for the radio we use [89].Figure 12 shows that signals and hashes suffer errors asBER increases, but signals are more susceptible since they arelonger. But, even though several signal packets suffer errors,they have no impact on the final signal similarity outcome.H. ILP PerformanceThe complexity of the ILP increases with the number ofpipeline stages in the application and the number of Hull nodes.When all nodes are the same and have the same power/energyconstraints, the schedule of one node can be replicated (witha constant offset) on all other nodes and remain optimal. Wecall this method Reduced ILP. However, we cannot applythis method when the nodes are different or have differentconstraints. Figure 13 shows the time taken to solve the ILPand the reduced version for varying numbers of devices for theseizure propagation application. We measure this time whenusing GLPK, an open-source ILP solver, with default settingson an Intel-Xeon E5-2620 v3 machine with 93 GB RAM.As expected, the solver time for the standard ILP increasesexponentially with the number of devices, taking ≈2 hourswith 11 devices. For >12 devices, the ILP did not finish within24 hours and was terminated. The reduced ILP however, canbe solved in less than 10ms for any number of devices.VII. R E L AT E D W O R KCommercial and research BCIs have focused largely on singlebrain location monitoring and stimulation [16, 17, 23, 27, 28],and have no support for distributed systems, making theminhospitable for the applications that we target.Most implantable BCIs offer little to no storage capacityand stream data out continuously instead. NeuroChip [100] isan exception, but is wired to an external case storing a 128GB SD card that must be physically extracted for offline dataanalysis. Hull is the first to use storage for pre-processing andreduce computation by using the hash.A growing interest in distributed analyses of the brain [1,13, 25, 26] has motivated the design of rudimentary multi-siteBCIs [31, 32, 101]. Prior studies [31, 32] propose microchipsthat stream sensor data wirelessly to a central hub outside theskull using back-scattering radio techniques. Unfortunately,these approaches are restricted in their interfacing bandwidthas they rely on centralized processing and communication.Although recent work has studied unary neural networks onsingle-site BCIs [102], we will study distributed neural networkmodels for seizure detection, propagation, spike sorting, andmovement intent for multi-side BCIs going forward. Hull cansupport any algorithm with linear computational complexitywithout significant changes to the ILP formulation. However,neural network inference, which is super-linear, may requirenon-linear formulations for scheduling. Using MILP andapproximations for such PEs may be a suitable extension.VIII. C O N C L U S I O N & F U T U R E W O R KHull enables distributed BCI interfacing that can scale tomultiple regions, and provides for the first time, on-devicecomputation for important BCI applications. Hull offers twoorders of magnitude higher task throughput, and real-timesupport for interactive querying with up to 10 QPS over 7 MBdata or 1 QPS over 60 MB data.Hull will influence the wider field of IoT devices, rangingfrom low-power temperature and voltage sensors [103], AR/VRdevices, to devices in smart home, factory, and vehicle settings.These devices must collect and process large volumes of dataon the edge, as communicating this data to centralized locationsis likely to be near impossible for today’s cloud infrastructure.Similar to Hull, a network of power-constrained devices willneed to process large volumes of data, often with flexibleprocessing requirements to support rapidly evolving use cases.11
Hull’s design principles– i.e., its modular PE architecture,fast-but-approximate hash-based approach to signal similarity,support for low-power and efficiently-indexed non-volatilestorage, and a centralized planner that produces near-optimalmapping of task schedules to devices – can be instrumental tosuccess in other IoT environments as well.R E F E R E N C E S[1] R. A. Andersen, T. Aflalo, L. Bashford, D. Bj˚anes, andS. Kellis, “Exploring Cognition with Brain–MachineInterfaces,” Annual Review of Psychology, vol. 73, pp.131–158, 2022.[2] M. A. Lebedev and M. A. Nicolelis, “Brain-machineinterfaces: From basic science to neuroprostheses andneurorehabilitation,” Physiological reviews, vol. 97, no. 2,pp. 767–837, 2017.[3] S. Chandrasekaran, M. Fifer, S. Bickel, L. Osborn,J. Herrero, B. Christie, J. Xu, R. K. Murphy, S. Singh,M. F. Glasser et al., “Historical perspectives, challenges,and future directions of implantable brain-computerinterfaces for sensorimotor applications,” Bioelectronicmedicine, vol. 7, no. 1, pp. 1–11, 2021.[4] A. S. Widge, D. D. Dougherty, and C. T. Moritz, “Af-fective brain-computer interfaces as enabling technologyfor responsive psychiatric stimulation,” Brain-ComputerInterfaces, vol. 1, no. 2, pp. 126–136, 2014.[5] J. J. Shih, D. J. Krusienski, and J. R. Wolpaw, “Brain-computer interfaces in medicine,” in Mayo clinic pro-ceedings, vol. 87, no. 3.Elsevier, 2012, pp. 268–279.[6] D. J. McFarland, J. Daly, C. Boulay, and M. A. Parvaz,“Therapeutic applications of BCI technologies,” Brain-Computer Interfaces, vol. 4, no. 1-2, pp. 37–52, 2017.[7] L. Huang and G. van Luijtelaar, “Brain computer inter-face for epilepsy treatment,” Brain-Computer InterfaceSystems-Recent Progress and Future Prospects, 2013.[8] C. M¨uhl, B. Allison, A. Nijholt, and G. Chanel, “A surveyof affective brain computer interfaces: principles, state-of-the-art, and challenges,” Brain-Computer Interfaces,vol. 1, no. 2, pp. 66–84, 2014.[9] G. Buzs´aki, C. A. Anastassiou, and C. Koch, “The Originof Extracellular Fields and Currents — EEG, ECoG, LFPand Spikes,” Nature Reviews Neuroscience, vol. 13, pp.407–420, May 2012.[10] B. Pesaran, M. Vinck, G. T. Einevoll, A. Sirota, P. Fries,M. Siegel, W. Truccolo, C. E. Schroeder, and R. Srini-vasan, “Investigating large-scale brain dynamics usingfield potential recordings: analysis and interpretation,”Nature neuroscience, vol. 21, no. 7, pp. 903–919, 2018.[11] J. del R. Milan and J. M. Carmena, “Invasive orNoninvasive: Understanding Brain-Machine InterfaceTechnology [Conversations in BME],” IEEE Engineeringin Medicine and Biology Magazine, vol. 29, pp. 16–22,Jan 2010.[12] E. Musk et al., “An integrated brain-machine interfaceplatform with thousands of channels,” Journal of medicalInternet research, vol. 21, no. 10, p. e16194, 2019.[13] K. M. Szostak, P. Feng, F. Mazza, and T. G. Con-standinou, “Distributed Neural Interfaces: Challenges andTrends in Scaling Implantable Technology,” Handbookof Neuroengineering, pp. 1–37, 2021.[14] A. B. Rapeaux and T. G. Constandinou, “Implantablebrain machine interfaces: first-in-human studies, tech-nology challenges and trends,” Current opinion inbiotechnology, vol. 72, pp. 102–111, 2021.[15] U.S. Food and Drug Administration, “FDA authorizesmarketing of device to facilitate muscle rehabilitation instroke patients,” https://www.fda.gov/news-events/press-announcements/fda-authorizes-marketing-device-facilitate-muscle-rehabilitation-stroke-patients,April2021.[16] F. T. Sun and M. J. Morrell, “The RNS System:responsive cortical stimulation for the treatment ofrefractory partial epilepsy,” Expert review of medicaldevices, vol. 11, no. 6, pp. 563–572, 2014.[17] Medtronic, “Deep Brain Stimulation Systems - ActivaPC,”https://www.medtronic.com/us-en/healthcare-professionals/products/neurological/deep-brain-stimulation-systems/activa-pc.html, November 2018,Retrieved August 10, 2019.[18] U.S.Food and DrugAdministration, “ImplantedBrain-Computer Interface (BCI) Devices for Patientswith Paralysis or Amputation - Non-clinical Testing andClinical Considerations,” https://www.fda.gov/regulatory-information/search-fda-guidance-documents/implanted-brain-computer-interface-bci-devices-patients-paralysis-or-amputation-non-clinical-testing, February2019, Retrieved August 10, 2019.[19] J. J. Han, “Synchron receives FDA approval to be-gin early feasibility study of their endovascular, brain-computer interface device,” Artificial Organs, vol. 45,no. 10, pp. 1134–1135, 2021.[20] C. Serrano-Amenos, F. Hu, P. T. Wang, S. Kellis,R. A. Andersen, C. Y. Liu, P. Heydari, A. H. Do, andZ. Nenadic, “Thermal analysis of a skull implant in brain-computer interfaces,” in 2020 42nd Annual InternationalConference of the IEEE Engineering in Medicine &Biology Society (EMBC).IEEE, 2020, pp. 3066–3069.[21] P. D. Wolf, “Thermal Considerations for the Design ofan Implanted Cortical Brain-Machine Interface (BMI),”Indwelling Neural Implants: Strategies for Contendingwith the In Vivo Environment, 2008.[22] I. Stevenson and K. Kording, “How Advances in NeuralRecording Affect Data Analysis,” Nature neuroscience,vol. 14, pp. 139–42, 02 2011.[23] I. Karageorgos, K. Sriram, J. Vesel`y, M. Wu, M. Powell,D. Borton, R. Manohar, and A. Bhattacharjee, “Hardware-software co-design for brain-computer interfaces,” in2020 ACM/IEEE 47th Annual International Symposiumon Computer Architecture (ISCA).IEEE, 2020, pp.391–404.[24] R. Zelmann, A. C. Paulk, I. Basu, A. Sarma, A. Yousefi,B. Crocker, E. Eskandar, Z. Williams, G. R. Cosgrove,12
D. S. Weisholtz et al., “CLoSES: A platform for closed-loop intracranial stimulation in humans,” NeuroImage,vol. 223, p. 117314, 2020.[25] V. K. Jirsa, T. Proix, D. Perdikis, M. M. Woodman,H. Wang, J. Gonzalez-Martinez, C. Bernard, C. B´enar,M. Guye, P. Chauvel et al., “The Virtual Epileptic Patient:Individualized whole-brain models of epilepsy spread,”Neuroimage, vol. 145, pp. 377–388, 2017.[26] F. Bartolomei, S. Lagarde, F. Wendling, A. McGonigal,V. Jirsa, M. Guye, and C. B´enar, “Defining epileptogenicnetworks: Contribution of SEEG and signal analysis,”Epilepsia, vol. 58, no. 7, pp. 1131–1147, 2017.[27] Hossein Kassiri, Sana Tonekaboni, M. Tariqus Salam,Nima Soltani, karim Abdelhalim, Jose Luis Perez Ve-lasquez, Roman Genov, “Closed-Loop Neurostimulators:A Survey and A Seizure-Predicting Design Examplefor Intractable Epilepsy Treatment,” IEEE Transactionson Biomedical Circuits and Systems, vol. 11, no. 5, pp.1026–1040, 2017.[28] G. O’Leary and D. M. Groppe and T. A. Valianteand N. Verma and R. Genov, “Nurip: Neural interfaceprocessor for brain-state classification and programmable-waveform neurostimulation,” IEEE Journal of Solid StateCircuits, vol. 53, 2018.[29] J. N. Y. Aziz, K. Abdelhalim, R. Shulyzki, R. Genov, B. L.Bardakjian, M. Derchansky, D. Serletis, and P. L. Carlen,“256-Channel Neural Recording and Delta CompressionMicrosystem With 3D Electrodes,” IEEE Journal ofSolid-State Circuits, vol. 44, no. 3, pp. 995–1005, March2009.[30] T. Chen, C. Jeng, S. Chang, H. Chiueh, S. Liang, Y. Hsu,and T. Chien, “A Hardware Implementation of Real-Time Epileptic Seizure Detector on FPGA,” 2011 IEEEBiomedical Circuits and Systems Conference (BioCAS),pp. 25–28, Nov 2011.[31] N. Ahmadi, M. L. Cavuto, P. Feng, L. B. Leene,M. Maslik, F. Mazza, O. Savolainen, K. M. Szostak, C.-S.Bouganis, J. Ekanayake et al., “Towards a Distributed,Chronically-Implantable Neural Interface,” in 2019 9thInternational IEEE/EMBS Conference on Neural Engi-neering (NER).IEEE, 2019, pp. 719–724.[32] J. Lee, V. Leung, A.-H. Lee, J. Huang, P. Asbeck, P. P.Mercier, S. Shellhammer, L. Larson, F. Laiwalla, andA. Nurmikko, “Neural recording and stimulation usingwireless networks of microimplants,” Nature Electronics,vol. 4, no. 8, pp. 604–614, 2021.[33] B. Zhu, U. Shin, and M. Shoaran, “Closed-Loop NeuralProstheses With On-Chip Intelligence: A Review and aLow-Latency Machine Learning Model for Brain StateDetection,” IEEE Transactions on Biomedical Circuitsand Systems, 2021.[34] C. Zrenner, P. Belardinelli, F. M¨uller-Dahlhaus, andU. Ziemann, “Closed-Loop Neuroscience and Non-Invasive Brain Stimulation: A Tale of Two Loop,”Frontiers in cellular neuroscience, vol. 10, p. 92, 2016.[35] M. D. Murphy, D. J. Guggenmos, D. T. Bundy, andR. J. Nudo, “Current Challenges Facing the Translationof Brain Computer Interfaces from Preclinical Trials toUse in Human Patients,” Front Cell Neurosci, vol. 9, p.497, 2015.[36] A. O. Hebb, J. J. Zhang, M. H. Mahoor, C. Tsiokos,C. Matlack, H. J. Chizeck, and N. Pouratian, “Creatingthe feedback loop: Closed loop neurostimulation,” Neu-rosurgery Clinics of North America, vol. 25, no. 1, pp.187–204, 2014.[37] V. Sladky, P. Nejedly, F. Mivalt, B. H. Brinkmann, I. Kim,E. K. St. Louis, N. M. Gregg, B. N. Lundstrom, C. M.Crowe, T. P. Attia et al., “Distributed brain co-processorfor tracking spikes, seizures and behaviour during elec-trical brain stimulation,” Brain Communications, vol. 4,no. 3, p. fcac115, 2022.[38] M. A. Kural, J. Jing, F. F¨urbass, H. Perko, E. Qerama,B. Johnsen, S. Fuchs, M. B. Westover, and S. Beniczky,“Accurate identification of EEG recordings with interictalepileptiform discharges using a hybrid approach: Artifi-cial intelligence supervised by human experts,” Epilepsia,vol. 63, no. 5, pp. 1064–1073, 2022.[39] J. D. Simeral, T. Hosman, J. Saab, S. N. Flesher,M. Vilela, B. Franco, J. N. Kelemen, D. M. Brandman,J. G. Ciancibello, P. G. Rezaii et al., “Home Use ofa Percutaneous Wireless Intracortical Brain-ComputerInterface by Individuals With Tetraplegia,” IEEE Trans-actions on Biomedical Engineering, vol. 68, no. 7, pp.2313–2325, 2021.[40] M. Yin, D. A. Borton, J. Komar, N. Agha, Y. Lu,H. Li, J. Laurens, Y. Lang, Q. Li, C. Bull et al., “Wire-less Neurosensor for Full-Spectrum ElectrophysiologyRecordings during Free Behavior,” Neuron, vol. 84, no. 6,pp. 1170–1182, 2014.[41] S. M. Kim, P. Tathireddy, R. Normann, and F. Solzbacher,“Thermal Impact of an Active 3-D Microelectrode ArrayImplanted in the Brain,” IEEE Transactions on NeuralSystems and Rehabilitation Engineering, vol. 15, pp.493–501, Dec 2007.[42] O. Sporns, “Graph theory methods: applications in brainnetworks,” Dialogues in clinical neuroscience, 2022.[43] M. T. Bilge, A. K. Gosai, and A. S. Widge, “Deep BrainStimulation in Psychiatry,” Psychiatric Clinics, vol. 41,no. 3, pp. 373–383, 2018.[44] G. Deco and M. L. Kringelbach, “Great Expectations:Using Whole-Brain Computational Connectomics forUnderstanding Neuropsychiatric Disorders,” Neuron,vol. 84, no. 5, pp. 892–905, 2014.[45] J. A. Gallego, T. R. Makin, and S. D. McDougle, “Goingbeyond primary motor cortex to improve brain–computerinterfaces,” Trends in Neurosciences, vol. 45, no. 3, pp.176–183, 2022.[46] D. Camargo-Vargas, M. Callejas-Cuervo, and S. Maz-zoleni, “Brain-Computer Interfaces Systems for Upperand Lower Limb Rehabilitation: A Systematic Review,”Sensors, vol. 21, no. 13, p. 4312, 2021.[47] S. J. Bensmaia and L. E. Miller, “Restoring sensorimotor13
function through intracortical interfaces: progress andlooming challenges,” Nature Reviews Neuroscience,vol. 15, no. 5, pp. 313–325, 2014.[48] S. Todorova, P. Sadtler, A. Batista, S. Chase, and V. Ven-tura, “To sort or not to sort: the impact of spike-sortingon neural decoding performance,” Journal of neuralengineering, vol. 11, no. 5, p. 056005, 2014.[49] H. G. Rey, C. Pedreira, and R. Q. Quiroga, “Past, presentand future of spike sorting techniques,” Brain researchbulletin, vol. 119, pp. 106–117, 2015.[50] H. Shiao, V. Cherkassky, J. Lee, B. Veber, E. E. Patterson,B. H. Brinkmann, and G. A. Worrell, “SVM-BasedSystem for Prediction of Epileptic Seizures From iEEGSignal,” IEEE Transactions on Biomedical Engineering,vol. 64, no. 5, pp. 1011–1022, May 2017.[51] I. K. Niazi, N. Jiang, O. Tiberghien, J. F. Nielsen,K. Dremstrup, and D. Farina, “Detection of movementintention from single-trial movement-related corticalpotentials,” Journal of Neural Engineering, vol. 8, no. 6,p. 066009, 2011.[52] M. Jochumsen, I. K. Niazi, H. Rovsing, C. Rovsing, G. A.Nielsen, T. K. Andersen, N. Dong, M. E. Sørensen,N. Mrachacz-Kersting, N. Jiang et al., “Detection ofmovement intentions through a single channel of elec-troencephalography,” in Replace, Repair, Restore, Relieve–Bridging Clinical and Engineering Solutions in Neurore-habilitation.Springer, 2014, pp. 465–472.[53] C. L. Ojakangas, A. Shaikhouni, G. M. Friehs, A. H.Caplan, M. D. Serruya, M. Saleh, D. S. Morris, and J. P.Donoghue, “Decoding Movement Intent From HumanPremotor Cortex Neurons for Neural Prosthetic Appli-cations,” Journal of Clinical Neurophysiology: OfficialPublication of the American ElectroencephalographicSociety, vol. 23, no. 6, p. 577, 2006.[54] J. F. Kalaska, “From Intention to Action: Motor Cortexand the Control of Reaching Movements,” Progress inMotor Control, pp. 139–178, 2009, series Title: Advancesin Experimental Medicine and Biology.[55] A. Shakeel, M. S. Navid, M. N. Anwar, S. Mazhar,M. Jochumsen, and I. K. Niazi, “A Review of Techniquesfor Detection of Movement Intention Using Movement-Related Cortical Potentials,” Computational and Mathe-matical Methods in Medicine, vol. 2015, 2015.[56] D. M. Taylor, S. I. H. Tillery, and A. B. Schwartz,“Direct Cortical Control of 3D Neuroprosthetic Devices,”Science, vol. 296, no. 5574, pp. 1829–1832, 2002.[57] E. E. Fetz, “Restoring motor function with bidirectionalneural interfaces,” Progress in Brain Research, vol. 218,pp. 241–252, 2015.[58] M. Capogrosso, T. Milekovic, D. Borton, F. Wagner, E. M.Moraud, J.-B. Mignardot, N. Buse, J. Gandar, Q. Barraud,D. Xing et al., “A Brain–Spine Interface Alleviating GaitDeficits after Spinal Cord Injury in Primates,” Nature,vol. 539, no. 7628, pp. 284–288, 2016.[59] K.-R. Muller, C. Anderson, and G. Birch, “Linear andnonlinear methods for brain-computer interfaces,” IEEETransactions on Neural Systems and RehabilitationEngineering, vol. 11, no. 2, pp. 165–169, 2003.[60] R. Darie, M. Powell, and D. Borton, “Delivering theSense of Touch to the Human Brain,” Neuron, vol. 93,no. 4, pp. 728–730, 2017.[61] S. Tafazoli, C. J. MacDowell, Z. Che, K. C. Letai, C. R.Steinhardt, and T. J. Buschman, “Learning to control thebrain through adaptive closed-loop patterned stimulation,”Journal of Neural Engineering, vol. 17, no. 5, p. 056007,2020.[62] U. Rutishauser, E. M. Schuman, and A. N. Mamelak,“Online detection and sorting of extracellularly recordedaction potentials in human medial temporal lobe record-ings, in vivo,” Journal of Neuroscience Methods, vol.154, no. 1-2, pp. 204–224, 2006.[63] B. Sotomayor-G´omez, F. P. Battaglia, and M. Vinck,“SpikeShip: A method for fast, unsupervised discoveryof high-dimensional neural spiking patterns,” bioRxiv,pp. 2020–06, 2021.[64] L. Grossberger, F. P. Battaglia, and M. Vinck, “Unsuper-vised clustering of temporal patterns in high-dimensionalneuronal ensembles using a novel dissimilarity measure,”PLoS Comput Biol, vol. 14, no. 7, p. e1006283, 07 2018.[65] Y. B. Kim, “Physiological Time Series Retrieval andPrediction with Locality-Sensitive Hashing,” Ph.D. dis-sertation, Massachusetts Institute of Technology, 2017.[66] Y. Cao, N. Rakhilin, P. H. Gordon, X. Shen, and E. C.Kan, “A real-time spike classification method based ondynamic time warping for extracellular enteric neuralrecording with large waveform variability,” Journal ofNeuroscience Methods, vol. 261, pp. 97–109, 2016.[67] C. Luo and A. Shrivastava, “SSH (Sketch, Shingle, &Hash) for Indexing Massive-Scale Time Series,” in NIPS2016 Time Series Workshop.PMLR, 2017, pp. 38–58.[68] D. Gorisse, M. Cord, and F. Precioso, “Locality-SensitiveHashing for Chi2 Distance,” IEEE Transactions onPattern Analysis and Machine Intelligence, vol. 34, no. 2,pp. 402–409, 2011.[69] A. Bhattacharjee and R. Manohar, “HALO: A Flexibleand Low Power Processing Fabric for Brain-ComputerInterfaces,” in 2022 IEEE Hot Chips 34 Symposium(HCS).IEEE Computer Society, 2022, pp. 1–37.[70] I. Karageorgos, K. Sriram, J. Vesel´y, N. Lindsay, X. Wen,M. Wu, M. Powell, D. Borton, R. Manohar, and A. Bhat-tacharjee, “Balancing specialized versus flexible compu-tation in brain–computer interfaces,” IEEE Micro, vol. 41,no. 3, pp. 87–94, 2021.[71] F. T. Sun and M. J. Morrell, “Closed-loop Neurostim-ulation: The Clinical Experience,” Neurotherapeutics,vol. 11, no. 3, pp. 553–563, 2014.[72] G. W. V. Vidal, M. L. Rynes, Z. Kelliher, and S. J.Goodwin, “Review of Brain-Machine Interfaces Used inNeural Prosthetics with New Perspective on Somatosen-sory Feedback through Method of Signal Breakdown,”Scientifica, vol. 2016, 2016.[73] C. Herff, D. J. Krusienski, and P. Kubben, “The Poten-14
tial of Stereotactic-EEG for Brain-Computer Interfaces:Current Progress and Future Directions,” Frontiers inNeuroscience, vol. 14, p. 123, 2020.[74] D. Karger, E. Lehman, T. Leighton, R. Panigrahy,M. Levine, and D. Lewin, “Consistent Hashing and Ran-dom Trees: Distributed Caching Protocols for RelievingHot Spots on the World Wide Web,” in ACM Symposiumon Theory of Computing (STOC), 1997.[75] J. Kruskall and M. Liberman, “The symmetric timewarping algorithm: From continuous to discrete,” TimeWarps, String Edits and Macromolecules: The Theoryand Practice of Sequence Comparison, 1983.[76] H. Sakoe and S. Chiba, “Dynamic programming al-gorithm optimization for spoken word recognition,”IEEE Transactions on Acoustics, Speech, and SignalProcessing, vol. 26, pp. 159–165, 1978.[77] O. Pele and M. Werman, “Fast and robust Earth Mover’sDistances,” in 2009 IEEE 12th international conferenceon computer vision.IEEE, 2009, pp. 460–467.[78] I. M. Pu, Fundamental data compression.Butterworth-Heinemann, 2005.[79] P. Elias, “Universal codeword sets and representations ofthe integers,” IEEE Transactions on Information Theory,vol. 21, no. 2, pp. 194–203, 1975.[80] N. Bingham and R. Manohar, “Qdi constant-time coun-ters,” IEEE Transactions on Very Large Scale Integration(VLSI) Systems, vol. 27, no. 1, pp. 83–91, 2018.[81] W. W. Peterson and D. T. Brown, “Cyclic codes forerror detection,” Proceedings of the IRE, vol. 49, no. 1,pp. 228–235, 1961.[82] K. Yun and R. Donohue, “Pausible clocking: a firststep toward heterogeneous systems,” in ProceedingsInternational Conference on Computer Design. VLSIin Computers and Processors, 1996, pp. 118–123.[83] A. Moreno and J. Cortadella, “Synthesis of all-digitaldelay lines,” in 2017 23rd IEEE International Symposiumon Asynchronous Circuits and Systems (ASYNC), 2017,pp. 75–82.[84] D. Mills, “Simple Network Time Protocol (SNTP),” RFCEditor, RFC 1769, 1995.[85] D. D. Chamberlin and R. F. Boyce, “SEQUEL: Astructured English query language,” in Proceedings ofthe 1974 ACM SIGFIDET (now SIGMOD) workshop onData description, access and control.Association forComputing Machinery, 1974, pp. 249–264.[86] BlackrockMicrosystems,“TheBenchmarkforMultichannel, High-density Neural Recording,” https://www.blackrockmicro.com/electrode-types/utah-array/,Retrieved August 10, 2019.[87] J. Shen, A. Shikata, L. D. Fernando, N. Guthrie, B. Chen,M. Maddox, N. Mascarenhas, R. Kapusta, and M. C. W.Coln, “A 16-bit 16-ms/s sar adc with on-chip calibrationin 55-nm cmos,” IEEE Journal of Solid-State Circuits,vol. 53, no. 4, pp. 1149–1160, 2018.[88] Medtronic,“MedtronicActivaPCMulti-programneurostimulatorimplantmanual,”http://www.neuromodulation.ch/sites/default/files/pictures/activa PC DBS implant manuel.pdf,2008,Retrieved August 10, 2019.[89] H. Rahmani and A. Babakhani, “A wirelessly poweredreconfigurable fdd radio with on-chip antennas for multi-site neural interfaces,” IEEE Journal of Solid-StateCircuits, vol. 56, no. 10, pp. 3177–3190, 2021.[90] J. W. Young, “Head and Face Anthropometry of AdultU.S. Citizens,” Federal Aviation Administration, Tech.Rep., 1993.[91] A. F. Molisch, K. Balakrishnan, C.-C. Chong, S. Emami,A. Fort, J. Karedal, J. Kunisch, H. Schantz, U. Schuster,and K. Siwiak, “IEEE 802.15. 4a channel model-finalreport,” IEEE P802, vol. 15, no. 04, p. 0662, 2004.[92] M. S¨arest¨oniemi, C. Pomalaza-Raez, K. Sayrafian,T. Myllyl¨a, and J. Iinatti, “A Preliminary Study ofRF Propagation for High Data Rate Brain Telemetry,”in Body Area Networks. Smart IoT and Big Datafor Intelligent Health Management.Cham: SpringerInternational Publishing, 2022, pp. 126–138.[93] A. Taparugssanagorn, A. Rabbachin, M. H¨am¨al¨ainen,J. Saloranta, J. Iinatti et al., “A Review of ChannelModelling for Wireless Body Area Network in Wire-less Medical Communications,” The 11th InternationalSymposium on Wireless Personal Multimedia Communi-cations (WPMC, 2008.[94] “MT29F128G08AKCABH2-10,”https://www.micron.com/products/nand-flash/slc-nand/part-catalog/mt29f128g08akcabh2-10, Retrieved November17, 2022.[95] X. Dong, C. Xu, Y. Xie, and N. P. Jouppi, “Nvsim:A circuit-level performance, energy, and area modelfor emerging nonvolatile memory,” IEEE Transactionson Computer-Aided Design of Integrated Circuits andSystems, vol. 31, no. 7, pp. 994–1007, 2012.[96] J. Magland, J. J. Jun, E. Lovero, A. J. Morley, C. L.Hurwitz, A. P. Buccino, S. Garcia, and A. H. Barnett,“SpikeForest, reproducible web-facing ground-truth vali-dation of automated neural spike sorters,” Elife, vol. 9,p. e55167, 2020.[97] “IEEG.ORG,” https://www.ieeg.org, Retrieved November17, 2022.[98] P. Shah, A. Ashourvan, F. Mikhail, A. Pines, L. Kini,K. Oechsel, S. R. Das, J. M. Stein, R. T. Shinohara, D. S.Bassett et al., “Characterizing the role of the structuralconnectome in seizure dynamics,” Brain, vol. 142, no. 7,pp. 1955–1972, 2019.[99] J. E. Chung, J. F. Magland, A. H. Barnett, V. M. Tolosa,A. C. Tooker, K. Y. Lee, K. G. Shah, S. H. Felix,L. M. Frank, and L. F. Greengard, “A Fully AutomatedApproach to Spike Sorting,” Neuron, vol. 95, no. 6, pp.1381–1394, 2017.[100] L. E. Shupe, F. P. Miles, G. Jones, R. Yun, J. Mish-ler, I. Rembado, R. L. Murphy, S. I. Perlmutter, andE. E. Fetz, “Neurochip3: An Autonomous MultichannelBidirectional Brain-Computer Interface for Closed-Loop15
Activity-Dependent Stimulation,” Frontiers in Neuro-science, vol. 15, 2021.[101] J. E. Chung, H. R. Joo, J. L. Fan, D. F. Liu, A. H.Barnett, S. Chen, C. Geaghan-Breiner, M. P. Karlsson,M. Karlsson, K. Y. Lee et al., “High-Density, Long-Lasting, and Multi-region Electrophysiological Record-ings Using Polymer Electrode Arrays,” Neuron, vol. 101,no. 1, pp. 21–31, 2019.[102] D. Wu, J. Li, Z. Pan, Y. Kim, and J. S. Miguel, “uBrain:A Unary Brain Computer Interface,” in Proceedings ofthe 49th Annual International Symposium on ComputerArchitecture.Association for Computing Machinery,2022, pp. 468–481.[103] E. M. Stewart, A. Liao, and C. Roberts, “Open µpmu:A real world reference distribution micro-phasor mea-surement unit data set for research and applicationdevelopment,” IEEE Power Engineering Letters, 2016.16
123version https://git-lfs.github.com/spec/v1oid sha256:2f88bf288ead57d18ca1c677782893709bc3780043189d23d152370239a7b580size 2293805123version https://git-lfs.github.com/spec/v1oid sha256:2494581eeb464decb1038b755bf34e72c25be7b61c343273019c7b90256f6d87size 3538989123version https://git-lfs.github.com/spec/v1oid sha256:efe35316418bc3a45a60f2aa18e9e5dffdc1f5d7a1a5c61a2ab4d43f2e055586size 1696742123version https://git-lfs.github.com/spec/v1oid sha256:f3ef0febf4e2b5dc5322e0ead6534829dfb063854f43b8f841b09582d00d47bdsize 2293805123version https://git-lfs.github.com/spec/v1oid sha256:f47c1916c7fb2e83b61925986e80072f341e2de20ad01df43e69747e9fff0595size 10399712345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744arXiv:2301.02417v1 [cs.IT] 6 Jan 20231Uplink Precoding Design for Cell-Free MassiveMIMO with Iteratively Weighted MMSEZhe Wang, Jiayi Zhang, Senior Member, IEEE, Hien Quoc Ngo, Senior Member, IEEE,Bo Ai, Fellow, IEEE and M´erouane Debbah, Fellow, IEEEAbstractIn this paper, we investigate a cell-free massive multiple-input multiple-output system with both access pointsand user equipments equipped with multiple antennas over the Weichselberger Rayleigh fading channel. We studythe uplink spectral efficiency (SE) for the fully centralized processing scheme and large-scale fading decoding(LSFD) scheme. To further improve the SE performance, we design the uplink precoding schemes based onthe weighted sum SE maximization. Since the weighted sum SE maximization problem is not jointly over alloptimization variables, two efficient uplink precoding schemes based on Iteratively Weighted sum-Minimum MeanSquare Error (I-WMMSE) algorithms, which rely on the iterative minimization of weighted MSE, are proposed fortwo processing schemes investigated. Furthermore, with maximum ratio combining applied in the LSFD scheme,we derive novel closed-form achievable SE expressions and optimal precoding schemes. Numerical results validatethe proposed results and show that the I-WMMSE precoding schemes can achieve excellent sum SE performancewith a large number of UE antennas.Index TermsCell-free massive MIMO, uplink precoding, weighted sum-rate maximization, spectral efficiency.I. INTRODUCTIONCell-free massive multiple-input multiple-output (CF mMIMO) has attracted a lot of research interestand is regarded as a promising technology for future wireless communications, for its ability to achieveThis article was presented in part at IEEE International Conference on Communications 2022 [1].Z. Wang and J. Zhang are with the School of Electronic and Information Engineering, Beijing Jiaotong University, Beijing 100044, China,and also with the Frontiers Science Center for Smart High-speed Railway System, Beijing Jiaotong University, Beijing 100044, China (e-mail:{zhewang 77, jiayizhang}@bjtu.edu.cn).H. Q. Ngo is with the Institute of Electronics, Communications, and Information Technology, Queen’s University Belfast, BT3 9DT Belfast,U.K. (email: hien.ngo@qub.ac.uk).B. Ai is with the State Key Laboratory of Rail Traffic Control and Safety, Beijing Jiaotong University, Beijing 100044, China, also withthe Frontiers Science Center for Smart High-Speed Railway System and the Henan Joint International Research Laboratory of IntelligentNetworking and Data Analysis, Zhengzhou University, Zhengzhou 450001, China, and also with the Research Center of Networks andCommunications, Peng Cheng Laboratory, Shenzhen 518066, China (e-mail: boai@bjtu.edu.cn).M. Debbah is with the Technology Innovation Institute, Abu Dhabi, United Arab Emirates, and also with CentraleSup´elec, UniversityParis-Saclay, 91192 Gif-sur-Yvette, France (e-mail: merouane.debbah@tii.ae).
2uniformly high spectral efficiency (SE) [2]–[7]. Basically, a large number of access points (APs), arbitrarilydistributed in a wide coverage area and connected to one or several central processing units (CPUs), jointlyserve all user equipments (UEs) on the same time-frequency resource. Compared with the traditionalcellular mMIMO system, the CF mMIMO system operates with no cell boundaries and many more APsthan UEs [8]–[10]. Relying upon the prominent network topology of CF mMIMO, four uplink (UL)signal processing schemes, distinguished from levels of the mutual cooperation between all APs and theassistance from the CPU, can be implemented as [5]. Among these schemes, the “Level 4” and “Level 3” areviewed as efficient processing techniques. The so-called Level 4 is a fully-centralized processing schemewhere all the pilot and data signals received at APs are transmitted to the CPU via the fronthaul linksand the CPU performs channel estimation and data detection. The similar scheme was also investigatedin [11]–[13]. The so-called Level 3 stands for a two layer decoding scheme: in the first layer, each APestimates channels and decodes the UE data locally by applying an arbitrary combining scheme basedon the local channel state information (CSI); in the second layer, all the local estimates of the UE dataare gathered at the CPU in which they are linearly weighted by the optimal large-scale fading decoding(LSFD) coefficient to obtain the final decoding data. The LSFD scheme has been widely investigated in[14]–[17] since it can make full use of the prominent network topology for CF mMIMO and achieveexcellent performance.To promote the practical implementation of the CF mMIMO network, a new framework of scalable CFmMIMO system and its respective processing algorithms were proposed in [9] by exploiting the dynamiccooperation cluster (DCC) concept. Besides, the scalability aspects in a realistic scenario with multipleCPUs were considered in [18], where the data processing, network topology and power control strategieswith multiple CPUs were discussed. Moreover, the authors of [19] considered the uplink of a radio-strip-based CF mMIMO network architecture with sequential fronthaul links between APs and proposed MMSE-based sequential processing schemes, which significantly reduced the fronthaul requirement. However,when the CF mMIMO network is operated in practice, a more practical capacity-constrained fronthaulnetwork would have a great effect on the system performance. The authors of [20] and [21] discussedthe uplink performance of a CF mMIMO system with limited capacity fronthaul links. Furthermore, itis worth noting that the CF mMIMO architecture has been co-designed with another promising futurewireless technology: Reconfigurable Intelligent Surface (RIS) [22], [23], which would undoubtedly providevital tutorials for the future wireless network design.
3The vast majority of scientific papers on CF mMIMO focus on the scenario with single-antenna UEs.However, in practice, contemporary UEs with moderate physical sizes have already been equipped withmultiple antennas to achieve higher multiplexing gain and boost the system reliability. The authors of [24]investigated the UL performance of a CF mMIMO system with multi-antenna UEs over maximum ratio(MR) combining and zero-forcing (ZF) combining. The authors of [25] considered a user-centric (UC)approach for CF mMIMO with multi-antenna UEs and proposed power allocation strategies for either sum-rate maximization or minimum-rate maximization. Besides, the authors of [26] analyzed the downlink SEperformance for a CF mMIMO system with multi-antenna UEs and computed SE expressions in closed-form. Then, the SE performance for a CF mMIMO system with multi-antenna UEs and low-resolutionDACs was investigated in [27]. Nevertheless, these works only investigated a simple distributed processingscheme and are based on the overly idealistic assumption of independent and identically distributed (i.i.d.)Rayleigh fading channels, neglecting the spatial correlation that has a significant impact on practical CFmMIMO systems [15], [16]. The authors of [28] considered a CF mMIMO system with multi-antennaUEs over the jointly-correlated Weichselberger model [29] and analyzed four UL processing schemes.As observed in [26], [28], increasing the number of antennas per UE may not always benefit the SEperformance. The SE would reach the maximum value with particular number of antennas per UE, thendecrease with the increase of number of antennas per UE. One main reason for this phenomenon isthat the UEs cannot make full use of the benefit of equipping with multiple antennas to achieve higherSE performance without UL precoding schemes. So it is undoubtedly vital to design the UL precodingscheme to further improve the performance of systems. However, it is worth noting that the design ofUL precoding for CF mMIMO has not been investigated. For the traditional mMIMO or MIMO systems,one popular optimization objective for the uplink/downlink precoding design is to maximize the weightedsum rate (WSR) [30]–[33]. The authors of [30] and [32] discussed the equivalence between the WSRmaximization problem and the Weighted sum-Minimum Mean Square Error (WMMSE) problem in MIMOsystems and proposed an iteratively downlink transceiver design algorithm for the WSR maximization.Note that the algorithm relies on the iterative minimization of weighted MSE since the WMMSE problemare not jointly convex over all optimization variables. Moreover, the authors of [31] investigated the ULprecoding scheme optimization based on [30] under sum-power-constraint or individual-power-constraint.Motivated by the above observations, we investigate a CF mMIMO system with both multi-antennaAPs and UEs over the Weichselberger Rayleigh fading channel. Two pragmatic processing schemes: 1)
4the fully centralized processing scheme; 2) the large-scale fading decoding scheme are implemented. Themain contributions are given as follows.• We design an efficient UL precoding scheme to maximize the WSR for the fully centralized processingscheme based on an iteratively WMMSE (I-WMMSE) algorithm. Note that the design of I-WMMSEprecoding scheme for the fully centralized processing scheme is implemented at the CPU and basedon the instantaneous CSI.• For the LSFD processing scheme, we derive a UL precoding scheme for the WSR maximizationbased on an iteratively WMMSE algorithm. The design of I-WMMSE precoding scheme for theLSFD scheme is implemented at the CPU but based only on channel statistics. More importantly,we compute achievable SE expressions and optimal precoding schemes in novel closed-form for theLSFD scheme with MR combining.• We analyze the practical implementation and computation complexity for the proposed I-WMMSEprecoding schemes. It is found that the proposed I-WMMSE precoding schemes can be guaranteedto converge. More importantly, the proposed UL precoding schemes are efficient to achieve excellentsum SE/rate performance and the average rate benefits from the multiple antennas at the UE-side,which undoubtedly provides vital insights for the practical implementation of multi-antenna UEs.Note that this paper differs from the conference version [1] in the following aspects: i) we investigatethe fully centralized processing/LSFD schemes and design their respective UL precoding schemes, whileonly the LSFD scheme was considered in [1]; ii) we provide details for the derivation of the I-WMMSEprecoding schemes, which are omitted in [1] due to the lack of space; iii) we analyze the practical im-plementation and convergence behavior of the proposed precoding schemes. More importantly, numericalresults show vital insights for the CF mMIMO system with the proposed UL precoding schemes.The rest of this paper is organized as follows. In Section II, we consider a CF mMIMO system with theWeichselberger Rayleigh fading channel, and describe the channel estimation and data detection. Then,Section III introduces the fully centralized processing and LSFD processing schemes, and provides theirrespective achievable SE expressions. Novel closed-form SE expressions for the LSFD scheme with MRcombining are derived. More importantly, based on the achievable SE expressions, we propose UL I-WMMSE precoding schemes for two processing schemes. Then, Section IV provides some insights forthe practical implementation and computation complexity of proposed I-WMMSE precoding schemes. InSection V, numerical results and performance analysis for the I-WMMSE precoding schemes are provided.
5CPUFronthaul Fig. 1. A cell-free massive MIMO system.Finally, the major conclusions and future directions are drawn in Section VI.Notation: Lowercase letters x and boldface uppercase letters X denote the column vectors and matrices,respectively. E {·}, tr {·} and ≜ are the expectation operator, the trace operator, and the definitions,respectively. |·|, ∥·∥ and ∥·∥F are the determinant of a matrix or the absolute value of a number, theEuclidean norm and the Frobenious norm, respectively. vec (A) denotes a column vector formed by thestack of the columns of A. The n×n identity matrix is represented by In×n. The Kronecker products andthe element-wise products are denoted by ⊗ and ⊙, respectively. Finally, x ∼ NC (0, R) is a circularlysymmetric complex Gaussian distribution vector with correlation matrix R.II. SYSTEM MODELIn this paper, we investigate a CF mMIMO system consisting of M APs and K UEs, where all APsare connected to one or several CPUs via fronthaul links as shown in Fig. 1. For simplicity, there is onlyone CPU and all APs serve all UEs1. The numbers of antennas per AP and UE are L and N, respectively.A standard block fading model is investigated, in which the channel response is constant and frequencyflat in a coherence block of τc-length (channel uses). Let τp and τc − τp denote channel uses dedicatedfor the channel estimation and data transmission, respectively. We denote by Hmk ∈ CL×N the channelresponse between AP m and UE k. We assume that Hmk for different AP-UE pairs are independent.A. Channel ModelBased on the jointly-correlated (also known as the Weichselberger model [29]) Rayleigh fading channel2,Hmk is modeled asHmk = Umk,r�˜Ωmk ⊙ Hmk,iid�UHmk,t(1)1As shown in Fig. 1, a more practical network topology is with multiple CPUs and dynamic cooperation clusters, where each UE is onlyserved by a cluster of APs and the APs are grouped into cell-centric clusters. Each cell-centric cluster is connected to a particular CPU.2Note that the Rayleigh fading channel is a special case of the Rician fading channel. And the performance gap between the Ricianchannel and the Rayleigh channel is small [34]. However, the focus of this paper is not on the channel model but on the UL precodingscheme design. So for the simplicity of analysis, we investigate an essential Rayleigh fading channel by assuming there is no line-of-sight(LoS) link between each UE and AP.
0000000000006where Umk,r = [umk,r,1, · · · , umk,r,L] ∈ CL×L and Umk,t = [umk,t,1, · · · , umk,t,N] ∈ CN×N are the eigen-vector matrices of the one-sided correlation matrices Rmk,r ≜ E�HmkHHmk�and Rmk,t ≜ E�HTmkH∗mk�,and Hmk,iid ∈ CL×N is composed of i.i.d. NC (0, 1) random entries, respectively. Besides, we denoteby Ωmk ≜ ˜Ωmk ⊙ ˜Ωmk ∈ RL×N the “eigenmode coupling matrix” with the (l, n)-th element [Ωmk]lnspecifying the average amount of power coupling from umk,r,l to umk,t,n. Hmk can also be formed asHmk = [hmk,1, · · · , hmk,N] with hmk,n ∈ CL being the channel between AP m and n-th antenna of UEk. By stacking the columns of Hmk on each other, we define hmk ≜ vec (Hmk) = [hTmk,1, · · · , hTmk,N]T ∼NC (0, Rmk), where Rmk ≜ E{hmkhHmk} is the full correlation matrixRmk = (U∗mk,t ⊗ Umk,r)diag (vec (Ωmk)) (U∗mk,t ⊗ Umk,r)H.(2)Moreover, note that Rmk can be structured into the block form as [28] with the (n, i)-th submatrixbeing Rnimk = E{hmk,nhHmk,i}. Besides, the large-scale fading coefficient βmk can be extracted from Rmkas βmk =1LN tr (Rmk) =1LN ∥Ωmk∥1. It is worth mentioning that the motivations for adopting theWeichselberger channel model are: 1) The Weichselberger model investigated in (1) not only capturesthe correlation features at both the AP-side and UE-side but models the joint correlation dependencebetween each AP-UE pair through the coupling matrix; 2) The coupling matrix Ωmk reflects the practicalspatial arrangement of scattering objects between AP m and UE k. More significantly, the Weichselbergermodel can reduce to most channel models of great interest by adjusting the coupling Ωmk to particularformulation, such as the Kronecker model and i.i.d. Rayleigh fading model [28], [29]; 3) Compared withother stochastic channel models, the Weichselberger model displays significantly less modeling error,which is validated based on the practical measurement in [29].B. Channel EstimationFor the channel estimation, mutually orthogonal pilot matrices are constructed and each pilot matrixis composed of N mutually orthogonal pilot sequences. We denote by Φk the pilot matrix assigned toUE k with ΦHk Φl = τpIN, ifl = k and 0 otherwise. And Pk is the index subset of UEs using thesame pilot matrix as UE k including itself. When all UEs transmit their pilot matrices, the receivedsignal at AP m Ypmk ∈ CL×τp is Ypm = �Kk=1 HmkFk,pΦTk + Npm, where Fk,p ∈ CN×N is the precodingmatrix for UE k under the phase of pilot transmission, Npm ∈ CL×τp is the additive noise at AP m withindependent NC(0, σ2) entries and σ2 being the noise power, respectively. The pilot transmission shouldbe implemented under the power constraint as tr(Fk,pFHk,p) ⩽ pk, where pk is the maximum transmitpower for UE k. To derive sufficient statistics for hmk, AP m projects Ypmk onto Φ∗k as Ypmk = YpmΦ∗k =
7�Kl=1 HmlFl,p�ΦTl Φ∗k�+NpmΦ∗k = �l∈Pk τpHmlFl,p + Qpmk, where Qpmk ≜ NpmΦ∗k. Then, following thestandard MMSE estimation steps in [35] and [36], AP m can compute the MMSE estimation of hmk asˆhmk = vec( ˆHmk) = Rmk˜FHk,pΨ−1mkypmk,(3)where ˆHmk is the MMSE estimation of Hmk, ˜Fk,p = FTk,p⊗IL, ypmk ≜ vec (Ypmk) = �l∈Pk τp˜Fl,phml + qpm,qpm = vec (Qpmk) and Ψmk = �l∈Pk τp˜Fl,pRml˜FHl,p + σ2ILN, respectively. Note that the estimate ˆhmk andestimation error ˜hmk = hmk − ˆhmk are independent random vectors distributed as ˆhmk ∼ NC(0, ˆRmk)and ˜hmk ∼ NC(0, Cmk), where ˆRmk ≜ τpRmk˜FHk,pΨ−1mk˜Fk,pRmk and Cmk ≜ Rmk − ˆRmk. We can alsoform ˆRmk and Cmk in the block structure with the (n, i)-th submatrix being ˆRnimk = E{ˆhmk,nˆhHmk,i} andCnimk = E{˜hmk,n˜hHmk,i}, respectively.C. Data TransmissionFor the data transmission, all antennas of all UEs simultaneously transmit their data symbols to allAPs. The received signal ym ∈ CL at AP m isym =K�k=1Hmksk + nm,(4)where nm ∼ NC(0, σ2IL) is the independent receiver noise. The transmitted signal from UE k sk ∈ CNcan be constructed as sk = Fk,uxk, where xk ∼ NC(0, IN) is the data symbol for UE k and Fk,u ∈ CN×Nis the precoding matrix for the data transmission which should satisfy the power constraint of UE k astr(Fk,uFHk,u) ⩽ pk.III. SPECTRAL EFFICIENCY ANALYSIS AND I-WMMSE PRECODING DESIGNIn this section, we investigate two promising signal processing schemes, called “fully centralized pro-cessing” and “LSFD processing”, and analyze their corresponding SE performance and design respectiveiteratively WMMSE precoding schemes3.A. Fully Centralized Processing1) Spectral Efficiency Analysis: For the fully centralized processing scheme, all M APs send all thereceived pilot signals and data signals to the CPU. Indeed, both the channel estimation and data detectionare implemented at the CPU. The collective channel hk ∈ CMLN for UE k can be constructed as hk =[vec(H1k)T, · · · , vec(HMk)T]T ∼ NC(0, Rk) with Rk = diag (R1k, · · · , RMk) ∈ CMLN×MLN being the3We only optimize the precoding matrices for the phase of data transmission Fk,u. The optimization of Fk,p is left for future research.Although we do not design Fk,p in this paper, we try to keep the derived equations more generalized. So a scenario with arbitrary Fk,pinstead of limiting Fk,p to a particular form is investigated. It is worth noting that all equations in this paper hold for any Fk,p so undoubtedlyprovide some important guidelines for the investigation of optimization design for Fk,p in the future work.
8whole block-diagonal correlation matrix for UE k. Similar to (3), the CPU can derive the channel estimatefor UE k as4 ˆhk ≜�ˆhT1k, . . . , ˆhTMk�T∼ NC�0, τpRk¯FHk,pΨ−1k ¯Fk,pRk�where ¯Fk,p = diag(˜Fk,p, . . . , ˜Fk,p����M)and Ψ−1k= diag(Ψ−11k , . . . , Ψ−1Mk). The channel estimation error is ˜hk ∼ NC (0, Ck) where Ck ≜ Rk −τpRk¯FHk,pΨ−1k ¯Fk,pRk. Moreover, the received data signal at the CPU can be denoted as[yT1 , · · · , yTM]T����= y=K�k=1[HT1k, . . . , HTMk]T����= HkFk,uxk + [nT1 , . . . , nTM]T����= n,(5)or a compact form as y = �Kk=1 HkFk,uxk + n.Under the setting of “fully centralized processing”, we assume that UL precoding matrices (Fk,u andFk,p) are available at the CPU. Based on the collective channel estimates, the CPU designs an arbitraryreceive combining matrix Vk ∈ CLM×N for UE k to detect xk asˇxk = VHk y = VHk ˆHkFk,uxk + VHk ˜HkFk,uxk +K�l̸=kVHk HlFl,uxl + VHk n,(6)and the conditional MSE matrix for UE k isEk,(1) = E{(xk − ˇxk)(xk − ˇxk)H|{ ˆHk}, {Fk,u}}= IN − VHk ˆHkFk,u − FHk,u ˆHHk Vk + VHk� K�l=1�ˆHl¯Fl,u ˆHHl + C′l�+ σ2IML�Vk(7)where ¯Fl,u ≜ Fl,uFHl,u, C′l ≜ diag (C′1l, · · · , C′Ml) ∈ CML×ML and C′ml = E{ ˜Hml¯Fl,u ˜HHml} ∈ CL×L withthe (j, q)-th element of C′ml being [C′ml]jq = �Np1=1�Np2=1�¯Fl�p2p1 [Cp2p1ml ]jq.By implementing the per-user-basis minimum mean-squared error-based successive interference cancel-lation (MMSE-SIC) detector while treating co-user interference as uncorrelated Gaussian noise, we derivethe achievable SE for UE k as follows.Corollary 1. An achievable for UE k under the setting of “fully centralized processing” with the MMSEestimator isSEk,(1) =�1 − τpτc�E�log2���IN + DHk,(1)Σ−1k,(1)Dk,(1)����,(8)where Dk,(1) ≜ VHk ˆHkFk,u and Σk,(1) ≜ VHk��Kl=1 ˆHl¯Fl,u ˆHHl − ˆHk¯Fk,u ˆHHk + �Kl=1 C′l + σ2IML�Vk.4Note that the pilot signals received at the APs are first transmitted to the CPU and then the CPU estimates the channels, where τpMLcomplex scalars are sent from the APs to the CPU at each coherence block. Alternatively, all APs can first estimate the channels as (3), andthen send their channel estimates to the CPU, where MKLN complex scalars are sent from the APs to the CPU at each coherence block.Since the pilot contamination is investigated (τp < KN) in this paper, we consider the first transmission protocol due to its lower fronthauloverhead.
9The expectations are with respect to all sources of randomness.Proof. The proof follows from the similar approach as [28, Corollary 1] and is therefore omitted.We notice that Corollary 1 holds for any combining schemes. One promising combining scheme is theMMSE combining asVMMSEk=� K�l=1�ˆHl¯Fl,u ˆHHl + C′l�+ σ2IML�−1ˆHkFk,u,(9)which can minimize the mean-squared error MSEk,(1) = tr(Ek,(1)). With the MMSE combining scheme,the conditional MSE matrix in (7) isEoptk,(1) = IN − FHk,u ˆHHk� K�l=1�ˆHl¯Fl,u ˆHHl + C′l�+ σ2IML�−1ˆHkFk,u(10)More importantly, the MMSE combining in (9) can also maximize the achievable SE in (8) as follows.Corollary 2. The achievable SE for UE k in (8) can be maximized by the MMSE combining scheme in(9) with the maximum valueSEoptk,(1) =�1 − τpτc�Elog2������IN + FHk,u ˆHHk� K�l=1�ˆHl¯Fl,u ˆHHl + C′l�− ˆHk¯Fk,u ˆHHk + σ2IML�−1ˆHkFk,u������ .(11)Proof. The proof can be found in [28, Appendix B] and is therefore omitted.2) Iteratively WMMSE Precoding Design: In this part, we design the uplink precoding scheme for the“fully centralized processing”. One popular weighted sum-rate maximization problem is investigated as5max{F}K�k=1µk,(1)SEk,(1)s.t.��Fk,u,(1)��2 ⩽ pk ∀k = 1, . . . , K(12)where µk,(1) represents the priority weight of UE k and SEk,(1) is given by (8).5The notation F is short for {Fk,u}k=1,...,K, denoting all variables Fk,u with k = 1, . . . , K. Similar definitions are applied for V, A, W,S in the following. In this section, we denote by Fk,u,(1) and Fk,u,(2) the UL precoding matrix of UE k for the fully centralized processingand LSFD scheme, respectively.
10As [30] and [32], the matrix-weighted sum-MSE minimization problem asmin{F,V,W}K�k=1µk,(1)�tr�Wk,(1)Ek,(1)�− log2��Wk,(1)���s.t.��Fk,u,(1)��2 ⩽ pk ∀k = 1, . . . , K(13)is equivalent to the weighted sum-rate maximization problem (12), where Wk,(1) ∈ CN×N is the weightmatrix for UE k. We notice that (13) is convex over each optimization variable F, V, W but is not jointlyconvex over all optimization variables. Following the method in [30], we can solve (13) by sequentiallyfixing two of the three optimization variables F, V, W and updating the third.Fixing the other variables, the update of Vk is given by the MMSE solution as (9). Under the MMSEcombining, the MSE matrix is given by (10). Then, note that optimal Wk,(1) for (13) isWoptk,(1) = E−1k,(1),(14)which can be easily derived through the first order optimality condition for Wk,(1) by fixing F and V.Remark 1. When the MMSE combining VMMSEkand Woptk,(1) for all UEs are implemented in (13), we havetr(Wk,(1)Ek,(1))−log2��Wk,(1)�� = tr (IN)−log2 |(Eoptk,(1))−1|. So the matrix-weighted sum-MSE minimizationproblem in (13) would reduce to the equivalent optimization problem of (12) as6:max{F}K�k=1µk,(1) log2�����Eoptk,(1)�−1����s.t.��Fk,u,(1)��2 ⩽ pk ∀k = 1, . . . , K(15)which is a well-known relationship between Eoptk,(1) and SEoptk,(1).Finally, fixing V and W, the update of Fk,u,(1) for (13) results in the optimization problem as76Note that “SE” is equivalent to “rate” except from having one scaling factor (τc − τp)/τc. Since τc and τp are constants in this paper,so we ignore the difference between SE and rate in the optimization problem.7It is worth mentioning that the updates of optimization variables are based on the preliminary of fixing the other optimization variables.For instance, when updating Fk,u,(1), we should fix the other optimization variables (Vk and Wk,(1)) but not only limited to their respectiveoptimal solutions VMMSEkand Woptk,(1). So we update Fk,u,(1) based on (16) with generalized Vk and Wk,(1) instead of (15) with optimalVMMSEkand Woptk,(1).
11min{F}K�k=1µk,(1)tr�Wk,(1)�IN − VHk ˆHkFk,u,(1)� �IN − VHk ˆHkFk,u,(1)�H�+K�k=1µk,(1)tr�Wk,(1)VHk� K�l̸=kˆHlFl,u,(1)FHl,u,(1) ˆHHl�Vk�−K�k=1µk,(1) log2��Wk,(1)��+K�k=1µk,(1)tr�Wk,(1)VHk� K�l=1E�˜HlFl,u,(1)FHl,u,(1) ˜HHl��� F�+ σ2IML�Vk�s.t.��Fk,u,(1)��2 ⩽ pk ∀k = 1, . . . , K(16)which is a convex quadratic optimization problem. So the classic Lagrange multipliers methods andKarush-Kuhn-Tucker (KKT) conditions can be applied to derive an optimal solution. The Lagrangefunction of (16) isf�F1,u,(1), . . . , FK,u,(1)�=K�k=1µk,(1)tr�Wk,(1)�IN − VHk ˆHkFk,u,(1)� �IN − VHk ˆHkFk,u,(1)�H�+K�k=1µk,(1)tr�Wk,(1)VHk� K�l̸=kˆHlFl,u,(1)FHl,u,(1) ˆHHl�Vk�+K�k=1µk,(1)tr�Wk,(1)VHk� K�l=1E�˜HlFl,u,(1)FHl,u,(1) ˜HHl��� F�+ σ2IML�Vk�+K�k=1λk,(1)�tr�Fk,u,(1)FHk,u,(1)�− pk�(17)Finally, we derive the optimal precoding scheme as the following theorem.Theorem 1. By fixing other optimization variables and applying the first-order optimality condition of(17) with respect to each Fk,u,(1), the optimal precoding scheme is given byFoptk,u,(1) = µk,(1)� K�l=1µl,(1)�ˆHHk VlWl,(1)VHl ˆHk + E�˜HHk VlWl,(1)VHl ˜Hk��� V, W��+ λk,(1)IN�−1ˆHHk VkWk,(1)= µk,(1)� K�l=1µl,(1)�ˆHHk VlWl,(1)VHl ˆHk + ¯Ckl�+ λk,(1)IN�−1ˆHHk VkWk,(1),(18)where λk,(1) ⩾ 0 is the Lagrangian multiplier and the (i, n)-th element of ¯Ckl ≜ E{ ˜HHk VlWl,(1)VHl ˜Hk|V, W}∈ CN×N is�¯Ckl�in = tr( ¯VlE{˜hk,n˜hHk,i}) = tr�¯VlCk,in�with ¯Vl ≜ VlWl,(1)VHl and Ck,ni ≜ E{˜hk,n˜hHk,i} =
12diag (Cni1k, . . . , CniMk) ∈ CML×ML. According to the KKT condition, λk,(1) and Fk,u,(1) should also satisfy��Fk,u,(1)��2 ⩽ pk,λk,(1)���Fk,u,(1)��2 − pk�= 0,λk,(1) ⩾ 0.(19)Proof: The proof is given in Appendix D.We denote by Fk,u,(1)(λk,(1)) the right-hand side of (18), when �Kl=1 µl,(1)( ˆHHk VlWl,(1)VHl ˆHk + ¯Ckl)is invertible and tr[Fk,u,(1)(0)Fk,u,(1)(0)H] ⩽ pk, then Foptk,u,(1) = Fk,u,(1) (0), otherwise we havetr[Fk,u,(1)(λk,(1))Fk,u,(1)(λk,(1))H] = pkto satisfy (19).Corollary 3. tr[Fk,u,(1)(λk,(1))Fk,u,(1)(λk,(1))H] is a monotonically decreasing function of λk,(1).Proof: Let DΛDH denote the eigendecomposition of �Kl=1 µl,(1)( ˆHHk VlWl,(1)VHl ˆHk + ¯Ckl). Fol-lowing the method in [30], we define Φ = µ2k,(1)DH ˆHHk VkW2k,(1) ˆHkVHk D and we havetr[Fk,u,(1)(λk,(1))Fk,u,(1)(λk,(1))H] = tr��DΛDH + λk,(1)IN�−1 DΦDH �DΛDH + λk,(1)IN�−1�= tr��DΛDH + λk,(1)IN�−2 DΦDH�= tr��Λ + λk,(1)IN�−2�=N�n=1[Φ]nn�[Λ]nn + λk,(1)�2,(20)so tr[Fk,u,(1)(λk,(1))Fk,u,(1)(λk,(1))H] is a monotonically decreasing function of λk,(1).Based on Corollary 3, optimum λk,(1) (denoted by λoptk,(1)) can be easily obtained by a one-dimensional(1-D) bisection algorithm so we derive the solution for Fk,u,(1)(λoptk,(1)). Furthermore, an iterative opti-mization algorithm for Fk,u,(1), called “iteratively WMMSE (I-WMMSE) algorithm”, is summarized inAlgorithm 18. The convergence of Algorithm 1 is proven in [30, Theorem 3].Remark 2. Note that the design of Fk,p is a valuable future direction to further improve the systemperformance. One valuable optimization problem is to minimize the total MSE of the channel estimatorsof all UEs asmin{Fk,p}K�k=1tr (Ck)s.t. ∥Fk,p∥2 ⩽ pk ∀k = 1, . . . , K(21)where the optimization goal is only based on the statistical knowledge so Fk,p is also based on thestatistical knowledge.8To balance the efficiency and the computational complexity of the proposed algorithm, we also include the stopping criterion “R(i)(1) <R(i−1)(1). Moreover, the I-WMMSE precoding scheme is derived at iteration (i − 1), which may achieve higher sum SE than the one atiteration i.
13Algorithm 1: I-WMMSE Algorithm for the Design of Fk,u,(1)Input: Collective channel estimates ˆHk for all UEs; Estimation error covariance matrices Cml forall possible pairs; UE weights µk,(1) for all UEs;Output: Optimal precoding matrices Fk,u,(1) for all UEs (F(i)k,u,(1) for the first or third stoppingcriterion and F(i−1)k,u,(1) for the second stopping criterion);1 Initiation: i = 0, F(0)k,u,(1) and R(0)(1) = �Kk=1 µk,(1)SE(0)k,(1) for all UEs; maximum iteration numberI(1),max and threshold ε(1);2 repeat3i = i + 14Update the MMSE combining scheme V(i)kwith F(i−1)k,u,(1) based on (9);5Update optimal MSE matrix E(i)k,(1) with F(i−1)l,u,(1) based on (10), and update W(i)k,(1) based on(14);6Update optimal precoding matrix F(i)l,u,(1) with V(i)kand W(i)k,(1) based on (18), where λ(i)k,(1) isfound by a bisection algorithm;7Update sum weighted rate R(i)(1) = �Kk=1 µk,(1)SE(i)k,(1);8 until���R(i)(1) − R(i−1)(1)��� /R(i−1)(1)⩽ ε(1) or R(i)(1) < R(i−1)(1)or i ⩾ I(1),max;B. Large-Scale Fading Decoding1) Spectral Efficiency Analysis: Another promising processing scheme is “large-scale fading decoding”,which is a two-layer decoding scheme to decode the data symbol. Note that UL precoding matrices (Fk,uand Fk,p) are assumed to be available at all APs and the CPU. In the first layer, AP m applies an arbitrarycombining matrix Vmk ∈ CL×N to derive local detection of xk as˜xmk = VHmkym = VHmkHmkFk,uxk +K�l=1,l̸=kVHmkHmlFl,uxl + VHmknm.(22)We notice that Vmk is designed based on local channel estimates at AP m and one handy choice isMR combining Vmk = ˆHmk. Moreover, local MMSE (L-MMSE) combiningVmk =� K�l=1�ˆHml¯Fl,u ˆHHml + C′ml�+ σ2IL�−1ˆHmkFk,u,(23)is also regarded as a promising scheme, since (23) can minimize E{∥ xk − VHmkym ∥2 |{ ˆHmk}, {Fk,u}}.In the second layer, the “LSFD” method is implemented at the CPU [5]. The CPU weights all the localestimates ˜xmk from all APs by the LSFD coefficient matrix asˆxk =M�m=1AHmk˜xmk =M�m=1AHmkVHmkHmkFk,uxk +M�m=1K�l=1,l̸=kAHmkVHmkHmlFl,uxl+n′k,(24)where Amk ∈ CN×N is the complex LSFD coefficient matrix for AP m-UE k and n′k = �Mm=1 AHmkVHmknm.
14Moreover, we can rewrite ˆxk in a more compact form asˆxk = AHk GkkFk,uxk +K�l=1,l̸=kAHk GklFl,uxl + n′k = AHk�GkkFk,uxk +K�l=1,l̸=kGklFl,uxl + ˜n′k�����˜xk(25)where Ak ≜ [AT1k, . . . , ATMk]T ∈ CMN×N, Gkl ≜ [VH1kH1l; . . . ; VHMkHMl] ∈ CMN×N and˜n′k =�VH1kn1; . . . ; VHMknM�∈ CMN×N.Note that the CPU does not have the knowledge of channel estimates and is only aware of channelstatistics [5]. The conditional MSE matrix for UE k Ek,(2) ≜ E�(xk − ˆxk) (xk − ˆxk)H |Θ�isEk,(2) = IN − FHk,uE{GHkk}Ak − AHk E{Gkk}Fk,u + AHk� K�l=1E{Gkl¯Fl,uGHkl} + σ2Sk�Ak,(26)where Θ denotes all the channel statistics and Sk = diag(E{VH1kV1k}, · · · , E{VHMkVMk}) ∈ CMN×MN.Then, we apply classical use-and-then-forget bound to obtain the following ergodic achievable SE.Corollary 4. For the “LSFD” scheme, an achievable SE for UE k can be written asSEk,(2) =�1 − τpτc�log2���IN + DHk,(2)Σ−1k,(2)Dk,(2)��� ,(27)where Σk,(2) = �Kl=1 AHk E{Gkl¯Fl,uGHkl}Ak − Dk,(2)DHk,(2) + σ2AHk SkAk and Dk,(2) = AHk E{Gkk}Fk,u.Proof. The proof follows similar steps as the proof of [28, Corollary 2] and is therefore omitted.Note that Ak can be optimized by the CPU based on channel statistics to maximize the achievableSE in (27). Based on the theory of optimal receivers as in [37], we derive the optimal LSFD coefficientmatrix, which not only maximizes the achievable SE but minimizes the conditional MSE, as follows.Corollary 5. The achievable SE in (27) is maximized byAoptk=� K�l=1E{Gkl¯Fl,uGHkl} + σ2Sk�−1E{Gkk}Fk,u,(28)leading to the maximum value asSEoptk,(2)=�1 − τpτc�log2������IN + FHk,uE {Gkk}� K�l=1E�Gkl¯Fl,uGHkl�− E {Gkk} ¯Fk,uE�GHkk�+ σ2Sk�−1E {Gkk} Fk,u������.(29)
15Note that the optimal LSFD coefficient matrix in (28) can also minimize the conditional MSE for UE kMSEk,(2) = tr(Ek,(2)).Proof. The proof is given in Appendix B.If the optimal LSFD coefficient matrix is applied, the MSE matrix for UE k can be written asEoptk,(2) = IN − FHk,uE�GHkk�� K�l=1E{Gkl¯Fl,uGHkl} + σ2Sk�−1E{Gkk}Fk,u.(31)Furthermore, if MR combining Vmk = ˆHmk is applied, we derive closed-form SE expressions as follows.Theorem 2. For MR combining Vmk = ˆHmk, (27) can be computed in closed-form asSEk,(2),c =�1 − τpτc�log2���IN + DHk,(2),cΣ−1k,(2),cDk,(2),c��� ,(32)where Σk,(2),c = AHk (�Kl=1 Tkl,(1) + �l∈Pk Tkl,(2))Ak − Dk,(2),cDHk,(2),c + σ2AHk Sk,cAk and Dk,(2),c =AHk ZkFk,u, with E{Gkk} = Zk = [ZT1k, . . . , ZTMk]T and Sk,c = diag(Z1k, · · · , ZMk) with the (n, n′)-th element of Zmk ∈ CN×N being [Zmk]nn′ = tr(ˆRn′nmk). Moreover, Tkl,(1) ≜ diag(Γ(1)kl,1, · · · , Γ(1)kl,M) ∈CMN×MN and Tmm′kl,(2) = Γ(2)kl,m − Γ(1)kl,m if m = m′ and Λmkl¯Fl,uΛm′lk otherwise, where Tmm′kl,(2) de-notes (m, m′)-submatrix of Tkl,(2) ∈ CMN×MN, the (n, n′)-th element of N × N-dimension complexmatrices Λmkl, Λm′lk, Γ(1)kl,m and Γ(2)kl,m are [Λmkl]nn′ = tr(Ξn′nmkl), [Λm′lk]nn′ = tr(Ξn′nm′lk), [Γ(1)mkl]nn′ =�Ni=1�Ni′=1 [¯Fl,u]i′itr(Ri′iml ˆRn′nmk) and [Γ(2)kl,m]nn′ given by�Γ(2)kl,m�nn′ =N�i=1N�i′=1�¯Fl�i′i�tr�Ri′imlPn′nmkl,(1)�+τ 2pN�q1=1N�q2=1�tr�˜Pq1nmkl,(2) ˜Ri′q2ml ˜Rq2iml ˜Pn′q1mkl,(2)�+ tr�˜Pq1nmkl,(2) ˜Ri′q2ml�tr�˜Pn′q2mkl,(2) ˜Rq2iml���(33)with Ξmkl = τpRml˜FHl,pΨ−1mk˜Fk,pRmk, Ξm′lk = τpRm′k˜FHk,pΨ−1m′k˜Fl,pRm′l, Pmkl,(1) = τpSmk(Ψmk −τp˜Fl,pRml˜FHl,p)SHmk, Smk = Rmk˜FHk,pΨ−1mk, Pmkl,(2) = Smk˜Fl,pRml˜FHl,pSHmk, ˜Rniml and ˜Pnimkl,(2) being (n, i)-submatrix of R12ml and P12mkl,(2), respectively. Furthermore, the optimal LSFD coefficient matrix in (28)and MSE matrix in (31) can also be computed in closed-form asAoptk,c =��Kl=1 Tkl,(1) + �l∈Pk Tkl,(2) + σ2Sk,c�−1ZkFk,u,Eoptk,(2),c = IN − FHk,uZHk��Kl=1 Tkl,(1) + �l∈Pk Tkl,(2) + σ2Sk,c�−1ZkFk,u.(34)Proof: The proof is given in Appendix C.
162) Iteratively WMMSE Precoding Design: For the LSFD scheme, we also investigate a weighted sum-rate maximization problem asmax{F}K�k=1µk,(2)SEk,(2)s.t.��Fk,u,(2)��2 ⩽ pk ∀k = 1, . . . , K(35)where µk,(2) represents the priority weight of UE k for the “LSFD” scheme and SEk,(2) is given in (27)with arbitrary combining structure in the first decoding layer.Similarly, the matrix-weighted sum-MSE minimization problem as9min{F,A,W,G,S}K�k=1µk,(2)�tr�Wk,(2)Ek,(2)�− log2��Wk,(2)���s.t.��Fk,u,(2)��2 ⩽ pk ∀k = 1, . . . , K(36)is equivalent to the weighted sum-rate maximization problem (35), where Wk,(2) is the weight matrix forUE k. Note that (36) is convex over each optimization variable F, A, W, G, S but is not jointly convexover all optimization variables. So we can solve (36) by sequentially fixing four of the five optimizationvariables F, A, W, G, S and updating the fifth.10The update of Ak and Ek,(2) are given by the optimal LSFD scheme (28) and MSE matrix with optimalLSFD scheme (31). Note that optimal Wk,(2) for (36) is Woptk,(2) = E−1k,(2).Remark 3. When Aoptkand Woptk,(2) for all UEs are applied in (36), we notice that (36) becomes to theequivalent optimization problem of (35) asmax{F,G,S}K�k=1µk,(2) log2�����Eoptk,(2)�−1����s.t.��Fk,u,(2)��2 ⩽ pk ∀k = 1, . . . , K(37)which is a well-known relationship between Eoptk,(2) and SEoptk,(2) and proven in Appendix E.Last but not least, fixing other variables, the update of Fk,u,(2) for (36) results in the optimization9The notation G denotes all G-relevant variables, like E{Gkl¯Fl,u,(2)GHkl} and E{Gkk}, etc.10As for G and S, if L-MMSE combining scheme applied, E {Gkk} and Sk are relevant to Fk,u,(2) so we should also update them. Onthe contrary, E{Gkk} and Sk with MR combining structure are irrelevant to F so we only need to update E{Gkl¯Fl,u,(2)GHkl}.
17problem asmin{F}K�k=1µk,(2)�tr�Wk�IN − FHk,u,(2)E�GHkk�Ak� �IN − FHk,u,(2)E�GHkk�Ak�H��+K�k=1µk,(2)�tr�Wk,(2)AHk� K�l̸=kE�Gkl¯Fl,u,(2)GHkl�+ σ2Sk�Ak��s.t.��Fk,u,(2)��2 ⩽ pk ∀k = 1, . . . , K(38)which is a convex quadratic optimization problem. Thus, we can also derive the optimal precoding schemeby applying classic Lagrange multipliers methods and KKT conditions. The Lagrange function of (38) isf�F1,u,(2), . . . , FK,u,(2)�=K�k=1µk,(2)�tr�Wk,(2)�IN − FHk,u,(2)E�GHkk�Ak� �IN − FHk,u,(2)E�GHkk�Ak�H��+K�k=1µk,(2)�tr�Wk,(2)AHk� K�l̸=kE�Gkl¯Fl,u,(2)GHkl�+ σ2Sk�Ak��+K�k=1λk,(2)�tr�Fk,u,(2)FHk,u,(2)�− pk�.(39)Theorem 3. By applying the first-order optimality condition of (39) with respect to each Fk,u,(2) andfixing other optimization variables, we obtain the optimal precoding scheme asFoptk,u,(2) = µk,(2)� K�l=1µl,(2)E�GHlkAlE−1l,(2)AHl Glk�+ λk,(2)IN�−1E�GHkk�AkE−1k,(2),(40)where λk,(2) ⩾ 0 is the Lagrangian multiplier during the phase of “LSFD” scheme. According to the KKTcondition, λk,(2) and Fk,u,(2) should also satisfy��Fk,u,(2)��2 ⩽ pk,λk,(2)���Fk,u,(2)��2 − pk�= 0,λk,(2) ⩾ 0.(41)Note that when �Kl=1 µl,(2)E{GHlkAlE−1l,(2)AHl Glk} is invertible and tr�Fk,u,(2)(0)Fk,u,(2)(0�H] ⩽ pk,then Foptk,u,(2) = Fk,u,(2) (0), otherwise we must have tr[Fk,u,(2)(λk,(2))Fk,u,(2)(λk,(2))H] = pk. Following thesimilar method in Corollary 3, we notice that λk,(2) can be easily found by a 1-D bisection algorithmsince tr[Fk,u,(2)(λk,(2))Fk,u,(2)(λk,(2))H] is a monotonically decreasing function of λk,(2).Moreover, if MR combining Vmk = ˆHmk is applied in the first layer, we can compute expectations in(40) in closed-form as following theorem.Theorem 4. With MR combining Vmk = ˆHmk and the optimal LSFD scheme applied, we can compute
18E{GHkk}, Aoptk , and Eoptk,(2) in closed-form as Theorem 2. Moreover, we have ¯Tlk = E{GHlkAlE−1l,(2)AHl Glk} ∈CN×N where the (i, n)-th element of ¯Tlk is tr(¯Al ¯Glk,ni) with ¯Al ≜ AlE−1l,(2)AHland the [(m − 1) N +p, (m′ − 1) N + p′]-th (or [o, j]-th briefly) entry of ¯Glk,ni ≜ E{glk,ngHlk,i} ∈ CMN×MN beingE{glk,ngHlk,i}oj =0,l /∈ Pk, m ̸= m′tr(Rnimk ˆRp′pml),l /∈ Pk, m = m′tr(Ξnpmlk)tr(Ξp′im′kl),l ∈ Pk, m ̸= m′tr�RnimkPp′pmlk,(1)�+ τ 2p�Nq1=1�Nq2=1 tr�˜Pq1pmlk,(2) ˜Rnq2mk ˜Rq2imk ˜Pp′q1mlk,(2)�+τ 2p�Nq1=1�Nq2=1 tr�˜Pq1nmlk,(2) ˜Rnq1mk�tr�˜Pp′q2mlk,(2) ˜Rq2imk�,l ∈ Pk, m = m′(42)where Ξmlk = τpRmk˜FHk,pΨ−1mk˜Fl,pRml, Ξm′kl = τpRm′l˜FHl,pΨ−1m′l˜Fk,pRm′k, Sml = Rml˜FHl,pΨ−1ml, Pmlk,(1) =τpSml(Ψml − τp˜Fk,pRmk˜FHk,p)SHml and Pmlk,(2) = Sml˜Fk,pRmk˜FHk,pSHml. Plugging the derived results into(40), we can compute Foptk,u,(2) in closed-form asFoptk,u,(2),c = µk,(2)� K�l=1µl,(2) ¯Tlk + λk,(2)IN�−1ZHk Aoptk,c Eopt,−1k,(2),c .(43)Proof: The proof is given in Appendix F.Furthermore, an iterative optimization algorithm for Fk,u,(2) is summarized in Algorithm 2. The con-vergence of Algorithm 2 is proven in [30, Theorem 3].Remark 4. Relying on the iterative minimization of weighted MSE, two efficient uplink I-WMMSEprecoding schemes to maximize the weighted sum SE are proposed. The I-WMMSE precoding schemesfor the “FCP” and “LSFD” schemes are investigated in Algorithm 1 and Algorithm 2, respectively. Notethat the design of I-WMMSE precoding scheme for the FCP/LSFD is based on instantaneous CSI/channelstatistics, respectively. More importantly, we can compute I-WMMSE precoding schemes in novel closed-form only for the LSFD scheme with MR combining based on Theorm 4.IV. PRECODING IMPLEMENTATION AND COMPLEXITY ANALYSISIn this section, we discuss the practical implementation and analyze computational complexity for theUL precoding schemes investigated in Section III.A. Precoding Implementation1) Precoding Characteristics: As described above, we investigate a standard block fading model, wherethe channel response is constant and frequency flat in a coherence block, which contains τc channel
19Algorithm 2: I-WMMSE Algorithm for the Design of Fk,u,(2)Input: Channel statistics Θ for all possible pairs; UE weights µk,(2) for all UEs;Output: Optimal precoding matrices Fk,u,(2) for all UEs (F(i)k,u,(2) for the first or third stoppingcriterion and F(i−1)k,u,(2) for the second stopping criterion);1 Initiation: i = 0, F(0)k,u,(2) and R(0)(2) = �Kk=1 µk,(2)SE(0)k,(2) for all UEs; maximum iteration numberI(2),max and threshold ε(2);2 repeat3i = i + 14Update channel statistics Θ(i), such as E{G(i)kk}, E{G(i)kl ¯F(i−1)l,u(G(i)kl )H} and S(i)k ;5Update optimal LSFD matrix A(i)kwith F(i−1)l,u,(2) and Θ(i) based on (28);6Update optimal MSE matrix E(i)k,(2) with F(i−1)l,u,(2), A(i)kand E{G(i)kk} based on (31) and updateW(i)k,(2);7Update optimal precoding matrix F(i)k,u,(2) with A(i)k , W(i)k,(2) and Θ(i) based on (40), whereλ(i),k,(2) is found by a bisection algorithm;8Update sum weighted rate R(i)(2) = �Kk=1 µk,(2)SE(i)k,(2);9 until |R(i)(2) − R(i−1)(2)|/R(i−1)(2)⩽ ε(2) or R(i)(2) < R(i−1)(2)or i ⩾ I(2),max;uses. For the “fully centralized processing” scheme, we notice that the I-WMMSE precoding design isimplemented at the CPU based on the instantaneous CSI as (18). Moreover, to guarantee the convergenceof Algorithm 1, only MMSE combining as (9) is advocated to detect the UL data since the equivalentrelationship between Eoptk,(1) and SEoptk,(1), which only satisfies with MMSE combining, should be guaranteed.As for the LSFD scheme, the optimal design of Foptk,u,(2) as (40) can only be implemented at the CPU, butrelies only on channel statistics. Besides, L-MMSE or MR combining can be applied at each AP. WhenMR combining is applied, all terms in Algorithm 2 can be computed in closed-form as Theorem 4.2) Fronthaul Requirements: For the FCP scheme with the I-WMMSE precoding, in each coherenceblock, all APs should relay their received signals to the CPU and the CPU requires precoding matricesFk,u,(1) feedback to all UEs. All APs need to send τcML complex scalars (τpML complex scalars for thepilot signals and (τc − τp)ML complex scalars for the received data signals). Besides, the full correlationmatrices {Rmk} are available at the CPU, which contains MKL2N2/2 complex scalars for each realizationof the AP/UE locations/statistics11. Moreover, the CPU transmits optimal precoding matrices to all UEs,which are described by KN2 complex scalars per coherence block. In summary, for the FCP schemewith the I-WMMSE precoding implemented, total τcMLNr + MKL2N2/2 + KN2Nr complex scalarsare transmitted via fronthaul links for each realization of the AP/UE locations. For comparison, when11Note that the channel statistics remain constant for each realization of the AP/UE locations and each realization of the AP/UE locationscontains Nr channel realizations (coherence blocks).
20the FCP scheme without the I-WMMSE precoding is implemented, all APs should also transmit τcMLcomplex scalars for the received signals to the CPU in each coherence block and MKL2N2/2 complexscalars for {Rmk} to the CPU for each realization of the AP/UE locations. So for the CFP scheme withoutthe I-WMMSE precoding, total τcMLNr + MKL2N2/2 complex scalars are transmitted via fronthaullinks for each realization of the AP/UE locations.As for the LSFD scheme with the I-WMMSE precoding, all APs transmit their local data estimates˜xmk, described by (τc − τp)MKN complex scalars, to the CPU per coherence block. Besides, E{Gkk} ∈CMN×N, described by MKN2 complex scalars for each realization of the AP/UE locations, are alsorequired at the CPU. As for E{Gkl¯Fl,u,(2)GHkl} ∈ CMN×MN, following the formulation method investigatedin Appendix F, the optimization of ¯Fl,u,(2) requires the knowledge of�E�vHml,phmk,nhHm′k,ivm′l,p′��,described by M2K2N4/2 complex scalars for each realization of the AP/UE locations, where vml,p denotesthe p-th column of Vml. Moreover, the CPU requires optimal precoding matrices Fk,u,(2) feedback to allAPs and UEs only for each realization of the AP/UE locations, which are KN2 complex scalars. As for theLSFD scheme without the I-WMMSE precoding, local data estimates ˜xmk, described by (τc − τp)MKNcomplex scalars per coherence block, E{Gkk}, described by MKN2 complex scalars for each realizationof the AP/UE locations, and E{GklGHkl} ∈ CMN×MN, described by M2K2N2/2 complex scalars for eachrealization of the AP/UE locations, are required. That is total (τc −τp)MKNNr + MKN2 + M2K2N2/2complex scalars transmitted via fronthaul links for each realization of the AP/UE locations.3) Practical Implementation: Note that the basic motivation of the investigated I-WMMSE precodingschemes is to achieve as good the sum uplink SE performance as possible so we ignore some practicalissues, which are vital for the realistic implementation of the investigated precoding schemes. When theprecoding schemes are implemented in practice, these realistic issues should be considered.• Capacity-constrained fronthaul networkAs discussed above, the I-WMMSE precoding require more fronthaul requirements than the case withoutthe I-WMMSE precoding. It is quite vital to consider a more practical capacity-constrained fronthaulnetwork [38]. Moreover, the wireless fronthaul [39], which is more flexible than the conventional wirefronthaul, would also be regarded as a promising solution to boost the practical implementation of theI-WMMSE precoding.• Scalability aspects with dynamic cooperation clustersWhen the precoding schemes are implemented in practice, a more realistic network architecture with
21multiple CPUs and dynamic cooperation clusters should be advocated, where each UE is only served bya cluster of APs (that a is user-centric cluster) and the APs are grouped into cell-centric clusters as shownin Fig. 1. Note a user-centric cluster might consist of APs connecting with different CPUs. Based on thesignal processing schemes in [9], [18], the analytical framework in this paper can be implemented in ascalable paradigm where the fronthaul requirements and computational complexity can be relieved withan anticipated modest performance loss compared with canonical architecture. The I-WMMSE precodingdesign with these two practical aspects is left in future work. To bring valuable technical insights forthe study of I-WMMSE precoding schemes with the DCC strategy and the capacity-constrained fronthaullink, we provide two tutorials for the FCP and LSFD in Fig. 2 based on [9], [10], [38].Tutorials to investigate the I-WMMSE precoding scheme with the DCC strategy and the capacity-constrained fronthaul1: Joint initial access, pilot assignment, and cluster formation for the DCC topology based on a classical algorithm in [9, Sec V. A] or a more efficient algorithm as [10, Algorithm 1].2: Each AP transmits the quantized versions of the local detection signals in (22) to the CPU based on Case 2 in [38] called "Quantized Weighted Signal Available at the CPU" as [38, eq. (20)].3: Based on Section Ⅲ. B. (1), generate the DCC based processing scheme for the LSFD (the local combining design, P-LSFD, and achievable SE computation) motivated by [10, Sec Ⅱ. B]. 4: Based on Section Ⅲ. B. (2), formulate the I-WMMSE precoding design optimization problem with a capacity-constrained fronthaul motivated by [38, eq. (24)] and [38, eq. (26)].5: Obtain the optimal precoding scheme based on potential methods.Tutorial 2. The I-WMMSE precoding for the LSFD with the DCC strategy and the capacity-constrained fronthaul1: Joint initial access, pilot assignment, and cluster formation for the DCC topology based on a classical algorithm in [9, Sec V. A] or a more efficient algorithm as [10, Algorithm 1].2: Each AP transmits the quantized versions of its received pilot signals and data signals to the CPU based on Case 1 in [38] called "Quantized Estimate of the Channel and Quantized Signal Available at the CPU" as [38, eq. (11) ].3: Based on Section Ⅲ. A. (1), generate the DCC based processing scheme for the FCP (the receive combining and achievable SE computation) motivated by [9, Sec V. B]. 4: Based on Section Ⅲ. A. (2), formulate the I-WMMSE precoding design optimization problem with a capacity-constrained fronthaul motivated by [38, eq. (24)] and [38, eq. (26)] .5: Obtain the optimal precoding scheme based on potential methods.Tutorial 1. The I-WMMSE precoding for the FCP with the DCC strategy and the capacity-constrained fronthaulFig. 2. Two tutorials to investigate the I-WMMSE precoding schemes with the DCC strategy and the capacity-constrained fronthaul.B. Complexity AnalysisIn this subsection, we analyze the computational complexity of two precoding schemes investigated.Since the bisection step for λk,{(1),(2)} generally takes few iterations compared with other steps, weignore bisection steps for λk,{(1),(2)} in the complexity analysis. For the fully centralized processingscheme and each realization of the AP/UE locations, the per-iteration complexity of iterative optimiza-tion is O (M3K2N5Nr). For the LSFD scheme and each realization of the AP/UE locations, the per-iteration complexity of iterative optimization based on L-MMSE combining with the Monte-Carlo method,MR combining with the Monte-Carlo method and MR combining with the closed-form expressions areO (M2K2N3Nr), O (M2K2N3Nr + M3KN3) and O (M3K2N5), respectively. To further reduce thecomputation complexity, it’s quite necessary to apply the asymptotic analysis method [40], [41] to computethe terms, which cannot be computed in closed-form, in approximation results.
22TABLE ICOMPARISON OF TWO PRECODING SCHEMES IN THIS PAPER. THE NUMBER OF COMPLEX SCALARS IS COMPUTED FOR EACHREALIZATION OF THE AP/UE LOCATIONS. THE SUM SE IMPROVEMENT IS COMPUTED WITH M = 20, K = 10, L = 1 AND N = 4.FCPLSFDCSIInstantaneous CSIStatistical CSIDetection schemeMMSE combiningL-MMSE/MR combining + Optimal LSFD schemeNumber of complex scalarssent from APs to the CPUwith I-WMMSE precodingτcMLNr + MKL2N 2/2(τc − τp)MKNNr + MKN 2 + M 2K2N 4/2Number of complex scalarssent from APs to the CPUwithout I-WMMSE precodingτcMLNr + MKL2N 2/2(τc − τp)MKNNr + MKN 2 + M 2K2N 2/2Number of complex scalarsfeedback sent from the CPUKN 2NrKN 2Per-iteration computationalcomplexityO�M 3K2N 5Nr�L-MMSE: O�M 2K2N 3Nr�MR (Monte-Carlo): O�M 2K2N 3Nr + M 3KN 3�MR (Analytical): O�M 3K2N 5�Sum SE improvement28.93%L-MMSE: 46.74%MR: 15.13%V. NUMERICAL RESULTSIn this paper, a CF mMIMO system is investigated, where all APs and UEs are uniformly distributed ina 1×1 km2 area with a wrap-around scheme [42]. The pathloss and shadow fading are modeled similarly as[28]. In practice, Umk,r, Umk,t and Ωmk are estimated through measurements [29]. However, we generatethem randomly in this paper, where the coupling matrix Ωmk consists of one strong transmit eigendirectioncapturing dominant power [43]12. Besides, we have Fk,p = F(0)k,u,{(1),(2)} =� pkN IN. As for Algorithm 1and Algorithm 2, balancing the convergence and accuracy, we assume that I(1),max = I(2),max = 20,ε(1) = ε(2) = 5 × 10−4, and weights for all UEs are equal (µk,(1) = µk,(2) = 1) without losing generality,respectively. Moreover, we consider communication with 20 MHz bandwidth and σ2 = −94 dBm noisepower. All UEs transmit with 200 mW power constraint. Each coherence block contains τc = 200 channeluses and τp = KN/2. Besides, a pilot assignment approach similar as that in [28] is investigated.Figure 3 shows the cumulative distribution function (CDF) of the achievable sum SE over differentrealizations of the AP/UE locations for two processing schemes investigated (we shortly call “fullycentralized processing” as “FCP” in the following) over “I-WMMSE precoding” or “w/o precoding”13.We notice that the FCP scheme undoubtedly achieves higher SE than that of the LSFD scheme since the12In this paper, we choose one eigendirection capturing dominant channel power (randomly accounting for 80% ∼ 95% of the totalchannel power) and other eigendirections contain the remaining power.13The “w/o precoding” scenario denotes that identity precoding matrices Fk,u,{(1),(2)} =� pkN IN are implemented without optimization.
23010203040506070809000.20.40.60.81Fig. 3. CDF of the sum SE over different processing schemes andprecoding schemes with M = 20, K = 10, L = 2, and N = 4.123456020406080100Fig. 4. Sum SE against the number antennas per AP L over differentprocessing schemes and precoding schemes with M = 20, K = 10,and N = 4.1234561234567Fig. 5. Average rate against the number of antennas per UE N overdifferent processing schemes and precoding schemes with M = 20,K = 10, and L = 2.1234561234567Fig. 6. Average SE with I-WMMSE precoding schemes against thenumber of antennas per UE N over different τc with M = 20,K = 10, and L = 2.FCP with MMSE combining is a competitive scheme in CF mMIMO [5]. More importantly, the proposedI-WMMSE schemes are efficient to improve the respective achievable sum SE performance, e.g., 12.78%,19.54% and 28.13% sum SE improvement for the FCP, the LSFD with MR combining and the LSFDwith L-MMSE combining, respectively. Besides, for the LSFD scheme with MR combining, markers “◦”generated by analytical results overlap with the curves generated by simulations, respectively, validatingour derived closed-form expressions.Figure 4 shows the achievable sum SE as a function of the number of antennas per AP with twoprocessing schemes investigated and different precoding schemes14. We notice that, for the FCP or LSFDwith (L-)MMSE combining, the performance gap between the “I-WMMSE” and “w/o precoding” becomessmaller with the increase of L, which implies that (L-)MMSE combining can use all antennas on each14Note that the achievable sum SE investigated is the average sum SE value taken over many AP/UE locations.
2410203040506012345678910Fig. 7.Average SE against the number of APs M for the LSFDscheme with K = 10, L = 4, and N = 4.2345681012234562.533.543.383.4Fig. 8. Average SE against the number of antennas per UE N fordifferent channel models with M = 40, K = 8, and L = 2.2468101214161825262728293031323334(a) FCP24681012141616182022242628(b) LSFDFig. 9. Convergence examples of the I-WMMSE algorithm for the FCP and LSFD with M = 20, K = 10, L = 2, and N = 4.AP to suppress interference and achieve excellent SE performance even without any precoding scheme.For instance, the performance gap between the “I-WMMSE” and “w/o precoding” for the LSFD withL-MMSE combining is 46.74% and 6.17% over L = 1 and L = 6, respectively. Meanwhile, for the LSFDwith MR combining, the performance gap between the “I-WMMSE” and “w/o precoding” becomes largewith the increase of L, e.g. 15.13% and 25.48% for L = 1 and L = 6, respectively. Besides, for theLSFD scheme with MR combining, markers “✷” generated by analytical results overlap with the curvesgenerated by simulations, respectively, validating our derived closed-form expressions.To further show the advantage of the proposed I-WMMSE precoding schemes, Fig. 5 shows the averagerate15 as a function of the number of antennas per UE. We find that the average rates for all schemes withI-WMMSE precoding schemes grow with N and the average rates for the case without UL precodingmay also suffer the degradation with the increase of N. The implementation of the I-WMMSE precoding15Note that one main reason for the phenomenon that additional UE antennas may give rise to the SE degradation is that increasing N willincrease the channel estimation overhead and reduce the pre-log factor “(τc − τp) /τc” in all SE expressions [26], [28]. So we investigate“the average rate” in Fig. 5, ignoring the effect of “(τc − τp) /τc”.
25501001502002503003.43.63.84104501001502002503000246105Fig. 10. Total number of complex scalars sent via the fronthaul per channel use for each realization of the AP/UE locations with M = 20,K = 10, L = 2, and N = 4.schemes undoubtedly makes UEs benefit from multiple antennas and achieve excellent rate performance.Moreover, we observe that the I-WMMSE precoding schemes perform more efficiently with a largernumber of UE antennas. For instance, the average rate improvements achieved by the I-WMMSE precodingfor the LSFD with L-MMSE combining are 31.91% and 9.43% for N = 6 and N = 2, respectively.However, the average SE (with scaling factor (τc − τp)/τc) with I-WMMSE precoding implemented mayalso degrade with the increase of N as the Fig. 2 in [1] since, with the increase of N, the prerequisiteof “mutually orthogonal pilot matrices” still requires huge channel uses for the pilot transmission andthe inter-user interference also increases. So the design of non-orthogonal pilot matrices and per-antennapower control scheme are quite necessary, which are regarded as promising ways to reduce the cost ofpilot transmission and further improve the SE performance [44].Figure 6 discusses the average SE with I-WMMSE precoding schemes against N over different τc.Note that Fig. 5 can be viewed as a special case in Fig. 6 with the coherence block with infinite lengthτc = ∞. We observe that the average SE with I-WMMSE precoding schemes increases with N overτc = 500 or ∞, which means the SE performance can benefit from having additional UE antennas whenthe coherence block resource is abundant.Figure 7 investigates the average SE as a function of M for the LSFD scheme over different precodingschemes16. For MR combining, markers “✷” generated by analytical results overlap with the curvesgenerated by simulations, respectively, validating our derived closed-form expressions again. Besides, theI-WMMSE algorithm is more efficient to improve the SE performance for MR combining than that ofL-MMSE combining for the scenario over large L and M, e.g., 4.03% and 24.21% SE improvement for L-MMSE combining and MR combining with M = 60, respectively, implying that the L-MMSE combining16The “WMMSE precoding” denotes the precoding schemes generated by the I-WMMSE algorithm with only single iteration.
26based on large L and M can achieve excellent SE performance even without any precoding scheme andthe proposed I-WMMSE precoding scheme is handy to mitigate the weakness of MR combining17.Figure 8 considers the average SE as a function of N over the i.i.d. and the Weichselberger Rayleighfading channel. As observed, the proposed I-WMMSE precoding schemes are more efficient over theWeichselberger Rayleigh fading channel. For instance, 24.89% and 9.77% average SE improvement canbe achieved when N = 6 over the “Weichselberger” scenario for the LSFD scheme with MR combiningand the FCP scheme, respectively, but only 0.29% and 6.63% average SE improvement can be achievedfor “I.I.D. Rayleigh channel”. Moreover, compared with Fig. 5, we notice that the I-WMMSE precodingscheme for the FCP scheme is more efficient in the highly loaded system (the scenario in Fig. 5) wherethe number of total AP-antennas is comparable with the number of total UE-antennas.Figure 9 illustrates the convergence behavior of the I-WMMSE algorithms for the FCP scheme andthe LSFD scheme with L-MMSE/MR combining. Note the convergence example in Fig. 9 (a) for theFCP is given by a particular channel realization and the convergence example for the LSFD in Fig. 9 (b)is given by a particular realization of the AP/UE locations. Note that the algorithms investigated can beguaranteed to converge and are efficient to achieve excellent sum SE performance. Besides, Fig. 9 (b) forthe LSFD scheme with MR combining validates our derived closed-form expressions in Algorithm 2.Figure 10 investigates the total number of complex scalars sent via the fronthaul per channel use againstτc for each realization of the AP/UE locations. As observed, total number of complex scalars per channeluse for the FCP/LSFD scheme becomes smaller/larger, which can also be easily found from Table I.Besides, the LSFD scheme requires more fronthaul signaling than the FCP scheme since APs under theLSFD scheme need to transmit all received data signals to the CPU, which requires a huge fronthaul load.More importantly, with the increase of τc, the gap between “I-WMMSE precoding” and “W/O precoding”becomes smaller for either the FCP scheme or the LSFD scheme. Considering the SE performanceimprovement of the I-WMMSE precoding, additional fronthaul loads can be acceptable, especially whenthe coherence resource is abundant. Although the computational complexity of Algorithm 1 for the FCPscheme is much higher than that of Algorithm 2 for the LSFD scheme, the FCP scheme needs muchless fronthaul signaling than that of the LSFD scheme and can achieve better SE performance. So twoprocessing schemes and their respective precoding schemes can be chosen based on different requirements.17MR combining is a simple combining scheme but cannot efficiently suppress the interference.
27VI. CONCLUSIONWe consider a CF mMIMO system with both APs and UEs equipped with multiple antennas overthe Weichselberger Rayleigh fading channel. The FCP scheme and LSFD scheme are implemented. Tofurther improve the sum SE performance, efficient UL precoding schemes based on iteratively WMMSEalgorithms are investigated to maximize weighted sum SE for the two processing schemes. Note that wecompute achievable SE expressions and optimal precoding schemes in novel closed-form for the LSFDscheme with MR combining. Numerical results show that the investigated I-WMMSE precoding schemesare efficient to achieve excellent sum SE performance. More importantly, it can be seen that the proposedI-WMMSE precoding schemes are more efficient with a larger number of UE antennas, which meansthe I-WMMSE precoding schemes can achieve excellent performance even with a large number of UEantennas. The derived results undoubtedly provides vital insights for the practical implementation of multi-antenna UEs in CF mMIMO systems. In future work, we will investigate the design of UL precodingscheme for the phase of pilot transmission and consider the practical implementation of the investigatedI-WMMSE precoding schemes with capacity-constrained fronthaul network and dynamic cooperationclusters. Moreover, the non-orthogonal pilot matrix design will also be considered to further improve theperformance for the CF mMIMO system with multi-antenna UEs. Last but not least, the UL precodingperformance over a more practical Rician fading channel with phase-shifts will also be analyzed.APPENDIX ASOME USEFUL LEMMASLemma 1. Let X ∈ CM×N be a random matrix and Y is a deterministic M × M matrix. The (n, i)-thelement of E�XHYX�is tr�Y · E�xixHn��where xi and xn are the i-th and n-th column of X.Lemma 2. For matrices A ∈ CN1×N1, B ∈ CN1×N2, C ∈ CN2×N2, and D ∈ CN2×N1, we have(A + BCD)−1 = A−1−A−1B�DA−1B + C−1�−1 DA−1, which is a well-known matrix inversion lemma[36, Lemma B.3].APPENDIX BPROOF COROLLARY 5Since the CPU is only aware of channel statistics, we need to treat E{Gkk}Fk,u as the true deterministicchannel and rewrite ˜xk in (25) as ˜xk = E {Gkk} Fk,uxk+(GkkFk,u − E {Gkk} Fk,u) xk +K�l=1,l̸=kGklFl,uxl + n′k����vwhere v is a complex circular symmetric noise with an invertible covariance matrix Ξk = E{vvH|Θ} =
28�Kl=1 E{GklFk,uFHk,uGHkl} − E{Gkk}Fk,uFHk,uE{GHkk} + σ2Sk. Firstly, we whiten the noise as Ξ− 12k ˆxk =Ξ− 12k E {Gkk} Fk,uxk + ˜v, where ˜v ≜ Ξ− 12k v becomes white. Next, we project Ξ− 12k ˆxk in the direction ofΞ− 12k E {Gkk} Fk,u to obtain an effective scalar channel as�Ξ− 12k E {Gkk} Fk,u�HΞ− 12k ˆxk = (E {Gkk} Fk,u)H Ξ−1k E {Gkk} Fk,uxk + (E {Gkk} Fk,u)H Ξ−1k v.(44)Based on theories of optimal receivers [37], we derive optimal LSFD matrix Ak=Ξ−1k E {Gkk}Fk,u asAk =� K�l=1E�GklFk,uFHk,uGHkl�− E {Gkk} Fk,uFHk,uE�GHkk�+ σ2Sk�−1E {Gkk} Fk,u.(45)Moreover, based on the the standard results of matrix derivation in [45], we can easily obtain the LSFDmatrix minimizing the conditional MSE for UE k MSE(2)k= tr(E(2)k ) asAk =� K�l=1E{Gkl¯Fl,uGHkl} + σ2Sk�−1E{Gkk}Fk,u.(46)We notice that the LSFD matrix in (45) is equivalent to the LSFD matrix in (46), except from havinganother scaling matrix IN −�CHB−1C + IN�−1 CHB−1C on the right side, which would not affect thevalue of (27), where B = �Kl=1 E{GklFk,uFHk,uGHkl} + σ2Sk and C = E{Gkk}Fk,u. So the LSFD matrixin (46) cannot maximize the achievable SE but minimize the MSE for UE k.APPENDIX CPROOF OT THEOREM 2In this part, we compute terms of (27) in closed-form for the LSFD scheme with MR combining Vmk =ˆHmk. For the first term Dk,(2) = AHk E{Gkk}Fk,u, we have E{Gkk} = [E{VH1kH1k}; . . . ; E{VHMkHMk}] =[ZT1k, . . . , ZTMk]T ≜ Zk, where Zmk = E{VHmkHmk} = E{ ˆHHmk ˆHmk} ∈ CN×N and the (n, n′)-th el-ement of Zmk can be denoted as [Zmk]nn′ = E{ˆhHmk,nˆhmk,n′} = tr(ˆRn′nmk). So we derive the closed-form for Dk,(2) as Dk,(2),c = AHk ZkFk,u. As for the second term Sk ∈ CMN×MN, we have Sk =diag(E{VH1kV1k}, . . . , E{VHMkVMk}) = diag(Z1k, . . . , ZMk). For E{Gkl¯Fl,uGHkl}, we notice that the(m, m′)-submatrix of E{Gkl¯Fl,uGHkl} is E{VHmkHml¯Fl,uHHm′lVm′k}.Based on [28], we compute E{VHmkHml¯Fl,uHHm′lVm′k} for four possible AP-UE combinations. For“m ̸= m′, l /∈ Pk”, we have E{VHmkHml¯Fl,uHHm′lVm′k} = 0 for the independence between Vmk andHml. For “m ̸= m′, l ∈ Pk”, we have E{VHmkHml¯Fl,uHHm′lVm′k} = E{VHmkHml}¯Fl,uE{HHm′lVm′k} =Λmkl¯Fl,uΛm′lk, where the (n, n′)-th element of N ×N-dimension complex matrices Λmkl ≜ E{VHmkHml},
29Λm′lk ≜ E{HHm′lVm′k} are [Λmkl]nn′ = E{ˆhHmk,nˆhml,n′} = tr(Ξn′nmkl) and [Λm′lk]nn′ = E{ˆhHm′l,nˆhmk,n′} =tr(Ξn′nm′lk) with Ξmkl ≜ E{ˆhmlˆhHmk} = τpRml˜FHl,pΨ−1mk˜Fk,pRmk, Ξm′lk ≜ E{ˆhm′kˆhHm′l} = τpRm′k˜FHk,pΨ−1m′k˜Fl,pRm′l.For “m = m′, l /∈ Pk”, we define Γ(1)mkl ≜ E{VHmkHml¯Fl,uHHmlVmk} ∈ CN×N with the (n, n′)-th element[Γ(1)mkl]nn′ = �Ni=1�Ni′=1 [¯Fl,u]i′iE{ˆhHmk,nhml,i′hHml,iˆhmk,n′} being[Γ(1)mkl]nn′ =N�i=1N�i′=1[¯Fl,u]i′itr(E�hml,i′hHml,i�E{ˆhmk,n′ˆhHmk,n}) =N�i=1N�i′=1[¯Fl,u]i′itr(Ri′iml ˆRn′nmk)(47)since ˆHmk and Hml are independent. Finally, for “m = m′, l ∈ Pk”, ˆHmk and Hml are no longer inde-pendent. We define Γ(2)mkl ≜ E{VHmkHml¯Fl,uHHmlVmk} ∈ CN×N whose (n, n′)-th element is [Γ(2)mkl]nn′ =�Ni=1�Ni′=1 [¯Fl,u]i′iE{ˆhHmk,nhml,i′hHml,iˆhmk,n′}. We follow the similar method in [28] and derive[Γ(2)kl,m]nn′ = �Ni=1�Ni′=1 [¯Fl,u]i′itr(Ri′imlPn′nmkl,(1))+τ 2p�Nq1=1�Nq2=1 [¯Fl,u]i′i[tr(˜Pq1nmkl,(2) ˜Ri′q2ml ˜Rq2iml ˜Pn′q1mkl,(2))].+τ 2p�Nq1=1�Nq2=1 [¯Fl,u]i′itr(˜Pq1nmkl,(2) ˜Ri′q2ml )tr(˜Pn′q2mkl,(2) ˜Rq2iml), where Pmkl,(1) ≜ τpSmk(Ψmk−τp˜Fl,pRml˜FHl,p)SHmk,Smk ≜ Rmk˜FHk,pΨ−1mk and Pmkl,(2) ≜ Smk˜Fl,pRml˜FHl,pSHmk, respectively. Besides, ˜Rniml and ˜Pnimkl,(2) denote(n, i)-submatrix of R12ml and P12mkl,(2), respectively.In summary, combining all the cases, we have E{Gkl¯Fl,uGHkl} = Tkl,(1) + Tkl,(2) if l ∈ Pk and Tkl,(1)otherwise, where Tkl,(1) ≜ diag(Γ(1)kl,1, . . . , Γ(1)kl,M) ∈ CMN×MN and Tmm′kl,(2) = Γ(2)kl,m − Γ(1)kl,m if m = m′and Λmkl¯Fl,uΛm′lk otherwise. Plugging the derived results into (28) and (31), we can easily compute theoptimal LSFD coefficient matrix and MSE matrix in closed-form as (34). So we have finished the proofof Theorem 2. For more details on the derived expression, please refer to [28, Appendix D].APPENDIX DPROOF OF THEOREM 1When other optimization variables are fixed, we derive the partial derivative of (17) w.r.t F(1)k,u as∂f�F1,u,(1), . . . , FK,u,(1)�∂Fk,u,(1)=K�l=1µl,(1)�ˆHHk VlWl,(1)VHl ˆHk + E�˜HHk VlWl,(1)VHl˜Hk��� V, W��+ λk,(1)IN− µk,(1) ˆHHk VHk Wk,(1).(48)By applying the first-order optimality condition and setting∂f(F1,u,(1),...,FK,u,(1))∂Fk,u,(1)= 0, we can easily obtainthe optimal precoding scheme. Besides, λk,(1) and Fk,u,(1) should also satisfy KKT condition as (19).As for ¯Ckl ≜ E{ ˜HHk VlWl,(1)VHl ˜Hk|V, W} ∈ CN×N, by applying Lemma 1, the (i, n)-th element of¯Ckl is tr( ¯VlE{˜hk,n˜hHk,i}) where ¯Vl ≜ VlWl,(1)VHland ˜hk,n = [˜hT1k,n, . . . , ˜hTMk,n]T ∈ CML is the n-thcolumn of ˜Hk. Finally, we derive Ck,ni ≜ E{˜hk,n˜hHk,i} = diag (Cni1k, . . . , CniMk) ∈ CML×ML since ˜hmk,n
30and ˜hm′k,n for m ̸= m′ are independent and both have zero mean. So Ck,ni is a block-diagonal matrixwith the square matrices Cni1k = E{˜h1k,n˜hH1k,i}, . . . , CniMk = E{˜hMk,n˜hHMk,i} on the diagonal.APPENDIX EPROOF OF (15)For the LSFD scheme, the conditional MSE matrix for UE k can be written as (26). Based on [28,Appendix C], we prove that (28) can also minimize MSEk,(2) = tr�Ek,(2)�. With (28) implemented, Ek,(2)is given by (31). Then, by applying Lemma 2, we have�Eoptk,(2)�−1= IN + FHk,u,(2)E�GHkk�� K�l=1E�Gkl¯Fl,u,(2)GHkl�− E {Gkk} ¯Fk,u,(2)E�GHkk�+ σ2Sk�−1× E {Gkk} Fk,u,(2),where A ≜ IN, B ≜ −FHk,u,(2)E{GHkk}, C ≜ (�Kl=1 E{Gkl¯Fl,u,(2)GHkl}+σ2Sk)−1 and D ≜ E{Gkk}Fk,u,(2),respectively. We show the equivalence between SEoptk,(2) and log2 |(Eoptk,(2))−1| without a factor (1 − τp/τc).APPENDIX FPROOF OF THEOREM 4When MR combining Vmk = ˆHmk and the optimal LSFD scheme applied, we can easily computeE{GHkk}, Aoptk , and Eoptk,(2) in closed-form as Theorem 2. Furthermore, by applying Lemma 1, the (i, n)-thentry of ¯Tlk = E{GHlkAlE−1l,(2)AHl Glk} ∈ CN×N can be denoted as tr(¯AlE{glk,ngHlk,i}), where ¯Al ≜AlE−1l,(2)AHland glk,n ∈ CMN is the n-th column of Glk. Note that the (m − 1) N + p-th element ofglk,n is ˆhHml,phmk,n so the [(m − 1) N + p, (m′ − 1) N + p′]-th (or [o, j]-th briefly) entry of ¯Glk,ni ≜E{glk,ngHlk,i} ∈ CMN×MN can be denoted as E{ˆhHml,phmk,nhHm′k,iˆhm′l,p′}, which can be computed for fourAP-UE combinations as Theorem 2.For “l /∈ Pk, m ̸= m′”, we have E{ˆhHml,phmk,nhHm′k,iˆhm′l,p′} = 0. For “l ∈ Pk, m ̸= m′”, we haveE{ˆhHml,phmk,nhHmk,iˆhml,p′} = tr(Rnimk ˆRp′pml). For “l /∈ Pk, m = m′”, we have E{ˆhHml,phmk,nhHm′k,iˆhm′l,p′} =E{ˆhHml,phmk,n}E{hHm′k,iˆhm′l,p′} = tr(Ξnpmlk)tr(Ξp′im′kl), where Ξmlk = τpRmk˜FHk,pΨ−1mk˜Fl,pRml and Ξm′kl =τpRm′l˜FHl,pΨ−1m′l˜Fk,pRm′k. For “l ∈ Pk, m = m′”, we obtain E{ˆhHml,phmk,nhHmk,iˆhml,p′} = tr(RnimkPp′pmkl,(1))+τ 2p�Nq1=1�Nq2=1 tr(˜Pq1pmlk,(2) ˜Rnq2mk ˜Rq2imk ˜Pp′q1mlk,(2)) + τ 2p�Nq1=1�Nq2=1 tr(˜Pq1nmlk,(2) ˜Rnq1mk)tr(˜Pp′q2mlk,(2) ˜Rq2imk), whereSml = Rml˜FHl,pΨ−1ml, Pmlk,(1) = τpSml(Ψml−τp˜Fk,pRmk˜FHk,p)SHml and Pmlk,(2) = Sml˜Fk,pRmk˜FHk,pSHml with˜Rnimk and ˜Pnimkl,(2) being (n, i)-submatrix of R12mk and P12mkl,(2), respectively. We can compute E{glk,ngHlk,i}ojin closed-form as (42) and Foptk,u,(2) in closed-form as (43).
31REFERENCES[1] Z. Wang, J. Zhang, H. Q. Ngo, B. Ai, and M. Debbah, “Iteratively weighted MMSE uplink precoding for cell-free massive MIMO,”in Proc. IEEE ICC, May 2022, pp. 1–6.[2] H. Q. Ngo, A. Ashikhmin, H. Yang, E. G. Larsson, and T. L. Marzetta, “Cell-free massive MIMO versus small cells,” IEEE Trans.Wireless Commun., vol. 16, no. 3, pp. 1834–1850, Mar. 2017.[3] J. Zhang, E. Bj¨ornson, M. Matthaiou, D. W. K. Ng, H. Yang, and D. J. Love, “Prospective multiple antenna technologies for beyond5G,” IEEE J. Sel. Areas Commun, vol. 38, no. 8, pp. 1637–1660, Jun. 2020.[4] S. Chen, J. Zhang, J. Zhang, E. Bj¨ornson, and B. Ai, “A survey on user-centric cell-free massive MIMO systems,” Digit. Commun.Netw., 2021.[5] E. Bj¨ornson and L. Sanguinetti, “Making cell-free massive MIMO competitive with MMSE processing and centralized implementation,”IEEE Trans. Wireless Commun., vol. 19, no. 1, pp. 77–90, Jan. 2019.[6] S. Elhoushy, M. Ibrahim, and W. Hamouda, “Cell-free massive MIMO: A survey,” IEEE Commun. Surveys Tuts., vol. 24, no. 1, pp.492–523, 1st Quart. 2022.[7] J. Zhang, S. Chen, Y. Lin, J. Zheng, B. Ai, and L. Hanzo, “Cell-free massive MIMO: A new next-generation paradigm,” IEEE Access,vol. 7, pp. 99 878–99 888, Jul. 2019.[8] H. Q. Ngo, L. Tran, T. Q. Duong, M. Matthaiou, and E. G. Larsson, “On the total energy efficiency of cell-free massive MIMO,” IEEETrans. Green Commun. Netw, vol. 2, no. 1, pp. 25–39, Mar. 2018.[9] E. Bj¨ornson and L. Sanguinetti, “Scalable cell-free massive MIMO systems,” IEEE Trans. Commun., vol. 68, no. 7, pp. 4247–4261,Jul. 2020.[10] S. Chen, J. Zhang, E. Bj¨ornson, J. Zhang, and B. Ai, “Structured massive access for scalable cell-free massive MIMO systems,” IEEEJ. Sel. Areas Commun, vol. 39, no. 4, pp. 1086–1100, Aug. 2021.[11] A. Papazafeiropoulos, E. Bj¨ornson, P. Kourtessis, S. Chatzinotas, and J. M. Senior, “Scalable cell-free massive MIMO systems: Impactof hardware impairments,” IEEE Trans. Veh. Technol., vol. 70, no. 10, pp. 9701–9715, Oct. 2021.[12] J. Zheng, J. Zhang, E. Bj¨ornson, Z. Li, and B. Ai, “Cell-free massive MIMO-OFDM for high-speed train communications,” IEEE J.Sel. Areas Commun., vol. 40, no. 10, pp. 2823–2839, Oct. 2022.[13] M. Attarifar, A. Abbasfar, and A. Lozano, “Subset MMSE receivers for cell-free networks,” IEEE Trans. Wireless Commun., vol. 19,no. 6, pp. 4183–4194, Jun. 2020.[14] E. Nayebi, A. Ashikhmin, T. L. Marzetta, and B. D. Rao, “Performance of cell-free massive MIMO systems with MMSE and LSFDreceivers,” in Proc. Asilomar Conf. Signals, Syst. Comput., Nov. 2016, pp. 203–207.[15]¨O. ¨Ozdogan, E. Bj¨ornson, and J. Zhang, “Performance of cell-free massive MIMO with Rician fading and phase shifts,” IEEE Trans.Wireless Commun., vol. 18, no. 11, pp. 5299–5315, Nov. 2019.[16] Z. Wang, J. Zhang, E. Bj¨ornson, and B. Ai, “Uplink performance of cell-free massive MIMO over spatially correlated Rician fadingchannels,” IEEE Commun. Lett., vol. 25, no. 4, pp. 1348–1352, Apr. 2021.[17] J. Zhang, J. Zhang, E. Bj¨ornson, and B. Ai, “Local partial zero-forcing combining for cell-free massive MIMO systems,” IEEE Trans.Commun., vol. 69, no. 12, pp. 8459–8473, Dec. 2021.[18] G. Interdonato, P. Frenger, and E. G. Larsson, “Scalability aspects of cell-free massive MIMO,” in Proc. IEEE ICC, 2019, pp. 1–6.[19] Z. H. Shaik, E. Bj¨ornson, and E. G. Larsson, “MMSE-optimal sequential processing for cell-free massive MIMO with radio stripes,”IEEE Trans. Commun., vol. 69, no. 11, pp. 7775–7789, Nov. 2021.
32[20] H. Masoumi and M. J. Emadi, “Performance analysis of cell-free massive MIMO system with limited fronthaul capacity and hardwareimpairments,” IEEE Trans. Wireless Commun., vol. 19, no. 2, pp. 1038–1053, Feb. 2020.[21] M. Bashar, P. Xiao, R. Tafazolli, K. Cumanan, A. G. Burr, and E. Bj¨ornson, “Limited-fronthaul cell-free massive MIMO with localMMSE receiver under Rician fading and phase shifts,” IEEE Wireless Commun. Lett., vol. 10, no. 9, pp. 1934–1938, Sep. 2021.[22] T. Van Chien, H. Q. Ngo, S. Chatzinotas, M. Di Renzo, and B. Ottersten, “Reconfigurable intelligent surface-assisted cell-free massiveMIMO systems over spatially-correlated channels,” IEEE Trans. Wireless Commun., vol. 21, no. 7, pp. 5106–5128, Jul. 2022.[23] E. Shi, J. Zhang, S. Chen, J. Zheng, Y. Zhang, D. W. Kwan Ng, and B. Ai, “Wireless energy transfer in RIS-aided cell-free massiveMIMO systems: Opportunities and challenges,” IEEE Commun. Mag., vol. 60, no. 3, pp. 26–32, Mar. 2022.[24] T. C. Mai, H. Q. Ngo, and T. Q. Duong, “Cell-free massive MIMO systems with multi-antenna users,” in IEEE GlobalSIP, Nov. 2018,pp. 828–832.[25] S. Buzzi, C. D’Andrea, A. Zappone, and C. D’Elia, “User-centric 5G cellular networks: Resource allocation and comparison with thecell-free massive MIMO approach,” IEEE Trans. Wireless Commun., vol. 19, no. 2, pp. 1250–1264, Feb. 2020.[26] T. C. Mai, H. Q. Ngo, and T. Q. Duong, “Downlink spectral efficiency of cell-free massive MIMO systems with multi-antenna users,”IEEE Trans. Commun., vol. 68, no. 8, pp. 4803–4815, Apr. 2020.[27] M. Zhou, L. Yang, and H. Zhu, “Sum-SE for multigroup multicast cell-free massive MIMO with multi-antenna users and low-resolutionDACs,” IEEE Wireless Commun. Lett., vol. 10, no. 8, pp. 1702–1706, May 2021.[28] Z. Wang, J. Zhang, B. Ai, C. Yuen, and M. Debbah, “Uplink performance of cell-free massive MIMO with multi-antenna users overjointly-correlated Rayleigh fading channels,” IEEE Trans. Wireless Commun., vol. 21, no. 9, pp. 7391–7406, Sep. 2022.[29] W. Weichselberger, M. Herdin, H. Ozcelik, and E. Bonek, “A stochastic MIMO channel model with joint correlation of both link ends,”IEEE Trans. Wireless Commun., vol. 5, no. 1, pp. 90–100, Jan. 2006.[30] Q. Shi, M. Razaviyayn, Z.-Q. Luo, and C. He, “An iteratively weighted MMSE approach to distributed sum-utility maximization fora MIMO interfering broadcast channel,” IEEE Trans. Signal Process., vol. 59, no. 9, pp. 4331–4340, Apr. 2011.[31] J. Shin and J. Moon, “Weighted-sum-rate-maximizing linear transceiver filters for the K-user MIMO interference channel,” IEEE Trans.Commun., vol. 60, no. 10, pp. 2776–2783, Sep. 2012.[32] S. S. Christensen, R. Agarwal, E. De Carvalho, and J. M. Cioffi, “Weighted sum-rate maximization using weighted MMSE for MIMO-BC beamforming design,” IEEE Trans. Wireless Commun., vol. 7, no. 12, pp. 4792–4799, 2008.[33] X. Li, X. Zhang, Y. Zhou, and L. Hanzo, “Optimal massive-MIMO-Aided clustered base-station coordination,” IEEE Trans. Veh.Technol., vol. 70, no. 3, pp. 2699–2712, Feb. 2021.[34] H. Q. Ngo, H. Tataria, M. Matthaiou, S. Jin, and E. G. Larsson, “On the performance of cell-free massive MIMO in Ricean fading,”in Proc. Asilomar Conf. Signals, Syst., Comput., Oct. 2018, pp. 980–984.[35] E. Bj¨ornson and B. Ottersten, “A framework for training-based estimation in arbitrarily correlated Rician MIMO channels with Riciandisturbance,” IEEE Trans. Signal Process., vol. 58, no. 3, pp. 1807–1820, Nov. 2010.[36] E. Bj¨ornson, J. Hoydis, and L. Sanguinetti, “Massive MIMO networks: Spectral, energy, and hardware efficiency,” Foundations andTrends® in Signal Processing, vol. 11, no. 3-4, pp. 154–655, 2017.[37] D. Tse and P. Viswanath, Fundamentals of wireless communication.Cambridge university press, 2005.[38] M. Bashar, K. Cumanan, A. G. Burr, H. Q. Ngo, M. Debbah, and P. Xiao, “Max-min rate of cell-free massive MIMO uplink withoptimal uniform quantization,” IEEE Trans. Commun., vol. 67, no. 10, pp. 6796–6815, Oct. 2019.[39] B. Hu, C. Hua, C. Chen, and X. Guan, “Joint beamformer design for wireless fronthaul and access links in C-RANs,” IEEE Trans.Wireless Commun., vol. 17, no. 5, pp. 2869–2881, May 2018.
33[40] J. Hoydis, S. ten Brink, and M. Debbah, “Massive MIMO in the UL/DL of cellular networks: How many antennas do we need?” IEEEJ. Sel. Areas Commun, vol. 31, no. 2, pp. 160–171, Feb. 2013.[41] S. Wagner, R. Couillet, M. Debbah, and D. T. M. Slock, “Large system analysis of linear precoding in correlated MISO broadcastchannels under limited feedback,” IEEE Trans. Inf. Theory, vol. 58, no. 7, pp. 4509–4537, Jul. 2012.[42] J. Zhang, J. Zhang, D. W. K. Ng, S. Jin, and B. Ai, “Improving sum-rate of cell-free massive MIMO with expanded compute-and-forward,” IEEE Trans. Signal Process., vol. 70, pp. 202–215, 2021.[43] A. Tulino, A. Lozano, and S. Verdu, “Impact of antenna correlation on the capacity of multiantenna channels,” IEEE Trans. Inf. Theory,vol. 51, no. 7, pp. 2491–2509, Jun. 2005.[44] Y. Wu, S. Ma, and Y. Gu, “A unified framework of non-orthogonal pilot design for multi-cell massive MIMO systems,” IEEE Trans.Commun., vol. 68, no. 12, pp. 7623–7633, 2020.[45] A. Hjørungnes, Complex-valued matrix derivatives: with applications in signal processing and communications. Cambridge UniversityPress, 2011.
123version https://git-lfs.github.com/spec/v1oid sha256:b71f34899cdd9cc0ce9e23b7bafbcc82aaba807734f7f3105cf6845690f8b482size 7667757123version https://git-lfs.github.com/spec/v1oid sha256:8059ee327055e8029001a9f59d3bacd32eddd339177eb8d41d36623b6d3a7e08size 292322123version https://git-lfs.github.com/spec/v1oid sha256:a486f3dd10015351b4ecee684b4df7503240db8bccdc92c22bd485e5150246c4size 2555949-NE1T4oBgHgl3EQfUgOU/content/2301.03091v1.pdfAdded+3
-NE1T4oBgHgl3EQfUgOU/vector_store/index.faissAdded+3
-NE1T4oBgHgl3EQfUgOU/vector_store/index.pklAdded+3
-dE2T4oBgHgl3EQfmQc9/content/2301.03996v1.pdfAdded+3
-dE2T4oBgHgl3EQfmQc9/vector_store/index.faissAdded+3
-tFAT4oBgHgl3EQfqR1A/vector_store/index.faissAdded+3
.gitattributes+63
09FAT4oBgHgl3EQfjh3M/content/tmp_files/2301.08606v1.pdf.txtAdded+1117
09FAT4oBgHgl3EQfjh3M/content/tmp_files/load_file.txtAdded
0dFKT4oBgHgl3EQfNy2J/content/tmp_files/2301.11756v1.pdf.txtAdded+519
0dFKT4oBgHgl3EQfNy2J/content/tmp_files/load_file.txtAdded+465
1dFLT4oBgHgl3EQfpy-5/content/2301.12137v1.pdfAdded+3
1dFLT4oBgHgl3EQfpy-5/vector_store/index.faissAdded+3
2dFST4oBgHgl3EQfXzgB/content/tmp_files/2301.13785v1.pdf.txtAdded+1127
2dFST4oBgHgl3EQfXzgB/content/tmp_files/load_file.txtAdded
2tE2T4oBgHgl3EQfjAfh/content/tmp_files/2301.03965v1.pdf.txtAdded+1509
2tE2T4oBgHgl3EQfjAfh/content/tmp_files/load_file.txtAdded
2tFLT4oBgHgl3EQfrC9d/content/tmp_files/2301.12142v1.pdf.txtAdded+1631
2tFLT4oBgHgl3EQfrC9d/content/tmp_files/load_file.txtAdded
4NAyT4oBgHgl3EQf1_nb/content/2301.00745v1.pdfAdded+3
4NAyT4oBgHgl3EQf1_nb/vector_store/index.faissAdded+3
4NAyT4oBgHgl3EQf1_nb/vector_store/index.pklAdded+3
4dAyT4oBgHgl3EQfpPgc/content/tmp_files/2301.00520v1.pdf.txtAdded+1341
4dAyT4oBgHgl3EQfpPgc/content/tmp_files/load_file.txtAdded
69E1T4oBgHgl3EQfTgNE/vector_store/index.pklAdded+3
69E3T4oBgHgl3EQfpwru/content/tmp_files/2301.04646v1.pdf.txtAdded+1019
69E3T4oBgHgl3EQfpwru/content/tmp_files/load_file.txtAdded
79FAT4oBgHgl3EQfoh2y/content/tmp_files/2301.08635v1.pdf.txtAdded+1788
79FAT4oBgHgl3EQfoh2y/content/tmp_files/load_file.txtAdded
7NE3T4oBgHgl3EQfRgki/content/tmp_files/2301.04421v1.pdf.txtAdded+1476
7NE3T4oBgHgl3EQfRgki/content/tmp_files/load_file.txtAdded
99AzT4oBgHgl3EQfSvs8/content/tmp_files/2301.01236v1.pdf.txtAdded+684
99AzT4oBgHgl3EQfSvs8/content/tmp_files/load_file.txtAdded+223
9NE1T4oBgHgl3EQfCQIp/content/tmp_files/2301.02861v1.pdf.txtAdded+1231
9NE1T4oBgHgl3EQfCQIp/content/tmp_files/load_file.txtAdded+381
A9FAT4oBgHgl3EQfrx7P/content/2301.08655v1.pdfAdded+3
A9FAT4oBgHgl3EQfrx7P/vector_store/index.faissAdded+3
A9FAT4oBgHgl3EQfrx7P/vector_store/index.pklAdded+3
BNE1T4oBgHgl3EQfVgSF/content/tmp_files/2301.03103v1.pdf.txtAdded+2084
BNE1T4oBgHgl3EQfVgSF/content/tmp_files/load_file.txtAdded
BtE5T4oBgHgl3EQfTQ-D/vector_store/index.faissAdded+3
CNE1T4oBgHgl3EQfDwNk/vector_store/index.faissAdded+3
CNFJT4oBgHgl3EQfASxa/content/2301.11419v1.pdfAdded+3
CNFJT4oBgHgl3EQfASxa/vector_store/index.faissAdded+3
CNFJT4oBgHgl3EQfASxa/vector_store/index.pklAdded+3
DNE0T4oBgHgl3EQfggEA/content/tmp_files/2301.02417v1.pdf.txtAdded+2744
DNE0T4oBgHgl3EQfggEA/content/tmp_files/load_file.txtAdded
EdE1T4oBgHgl3EQfWgTb/vector_store/index.faissAdded+3
EdE5T4oBgHgl3EQfUw9y/content/2301.05546v1.pdfAdded+3
EdE5T4oBgHgl3EQfUw9y/vector_store/index.faissAdded+3