---
title: Image Aesthetic Saliency Module (IASM)
url: https://www.emergentmind.com/topics/image-aesthetic-saliency-module-iasm
type: topic
---

# Image Aesthetic Saliency Module (IASM)

Image Aesthetic Saliency Module (IASM) denotes a class of model components that extract or encode image regions most consequential for aesthetic judgment, rather than merely regions that are visually attention-grabbing. In the cited literature, the term is used for a composition- and saliency-aware aesthetic score tensor in image cropping, for a LayerCAM-based aesthetic saliency extractor in aesthetic image captioning, and for a saliency-augmented multi-pattern pooling mechanism that can function as an IASM in composition assessment [1911.10492] [2509.04378] [2104.03133]. Across these formulations, the common role is to couple saliency with aesthetics-oriented spatial structure so that downstream models prioritize placement, layout, and photographic quality cues.

## 1. Conceptual scope and definitional variants

Aesthetic saliency is not identical to generic visual saliency. In the aesthetic image captioning formulation, aesthetic saliency denotes image regions that most contribute to perceived beauty and photographic quality, including composition, color harmony, lighting, focus, depth of field, reflections, sky, and foliage; generic visual saliency, by contrast, primarily highlights foreground objects and attention-grabbing subject regions [2509.04378]. In the cropping formulation, saliency-awareness is operationalized by encouraging visually salient regions to have more sensitive aesthetic scores across relative positions in candidate crops [1911.10492]. In the composition-assessment formulation, saliency is injected as partitioned saliency vectors or saliency-weighted pooling so that location and scale cues of salient objects are retained under multiple composition templates [2104.03133].

| Formulation | Downstream task | Characteristic output |
|---|---|---|
| ASM-Net core component | Aesthetic image cropping | Full-resolution position-sensitive aesthetic score tensor $\mathbf{M} \in \mathbb{R}^{H \times W \times L}$ |
| ASE-MLLM IASM | Aesthetic Image Captioning | Scalar saliency map $M_c \in \mathbb{R}^{h \times w}$ and aesthetic saliency features |
| SAMP as IASM | Image composition assessment | Composition-aware feature $\mathbf{f}_{\text{samp}}$ and pattern weights $w \in \mathbb{R}^P$ |

This suggests that IASM is best understood not as a single canonical architecture but as a recurring design principle: aesthetic prediction is improved when saliency is made sensitive to composition, partition structure, or aesthetics-oriented token fusion.

## 2. Position-sensitive IASM in aesthetic image cropping

In ASM-Net, the core IASM-like component builds a single shared, full-resolution, position-sensitive aesthetic score tensor for an image and uses crop-specific composition-aware pooling to score candidate crops [1911.10492]. Let the input image be $I$ with spatial size $H \times W$, and let the backbone be a fully convolutional network derived from VGG16. Multi-scale feature maps from different convolutional layers are upsampled by bilinear interpolation to the input resolution and concatenated along the channel dimension to form a high-resolution multi-scale feature map $F \in \mathbb{R}^{H \times W \times C}$. A $1 \times 1$ convolution then produces the aesthetic score tensor
$$
\mathbf{M} \in \mathbb{R}^{H \times W \times L},
$$
where $L$ is the number of composition partitions under a chosen pattern such as a $3 \times 3$ grid, multi-rectangle, multi-direction, or cross-rectangle. Larger scores indicate higher aesthetic quality conditioned on the partition channel.

Composition-awareness is defined through a crop-specific partition mapping. For any axis-aligned crop window $W \subseteq I$ and any pixel location $(i,j) \in W$, the mapping
$$
\gamma_W(i,j) \in \{1,2,\ldots,L\}
$$
encodes the partition index of $(i,j)$ within $W$, hence its relative position inside that crop. The composition-aware aesthetic score for a pixel is
$$
S(i,j \mid I,W) = m_{i,j,\gamma_W(i,j)},
$$
and the crop-level aesthetic score is
$$
A(W) \equiv \Phi(W) = \frac{1}{|W|}\sum_{(i,j)\in W} m_{i,j,\gamma_W(i,j)}.
$$
Because $\gamma_W$ depends on the crop, the same image region can receive different aesthetic scores across different crops. This is the mechanism by which the module models relative placement rather than absolute image coordinates.

For grid patterns with $L=x \cdot y$, efficient composition-aware pooling is implemented by spatial average pooling within each grid cell of the crop, followed by reshaping to a square matrix $\mathbf{M}''_W \in \mathbb{R}^{L \times L}$ whose diagonal aligns cell indices with partition channels. The crop score is then
$$
\Phi(W) = \frac{1}{L}\sum \operatorname{diag}(\mathbf{M}''_W).
$$
For non-grid patterns, the paper approximates the pattern by subdividing it into $\tilde{L}$ fine cells and copying values from $\mathbf{M}$ according to which fine cell belongs to which original partition; the same grid pooling is then applied.

