Elamur Research

Learning Prototypical Event Structure from Photo Albums

Paper · 2016 · Antoine Bosselut, Jianfu Chen, David Warren et al.

Summary

A wedding album can contain many photographs of the same dance and only a few of the vows. The photographs vary from wedding to wedding, yet the albums often show recognizable stages and a familiar order. Other occasions are less predictable. A camping album may show a hike, a tent, and a fire without implying that every trip follows the same sequence. In Learning Prototypical Event Structure from Photo Albums, the authors ask whether a collection of albums can reveal both the recurring parts of an occasion and the ordering tendencies that connect them.

They assemble 34,818 Flickr albums covering 12 scenarios and containing 1.5 million photograph–caption pairs. A known scenario, like a wedding or a camping trip, is associated with every album. Its constituent events are learned from the collection. The procedure groups photographs by the words in their captions, then gives each group a visual representation as well as a textual one. Timestamps reveal which groups tend to follow one another in nearby photographs and which tend to occur earlier or later across an album. When analyzing another album, the system uses those patterns alongside its pictures and captions to choose event labels and segment boundaries together.

The authors test the learned structure by asking which photograph came earlier, where one event gives way to another, and which pictures and captions make a good album summary. On the test albums for Baby Birth, the full procedure reaches 66.5% pairwise ordering accuracy, compared with 52.5% when photographs receive labels through caption clustering alone. On the annotated wedding albums, the corresponding methods score 37.8 and 27.1 on exact-boundary F1, which combines how many predicted boundaries are correct with how many annotated boundaries are recovered. The wedding summaries produced by the full procedure win 57.7% of comparisons against evenly spaced photo selections. Their representative captions also score higher for relevance to the pictured content than captions generated by the recurrent captioning baseline, while the original captions retain the highest image-relevance rating.

The benefits vary with what the albums record. The temporal terms help recover wedding boundaries, whereas the funeral boundary scores are higher when those terms are omitted. In the trip scenarios, characteristic places can recur across albums even when their order is weak or inconsistent. The experiments show how recurring stages, typical descriptions, and some ordering preferences can be recovered from everyday photographs. They also distinguish a useful prototype of an occasion from a reliable account of how any particular instance unfolded.

Deep dive: Learning Prototypical Event Structure from Photo Albums

How Learning Prototypical Event Structure from Photo Albums uses pictures, captions, and timestamps to infer the stages of everyday activities. · about 40 minutes to read

The problem and its context

An occasion and its constituent events

The paper uses scenario for a broad kind of occasion, such as a wedding, a funeral, or a marathon. It uses event for a constituent part that a photographer might capture. Vows and dancing can belong to the same wedding scenario while depicting different events. An event can occupy a run of photographs, and the same kind of event can appear in other albums. The level of description is important. The authors start with the scenario for an album and try to discover its internal structure, including the kinds of events that recur and the order in which people tend to photograph them.

A recurring event and a recurring sequence are different kinds of knowledge. A tent is characteristic of camping, but knowing that an album shows a tent tells us little about whether a hike occurred earlier that day. The relationship between vows and cake cutting in the paper’s wedding example is more informative about relative time. Even there, a tendency can be useful without being shared by every album. An album can lack any photographs of the vows, and a few photos of the cake can appear before the photographs of the ceremony. The target is a prototype assembled from common patterns across albums, with room for individual variation.

There are also two problems inside the analysis of an individual album. The first is locating changes, so that a stretch of closely related pictures can be treated as an event segment. The second is naming what is happening in that stretch. The problems interact when the evidence is uneven. A caption can identify what one frame shows, while its neighbors have little useful text. A succession of visually similar images can suggest continuity across those neighbors. Conversely, a meaningful change in captions can help locate a boundary even where the setting looks much the same. The authors make the boundary depend on the event labels and let neighboring evidence influence those labels.

The attraction of albums is the combination of evidence they offer. Text can name a stage or an activity that a frame represents only indirectly. Images can repeat an appearance across captions that use different words or say very little. Timestamps place those observations on a common timeline within an album. Together, these sources make it possible to ask what an occasion typically includes and how its parts relate in time. This places the study within work on vision and language.

From scripts to recurring patterns in data

The paper traces the idea of background knowledge about everyday occasions to scripts, a formalism used in early artificial intelligence to encode expected events for common-sense inference. In a limited domain, someone could specify what typically happens and supply that structure to a system that needs to draw inferences. The authors describe hand-built representations as brittle and difficult to scale. Learning recurring patterns from observations offers another way to acquire that knowledge. Their aim is to learn enough structure from albums to support concrete decisions about an unseen example of the same scenario.

Much of the preceding work learned from text. The paper points to efforts to discover how newswire articles organize their subject matter and to recover temporal relationships among events from documents. These are related questions because the organization of an article can reveal recurring structure across a collection. In an album, however, the ordering signal comes from timestamped photographs, and the recurring categories can be described by appearance as well as words. The earlier examples include Catching the Drift and Inducing Temporal Graphs.

The authors also place their work alongside attempts to learn narrative chains and schemas. A chain captures events that tend to go together in a narrative, while a schema can characterize recurring events and the participants involved. The photo-album study asks the parallel question of which parts belong to an occasion, using short descriptions and visual evidence as the source. Its output is organized around event categories and their order in albums. The related work includes Unsupervised Learning of Narrative Event Chains and Unsupervised Learning of Narrative Schemas and their Participants.

Other precedents use children’s stories to discover recurring plot structure or ask people to supply knowledge about scripts through crowdsourcing. The former ties learned structure to stories that have already been told, with some work using those structures to generate new stories. The latter gathers judgments or descriptions directly from contributors. The album study draws instead on material people made while documenting occasions for their own purposes. That choice makes everyday scenarios accessible through a different source. It also makes uneven coverage part of the problem, since a photographer’s interests determine which parts of an occasion appear in the observations.

What the albums add to visual event research

