-
Locality-Preserving Minimal Perfect Hashing of k-mers
Authors:
Giulio Ermanno Pibiri,
Yoshihiro Shibuya,
Antoine Limasset
Abstract:
Minimal perfect hashing is the problem of map** a static set of $n$ distinct keys into the address space $\{1,\ldots,n\}$ bijectively. It is well-known that $n\log_2(e)$ bits are necessary to specify a minimal perfect hash function (MPHF) $f$, when no additional knowledge of the input keys is to be used. However, it is often the case in practice that the input keys have intrinsic relationships t…
▽ More
Minimal perfect hashing is the problem of map** a static set of $n$ distinct keys into the address space $\{1,\ldots,n\}$ bijectively. It is well-known that $n\log_2(e)$ bits are necessary to specify a minimal perfect hash function (MPHF) $f$, when no additional knowledge of the input keys is to be used. However, it is often the case in practice that the input keys have intrinsic relationships that we can exploit to lower the bit complexity of $f$. For example, consider a string and the set of all its distinct $k$-mers as input keys: since two consecutive $k$-mers share an overlap of $k-1$ symbols, it seems possible to beat the classic $\log_2(e)$ bits/key barrier in this case. Moreover, we would like $f$ to map consecutive $k$-mers to consecutive addresses, as to also preserve as much as possible their relationship in the codomain. This is a useful feature in practice as it guarantees a certain degree of locality of reference for $f$, resulting in a better evaluation time when querying consecutive $k$-mers. Motivated by these premises, we initiate the study of a new type of locality-preserving MPHF designed for $k$-mers extracted consecutively from a collection of strings. We design a construction whose space usage decreases for growing $k$ and discuss experiments with a practical implementation of the method: in practice, the functions built with our method can be several times smaller and even faster to query than the most efficient MPHFs in the literature.
△ Less
Submitted 12 April, 2023; v1 submitted 24 October, 2022;
originally announced October 2022.
-
Selfish Mining Attacks Exacerbated by Elastic Hash Supply
Authors:
Yoko Shibuya,
Go Yamamoto,
Fuhito Kojima,
Elaine Shi,
Shin'ichiro Matsuo,
Aron Laszka
Abstract:
Several attacks have been proposed against Proof-of-Work blockchains, which may increase the attacker's share of mining rewards (e.g., selfish mining, block withholding). A further impact of such attacks, which has not been considered in prior work, is that decreasing the profitability of mining for honest nodes incentivizes them to stop mining or to leave the attacked chain for a more profitable…
▽ More
Several attacks have been proposed against Proof-of-Work blockchains, which may increase the attacker's share of mining rewards (e.g., selfish mining, block withholding). A further impact of such attacks, which has not been considered in prior work, is that decreasing the profitability of mining for honest nodes incentivizes them to stop mining or to leave the attacked chain for a more profitable one. The departure of honest nodes exacerbates the attack and may further decrease profitability and incentivize more honest nodes to leave. In this paper, we first present an empirical analysis showing that there is a statistically significant correlation between the profitability of mining and the total hash rate, confirming that miners indeed respond to changing profitability. Second, we present a theoretical analysis showing that selfish mining under such elastic hash supply leads either to the collapse of a chain, i.e., all honest nodes leaving, or to a stable equilibrium depending on the attacker's initial share.
△ Less
Submitted 14 March, 2021;
originally announced March 2021.
-
An energetic high-velocity compact cloud: CO$-$0.31+0.11
Authors:
Shunya Takekawa,
Tomoharu Oka,
Sekito Tokuyama,
Kyosuke Tanabe,
Yuhei Iwata,
Shiho Tsujimoto,
Mariko Nomura,
Yukihiro Shibuya
Abstract:
We have discovered an energetic high-velocity compact cloud CO$-$0.31+0.11 in the central molecular zone of our Galaxy. CO$-$0.31+0.11 is located at a projected distance of $\sim 45$ pc from the Galactic nucleus Sgr A$^*$. It is characterized by its compact spatial appearance ($d\simeq4$ pc), extremely broad velocity width ($ΔV > 100$ km s$^{-1}$), and high CO $J$=3$-$2/$J$=1$-$0 intensity ratio.…
▽ More
We have discovered an energetic high-velocity compact cloud CO$-$0.31+0.11 in the central molecular zone of our Galaxy. CO$-$0.31+0.11 is located at a projected distance of $\sim 45$ pc from the Galactic nucleus Sgr A$^*$. It is characterized by its compact spatial appearance ($d\simeq4$ pc), extremely broad velocity width ($ΔV > 100$ km s$^{-1}$), and high CO $J$=3$-$2/$J$=1$-$0 intensity ratio. The total gas mass and kinetic energy are estimated as approximately $10^4$ $M_\odot$ and $10^{51}$ erg, respectively. Two expanding bubble-like structures are found in our HCN $J$=1$-$0 map obtained with the Nobeyama Radio Observatory 45 m telescope. In the longitude--velocity maps, CO$-$0.31+0.11 exhibits an asymmetric V-shape. This kinematical structure can be well fitted by Keplerian motion on an eccentric orbit around a point mass of $2\times 10^5$ $M_\odot$. The enhanced CO $J$=3$-$2/$J$=1$-$0 ratio is possibly attributed to the tidal compression during the pericenter passage. The model suggests that a huge mass is packed within a radius of $r < 0.1$ pc. The huge mass, compactness and absence of luminous stellar counterparts may correspond to a signature of an intermediate-mass black hole (IMBH) inside. We propose a formation scenario of CO$-$0.31+0.11 in which a compact cloud has gravitationally interacted with an IMBH and a bipolar molecular outflow was driven by the past activity of the putative IMBH.
△ Less
Submitted 21 March, 2019;
originally announced March 2019.
-
Public Sentiment and Demand for Used Cars after A Large-Scale Disaster: Social Media Sentiment Analysis with Facebook Pages
Authors:
Yuya Shibuya,
Hideyuki Tanaka
Abstract:
There have been various studies analyzing public sentiment after a large-scale disaster. However, few studies have focused on the relationship between public sentiment on social media and its results on people's activities in the real world. In this paper, we conduct a long-term sentiment analysis after the Great East Japan Earthquake and Tsunami of 2011 using Facebook Pages with the aim of invest…
▽ More
There have been various studies analyzing public sentiment after a large-scale disaster. However, few studies have focused on the relationship between public sentiment on social media and its results on people's activities in the real world. In this paper, we conduct a long-term sentiment analysis after the Great East Japan Earthquake and Tsunami of 2011 using Facebook Pages with the aim of investigating the correlation between public sentiment and people's actual needs in areas damaged by water disasters. In addition, we try to analyze whether different types of disaster-related communication created different kinds of relationships on people's activities in the physical world. Our analysis reveals that sentiment of geo-info-related communication, which might be affected by sentiment inside a damaged area, had a positive correlation with the prices of used cars in the damaged area. On the other hand, the sentiment of disaster-interest-based-communication, which might be affected more by people who were interested in the disaster, but were outside the damaged area, had a negative correlation with the prices of used cars. The result could be interpreted to mean that when people begin to recover, used-car prices rise because they become more positive in their sentiment. This study suggests that, for long-term disaster-recovery analysis, we need to consider the different characteristics of online communication posted by locals directly affected by the disaster and non-locals not directly affected by the disaster.
△ Less
Submitted 22 January, 2018;
originally announced January 2018.