car advertisement by Honda , the various parts of the car are arranged to perform physical tricks, which is done sequentially in 60 second shot. The final cut of "Cog" consists of two continuous sixty-second dolly shots taken from a technocrane, stitched together later in post-production. It took 606 takes to make this video!
In thisEach of the interactions we see, from carefully balanced see-saws to swinging mobiles of glass windows, has a certain probability of succeeding each time it is run. If each interaction takes the same amount of time, and we wanted to minimize the total amount of time taken to produce this video, how should the stunts be arranged?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Nice analysis!
That's huge! It will take me an hour to analyze it and then , hours and hours to understand it
The given answer is that stunts with a high probability of success should be last, but I disagree. Given n stunts with probabilities p1, p2, ..., pn, the probability of success is p1 * p2 * ... * pn. Multiplication is commutative so it doesn't matter how they are ordered.
Now, I appreciate that if the ones with low probability are first, that they can stop the take sooner, but a failed take is a failed take, whether the failure is on the first stunt, the last stunt, or anywhere in between.
Am I wrong?
Well, intuitively, if the stunts with the lowest probabilities of success are held last, then more time will be wasted, right? The time factor matters here.
I simulated this in python with four stunts. The probabilities of success of these stunts were { 0 . 9 , 0 . 1 , 0 . 2 , 0 . 6 } each of which takes 2 seconds. If the stunts that have highest probabilities of success are held last, then the average time to completion was 2 0 8 . 1 9 4 seconds. Other way round, when the stunts with highest probabilities of success are placed first, the average time to completion was 4 8 7 . 9 6 2 .
Log in to reply
Exactly. I returned to the problem, and it clearly states: (and i quote): "If we wanted to minimize the number of takes necessary in order to produce this video, how should the stunts be arranged?"
The expected number of necessary takes does NOT depend on the order that the stunts are done. It only matters if you want to minimize time or effort. Problem is definitely wrong.
Log in to reply
I've updated the wording to reflect that we want to minimize the time taken, rather than the number of takes.
The expected number of takes should be the same, regardless of the order of tasks.
Log in to reply
@Calvin Lin – Id love to get this question right then. Or at least get my points back or whatever.
Log in to reply
@Paul Salomon – Yeah it seems like 50% of the less popular questions have something significantly wrong with them.
Since the question reads "It Took Them 606 Takes To Perfect This Ad. Can You Do Better?", I assumed that we want to minimize the time taken for the task.
Log in to reply
@Aditya Joshi – It's the fact that 606 is such a big number that draws one's imagination to the task of doing the same number of takes in less time.
But if you think about it, the title is saying exactly the WRONG thing. The title's description of what Honda did is "it took them 606 takes" with no mention of the time between them; quite literally, the only way to do better is to use fewer takes!
Wrong, Aditya. I also said that the order doesn't matter explicitly BECAUSE the problem did not ask anything about the time or effort, it only asked for the number of trials required for a success.
Sam is definitely correct, whoever wrote this problem is at fault.
Aditya, how many rounds did you run your simulation for?
Log in to reply
I don't remember now, but I should have increased the number of rounds. My reverse order results are off by + 1 0 , but with a few more trials, they should converge.
Yes, In agree. I also answered "It doesn't matter."
Well, i see it this way: Once a stunt has failed, the take must be restarted. So if you you start with the most difficult stunts, it is less likely that you gonna have to stop the take later, thus wasting less time. But the question (as i remember, answered it some minutes ago) was whether you could lower the number of attempts, not minimize time. So you may have a point there: the expected number of needed takes seems the same no matter the order, even thought the whole film making time may be decreased if you tackle the hard ones first.
THEY ARE NOT ASKING ABOUT PROBABILITY, THEY ARE CONCERNED ABOUT TIME. THE TASKS WITH LESS PROBABILITY OF SUCCESS SHOULD BE TRIED FIRST AS IT WILL WASTE LESS TIME IN THE INITIAL STAGE.
Sam, your explanation is right on the money, concerning number of takes vs amount of time. (Good comments from Alan too.)
There's too much ambiguity in this problem. I think the author assumed 606 would be the definite amount of takes and they needed to minimize time instead. But in what the question asked, it should not matter. Assume 2 events, one with 100% and another with 1%. Time is the only thing that changes.
The key assumption here is this: if any stunt fails, they stop the take. So the events are strictly dependent on the previous outcome. Also, all events should succeed for the take.
On the other hand, if each stunt is an individual cut, events are independent and the order doesn't matter. Also saves time too ;)
Log in to reply
That's right, with cuts this would be trivial. Pray for Honda and its dedication to high production standards.
Problem Loading...
Note Loading...
Set Loading...
I hope to illustrate the principle with a toy model and also to relay a cautionary tale about overcomplication in exploring a problem.
It seems that people agree about the answer: doing the harder things first saves time because you avoid doing tasks you know are most likely to be repeated. This answer is intuitive without any math... so of course I wanted to build a mathematical model to capture the effect.
I started by enumerating the possibilities for the case where n is 2. Here we have two events with probabilities p 1 < p 2 . Obviously, the shortest time the movie can take is two steps and has only one possible ordering: film stunt one successfully then film stunt two successfully. For three steps, there is also one possible ordering: fail at filming stunt one, then succeed at filming stunt one, and finally succeed at filming stunt two. For four steps and above, the possibilities begin to splinter off into interesting patterns.
I found it a bit much to enumerate the possibilities straightaway so I decided on a diagramming technique. There are four basic events that can happen: succeed at filming stunt one ( 1 + ), fail at filming stunt one ( 1 − ), succeed at filming stunt two ( 2 + ), or fail at filming stunt two ( 2 − ). For the first couple lengths of filming, the possible events are enumerated as follows:
time 1 2 3 4 … sequences ∅ 1 + 2 + 1 − 1 + 2 + 1 − 1 − 1 + 2 + + 1 + 2 − 1 + 2 + …
With a bit of staring, it is clear that there is some further structure to the events. First, every successful take ends with the sequence 1 + 2 + . Moreover, there are two basic intermediate possibilities that can repeat before ending in the success state 1 + 2 + . They are 1 − and 1 + 2 − .
These intermediate states can be combined in any possible order, all of which constitute a valid string of events for a filming session. Inspired by this, and also by the fact that I was scribbling it all on napkins (a sure sign of a good theory in the making), I thought the solution to the problem lay just a bit further ahead in summing the diagrammed series generated by this representation:
⟨ t ⟩ = t ∑ t p ( t ) = 1 + 2 + ( 2 + 3 1 − + 4 ( 1 − 2 + 1 + 2 − ) + 5 ( 1 − 3 + 2 1 − × 1 + 2 − ) + … )
Sadly for me, the way to sum such a series in closed form escapes me. This was massively depressing, as is any failure to exploit diagramming techniques.
Fortunately, there is a simpler way. I'll calculate for the case of three stunts because it makes the generalization obvious.
Consider the fact that, as other commenters have pointed out, the expected number of attempts to succeed at something with probability p is given by p − 1 . As filming the stunts 1, 2, and 3 in succession has probability p 1 p 2 p 3 , we expect to try it p 1 p 2 p 3 1 times before succeeding.
Said in another way, we expect to fail S f a i l = p 1 p 2 p 3 1 − 1 times and succeed on the p 1 p 2 p 3 1 th attempt.
Of the S f a i l attempts some of them will end on the first stunt with probability ( 1 − p 1 ) , taking one scene. Less will fail on the second stunt with probability p 1 ( 1 − p 2 ) , taking two scenes. A few will fail on the third stunt with probability p 1 p 2 ( 1 − p 3 ) , taking up three scenes. Finally, the successful take will require three scenes.
We can now evaluate the average duration (in scenes) for an unsuccessful attempt ⟨ t ⟩ = t = 1 ∑ 3 t p ( t )
t = 1 ∑ 3 t p ( t ) = ( 1 − p 1 ) + p 1 ( 1 − p 2 ) + p 1 p 2 ( 1 − p 3 ) ( 1 − p 1 ) + 2 p 1 ( 1 − p 2 ) + 3 p 1 p 2 ( 1 − p 3 ) = 1 − p 1 p 2 p 3 1 + p 1 + p 1 p 2 − 3 p 1 p 2 p 3
As there are S f a i l unsuccessful attempts, we expect them to take a total of S f a i l ⟨ t ⟩ scenes to shoot.
N f a i l ⟨ t ⟩ = 1 − p 1 p 2 p 3 1 + p 1 + p 1 p 2 − 3 p 1 p 2 p 3 ( p 1 p 2 p 3 1 − 1 ) = p 1 p 2 p 3 1 + p 1 + p 1 p 2 − 3 p 1 p 2 p 3
This gives us the total number of scenes required to film the failed attempts. For the total number of scenes to film a success, we add 3, the number of scenes shot during the success.
Somewhat incredibly, this makes the total number of scenes equal to
S t o t a l ( p 1 , p 2 , p 3 ) = p 1 p 2 p 3 1 + p 1 + p 1 p 2
This immediately suggests a general result, the number of scenes required to film n events in succession is given by:
S t o t a l n = j = 1 ∏ n p j 1 + ∑ i = 1 n − 1 j = 1 ∏ i p j
We can check this result with a few test cases. I wrote a routine to simulate 50,000 attempts at filming the three events 1 , 2 , 3 in succession with p 1 = 0 . 1 1 , p 2 = 0 . 3 1 , p 3 = 0 . 5 1 as well as in the reverse order ( 3 , 2 , 1 ) . Below is an empirical probability distribution of the number of required scenes.
Bootstrapping the output of the simulation yield estimates for the average duration as well as the error on that measure: S s h o r t = 6 6 . 0 ± 0 . 2 8 scenes, and S l o n g = 9 5 . 6 5 ± 0 . 4 2 scenes.
This compares favorably with the predictions S t o t a l ( 0 . 1 1 , 0 . 3 1 , 0 . 5 1 ) = 6 5 . 7 8 and S t o t a l ( 0 . 5 1 , 0 . 3 1 , 0 . 1 1 ) = 9 5 . 9 2 .
We can also use our results to predict the result Aditya should find with his probabilities ( 0 . 9 , 0 . 1 , 0 . 2 , 0 . 6 ) . In the optimal order we predict 2 0 9 . 6 to his 2 0 8 . 2 scenes and in the reverse we predict 4 7 1 . 9 to his 4 8 8 . 0 scenes. We would predict that if Aditya runs the simulation on more test cases, the results of our formula and his sample statistics should converge.