The paper describes prior work on discovering complex events in videos and photo streams, including work on aligning streams and recovering storylines from community photographs. The authors characterize much of this research as primarily visual. They also distinguish their goal from work on matching television news clips that refer to the same event. Identifying multiple clips of a particular occurrence answers a question about shared reference. Learning a prototype across weddings answers a question about recurring event types, even when the photographs come from different occasions with different people.

Earlier image-captioning studies illustrate another use of the same kinds of input. Those studies aim to describe a picture, while the album procedure can use an existing description to help discover which recurring event the picture depicts. It can then go in the other direction, assigning a representative description once an event has been inferred. The distinction is easiest to see with a visually ambiguous image. A description of the individual frame might focus on visible people and objects. A description drawn from an event group can express what those people are doing in the unfolding occasion. The paper’s captioning context includes Show and Tell and Show, Attend and Tell.

The paper likewise relates its aims to visual storytelling and earlier album summarization. An album offers a sequence of observations that can be understood as a story about an occasion. A summary has to choose a limited set of those observations. Event structure provides a reason to include a picture that represents a part of the story that would otherwise be absent. The authors use that connection to test whether the learned categories help with a practical selection task, in a line of research that includes Visual Storytelling.

The method, step by step

Building comparable albums

The learning procedure needs collections of albums that depict comparable occasions. The authors query Flickr using scenario names and variations of those names. For a Paris trip, for instance, a vacation expression can retrieve relevant images alongside the trip expression. The retrieved photographs are grouped by user and sorted by timestamp. The authors then make albums by taking groups within a bounded period. Their examples are 24 hours for a wedding and 5 days for a trip. The albums in the study are therefore units constructed from timestamped photographs gathered under a scenario query.

The system keeps the first sentence of an image’s description as its caption. A single caption can supply a concise name for an activity, a more general comment about the occasion, or very little information about either. The photographs and their timestamps remain available even when the words offer weak evidence. The authors make the Flickr collection publicly available as data for studying prototypical events.

Six of the chosen scenarios are ones the authors expect to show a broadly recognizable temporal structure. They put Wedding, Marathon, Cooking, Funeral, Barbecue, and Baby Birth in this group. The other six are Paris Trip, New York Trip, Camping, Thanksgiving, Christmas, and Independence Day. This distinction expresses an expectation about the data. The learning procedure estimates ordering evidence within a scenario, so particular pairs can still have a preferred order in a collection whose albums vary widely overall.

Learning event structure and applying it to albums

The steps in order.

Learning event structure and applying it to albumsStep 1: Collect timestamped photos and captions by scenario1. Collect timestamped photos and captions by scenarioStep 2: Cluster training photographs by their captions2. Cluster training photographs by their captionsStep 3: Describe each cluster with words and visual features3. Describe each cluster with words and visual featuresStep 4: Count adjacent transitions and longer-range event orderings4. Count adjacent transitions and longer-range event orderingsStep 5: Extract representative captions from recurring cluster descriptions5. Extract representative captions from recurring cluster descriptionsStep 6: Score event assignments across an unseen album6. Score event assignments across an unseen albumStep 7: Optimize assignments and read boundaries from label changes7. Optimize assignments and read boundaries from label changes

Finding event categories through captions

The authors first represent each caption by individual nouns and verbs. A noun can name a participant, an object, or a place associated with the event. A verb can point to the activity. Using individual words lets captions with different sentence structures contribute to the same group when their informative vocabulary overlaps. The paper uses Turbo-Tagger to find these words. A tagger identifies grammatical categories in context, a task known as part-of-speech tagging.

The words are weighted by a quantity the paper writes as a scenario-conditioned statistic. Its verbal definition uses the share of a scenario’s albums that contain the word. Written as a ratio, the stated calculation is:

P(S | w) = number of albums in S containing w / total number of albums in S

Here S is the scenario and w is the word. The authors write P(S | w) for the weight. The vertical bar is their conditional notation, and the slash represents division. The numerator counts each album in the scenario in which the word appears, and the denominator is the total number of albums for that scenario. The description of the calculation therefore specifies prevalence within the scenario. The notation alone could suggest asking how often a word encountered anywhere belongs to that scenario, which would require a different denominator.

The authors run k-means over these caption representations. K-means assigns observations to groups around centers, with the center summarizing the observations that belong to the group. In this study, a group of captions sharing words associated with the same stage is used as a candidate event. The authors begin with language because they consider the visual signal too noisy to be the primary basis for forming the groups. Images from a wedding can share people, clothing, and backgrounds across several activities. When a caption names the activity directly, its words can make a distinction that the common visual setting obscures.

The center of the captions in an event group supplies its textual representation. The authors also average the visual features of the photographs belonging to that group to get its visual representation. The group membership comes from the captions, so both averages describe the same set of training photos. Once a visual center has been constructed, a new photograph can resemble it even if its own caption would have sent it elsewhere. The visual features come from the final convolutional activations of the 16-layer VGG network described in work on Very Deep Convolutional Networks for Large-Scale Image Recognition.

The largest cluster in each scenario is treated as miscellaneous. The authors find that its captions generally carry little information that would identify a specific event. This gives uninformative descriptions a place in the base clustering and prevents the most common catch-all category from supplying the temporal probabilities. A frequent transition into a broad mixture of pictures would otherwise reveal little about how a scenario unfolds. In the summary procedure, the miscellaneous category has a different role, as a source of filler photographs when the album yields fewer identified events than the picture budget calls for.

Learning immediate and long-range order

An album supplies a series of provisional event labels once its photographs have been grouped by caption and put in timestamp order. The authors use those labels to count patterns in the training albums. These counts inherit the quality of the grouping. If a caption has been assigned to a weak cluster, its contribution to an observed ordering reflects that assignment. Pooling albums gives recurring patterns a chance to emerge beyond the noise in individual examples.

The first statistic concerns the next photograph. For a given starting event, the authors count how often the next picture is assigned to each possible successor event and normalize across the successors. The resulting quantity answers a local question. If the current label is known, how frequently does a particular label immediately follow it in the training sequence?

Pᴸ(eₖ → eₗ) = C(eₖ → eₗ) / [∑ₘ₌₁ᴺ C(eₖ → eₘ)]