Saliency-awareness is imposed during training. An explicit saliency map $\mathbf{S} \in [0,1]^{H \times W}$ is computed using the spectral residual method of Hou and Zhang (2007). Two statistics over the $L$ channels of $\mathbf{M}$ are defined:
$$
\theta_{avg}(p_{i,j}) = \frac{1}{L}\sum_{l=1}^{L} m_{i,j,l},
$$
$$
\theta_{std}(p_{i,j}) = \left[\frac{1}{L}\sum_{l=1}^{L}(m_{i,j,l}-\theta_{avg}(p_{i,j}))^2\right]^{1/2}.
$$
High $\theta_{avg}$ identifies content-important regions; high $\theta_{std}$ identifies composition-sensitive regions. The saliency-aware loss is
$$
\bar{\theta}_{std} = \frac{1}{HW}\sum_{i=1}^{H}\sum_{j=1}^{W}\theta_{std}(p_{i,j}),
$$
$$
\mathcal{L}_{sal} = \frac{1}{HW}\sum_{i=1}^{H}\sum_{j=1}^{W}(1-s_{i,j})\cdot \left[\frac{\theta_{std}(p_{i,j})}{\bar{\theta}_{std}}\right].
$$
This penalizes large composition sensitivity in non-salient regions and thereby forces composition sensitivity toward salient regions. Ranking supervision is supplied by densely annotated crops and a pairwise hinge loss,
$$
\mathcal{L}_{rank} = \sum_{(k,t)\in \mathcal{R}} \max\{0,1+\Phi(W_t)-\Phi(W_k)\},
$$
with total objective
$$
\mathcal{L} = \mathcal{L}_{rank} + \lambda \mathcal{L}_{sal}.
$$

At inference, $\mathbf{M}$ is computed once per image, candidate crops are generated by a two-stage search over predefined anchor boxes and local refinements, and each crop is scored by composition-aware pooling. The FCN pass is $O(H \cdot W \cdot C)$ once per image, while scoring $n$ candidate crops is $O(n)$ when efficient cell-average diagonal pooling is used.

## 3. Gradient-based IASM in aesthetic image captioning

Within ASE-MLLM, IASM is a lightweight, plug-in saliency extractor that explicitly extracts and encodes aesthetic saliency from an input image and routes it to IAS-ViT so that the downstream multimodal LLM can preferentially attend to regions with high aesthetic value during caption generation [2509.04378]. The framework uses dynamic patch segmentation into $448 \times 448$ tiles, adjusts the number of tiles from $1$ to $40$ to support up to $4$K resolution, and adds a thumbnail for global context. IASM outputs a scalar saliency map $M_c \in \mathbb{R}^{h \times w}$ at the target EAT layer’s spatial resolution and per-channel weighted activations that are later embedded as aesthetic saliency features.

The module combines an aesthetics-oriented backbone, EAT, with LayerCAM to compute aesthetic class activation maps. Given an image $I$, the EAT model produces intermediate feature maps
$$
A = \{A^k\}_{k=1}^{C}, \qquad A^k \in \mathbb{R}^{h \times w},
$$
while a classifier head produces category scores
$$
y = F(f(I;\theta_{EAT});\theta_{cls}), \qquad y_c = F_c(f(I;\theta_{EAT});\theta_{cls}),
$$
with $c = \arg\max_c y_c$ denoting the top-scoring aesthetic category. LayerCAM defines
$$
g_{ij}^k = \frac{\partial y_c}{\partial A_{ij}^k}, \qquad w_{ij}^k = \operatorname{ReLU}(g_{ij}^k), \qquad \hat{A}_{ij}^k = w_{ij}^k \cdot A_{ij}^k,
$$
and aggregates across channels as
$$
M_c(i,j) = \operatorname{ReLU}\left(\sum_{k=1}^{C}\hat{A}_{ij}^k\right).
$$
No ground-truth saliency annotations are required. The paper describes the resulting map as pseudo-saliency obtained by backpropagating gradients from the EAT classifier’s top-scoring aesthetic category prediction. Supervision comes solely from the downstream captioning objective.

