MétaCan
Menu
Back to cohort
Record W2109929425 · doi:10.82308/45910

Two-way hashing with separate chaining and linear probing

2004· article· en· W2109929425 on OpenAlex

Why this work is in the frame

A frame that forgets how it found something cannot be audited. These are the routes that admitted this work.

affAt least one author lists a Canadian institution in the pinned OpenAlex snapshot.

Bibliographic record

VenueeScholarship@McGill (McGill) · 2004
Typearticle
Languageen
FieldComputer Science
TopicAlgorithms and Data Compression
Canadian institutionsMcGill University
Fundersnot available
KeywordsChainingHash functionDynamic perfect hashingCombinatoricsHash tableK-independent hashingBounded functionMathematicsLinear hashingAsymptotically optimal algorithmPerfect hash functionDiscrete mathematicsBinary logarithmConstant (computer programming)Computer scienceDouble hashingAlgorithm

Abstract

fetched live from OpenAlex

Two-way chaining is a novel hashing scheme that uses two independent truly uniform hash functions f and g to insert m keys into a hash table with n chains, where each key x is inserted into the shortest chain among the chains f(x) and g( x), breaking ties randomly. It is known [13, 18] that the worst-case search time of two-way chaining is log2 log n + m/n + O(1), asymptotically almost surely. In this thesis, we study the two-way chaining paradigm under different assumptions. First, we generalize the result to nonuniform hash functions. We analyze two-way chaining in the fixed density model where the two independent hash functions behave according to two densities defined on the unit interval. When m = O(n), we prove that asymptotically almost surely, the worst-case search time is at least log2 log n - O(1). If, in addition, the densities are bounded, then it is at most log2 log n + O( m/n). Secondly, we consider the off-line version of two-way chaining where all the hashing values available for the m keys are known in advance. For constant k ~ N , we show that there is a threshold ck such that if m ≤ ckn, then one can assign the keys to the chains so that the maximum search time is at most 2k, asymptotically almost surely. We tightly estimate ck, and prove that it is, in fact, asymptotic to k. Algorithms for finding such assignments are also given. Thirdly, we utilize the two-way chaining paradigm to design efficient open addressing hashing schemes. We study two-way linear probing algorithms. These are algorithms that employ two independent linear probe sequences to hash the keys. We prove an O(log log n) universal lower bound on the worst-case search time of any two-way linear probing algorithm, where n is the hash table size. We show, however, that some simple two-way linear probing algorithms, unexpectedly, have implausible worst-case performances. Subsequently, we present several efficient two-way linear probing algorithms whose performance matches the lower bound. Simulations back up the theoretical results.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

Full frame distilled prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. Learned from the 10,348 direct Codex labels and 10,348 direct Gemma labels. Candidate is the union of thresholded teacher heads; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels or direct frontier model labels.

metaresearch head score (Codex)0.001
metaresearch head score (Gemma)0.000
Version: codex-gemma-dda1882f352aValidation status: machine_predicted_unvalidated
Candidate categoriesMeta-epidemiology (narrow), Science and technology studies
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Theoretical or conceptual · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: Empirical
Teacher disagreement score0.422
Threshold uncertainty score1.000

Codex and Gemma teacher scores by category

CategoryCodexGemma
Metaresearch0.0010.000
Meta-epidemiology (narrow)0.0000.000
Meta-epidemiology (broad)0.0000.000
Bibliometrics0.0000.001
Science and technology studies0.0010.000
Scholarly communication0.0000.003
Open science0.0010.001
Research integrity0.0000.001
Insufficient payload (model declined to judge)0.0000.000

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.018
GPT teacher head0.237
Teacher spread0.219 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it