Close Menu
Ztoog
    What's Hot
    Science

    Scientists build a freezer that works in the deep sea

    Mobile

    YouTube Music for Wear OS makes finding songs in albums and playlists a breeze

    Technology

    Radar Trends to Watch: January 2025 – O’Reilly

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

      LiberNovo Omni: The World’s First Dynamic Ergonomic Chair

    • Technology

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

      5 Skills Kids (and Adults) Need in an AI World – O’Reilly

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Deals: the Galaxy S25 series comes with a free tablet, Google Pixels heavily discounted

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

    • Science

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

      A trip to the farm where loofahs grow on vines

    • AI

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

      AI learns how vision and sound are connected, without human intervention | Ztoog

    • Crypto

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

      Senate advances GENIUS Act after cloture vote passes

    Ztoog
    Home » New method accelerates data retrieval in huge databases | Ztoog
    AI

    New method accelerates data retrieval in huge databases | Ztoog

    Facebook Twitter Pinterest WhatsApp
    New method accelerates data retrieval in huge databases | Ztoog
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Hashing is a core operation in most on-line databases, like a library catalogue or an e-commerce web site. A hash operate generates codes that straight decide the situation the place data can be saved. So, utilizing these codes, it’s simpler to search out and retrieve the data.

    However, as a result of conventional hash capabilities generate codes randomly, generally two items of data could be hashed with the identical worth. This causes collisions — when looking for one merchandise factors a person to many items of data with the identical hash worth. It takes for much longer to search out the best one, ensuing in slower searches and diminished efficiency.

    Certain forms of hash capabilities, often called excellent hash capabilities, are designed to position the data in a approach that stops collisions. But they’re time-consuming to assemble for every dataset and take extra time to compute than conventional hash capabilities.

    Since hashing is used in so many purposes, from database indexing to data compression to cryptography, quick and environment friendly hash capabilities are vital. So, researchers from MIT and elsewhere got down to see if they might use machine studying to construct higher hash capabilities.

    They discovered that, in sure conditions, utilizing discovered fashions as an alternative of conventional hash capabilities might end result in half as many collisions. These discovered fashions are created by operating a machine-learning algorithm on a dataset to seize particular traits. The workforce’s experiments additionally confirmed that discovered fashions have been usually extra computationally environment friendly than excellent hash capabilities.

    “What we found in this work is that in some situations we can come up with a better tradeoff between the computation of the hash function and the collisions we will face. In these situations, the computation time for the hash function can be increased a bit, but at the same time its collisions can be reduced very significantly,” says Ibrahim Sabek, a postdoc in the MIT Data Systems Group of the Computer Science and Artificial Intelligence Laboratory (CSAIL).

    Their analysis, which will likely be introduced on the 2023 International Conference on Very Large Databases, demonstrates how a hash operate could be designed to considerably velocity up searches in a huge database. For occasion, their approach might speed up computational programs that scientists use to retailer and analyze DNA, amino acid sequences, or different organic data.

    Sabek is the co-lead creator of the paper with Department of Electrical Engineering and Computer Science (EECS) graduate pupil Kapil Vaidya. They are joined by co-authors Dominik Horn, a graduate pupil on the Technical University of Munich; Andreas Kipf, an MIT postdoc; Michael Mitzenmacher, professor of pc science on the Harvard John A. Paulson School of Engineering and Applied Sciences; and senior creator Tim Kraska, affiliate professor of EECS at MIT and co-director of the Data, Systems, and AI Lab.

    Hashing it out

    Given a data enter, or key, a conventional hash operate generates a random quantity, or code, that corresponds to the slot the place that key will likely be saved. To use a easy instance, if there are 10 keys to be put into 10 slots, the operate would generate an integer between 1 and 10 for every enter. It is extremely possible that two keys will find yourself in the identical slot, inflicting collisions.

    Perfect hash capabilities present a collision-free various. Researchers give the operate some additional information, such because the variety of slots the data are to be positioned into. Then it might carry out further computations to determine the place to place every key to keep away from collisions. However, these added computations make the operate more durable to create and fewer environment friendly.

    “We were wondering, if we know more about the data — that it will come from a particular distribution — can we use learned models to build a hash function that can actually reduce collisions?” Vaidya says.

    A data distribution reveals all doable values in a dataset, and the way usually every worth happens. The distribution can be utilized to calculate the likelihood {that a} explicit worth is in a data pattern.

    The researchers took a small pattern from a dataset and used machine studying to approximate the form of the data’s distribution, or how the data are unfold out. The discovered mannequin then makes use of the approximation to foretell the situation of a key in the dataset.

    They discovered that discovered fashions have been simpler to construct and sooner to run than excellent hash capabilities and that they led to fewer collisions than conventional hash capabilities if data are distributed in a predictable approach. But if the data will not be predictably distributed as a result of gaps between data factors differ too broadly, utilizing discovered fashions may trigger extra collisions.

    “We may have a huge number of data inputs, and the gaps between consecutive inputs are very different, so learning a model to capture the data distribution of these inputs is quite difficult,” Sabek explains.

    Fewer collisions, sooner outcomes

    When data have been predictably distributed, discovered fashions might cut back the ratio of colliding keys in a dataset from 30 % to fifteen %, in contrast with conventional hash capabilities. They have been additionally capable of obtain higher throughput than excellent hash capabilities. In the very best instances, discovered fashions diminished the runtime by practically 30 %.

    As they explored the usage of discovered fashions for hashing, the researchers additionally discovered that throughput was impacted most by the variety of sub-models. Each discovered mannequin consists of smaller linear fashions that approximate the data distribution for various components of the data. With extra sub-models, the discovered mannequin produces a extra correct approximation, however it takes extra time.

    “At a certain threshold of sub-models, you get enough information to build the approximation that you need for the hash function. But after that, it won’t lead to more improvement in collision reduction,” Sabek says.

    Building off this evaluation, the researchers wish to use discovered fashions to design hash capabilities for different forms of data. They additionally plan to discover discovered hashing for databases in which data could be inserted or deleted. When data are up to date in this fashion, the mannequin wants to vary accordingly, however altering the mannequin whereas sustaining accuracy is a troublesome drawback.

    “We want to encourage the community to use machine learning inside more fundamental data structures and algorithms. Any kind of core data structure presents us with an opportunity to use machine learning to capture data properties and get better performance. There is still a lot we can explore,” Sabek says.

    “Hashing and indexing functions are core to a lot of database functionality. Given the variety of users and use cases, there is no one size fits all hashing, and learned models help adapt the database to a specific user. This paper is a great balanced analysis of the feasibility of these new techniques and does a good job of talking rigorously about the pros and cons, and helps us build our understanding of when such methods can be expected to work well,” says Murali Narayanaswamy, a principal machine studying scientist at Amazon, who was not concerned with this work. “Exploring these kinds of enhancements is an exciting area of research both in academia and industry, and the kind of rigor shown in this work is critical for these methods to have large impact.”

    This work was supported, in half, by Google, Intel, Microsoft, the U.S. National Science Foundation, the U.S. Air Force Research Laboratory, and the U.S. Air Force Artificial Intelligence Accelerator.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Rationale engineering generates a compact new tool for gene therapy | Ztoog

    AI

    The AI Hype Index: College students are hooked on ChatGPT

    AI

    Learning how to predict rare kinds of failures | Ztoog

    AI

    Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    AI

    AI learns how vision and sound are connected, without human intervention | Ztoog

    AI

    How AI is introducing errors into courtrooms

    AI

    With AI, researchers predict the location of virtually any protein within a human cell | Ztoog

    AI

    Google DeepMind’s new AI agent cracks real-world problems better than humans can

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    AI

    Gosha Geogdzhayev and Sadhana Lolla named 2024 Gates Cambridge Scholars | Ztoog

    This article was up to date on April 23 to mirror the promotion of Gosha…

    AI

    Drones navigate unseen environments with liquid neural networks | Ztoog

    In the huge, expansive skies the place birds as soon as dominated supreme, a brand…

    Crypto

    Ethereum Traders Capitulate As Rally Slows Down: Why This Is Good

    On-chain information reveals that Ethereum merchants are capitulating following the slowdown of the rally, one…

    AI

    System combines light and electrons to unlock faster, greener computing | Ztoog

    Computing is at an inflection level. Moore’s Law, which predicts that the variety of transistors…

    Mobile

    EU leans against forcing Apple to make iMessage cross-platform, report says

    What you want to knowThe European Union is contemplating whether or not to make iMessage…

    Our Picks
    Science

    A Lab Just 3D-Printed a Neural Network of Living Brain Cells

    Mobile

    Windows computer randomly restarts? Here’s how to fix it

    Mobile

    Google Pixel 8 Pro gets durability tested, survives to tell the tale without bending

    Categories
    • AI (1,493)
    • Crypto (1,753)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,866)
    • Technology (1,802)
    • The Future (1,648)
    Most Popular
    AI

    It’s easy to tamper with watermarks from AI-generated text

    Science

    Cocktail science: Mix these drinks and learn about fluid dynamics

    Technology

    Cyberpunk 2077 expansion boosts player numbers past Starfield, don’t miss the Doom-like easter egg

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.