#The_Singularity_is_Nearer: When we merge with AI - Ray_Kurzweil - #Review


    The book starts with “where we stand” in terms of epochs with the present one being a merger of bio-science with technology. The idea that one day it would be possible to upload our mind into the ‘cloud’ achieving cyber-immortality is the next. In general terms, the book describes the law of accelerating returns, which predicts an exponential increase in technologies like computers, genetics, nanotechnology, robotics and artificial intelligence.

    The Singularity Is Near, using the term “singularity” as a metaphor for the merger of human and artificial intelligence. By this the author means people augmenting themselves with computational power millions of times beyond what our innate biology provides. Kurzweil predicts this will happen around 2045!

    Artificial Narrow Intelligence (ANI) refers to technology designed to perform specific tasks or a limited range of functions, such as spam filtering, recommendation systems, and digital assistants like Siri and Alexa. Today, ANI is deeply integrated into countless industries, organizations, products, and services worldwide. The next stage involves advanced AI and machine learning systems that function as general-purpose technologies, capable of supporting a broad spectrum of applications. According to Ray Kurzweil, the accelerating progress of AI offers significant opportunities to expand, enhance, and amplify human intellectual capabilities. In his latest book, he describes how AI and machine learning are expected to drive ground-breaking innovations in biotechnology and nanotechnology, potentially leading to transformative advances that could reshape the future course of human civilization.

    The evolution of artificial intelligence spans several decades, beginning in the 1950s with the pioneering contributions of mathematicians Alan Turing and John McCarthy, and progressing to the modern connectionist approach to AI. Connectionism is based on networks of interconnected nodes that generate intelligence through their organizational structure rather than the specific information they contain. This model draws inspiration from the human neocortex, which is composed of simple, repeating modular units of roughly 100 neurons. These modules are capable of learning, identifying, and retaining patterns, while also organizing themselves into hierarchical layers where each successive level develops an understanding of increasingly complex concepts. As computing power became more affordable and large-scale training data became readily available, AI systems could be trained more efficiently, enabling the technology to achieve remarkable performance across a wide range of applications.

    To address the difficult problem of defining consciousness (and who possesses it), he borrows philosopher David Chalmers’s idea of “panprotopsychism.” Kurzweil explains that panprotopsychism treats consciousness as a fundamental force of the universe and not a force that can be reduced to a simple effect of other physical forces. In his interpretation, it is a “kind of information-processing complexity found in the brain that ‘awakens’ that force into the kind of subjective experience we recognize.”

    Pharmaceutical companies are today finding answers to biochemical problems and emerging viral threats by digitally searching through possible options and identifying solutions in hours rather than years.

    Nanotechnology—manipulating matter at the nanoscale to yield new technologies—offers considerable promise in medicine, electronics, energy production, and environmental mitigation. It also may deliver a wide range of inexpensive but extremely destructive offensive weapons. While responsible people can design safe nanobots, bad actors could design dangerous ones. Kurzweil argues for creating a nanotechnology “immune system” capable of contending with both obvious destruction (e.g., cleaning up a toxic spill) and potentially dangerous stealthy nanotechnology replication—that is, “good guy” nanobots (called “blue goo” in the literature) that combat bad nanobots (“gray goo”). Because gray goo is a potential extinction-level event for humanity, it is key that blue goo be deployed globally before gray goo self-replication chain reactions take off—a “catastrophe theory” scenario that should keep one awake at night.

     Lastly, according to Kurzweil, artificial super intelligence (ASI) - presents three distinct risks. First is misuse, where the AI functions as its human operators intend, but those operators deploy it to harm others. Second is outer misalignment, which means a mismatch between the programmers’ benign goals and unintentionally harmful prompts they give the AI in pursuit of those goals. Third is inner misalignment, which occurs when the methods the AI learns to achieve its goal result in undesirable behaviour.

    Kurzweil asks, “Will psychological and cultural forces make people more conservative about their choices” concerning merging AI with the human corpus—that is, the singularity? This was once a question for science fiction, but it is becoming a defining, present question for our age.

 Here are some highlights:

    If the strength of the gravity was slightly weaker (than the present) then there would be no supernova to create the chemical elements that life is made up from. If it were slightly stronger, stars would burn out and die before intelligent life could form. The six epochs are discussed in detail with the present humans in the 4th and the next being merging of biological human cognition with the speed and power of the digital technology

    It has been termed as the reinventing intelligence when AI is coupled with computer operations, drug development, medicines, neural network perceptron. But there is still a shortcoming - Two squares are shown where the machine could not detect the pattern whereas humans can detect the break in lines - all about neocortex.  Deep mind, Alpha go, Dall-E passed the test by extending the neocortex.

    Cockroaches have about one lakh neurons- about 0.001% of what humans have and thus the concept related to consciousness is our sense of ‘free-will’. A quote from Wolfram in his book, ‘a new kind of science’, tells about deterministic and non-deterministic properties. Some figures from his book, using fractal rules have been included.  The concept about Googol, which is 1 followed by 100 zeros, and further fall-out is discussed.

    An average man produces as many as 2 trillion sperms in his lifetime and an average woman about 1 million eggs – the odds of embryo formation is thus mentioned.

    For the universe to produce an Earth-like, atmosphere or a planet, the starting entropy should be as low as possible initially, and this is possible with one in 10^10^125 Universes (Roger Penrose estimation). This would be like a Boeing 747 being assembled out of a tornado striking a junkyard!

    Hans Moravec’s paradox is discussed which is about any mental task that seem hard to human beings, like square rooting or remembering large amount of info, are comparatively easy for computers whilst recognizing faces, keeping balance while walking, is much more difficult for AI.

     Life is getting exponential better while slow sense of progress does not make headlines, faster ones get noticed. Many graphs, linking literacy and education and other factors such as GDP, life expectancy, insurance in and around the USA have been discussed.

    Someone with an inexpensive smart phone today can use the internet to quickly and easily access almost all the world's educational information and translate and find directions which was not available even with millions of dollars decade ago!

    Broken Windows theory: where low-level vandalism would make people feel unsafe and believe they could get away with more serious and violent crimes - stopping minor offenses is thus a way of preventing more serious crimes.

    The growth of renewable energy like Solar, Photovoltaics and Wind power has been discussed along with machines’ performance with a wide range of CPU’s.  Most media is limited to sight and hearing, but for the next two decades brain-computer interface will become much more advanced and renewable energy sources will get a boost. For example, putting nanotubes and nanowires inside solar cells can steadily improve the ability to absorb photons. Nanobots can enter the body and carry out repair directly.

    Preventing re-contamination of water by adding certain chemicals, which are essentially Nano-particles and using 3-D printing technology to make shoes, homes and spinal disc are on the rise. IKEA and Lego find mention for simplifying lives by selling equipment easy to assemble.

    In the section “The feature of jobs, good or bad”, Waymo’s progress is discussed as an example and that post-Covid jobs in USA have increased by many times and the productivity day is measured as real output per hour. Facebook earnings over ads asking you to connect to more friends is discussed advance in detail.

    The next 30 years in health and well-being is the crux of next chapter. You can maintain your car through refining it parts, but this kind of thing may not be applicable to your body!

    AI can learn from more data than a human doctor ever could and can amass experience from billions of procedures instead of 1000’s a human doctor can!

    Promise and peril, a concluding chapter has details about the dangers of AI and the significant one includes the fact that there are approximately 12,700 nuclear war heads, 9440 of which are active. While USA and Russia maintain about 1000 war-heads ready for combat in an hour, these can be used to wipe the civilisation in half an hour time. Similarly, the use of biotech for generating pathogens like ‘black death’ can kill one third of EU population in a single spread.

    Advance AI tools to design and optimise mRNA can help speed up the manufacturing process. For example, Moderna’s vaccine for Covid was developed in 277 days- the fastest vaccine ever created. Nanotech can also be used to destroy biomass that can bring destruction to Earth.


