# Mapping the semantic void III: Exploring neighbourhoods

**TL;DR:**  [The original "semantic void" post](https://www.lesswrong.com/posts/c6uTNm5erRrmyJvvD/mapping-the-semantic-void-strange-goings-on-in-gpt-embedding) documented a phenomenon tentatively described as a "stratified ontology" associated with a set of concentric hyperspherical shells in GPT-J embedding space. This post will consider the same phenomenon primarily via angular, rather than radial, variation. Both token embeddings and randomly sampled non-token embeddings are considered. Each embedding is subjected to repeated random displacement of various magnitudes, and statistics are compiled for the "semantic decay" seen as we move away from the embedding in question.

\[[Part I](https://www.lesswrong.com/posts/c6uTNm5erRrmyJvvD/mapping-the-semantic-void-strange-goings-on-in-gpt-embedding)\] \[[Part II](https://www.lesswrong.com/posts/hincdPwgBTfdnBzFf/mapping-the-semantic-void-ii-above-below-and-between-token)\]

*Work supported by the Long Term Future Fund.*

Introduction
============

[The original post](https://www.lesswrong.com/posts/c6uTNm5erRrmyJvvD/mapping-the-semantic-void-strange-goings-on-in-gpt-embedding) focussed on distributions of various definitional themes across the scale of "distance from centroid", providing numerous bar charts like those seen immediately below. At a set of fixed radial distances from the centroid (mean token embedding), 100 non-token embeddings ("[nokens](https://www.lesswrong.com/posts/sDn5MnBGdvKMenHRr/nokens-a-potential-method-of-investigating-glitch-tokens)" or "ghost tokens") were randomly sampled. For each, GPT-J was prompted with

     A typical definition of <noken> is 

and the results matched against a set of keywords and phrases for each definitional theme:

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/c6uTNm5erRrmyJvvD/vuod3swhkzv2fbcojvn1)

the radial distances shown are scaled exponentially

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/c6uTNm5erRrmyJvvD/asfhltrpvqoxyerpa2r9)

![](https://res.cloudinary.com/lesswrong-2-0/image/upload/f_auto,q_auto/v1/mirroredImages/c6uTNm5erRrmyJvvD/wi9bzluixxdbw9ftk2pz)

  
This post will focus on angular, rather than radial, variation. 

The next section will look at non-token embeddings which have been randomly sampled at various distances from the centroid, perturbing them (adding 100 random noise vectors for each of a set of fixed magnitudes) and then prompting GPT-J for a definition of the result, revealing a kind of "semantic decay" as distance increases from the original embedding.

In the section which follows that, a similar procedure is applied to a selection of token embeddings for common words that GPT-J can satisfactorily define.  
 

Perturbations of non-token embeddings
=====================================

Random embeddings were sampled at each of the distances 0.5, 1, 2 and 5 from the centroid and inserted in the "typical definition" GPT-J prompt until a diversity of definitions had been harvested. At distances 0.5 and 1 this took quite a while, as the vast majority of definitions produced there are "a person who is a member of a group" or some variant thereof. As distance from centroid increases, a much greater diversity of definitions is seen (this seems to peak around distance 5, as reported in [part I](https://www.lesswrong.com/posts/c6uTNm5erRrmyJvvD/mapping-the-semantic-void-strange-goings-on-in-gpt-embedding)).

For each of the collected embeddings, 100 randomly directed noise vectors of each of the magnitudes \[0.1, 0.35, 0.6, 0.85, 1.1, 1.35, 1.6, 1.85, 2.1\] were sampled and added to it. Definitions were generated for each of these perturbations, which were then compared to the reference definition produced by the embedding in question.

The results show that within a radius of 0.1, most embeddings are defined by GPT-J identically to the reference embedding, but as we move out in increments of 0.25, we see these definitions start to display a kind of "semantic decay", while other seemingly unrelated definitions become more and more common. 

I used two metrics: 

*   the number (out of 100) of definition outputs which exactly match the definition of the reference embedding (blue)
*   the average number (across 100 definition outputs) of output tokens before the definition output diverges from that of the reference embedding (green)

In both, we very often see what look like power law decay curves. There also appears to be some kind of subtle, secondary oscillatory phenomenon in many cases.

Because I was seeing a lot of definitions immediately straying from the reference embedding definition in terms of exact wording, but still remaining "on topic", I also experimented with a third metric which involved choosing a keystring from the original definition and recording how many of the 100 definition outputs include this. The basic  decay pattern was always the same.

(The definitions given below link to JSON files containing all 900 definitions as well as the embedding tensor.)

radius = 0.5 (9 examples)
-------------------------

['a person who is not a member of a group'](https://drive.google.com/file/d/10pZEzrr0JqL4GcwE4WQJj2BJh074xVN1/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/0IM14zVXmQFsMk84bcntQJ8S5JDT9_WCemZpaxWMAGLko-Ird1s1vVxFEMZ8B-dRBqWb0e3TF9dEvOBSLnKgQQaRvjGt3imJv7N27svZ-C_fRqQcTlYWXA-K6RoRwEvqaZKKhdrVdRav9QwKWPktbzg)

['a person who is a member of a group'](https://drive.google.com/file/d/10niCzenYQUfbUH-gPDRZE6u90syJpfzJ/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/JW2MWubl_Y5maHp9fB-9dxLSY4p7LdiM6Jg12zxajq8xwhgaHOzIZ3sRKVxB_MOGrRX4UAVrbhaAApL3AnvPTNNeihXdItmn6sgB4r4ZN6yRGjvzpnCuJuGo7fji0WosQEpF-vLTn_lhZcmRKldPkQc)

['a person who is not a woman'](https://drive.google.com/file/d/11-SQOkqPbfUkC5KMoEdDpPnIcJCnc20I/view?usp=sharing)

**![](https://lh7-us.googleusercontent.com/utZqWl4C1FsgjpKe1dTz5hQ3N8Cih6z5UoAvpeQEMhTFkEHz483vdi1noAt7p74vvWXrC_VlFPGaDdaIBOvrvuseLTH787wB-D4fRD1JumtvMEvJ2PDY3sen8SpievpvUdtKptSW192AVV_DdnvPKf0)**

['to be in the place of'](https://drive.google.com/file/d/10ya3jsNC9h1mNOUa9filGkK81zqVGFn2/view?usp=sharing)

**![](https://lh7-us.googleusercontent.com/ozOa6DGcRVSH2-6rhFaKlUeIKopS0u82UYu6QY-Rn0QieDDCJmVWsUVTtAy5FbFqCe67onnl7ZE7mo_LlBVPyLeEju3jxBQbyUOwPIrLTX14_ZnC9EubkF2yzrkyqIo5aCXlw4i4VsHma-kP1AIUI0Q)**

['to be in a position of authority'](https://drive.google.com/file/d/11-ksOnP9hBJy8eFr-cmXmtljsCfzz9OJ/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/nH97KaJhaxMyFbZyheVlQVTw3zP_O2-SQFclKUkdYKR8it5Ng6X-0AiudZrMFiVgjjxSmryOhDoecgc-qlrLfziDfhRHdq5yRLqH_kbaMWT8BlMKR0Xcw6e3nb0dql-kbqLCdKNvu22KBZxYlUz9cHk)

['a word  or  phrase that is used to introduce a new topic or idea'](https://drive.google.com/file/d/119vP4Xm1G3ztA9gWB_iA6xxwq_QESiGO/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/Gr35xbwFZwj0jQM3DQT79CsgA9JgomTOv09jieOmlTQjbE926uVtiNpVzWPNqqdQlUelN0_fmBS4zt0yw3gXXzscpNkpKM0F3liMpkJxlr-68QEygF3He_QkT3SrxeY_VDEA1tsgsoeCLeEOzd36Y4Q)

['a thing that is  in the middle of two other things'](https://drive.google.com/file/d/117K6YJXwYtIgkYMXqee-6Dg2bF_KUDZy/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/Q8wZiXDPooHM6VzxPq-4sUAo_TO0fVhVGR73TIpNgckZmxmY1FFVfgjvw4q3KExaJNnb0xEkOx4KQML0kj22CSE3BsF3FmWKS8UzjJr1JNJuFnz0A1rqvd2JL32lIyeyDZpJpQYvLsefTjyPhGX-pYM)

['a thing that is the same as itself'](https://drive.google.com/file/d/1YKMgQ3Yna8BNxN6YwGP7vCsfkecgW9Gh/view?usp=sharing)

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3ed6c2384a53be85c062e016ab1d1fbde54e592ddcfe1b28.png)

  
['to be in a position of advantage'](https://drive.google.com/file/d/1zkSOupKgojd1JIdQ5-fY6lh9gA4czCny/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/-_lcj3ELESDOOvtH7PWSvu-YBUPhfDjCPrS05CPUkVY3duRB-_T5YgWobUc09MuM6ez5bSzD4jWhscPuRoNhyJw4s7tBO26R7PrsmaUleksgqoo0XDKV4GNx0Q0NRtZkg6RxDEVtW-Iqup3L5bgaT_4)

  
radius = 1 (12 examples)
---------------------------

[a download](https://drive.google.com/file/d/10EHTKXedszbkmOeHkyvW9escl-IGlrpY/view?usp=sharing)[^64iyz1jcqf9][ of a download of a download of a download of a download of a](https://drive.google.com/file/d/10EHTKXedszbkmOeHkyvW9escl-IGlrpY/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/O-CiFAHYC9boamdZhPB7dl5fnLDFpe-XVanYN6xbnH_S8CG_G6GhKnqib5eSzPUTpzEYkKJ0BSc6fhlbuJ3Ri-of9M86YxJZlQf-tx5se6dNZUgW037HN5MK5c1wBKzL6Zz8XYletKEDWZuGqMAc-bI)

['a person who is a member of a group of people who are similar in some](https://drive.google.com/file/d/107lxwHHkH7e7sJFmrzu9MBH6S__SAEGQ/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/G03aQBm5d1j-wmEEkUVSiPxaYtKhwSz4n7KIyF7VYPog6cK_jhMImA4N9lxV3GPgt1QebYG-d7_kobAIdMvwaLHTdGdtwTzTTEelTHWb6GMimEb1OJHcQ_Rpt07pPUiiudktYxZDILiRThJD0H8E-Os)

['to make a profit**'**](https://drive.google.com/file/d/10FNiEpbKHeXfGdXWwuoOY0WGqhJvmC-l/view?usp=sharing)

**![](https://lh7-us.googleusercontent.com/4U3KQZ-vUjkypN2UrssGKuqEX0KKWBzWZh8DTUrPc0TTS0WxV58xiOQBGuK1zptyf4SZEIcZKqWI_0CFqEJBSK8_VF4rDuaKWz_FVbmw2DdiHMcrjjgBJUw-h2ni2XGVAq6Hot6XKcBcKu_2IOmbhwo)**

['to be in a state ofreadiness to act'](https://drive.google.com/file/d/10F31RqkQl65NG04CtKqim77M7hJHT3It/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/TR-mfxI9KxeHljkHRodkgen9D7hMeICN-UcWxXzsexZBxTgBYrt8BkzysTmx1h1wH1YFp1EDpUBgYAECr8bD1efGcAfV_Ai_eSEer4KGtvNiSh4l6vumXHANvcdgdwaN74OTG9ZrE-nU17DxRjn7OJI)

['to be able to do something'](https://drive.google.com/file/d/10HthasO9CGfgMKlwGMmhn3NnmU_XZy4r/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/9Qtstn8WaSsipPsHeOyrUGm5bnGC1T4T6OXGodIigc77uKRYt3CIWsws3WQYSAFFG6mbyocDuD-7vbbu9x__al7CyKxYA-Cyc5UsfQDgeI3QUDV7sZhdO_UiqV3JUFJcyN257FTIScQ8wfVTxni2uIg)

['to  know how to do something'](https://drive.google.com/file/d/10MZOaM1g2G-pRSubZUC_ovua2PSZPys3/view?usp=sharing)

[![](https://lh7-us.googleusercontent.com/J6ziW0_IikvXHXnahQafEQsdayR5nUIwriPIJgpzhcEAh4P_MdluFpn6UvJlAVqMBtzar53JlcycGZ1Kuuy4oYYCteUbCWQs6a7qZ9SUmoNj7Y6fXciELlBleQ-LDqkzudBoUcW0WrNcYowCzltzIss)](https://drive.google.com/file/d/10MZOaM1g2G-pRSubZUC_ovua2PSZPys3/view?usp=sharing)  
  
['a' or 'the' or 'an' or 'a' or '](https://drive.google.com/file/d/10MZOaM1g2G-pRSubZUC_ovua2PSZPys3/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/bvARIXCmAiqYpXzCo2gvi7vInJ4cPO1xypjETY9SB3ssdqUbpwulxE44i3jgNWJyFxEsqzO-NJrwR4nZKzzVK7K7y9uipEwD8XcWoOjoR916Js6JBq4-CKjHPvN7Wd9UuYcPbPaeRHv4bSfi8uMnwPU)

['to be a man' or 'to be a woman'](https://drive.google.com/file/d/10V5sOf9Gf58PjCguKemtp34IhPc_lyvI/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/D-zhDH5Du5wRV_JBfm7Zbblm-Ddm0fprf_VFLo_FLCJjEP0KgSKXQti7pIA0G0sknPDFIstPFB_XltxA6JMevsaVTnZniCObb63n7RbSmZWeZ_G6MrsPrFgo7JyBVMO_66eHSkKLqq8W9EcstBjfDO4)

[that it is a'new'or'new'or'new'or '](https://drive.google.com/file/d/10fWdO0RKj-eEIsypWtZHQ_UbZ-jJQBnS/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/Caojw9uJlgDxmZlzum3xAPAzUemOP0XKE-oMB5qT8Uxv6_Q52-7XuBpxqKmJcEHzCckTvsZpz081beYO_hUtOI7JYxRbV53crH2CdMWx0tdysHs0_wOBf83QsxikvuCYVfmpyy4wLunamc9x9kaimQU)  
  
['to be in a state of being'](https://drive.google.com/file/d/10gxWpYCLPCiXQKWD9yCzmP82U0SpHZYs/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/Bl3y7Rv6dHnuDrWqokGe3czmpN1NuY9YZXiwvXHseNqXsHtSKa1BG4mYwTuf6If0JaarVeI4vLvS96BgcErjK0rkgZR7j7AardAe4UrkUohZFd2NOoedBdiQMdrutiJHNrDXOXYLy5BHObsq7QIogIc)  
  
['to be a servant of'](https://drive.google.com/file/d/10mfG2r12QmfX7jhJdOUIAWviEJw98Y7L/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/dLiJ8i4jX5uza5kh6Rux-WkYuOjved4AIPDAWwDgRsLJnJbSyoUy8AUoEYHrFhTdPaUy0A4Zscab7CmhbbD1gPTkii-geN-2e-rjQcHMAMnQsFQwCxhl8QKTG7j_5kM8ZcY1GMtebtClwkU6XsEQhWg)  
  
[a book of the book of the book of the book of the book of the](https://drive.google.com/file/d/10mj-wEh0Nn71IPmgh9M_H8WFx67c4bTr/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/v3U3zFWKB7bZMl62-L3HbtBz4i1OGFJ521mfQ2Gid0tywODNRMG5s-cYYEiNvyl9tCO89EnBDFBtcSQnyAw90qp0UJykdnkU0RYdv1AS7JnUri78fd-pGGdNBFmLA5MFycfCtPSe6MnFeLWyHD_CyQ8)

  
radius = 2 (15 examples) 
----------------------------

['a small, usually  flat-bottomed  boat used for fishing or for transporting goods](https://drive.google.com/file/d/1n2Dbtt-F6spgySAO8WwCIhaXWu8frCWA/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/JhEnVxS4YLsnMm_-I-RayIdWS6SvHn6YAO3SNEwrtOYZAbpFVK2IDqEoTYUWtGIvnEhCbmtxGyPN-GWFrcL5zXh8dfd5b191DdNTbcKkOpBRrgGH0oWe4FBelADr6w6OkDaAet5B9Nc_yR5NbYF8e_4)

['pleasant to the taste' or 'delicious'](https://drive.google.com/file/d/1-9hO3Ezc5dGy4wstUtz-1G4j-zy4euEF/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/o4Tlk9EysF9l9U7Cy1TzpOLBUynE_g2mD0UvF2beUDHry0zwhkHfySwTXMsZTp-T97JeprwKFeIA_T_qbHWaJTz0eDY4q87eL8Fbw7aqDtUt01LCPe8dPGbQlYBs58uZvSKY4WGc5AUJ1NImINnGA64)

['to steal or take away by stealth or force'](https://drive.google.com/file/d/1-0GOJZRz1rW0UBh4bOJSHC7otiaismZE/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/GGaMmmvtpLaOIQDPitdAdXDwlYxjzZd7b8tECyIdksgNEdtGx31Sa0kSk_tlvmHQBPO-evhNa6oEIZHhgGkv5odYDjuGU1XFvb-WbOgNi-mpqa8dg7GKA0ZR3ccUfMlbi1LxPx8sL0y1WGq4OcoePzE)

['a place where people gather to eat, drink, and be merry'](https://drive.google.com/file/d/1-LKWuvsTxj5gSIKI34N-dqBlIh192cPO/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/foH9RhzvzMQ8c3ZYpJDCoKQGbVXxe1r3TShwqxxhq3Bwxei2rNragMS6IieyT0sMhkWBhsUG1fOId2P8quJkB0RX5P5LPBK00CaghLky8LoE6OSaYY7MVSJ1dLj4CokUrZnzh0-Acg9Kpdi-2Senk10)

['a small amount of something'](https://drive.google.com/file/d/1-FDMy4SlHwRXCevDv7NVNhGUeKACJCqW/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/R9pJymNsmS2dHeTjRi_XGDoG6Nd5glSD6wIJjP9KQ7x3S2H_a-MJZFarfLVaK4no2TnUjE-Vk6KOAcdlGFi1iSYDCPAm5djy1kkwieUMAAg2D78VCpJIafuXakBgYfEHanh3pUDPa8clBurXgWJVylo)

['to creep or crawl stealthily'](https://drive.google.com/file/d/1-B5x5kYIoyPQ7FITrjv06QKrrrcGMM9Z/view?usp=sharing)

[![](https://lh7-us.googleusercontent.com/y4myaWAADGowd2N-9rt_nVsHHflGEVyi3D69k4_Kf87y1W-hw1x8ZbGtWuEDT5FUhcrd1cK5OgkWoMm2cWkhAkqr5rx8EbuWEsxs4nT3iE4fh1029d2pfR5H5A5OIX8hP6AonB9x3frj_q-AGkIHHtw)](https://drive.google.com/file/d/1-B5x5kYIoyPQ7FITrjv06QKrrrcGMM9Z/view?usp=sharing)

['to cause to swell or become swollen'](https://drive.google.com/file/d/1-A3S3Bsr8V-Sz6aMGi-jegNMHwVTD4Tt/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/GulLIDH-uqcXz6vCGoeSup2qs6seFQEt0Ro8U2J6j6fHsvYWt4QgK36J0Qe8rYIcSIvGhzBwy2_QnOmpM2FO445ZFyiJapKJr8cU3DyewtSqc1B220D0mPFCaZFVbY8BYhJfbw8_2D58tZXDL3wUFAY)

['a long, slender, flexible, and usually hollow, thread-like structure,](https://drive.google.com/file/d/1-du3diCtG8LUfRV6ueQ1KluTPaTdaxzO/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/GNrPCSgmfaYlVWPIQbRP3-ThUJ8fWXBxJDUNO3Cqeyz6ljlQQATIn6WwNzlnsBBhB6M1y86nn8aN8kjAyXA-ORo7aZVjNfSHKukANqHShv0saEFC60p9bq4Uk8ami5Y1xnpalgjuQG57Qxd_JuZejO8)

['a kind of cloth made of wool or flax, used for making garments'](https://drive.google.com/file/d/1-UFmc0J1_ry7iaS0NlyiKqjJv6gCQvqd/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/K94KtA10hEu1Gq8NnlmQ6jI6xj1qJ_wsuET42ijPNI71Zj4Rs4unbNHxVhd0_7QTonvpLeTYpUqMWhimqzgsQ0aN_jOtWZGMb-sAQTBJHMownfhoTdtEHY5-Oyi_tBBBdkNghn5q0fC9-4UkVhlzPN8)

['to be in a state of fear or anxiety'](https://drive.google.com/file/d/1-wx24fPVJjvKmZxE-S4-IS0FSxpH-3jb/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/FDRGMPGHkCPsLxW3pa3fVCu-6g4uHjii81jakaa_9PXmgjg6LnE-tLZ70c9qYmcfrZWeLwtMZm-SBswMnaxXN0Bo7Yi1CcKeiUorAW6V7x3YDrnQL_8K7P_OTCyK5PA4_ABEOuAtaNOmolRGTtQMmso)

['to make a hole in something'](https://drive.google.com/file/d/1-uHlSTfXWbN8ieoNva7_UZWd8U4cvRrg/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/SibiEtRehQKcBwzXES4_kVt0uoX70HjbNkBR58O4MKIxWDrHf9JCu9OvxPTSIXhxlnFCUE8DA1aPmb9bwfEomzpj6PuV12UuYDprFg4J5b7pDeBeM6UTMA2T-FsTkulZdjE2Pb43rTPCKQZH4oJSkHM)

['to be cruel or cruel to'](https://drive.google.com/file/d/1-qReyPhz5BMxITP_iQGwELiIUiMA9g-x/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/_w2Z4-E2Xg-noHhy3cCxR7PaO_Ikbtm3nipELf8JiqEBLQUmz1-f84pz9wxRJA_zIbLkb-gkYoaKC_zCpz9NUyJiYu-gf_9xi77qRr1iiyjjiRCvxQEmT7CTDiTyj5_hYlJbACC35dy2yVnZw__A5og)

['a person who is a member of a group of people who are not accepted by](https://drive.google.com/file/d/1-mZA1zi2lGA_oFtMT_w4diY4eD6NZ6gu/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/9k5Hygiag0jxfSop2etQN_CPjSdxAcrlUOk5UiaeQ_8P46VGgMOm_QuDKEwip79IXRHR4_7nq5vkIs6Fgnq3Xlu9X6X52P_FDurh_IYhQmi3DQBwVUDNSMssFSknTHi8s3eEuoNFNqgZMlBJgYsLYJg)

['a person who is not a member of a group'](https://drive.google.com/file/d/1011wSpj8k-Hee8HCcaMXinccvxLH484o/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/iKNnyUbqYKJCtUKq83g32cMZxBH7RZhTcoFK9ZxDIyw836j63f0DrFpXHxRnsDOrJs4by1LkQ30DxTXjsKPzOcTHXQNIQGbplpuX-NDn34TZOVYJOBc1_olkkV0EtWqgNHE5k3vinCW5h1cE39-kaiE)  
  
['a kind of magic that is used to control the minds of others'](https://drive.google.com/file/d/11Bp3BilEQWrkKMp4N00XRTKMX1xYP6F3/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/RlRlA5ZJaBvPMBXJ0N2AbmynWCYLMSKWzvSrEWIMi3xVVxedUH3OffFnLkIqdMCSqJA_C7MKZ8kF5z8PWLN38wFpKOtTZ258VazY2K0FRImojjFEbG3k7X7axk7PoX9F7K1C_Su-8XbhKsi6boZ3Yys)

  
radius = 5 (18 examples)
---------------------------

['a sound that is produced by the vocal folds when they are closed and is heard](https://drive.google.com/file/d/11L3Kfdz1kEdWHjOdjh7o9xpUbRMuO3H8/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/Z92m7iM2vneyqZtU5xw25uCG2NUXqpEa4KNTrYbi7n4IlJ3a_FiY_BNEXsF_ieXjW6WakhyHfy9mkJyp33mwWnot0YSN6c8x39XS6QKU8mBd5xJ0INlcsBBr34lW9WV4s6GYdFCKmqa1B7zMcJxFLVs)

['a small, light, fast, and maneuverable aircraft that is used for reconnaissance](https://drive.google.com/file/d/11Bt7Dj51k_rdsmFFPLLMzzFGa-IDzBPe/view?usp=sharing)

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3ff81732eaaedfb29bc9156b7b655703c42caceaeb46d3a9.png)  
  
['a person who is a bully, a bully's victim, or a bully's](https://drive.google.com/file/d/11LDJOkXSFGlt-15XBlzLHjEWLzizH5KY/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/qkWJ7mTmbRJqBeVNIBCymRL_U18q-zfthO651RASUUgLGAiZYIsem15v8hml5xJVuQStj9JjXlQYA6hRWFa1NqKp_GO_6pqfYhIzvupdIcrtMAN3Q3Uo0J4Gdr-cu8yvU0rBzM6br9YkSeoInVi-QvE)

['a person who is a member of the Clan MacKenzie, and who is](https://drive.google.com/file/d/11Lzs_827jfTFzUCiV42Ach9dV3jGZczO/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/p6lQnTB1bvdr54P1AWsUM5fw-IIdFV5UW_cYTTO8iQug4zcwj6YlU7pWYeAno8jpSE89dbB2VNSKaYGCPfM75Oi2ZzTmqYLkXeH4zXu5GsDjtREQ-RTCYcRNSC5deQELsqQUvPCYgejm-m8AK2Lvg7w)  
  
['a person who is a little bit crazy**'**](https://drive.google.com/file/d/11M2fIUUIPN441hqmU3-osxuQeaz7o2vP/view?usp=sharing)

**![](https://lh7-us.googleusercontent.com/9Q7VcaE-zAYPX-NSG0wYqTsZsr0pQTxH2qlcF5XPZz2sJdRbHm31NNOCXEOgKXHX0nC_KPs9wRnQT13j3tt2I2FocvxWSP_5k-LioAsb-SMQtHDck95piKfNMC9k6kD7hMsJMoelMWES_mZ99jSWcH0)**  
  
['to be in a state of being or feeling happy, joyful, or satisfied'](https://drive.google.com/file/d/11PcPo-fQbm43iu_fp9cLHKG8MXsQ24Rx/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/5OOxCxQd-sbl5o1LM21c6-LZg2XmBDsqIHBlgrJyUb919sf_4Tj-8NEpMnUY9UupSqQffNHCborxVmCJ_axKZuabVlQtfeyESlAzbtJa7rqn6S-32o1TTEy2uPCFb90MU8lO6p5Wpi3SKgd50L_KUuc)

['a person who is not a member of the clergy, but who is a member](https://drive.google.com/file/d/11RXHk5AoEECA9vfZUSa0CskfOUWSw4wD/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/3VwMIPy1lzytjOvazZDCROdiqzTfksFCaTIiPj8ehbiDc61JamAuVdgV1Dq-6w3YOKGEaz9I8HInHdNzV79s5eqAhF-j3qjKVQG_Hpy22HRs1b8DhBUJRomyBZ7IVRIIaoLza-d_blOo1UwwXFEZ3LQ)  
  
['a dance or other movement that is performed in a circle'](https://drive.google.com/file/d/11WSM7cSi5Tqq7t4SM8GWq73PzZZbHSMx/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/ZexZ12QYz60qdV8rP0xoTCEpK2ACzwDxpJfNKfXr3dPn0BKZWOoa6_pibvzJ4r33ENkH9H95NR6dbcF6vE61zmePAa2FTBr8mqLP0BYq16xwtAq0ZeHfYKRr9u8JV4F0ksgw9R0z5Ca4X6WvopwXdvI)

['to move with a purpose or intention'](https://drive.google.com/file/d/11V-hUSpEdoQ8WE9dwLw-Ytn93TF0INLC/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/sZ-jhHTs14cPy7yAyG8saTg1JkLqwCFQiVTPFdMRmM22VCVBC0Cxy0DjtXUEGsfxJn-DdfHqqRRzfiSO0irJxYGwB0VU36A0whqLUJRDq7ZGZdXJuGAUdy2As0ENxhS-o0rgiTBzb3cVIhqFfXORSls)

['to have a strong liking for or desire for'](https://drive.google.com/file/d/11j5nFiLaZtFUt-VFMB1Fr-jFeGvoSxV2/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/kS9ogPXiAYf-A4tVc-JudKqLYba5nb3yRAxXuzG2cESOlXYT6UW-ehOahE8HEdkUzv-N7gIIFRNxugGqMnG-IIsbVChbFffTlz4QWXLVOynQvtZeMevxxsVI4BRD44KNQpPTSF3qRJ_rl9RV8X0TMCI)

['the time of day when the sun is at its highest point in the sky'](https://drive.google.com/file/d/11iOvJrPKHp71zVw6-skktpi4t5Mw_q4c/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/3r0_DTIbO2Lq6rhOgiZB-kEFpmKGB4Nalwfw5unju4yPZH5usf3jFUbBgWGXo-398ZaCBE94BA6QwSCllcoEe96r46DATXgX3LeVwJDYx3CBxziQR6ePrb_ZNc8M5Oos-h9VVfOSbGglhOa93ef1AeM)

[a 'thing that is not a thing'](https://drive.google.com/file/d/11XkyG04ObLMSDpUDLcrg_pZ5LncOMtQl/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/IatAbfLj6LkvGOcZFl_y4A0CwcsCgwjsA4bYgkzjuFRuzw2N__INIeQr1atJhaVWzj02z72wB8ctodaFrMtKeOGmEZQyunsdj9oMomBYt45adBOYwcZok3k_g7H4T6-AWB3FXebgNZAlBq6Sfipip-w)

['a person who is so weak-willed that he or she is unable to](https://drive.google.com/file/d/11owlnhar6K-28px9hwEoTj0rSuaA-FJQ/view?usp=sharing)'

![](https://lh7-us.googleusercontent.com/zVVZRQ8O8Mr-Xe-gNj9O6p7ekpXwyRBqSCsEvuMj-oJNQ1XSXL94lCYigtyp-7MoP9EeL6T7E2AxUKjHPdiNy3D39adZWzpNC-OSph3mVrFiBVa6iKFh_zDkpY8xoWjiJyn9RfoYVcAVV4PKnoKBSoY)

['a brief period of time when a person is in a state of extreme exalt](https://drive.google.com/file/d/11tt4P96q70DyasKR6FbhTdNtWu5zd5Vl/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/aJrACtn7fdldQu_ttcWfuKpaQobVTVrS4ThbnC1Dw_UIQ36KDHuxPSGRjlyiEH7YxyVVcbXiH6QMyN49c1IwJX3sDRZ3d6eOivEbvIzOLZdyhqNn6-G_qZlbR3vLu3AuKG92mmYWJy7bkCRYwmYmsAo)  
  
['a person who is a member of a religious order, especially a religious order of](https://drive.google.com/file/d/11tN_Ag3BDhEOKFkJtnstnzNHOLJ06UJ6/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/6q_6YWylW8jN0zvLf3AfsrCdhP7OXZG_aN_-i1DrUrIw5_jV9OKPUan1fLFcvuKMNnGpcUfoHYzMLV8C90bjzYcIEyqVuZDm43sBPeBSB99NhqsldxYsLeNd-L4EtyH0mTkiDCEFY5-9jekScb9Wq94)

['to make a hole in the ground, as for a well, or to dig](https://drive.google.com/file/d/121wtQvkvrLLxoyhfmlvRVeoHsPSVt8or/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/_6u34F7tLkopWT2Y5KRCa5ArO03x3pfUdVFQm2v3QAh7AaSznQNNnJkNy8xKs61ZdOI6gmkqBhwlIaTqwWtqouwnTJj3ImYtfa6_QcrhqbGq5DljYWiSdX2LwUHT2IgCnudCCaeZrkShXmKaiZy6ECk)

['a woman who is a virgin at the time of marriage'](https://drive.google.com/file/d/11zDrfkuH0QcOZiVIDMS48g8h1383wcZI/view?usp=sharing)[^i5afuy3r4e]![](https://lh7-us.googleusercontent.com/6Gi_mmO0ALkZI31W5_aVMkIPtE-tWlqsL5MGxCsMimG9f2g9L-waH1K2RBnTsqFaEK_KXU3e1ESmc2MhhPTjwyU2LNVZ6vpOoojAXkah96NyNN1CfsKifXk-jZybDrnJC-YV1-zSvYDs1Vk84eqWjKU)

  ['without reason or sense'](https://drive.google.com/file/d/11wLztC0-P4f9uwTp3Mh4zyaxoXpv3oDa/view?usp=sharing)

![](https://lh7-us.googleusercontent.com/VvpIlpGGoMaA_0OOfXu-sOtsjhvcA1bqvq06PnjPyz85ncT_fPPDFzDHCqHB2RVRMiKD3LXKcxMXSG9kWeV3Fd87k7nNkq8tGQw5k60sIcgGajdzF446rpu2xsR_NioiKI7XiFh8ZoX3jfAaCMYa7JY)

Neighbourhoods of tokens
========================

Ten whole-word tokens were selected which GPT-J is able to define satisfactorily:

    [' trumpet', ' thief', ' DNA', ' laundry', ' radio', ' purple', ' Laos', 
    ' broccoli', ' transistor', ' London']

Each token's embedding was perturbed by adding to it 100 randomly directed vectors of each of the L2 norms \[0.1, 0.85, 1.6, 2.35, 3.1, 3.85, 4.6\]. GPT-J was then prompted for a definition of the resulting embedding.

Token string headings below link to JSON files containing all 700 outputs/definitions. These make for fascinating reading (if you enjoy watching concepts disintegrate and transmogrify).

I'll refer to the hyperspherical shell centred at the centroid with inner radius 0.9 and outer radius 1.1 as the *token zone*, since over 95% of token embeddings can be found therein. Most of the sampled embedding vectors recorded here (token embedding + noise vector) lie outside the token zone. If we normalise such a vector so that its distance from centroid equals that of the original token embedding (and it therefore lies within the token zone), we see a very different set of results.

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/6ece4f1b513d3a6611b2a648453ca29dbcada6b57df4bd39.png)  
 

Non-normalised versions
-----------------------

These bar charts show how often certain obvious keystrings appear in the 100 definitions produced for embedding vectors sampled at the various distances from the token embedding in question. Note the similar decay curves across many examples (all ten sets of charts are given in Appendix A). Also note the way that circular definitions (which include the token string itself, as illustrated in the lower-right panels) start to emerge, then peak, then fade in a similar way across examples:  
  
[' trumpet' ](https://drive.google.com/file/d/1-1TWz-fYX2ZE4RqI4j4KuOPBkptHOSN6/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b79235f696d58dac92631cbb52f234bbd7803f31a2c02840.png) keystring: "music" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/60fc2e0514e0c71ce772d13efd4781a0600d7fee623d81a1.png) keystring: "instrument" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/58a168ddabb22611d25916a859a2d6d00aa9ab5ccbd28283.png) keystring: "play" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/92fabfa188756f49626203dc18a107692d938911f491c774.png) keystring: "trumpet" |

  
[' thief'](https://drive.google.com/file/d/1-1flySkJKGYL3-LF6005v4_sL2uPM3Rj/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b7001d4b9daf9de1298ca8efa4afc84842bd9cce3f908f0c.png) keystring: "steal" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/385dfcd98f79eded9b35e022c35c630076118ebc13061ad2.png) keystring: "take" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/2e0e2e4603d957029dab295216a8414cfbfa5837b2db91b3.png) keystring: "force" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/556d8084639f151a77d27d1a225256c9960e0be011077f35.png) keystring: "thief" |

  
  
[' DNA'](https://drive.google.com/file/d/1-7LkGRHO6-xkLjkCX1M73oeqChIhedVO/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/f86b77b9173d762ac7d1f2dbdfb81400252979f1db8257e4.png) keystring: "deoxy" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/7f7632fb5f9fffdc6add1de3c4c4e2b771286f7544be8483.png) keystring: "acid" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/6e7607d48f11587305d4235cbb50bcd25912aa5435a2c5f2.png) keystring: "gene" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/d8a82ea3cf335ce472860647f3e7d6f4fc01c5a72879206a.png) keystring: "DNA" |

*See Appendix A for all ten sets of bar charts.*  
 

Normalised versions
-------------------

Here we add the randomly directed noise vectors of the specified magnitudes to our token embedding, but then (i) subtract the centroid vector from the results, (ii) rescale to match the token embedding's distance-from-centroid (which will be ~1) and then (iii) add back the centroid vector. In this way, we get something at the same distance from centroid as the original token embedding.

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/6ece4f1b513d3a6611b2a648453ca29dbcada6b57df4bd39.png)

(Effectively we need to shift the centroid to the origin, rescale the blue vector, then shift back again.)

    def generate_nearby_random_tensor(base_tensor, centroid, noise_radius):
        tensor = torch.randn(4096)
        tensor = tensor / torch.norm(tensor, p=2)
        tensor *= noise_radius
        new_tensor = base_tensor + tensor
    
        new_tensor = centroid + ((new_tensor - centroid) / torch.norm(new_tensor - centroid, p=2)) * torch.norm(base_tensor - centroid, p=2)
    
        return new_tensor

The resulting normalised perturbation embeddings will stay in very narrow concentric zones around the original token embedding:  
  
For a typical token, when we add randomly directed noise vectors of norm \[0.1, 0.85, 1.6, 2.35, 3.1, 3.85, 4.6\] to the token embedding, the rescaling operation reduces the distance of the resulting vector from the token embedding as follows:

| **noise radius** | **mean distance from** ** token embedding** **after normalisation** | **standard ** **deviation** **of distances** | **range of ** **distances** |
| --- | --- | --- | --- |
| 0.1 | 0.0996 | 0.0002 | 0.0010 |
| 0.85 | 0.6830 | 0.0062 | 0.0402 |
| 1.6 | 0.9642 | 0.0098 | 0.0626 |
| 2.35 | 1.1021 | 0.0111 | 0.0713 |
| 3.1 | 1.2152 | 0.0118 | 0.0731 |
| 3.85 | 1.2502 | 0.0117 | 0.0735 |
| 4.6 | 1.2710 | 0.0118 | 0.0788 |

  
So, for example if we add a large number of randomly directed vectors of norm 3.85 to a token embedding, then normalised each of the resulting vectors using the rescaling operation so that they end up on the same hypersphere (same distance from centroid) as the token embedding, then we can expect the L2 distances of these normalised vectors from the token embedding to be $1.2502 \pm 0.0735$):

It's not immediately obvious why we have such a tight distribution. Trying to imagine this in 3-d suggests something with a much wider range. As usual, we just have to fall back on the maxim that "high-dimensional space is weird".

The mean radii for these normalised token perturbations are shown below the bars in the charts below. Notice how there's almost no trace of the original definition once we're more than a distance of 1 from the token embedding if (as we are here) *we constrain our attention to the centroid-centred hypersphere it lives on.* Before introducing this normalisation, we were seeing traces of definitions persisting out to distances > 4.6 from their token embeddings.

The same types of decay curves (also for circular definitions, as seen in each bottom right panel) are in evidence here; they just  involve a much more rapid decay. It seems that semantic integrity can persist to relatively large distances *if we move out from the centroid* (that was seen in [Part II](https://www.lesswrong.com/posts/hincdPwgBTfdnBzFf/mapping-the-semantic-void-ii-above-below-and-between-token)), but not if we orbit it (i.e. stay at the same distance to it).   
 

[' trumpet'](https://drive.google.com/file/d/1LXdUh5BXzLUMRwQ1Xk1ug_csXqJr0DYn/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/c73d8112b52a76672a15cec12a549f6ed671ddec7fcb5147.png) keyword: "music" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/ce16aa75d620ae6403e62e5fb8f7a29a6a360a328c67def7.png) keyword: "instrument" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/525ac5947a101123589a332c0702fb2065da14a8ac278a62.png) keyword: "play" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/90cadde486deb5180a66a3dbe2f9e04bb4febaaa6d9bf101.png) keyword: "trumpet" |

[' thief'](https://drive.google.com/file/d/1061stjwzdrj79rX3qetzt5yjeMBZS2L1/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/0c5a1ea4259baeee85b14e28a178d99f39efc819a642b478.png) keyword: "steal" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/85cc4cefb74f94d3a1ba78e24938dc85b17c0eccf7f0030c.png) keyword: "take" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/39f7e959d59de82355bf81e7a6be0b09e5b466499549c57d.png) keyword: "force" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/65c55a9289fd69f5e15172e35e2e35cb1b985a068c1e40f9.png) keyword: "thief" |

  
[' DNA'](https://drive.google.com/file/d/1-yR6a0RdnxW_N6tKIMqOxMFmesh58tY-/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3a78389c97362a6e0bc835838492823b96665c0ea3b5d7e3.png) keyword: "deoxy" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/8b21061cdbe374f7156797d7167b5f87031e7bbf7678c265.png) keyword: "acid" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/04726c1ebfb64f6197f164d66e70ea45f79c5c8ea424fc1e.png) keyword: "gene" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/4ef1cd843f07b81b254d680b69f43a990c8b066465b3eeb1.png) keyword: "DNA" |

  
*See Appendix B for all ten sets of charts.*  
 

Sampling in the token zone
==========================

As mentioned above, 95% of token embeddings lie at a distance between 0.9 and 1.1 from the centroid. I randomly sampled 1000 points in that hyperspherical shell I'm calling the token zone, prompted GPT-J for definitions in the usual way and classified the results [here](https://docs.google.com/document/d/1ZSfX6qLnr2Suw-0UokNwrMATGVTMuibyzJxk_KuL3Ig/edit?usp=sharing).

The four most dominant themes, making up 93.7% of outputs were

*   **(62.9%) membership** (e.g., '*a person who is a member of a group or organization*', '*a person who is a member of a group that is discriminated against by another group*', '*a person who is not a member of a particular group*')
*   **(13.4%) agency** (e.g., '*to be able to do something*', '*to be in a position to do something*', '*a person who is able to do something*')
*   **(10.5%) to make...** (e.g., '*to make a distinction between two things*', '*to make a hole in something*', '*to make a payment to a person or institution in order to obtain something*')
*   **(6.9%) states of being** (e.g., '*to be in a state of being*', '*to be in a state of being in love*', '*to be in a state of readiness to act*').

The only outputs which didn't fall into the persistent categories taxonomised in the original [Semantic Void post](https://www.lesswrong.com/posts/c6uTNm5erRrmyJvvD/mapping-the-semantic-void-strange-goings-on-in-gpt-embedding) were these eight:

    ["a'man' who is'manly", "that it is a'new' or'new' or'new' or", "the art of healing", "to be a doctor", "to be a student of a subject", "to be a'or'to be a'or'to be a", "to the extent that", "a book of the book of the book of the book of the book of the"]

We've seen how token embeddings have neighbourhoods wherein definitions persist. However, because this tendency decays with distance, it's hard to give a meaningful measure for the hypervolumes involved. When restricted to the surface of the hypersphere, they're usually well contained within a unit hypervolume. Removing this restriction (where we can sample in all directions from the embedding in question) they're mostly contained in a hypervolume of radius 3 or 4.  Having run large numbers of definition prompts on randomly sampled embeddings, it appears that the total hypervolume taken up by these "semantic integrity neighbourhoods" of the ~48000 tokens living within 0.1 of the unit hypersphere is a miniscule fraction of the total hypervolume, since we will almost never encounter these types of specific definitions (for things like broccoli and transistors, rather than one of a hyper-recurrent handful of odd, vague, pseudo-definitions like "*to be able to do something*" or "*a person who is a member of a group*").

Although reliably finding embeddings in the token zone with interesting, non-generic definitions cannot be achieved via random sampling, there are other ways that oy can be done. One partially effective method involves the traversal of line segments between pairs of token embeddings, as covered in [part II](https://www.lesswrong.com/posts/hincdPwgBTfdnBzFf/mapping-the-semantic-void-ii-above-below-and-between-token). More effective, and much more interesting, is a technique which involves the training of linear probes. I intend to cover this in the next post in this series.  
 

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/0d74508718a99ed0179b48e47e23496a852d836347b7bac9.png) The Fool | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/1a793db16dbdafa39706c1b31227f85f7267b7866b8cc03c.png) The Devil |
| --- | --- |

\[A pair of  'definition trees' generated for non-token embeddings located on the unit hypersphere using a linear probe-based approach. This involved token clouds produced by ChatGPT4 in response to various cards in the Major Arcana of the Tarot (a useful set of 22 historically tried and tested archetypes or "vibes").\]

Appendix A: non-normalised token perturbations
==============================================

  
[' trumpet' ](https://drive.google.com/file/d/1-1TWz-fYX2ZE4RqI4j4KuOPBkptHOSN6/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b79235f696d58dac92631cbb52f234bbd7803f31a2c02840.png) keystring: "music" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/60fc2e0514e0c71ce772d13efd4781a0600d7fee623d81a1.png) keystring: "instrument" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/525ac5947a101123589a332c0702fb2065da14a8ac278a62.png) keystring: "play" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/92fabfa188756f49626203dc18a107692d938911f491c774.png) keystring: "trumpet' |

  
[' thief'](https://drive.google.com/file/d/1-1flySkJKGYL3-LF6005v4_sL2uPM3Rj/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b7001d4b9daf9de1298ca8efa4afc84842bd9cce3f908f0c.png) keystring: "steal" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/385dfcd98f79eded9b35e022c35c630076118ebc13061ad2.png) keystring: "take" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/39f7e959d59de82355bf81e7a6be0b09e5b466499549c57d.png) keystring: "force" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/e6560471802bfdddd844f071e309a21598a9785882718936.png) keystring: "thief" |

  
[' DNA'](https://drive.google.com/file/d/1-7LkGRHO6-xkLjkCX1M73oeqChIhedVO/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3a78389c97362a6e0bc835838492823b96665c0ea3b5d7e3.png) keystring: "deoxy" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/8b21061cdbe374f7156797d7167b5f87031e7bbf7678c265.png) keystring: "acid" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/04726c1ebfb64f6197f164d66e70ea45f79c5c8ea424fc1e.png) keystring: "gene" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/4ef1cd843f07b81b254d680b69f43a990c8b066465b3eeb1.png) keystring: "DNA" |

[' laundry'](https://drive.google.com/file/d/1-I_NIl9u9kFYQT9e3DFKVmDQnrLh63O4/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3284619782854d00bf3539a40fc8ea77b91e7fcd2ddf3850.png) keystring: "wash" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/da2ed5cda09c9f7827d3f02c16942137afb8e8f42c8c644b.png) keystring: "clean" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/8dcb9c800dfe1f274ebdafe5b601b5a3219d9457ba74ecb0.png) keystring: "clothes" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/4f68fbb355c557eedebf3ac7dc0b294dc696e482757f54e8.png) keystring: "laundry" |

[' radio'](https://drive.google.com/file/d/1NSyh4ZUn5tus-9HQE7k0mTvNM9VHBMKG/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/8c0eaee2189e5fcf1c5f92f0ffaf38282727dda20696806f.png) keystring: "broadcast" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/1874ea78a17f1989e8103aad1fddd3cda01bf7612ed89f2d.png) keystring: "medium" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/20a803598b2bb763b64d5a96d80bd0126e7fd78366ec0af9.png) keystring: "waves" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/21bd8dc25fa2077074e6213c83354c20a327c74450cbdbb9.png) keystring: "radio" |

  
[' purple'](https://drive.google.com/file/d/1RoU1aAvVv5QDD-MgTZePGaIZpqusp55Z/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/a6e48907f380f57eeed58d5dba44f546a8a65e4ce7228cf6.png) keystring: "colour"/"color" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/efa3e1ad539422684e2257c9dd81c1590b5033b5a8a54097.png) keystring: "red" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b3142e2880694e271b62ca0d5ddfbdb74fb9a29c70937169.png) keystring: "blue" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/c176920d13c7cfde8d6bb248920e40ecdda620eea5c43c92.png) keystring: "purple" |

  
[' Laos'](https://drive.google.com/file/d/1dV_OYMCGRuzVZv1_v3oZqqWQllcI-o3i/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/590b731eb4df4d57a263e767f94ffae03af2008bf767522c.png) keystring: "country" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/7ba8826d7aca95fb154a99c6dd48ad0e2081ddfbea7664c8.png) keystring: "Asia" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/dd679cd991bec36772793a551f53be03ea3eaa379a06b71b.png) keystring: "border" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b509d71150d44ab6b8841bb1d3a223d1bce3ac7968bd50c0.png) keystring: "Lao" |

[' broccoli'](https://drive.google.com/file/d/1JR547qz84V3GxlDqrJe2c0pJulDAexL-/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/000474d6b5dfbddcf4752bc9778081a51cd003c7ce6e64a1.png) keystring: "vegetable" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3561146eee629ea00bf2aebf12cf4a2084e3a31216c2b558.png) keystring: "green" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/7d482d794f76fd0706ccdcd5a3d02bc93998622a8296b30d.png) keystring: "cabbage family" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/f67e03a8e67ed8b0e6601803b28ae1b8a23601730879fdd9.png) keystring: "broccoli" |

  
[' transistor'](https://drive.google.com/file/d/1RRLm7pgUCo-2SY9S0Y4v66h58OGD4U4o/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/c4240e8348fd5604b7d686458faab2f0e9eec480d3ba2958.png) keystring: "device" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/e8349c0d0005013f83095d2360cd7a3430d79cd69436ce18.png) keystring: "electr" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/94cce671a862839d678c796cf1afcaac68d961f4db6c3a0f.png) keystring: "amplif" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/573cd22046f686d868561ee05c5dc9d1d0b6ef0c182b34c9.png) keystring: "transistor" |

[' London'](https://drive.google.com/file/d/1jQ7ZH8HvUJH4faFnNc_hNI_ARVzkEr9w/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/1a7235e301a13708ed3a2d53f4d71c71ffeca92278065971.png) keystring: "city" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/8a2e5844220ae517b8d72452fa21f7738009e6751c483e7a.png) keystring: "capital" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/a44b6237dbc5719c79232d0c105cd7f4476a1da38c9303b2.png) keystring: "England" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/7e053a8676aef9d19e4cce9dae1f9f63fa88af8b1219e4aa.png) keystring: "London" |

  
Appendix B: normalised token perturbations
=============================================

[' trumpet'](https://drive.google.com/file/d/1LXdUh5BXzLUMRwQ1Xk1ug_csXqJr0DYn/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/c73d8112b52a76672a15cec12a549f6ed671ddec7fcb5147.png) keystring: "music" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/ce16aa75d620ae6403e62e5fb8f7a29a6a360a328c67def7.png) keystring: "instrument" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/525ac5947a101123589a332c0702fb2065da14a8ac278a62.png) keystring: "play" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/90cadde486deb5180a66a3dbe2f9e04bb4febaaa6d9bf101.png) keystring: "trumpet" |

[' thief'](https://drive.google.com/file/d/1061stjwzdrj79rX3qetzt5yjeMBZS2L1/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/0c5a1ea4259baeee85b14e28a178d99f39efc819a642b478.png) keystring: "steal" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/85cc4cefb74f94d3a1ba78e24938dc85b17c0eccf7f0030c.png) keystring: "take" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/39f7e959d59de82355bf81e7a6be0b09e5b466499549c57d.png) keystring: "force" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/65c55a9289fd69f5e15172e35e2e35cb1b985a068c1e40f9.png) keystring: "thief" |

  
[' DNA'](https://drive.google.com/file/d/1-yR6a0RdnxW_N6tKIMqOxMFmesh58tY-/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/3a78389c97362a6e0bc835838492823b96665c0ea3b5d7e3.png) keystring: "deoxy" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/8b21061cdbe374f7156797d7167b5f87031e7bbf7678c265.png) keystring: "acid" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/04726c1ebfb64f6197f164d66e70ea45f79c5c8ea424fc1e.png) keystring: "gene" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/4ef1cd843f07b81b254d680b69f43a990c8b066465b3eeb1.png) keystring: "DNA" |

[' laundry'](https://drive.google.com/file/d/1-v7hlxhohJKp2sM5tCXiQ0T9aU3VgggV/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/e3fd602dffe8b23b0cb6406d21d40453cfd45e248bf774c2.png) keystring: "wash" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/a2c4ffa2c826e25b7784cad0e58761e4f15e55ca05eb63fd.png) keystring: "clean" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/fa2e09e2d177c0d6f7f8278b6505c3b7c7018e4bb562e8dd.png) keystring: "clothes" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/9c46c5d397d39401bcbd2f67a1d9317687412a282b5dc052.png) keystring: "laundry" |

[' radio'](https://drive.google.com/file/d/1-uf0DGHMrPgVcxI3Wbkk7bRYiwDs5xxV/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/6cb20b528d5ea9ee8e30e8bc4746cd283e7dc3895eabe6dd.png) keystring: "broadcast" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/e144c5dc020ecf658aea69588b311ef98cfa144b478e8c0b.png) keystring: "medium" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/991ee4fed4eda7a16ee36b14b63c9e77ca574d3cf0ab7600.png) keystring: "waves" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/78b78951b3a46ee2f46baf7081da5f26a984cca08e00bdd2.png) keystring: "radio" |

[' purple'](https://drive.google.com/file/d/1-jt_Fs-1aU-lOiqbbmp3CewT41YsE64S/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/49582de9f4d9d782f3199dc7c2e52aa80e9ac36dd0749992.png) keystring: "colo(u)r" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/ccd62abd5800f8dbc13b23312062c480505ee4252689f6d5.png) keystring: " red" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/05cb25f12297ee7bec9f104dcc3ccd6b7b4684dde4b2a3f1.png) keystring: "blue" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/b0f3d56e0c0d3bc64cf1b2b1eeec1f49c60e9dc9f191cb09.png) keystring: "purple" |

[' Laos'](https://drive.google.com/file/d/1-gVa4TE8DB-P2YPZ5JDG1AnbOAIhWxzt/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/a9395330091440ee9d1f7813275148506196df2d58537ef5.png) keystring: "country" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/fe36a0b86ee2046dfad2648acb9d6f5d80a828dfcacec7f3.png) keystring: "Asia" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/821071d837e3ecc28104bb4ee8360716c1f2ef2fff3eddf4.png) keystring: "border" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/5f341178934c86bf39935a1cdcb40f32822c90d1932234f9.png) keystring: "Lao" |

[' broccoli'](https://drive.google.com/file/d/1-Y4L8JydzuQIbur_Yr2vQkCqpIKp6rBm/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/4975d5a380f00532d62c3cfc19842a0d777a4d2e7cb088ef.png) keystring: "vegetable" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/930680dd5255d12a9c3d4d0c4a8370677dce7b0914e79ca9.png) keystring "green" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/14369e04112d5faa0dde5e47c28aede0bad9d6e3aa513dbb.png) keystring: "cabbage family" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/d26b8e5c36f1f684d89d53b0ec698509ad7d67f0e3716621.png) keystring: "broccoli" |

[' transistor'](https://drive.google.com/file/d/109rHjUP-nKAQa6b2F1yNzkLAIcpeveYW/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/23d7f4f9ce2c3a911a29ebd8dc79df25d54c893aa3606ad8.png) keystring: "device" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/97a1bb5ac28d33a6cfc0a43f883fc199ba529e067a70789d.png) keystring: "electr" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/ff8c774b05364f4e2af0d424ab4684606bcacc18968fdff5.png) keystring: "amplif" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/97ad461650c0ec9c85710c5772fdc42dc805fbb0f989465a.png) keystring: "transistor" |

  
[' London'](https://drive.google.com/file/d/109IvSFv_u-TtIvOt_V2dP2ohCEUhlZYH/view?usp=sharing)

| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/69b8722b03e1efd6058d9139d38ef4b7e168ea619aa0bee8.png) keystring: "city" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/6f0874eeb417795b7398f29d328e7c52f4d6cbf01e865205.png) keystring "capital" |
| --- | --- |
| ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/420de37f62e6a9469aaddeccfa452a07c32d6dd12f222325.png) keystring: "England" | ![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/c192ab35361cf2cc154442898d3bfadbf2120181d892ab9d.png) keystring: "London" |

[^64iyz1jcqf9]: This is an extremely rare counterexample to my observation in part 1: Definitions make very few references to the modern, technological world, with content often seeming more like something from a pre-modern worldview or small child's picture-book ontology. 

[^i5afuy3r4e]: A large number of disturbing outputs (involving themes of sexual degradation) were produced in the neighbourhood of this embedding. This is documented here. 

[^lo5ic314yco]: This involves subtracting the centroid (effectively shifting the origin to the centroid), rescaling to the appropriate norm (or distance from centroid) and then adding the centroid back in.