Pᴸ is the local transition probability. The symbols eₖ and eₗ denote the event at the current position and the candidate event at the following position. The arrow → indicates immediate succession, and C counts observations of the specified transition. The sum ∑ runs over candidate successors eₘ, with m ranging from 1 to N, the number of learned event categories in the notation. The slash divides the count for the selected successor by the total count of observed successors from eₖ. The miscellaneous cluster is excluded from the temporal estimation. The lookup matrix L stores these values, so Lₖ,ₗ gives the local probability for the ordered pair of labels k and l.

The second statistic asks whether one event tends to appear earlier than another anywhere in the same album. Intervening pictures are allowed. This lets the system express a preference about distant parts of a scenario without having to specify what comes between them. It also means that an intervening event can vary across albums while a broader tendency remains detectable.

Pᴳ(eₖ ⇒ eₗ) = C(eₖ ⇒ eₗ) / [C(eₖ ⇒ eₗ) + C(eₗ ⇒ eₖ)]

Pᴳ is the global pairwise ordering probability. The double arrow ⇒ means that the first event appears earlier than the second somewhere in an album. C(eₖ ⇒ eₗ) counts observations in that direction across albums, and C(eₗ ⇒ eₖ) counts the reverse. The plus sign adds the counts and the slash gives the fraction favoring the specified direction. The event indices k and l refer to the same categories used in the local statistic. The matrix G stores these probabilities, with Gₖ,ₗ giving the value for the ordering from eₖ to eₗ.

The denominators are important for interpretation. The local statistic distributes the evidence from a starting event across every observed successor. The global statistic compares the directions of one pair. A label can therefore be a rare immediate successor of another label while still appearing later whenever the pair is observed. The global value captures that directional tendency. It supplies little information about the intervening events, the duration between the two, or their frequency of co-occurrence.

Giving each event a readable description

The authors extract names for clusters from their common content words. They also keep representative captions by looking for caption forms that recur across different albums. To make wording variants comparable, they use lemmatized forms. Lemmatization groups inflected forms under a common dictionary form, so differences such as the tense of a verb need not conceal similar descriptions. Requiring recurrence across albums makes the resulting descriptions characteristic of the event category as observed across occasions. The process relies on lemmatization.

The paper’s sample clusters show the level of detail this produces. Wedding groups concern the aisle, vows, and dancing. Camping groups include tents, fires, and sunsets. Funeral clusters include the service, acts of respect, and saying goodbye. For a tent cluster, one representative description may concern pitching the tent and another may describe being inside it. Both can identify the cluster for a reader even though they describe different moments. The same flexibility becomes a constraint when a caption drawn from the group is attached to one specific photograph.

Scoring possible assignments

For a new album, the authors seek a sequence of event labels with a high score. The paper calls these labels latent variables because they are inferred from the observed photographs and captions. In its notation, P denotes the album’s ordered sequence of photos, pᵢ is the photo at position i, and M is the number of photos. E denotes the learned set of events, eₖ is the event with index k, and N is the number of learned events. Each position receives one label. A change in labels marks the end of one segment and the beginning of another. If a label recurs after a different label, the sequence has separate segments of the same event type.

The score adds three kinds of evidence:

F = φevent + φseg + φtemporal

F is the total score for a complete assignment. The Greek letter φ denotes a scoring component. The suffix event identifies the score for fitting individual photos to event categories. The suffix seg identifies a score for continuity between neighboring photos. The suffix temporal identifies the score for agreement with learned ordering preferences. The plus signs indicate that the system adds the contributions before comparing candidate assignments.

Two types of binary variables record decisions. Xᵢ,ₖ indicates that photo pᵢ receives event eₖ. Zᵢ,ⱼ,ₖ,ₗ represents the joint assignment of the photos at positions i and j to labels k and l. The intended relationship is:

Zᵢ,ⱼ,ₖ,ₗ := Xᵢ,ₖ ∧ Xⱼ,ₗ

The indices i and j identify photo positions, and k and l identify event categories. The symbol := defines the quantity on its left. The logical conjunction ∧ is true when both assignments on its right are true. With binary values, the intended Z is 1 for that joint assignment and 0 otherwise. This lets the objective reward a combination of labels by attaching a coefficient to a single binary variable.

The individual photo term uses two measures of affinity. An affinity measures how closely the photograph or its caption matches an event representation. For language, the authors use cosine similarity between the caption’s feature vector and the textual center of the cluster. Cosine similarity compares the direction of the vectors. Captions that emphasize similar words can have strong affinity even when their lengths differ. For visual evidence, the procedure compares the image features with the visual center of the cluster. The objective sums these scores over the labels actually assigned:

φevent = ∑ᵢ₌₁ᴹ ∑ₖ₌₁ᴺ (γce Aᶜᵢ,ₖ + γve Aᵛᵢ,ₖ) Xᵢ,ₖ

Here i ranges over the M photo positions and k over the N event categories. Aᶜᵢ,ₖ is the caption affinity of photo i for event k, and Aᵛᵢ,ₖ is the visual affinity for the same assignment. Superscripts c and v mark the caption and visual channels, respectively. The paper gives both affinity matrices the range [0, 1] and arranges them with photos as rows and events as columns. The weights γce and γve govern the contributions of caption and visual affinity to the event score. Multiplication by Xᵢ,ₖ means that the affinity contributes when photo i receives label k. Each ∑ adds over the index and range shown.

The segmentation term asks a different similarity question. It compares neighboring photos with each other. If their captions or visual features are similar, the objective rewards assigning them the same label. The paper computes the textual and visual similarities for adjacent images with cosine similarity in the corresponding feature spaces. For a run of similar photos, this gives a possible explanation for continuity even when one of them has a weak fit to any event center on its own.

φseg = ∑ᵢ₌₁ᴹ⁻¹ ∑ₖ₌₁ᴺ (γcs bᶜᵢ + γvs bᵛᵢ) Zᵢ,ᵢ₊₁,ₖ,ₖ