#Are_you_smart_enough_to_work_at_Google - #William Poundstone - #Review

    This is a fun book of puzzles of all types; mathematical, logical, algorithmic with food for thought on estimation, mind games and creativity. There is also lots of interview advice, when applying for a job. The advice is good not just for Google, but for many other companies as well. 

I am straight away going to chapter six which has a gist: At Google, they believe in sharing ideas.

  • It is okay to question interviewer if you don’t understand, ask for clarification.
  • When asked to provide a solution, first define & framework the problem as you see it.
  • If you don’t understand, ask for help for clarification.
  • If you need to assume something verbally, check, it is a correct assumption.
  • Describe how you want to tackle solving each part of the question.
  • Always let your interviewer know what you are thinking as he will be interested in your process of thought as your solution. Also, if you are stuck, they may provide hints if they know what you are doing.
  • Finally, listen, don’t miss a hint if your interview is trying to assist you!

    The book starts in a fairy-tale like narration. “If you are shrunk to a penny height and thrown into a blender, what would you do to survive”? There are then several solutions like, clinging to the central pivot, or hiding beneath the blades etc. The author finally reserves an answer mathematically. “If you are shrunk to 1/n of your usual size, muscle energy would be reduced to n3”, and thence comes the ‘idea’ that would be accepted by the Google.

