{"title":"概率分布的变换","authors":"Fabian Frei , Peter Rossmanith","doi":"10.1016/j.tcs.2024.114786","DOIUrl":null,"url":null,"abstract":"<div><p>Almost all of computer science is concerned with transformations of information in the form of strings. We initiate the study of a neglected transformation type, namely transformations between probability distributions. We begin by examining the deceivingly simple-looking case of Bernoulli distributions and procedures to transform them.</p><p>A <em>p</em>-coin is a coin that, whenever tossed, lands heads up with probability <em>p</em> and tails up with probability <span><math><mn>1</mn><mo>−</mo><mi>p</mi></math></span>. A neat trick due to von Neumann allows us to simulate a 1/2-coin with any <em>p</em>-coin for an arbitrary unknown <span><math><mi>p</mi><mo>∈</mo><mo>(</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo>)</mo></math></span>. We show how to apply this trick to simulate a <em>q</em>-coin for an arbitrary computable <span><math><mi>q</mi><mo>∈</mo><mo>(</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo>)</mo></math></span>. In contrast, it is impossible to simulate a <em>q</em>-coin with a noncomputable <em>q</em>.</p><p>More generally, we are interested in what transformations between probability distributions are feasible. Is it possible to simulate a <span><math><mi>p</mi><mo>/</mo><mn>2</mn></math></span>-coin with a <em>p</em>-coin for unknown <em>p</em>? How about 2<em>p</em> or <span><math><msup><mrow><mi>p</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>? We attempt to characterize the feasible transformations. For example, we show how to transform a <em>p</em>-coin into an <span><math><mi>f</mi><mo>(</mo><mi>p</mi><mo>)</mo></math></span>-coin where any finite number of pairs <span><math><mo>(</mo><msub><mrow><mi>p</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>,</mo><mi>f</mi><mo>(</mo><msub><mrow><mi>p</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>)</mo><mo>)</mo></math></span> of non-zero, non-one probabilities is prescribed, and that it is impossible to do the same for an infinite number of pairs. We also examine which probability distributions are feasible to approximate to arbitrary precision, showing that this is impossible for discontinuous ones but feasible for most but not all remaining ones.</p></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1018 ","pages":"Article 114786"},"PeriodicalIF":0.9000,"publicationDate":"2024-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Transformations of probability distributions\",\"authors\":\"Fabian Frei , Peter Rossmanith\",\"doi\":\"10.1016/j.tcs.2024.114786\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Almost all of computer science is concerned with transformations of information in the form of strings. We initiate the study of a neglected transformation type, namely transformations between probability distributions. We begin by examining the deceivingly simple-looking case of Bernoulli distributions and procedures to transform them.</p><p>A <em>p</em>-coin is a coin that, whenever tossed, lands heads up with probability <em>p</em> and tails up with probability <span><math><mn>1</mn><mo>−</mo><mi>p</mi></math></span>. A neat trick due to von Neumann allows us to simulate a 1/2-coin with any <em>p</em>-coin for an arbitrary unknown <span><math><mi>p</mi><mo>∈</mo><mo>(</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo>)</mo></math></span>. We show how to apply this trick to simulate a <em>q</em>-coin for an arbitrary computable <span><math><mi>q</mi><mo>∈</mo><mo>(</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo>)</mo></math></span>. In contrast, it is impossible to simulate a <em>q</em>-coin with a noncomputable <em>q</em>.</p><p>More generally, we are interested in what transformations between probability distributions are feasible. Is it possible to simulate a <span><math><mi>p</mi><mo>/</mo><mn>2</mn></math></span>-coin with a <em>p</em>-coin for unknown <em>p</em>? How about 2<em>p</em> or <span><math><msup><mrow><mi>p</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>? We attempt to characterize the feasible transformations. For example, we show how to transform a <em>p</em>-coin into an <span><math><mi>f</mi><mo>(</mo><mi>p</mi><mo>)</mo></math></span>-coin where any finite number of pairs <span><math><mo>(</mo><msub><mrow><mi>p</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>,</mo><mi>f</mi><mo>(</mo><msub><mrow><mi>p</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>)</mo><mo>)</mo></math></span> of non-zero, non-one probabilities is prescribed, and that it is impossible to do the same for an infinite number of pairs. We also examine which probability distributions are feasible to approximate to arbitrary precision, showing that this is impossible for discontinuous ones but feasible for most but not all remaining ones.</p></div>\",\"PeriodicalId\":49438,\"journal\":{\"name\":\"Theoretical Computer Science\",\"volume\":\"1018 \",\"pages\":\"Article 114786\"},\"PeriodicalIF\":0.9000,\"publicationDate\":\"2024-08-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Theoretical Computer Science\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0304397524004031\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304397524004031","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
Almost all of computer science is concerned with transformations of information in the form of strings. We initiate the study of a neglected transformation type, namely transformations between probability distributions. We begin by examining the deceivingly simple-looking case of Bernoulli distributions and procedures to transform them.
A p-coin is a coin that, whenever tossed, lands heads up with probability p and tails up with probability . A neat trick due to von Neumann allows us to simulate a 1/2-coin with any p-coin for an arbitrary unknown . We show how to apply this trick to simulate a q-coin for an arbitrary computable . In contrast, it is impossible to simulate a q-coin with a noncomputable q.
More generally, we are interested in what transformations between probability distributions are feasible. Is it possible to simulate a -coin with a p-coin for unknown p? How about 2p or ? We attempt to characterize the feasible transformations. For example, we show how to transform a p-coin into an -coin where any finite number of pairs of non-zero, non-one probabilities is prescribed, and that it is impossible to do the same for an infinite number of pairs. We also examine which probability distributions are feasible to approximate to arbitrary precision, showing that this is impossible for discontinuous ones but feasible for most but not all remaining ones.
期刊介绍:
Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.