Research  Computer scientists invent an efficient new way to count

#1
C C Offline
https://www.quantamagazine.org/computer-...-20240516/

INTRO: Imagine that you’re sent to a pristine rainforest to carry out a wildlife census. Every time you see an animal, you snap a photo. Your digital camera will track the total number of shots, but you’re only interested in the number of unique animals — all the ones that you haven’t counted already. What’s the best way to get that number?

“The obvious solution requires remembering every animal you’ve seen so far and comparing each new animal to the list,” said Lance Fortnow, a computer scientist at the Illinois Institute of Technology. But there are cleverer ways to proceed, he added, because if you have thousands of entries, the obvious approach is far from easy.

It gets worse. What if you’re Facebook, and you want to count the number of distinct users who log in each day, even if some of them log in from multiple devices and at multiple times? Now we’re comparing each new login to a list that could run to the billions.

In a recent paper, computer scientists have described a new way to approximate the number of distinct entries in a long list, a method that requires remembering only a small number of entries. The algorithm will work for any list where the items come in one at a time — think words in a speech, goods on a conveyor belt or cars on the interstate.

The CVM algorithm, named for its creators — Sourav Chakraborty of the Indian Statistical Institute, Vinodchandran Variyam of the University of Nebraska, Lincoln, and Kuldeep Meel of the University of Toronto — is a significant step toward solving what’s called the distinct elements problem, which computer scientists have grappled with for more than 40 years. It asks for a way to efficiently monitor a stream of elements — the total number of which may exceed available memory — and then estimate the number of unique elements.

“The new algorithm is astonishingly simple and easy to implement,” said Andrew McGregor of the University of Massachusetts, Amherst. “I wouldn’t be surprised if this became the default way the [distinct elements] problem is approached in practice.” (MORE - details)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Computer scientists discover new vulnerability affecting computers globally C C 0 436 May 2, 2021 09:42 PM
Last Post: C C
  Deepfake detectors can be defeated, computer scientists show for the first time C C 0 343 Feb 8, 2021 11:00 PM
Last Post: C C
  SV warned not to aid Chinese military + He helped invent AI, rebuffs ‘killer robots’ C C 0 571 Mar 29, 2019 07:10 PM
Last Post: C C
  Might nature’s bottomless pits actually be ultra-efficient quantum computers? C C 1 878 Apr 11, 2016 03:43 PM
Last Post: elte
  Can superpowers be created? + Computer program dreams up new QM experiments C C 0 775 Feb 24, 2016 08:20 PM
Last Post: C C
  Computer scientists find mass extinctions can accelerate evolution C C 0 774 Aug 14, 2015 07:15 PM
Last Post: C C



Users browsing this thread: 1 Guest(s)