Showing posts with label data storage. Show all posts
Showing posts with label data storage. Show all posts

Wednesday, February 19, 2025

Undergraduate Upends a 40-Year-Old Data Science Conjecture about hashing and hash tables

Amazing stuff!

"... demonstrated in a January 2025 paper that this new hash table can indeed find elements faster than was considered possible. In so doing, they had disproved a conjecture long held to be true. ...

“Hash tables are among the oldest data structures we have. And they’re still one of the most efficient ways to store data.” Yet open questions remain about how they work, he said. “This paper answers a couple of them in surprising ways.” ...

In a 1985 paper(opens a new tab), the computer scientist Andrew Yao, who would go on to win the A.M. Turing Award, asserted that among hash tables with a specific set of properties, the best way to find an individual element or an empty spot is to just go through potential spots randomly — an approach known as uniform probing. He also stated that, in the worst-case scenario, where you’re searching for the last remaining open spot, you can never do better than x. for 40 years, most computer scientists assumed that Yao’s conjecture was true. ...

[Krapivin] explorations with tiny pointers led to a new kind of hash table — one that did not rely on uniform probing. And for this new hash table, the time required for worst-case queries and insertions is proportional to (log x)2 — far faster than x. This result directly contradicted Yao’s conjecture. ... show that (log x)2 is the optimal, unbeatable bound for the popular class of hash tables Yao had written about. ...

In addition to refuting Yao’s conjecture, the new paper also contains what many consider an even more astonishing result. It pertains to a related, though slightly different, situation: In 1985, Yao looked not only at the worst-case times for queries, but also at the average time taken across all possible queries. He proved that hash tables with certain properties — including those that are labeled “greedy,” which means that new elements must be placed in the first available spot — could never achieve an average time better than log x.

... wanted to see if that same limit also applied to non-greedy hash tables. They showed that it did not by providing a counterexample, a non-greedy hash table with an average query time that’s much, much better than log x. In fact, it doesn’t depend on x at all. “You get a number,” ... “something that is just a constant and doesn’t depend on how full the hash table is.” The fact that you can achieve a constant average query time, regardless of the hash table’s fullness, was wholly unexpected — even to the authors themselves. ..."

From the abstract:
"In this paper, we revisit one of the simplest problems in data structures: the task of inserting elements into an open-addressed hash table so that elements can later be retrieved with as few probes as possible. We show that, even without reordering elements over time, it is possible to construct a hash table that achieves far better expected search complexities (both amortized and worst-case) than were previously thought possible. Along the way, we disprove the central conjecture left by Yao in his seminal paper ``Uniform Hashing is Optimal''. All of our results come with matching lower bounds."

Caveat: I did not read the paper.

Undergraduate Upends a 40-Year-Old Data Science Conjecture | Quanta Magazine "A young computer scientist and two colleagues show that searches within data structures called hash tables can be much faster than previously deemed possible."

Tuesday, February 18, 2025

Terabytes of data storage in a millimeter crystal

Good news!

"... But now ... researchers have explored a technique to make ones and zeroes out of crystal defects, each the size of an individual atom, for classical computer memory applications. ...

“Now you can pack terabytes of bits within a small cube of material that's only a millimeter in size.” ...

To create the new memory storage technique, the team added ions of “rare earth,” a group of elements also known as lanthanides, to a crystal.

Specifically, they used a rare-earth element called Praseodymium and an Yttrium oxide crystal, but the process they reported could be used with a variety of materials, taking advantage of rare earths’ powerful, flexible optical properties.

“It’s well known that rare earths present specific electronic transitions that allows you to choose specific laser excitation wavelengths for optical control, from UV up to near-infrared regimes,” ...

Unlike with dosimeters, which are typically activated by X-rays or gamma rays, here the storage device is activated by a simple ultraviolet laser. The laser stimulates the lanthanides, which in turn release electrons. The electrons are trapped by some of the oxide crystal’s defects, for instance the individual gaps in the structure where a single oxygen atom should be, but isn’t. ..."