IAS-ViT then fuses these saliency features with original image features through cross-attention. The encoder contains $N=24$ blocks, each using the standard “Norm → Self-Attention → Norm → MLP” structure with an added cross-attention block after self-attention. Let $X \in \mathbb{R}^{T \times d}$ be the original image token sequence and $S \in \mathbb{R}^{T_s \times d}$ be tokenized aesthetic saliency features. Cross-attention is defined by
$$
Q = S W_Q,\qquad K = X W_K,\qquad V = X W_V,
$$
$$
\alpha = \operatorname{softmax}(QK^\top/\sqrt{d_k}),\qquad O = \alpha V,\qquad X_{fused} = X + O.
$$
The specialization is that queries come from aesthetic saliency features while keys and values come from original image features. The fused visual tokens are projected into the LLM’s text embedding space by an MLP projector composed of LayerNorm, Linear, and GELU layers, then concatenated with prompt tokens from InternLM2.Tokenizer. The fixed prompt is “Comment on this image from an aesthetic perspective.”

The training objective is standard next-token cross-entropy only:
$$
L_{cap} = - \sum_{t=1}^{T}\log p(w_t \mid w_{<t}, Z; \theta_{MLLM}), \qquad L = L_{cap}.
$$
No saliency alignment loss or auxiliary regularizer is introduced. The base model is InternVL2-8B with InternLM2-Chat, the optimizer is AdamW, the initial learning rate is $4e^{-5}$, weight decay is $0.01$, the warmup ratio is $0.03$, and the scheduler is cosine annealing. The paper does not specify whether EAT is frozen or updated during fine-tuning.

## 4. Saliency-augmented multi-pattern pooling as IASM for composition assessment

In SAMP-Net, the Saliency-Augmented Multi-pattern Pooling module can operate as an IASM for composition assessment by combining fixed composition-pattern masks, partition-wise visual pooling, and saliency augmentation [2104.03133]. The backbone is a ResNet18 pretrained on ImageNet. Input images are resized to $224 \times 224$, producing a global feature map $F$ of size $7 \times 7$ with $C$ channels. An off-the-shelf unsupervised saliency detector, again the spectral residual method of Hou and Zhang (2007), produces a saliency map at $56 \times 56$; the paper notes that supervised saliency models were tried but were less effective.

The module analyzes composition through eight fixed patterns inspired by photographic composition: vertical symmetry, horizontal symmetry, diagonal band, anti-diagonal band, center composition, vertical symmetric tripartition, horizontal symmetric tripartition, and rule-of-thirds. For pattern $p$, the spatial domain is split into non-overlapping partitions $\{\mathcal{X}^p_1,\ldots,\mathcal{X}^p_{K_p}\}$. With pixel-wise feature $\mathbf{x}_{i,j}\in \mathbb{R}^C$, average pooled partition features are
$$
\theta(\mathcal{X}^p_k)=\frac{1}{|\mathcal{X}^p_k|}\sum_{(i,j)\in \mathcal{X}^p_k}\mathbf{x}_{i,j}.
$$
Rather than saliency pooling, the corresponding saliency patch is reshaped into a vector
$$
\psi(\mathcal{X}^p_k)\in \mathbb{R}^{D^p_k},
$$
so that spatial detail is preserved. The partition feature is
$$
\mathbf{z}^p_k = \left[\psi(\mathcal{X}^p_k),\theta(\mathcal{X}^p_k)\right].
$$
Concatenating all partition features for pattern $p$ yields $\tilde{\mathbf{f}}^p_{\text{samp}}$, which is embedded by
$$
\mathbf{f}^p_{\text{samp}} = \sigma\!\Big(\mathbf{W}_p\tilde{\mathbf{f}}^p_{\text{samp}}+\mathbf{b}_p\Big),
$$
with $\sigma$ being ReLU.

Pattern weights are learned per image from the global feature map using global average pooling followed by a fully connected layer and softmax,
$$
w_p = \operatorname{softmax}_p\Big(\mathbf{u}^\top \operatorname{GAP}(F)+b\Big), \qquad p=1,\ldots,P,\; P=8,
$$
and aggregated as
$$
\mathbf{f}_{\text{samp}}=\sum_{p=1}^{P} w_p\, \mathbf{f}^p_{\text{samp}}.
$$
This produces an interpretable pattern-weighted representation of composition. Two linear heads then split the representation into composition and attribute features,
$$
\mathbf{f}_{\text{comp}}=\mathbf{W}_{\text{comp}}\mathbf{f}_{\text{samp}}+\mathbf{b}_{\text{comp}}, \qquad
\mathbf{f}_{\text{atts}}=\mathbf{W}_{\text{atts}}\mathbf{f}_{\text{samp}}+\mathbf{b}_{\text{atts}},
$$
and the Attentional Attribute Feature Fusion module learns
$$
[e_1,e_2]=\operatorname{sigmoid}\big(\mathbf{W}_e[\mathbf{f}_{\text{comp}},\mathbf{f}_{\text{atts}}]+\mathbf{b}_e\big),
$$
$$
\mathbf{f}_{\text{fused}}=[e_1\mathbf{f}_{\text{comp}},e_2\mathbf{f}_{\text{atts}}].
$$
A distribution regression head then predicts a probability distribution over discrete composition scores $1$–$5$ by softmax, and the predicted mean score is the expectation under that distribution.

