Do Visual Grounding Decoders Need Feed-Forward Networks? A Controlled Study over Frozen Vision-Language Features
This controlled study demonstrates that removing feed-forward networks from visual grounding decoders can match or exceed the performance of standard architectures while significantly reducing trainable parameters and latency, provided that the model's capacity is compensated by increasing the number of attention-only layers.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a computer that can look at a photograph and understand a sentence describing a specific part of that image, such as "the dog sitting on the red chair." This ability, known as visual grounding, relies on a complex internal system that acts like a translator, matching words to pixels. For years, the standard design for this translator has included two distinct types of processing steps. The first step, called attention, allows the system to scan the image and the sentence simultaneously, deciding which parts of the picture are relevant to the words being read. The second step, known as a feed-forward network, acts like a local calculator that processes each piece of information individually, applying a non-linear transformation to refine the details before passing them along.
The question researchers have been asking is whether both steps are truly necessary when the computer is already using a massive, pre-trained brain to do the heavy lifting. In modern systems, a large pre-trained model first converts the image and text into a rich, contextualized representation. A smaller, trainable decoder then sits on top of this foundation to pinpoint the exact location. Because the heavy lifting of understanding the world has already been done by the large model, it is unclear if the smaller decoder still needs its own local calculators, or if the scanning mechanism alone is sufficient to find the target. This uncertainty matters because removing unnecessary parts could make these systems faster and smaller, which is crucial for running them on everyday devices.
A researcher set out to answer this by conducting a controlled experiment where they stripped away the local calculators from the decoder while keeping everything else exactly the same. They built three versions of a decoder to test this idea. The first version contained four blocks of the scanning mechanism but no local calculators. The second version was identical in size and structure but included the local calculators in each block. The third version was a control group that doubled the number of scanning blocks to match the total number of adjustable settings in the second version, ensuring that any difference in performance was due to the type of processing, not just the amount of computing power available. They tested these versions on several datasets, ranging from standard image descriptions to more difficult, tricky sentences designed to confuse the system.
The results revealed a nuanced picture rather than a simple yes or no. On standard, straightforward descriptions, the version without the local calculators performed just as well as, and in some cases slightly better than, the version with them. This suggests that for many common tasks, the scanning mechanism alone is enough to retrieve the correct information from the pre-trained foundation. However, when the researcher tested the system on a dataset specifically designed to measure complex compositional reasoning, the version without the calculators showed a small but measurable drop in accuracy. It missed the target slightly more often than the version with the calculators. This indicated that the local calculators do provide a benefit when the task requires assembling multiple pieces of information in a specific way.
Crucially, the researcher found that this disadvantage was not permanent. When they gave the version without calculators more scanning blocks to compensate for the missing parts, it recovered the lost accuracy and matched the performance of the version with calculators. This discovery shifts the understanding of what the system needs: it is not that the local calculators are uniquely essential, but rather that the system needs a certain amount of capacity to do the work. If the calculators are removed, that capacity can be replaced by adding more layers of the scanning mechanism. The study also showed that removing the calculators reduced the number of adjustable settings in the decoder by nearly half and made the decoding step slightly faster, though the overall speed of the system remained dominated by the large pre-trained model at the beginning.
The researcher also tested whether the system would fail more often on difficult sentences, such as those with negations or many distracting objects, expecting that the lack of calculators would cause a steady decline in performance as the tasks got harder. Instead, they found no such pattern. The system did not collapse under pressure in a predictable way, and the difficulty of the sentence did not consistently predict whether the calculators were needed. This suggests that the need for these components is not tied to a simple rule of "harder task equals more calculators."
Ultimately, the study concludes that for a visual grounding system built on top of a pre-trained model, the local calculators are not universally required. They can be removed without hurting performance on standard tasks, and their specific contribution can be replaced by increasing the depth of the scanning mechanism if the task demands it. The findings suggest that the architecture of these systems can be simplified and made more efficient, provided that the total amount of processing power is maintained through other means. This offers a clear path for designing smaller, more efficient models that can still accurately locate objects in images based on language, without relying on every component of the traditional design.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.