What comes next, after 66? 10, 9, 60, 90, 70, 66,…

Ten, nine, sixty, Ninety, Seventy, Sixty-six, chose any number that has nine alphabets. At one point you would be required to go in terms of exponentials. It is then the birth of Google is explained. Googol’ (1 followed by 100 zeros) was the predecessor to Google, and the word first came from Kasner. who wrote this in a book called “Mathematics and Imagination” that was later to be used up by the Google founders, after typing it mistakenly as Google, only to be sued by the family members of Kasner later.

    The next chapter talks about the history of Human Resource which happens to be the crux of many a industry. The first ever question by HR was during World War 2, “Did you ever build a model plane that flew”? The Russian Sputnik company was first to use IQ when it tested candidates for its launch programme.

Some more questions from HR:

  • “It is difficult to remember what you read, after many years, how do you address this”?
  • “How do you describe a person from Mars”?
  • “Using a 4-minute and 7-minute hourglass how would you measure 9 minutes”?

    That IBM was the first to use ‘Software and Silicon Valley’ in their library of reserved words was a good information. Likewise, Stephen Wolfram was the person who introduced ‘Mathematica’ along with Feynman that solved for the first time the “Billboard problem” for first 10 digits of prime in consecutive digits of e.

The next chapter is on ‘Great Recession’ mainstreamed by bizarre interview questions.

Walmart wanted to hire anyone with ‘pulse’ – ‘One size fits all’ was the expected ‘response’, for their question “if anyone came without appropriate clothing, what would you say”?

Here are some sample questions:

  • “What is your favourite internet product and how would you improve it”?
  • “Estimate the amount of cash in your wallet”.
  • “If you were a cartoon character, what would you be”?
  • “How weird are you in a scale of 1 to 5”.
  • “At 3:15 what is the angle between the minute and hour hands on analogue clock”?
  • “How many integers between 1 and 1000 contain 3”?

    The next chapter has details specific to Google. Human resource at google was known as People’s Operation where they would ask “When did you get your first computer”? Google founders had no privacy, and their cubicles are small enough to find out who was doing what. So, in one of their interviews, they had asked the candidates in a scale of 1 to 5, what they would choose - 1 is working alone, and 5 is working in team.

    There would be at least five on-site interviews for any engineer who would be asked to develop an app they liked and for any question in between, the candidates’ opinion should likely be close to truth.  No discussion among the candidates was allowed until report was submitted by all.  Many have a rule of the thumb that they can’t go wrong, hiring a Stanford Ph.D. It would be a bias if the employer insisted that the degree our university do not matter and thus Google assigned optimum weight to everything. At Google, hiring is more bureaucracy than algorithm.

     A false positive is the outcome when candidate passing the vetting process is hired only to be a poor employee. The opposite is false negative. Thus, it has become more and more difficult for companies to hire and fire. This puts the employers in a tight situation. Interviews are thus a big task for them, and they are considered as ‘noisy signal’ and Google was aware of this.

Trivia also forms part of the people at the helm of the interviews.  

    One question that evoke awe was to explain the significance of ‘dead beef’. See if you can get through the below paragraph.

In computer memory, they use display using the letters (like) B290023F.  
Certain decimal numbers look like English words in strident, for example:

FEEDFACE
0993FF10
7229B236
223774290
DEADBEEF  

 Other trivial question is ‘Use a programming language to describe a Chicken’.

‘Why is a manhole round and not a square’?

    Richard Feynman got an interview at Microsoft, (apocryphal story) that why manhole covers were round to which he replied, “covers are round by definition”, and that tautology was most trivial answer considered.

    Imagine a country where parents want to have a boy and they stop when a boy is born (else the births continue when girls are born). “What is the proportion of boys to girls in this country”?  Google doesn’t want people who instinctively do things the hard way because they can – instead it expects simple solutions that is human element. The capacity to ignore what you have learnt is appreciated when it is not helpful.

    A motive behind one of the interviews has been to find out what separates an entrepreneur from an engineer through the candidate. It should be the ability not to think like an engineer, when the entrepreneur has to ignore ideas and judge whether the end users will want or be able to use product.

How the people (should) think was humorously narrated with a story:

    A helicopter flying over Seattle malfunctioned and all its navigation panels failed. Due to fog and smog the pilot was not able to locate any identity of any location. The pilot then held out a sign in large letters asking -“where am I”, over a tall building that was partially visible. The people from the building replied in a similar manner- “you are in a helicopter”. The pilot, then safely landed in an airfield, and when the copilot asked how he was able to judge the airfield, the pilot replied that only people from Microsoft can give technically correct answer, (but a completely useless one), that helped him guess the building location.

 Some more questions to think:

    If you had a stack of pennies as tall as the Empire State building, could you fit them all in one room now. The answer is 'no' because a room of the size of 102 stories room doesn’t exist. But you can go on discussing it. 