The paper additionally states that the same module can be expressed as a standalone IASM using saliency-weighted spatial integration within each pattern:
$$
\mathbf{f}_p = \frac{\sum_{x,y} w_p(x,y)\, S(x,y)\, F(x,y)}{\sum_{x,y} w_p(x,y)\, S(x,y)},
$$
or, without normalization,
$$
\mathbf{f}_p = \sum_{x,y} w_p(x,y)\, S(x,y)\, F(x,y).
$$
This variant is described as a straightforward way to deploy SAMP as a plug-in module in other aesthetic models.

## 5. Supervision, optimization, and task-specific outputs

The three IASM formulations differ markedly in supervision and objective design. In image cropping, supervision is provided by densely annotated crops on CPC and GAICD, with ranking pairs
$$
\mathcal{R}=\{(k,t)\mid y_k-y_t\ge \delta,\; k\neq t\},
$$
using $\delta=0.3$ on CPC and $\delta=0.9$ on GAICD, and saliency maps computed by the spectral residual method for every training image [1911.10492]. CPC contains $10{,}797$ images with $24$ crops per image; GAICD contains $1{,}236$ images with approximately $86$ crops per image. The default composition pattern is cross-rectangle with $12$ partitions, and $\lambda=0.1$ is the default trade-off in the total loss.

In aesthetic captioning, supervision is purely textual. ASE-MLLM is trained and evaluated on DPC2022, PCCD, and RPCD, with splits following the original papers, and uses the standard next-token cross-entropy loss only [2509.04378]. DPC2022 contains $510$K images and more than $5$M comments; PCCD contains $4{,}235$ images and more than $60$K critiques; RPCD contains $74$K images and $220$K comments. Evaluation uses BLEU-1..4, METEOR, ROUGE, CIDEr, SPICE, SPICE-L, Precision, and Recall. Saliency is therefore latent with respect to explicit annotation: it is generated by LayerCAM from the EAT classifier and optimized indirectly through captioning performance.

In composition assessment, supervision is distributional and multi-task. CADB contains $9{,}497$ images after removing $461$ biased images from $9{,}958$ real-world photos, and each image is rated by five professional fine-art raters on a $1$–$5$ scale [2104.03133]. The dataset is split into $8{,}547$ training images and $950$ test images. The composition distribution head is trained with squared EMD, and the paper extends this to weighted EMD to reduce content bias:
$$
\mathcal{L}_{\mathrm{wEMD}} = \frac{1}{N}\sum_{n=1}^{N}\omega^{(n)}\left[\frac{1}{K}\sum_{k=1}^{K}\Big(\operatorname{CDF}(\hat{\mathbf{p}}^{(n)})_k-\operatorname{CDF}(\mathbf{p}^{(n)})_k\Big)^2\right].
$$
Attribute regression over rule of thirds, balancing elements, object emphasis, symmetry, and repetition uses mean squared error,
$$
\mathcal{L}_{\mathrm{attr}} = \frac{1}{M}\sum_{j=1}^{M}\|\hat{a}_j-a_j\|_2^2,
$$
and the full objective is
$$
\mathcal{L} = \mathcal{L}_{\mathrm{wEMD}} + \lambda \mathcal{L}_{\mathrm{attr}}, \qquad \lambda=0.1.
$$

A common misconception is that an IASM requires direct saliency supervision. The cited formulations do not support that generalization. The cropping model computes explicit saliency maps but trains the aesthetic score tensor through ranking plus saliency regularization; the captioning model requires no ground-truth saliency annotations at all; and the composition model uses an external saliency detector while optimizing composition distributions and attributes rather than saliency labels.

## 6. Empirical behavior, interpretability, and limitations

