A Blog by Jonathan Low

 

Nov 19, 2017

Why Messy Desks Are Perfectly Optimized

There is a method to the madness, even if the owner of the messy desk is completely unaware of it. JL

Shelly Palmer reports in Advertising Age:

Sorting data by an arbitrary criterion may satisfy your aesthetic sensibility, but it may make no sense in a data-driven world. A caching algorithm thought to be the best at predicting future data access needs is known as LRU (Least Recently Used), based on the idea that the papers you most recently used are the ones you are most likely to use again.So the next time someone inquires, "How can you find anything in this mess?" you can tell them that your desk is perfectly optimized for temporal search and is an example of the best predictive model known in current mathematics.
While I was out recently, my meticulously neat wife mercilessly straightened and organized the desk in my home office. My desk was clean, but the results were suboptimal.
Everyone is talking about data and how valuable it is. But do you know the names and functions of the most basic algorithms being used to turn data into action? Have you brushed up on your math skills and started to think about how data will flow through the systems you are asking your engineers to create?
As it has taken me less than a day to re-mess up my desk, I thought it would be fun to talk about some of the algorithms we use every day that are also used by computer scientists, data scientists, AI, and machine learning systems.

Insertion sort

My wife essentially used an algorithm to sort my papers. She sorted the papers alphabetically by arranging them one by one in their appropriate position. This technique is called Insertion Sort, and while it is intuitive, the time spent sorting increases exponentially (aka quadratic time). It gets worse. After she sorted the documents, she grouped them by letter and put each group into corresponding hanging folders in my desk file drawer. Her choice to insertion-sort the data on my desk (and then store the data alphabetically) did nothing to speed my access to the data or help me efficiently find the data I'm most likely to need next.
While my desk was devoid of paper, was dust-free, and looked great, all of my papers were now tucked away in a file drawer organized for first-letter alphabetic search. There was no respect or attention paid to frequency of the data usage or temporal constraints (such as an invoice with a due date). Sorting data by an arbitrary criterion may satisfy your aesthetic sensibility, but it may make no sense in a data-driven world.

Self-organizing lists

In practice, there is a caching algorithm that is currently thought to be the very best at predicting your future data access needs. And my messy desk is a great example. The algorithm is known as LRU (Least Recently Used). This optimization algorithm is based on the idea that the papers you most recently used are the ones you are most likely to use again. Conversely, the papers you have not used in a long time will probably remain unused.
So the optimal way to deal with papers on your desk is to put the paper you just finished working with on the top of the pile. If you follow this algorithm (which requires no thought at all), the math says the maximum time you will spend searching for anything in the pile will never be more than twice the time you would have spent if you were clairvoyant. Messy desks are perfectly optimized.
If you need a practical test (if you don't trust the math), time how long it takes to find something you did yesterday in the pile of papers in front of you. I would be surprised if it was more than a few seconds.
Now, try to find the same thing (with the same search criteria) in the file folder system. It will likely take much longer. Plus, unlike the cache in your messy pile, searching the folders will require you to remember the name of the vendor or title of the paper. Importantly, even if searching the alphabetic folders takes the same amount of time as searching the pile on your desk (which it won't), you have to add back the hours spent organizing the files (doing meta-work) for no purpose at all.
So the next time someone walks into your office and politely inquires, "How can you find anything in this mess?" you can tell them that your desk is perfectly optimized for temporal search and is an example of the best predictive model known in current mathematics.

1 comments:

Emma Jasmine said...

The picture you have shared in this blog is not good to see that you have not sorted your things perfectly.You can misplace a vital information of your office as well as of the client. It is good to read that your wife helps to arrange all files and things but you have to take those skills from your wife. One suggestion is to buy drawers and cabinets which helps to arrange these things in a good manner. These things which are suggested above helps you in long run.

Post a Comment