From the abstract:
"Charge-trapping defects in crystalline solids play important roles in applications ranging from microelectronics, optical storage, sensing and quantum technologies. On one hand, depleting trapped charges in the host matrix reduces charge noise and enhances coherence of solid-state quantum emitters.
On the other hand, stable charge traps can enable high-density optical storage systems.
Here we report all-optical control of charge-trapping defects via optical charge trapping (OCT) spectroscopy of a rare-earth ion doped oxide (Y2O3).
Charge trapping is realized by low intensity optical excitation in the 200–375 nm range.
Charge detrapping or depletion is carried out by optically stimulated luminescence (OSL) under 532 nm stimulation.
Using a Pr-doped Y2O3 polycrystalline ceramic host matrix, we observe charging pathways via the inter-band optical absorption of Y2O3 and via the 4f-5d transitions of Pr3+.
We demonstrate effective control of the density of trapped charges within the Y2O3 matrix at ambient environment. These results point to a viable method for controlling the local charge environment in rare-earth doped crystals via all-optical means, and pave the way for further development of efficient optical storage technologies with ultrahigh storage capacity, as well as for the localized control of quantum coherence in rare-earth doped solids."

Terabytes of data in a millimeter crystal | Pritzker School of Molecular Engineering | The University of Chicago "UChicago Pritzker Molecular Engineering researchers created a "quantum-inspired” revolution in microelectronics, storing classical computer memory in crystal gaps where atoms should be"



Figure 1: Schematic setup for the PL/PLE spectroscopy and TL/OSL emission readout, as well as the time sequence of the OCT measurement. 


Saturday, October 26, 2024

DNA ‘printing press’ could quickly store mountains of data

For decades, we have been told that organic/biological data storage could take over current hardware based data storage any time soon.

"... Now, researchers report applying the concept of movable type at the molecular level to dramatically speed up the ability to encode data in strands of DNA, an incredibly high-density medium for storing information. Although only demonstrated in the lab so far, the new approach, reported today in Nature, could energize the emerging DNA data storage industry by making it cost effective to archive vital information for decades and beyond ...

The allure of DNA data storage is immense: A single gram of DNA can store up to 215 petabytes of data, enough to store 10 million hours of high-definition video. At that rate, a few pickup trucks worth of DNA could store all the data humanity has ever recorded. And unlike conventional electronic hard drives, which degrade in years or decades, DNA can last for millennia. ..."

From the abstract:
"DNA storage has shown potential to transcend current silicon-based data storage technologies in storage density, longevity and energy consumption. However, writing large-scale data directly into DNA sequences by de novo synthesis remains uneconomical in time and cost. We present an alternative, parallel strategy that enables the writing of arbitrary data on DNA using premade nucleic acids. Through self-assembly guided enzymatic methylation, epigenetic modifications, as information bits, can be introduced precisely onto universal DNA templates to enact molecular movable-type printing. By programming with a finite set of 700 DNA movable types and five templates, we achieved the synthesis-free writing of approximately 275,000 bits on an automated platform with 350 bits written per reaction. The data encoded in complex epigenetic patterns were retrieved high-throughput by nanopore sequencing, and algorithms were developed to finely resolve 240 modification patterns per sequencing reaction. With the epigenetic information bits framework, distributed and bespoke DNA storage was implemented by 60 volunteers lacking professional biolab experience. Our framework presents a new modality of DNA data storage that is parallel, programmable, stable and scalable. Such an unconventional modality opens up avenues towards practical data storage and dual-mode data functions in biomolecular systems."

DNA ‘printing press’ could quickly store mountains of data | Science | AAAS "Inspired by ancient invention of movable type, researchers use blocks of DNA to dramatically increase writing speed"



Fig. 1: Schematics of the epi-bit DNA storage.


Saturday, June 15, 2024

Scientists store, retrieve and preserve DNA in an amber-like polymer for long-term storage of digital data and whole genomes

Amazing stuff! Possibly huge potential!

"... Inspired partly by that film, MIT researchers have developed a glassy, amber-like polymer that can be used for long-term storage of DNA, whether entire human genomes or digital files such as photos. ...
The researchers showed that they could use this polymer to store DNA sequences encoding the theme music from Jurassic Park, as well as an entire human genome. They also demonstrated that the DNA can be easily removed from the polymer without damaging it. ...
DNA, a very stable molecule, is well-suited for storing massive amounts of information, including digital data. Digital storage systems encode text, photos, and other kind of information as a series of 0s and 1s. This same information can be encoded in DNA using the four nucleotides that make up the genetic code: A, T, G, and C. For example, G and C could be used to represent 0 while A and T represent 1.

DNA offers a way to store this digital information at very high density: In theory, a coffee mug full of DNA could store all of the world’s data. DNA is also very stable and relatively easy to synthesize and sequence. ..."