The cropping formulation reports strong results and extensive ablations [1911.10492]. On CPC validation ranking accuracy, a $1 \times 1$ grid achieves $59.46\%$, a $1 \times 3$ grid $75.64\%$, a $3 \times 1$ grid $71.33\%$, a $5 \times 5$ grid $86.38\%$, multi-rectangle $81.34\%$, multi-direction $83.22\%$, and cross-rectangle with $12$ partitions $87.59\%$, which is the best and therefore the default. On the saliency-aware loss ablation, removing saliency-aware loss ($\lambda=0$) leads to a $3.22\%$ drop relative to the best validation accuracy, and the best setting occurs at $\lambda=0.1$. For best-crop prediction when trained on CPC, the model reaches IoU $0.7489$ and Disp $0.068$ on FCDB, and IoU $0.8486$ and Disp $0.039$ on FLMS. On multiple-crop ranking on GAICD with the $1{,}036/200$ split, it reports SRCC $0.766$, Acc\_5 $54.3\%$, and Acc\_10 $71.5\%$. Interpretability is provided through heatmaps of $\theta_{avg}$ and $\theta_{std}$, which reveal content-important and composition-sensitive regions. Without $\mathcal{L}_{sal}$, the model learns a corner bias linked to dataset statistics; with $\lambda=0.1$, $\theta_{std}$ concentrates more on visually salient regions.

The captioning formulation reports state-of-the-art performance across most metrics on mainstream AIC benchmarks and shows that IASC, defined as IASM plus IAS-ViT, consistently improves over fine-tuning alone [2509.04378]. On DPC2022, the model reports BLEU-1 $0.682$, BLEU-2 $0.454$, BLEU-3 $0.291$, BLEU-4 $0.160$, METEOR $0.150$, ROUGE $0.413$, CIDEr $0.072$, SPICE $0.050$, SPICE-L $0.288$, Precision $0.336$, and Recall $0.315$. On PCCD, it reports BLEU-1 $0.739$, BLEU-2 $0.433$, BLEU-3 $0.233$, BLEU-4 $0.111$, METEOR $0.143$, ROUGE $0.363$, CIDEr $0.054$, SPICE $0.054$, SPICE-L $0.241$, Precision $0.298$, and Recall $0.260$. On RPCD, it reports BLEU-1 $0.421$, BLEU-2 $0.223$, BLEU-3 $0.111$, BLEU-4 $0.050$, METEOR $0.089$, ROUGE $0.221$, CIDEr $0.023$, SPICE $0.034$, SPICE-L $0.188$, Precision $0.237$, and Recall $0.175$. The paper notes that CIDEr and SPICE on RPCD lag the best traditional methods and attributes this to a distribution mismatch between RPCD language style and the pretrained LLM. Qualitative analyses show that aesthetic saliency maps include background elements such as reflections, leaves, sky, and clouds, and that captions shift toward composition, warm colors, reflections, and placement rather than simply naming objects.

The composition-assessment formulation reports that SAMP-Net performs more favorably than prior aesthetic assessment approaches on CADB [2104.03133]. With a ResNet18 backbone for fairness, SAMP-Net achieves MSE $0.3867$, EMD $0.1798$, SRCC $0.6564$, and LCC $0.6709$, compared with A-Lamp at MSE $0.4230$, EMD $0.1898$, SRCC $0.6270$, and LCC $0.6456$. Ablations show that weighted EMD improves EMD from $0.1943$ to $0.1859$ and SRCC from $0.6025$ to $0.6105$; adding multi-pattern pooling improves SRCC from $0.6105$ to $0.6292$; learning pattern weights improves SRCC from $0.6292$ to $0.6323$; adding saliency improves SRCC from $0.6323$ to $0.6421$ and LCC from $0.6483$ to $0.6544$; and the full model with saliency, attributes, and attentional fusion achieves the best overall scores. The learned pattern weights reveal dominant compositional patterns per image, including rule-of-thirds, symmetry, and center composition.

The limitations are similarly task-specific. In cropping, residual spatial bias may persist, excessively large $\lambda$ reduces model capacity by suppressing $\theta_{std}$ broadly, and fine-grid approximation of non-grid patterns may introduce boundary artifacts [1911.10492]. In captioning, challenges arise from semantic diversity, colloquial versus formal language styles in critiques, incomplete coverage of aesthetic aspects in annotations, and possible failures on images whose beauty depends on subtle artistic intent not captured by EAT’s categories or LayerCAM gradients [2509.04378]. In composition assessment, the model can underestimate some high-scoring images, often due to distracting backgrounds or complex patterns, and the paper identifies content bias as a core dataset issue that motivates weighted EMD [2104.03133]. Taken together, these results indicate that IASM-style modules are effective when saliency is aligned with aesthetic structure, but that they remain sensitive to dataset bias, annotation style, and the granularity of the aesthetic prior they encode.

Source: https://www.emergentmind.com/topics/image-aesthetic-saliency-module-iasm