You’ve got a clock with a second hand, how many times in a day, all the three-hands overlap?

There are 11 alignments, like:
 12:00:00
 01:05:27
 02:10:54
 03:16:21  etc.
If you answer this rightly you might be asked to determine if any of these times is a three-hands overlap? (digitally)

Some logic puzzles like X +Y+ Z = N can be asked 

Lateral thinking, puzzles like there are three women in swimsuits: Two are sad, and One is happy. The Sad One is smiling and happier and the Happier One is crying. Explain.

Test of divergent thinking, like how would you compare the 'search engines' by taking out an example?

    Fermi question like 'how many tennis balls can you fit in this room', warrants a casual look around the room that should be around 1000 to 2000 cubic feet, and one must remember the size of the ball to be between 2.5 and 2.7 inches, along.

    Algorithmic questions like “you have a wardrobe full of shirts, and it is hard to find what you want to wear. How would you organise them for easy retrieval”?  (You can organize it based on colour style, stripes, checks, sleeves, less, etc. without suggesting extra cupboards!)

Explaining the sequence like what comes after

 1
11
21
1211
111221

Well, you can literally read to find out the answer (like two 1 for the second line).

Art of visual solution is also on the anvil once you get through all answers.

“Break a stick into three random pieces. What is the probability that pieces can be put together to form a triangle”?

Picture-based questions like “a pizza must be cut into equal slices based on your consumption in 3 second and your friend's in 5 seconds".

*Add any standard arithmetic sign to this equation to make it true: 3 1 3 6 = 8
*How many different ways can you paint a cube with three colours of Paint?
*How to estimate just about anything in 60 seconds or less like how much money Google makes daily on Gmail ads (roughly $70,000).
*Name a piece of technology you read about recently and tell your own creative execution for an ad for that product.

Fermi questions like these were more: Advantage: Fermi questions can help invent new ones easily.

*How many piano tuners are there in Chicago?
(Because Fermi believed that anyone with PhD in physics should be able to estimate it)
*Estimate the number of taxis in New York.
*How many golf balls would fit in a stadium.
*How many seniors are there in four-year course in a University?
*Once Intel asked how many lines of C or C++ code the candidate has written for an app.
*How many toilet papers would it take to cover Greater London?
*How many ridges are there in the rim of US quarter?
*How many bottles of shampoo are produced in the world over a year?
*What is two power 64? The final chapter has a story to all the questions that follow.

    You work in 100 story building and are given two identical eggs. You have to determine the highest floor from which an egg can be dropped without breaking. You are allowed to break both eggs in the process. How many drops would it take you to do it? Carl Mill of a School created this idea because he found that raw eggs usually do not break when dropped on grass, regardless of the height of the drop.  A man then climbed a top 70-foot ladder and dropped 10 eggs into the grass out of which 7 survived and an RAF officer dropped 18 eggs from helicopter 150 feet above the ground and 15 eggs survived, which is 83%. So, for 100 floors, how would you estimate the floor from where egg would not break?

    For this, you have to use the formula and try dropping from 10, 20, 30… floors gradually.  If your second egg breaks at 58, that means the eggs-safe floor is 57.  Google algorithm takes maximum number of drops needed to determine the correct floor. It is called as D and assuming from a single series D + (D -1) + (D -2) + … +3+2+1 equation can be written and from there algebra can be summoned for the solution.

This section has another insightful question.

“How would you estimate the weight of your head”?

    Invoke Archimedes principle. The amount of water displaced is equal the volume of the part immersed. So, dip yourselves first and find out the water displaced. Then dip your head only to find out the water displaced and subtract the latter from former. But wait….. you have to define where the head ends and the body starts!

Many of the questions have no “correct” answers, but more accurately, the company has a “preferred” answer. And for inquiring minds you may be smart enough to work at Google.

    A very interesting aspect of this book is that the last half of the book supplies not just the answers to all the puzzles, but detailed explanations as well. The style of the writing has a light touch and is often subtly humorous. The book is recommended for all those who like a diverse range of challenging puzzles.

The goal is to find out where the candidate run out of ideas.


#The_Singularity_is_Nearer: When we merge with AI - Ray_Kurzweil - #Review

    The book starts with “where we stand” in terms of epochs with the present one being a merger of bio-science with technology. The idea th...