From the abstract:
"The rapid decline in DNA sequencing costs has fueled the demand for nucleic acid collection to unravel genomic information, develop treatments for genetic diseases, and track emerging biological threats.
Current approaches to maintaining these nucleic acid collections hinge on continuous electricity for maintaining low-temperature and intricate cold-chain logistics.
Inspired by the millennia-long preservation of fossilized biological specimens in calcified minerals or glassy amber, we present Thermoset-REinforced Xeropreservation (T-REX): a method for storing DNA in deconstructable glassy polymer networks. Key to T-REX is the development of polyplexes for nucleic acid encapsulation, streamlining the transfer of DNA from aqueous to organic phases, replete with initiators, monomers, cross-linkers, and thionolactone-based cleavable comonomers required to form the polymer networks. This process successfully encapsulates DNA that spans different length scales, from tens of bases to gigabases, in a matter of hours compared to days with traditional silica-based encapsulation. Further, T-REX permits the extraction of DNA using comparatively benign reagents, unlike the hazardous hydrofluoric acid required for recovery from silica. T-REX provides a path toward low-cost, time-efficient, and long-term nucleic acid preservation for synthetic biology, genomics, and digital information storage, potentially overcoming traditional low-temperature storage challenges."

Scientists preserve DNA in an amber-like polymer | MIT News | Massachusetts Institute of Technology With their “T-REX” method, DNA embedded in the polymer could be used for long-term storage of genomes or digital data such as photos and music.


Graphical abstract


Sunday, February 11, 2024

Scientists Find Optimal Balance of Data Storage and Time for hash tables after 70 years

Recommendable!

After trial and error, they discovered and confirmed that the theoretical lower bound was the same as the previously established upper bound. Case closed! 😊

"... Hash tables are among the oldest, simplest, fastest and most widely used data structures today. They’re designed to perform three basic operations: insertions, which add new items to the database; queries, which access an item or check to see whether it exists; and deletions. ..."

From the abstract:
"For nearly six decades, the central open question in the study of hash tables has been to determine the optimal achievable tradeoff curve between time and space. State-of-the-art hash tables offer the following guarantee: If keys/values are Theta(log n) bits each, then it is possible to achieve constant-time insertions/deletions/queries while wasting only O(loglog n) bits of space per key when compared to the information-theoretic optimum. Even prior to this bound being achieved, the target of O(loglog n) wasted bits per key was known to be a natural end goal, and was proven to be optimal for a number of closely related problems (e.g., stable hashing, dynamic retrieval, and dynamically-resized filters).
This paper shows that O(loglog n) wasted bits per key is not the end of the line for hashing. In fact, for any k \in [log* n], it is possible to achieve O(k)-time insertions/deletions, O(1)-time queries, and O(\log^{(k)} n) wasted bits per key (all with high probability in n). This means that, each time we increase insertion/deletion time by an \emph{additive constant}, we reduce the wasted bits per key \emph{exponentially}. We further show that this tradeoff curve is the best achievable by any of a large class of hash tables, including any hash table designed using the current framework for making constant-time hash tables succinct."

Scientists Find Optimal Balance of Data Storage and Time | Quanta Magazine Seventy years after the invention of a data structure called a hash table, theoreticians have found the most efficient possible configuration for it.


Thursday, October 19, 2023

Painting with DNA art reproduces photos in high resolution and 16 million colors

Amazing stuff! DNA as data storage?

"... The researchers then got to work painting with this DNA palette. They used a technique called maskless array synthesis (MAS), which allows them to synthesize hundreds of thousands of DNA sequences at once and determine which color to place on each “pixel” of the canvas. In doing so, they were able to reproduce digital images onto a canvas about the size of a fingernail, with 24-bit color depth at a resolution of 1024 x 768. The team says it should be possible to scale the process up to Full HD and even 4K eventually. ..."

From the abstract:
"Nucleic acid microarray photolithography combines density, throughput, and positional control in DNA synthesis. These surface-bound sequence libraries are conventionally used in large-scale hybridization assays against fluorescently labeled, perfect-match DNA strands. Here, we introduce another layer of control for in situ microarray synthesis─hybridization affinity─to precisely modulate fluorescence intensity upon duplex formation. Using a combination of Cy3-, Cy5-, and fluorescein-labeled targets and an ensemble of truncated DNA probes, we organize 256 shades of red, green, and blue intensities that can be superimposed and merged. In so doing, hybridization alone is able to produce a large palette of 16 million colors or 24-bit color depth. Digital images can be reproduced with high fidelity at the micrometer scale by using a simple process that assigns sequence to any RGB value. Largely automated, this approach can be seen as miniaturized DNA-based painting."

