Show, Control and Tell: A Framework for Generating Controllable and Grounded Captions
Paper · 2019 · Marcella Cornia, Lorenzo Baraldi and Rita Cucchiara
Summary
A caption can describe a photograph accurately and still leave out the part someone wanted to know about. In a picture of a boy wearing a cap and a striped shirt, a caption might mention the boy and say nothing about his clothes. Show, Control and Tell lets the person or system requesting a caption choose which areas of the image to describe. The request can also specify the order of mention. The caption comes with associations between stretches of text and the areas they describe, so a reader can see which part of the image each stretch was assigned to.
The authors organize generation around noun chunks, groups of words built around nouns. A chunk such as “a cap” can be associated with a detected box, while a chunk with several possible matches can be associated with a group of boxes. The captioner writes one word at a time and keeps track of which group is current. A learned switch advances to the next group when the current chunk is complete. A separate attention mechanism decides how much to rely on the current boxes and how much to rely on the sentence context. This lets the captioner supply connecting words without treating each such word as a signal to move on. When the request leaves the order open, a sorting network proposes an order before writing begins.
The captioner first learns words and switch decisions from annotated examples. It then learns from scores assigned to completed captions, with credit for both caption quality and agreement with the requested sequence. The authors test the approach on Flickr30k Entities and on COCO Entities, which they construct by matching phrases in COCO captions to detections and checking the resulting associations manually. They report better automatic caption scores and closer adherence to the requested content than the comparison systems achieve with either form of control. With an ordered request on the COCO Entities test split, the final system scores 0.649 on the paper’s noun-alignment measure.
Changing the region arrangement also gives the captioner a way to offer different descriptions of the same image. On the full COCO test split, the authors find that these alternatives include captions that match reference descriptions well. The scope of the control follows from its design. A request is expressed through available detections, and the clearest visual associations are at the level of noun chunks. The experiments measure caption quality and instruction following on annotated images. Operational settings such as driver assistance, which motivate the work, would require evidence about behavior under very different conditions.
Deep dive: Show, Control and Tell: A Framework for Generating Controllable and Grounded Captions
Show, Control and Tell generates captions from selected image regions, follows a requested order, and links noun phrases to their visual sources. · about 43 minutes to read
The problem and its context
Who decides what the caption is about
An image is the starting point for a caption, but it seldom determines what the sentence should say. A person looking at an image can choose a subject according to the purpose of the description. The same foreground object could be central to one account and incidental to another. The authors illustrate the stakes with driver assistance. A caption meant to alert a driver would need to bring a hazard to the driver’s attention, even if other objects would be natural topics for an ordinary description. Choosing a useful subject is part of the task in this example, alongside recognizing the objects and producing a readable sentence.
The paper focuses on a particular way to give the requester that choice. An additional input indicates the image regions to discuss. Supplying the regions in a sequence also conveys a decision about which content should come earlier in the caption. Supplying a collection without an order gives the captioner more freedom over how to organize the sentence. In both cases, the region request is available before generation starts. The distinction between the requests makes it possible to ask separate questions about whether the caption covers the chosen material and whether it follows a prescribed order.
The authors also want the resulting sentence to retain a visible connection to the request. After the caption is complete, a reviewer should be able to tell which area a phrase was meant to describe. The paper calls this grounding. Under that definition, a sentence can succeed as a generic account of a scene while doing poorly at grounding or control. A sentence about the wrong object can be grammatical and plausible. A sentence mentioning the right objects can still arrange them differently from the request. Establishing which behavior occurred requires some record of the intended regions and a way to compare those regions with the text. This is where the paper situates its contribution to vision and language.
From a picture-wide representation to attention over boxes
In the authors’ account of earlier captioning, a convolutional network extracts visual features and a recurrent network uses visual information to predict successive words. An early way to connect these operations is to give the captioner a representation that summarizes the image. The recurrent computation can combine that representation with the words already produced and change its predictions as the sentence grows. The paper cites work that uses this general combination for visual recognition and description. Long-term Recurrent Convolutional Networks for Visual Recognition and Description
Attention allows the visual contribution to change as well. At each word step, the captioner gives different weights to different visual features, so one part of the image can matter more when it names an object and another can matter more later. The paper describes a shift from weighting features on a spatial grid to weighting features associated with regions, including regions supplied by object detectors. A detector’s box gives a more readily identifiable candidate for what a phrase refers to. That makes region attention a natural starting point for connecting visual inputs with words.
The weights are still computed inside the captioner. They express where the architecture places emphasis at a particular step. A request to mention a specific object, or to mention it before another, requires a separate way to convey that instruction. The authors also describe the links inferred from earlier attention as sometimes too diffuse to be semantically informative. A spread of weights can influence a prediction, yet leave the reader unsure which region the resulting expression should be taken to describe. Their proposal gives each step through the sentence an explicit position in a visual plan. The architecture uses attention within the active part of that plan.
Earlier work provides other ways of tying language to image locations. DenseCap writes descriptions for particular regions. Neural Baby Talk first produces a sentence template and then fills its visual slots with concepts from detections. The paper takes from this line of research the idea that visual support can be assigned to recognizable units of text. Its own unit is a group centered on a noun. That choice lets a determiner, a modifier, and the name of the entity share a local referent while the captioner moves through several referents in a single sentence.
What different kinds of diversity give the requester
The paper treats variation in captions as an existing research objective. Some earlier methods change beam search, the procedure that keeps promising partial sentences while extending them, to obtain several distinct outputs. The authors also discuss adversarial approaches to generating varied descriptions. They describe diversity in these systems as potentially coming at a cost to accuracy, with limited scope for directly selecting the content of a particular output. The work they cite on guided open-vocabulary captioning belongs to their discussion of alternatives to straightforward decoding. Guided Open Vocabulary Image Captioning with Constrained Beam Search
Other approaches make an aspect of the sentence selectable. The paper mentions conditions based on style and sentiment, and it singles out an approach whose input is a sequence of grammatical categories. Those categories can help shape the form of a sentence. For example, a choice about where a noun occurs is a choice about the linguistic structure. Selecting a particular object in a photograph requires another kind of information. A region input carries the location of the content the requester wants mentioned. This is a difference in the kind of variation someone can ask for, rather than simply in the number of sentences a system returns. The grammatical alternative in the authors’ comparison uses part-of-speech tagging.
The paper’s approach starts from the observation that alternative captions often differ in both their selection of entities and their order of mention. Human annotation provides examples of these choices without requiring a complete account of a scene in each sentence. The authors use those examples to study whether a captioner can respond to a change in visual focus with a corresponding change in its words. To do so, they need a way to connect a selection expressed in boxes with a sentence expressed in words. Noun chunks supply that intermediate level, and their boundaries give the recurrent captioner a place to decide when to move along the supplied plan.
The method, step by step
From a caption’s grammar to its visual plan
A noun chunk groups a noun with words that belong with it grammatically. The paper illustrates this with a caption whose chunks include “a young boy,” “a cap,” and “striped shirt.” In the shirt example, the noun names the object and the modifier narrows the description of it. The whole chunk can be associated with a shirt region. The authors derive these groups from syntactic dependencies, which record how words in a sentence are linked. Their discussion of extracting such relationships draws on earlier work in dependency parsing.
The paper depicts the links for an example caption as a tree. Boxes around words in the tree indicate the noun chunks, and colors associate chunks with locations in the image. A caption can then be read in two ways. Read as words, it is an ordinary sentence. Read at the chunk level, it traces a route through selected content. Several words can belong to the same stage of that route, and the set assigned to a stage can contain several boxes. This accommodates an annotation that connects a single chunk with multiple detections, including cases in which several regions of the same class are possible matches. The paper cites a neural approach among examples of methods for building the syntactic representation. A Fast and Accurate Dependency Parser using Neural Networks
At generation time the region input does the work that the phrase associations did in the annotated caption. It tells the system where to begin and which regions are available at each later stage. The captioner decides how many words to produce before advancing. It also decides how to form a sentence around the selected content. The region input has no prewritten phrase for the system to insert. Even an ordered request gives the generator room to choose a description, add connecting language, and decide how to get from one chunk to the next.
From a region request to a grounded caption
The steps in order.
The order in the sorting step is learned during training and predicted for an unordered request. An already ordered request goes directly to the captioner. Once the recurrent process starts, it alternates between extending the sentence and updating its position in the region sequence. Steps that stay within a chunk continue to use the same active group, so the facility for producing phrases of different lengths comes from the transition decisions.
Keep a position in the region sequence
The ordered control is written as follows.
R = (r₀, r₁, …, r_N)
Here, R is the full control sequence. Each entry rᵢ is a set of regions. The subscript i denotes a position and the ellipsis denotes the intervening entries. The displayed indexing starts at 0 and uses N as the terminal bound in the pointer update. The paper also calls N the number of region sets. The update makes the intended behavior clear by clamping progress at the last position.
The target output has a parallel notation for its words.
y = (y₀, y₁, …, y_T)
Here, y is the caption and yₜ is its word at time t. The display runs from the initial position 0 through the terminal index T, with the ellipsis standing for the intermediate words. There can be several word positions for each position in R. This difference in granularity is the reason the architecture needs a separate decision about when to advance.
The first predicted distribution is over words.
p(yₜ | R, I; θ)
The notation p denotes a probability distribution, and the vertical bar introduces the conditioning inputs. The candidate word is yₜ, the current position in the sentence is t, the region sequence is R, and the image is I. The separator before θ sets off the learned parameters. In the implementation, the recurrent state carries the history of generation, which the compact expression leaves implicit.
The other distribution concerns the pointer.
p(gₜ | R, I; θ)
Here, gₜ is the chunk-shifting gate at time t. Its two values correspond to staying at the current region group or moving forward. The notation for probability p, the image I, the control R, and the learned parameters θ has the same meaning as for word prediction. A gate value describes a transition in the control sequence. The next region’s identity follows from the supplied order.
A schematic update describes the information on which the recurrent state depends.
hₜ = RNN(wₜ, rₜ, hₜ₋₁)
RNN denotes the recurrent computation. It updates the hidden state hₜ at time t using the current word wₜ, the currently active region set rₜ, and the preceding state hₜ₋₁. In this expression the subscript on rₜ denotes a word time. Its value at that time is one entry from the position-indexed sequence R. Thus adjacent word times can use the same region set. The paper’s implementation distributes this computation across recurrent layers and an attention calculation.
The pointer update is determined by the cumulative number of advances.
rₜ₊₁ ← R[min(Σₖ₌₁ᵗ gₖ, N)]
The arrow assigns the next active set, rₜ₊₁. Square brackets access an entry of the sequence R. The sum Σ counts the sampled gates gₖ from step 1 through time t, with k the summation index. A gate set to 1 contributes an advance and a gate set to 0 contributes none. The function min takes the smaller of that running count and the terminal bound N, so an advance at the end cannot step beyond the sequence. This rule fixes the direction of travel. A gate can change the time at which a region becomes active, while the request determines which entry follows it.
During initial training, the annotated word and region set are supplied at each step. During generation, the captioner conditions later decisions on its earlier outputs. An early transition can change the visual context for subsequent word predictions. Conversely, the choice of words changes the recurrent state from which the next transition is predicted. The gate and word distributions are therefore coupled through the developing caption even though they have different roles.
Estimate when to leave the current group
To predict a transition, the architecture compares the current regions with an internal vector called the chunk sentinel. The sentinel is a learned view of the recurrent cell’s memory. Its job is to provide something the current hidden state can favor when the group has been described. The comparison is built to resemble an attention calculation over the current boxes, with the sentinel added as another candidate.
The operation begins by determining which components of memory to use.
lᶜₜ = σ(W_ig xₜ + W_hg hₜ₋₁)
The vector lᶜₜ contains componentwise weights at time t, and the superscript c denotes the chunk role. The current input to the long short-term memory layer, or LSTM, is xₜ, and its previous hidden state is hₜ₋₁. The learned matrix W_ig projects the input and W_hg projects the previous hidden state. If k is the input dimension and d the size of the memory, the matrices have shapes d × k and d × d, respectively. The logistic sigmoid σ turns the summed projections into componentwise weights.
The chunk sentinel uses those weights to read from the cell.
sᶜₜ = lᶜₜ ⊙ tanh(mₜ)
Here, sᶜₜ is the chunk sentinel at time t, lᶜₜ is the weight vector just computed, and mₜ is the LSTM cell memory of dimension d. The hyperbolic tangent tanh transforms the memory components. The symbol ⊙ means that each transformed component is multiplied by its corresponding weight. The result is a vector of the same dimension as the memory, shaped by the current input and recurrent history.
The sentinel then receives a scalar compatibility score.
zᶜₜ = w_hᵀ tanh(W_sg sᶜₜ + W_g hₜ)
The scalar zᶜₜ is the score of the chunk sentinel at time t. The learned matrix W_sg transforms sᶜₜ, and the learned matrix W_g transforms the current hidden state hₜ. The function tanh acts on their sum. The learned vector w_h is written as a row through the transpose operation ᵀ, allowing it to turn the transformed vector into a single score.
A corresponding computation scores all the active regions.
zʳₜ = w_hᵀ tanh(W_sr rₜ + (W_g hₜ)𝟙ᵀ)
The vector zʳₜ contains the region scores for time t. The current set rₜ appears here as a matrix of region-feature columns. The learned matrix W_sr transforms those region features. The projection W_g hₜ is the same hidden-state term used for the sentinel, and multiplying by 𝟙ᵀ repeats it across the columns. The vector 𝟙 has one entry for each of the n active regions, all equal to 1. The outer tanh and the learned row w_hᵀ give a score for each column.
The chance of advancing is the sentinel’s share of the normalized scores.
p(gₜ = 1 | R) = exp(zᶜₜ) / (exp(zᶜₜ) + Σᵢ₌₁ⁿ exp(zʳₜᵢ))
The left side is the probability p of an advance, gₜ = 1, for the control sequence R at time t. The symbol exp denotes exponentiation, zᶜₜ is the sentinel score, and zʳₜᵢ is the score for region i at that step. The sum covers the n regions currently available. The (R)-only conditioning is the paper’s shorthand in this part of the derivation. The scores themselves also depend on the recurrent state.
The gate is high when the chunk sentinel receives a large share of the score relative to the regions taken together. Choosing the other gate value leaves the pointer where it is. The calculation yields a probability for a discrete action. It leaves the task of constructing the visual context for the next word to a separate computation. This is important because a step within a chunk can call for a largely grammatical contribution even when the system should continue with that same region group.
Choose information for the next word
The visual sentinel answers a different question using the same underlying recurrent memory. Suppose the selected content includes a cap. The region feature can help the captioner describe the cap, while the state of the sentence can help decide how to introduce that description. When the next word is better supported by linguistic context, the visual sentinel provides a way to draw on that context. The paper implements this as an additional candidate in word-level attention, alongside the regions of the active group.
The memory weights for this sentinel have their own parameters.
lᵛₜ = σ(W_is xₜ + W_hs hₜ₋₁)
Here, lᵛₜ is the weight vector for the visual role at time t, indicated by the superscript v. The learned matrices W_is and W_hs project the current LSTM input xₜ and the preceding hidden state hₜ₋₁. Their shapes are d × k and d × d, with d the memory dimension and k the input dimension. The sigmoid σ applies to each component of the sum. Separate parameters allow this memory read to serve word prediction.
The visual sentinel vector is then formed as follows.
sᵛₜ = lᵛₜ ⊙ tanh(mₜ)
The vector sᵛₜ is the visual sentinel at time t. The operator ⊙ multiplies the components of the weight vector lᵛₜ by the corresponding components of tanh(mₜ). The function tanh again acts on the LSTM memory mₜ. The same cell can therefore support both sentinels through different learned selections of its contents.
Word-level attention compares the visual sentinel and the current regions.
αₜ = softmax([zʳₜ; w_hᵀ tanh(W_ss sᵛₜ + W_g hₜ)])
The vector αₜ holds the attention weights at time t. The brackets and interior separator concatenate the region scores zʳₜ with a score for the visual sentinel sᵛₜ. The learned matrix W_ss projects the visual sentinel. The learned projection W_g applies to the current hidden state hₜ, and the learned row w_hᵀ takes the transformed sum through tanh to a scalar score. The softmax operation turns the resulting collection of scores into non-negative weights that sum to unity. The regions thus compete with different internal alternatives in the gate and in word-level attention.
The attention weights produce a vector for use in generation.
cₜ = Σᵢ₌₁ⁿ⁺¹ αₜᵢ [rₜ; sᵛₜ]ᵢ
Here, cₜ denotes the context vector at time t. The brackets collect the n feature vectors in rₜ and append the visual sentinel sᵛₜ; the subscript i outside the brackets selects one of those candidates. Its contribution to the sum Σ is scaled by its attention weight αₜᵢ. The inclusive upper bound n + 1 accounts for the extra memory-based candidate.
A large weight for a region makes the resulting context resemble that region’s feature. A large weight for the sentinel makes the context resemble the selected recurrent memory. The weighted sum also allows a mixture. The mechanism supplies degrees of emphasis to the word predictor. The explicit grounding at chunk level comes from the changing pointer, while the word-level weights indicate which candidates within the active group contributed to the context computation.
Connect the attention and the word predictor
The captioner uses two LSTM layers. The lower layer takes the current word embedding, a global image descriptor, and the hidden state from the upper layer. An embedding represents a word as a vector. Using the upper state as part of its input gives the lower layer information about the sentence being formed. The lower layer supplies the hidden state used for the sentinels and region scores. The upper layer receives that state alongside the attention context and predicts the next word. The authors set the hidden size of the recurrent layers to 1000, the attention size to 512, and the input word embedding size to 1000.
The image features come from a Faster R-CNN detector using ResNet-101. The authors use the detector trained further on Visual Genome that was made available through the Up-Down work. Each detected region comes with a feature vector. Averaging the vectors across detections gives the image descriptor supplied to the lower layer. Thus the local attention calculation has the active region group as its visual scope, while the lower layer also receives a picture-wide summary. The residual network is the visual feature backbone in this setup. Deep Residual Learning for Image Recognition
This combination gives the word predictor both the local context associated with the current chunk and information about the larger scene. The transition gate determines the succession of local contexts the word predictor will encounter. It does so throughout generation, including when the same region group has been active for a run of words. The opportunity to link generated text to a region group follows from knowing where the pointer was during that run.
Teach word choices and chunk boundaries
The annotated examples provide a reference word for each generation step and a corresponding region schedule. The authors label the last word of each noun chunk with a gate target of 1. Everywhere else the target is 0. To obtain the target region at each step, they repeat the current group through the end of its chunk and use the next chunk’s group after that boundary. This gives the transition predictor direct supervision about when to advance, in addition to whatever it can learn from making word predictions.
The paper presents the supervised loss as a sum of cross-entropy terms. Cross-entropy penalizes the predictor when it assigns a low probability to the action demonstrated in an example.
L(θ) = −Σₜ₌₁ᵀ [log p(yₜ* | r*₁:ₜ, y*₁:ₜ₋₁)
+ gₜ* log p(gₜ = 1 | r*₁:ₜ, y*₁:ₜ₋₁)
+ (1 − gₜ*) log(1 − p(gₜ = 1 | r*₁:ₜ, y*₁:ₜ₋₁))]
L(θ) is the loss for a sample under the parameters θ. The negative sum Σ runs from step 1 through T. A star marks a target from the training example. Specifically, yₜ* is the target word, gₜ* is the target gate, r*₁:ₜ is the target region history through the current step, and y*₁:ₜ₋₁ is the target word history through the previous step. The colon in a subscript denotes an inclusive range. The function p gives the conditional probability of the indicated word or gate action, and log is the logarithm. When gₜ* is 1, the second term rewards assigning probability to advancing. When it is 0, the last term uses the complementary probability of staying. The first term applies in either case.
The implementation assigns a weight of 0.2 to the word term and 0.8 to the chunk-level contribution. A reference therefore provides two kinds of feedback even at steps where the gate stays put. The system learns a likely word given the scheduled region, and it learns that the word does or does not occur at the boundary of a chunk. Providing both reference histories at this stage gives it examples of how a correct region schedule interacts with a well-formed sentence.
Score a completed caption and train both decisions from it
After supervised training, the authors optimize rewards computed on completed captions. They use self-critical sequence training, a reinforcement learning procedure in which the system’s own inference output supplies the baseline. The process samples words and gates together to make a caption. When the sampled word stream reaches the end-of-sentence tag, the caption receives a reward. The difference from the baseline provides feedback about whether the sampled combination of word and transition actions was beneficial.
The authors write the update in terms of the following gradient estimate.
∇_θ L(θ) = −(r(wˢ) − b)(∇_θ log p(wˢ) + ∇_θ log p(gˢ))
The operator ∇_θ takes the gradient with respect to learned parameters θ, and L(θ) denotes the loss being optimized. The superscript s marks sampled outputs, wˢ for the caption and gˢ for the gate sequence. The function r gives a reward to the completed caption and b is the baseline reward. The two log p terms give the log probabilities of the sampled word and gate actions under their respective distributions, with conditioning left implicit. Both contributions are scaled by the same reward difference. A sample that does better than the baseline reinforces its actions under loss minimization, including the transitions that helped make its sequence of visual contexts.
The baseline itself is defined separately.
b = r(ŵ)
The scalar b is the reward given by r to ŵ, the caption obtained by taking the maximum-probability word and gate choices in the inference procedure described for self-critical training. Using this baseline ties the value of a sampled outcome to the captioner’s current behavior. The paper separately specifies beam search for the reported caption decoding experiments.
The reward has a caption-quality component, CIDEr-D, and a component that evaluates how the nouns in the output follow the reference. CIDEr-D is the variant of CIDEr the authors use when training for caption quality. The authors cite its agreement with human judgments as a reason for using it. The added component reflects the ordered control because a caption can resemble a reference on general quality measures while giving its main entities in an unsuitable order. The final reward weights the two scores. The coefficients for combining these rewards are distinct from the reported weights in the supervised word and gate loss.
To compute the order score, the authors extract nouns from the predicted and reference sentences. Needleman–Wunsch finds the best alignment of the two sequences while preserving their order. A pair contributes the cosine similarity of its vector representations, which measures agreement in their direction. A noun left unpaired incurs the gap score -1, the minimum similarity. Giving a similarity score for a pair allows a related expression to receive credit even if the surface forms differ. The authors use spaCy for extracting dependencies and the linguistic information needed for the score, and use GloVe for the word embeddings.
NW(y, y*) = al(y, y*) / max(#y, #y*)
NW denotes the normalized Needleman–Wunsch score for the generated caption y and the reference y*. The function al returns the score of the optimum alignment of their extracted noun sequences. The prefix # counts the nouns in the indicated caption. The function max takes the longer of the two noun counts as the denominator. The normalized score ranges from -1 to 1. The choice of vector representations makes the correspondence soft, and the alignment still has to honor the order of the nouns. The specific representations used for this purpose are GloVe.
This sequence reward reaches the gate through the caption it helped produce. An advance changes the regions available for later attention and can make a later noun more or less likely. The training update assigns credit to the sampled gate sequence along with the sampled words. The alignment calculation itself works on the caption and reference nouns. Its feedback about the visual plan is indirect, through the association of noun chunks in the reference with the regions supplied as control.
Infer an order for a collection of regions
An unordered input specifies which groups are available while leaving their sequence open. The paper treats the order as a permutation to be inferred from examples. The goal is to propose a sequence of the supplied groups that the captioner can turn into a plausible sentence. The sorter and the captioner each have a task during training. The sorter learns from scrambled material and its annotated order. The captioner takes a sequence and learns to write through it.
The unordered input is represented as a collection of region sets.
ℛ = {r₁, r₂, …, r_N}
The calligraphic ℛ denotes the unordered collection. Each rᵢ is a group of detections, i identifies a group in the representation, and N is the number of groups for the sorting problem. The braces indicate that the input supplies membership without specifying an intended sequence. The ellipsis stands for the groups between the displayed entries.
For each detection the network uses a 2048-dimensional Faster R-CNN feature, a 300-dimensional embedding of its detector class, and a 4-dimensional description of its normalized position and size. Separate branches process the visual and class features. The visual branch has layers of size 512 and 128, and the class branch has a layer of size 128. The resulting vectors are joined with the geometric values and passed through a layer of size 256. The final layer outputs a descriptor with N components. The hidden layers use ReLU, which replaces negative responses with zero, and the output uses tanh. For a group with several detections, the network processes the detections individually and averages their descriptors to get one vector for the group.
Stacking the vectors yields a square array of scores. An ordinary permutation matrix describes a one-to-one assignment, with a single selected position in each row and each column. Learning directly through that discrete choice poses a difficulty for gradient training. The paper uses the Sinkhorn operator to produce a continuous approximation. Iterative normalization makes the rows and columns behave like competing assignments, so the learning objective can respond to changes in the scores.
The operator begins by exponentiating the matrix entries.
S⁰(X) = exp(X)
Here, X is the N × N matrix made from group descriptors, with N the number of groups being ordered. The function exp acts on each entry. The superscript 0 on S⁰ denotes the positive matrix before the row and column normalization rounds.
The row-normalization operation is written as follows.
Tᵣ(X) = X ⊘ (X 𝟙_N 𝟙_Nᵀ)
Tᵣ is row normalization, and here X stands for the matrix being normalized. The vector 𝟙_N is a column of N ones and ᵀ denotes transpose. The matrix product in the denominator places the sum for each row at every position in that row. The operator ⊘ divides corresponding entries, so the normalization scales the entries of each row by that row’s sum.
Column normalization uses the other order of multiplication.
T꜀(X) = X ⊘ (𝟙_N 𝟙_Nᵀ X)
T꜀ denotes column normalization of the matrix X. The leading product of 𝟙_N and its transpose 𝟙_Nᵀ creates the all-ones matrix of size N × N. Multiplication by X then repeats the sum for each column within that column. Elementwise division ⊘ supplies the normalization.
Each round applies the two operations in sequence.
Sˡ(X) = T꜀(Tᵣ(Sˡ⁻¹(X)))
Sˡ(X) is the result after round l beginning with input scores X. The expression Sˡ⁻¹(X) denotes the preceding round’s result. The inner operation Tᵣ rescales the rows, and the outer T꜀ then rescales the columns. Repetition brings the matrix towards the row and column constraints of an assignment while retaining soft entries.
The final normalized matrix is the soft permutation.
P = Sᴸ(X)
The symbol P denotes the resulting matrix, and Sᴸ is the transformation after L rounds applied to the initial score matrix X. The experiments use L = 20. The entries can distribute weight across possible correspondences. Test-time decoding later turns this matrix into a single assignment.
At training time the authors form a reconstruction using the following expression.
Pᵀ R*
Here, Pᵀ is the transpose of the soft permutation, and R* represents the ground-truth sorted sequence. In this orientation, applying Pᵀ to R* produces a reconstruction of the scrambled sequence. The training loss is the mean squared error between the reconstruction and the actual scrambled input. For the comparison to be good, the matrix must put weight on correspondences that recover the content at each scrambled position. Using a soft matrix lets the error provide a gradient to the scoring network.
At test time the Hungarian algorithm takes the matrix and finds a discrete assignment, so each item receives a unique position. The groups can then be passed to the captioner in the resulting order. The implementation masks unused tensor positions to accommodate variable sequence lengths and group sizes. The maximum length allowed for scrambled sequences in the reported setup is 10.
Set the optimization and decoding conditions
The captioner and the sorter are trained using Adam, with an initial learning rate of 5×10⁻⁴. The rate is multiplied by 0.8 after each epoch. The later reinforcement learning stage for the captioner uses a fixed rate of 5×10⁻⁵. The authors report a batch size of 100. For deciding when to stop training, they use caption CIDEr on the validation split and validation permutation accuracy for the sorter. The two stopping criteria track the respective tasks learned by the two networks.
The reported caption experiments use beam search with beam size 5. A partial candidate has a history of both words and gate actions. Keeping several high-probability candidates during decoding therefore preserves alternatives in wording and in the timing of region transitions. The final caption can be accompanied by the chunk-to-region correspondences established along that path. The authors make the implementation and the grounding annotations for Show, Control and Tell publicly available.
Experiments and results
Build the control inputs from annotated captions
The experiments need more than an image and a reference sentence. They also need to know which region groups can serve as the control for that sentence. Flickr30k Entities supplies the phrase-to-box associations through human annotation. The authors describe it as containing 31,000 images with five sentences per image and 276,000 manually annotated boxes. Some entity mentions are linked to several boxes. The experiments use the splits provided in earlier work by Karpathy and colleagues.
The Flickr30k Entities boxes and the detector boxes play different roles. The annotated box says where the human-linked entity is located. To give the captioner a visual feature in its own input representation, the authors choose the detected box with the greatest intersection-over-union with that annotation. In this use of intersection-over-union, the objects being compared are spatial boxes. The choice depends on their overlapping area relative to the area they jointly cover. Matching this way lets manual phrase supervision guide a captioner that operates on detected regions.
COCO already supplies descriptions, but the authors need to add associations to regions. The paper describes the underlying collection as having more than 120,000 images and around five crowd-sourced captions per image. Again using the Karpathy splits, the authors build an index from the nouns in those captions to detector class names. For each noun, the index keeps the five class names judged closest by word vectors. For a noun chunk in a given caption, the procedure uses its name or its base form and looks for the earliest matching class in the index that occurs among the detections for that image. Several boxes can be returned for the same class. These associations constitute the added grounding in COCO Entities.
Checking the associations manually is part of the dataset procedure. The authors say that their inspection found few false positive matches. The procedure can also come back without a match, for example when the required region has no appropriate detection. For training, the unmatched group is populated with the highest-probability detections in the image. Adaptive attention then has region candidates available even though the association procedure could supply none for that chunk. The authors omit captions with such missing matches from the validation and test portions used for controlled COCO Entities captioning. The full COCO diversity evaluation has a different scope.
Compare systems given different ways of using control
The Controllable LSTM baseline receives the sequence in compressed form. A recurrent network reads a flattened representation of the region request, and its final hidden state is joined with a visual summary of the image. That joined representation conditions caption generation. The architecture has access to a representation of the supplied order, although it has no attention mechanism that can select a particular region while writing a particular span.
Controllable Up-Down makes the selected regions individually accessible. The authors take the region-attention captioner and give its attention mechanism the chosen regions, omitting other regions from that input. The initial selection can steer the subject matter. The baseline has no operation corresponding to advancing through the requested list during generation. It therefore gives a comparison for what can be achieved by filtering the region choices alone.
The paper also compares the full captioner against versions that change the sentinels. One removes the visual sentinel, and the other shares a sentinel between word attention and chunk transitions. These variants retain the region-control setup and test more local changes to the architecture. Additional comparisons include FC-2K and Neural Baby Talk alongside the original Up-Down captioner. These systems supply context for the caption-quality results. Their lack of the same control input is relevant to interpreting their performance on a task whose references are selected in part by that input.
Score the sentence against captions with the same request
The authors select references differently from an evaluation in which the image alone is the input. For each ordered request, a reference has to match both the image and the full ordered region sequence. Under unordered control, a reference needs to match the image and the collection of groups, with order left open. This avoids scoring a description of selected clothing against a reference for the same photograph that happened to emphasize unrelated content. It also means the available reference sentences capture what annotators said about that particular selection.
The paper uses several established automatic caption scores. These include ROUGE and CIDEr as well as BLEU-4, the version of BLEU reported in the comparisons. Those scores assess aspects of agreement with references, using methods distinct from the explicit noun-order measure. BLEU score
The other standard scores include METEOR and SPICE. The authors point out that METEOR does perform alignment, but it aligns individual words across the caption. Their purpose in NW is to focus the comparison on nouns in sequence, because these most directly reflect the ordered input in their setup. Keeping standard caption measures alongside NW gives the authors a way to report changes in the overall sentence as well as changes in the intended ordering. METEOR and SPICE
The unordered task calls for a different control measure. The paper constructs a soft intersection-over-union over the predicted and reference noun sets. It uses word-vector distances and the Hungarian algorithm to obtain an optimal assignment between the nouns. This produces a best correspondence across the sets, assigning each matched noun to a counterpart. The sum of the assignment profits becomes a soft intersection, allowing the assessment to credit similar terms. Since the input requests membership, the evaluation of that membership can ignore the order in which the assigned nouns occurred.
IoU(y, y*) = I(y, y*) / (#y + #y* − I(y, y*))
IoU is the soft intersection-over-union score for the generated caption y and the reference caption y*. The function I denotes the summed assignment profit, interpreted as an intersection. In this expression the operator # gives the cardinality of the noun set for its caption. The denominator takes both cardinalities and subtracts the soft intersection to form a corresponding union. Here the objects being compared are nouns, independently of the geometric box overlap used during Flickr30k Entities preparation.
Together, these choices define how a gain should be read. Better NW on an ordered benchmark means better agreement with the reference noun sequence according to its alignment and gap rules. Better noun IoU on an unordered benchmark means better overlap under the assignment. A change in ordinary caption scores offers a complementary measure of reference agreement. These distinctions matter because the ordered and unordered tasks assign different responsibilities to the captioner.
Ordered input on COCO Entities and Flickr30k Entities
The most detailed numerical account concerns ordered control on the COCO Entities test portion. With cross-entropy pretraining, the authors report a CIDEr gain of 32.0 and an NW gain of 0.112 in their comparison with Controllable LSTM and Controllable Up-Down. These are reported improvements in the named comparison. The prose gives no separate absolute scores for the two baselines in that account.
With CIDEr and NW in the reward, Show, Control and Tell reaches 0.649 on NW on the COCO Entities test split for ordered input. The paper puts the gain over Controllable Up-Down at 0.25 and expresses that gain as 12.5% of the full NW metric range. It reports that the optimized system also leads the comparison on the automatic caption scores. The reported gains in the chart use the comparator named for each training condition.
Reported ordered-control NW gains on the COCO Entities test split
The jointly rewarded captioner records the larger reported gain under its stated baseline comparison.
The numbers
| System or setting | NW gain over the stated comparison |
|---|---|
| Cross-entropy versus controllable baselines | 0.112 |
| CIDEr+NW versus Controllable Up-Down (this paper) | 0.25 |
The rows report margins. The absolute score of 0.649 belongs to the jointly optimized system, and the 0.112 entry is the earlier reported margin under cross-entropy. A direct estimate of the change caused by the training objective would require matched system scores under the two regimes. The narrative establishes the direction of the later improvement in alignment and gives its final absolute value.
The main ordered Flickr30k Entities comparison uses CIDEr+NW optimization for all the controllable methods. The authors report that the full system leads both on alignment and on the caption metrics on its test split. This uses references with manual phrase annotations, adding a different source of supervision to the one used for COCO Entities. The experiments still use detections for the supplied region features because the manual boxes are mapped to the detector’s outputs. The published narrative describes the improvement on Flickr30k Entities without giving numerical margins for those comparisons.
The qualitative ordered examples display the same photograph with changes to the region input. The paper uses marks on regions and on text to show where groundings occur and how they correspond to the supplied order. These displays help a reader inspect what the score is meant to capture. One can follow the plan and see which stretch of generated language is associated with each entry. The examples illustrate the operation of the framework alongside the test-split measurements.
Unordered input and coverage of the requested nouns
For unordered control, the proposed approach first predicts an order and then writes the caption. The reference condition only fixes the collection of groups. The word order chosen by the captioner can differ from a particular reference while the nouns still attain a high overlap under the assignment. This is the form of control the soft IoU comparison is intended to measure.
The authors report that Show, Control and Tell leads the compared systems on noun IoU on the test portions of both COCO Entities and Flickr30k Entities. They also report higher caption scores in these experiments. This combination concerns two aspects of the same output. The coverage measure asks whether the description reflects the supplied collection, while the other measures ask whether it resembles a good reference description. The text of the results gives the direction of these comparisons without spelling out the individual test scores.
The unordered results concern the full sequence of computations, from sorting through word realization, so improvement can reflect how the stages work together. The sorter also has its own ranking evaluation. A caption may still mention the expected nouns when their proposed order differs from the annotated one. Conversely, a plausible ordering at the sorting stage can be followed by an omission during generation. The use of both caption and ranking measurements gives the paper ways to examine those cases at different stages.
Diversity on the full COCO test split
The diversity experiment asks whether the framework can produce a collection of captions that includes good alternatives for an image. The authors compare against a system based on a variational autoencoder and the system steered by sequences of grammatical tags. For their own candidate pool, they collect regions that occur in control inputs for the image and consider permutations, favoring those whose generated captions have higher log probability. Changes to the arrangement supply changes to what the captioner is asked to express.
For each reference, the evaluation retains the highest-scoring generated candidate for each metric. Two metrics can therefore select different candidates, and distinct references to the same image can be matched by different sentences. This test rewards the ability to make a strong match available somewhere in the candidate pool. It uses the full COCO test split for comparability with the earlier diversity studies. The authors report favorable diversity performance under that procedure. Their narrative discusses the outcome without giving numerical scores for the individual systems.
The diversity study and the controlled studies ask different questions of the outputs. In the main control experiments a specific image and region request identify the reference group. In the diversity experiment the pool matters because each reference can use its best match. The results show that changing region arrangements can produce useful alternatives under that selection rule. The design of the test does not assign the same importance to every caption the arrangement procedure produces.
What the ablations show
Remove or share the memory used for visual attention
The first sentinel ablation removes the visual sentinel. The chunk sentinel still supports transition decisions, while local word attention has just the current regions as its candidates. This isolates a particular change in the full design. The recurrent computation and visual features are still present, but there is no learned memory vector participating alongside region features in the attention distribution for the next word. The question is whether giving that distribution a linguistic source improves the resulting caption when the visual input is already constrained by a region plan.
The other variant uses a single sentinel for its two roles. The captioner can still include an internal candidate in attention and make a gate prediction, but both operations use the same representation where the full version uses specialized memory reads. The difference matters even within a short phrase. Some words can be supplied mostly from context while the phrase is still in progress. Conversely, a word completing a phrase can depend strongly on the region it describes. These are examples of how the functions can call for different information. Sharing a vector gives the system less freedom to represent that difference explicitly.
The paper reports the full design ahead of the compared alternatives in its main results. The discussion does not give a separate numerical effect size for either sentinel modification. The ranking supports the joint design across the reported comparisons. It provides less detail about which errors disappear with each sentinel. In particular, the comparison is of captioning and control outcomes, instead of a direct classification of every word as visual or textual. The connection between specialized sentinels and those per-word roles is a rationale for the design and a possible explanation of the observed ranking.
Change how the generator receives the region request
The Controllable LSTM and Controllable Up-Down comparisons add evidence about the form of the control input the generator can use. The appendix reports consistently stronger performance for Controllable Up-Down. In that baseline, each selected region remains accessible to attention while the sentence is being written. In Controllable LSTM the last state of a recurrent encoder has to carry the request by itself, alongside the global visual descriptor. The paper interprets the comparison as evidence for attention and for how the request is represented. Since those changes occur together, the comparison cannot attribute a numerical effect to either alone.
The full system improves on Controllable Up-Down for both types of request. In the ordered setting this comparison includes an important functional difference. The full system is designed to use the ordering information through its pointer, whereas the baseline can attend over the selected regions without advancing through a prescribed schedule. Under unordered control, the advantage accompanies a learned choice of sequence followed by the same region-aware decoding. The comparisons show that allowing attention over a useful subset is a strong baseline, and that the evaluated combination of planning and structured generation can give further gains.
Train for caption quality with and without an order reward
The training comparisons distinguish the cross-entropy stage from further optimization on generated text. Supervised learning uses the annotated action at each position. Caption-quality optimization adds feedback about the generated sequence as a whole. Adding NW to that reward gives credit for matching the order of reference nouns. The word and gate streams have the same supervised starting task, so these comparisons examine what a different sequence-level objective contributes after that stage.
The supplementary ordered Flickr30k Entities experiments include cross-entropy alone, CIDEr optimization, and CIDEr+NW optimization. The supplement also covers the training choices in the set-controlled tests on both datasets. The authors report that the combined reward works well across these settings and that the full approach retains its lead over the control baselines. The strongest numerical anchor for improved alignment is still the final ordered COCO Entities result. The additional cases establish that the authors observed the favorable pattern across different inputs and matching procedures, without supplying enough prose values to size the effects condition by condition.
Because NW is both a reward and a measure used in the ordered evaluation, an advantage on that measure has a straightforward interpretation. The training procedure got better at an outcome it was designed to reward. The simultaneous advantage on the ordinary caption measures is separate evidence that the reported alignment result comes with good reference agreement at sentence level. The two facts answer related questions about the objective. They leave open how much the change improves grounding under an independent localization criterion.
Evaluate the sorter before it writes any words
The appendix tests whether the sorter reproduces reference rankings. Complete-ranking accuracy counts the share of predictions that match the target order throughout. Kendall’s Tau measures agreement between predicted and reference rankings on a scale from -1 to 1. The second measure allows the rankings to agree on many relative positions even when the entire ordering is different. These measures refer to region ordering before the captioner realizes it in a sentence.
The comparisons include a local rule based on detection probability and a fixed global ranking based on detector classes. They also include SVM Rank trained with the same features as the Sinkhorn network. The authors report that their sorter performs better than those alternatives. The shared-feature comparison makes the scoring and assignment approach relevant to explaining the result, because visual, class, and geometric information is available to both learned systems. The reported direction of the ranking comparison is clearer than the size of the improvement, which the prose does not specify.
The sorting result shows that the network can recover annotated orders more successfully than the ranking methods tested. An order that differs from the reference can still be a reasonable way to write about the requested groups. For that reason, complete-ranking accuracy provides a diagnostic about reproducing the chosen target. The unordered caption experiment remains necessary to see how well the resulting sequence works when the requester supplies membership and leaves the linguistic order open.
Keep examples with an unresolved chunk association in training
The authors also report a comparison involving the region groups that the COCO association procedure leaves empty. They obtained better final accuracy by filling those training groups with likely detections than by feeding empty groups. This finding is about the training input. Offering plausible visual candidates and an adaptive attention mechanism worked better in aggregate under the authors’ evaluation procedure. The result does not identify a correct replacement box for each missing annotation.
The supplemented examples make the source of the uncertainty visible. Some chunks have no detected counterpart, while others are missed by the association procedure. Giving the captioner candidate regions can keep those sentences usable in training, provided the architecture learns to handle the uncertainty. The tested improvement concerns that pragmatic choice. The controlled validation and test comparisons continue to use captions whose associations could be made.
Limitations
Limits the authors describe
The paper identifies two ways the COCO Entities preparation can fail to associate a chunk with visual content. The detector may miss the region, or the noun-to-class procedure may fail even when useful visual information exists. The supplementary examples show the ungrounded chunks in gray. The authors’ manual checks lead them to describe incorrect associations as infrequent, but the paper supplies no verification error rate in its account. Multiple associations can occur and some displays show a single representative box for legibility. A displayed box therefore need not show every candidate in the input group.
The authors compensate for empty matches during training using likely detections and remove the affected captions during controlled validation and testing. This defines a boundary on which requests are represented by those test results. The evaluation covers references that can be linked to the detected content using the dataset procedure. The sorting implementation adds a separate stated boundary, the maximum scrambled input length of 10. The paper presents that setting with the masking procedure for variable-length inputs and offers no experimental characterization of performance on longer requests.
Driver assistance appears as an example of a setting where external control and a visible correspondence between words and the image could matter. The authors use image-caption datasets to evaluate those capabilities. The experiments address how to write a caption once the visual content has been selected. A deployed warning system would also need to select the hazard in the first place and would be judged on whether it issued a timely, correct alert. The paper’s evidence is about generation under region requests.
Limits that follow from the evaluation and architecture
The COCO Entities test filter can preferentially retain captions whose entities fit the detector and the noun-to-class index. Success on that test population leaves the behavior on excluded requests unresolved. The manually aligned Flickr30k Entities comparisons reduce dependence on the automatic noun-to-class procedure, but the captioner there also receives detector regions. A poor match between a manual box and a detection can weaken the visual input even when the reference association is accurate. Both aspects follow from using detection features as the practical vocabulary of control.
A pointer gives the caption an explicit sequence of region assignments. The mechanism allows however many words generation calls for at each step. It also permits movement at an unsuitable boundary, and the pointer equation clamps later advances once it reaches the end. There is no stated decoding guarantee that every supplied group will be expressed with an appropriate noun chunk before the caption ends. The authors’ test scores give empirical evidence about adherence under their setup. The update rule gives a trace of where a failure to adhere could arise.
Grounding has a limited explanatory scope. Knowing that a chunk was produced with a given group active can help someone inspect its intended referent. A group that includes multiple detections still leaves room for ambiguity about the exact source of a modifier. The lower recurrent layer also receives a global descriptor averaged over detections, and its memory participates in both decisions. As a consequence, the local region assignment identifies the immediate context available to the chunk without exhausting all influences on the word prediction. A reader can use the associations to inspect content progression while recognizing this narrower sense of explanation.
Both control measures use the reference nouns as a proxy for the requested visual material. An output may name the boy and the cap in the expected order while making an incorrect claim about their relationship. Noun similarity would only see the names and their ordering. Related terms can also receive partial credit through their embeddings without denoting exactly the same entity. Conversely, a good description with unusual wording can score differently because noun extraction or embedding similarity treats the expression differently. These are limits of what the metrics assess. The paper includes standard caption scores alongside them, but the evaluations described do not independently verify each visual claim in the generated text.
The available baselines address how much can be gained by stronger ways of conveying region control. They also differ in what information is explicitly usable at each step. Gains over image-only captioners reflect comparison under a reference protocol that conditions on a request these captioners never receive. Gains over Controllable Up-Down include the effect of having machinery for order when an order is part of the input. The comparisons are evidence about the suitability of complete systems for the task. Assigning precise portions of the improvement to individual architectural choices would require finer numerical evidence from matched variations.
The diversity result has its own qualification. The evaluation is free to choose a different candidate for each reference and each metric. A strong pool can therefore score well even if some candidates within it are weak. The experiment measures whether the procedure can make good alternatives available, using the regions found in the controls and favoring probable permutations. It leaves open how useful a typical single candidate would be under arbitrary requests and how people would select among the alternatives in a live interaction.
Finally, the ranking evaluation uses an annotated sequence as the target even for a collection that admits other coherent arrangements. A sorter may depart from the reference and still make a sentence that covers the requested content naturally. Conversely, matching the order exactly says little about whether the words will describe those regions accurately. The separate ranking and caption experiments help locate the measured improvement, with each inheriting the limits of its own target.
What came after
AGIC is a 2026 work that cites Show, Control and Tell and identifies attention-guided caption relevance as its subject. Relevance is a point of contact between the works. Show, Control and Tell gives the requester a direct way to identify relevant content by selecting regions, then uses attention during generation within the scope of the active group. AGIC’s stated focus places attention at the center of the question of how to make captions more relevant. The citation and title establish that connection. They leave the specific technical relationship, including any use of region ordering or chunk transitions, unspecified. AGIC: Attention-Guided Image Captioning to Improve Caption Relevance
Cite
Cite as Marcella Cornia, Lorenzo Baraldi and Rita Cucchiara. 2019. Show, Control and Tell: A Framework for Generating Controllable and Grounded Captions. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.
@inproceedings{cornia2019show,
title = {{Show, Control and Tell: A Framework for Generating Controllable and Grounded Captions}},
author = {Marcella Cornia, Lorenzo Baraldi and Rita Cucchiara},
booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
year = {2019},
doi = {10.1109/cvpr.2019.00850},
eprint = {1811.10652},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/cvpr.2019.00850}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cornia-2019-show-control-tell-framework-generating/
References
- P. Anderson, B. Fernando, M. Johnson, and S. Gould. Guided open vocabulary image captioning with constrained beam search. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2016. our card
- P. Anderson, B. Fernando, M. Johnson, and S. Gould. SPICE: Semantic Propositional Image Caption Evaluation. In Proceedings of the European Conference on Computer Vision, 2016. our card
- P. Anderson, X. He, C. Buehler, D. Teney, M. Johnson, S. Gould, and L. Zhang. Bottom-up and top-down attention for image captioning and visual question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. OpenAlex ↗ · Scholar ↗
- S. Banerjee and A. Lavie. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In Proceedings of the ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization, 2005. our card
- L. Baraldi, C. Grana, and R. Cucchiara. Hierarchical boundary-aware neural encoder for video captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. OpenAlex ↗ · Scholar ↗
- D. Chen and C. Manning. A fast and accurate dependency parser using neural networks. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2014. our card
- M. Cornia, L. Baraldi, G. Serra, and R. Cucchiara. Paying more attention to saliency: Image captioning with saliency and context attention. ACM Transactions on Multimedia Computing, Communications, and Applications, 14(2):48, 2018. OpenAlex ↗ · Scholar ↗
- B. Dai, S. Fidler, R. Urtasun, and D. Lin. Towards Diverse and Natural Image Descriptions via a Conditional GAN. In Proceedings of the International Conference on Computer Vision, 2017. OpenAlex ↗ · Scholar ↗
- A. Deshpande, J. Aneja, L. Wang, A. Schwing, and D. A. Forsyth. Diverse and controllable image captioning with part-of-speech guidance. arXiv preprint arXiv:1805.12589, 2018. OpenAlex ↗ · Scholar ↗
- J. Donahue, L. Anne Hendricks, S. Guadarrama, M. Rohrbach, S. Venugopalan, K. Saenko, and T. Darrell. Long-term recurrent convolutional networks for visual recognition and description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015. our card
- C. Gan, Z. Gan, X. He, J. Gao, and L. Deng. Stylenet: Generating attractive visual captions with styles. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. OpenAlex ↗ · Scholar ↗
- Y. Goldberg and J. Nivre. Training deterministic parsers with non-deterministic oracles. Transactions of the Association of Computational Linguistics, 1:403–414, 2013. OpenAlex ↗ · Scholar ↗
- K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. our card
- M. Honnibal, Y. Goldberg, and M. Johnson. A non-monotonic arc-eager transition system for dependency parsing. In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, 2013. our card
- R. Hu, M. Rohrbach, J. Andreas, T. Darrell, and K. Saenko. Modeling relationships in referential expressions with compositional modular networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. OpenAlex ↗ · Scholar ↗
- R. Hu, H. Xu, M. Rohrbach, J. Feng, K. Saenko, and T. Darrell. Natural language object retrieval. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. OpenAlex ↗ · Scholar ↗
- J. Johnson, A. Karpathy, and L. Fei-Fei. Densecap: Fully convolutional localization networks for dense captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. OpenAlex ↗ · Scholar ↗
- A. Karpathy and L. Fei-Fei. Deep visual-semantic alignments for generating image descriptions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015. our card
- R. Krishna, Y. Zhu, O. Groth, J. Johnson, K. Hata, J. Kravitz, S. Chen, Y. Kalantidis, L.-J. Li, D. A. Shamma, M. Bernstein, and L. Fei-Fei. Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotations. International Journal of Computer Vision, 123(1):32–73, 2017. our card
- H. W. Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83–97, 1955. OpenAlex ↗ · Scholar ↗
- C.-Y. Lin. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out: Proceedings of the ACL Workshop, volume 8, 2004. our card
- T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft COCO: Common Objects in Context. In Proceedings of the European Conference on Computer Vision, 2014. our card
- S. Liu, Z. Zhu, N. Ye, S. Guadarrama, and K. Murphy. Improved image captioning via policy gradient optimization of spider. In Proceedings of the International Conference on Computer Vision, 2017. OpenAlex ↗ · Scholar ↗
- J. Lu, C. Xiong, D. Parikh, and R. Socher. Knowing when to look: Adaptive attention via a visual sentinel for image captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. OpenAlex ↗ · Scholar ↗
- J. Lu, J. Yang, D. Batra, and D. Parikh. Neural Baby Talk. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. OpenAlex ↗ · Scholar ↗
- C. D. Manning, C. D. Manning, and H. Schütze. Foundations of statistical natural language processing. MIT press, 1999. OpenAlex ↗ · Scholar ↗
- A. Mathews, L. Xie, and X. He. SemStyle: Learning to Generate Stylised Image Captions using Unaligned Text. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. OpenAlex ↗ · Scholar ↗
- A. P. Mathews, L. Xie, and X. He. SentiCap: Generating Image Descriptions with Sentiments. In Proceedings of the Conference on Articial Intelligence, 2016. OpenAlex ↗ · Scholar ↗
- G. Mena, D. Belanger, S. Linderman, and J. Snoek. Learning latent permutations with gumbel-sinkhorn networks. Proceedings of the International Conference on Learning Representations, 2018. OpenAlex ↗ · Scholar ↗
- S. B. Needleman and C. D. Wunsch. A general method applicable to the search for similarities in the amino acid sequence of two proteins. Journal of Molecular Biology, 48(3):443–453, 1970. OpenAlex ↗ · Scholar ↗
- K. Papineni, S. Roukos, T. Ward, and W.-J. Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting on Association for Computational Linguistics, 2002. our card
- M. Pedersoli, T. Lucas, C. Schmid, and J. Verbeek. Areas of attention for image captioning. In Proceedings of the International Conference on Computer Vision, 2017. OpenAlex ↗ · Scholar ↗
- J. Pennington, R. Socher, and C. Manning. GloVe: Global vectors for word representation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2014. our card
- B. A. Plummer, L. Wang, C. M. Cervantes, J. C. Caicedo, J. Hockenmaier, and S. Lazebnik. Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. In Proceedings of the International Conference on Computer Vision, 2015. OpenAlex ↗ · Scholar ↗
- M. Ranzato, S. Chopra, M. Auli, and W. Zaremba. Sequence level training with recurrent neural networks. In Proceedings of the International Conference on Learning Representations, 2015. our card
- S. Ren, K. He, R. Girshick, and J. Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In Advances in Neural Information Processing Systems, 2015. our card
- S. J. Rennie, E. Marcheret, Y. Mroueh, J. Ross, and V. Goel. Self-critical sequence training for image captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. our card
- A. Rohrbach, M. Rohrbach, R. Hu, T. Darrell, and B. Schiele. Grounding of textual phrases in images by reconstruction. In Proceedings of the European Conference on Computer Vision, 2016. OpenAlex ↗ · Scholar ↗
- R. Shetty, M. Rohrbach, L. A. Hendricks, M. Fritz, and B. Schiele. Speaking the Same Language: Matching Machine to Human Captions by Adversarial Training. In Proceedings of the International Conference on Computer Vision, 2017. OpenAlex ↗ · Scholar ↗
- R. Vedantam, C. Lawrence Zitnick, and D. Parikh. CIDEr: Consensus-based Image Description Evaluation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015. our card
- A. K. Vijayakumar, M. Cogswell, R. R. Selvaraju, Q. Sun, S. Lee, D. J. Crandall, and D. Batra. Diverse Beam Search for Improved Description of Complex Scenes. In Proceedings of the Conference on Articial Intelligence, 2018. OpenAlex ↗ · Scholar ↗
- O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. Show and tell: A neural image caption generator. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015. our card
- O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. Show and Tell: Lessons Learned from the 2015 MSCOCO Image Captioning Challenge. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(4):652–663, 2017. OpenAlex ↗ · Scholar ↗
- J. Wang, P. Madhyastha, and L. Specia. Object Counts! Bringing Explicit Detections Back into Image Captioning. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2018. OpenAlex ↗ · Scholar ↗
- L. Wang, A. Schwing, and S. Lazebnik. Diverse and accurate image description using a variational auto-encoder with an additive gaussian encoding space. In Advances in Neural Information Processing Systems, 2017. OpenAlex ↗ · Scholar ↗
- K. Xu, J. Ba, R. Kiros, K. Cho, A. Courville, R. Salakhutdinov, R. S. Zemel, and Y. Bengio. Show, attend and tell: Neural image caption generation with visual attention. In Proceedings of the International Conference on Machine Learning, 2015. our card
- Z. Yang, Y. Yuan, Y. Wu, W. W. Cohen, and R. R. Salakhutdinov. Review networks for caption generation. In Advances in Neural Information Processing Systems, 2016. OpenAlex ↗ · Scholar ↗
- Q. You, H. Jin, Z. Wang, C. Fang, and J. Luo. Image captioning with semantic attention. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. OpenAlex ↗ · Scholar ↗
- P. Young, A. Lai, M. Hodosh, and J. Hockenmaier. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Transactions of the Association for Computational Linguistics, 2:67–78, 2014. OpenAlex ↗ · Scholar ↗
- Y. Zhang, J. C. Niebles, and A. Soto. Interpretable Visual Question Answering by Visual Grounding from Attention Supervision Mining. In Proceedings of the IEEE Winter Conference on Applications of Computer Vision, 2018. OpenAlex ↗ · Scholar ↗