TL;DR
Generative AI is great at painting outside the lines of a photograph (outpainting), but a human still has to manually drag the borders to tell the AI where and how much to expand. This paper introduces ANON, a fine-tuned vision-language model that looks at a badly framed photo, decides the exact percentage to expand each of the four sides to fix the composition, and writes a clear explanation for its choices. Best of all, its reasoning isn't just empty fluff—if you edit the text of its explanation, the predicted border dimensions reliably update to match.
What Problem Does This Paper Address?
We’ve all taken a photo where a mistimed jump cuts off someone’s feet, or a subject is awkwardly crammed against one edge with zero breathing room. Traditional automatic cropping tools try to fix composition by finding a better window inside the photo—which doesn't help when the missing piece of your subject is already outside the frame.
On the flip side, generative outpainters (like Adobe’s Generative Expand) know what to paint, but treat the target canvas size as a user input. Existing automated outpainting approaches usually apply a single uniform expansion scale around all borders, wasting canvas space on sides where nothing is missing. Nobody had built a system that looks at a photo, outputs asymmetric, per-side outward expansion amounts in one step, and explains why in a way that is grounded in the image.
Methods
The authors separate planning from painting. ANON (Asymmetric and Narrated Outward-expansion Network) is a planner built by LoRA fine-tuning a lightweight vision-language model (Qwen3.5-4B with a frozen vision encoder). Given an image, it outputs a structured JSON containing the target composition style, the subject's grid location, a short text rationale, and four outward expansion percentages (top, right, bottom, left). Those four numbers create an expanded canvas mask that can be handed off to any off-the-shelf image outpainter (such as GPT Image 2.5 or FLUX.1 Fill).
The cleverest part of the method is how they train ANON without letting it hallucinate post-hoc excuses:
- Reverse-synthesized geometry: Since pairs of "badly framed photos" and "what the photographer actually meant to shoot" don't exist in the wild, the authors work backward. They take well-composed photos, locate the subject using foreground masks and gaze-fixation models, and cut displaced crops that crowd or slice the subject. The distances back to the original photo become the ground-truth expansion percentages.
- Two-stage "blind" teacher distillation: To generate training rationales (using Claude Sonnet 5.5), they split the teacher into two isolated sessions. Session 1 (Observe) sees only the cropped image—no ground-truth numbers—and writes down pure visual facts (e.g., "the right edge cuts the tower"). Session 2 (Explain) sees only those written facts and the ground-truth sides to grow—never the image—and writes the rationale. Because perception and reasoning are quarantined from each other, every visual claim is checkable, screened by rules and an AI judge, with human review on the 9.5% of flagged samples.
- Mixed training: Each crop is formatted into both a full rationale+numbers training sample and a numbers-only sample, training explanation and geometric regression side by side.
Datasets
- Reverse-Cropped Dataset (New): Built from three existing photography/cropping datasets—GAICD, CADB, and PICD—totaling 6,867 training and 504 validation source photos. From these, the authors synthesized 15,000 training crops, 1,355 validation crops, and an unfiltered 300-crop test set.
- Real-World Manual Evaluation Set (New): 81 manually cropped images across 48 sources (camera photos, game screenshots, and animations) plus a 12-photo diverse user-study set to test generalization beyond synthetic crops.
Key Insights and Ideas
- Explanations don't hurt geometric accuracy: Oftentimes, forcing a small model to chat degrades its numerical precision. Here, ANON (
0.797mIoU) performs on par with its numbers-only twinANON_num(0.789mIoU), giving you human-readable interpretability essentially for free. - Frontier VLMs struggle with how much to grow: In ablations, replacing the top commercial VLM's predicted expansion amounts with simple dataset averages didn't hurt its score at all (
0.748vs.0.748). Frontier models can roughly guess which direction needs space, whereas fine-tuning teaches ANON image-dependent magnitude. - Consistency via counterfactual editing: When the authors intervened at test time by swapping directional words in ANON's generated rationale and regenerating the numbers, the predicted borders flipped to obey the edited text on 82%–91.3% of crops—while paraphrasing the text left the numbers untouched 99.7% of the time.
- One planner, many downstream tools: Without any retraining, those four simple percentages can drive live camera pan/tilt guidance ("tilt up, pan left"), smart aspect-ratio conversion, video keyframe repair, and out-of-frame light-source recovery.
Key Results
- Geometric Recovery: On the 300-crop test set, ANON achieves 0.797 canvas mIoU and 8.33% side MAE, beating constant expansion (
0.691mIoU) and the best closed-source frontier VLM with 9 in-context examples, Claude Opus 5.5 (0.748mIoU). - Rationale Quality: 90.6% of ANON's verifiable visual claims were judged factually correct against the image (87.5% on a human-annotated subset), and named text directions matched grown sides 98.7% of the time.
- Human Preference: In a 74-participant user study using a shared outpainter (GPT Image 2.5), users preferred ANON's framing over Claude Opus 5.5 in 59% of trials, over constant expansion in 67%, and on par with the photographer's original ground-truth photo (53%). As a full system, ANON + GPT Image 2.5 beat Google's commercial Pixel Auto Frame in 79% of trials.
- Efficiency: Runs in 4.8 seconds per image (0.9s for the numbers-only variant) using ~9 GB of VRAM on a single consumer RTX 5080 GPU.
Limitations and Future Work
- Composition is subjective: Measuring overlap (mIoU) against a photographer’s original frame only measures geometric recovery of one valid framing, not universal aesthetic perfection.
- Under-expansion on extreme crops: On manually cropped real images requiring much larger expansions than the training distribution (25.6% vs. 17.1% per side), ANON tends to under-expand.
- Bounded by the painter & image quality: Like all outpainting pipelines, the generated pixels are plausible hallucinations rather than real scene evidence, and quality degrades as the added canvas area gets huge. Furthermore, capture defects like motion blur or low-light color casts aren't handled here and require separate restoration modules. Future work could plug ANON directly into automated drone cinematography systems to supply live framing targets.
Summary updated