The outer sum runs from the first photo to M − 1, the last position with a following photo. The inner sum runs over the N event labels. The value bᶜᵢ measures caption similarity between pᵢ and pᵢ₊₁, and bᵛᵢ measures their visual similarity. The authors specify both sequences of similarities in the range [0, 1]. The weights γcs and γvs scale the caption and visual contributions to segmentation. The variable Zᵢ,ᵢ₊₁,ₖ,ₖ indicates that both neighboring photos receive label k. A change of label forfeits the same-label reward for that pair. The importance of that cost depends on how similar the pair is and what the other parts of F favor.

The temporal term adds a reward for adjacent assignments using L and a reward for assignments at a longer range using G. The following block preserves the photo-index bounds printed for this term. The intended comparisons are neighboring photo positions for L and ordered within-album photo positions for G.

φtemporal = γlp ∑ᵢ₌₀ᴹ ∑ₖ,ₗ₌₁ᴺ Lₖ,ₗ Zᵢ,ᵢ₊₁,ₖ,ₗ + γgp ∑ᵢ₌₁ᴹ ∑ⱼ₌ᵢᴹ ∑ₖ,ₗ₌₁ᴺ Gₖ,ₗ Zᵢ,ⱼ,ₖ,ₗ

The weights γlp and γgp scale the contributions of local and global temporal evidence. Lₖ,ₗ gives the learned transition probability for label l immediately after label k. Gₖ,ₗ gives the learned tendency for k to appear earlier than l. The joint variable Z selects the assignments that receive these scores. The sums over k and l cover all event indices from 1 to N. The indices i and j refer to photo positions, and the printed global sum starts j at i. In the printed local sum, i starts at 0 and extends to M although the album notation runs from p₁ through pₘ, with M as the final position. The paper describes a sum over adjacent photos and does not specify additional endpoint photos. Its definition of the global counts likewise describes earlier and later photos, leaving the role of the printed j = i endpoint unclear.

The local and segmentation terms can both bear on the same pair of neighboring photos. They act on different evidence. The segmentation term asks whether the photos resemble each other enough to reward continuity. The local temporal term asks whether the proposed labels are frequently observed in that order at neighboring positions. The global temporal term can affect assignments whose photos are far apart. A photo proposed for an early ceremonial event gains support if the assignment agrees with an event recognized later, even when the neighboring pictures provide little information about the relationship.

Enforcing consistency and making inference smaller

The authors maximize F using integer linear programming. In this setup the variables are binary, the function to be maximized is a weighted sum of variables, and the permitted assignments are described by linear constraints. The labels therefore depend on the full combination of affinities, similarities, and ordering preferences. The paper draws on earlier work on a linear programming formulation for global inference in natural language tasks.

The first constraint applies at every photo position:

∑ₖ₌₁ᴺ Xᵢ,ₖ = 1

Here i is fixed, k ranges from 1 to N, and Xᵢ,ₖ is the binary indicator that photo i is assigned event k. The sum must be 1, so exactly one of the indicators is active. This is a hard constraint. An assignment must satisfy it to be considered. By comparison, receiving a low temporal score is a cost within the objective. The optimizer can still choose that assignment when the other evidence favors it.

The paper prints the following consistency inequality for the joint variables:

(Xᵢ,ₖ + Xⱼ,ₗ) / 2 − Zᵢ,ⱼ,ₖ,ₗ ≥ 0

The X variables indicate the individual photo assignments, and Z indicates their joint assignment. The plus sign adds the two binary values, the slash divides by 2, and the minus sign subtracts Z. The comparison ≥ 0 requires the left side to be non-negative. A binary Z can take the value 1 only when both X values are 1. The printed inequality allows Z to remain 0 when both assignments are present. The definition of Z states the conjunction, while the inequality enforces the direction needed to prevent the optimizer from collecting a reward for an inconsistent pair. A positive coefficient on a compatible Z gives the maximization an incentive to activate it.

The number of pair decisions grows with both album length and the number of categories. The paper describes the adjacent-pair constraints as having order of growth O(M N²). Here O expresses a growth rate, M counts the photos, and N² reflects the combinations of the N event labels for the pair. The global ordering constraints have order O(M² N²), since both the photo positions and the labels are paired. This is why distant order is more expensive to incorporate than adjacent continuity, even though both can be expressed as sums of pair scores.

The implementation reduces the number of positions before passing the problem to the Gurobi solver. It forms units from consecutive photos close in time, merging them according to whether the timestamp is within a specified range of the closest image in the unit. A unit is then treated as a single position during optimization. This means the grouped photographs share an event assignment. The paper defines the rule in terms of a time range and gives the album collection windows separately. The collection windows describe how photographs become albums, while the unit rule governs the smaller groups inside an album used for inference.

For the caption affinity of a unit to an event, the implementation takes the maximum over the unit’s photos. An informative caption can therefore supply strong evidence for the unit even if other captions in it are sparse. The visual affinity is averaged over the photos, allowing the visual evidence to reflect the group as a whole. For adjacent units, the segmentation similarities come from the photographs immediately on either side of the boundary. These choices give a role to informative individual descriptions, to the overall appearance of a short run of images, and to changes at the edges of that run.

The temporal scores are restricted to unit–event assignments whose caption and visual assignment scores both exceed 0.05. This restricts the influence of an ordering preference to cases where both channels offer some support for the relevant label. Without that restriction, a strong sequence pattern could supply a reward involving a label with little evidence in the photo unit itself. The gate applies to the use of the temporal contribution, so its role differs from the requirement to assign one label at every position.

The authors tune the objective weights by grid search on the development data. They report γce and γve as 1, γcs as .5, γvs as .15, and γlp as 1 for systems that include the corresponding terms. The global temporal weight γgp depends on Q, the number of event units. The specification places Q and 4 together without a clear operation between them. For the base caption clustering, the authors use 10 random restarts. Wedding, Camping, Paris Trip, and New York Trip use 40 cluster centers, and the other scenarios use 30.

Experiments and results

Data and held-out albums

The dataset contains 34,818 albums with 1.5 million photograph–caption pairs. Its scenarios differ considerably in both the number of albums and the number of images. Wedding has 4689 albums and 192K images. Marathon has 3961 albums and 158K images. Funeral has 781 albums and 28K images, while Camping has 4063 albums and 159K images. This variation matters for learning. A scenario with more albums gives the procedure more opportunities to observe recurring descriptions and orderings across separate occasions. A long album also supplies many opportunities to observe a relationship within that particular occasion.

For scenarios with more than 1000 albums, the authors reserve 100 albums for development and 100 for testing. For scenarios with fewer than 1000 albums, they reserve 50 for each of those splits. In both cases, the remaining albums are used for training. Development data guide choices such as the objective weights. The split is at the album level. The ordering task therefore evaluates the use of knowledge learned from other albums of the same scenario. The segmentation and summary evaluations involve more specific subsets of albums, with their own selection and judgment procedures.

Predicting which photo came first

The ordering evaluation draws two photos at random from a test album and asks which comes earlier in that album. Each method assigns event labels to the photos. The learned global pairwise ordering probabilities then determine which labeled photo is predicted to precede the other. The reference answer comes from the album’s actual order. The paper repeats the experiment 50 times for each album and averages correct choices across albums and trials. The reported accuracy is the percentage of those choices that agree with the album sequence.

The k-means baseline assigns labels through the caption grouping. The No Temporal variant uses joint inference with photo-to-event affinity and segmentation similarity while omitting the temporal terms from the objective. The full system includes both temporal terms. All these comparisons use the global ordering statistic to make the final earlier-photo decision. In particular, the name No Temporal refers to how its assignments are obtained. The ordering prediction itself still uses the learned directional preference for the pair of labels.

The authors run each assignment procedure over a test album before applying the earlier-photo rule to the selected pair. The full procedure can therefore use the album’s sequence when choosing labels, including evidence from photos outside the pair. The experimental question is how predictive the labels obtained that way are of album order. This differs from a task that presents isolated images and asks a system to reconstruct an unseen chronology solely from their appearances.

Cooking test albums, pairwise photo ordering accuracy

The full system makes the most correct earlier-photo choices in the cooking albums.

Cooking test albums, pairwise photo ordering accuracyk-means: 53.0k-means53.0No Temporal: 56.5No Temporal56.5Full system (this paper): 63.2Full system (this paper)63.2
The numbers
System or settingaccuracy %
k-means53.0
No Temporal56.5
Full system (this paper)63.2

In Wedding, the ordering accuracies for k-means, No Temporal, and the full system are 52.7, 58.6, and 60.0, respectively. Baby Birth shows 52.5, 66.3, and 66.5 in that same order. Marathon scores are 53.8, 62.6, and 64.5. In these scenarios, the change from caption clustering to inference with affinities and segmentation already produces higher ordering accuracy. The full system improves on that inference baseline, with a small margin in Baby Birth. Cooking shows a more pronounced benefit from adding the temporal terms.

The remaining scenarios the authors expected to have a temporal structure also favor the full procedure. For Funeral, accuracy is 50.5 for k-means, 50.8 for No Temporal, and 53.1 for the full system. For Barbecue, the figures are 50.2, 51.7, and 58.6. The benefit in Funeral is modest and has a counterpart in the segmentation evaluation, where using the predicted temporal structure works less well for locating boundaries. Ordering pairs and identifying changes in an album place different demands on the event assignments.

For the scenarios expected to have looser chronology, the pattern is mixed. In Camping, the full system reaches 55.5, compared with 52.3 for k-means and 52.6 for No Temporal. In Thanksgiving, the three respective scores are 51.4, 54.3, and 56.1. In Christmas, they are 51.4, 50.9, and 52.4. A scenario can benefit from some ordering preferences without having a single strong overall sequence.

Independence Day shows the strongest accuracy for No Temporal at 58.0, with the full system at 56.0 and k-means at 53.2. Paris Trip shows 53.1 for k-means, 51.7 for No Temporal, and 52.3 for the full system. In New York Trip, the corresponding scores are 50.3, 49.1, and 48.5. The trip numbers illustrate why a recognizable inventory of events or destinations need not predict which of two timestamped images came first.

The authors inspect individual learned probabilities as well as the aggregate scores. The ordering probability for the starting line before the medal awards in Marathon is 92.3%. This is a relation between widely separated stages, of the kind the global statistic can express. In the Paris albums, the learned immediate transition from the Arc de Triomphe to the Eiffel Tower is 24%. The authors connect this particular observation to the landmarks’ proximity. The two examples illustrate why an interesting relation can survive in a collection where the average ordering accuracy across arbitrary photo pairs is much less decisive.

Finding boundaries people recognize

For segmentation, the comparison is between the boundaries inferred by the system and those marked by people. The paper describes an impartial annotator marking event starts and ends in 10 candidate albums of more than 100 photos for the Wedding, Funeral, and Camping scenarios. Wedding also has a second annotation. This test evaluates locations where one segment gives way to another. It does not require annotators to choose a name from the system’s learned event inventory.

The first measure is boundary F1. Precision concerns the share of proposed boundaries that match the annotation. Recall concerns the share of annotated boundaries that the system recovers. F1 combines those aspects of performance. The authors score exact boundaries with r = 0. They also report a relaxed comparison with r = 2, where an inferred event start can be within the specified number of photos of an annotated one. The wedding annotators agree at 56.9% under exact matching and 77.5% with r = 2. That shift indicates how frequently small differences in boundary placement can matter to the comparison, including differences between people.

The second measure, d, averages the difference between how many events the system proposes and how many the annotator marks. A positive d means the system produced more segments on average. A negative d means it produced fewer. This complements F1. A system can be close to the human segment count while placing boundaries differently. It can also recover some of the same boundaries and still introduce many extra ones. Reporting both quantities helps distinguish those outcomes.

Annotated wedding albums, exact-boundary F1

The full system best recovers the exact wedding boundaries among the three compared systems.

Annotated wedding albums, exact-boundary F1k-means: 27.1k-means27.1No Temporal: 32.0No Temporal32.0Full system (this paper): 37.8Full system (this paper)37.8
The numbers
System or settingF1
k-means27.1
No Temporal32.0
Full system (this paper)37.8

With r = 2, Wedding F1 is 40.8 for k-means, 49.6 for No Temporal, and 57.5 for the full system. For the exact comparison, the k-means baseline’s d is 32.9, the No Temporal variant’s d is -5.6, and the full system’s d is 1.3. The caption clusters used on their own produce many more changes than the annotators mark. Joint inference substantially changes that behavior. Of the compared systems, the full procedure gives the closest average wedding segment count and the highest F1 under both boundary tolerances.

In Funeral, the exact F1 scores are 27.9 for k-means, 35.9 for No Temporal, and 32.2 for the full system. With r = 2, the corresponding scores are 38.3, 57.6, and 51.6. In both comparisons, the temporal terms lower F1 relative to the version that uses affinities and segmentation alone. The authors suggest that the smaller funeral collection makes its temporal relations harder to estimate. The experiment itself establishes the performance difference in the selected funeral albums. It does not separate the effect of training-set size from differences in the scenario or its photographs.

Camping illustrates why the tolerance deserves to be reported. With r = 0, F1 is 31.2 for k-means, 22.0 for No Temporal, and 27.5 for the full system. With r = 2, the same systems reach 46.2, 35.4, and 51.4. The full system recovers more Camping boundaries than k-means under the relaxed criterion, while caption clustering leads under exact matching. The exact d values add context. K-means has d = 46.0, No Temporal has d = -15.6, and the full system has d = -10.1. The direction of the count errors differs as well as the quality of the local matches. The authors associate the difficulty of camping segmentation with its weaker expected structure.

Selecting photos for an album summary

The summary procedure starts with the event assignments for the album. For each distinct event it identifies, it chooses the photograph with the highest individual event-assignment score for that event. A summary is thus encouraged to give different parts of the occasion representation. Using the highest scoring photograph within each event also makes the choice sensitive to how well a particular image and caption depict that part.

The photo budget is b, and the number of distinct assigned events in the album is h. If there are more events than places in the summary, the procedure uses the training set to prioritize them. It keeps the representative photographs for the b events with the largest photo memberships in training. That makes prevalence across training photos a measure of which events to retain. The rankings come from the training data even though the candidates are limited to events identified in the current album. If h falls below b, the authors select extra images from the miscellaneous event, spaced throughout the album.

b − h

This expression gives the number of additional photos in the case where h is smaller than b. The minus sign subtracts the count of available event representatives, h, from the desired total summary size, b. The procedure gives selected event representatives prototypical captions. The illustrations distinguish the added miscellaneous photos, whose captions are kept in their original form. The extra photos fill available slots even though the system does not use a newly assigned event description to present them.

The first summary baseline samples at regular intervals. The paper gives the interval as:

k = M / b

Here k is the spacing between successive selected photos for the evenly spaced baseline, M is the number of photos in the album, and b is the summary budget. The slash indicates division. This k denotes the sampling interval, separate from event indices and the name of k-means. The other baseline identifies events by caption clustering, then follows the same event-based selection procedure as the full system. It tests how much the joint assignment stage contributes after the idea of covering different event categories is already in use.

For the preference evaluation, the authors use wedding test albums with more than 40 photos and set b to 7. On Amazon Mechanical Turk, workers see randomly presented pairs of summaries from competing methods for an album and choose the better one with both pictures and captions in view. A majority vote among three workers determines the preference for each presented comparison. The judgment reflects the combined summary. It can respond to the range of pictured activities, the choice of representative frames, the words accompanying them, or a combination of those factors.

The full procedure is chosen 57.7% of the time against the evenly spaced baseline, whose reported selection rate is 42.3. Against k-means, the paper reports 53.8 for the full procedure and 47.2 for k-means. The published pair is internally inconsistent with complementary vote shares, so the figures give the reported direction of preference without a clean pair of shares for that comparison. In its comparison with evenly spaced sampling, k-means also has reported selection rates of 53.8 and 47.2, with the same issue. The paper describes the head-to-head preference for the full procedure over k-means as slight.

In the paper’s example summaries, collections from Wedding, Paris Trip, and Baby Birth illustrate how the system covers recognizable parts of the scenario. The examples also show how a summary looks when extra pictures have been added to meet the budget. The quantitative preference evaluation concerns wedding albums. The trip and birth examples show the kinds of output the procedure can produce, while leaving reader preferences for those scenarios unmeasured.

Evaluating the captions separately

The authors also fix the photographs to those selected by the full summary procedure and vary the captions attached to them. This comparison removes differences in photo choice. The conditions use a prototypical event caption, a caption generated by an LSTM, or the original caption written for the chosen image. An LSTM is a recurrent network that can carry information across the sequence of words it generates. The captioning baseline uses an encoder–decoder with one layer and trains on the scenario’s training photo–caption pairs.

The encoder takes visual features from the final convolutional layer of VGG-16, and those features are fine-tuned during training. The baseline uses a cell state dimension and an input embedding dimension of 256. The authors report RMSprop with a base learning rate of .0001, 30% dropout, and training for 45 epochs with mini batches of 100. Decoding uses a beam size of 5, meaning it keeps a set of candidate sequences in play as it generates a caption. These settings define the comparison between an event-based caption reused from the collection and an image-conditioned caption generated by this particular recurrent architecture.

Five workers rate each group of photos on a five point scale. They judge grammaticality, relevance to the overall scenario, and relevance to the corresponding image. The distinction between the two kinds of relevance is central. A caption can clearly be about a wedding and still describe little of what an individual photograph shows. An original caption can refer closely to the image while saying something that would apply to many settings. The separate ratings measure these aspects independently.

Wedding summary photos, image-relevance ratings for captions

Prototypical captions rate above generated captions, while original captions fit the selected images most closely.

Wedding summary photos, image-relevance ratings for captionsLSTM captions: 2.85LSTM captions2.85Prototypical captions (this paper): 3.66Prototypical captions (this paper)3.66Original captions: 4.36Original captions4.36
The numbers
System or settingmean image-relevance rating
LSTM captions2.85
Prototypical captions (this paper)3.66
Original captions4.36

For scenario relevance, the LSTM captions score 4.90, the prototypical captions 4.55, and the originals 4.10. For grammaticality, the LSTM captions score 3.74, the prototypical captions 4.08, and the originals 4.28. The prototypes sit between the other approaches on all the dimensions measured. Relative to the LSTM, they give up some recognizable scenario vocabulary in exchange for stronger judged fit to the images and higher grammaticality. Relative to the selected images’ original descriptions, they give up some image-specific fit in exchange for stronger ties to the scenario.

The authors observe that the generated captions often use highly recognizable wedding words, including terms for the couple and the occasion. That observation helps explain why scenario relevance can be high even when image relevance is much lower. A description drawn from an inferred event can be more specific about which part of the wedding is pictured. The original author of a caption can be more specific still, because that caption was written for the individual photograph. The paper notes that the originals in this comparison are also comparatively clean and descriptive because the photographs were selected for high event-assignment scores.

What the ablations show

Removing evidence from wedding segmentation

The ablation study holds the task fixed at exact wedding boundaries, with r = 0, and removes groups of features from the full objective. It reports precision, recall, F1, and the difference in segment count. The full system has precision 36.7, recall 42.8, F1 37.8, and d = 1.3 in this comparison. The ablations ask how performance changes when the remaining terms must explain the same albums with one kind of evidence absent.

Removing visual event affinity yields precision 37.7, recall 37.0, F1 35.3, and d = -1.7. The direct resemblance between a photograph and a learned visual center helps recover boundaries that the other terms miss. It is distinct from visual resemblance between neighbors, which can say the pictures belong together without identifying their event. The higher precision and lower recall in this ablation suggest that the original visual affinity contributes to recovering more human-marked changes while also adding some proposals that do not match the annotation.

Removing textual segmentation produces precision 37.1, recall 41.5, F1 37.4, and d = .8. The close F1 values indicate a small change on this evaluation when the continuity reward from neighboring captions is taken away. Text remains available through the caption-to-event affinity. The ablation concerns the additional evidence supplied by direct similarity between adjacent captions, with the other sources of language and vision intact.

Removing visual segmentation gives precision 35.1, recall 42.1, F1 36.5, and d = 1.7. The full procedure recovers a similar share of annotated boundaries, with fewer mismatches among its proposals as reflected in precision. Visual resemblance between neighbors can support keeping a run intact even when their captions offer weak or uneven guidance. The comparison concerns the continuity term, so the visual center for each event still influences assignments.

With the local ordering probabilities removed, precision is 36.9, recall is 40.3, F1 is 36.9, and d is .2. The F1 and recall values are lower than the corresponding full-system values. The accompanying discussion describes the segment-count difference for this ablation as higher, but the table gives .2 compared with 1.3 for the full procedure. The printed values support a smaller positive count difference for the local ablation. Together, the metrics show that closer agreement in total segment count can coexist with weaker recovery of particular boundaries.

Why the longer-range term matters here

Removing global ordering probabilities gives precision 40.5, recall 25.0, F1 29.5, and d = -5.8. This is the lowest ablation F1 and recall in the wedding comparison. The higher precision means the remaining proposals agree with annotations more frequently as a share of all proposals. The lower recall shows that the system misses many of the annotated changes, and the negative count difference is consistent with producing too few segments. The global evidence helps the full procedure locate more of the boundaries that people marked, even though some of its additional proposals fail the exact-match criterion.

The authors argue that this result favors representing long-range order over relying completely on immediate transitions. Within their objective, the global probabilities can provide evidence about a stage from another stage that appears much later. The local probabilities have access to the direct neighbors, and the segmentation term further rewards keeping similar neighbors together. When the global term is dropped, long-range relations have no direct score. The ablation establishes the value of that term for this particular system and evaluation. The authors discuss hidden Markov approaches as an example of relying on local transitions, although the ablation itself compares variants of the album objective.

Every listed removal lowers recall and F1 relative to the full system in this exact-boundary wedding study. The contributions vary. The global term changes which human-marked boundaries are recovered more strongly than either of the separate continuity terms. Visual evidence at the event level also matters more to the reported F1 than adjacent caption similarity. The table removes selected groups of features, so it provides evidence about their contribution in the presence of the remaining groups. It gives no separate row removing caption-to-event affinity from the assignment term.

What the comparisons across tasks clarify

The No Temporal comparison removes both temporal components at once. In wedding segmentation, the ablation study distinguishes their individual contributions. In funeral segmentation, the version with neither temporal term is stronger. In the ordering experiment, temporal inference can still improve funeral ordering accuracy. Recovering a pairwise earlier relation from event labels can benefit even when the changes between labels align less well with human-marked segment boundaries. This is a reason to read the ordering and segmentation outcomes as different tests of the learned structure.

The summary comparisons test a different aspect of the pipeline. The k-means summary baseline already covers different events using the same broad strategy as the full procedure, so the preference comparison examines whether the joint assignments improve the resulting selections. The authors attribute the improvement to placing photographs with noisy captions in more informative event groups and obtaining better visual support for selection. The comparison changes the assignment procedure as a whole. It cannot isolate how much of the preference comes from visual affinity, segment continuity, or temporal evidence. The separate caption ratings help by showing what happens when the photographs stay fixed, although that experiment compares different sources of captions rather than removing individual terms in the assignment objective.

Limitations

Limits discussed by the authors

The authors expect temporal structure to vary across scenarios. Their contrast between a wedding and a camping trip makes the scope of a prototype clear. A broad scenario can support a useful inventory of recurring events while giving only weak guidance about their order. The trip results and the camping boundary scores bear out that distinction. The paper suggests studying more nuanced kinds of temporal knowledge across scenarios, leaving open how to characterize occasions in which only certain parts follow a regular sequence.

The authors also emphasize the noise in both sources of event evidence. They start with captions because they consider visual features relatively noisy for discovering the base categories. Many captions still fail to identify a specific event, which motivates the miscellaneous group and limits how much of the collection gives clear initial assignments. The base clustering is expected to find coherent groups in a subset of the data. Visual evidence then helps apply those categories to a broader set of photographs, with the quality of its centers still depending on the groups created through captions.

For the funeral result, the authors suggest that the smaller training collection makes temporal relations more difficult to learn. The suggested explanation fits the method, since its two ordering statistics depend on counts from provisional labels. Experiences with frequently observed event pairs and rarely observed pairs can differ substantially. The paper does not control the amount of training data across scenarios to test that explanation. Other characteristics of the albums, such as which stages people photograph and how they describe them, could also contribute to the difference.

The paper acknowledges that its original-caption comparison uses a favorable subset of raw descriptions. The selected photos already score highly as examples of their assigned events. Their original captions tend to be clearer and more informative than the originals in the collection as a whole. The comparison tells readers how the replacement captions fare for those chosen images. It leaves open the relative quality on the wider set of photographs with sparse or uninformative descriptions.

Limits of the data and representation

The timeline is a timeline of photographs. Events without recorded images leave no direct evidence in this dataset, and a commonly photographed event can supply many observations from a single occasion. A relationship that appears in album order can reflect how events unfold, what photographers choose to capture, and how frequently they take consecutive shots of a subject. The learned probabilities are best interpreted as ordering tendencies of assigned events in the albums. The paper’s marathon and Paris examples are intelligible as real-world patterns, but album counts alone provide no general way to disentangle the pattern of activity from the pattern of photography.

The collection process shapes what appears in the data. Query words and their variants determine which photographs can be retrieved for a scenario. The grouping by user and the timestamp windows define the album units within that material. A photographer can take different kinds of pictures within the same window, and parts of an occasion can fall outside it. Inference also assumes the broad scenario is already known. This gives the method a scenario-specific inventory to choose from, while leaving recognition of the scenario itself outside the experiment.

The hierarchy is limited to the supplied scenario and the discovered component events. A single photo receives one event label even when it can reasonably depict several. A picture can show a place, an activity, and a participant at once, and people may disagree about which one marks the relevant segment. The wedding annotator agreement gives an indication of that ambiguity for boundaries. It also shows how tolerance affects the comparison. Within the timestamp-based units, all photos share an assignment, so a true change inside a merged unit cannot be recovered as a boundary by the optimization.

Pairwise ordering preferences also leave out some kinds of structure. The global probability compares directions for each pair, without specifying intervening stages. Separately learned pair tendencies can favor different orders for different subsets of events, while the objective seeks a compromise for the current album. It supplies no explicit inventory of alternative scripts, no required set of stages, and no representation of why one event causes another. A high directional probability describes the observed ordering of the pair given the grouping procedure.

The representative language has its own limits. Frequent content words can give a cluster a readable name. Repeated captions can describe a recognizable activity. Neither construction guarantees that an inferred event’s representative caption fits the details of the particular picture selected for it. The image-relevance ratings capture some of that gap. They accord with the difference between reusing a description characteristic of a group and writing a description for the individual frame.

Limits of the evaluations

The ordering experiment permits the full assignment procedure to use the original sequence of the album. The subsequent pair decision evaluates learned global ordering preferences through the labels obtained in that context. The findings therefore concern prediction within an album whose sequence was available to inference. They do not establish the accuracy of reconstructing a timeline from a shuffled album. That distinction follows from the experiment’s steps, regardless of the strength of the learned probabilities for particular event pairs.

Segmentation is judged on selected longer albums in three scenarios, and the detailed feature-removal study concerns exact wedding boundaries. The annotators’ wedding agreement gives needed context for those values. The small set of scenarios with human boundaries leaves the quality of segmentation elsewhere unresolved. The metric also concerns where a boundary falls, so even a strong result would not verify that the system has named each segment correctly. Conversely, a visually convincing event label can be present in an album whose boundary is slightly displaced from the one marked by a person.

The human preference and caption scores are concentrated on the selected wedding summaries. Agreement about summary quality can involve visual appeal, how much of the occasion is covered, which people appear, and how well the associated descriptions read. The comparison asks workers for a combined preference and therefore cannot determine which aspect was decisive. Fixing the photos in the caption study makes those ratings more specific to the descriptions, while retaining the selection effects of the original summary procedure.

The size of some advantages also calls for care in interpreting the reported point estimates. Differences across scenarios and across exact and relaxed boundary scoring are directly observable in the results. Modest head-to-head margins are harder to interpret without uncertainty estimates, and the inconsistent pairs of summary selection rates limit what can be inferred from those comparisons. The strongest conclusions concern the demonstrated ability to learn recognizable categories and temporal tendencies and to apply them in the evaluated tasks. The reliability of those tendencies for other collections, annotation conventions, or ways of constructing albums remains open.

What came after

The paper closes by identifying the kinds of temporal knowledge available in different scenarios as a subject for further research. Its own results illustrate the distinction. An occasion can have recurring categories, strong preferences for particular event pairs, or a broadly predictable sequence. A way of learning one of those properties need not recover the others equally well. For instance, the Paris albums support a recognizable transition between landmarks alongside weak overall earlier-photo prediction, while the wedding ablations show the value of longer-range order for a particular boundary task.

There are no documented follow-up studies to trace here. The question left by the paper is how to identify which ordering relationships generalize across albums of a scenario, and how to use those relationships when albums capture different stages or record them at different levels of detail.

Cite

Cite as Antoine Bosselut, Jianfu Chen, David Warren, Hannaneh Hajishirzi and Yejin Choi. 2016. Learning Prototypical Event Structure from Photo Albums. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/p16-1167

@inproceedings{bosselut2016learning,
  title = {{Learning Prototypical Event Structure from Photo Albums}},
  author = {Antoine Bosselut, Jianfu Chen, David Warren, Hannaneh Hajishirzi and Yejin Choi},
  booktitle = {Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2016},
  doi = {10.18653/v1/p16-1167},
  url = {https://doi.org/10.18653/v1/p16-1167}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bosselut-2016-learning-prototypical-event-structure-photo/