DNA art reproduces photos in high resolution and 16 million colors Scientists have developed a way to “paint” with DNA, creating 16 million colors to accurately reproduce digital images with 24-bit color depth. The resulting images are incredible, and represent not just a new art form but potential advances for storing data on DNA.

Art with DNA – Digitally creating 16 million colors by chemistry The DNA double helix is composed of two DNA molecules whose sequences are complementary to each other. The stability of the duplex can be fine-tuned in the lab by controlling the amount and location of imperfect complementary sequences. Fluorescent markers bound to one of the matching DNA strands make the duplex visible, and fluorescence intensity increases with increasing duplex stability. Now, researchers at the University of Vienna succeeded in creating fluorescent duplexes that can generate any of 16 million colors – a work that surpasses the previous 256 colors limitation. This very large palette can be used to "paint" with DNA and to accurately reproduce any digital image on a miniature 2D surface with 24-bit color depth. ...


Figure 3. Reproduction process of a 24-bit color digital input into a DNA microarray of equal color depth.



Thursday, January 06, 2022

Toward nanoscale DNA writers: Unlocking scalable DNA data writing technology

Food for thought! Towards synthetic DNA storage technology!

"... Available methods of storage are having difficulty keeping up with the increasing demand in the long term. Synthetic DNA, at its root a tiny storer of information, offers a potential pathway toward significantly reducing the amount of space and material needed for future archival storage needs. Revisiting the projection of growth above, it would take millions of tape cartridges—the current densest commercial storage media—to store 9 zettabytes of information, whereas it would take the footprint of one small refrigerator if stored in DNA.

DNA not only offers a clear advantage over existing storage media with density at over 1 exabyte per cubic inch, but also is a potential solution to present-day challenges in data archival storage systems. DNA can be incredibly durable and can last thousands of years ...
Additionally, evidence points to potential for DNA storage to have lower greenhouse gas emissions, water consumption, and energy consumption. Despite these advantages, one key impediment to large-scale deployment of DNA data storage has been its low DNA synthesis throughput, resulting in low throughput of writing and relatively high cost. ..."

Toward nanoscale DNA writers: Unlocking scalable DNA data writing technology - Microsoft Research

Saturday, July 17, 2021

Could all your digital photos be stored as DNA?

Recommendable! Sounds almost to good to be true!

An unsustainable situation:
"On Earth right now, there are about 10 trillion gigabytes of digital data, and every day, humans produce emails, photos, tweets, and other digital files that add up to another 2.5 million gigabytes of data. Much of this data is stored in enormous facilities known as exabyte data centers (an exabyte is 1 billion gigabytes), which can be the size of several football fields and cost around $1 billion to build and maintain."

"... DNA, which evolved to store massive quantities of information at very high density. A coffee mug full of DNA could theoretically store all of the world’s data ...
Scientists have already demonstrated that they can encode images and pages of text as DNA. ...
MIT biological engineers have demonstrated a way to easily retrieve data files stored as DNA. This could be a step toward using DNA archives to store enormous quantities of photos, images, and other digital content. ..."

Could all your digital photos be stored as DNA? | MIT News | Massachusetts Institute of Technology A technique for labeling and retrieving DNA data files from a large pool could help make DNA data storage feasible.

Tuesday, October 20, 2020

Enzymatic DNA synthesis to store digital data in DNA

Good news! Given the exponential explosion of digital data new storage technologies need to be developed fast.

"... DNA is an ideal storage medium because it is stable over hundreds or thousands of years, has an extraordinary information density, and its information can be efficiently read (decoded) again with advanced sequencing techniques that are continuously getting less expensive. ..."

"... Now, the researchers have applied [maskless] photolithographic techniques from the computer chip industry to enzymatic DNA synthesis, and thus developed a new method to multiplex TdT’s [Terminal deoxynucleotidyl Transferase ] superior DNA writing ability. In their study published in Nature Communications, they demonstrated the parallel synthesis of 12 DNA strands with varying sequences on a 1.2 square millimeter array surface. ..."

Enzymatic DNA synthesis sees the light Controlling a DNA-synthesizing enzyme with photolithographic methods from the computer chip industry facilitates multiplexed writing and storage of digital data in DNA

Here is the link to the underlying research paper: