iRaven

Paper · Open models · Version v1

QAPT: Question-Aware Path Tracing for Vision-Language Models

First published: arXiv, . Original

Copyright the authors. Licensed under Creative Commons Attribution 4.0 International.

This page holds the text of the paper, converted to HTML; figures may be left out.

Vision-language models (VLMs) are widely applied and evaluated on rendered images inside embodied-AI or agentic loops, where they serve as a reward or critic model. Recently, physically based path tracing (PT) is increasingly adopted in such pipelines for higher-fidelity rendering, but at considerable sampling cost, especially for difficult light transports. We observe that a visually satisfying full rendering is not always necessary for a VLM to answer the question, and not all pixels and samples contribute equally to the answer accuracy. We propose QAPT, a question-aware PT pipeline that allocates samples with emphasis on the regions and path components that are most relevant to the question. We first introduce a relevance module that predicts the significance of each pixel and path component to the question, and a budget module that predicts the sampling budget. We allocate the samples according to the question relevance. After that, our renderings allow for a fine-tuned sample-aware VLM that ignores regions without useful samples to answer the question more efficiently and accurately. In evaluations on our controlled synthetic VQA dataset, QAPT achieves higher VLM accuracy than rendering and VLM acceleration baselines, using only 0.8 samples per pixel per frame on average. QAPT enables PT with VLM in the loop at an interactive frame rate ($\sim$10 frames per second) on an NVIDIA RTX 4090 GPU, with $\sim$+20/54 p.p. success rates and $\sim$1.6-2.8$\times$ end-to-end speedup, compared to other rendering baselines in two agentic scenarios.

Abstract

Vision-language models (VLMs) are widely applied and evaluated on rendered images inside embodied-AI or agentic loops, where they serve as a reward or critic model. Recently, physically based path tracing (PT) is increasingly adopted in such pipelines for higher-fidelity rendering, but at considerable sampling cost, especially for difficult light transports. We observe that a visually satisfying full rendering is not always necessary for a VLM to answer the question, and not all pixels and samples contribute equally to the answer accuracy. We propose QAPT, a question-aware PT pipeline that allocates samples with emphasis on the regions and path components that are most relevant to the question. We first introduce a relevance module that predicts the significance of each pixel and path component to the question, and a budget module that predicts the sampling budget. We allocate the samples according to the question relevance. After that, our renderings allow for a fine-tuned sample-aware VLM that ignores regions without useful samples to answer the question more efficiently and accurately. In evaluations on our controlled synthetic VQA dataset, QAPT achieves higher VLM accuracy than rendering and VLM acceleration baselines, using only 0.8 samples per pixel per frame on average. QAPT enables PT with VLM in the loop at an interactive frame rate (∼ 10 frames per second) on an NVIDIA RTX 4090 GPU, with ∼+20/54 p.p. success rates and ∼ 1.6–2.8× end-to-end speedup, compared to other rendering baselines in two agentic scenarios.

1 Introduction

Vision-language models (VLMs) are widely applied and evaluated on rendered images inside embodied-AI or agentic pipelines, serving as a reward or critic model [54, 73, 79, 25]. When faithful appearance and accurate light transport are crucial for answering questions, the techniques of ray tracing and path tracing (PT) are increasingly adopted in recent research [21, 26, 35, 36, 17]. Although providing the most faithful renderings, PT requires a large number of samples per pixel (spp) to converge, especially for complex light transports; denoisers [14, 6, 1] can help, but still require a basic number of samples to keep significant cues like highlights.

To improve the sampling efficiency, a common way is to spend the samples adaptively, which can happen in both the path and screen space. A rich line of work [65, 68, 42, 51, 52, 7, 46] focuses on efficient sampling of complex light paths; however, it aims only for better human perception and full-image faithfulness, instead of being tailored for downstream consumers like VLMs. Techniques such as foveated and multi-resolution rendering [22, 48, 60, 37, 29, 75] typically keep full quality only around foveas or regions of interest (RoI), which are specified by eye trackers for a human viewer. Recently, researchers have also introduced this idea into vision models [28, 38, 16, 18, 39, 59]. However, such redistribution occurs only in screen space, and a second-pass rendering or inference is still required after deciding the RoI, which is expensive for VLMs in the loop.

In this paper, we propose QAPT, a question-aware PT pipeline that tailors the rendering process for the VLM’s needs. Unlike existing methods where rendering is a separate process from the VLM task, QAPT reads the questions before rendering and allocates the samples to maximise both the rendering efficiency and the VLM’s answer accuracy, by only spending computational resources where it is informative. QAPT consists of three main components: a relevance module, a budget module, and a sample-aware VLM. For a given question and scene, we first infer the significance of each pixel and path component using the relevance module, with the question and cheap G-Buffers as input. Second, a budget module shoots probe samples to estimate the sampling difficulty and predicts the budget for allocation. Finally, a sample-aware VLM reads our adaptively rendered image, conditioned on the used sampling scheme, to focus on relevant samples only and answer the question with accuracy and efficiency. To make our relevance module and budget module aware of the VLM’s preference, we also design a two-pass training strategy to train some VLM teacher models first and introduce the feedback from them.

By sampling selectively in both path and screen space, our renderings emphasise the question hints and avoid wasting samples on uninformative regions. By evaluation on a single NVIDIA RTX 4090 GPU, our pipeline can run at ∼ 10 frames per second (fps) with VLM in the loop on these sample-heavy scenes, achieving both higher accuracy and faster speed than offline/real-time path tracing baselines. In agentic application tests, QAPT brings ∼+20/54 p.p. success rates and ∼ 1.6–2.8× end-to-end speedup. To summarise, our contributions are:

  • QAPT, a novel pipeline that considers the question before rendering to satisfy the downstream consumer’s needs,
  • a path and screen space joint allocation that samples adaptively for rendering efficiency and VLM accuracy, and
  • an integrated pipeline that enables PT in VLM-in-the-loop applications at an interactive frame rate.

Figure

Figure 2: The pipeline of QAPT. QAPT reads the question before rendering and optimises for the downstream VLM’s needs. We first train a relevance module U to predict the relevant region and path components of each input question, then trace sparse probe samples to estimate the sampling difficulty and predict the sampling budget by a budget module D. Finally, we fine-tune the VLM to make it aware of the sampling scheme, and read the adaptively sampled images. To take the VLM’s preference into account, we design a two-pass training strategy where VLM teachers are first trained to provide relevance and budget labels, and a final VLM is then fine-tuned based on the outputs of the fine-tuned relevance and budget modules.

2 Related work

Adaptive sampling in path tracing. Monte-Carlo (MC) renderers [88, 55, 33, 23] reduce the sampling cost by placing samples where an error estimate is high. Neural denoisers [14, 6, 1] can reconstruct from low-spp renderings with G-Buffers, but may introduce over-smoothed appearances. Path guiding [68, 42, 51] learns in which direction a path should continue, and decides how many continuations by Russian roulette and splitting [67, 52]. Other ideas like resampled importance sampling [7, 46], radiance caching [43] and spatio-temporal reconstruction [56] are also combined to achieve efficient path tracing in modern renderers. These methods all aim for a full rendering that fits human perception, while QAPT only focuses on what the VLM needs to answer a specific question.

Perceptual, selective and foveated rendering. Perceptual error metrics [11, 50] and visual attention models [83, 13, 63] are introduced to decide which regions receive full quality in rendering. Further, eye trackers are also introduced [22, 48, 60, 37, 64, 32] to achieve foveated rendering, where the surrounding regions are of significantly lower quality and/or resolution [75, 69, 74, 30, 31, 41, 20]. However, all of these methods measure the quality by human perception, while we bring such selective rendering to improve the understanding of VLM consumers for a given task.

Visual token reduction and VLM foveation. Compressing the visual tokens of a VLM helps accelerate the computation. Training-free methods [15, 86, 80, 82] drop the tokens that receive little attention inside the language model, or merge and select tokens in or after the vision encoder [12, 57, 81, 4, 2, 77, 85]. However, such pruning is proven to lose localisation and details [76, 19]. Another line of work [84, 59, 70] combines the foveation imaging systems to focus on the region that a question refers to and reads it again at a higher resolution, or feeds the VLM with the low-quality whole image and high-quality crops at the same time [16, 53, 61]. Searching policies are also learned for this purpose [78, 58, 87, 39]. Still, all these methods start from a complete image, reducing mostly the cost of VLM reading but not of rendering. In contrast, our pipeline renders only where and what the task needs, which also naturally allows us to skip the tokens that hold no samples.

3 Method

We propose QAPT, a question-aware path tracing pipeline that allocates samples to the pixels and path components that are most relevant to the question. The full pipeline is illustrated in Fig. 2. We propose a relevance module U that predicts the significance of each pixel and path component to the question (Sec. 3.1) and a budget module D that predicts the sampling budget and allocates the samples (Sec. 3.2). Finally, we fine-tune a sample-aware VLM that ignores regions without useful samples to answer the question (Sec. 3.3). To make U and D aware of the VLM’s preference, we also design a two-pass training strategy to introduce the feedback from VLM teachers (Sec. 3.4). We also introduce the details of our training and pipeline implementation in our supplementary material.

3.1 Relevance module

To allocate samples adaptively according to the question, we first need to know which pixels and which path components (diffuse, specular reflection or transmission) are relevant. We train a relevance module U that predicts a 3-channel relevance map σb,c, where each pixel indicates its significance in the diffuse, glossy and transmission components, respectively. We provide the network with low-resolution G-Buffers, and the module can be formulated as:

σb,c=U(G,V(Q)|E(Q)),

where G is the albedo, normal and depth G-Buffers at 1/4 resolution, Q is the question text, V(Q) is the output from a frozen open-vocabulary detector (OWLv2 [40]) that helps locate the objects, and E(Q) is a latent embedding extracted from the downstream VLM layers. Based on the output of U, we define the relevant region ℛ as:

ℛ={b∣σb,c>0.1max(σb,c)}.

We also define a relevance score rb as:

rb=1−∏c(1−σb,c).

Sampling components.

We invest the sampling effort differently for each pixel and path component, by restricting the relevant region and assigning different sampling weights to the components. For every pixel block b∈ℛ and component c∈{Diffuse,Glossy,Transmission}, U outputs a scalar σb,c∈(0,1). The sampling probability pb,c of each component in tracing later is hereby computed by the normalised σ:

pb,c=σb,cΣcσb,c.

The relevance map σb,c is only at 1/4 resolution, so that each pixel corresponds to a 4×4 block in the final rendering.

Does U know the answer?

The relevance module is not designed to answer the question, nor is it supervised by the VQA answer directly, but by the evidence and attribution. U is trained to find possible evidence, and the VLM still needs to reason about the rendered image to answer the question. For example, by asking “What is next to the blue glossy mug?” the relevance module highlights all mugs and their neighbours in the scene with an emphasis on glossy components, but the VLM still needs to read the image to find which is the mentioned one and what is its neighbour.

With a relatively simpler task – finding the clue instead of using the clue – the relevance module can be easily trained with a relatively small amount of data, and keep a fast inference speed. On the other hand, as the positioning of evidence is already done, the VLM can focus on the evidence and reason for the answer with higher accuracy and efficiency, as later described in Sec. 3.3.

3.2 Budget module

After obtaining the relevance map, we already have the regions of evidence to sample. The next question is: How much effort do we need to achieve sufficient sampling for the VLM to answer? We train a budget module D to answer this question. The budget module works in the relevant regions, predicting the required sampling effort, and allocating these samples by outputting a budget map in the end.

To measure the sampling difficulty, we first shoot some sparse samples to probe the lighting. Then the budget module can be represented as:

db,c=D(Gb,Pb,c,rb),

where db,c is the predicted difficulty, and Pb,c are the mean and standard deviation of these probe samples for every component. The difficulty db,c will be interpreted into two variables that we use to control the sampling process: the number of samples of each pixel, parametrised by an overall budget coefficient κ, and the path length of each sample, specified by the Russian roulette coefficient.

Number of samples.

We use a small multilayer perceptron (MLP) Φ with one hidden layer of 8 units that predicts the overall budget κ:

κ =Φ(dc,pc,e,Nc), dc =Σbdb,c, pc =Σbpb,c,

where e is the exposure and Nc is the number of probes where individual component c is sampled. After obtaining the overall budget, we distribute κb samples to each ℛ block according to its relevance score rb:

κb=κrbΣbrb.

Blocks outside ℛ receive no samples.

Path length.

Another important factor that decides the sampling cost is the path length, which is also determined by our budget module. To keep the sampling unbiased, we manipulate the path lengths by assigning different Russian roulette coefficients. The survival probability of Russian roulette for each path is defined by:

qb,c=min(1,db,cT),

where T is the current throughput. The roulette applies to scattering events starting from the second bounce.

3.3 Sample-aware VLM

With our proposed relevance module and budget module, we can obtain an adaptively sampled rendering. Our renderings differ from ordinary ones in two ways: most of the frame is black because it holds no samples, and for existing samples, they are also spread unevenly. Therefore, the VLM is designed to adapt to, and also benefit from, such unique inputs. We implement QAPT on Qwen3-VL-8B [5]. First, our model should have more confidence in well-sampled image regions and components, as they are found to be more relevant; second, it should be able to skip useless patches to accelerate inference.

Sampling scheme awareness. As the input image can be rendered from arbitrary sampling distributions, we use the sampling scheme to condition the vision transformer (ViT) of our VLM. For every image patch, we stack the component weights pb,c and the number of spp κb, and add them to the patch embedding through a linear layer. Therefore, the VLM knows how densely each region was sampled and which component the samples followed.

Acceleration by asymmetric attention. The vision encoder processes only the patches that cover the relevant region. In every attention layer, these patches attend to all blank patches as if those showed a black canvas, while the canvas patches do not attend back to the relevant region. The hidden states of the canvas patches are kept identical to those of an all-black image, which we can pre-compute once and cache. All patches keep their position encodings in the full frame, so the VLM still knows where in the image the region lies. In the end, only the visual tokens from the relevant region enter the language model, and the blank patches are all discarded.

3.4 Two-pass training and VLM teachers

Training U and D requires knowing where the evidence lies and how many samples suffice, and neither is directly observable. The QA generator only gives a reasonable approximation but can ignore what a VLM actually uses.

To introduce the feedback from VLM consumers, we design a two-pass training strategy, introducing VLM teachers to provide labels for U and D. In the first pass, U and D learn from the generator labels, and VLM teachers are fine-tuned from the raw VLM on renderings of this first-pass pipeline. Here, we split the training set into two folds and train two individual VLM teachers at the same time on each division. In the second pass, each teacher reads renderings of unseen scenes from the other fold, and we use them to calibrate the image patches its answer depends on and the smallest sampling budget, only on questions which they answer correctly. At last, we refine U and D on these labels, and a final VLM consumer for VQA evaluation is fine-tuned on renderings of the second-pass pipeline. Note that the VLM teachers are not used for final evaluation.

Relevance labels. The labels of U in the second training pass are only on relevant regions, not components. We keep the component labels from the first pass. We compute the integrated gradients [62] of the log-probability of the correct option w.r.t. the visual tokens that enter the language model. The positive attributions, averaged over renderings and normalised to a maximum of one, are used as the relevance labels of U (Sec. 3.1) in the second training pass.

Budget labels. After the first training pass, we render images from the initial U and D with different sampling budgets, and store all images for the VLM teachers to judge. For every question, the teacher reads renderings from five different budgets, and the label is the smallest budget whose probability of the correct answer is within 0.05 of the best one. Questions that the teacher does not answer with a confidence of at least 0.5 at any budget give no label.

Figure

Figure 3: We build a controlled dataset where reasoning about hints from accurate appearance and light transport evaluation is critical. The scene is lit by moderate indirect light.

4 Data preparation

We use Blender to build and render our synthetic VQA dataset. Fig. 3 shows a few examples of the generated scenes and questions. A procedural generator builds every scene in a 4×4×2.7 m room, lit by only one or two indirect light sources, such as moonlight through a door or a floor lamp. We randomly put objects (∼ 25 per scene) on a table and a shelf. Objects are from scanned real-world objects [47] or procedural shapes with different material parameters, as well as textures from MatSynth [66].

Each scene contains several pairs of objects that share the same category and size, but differ only in visible cues, such as the glossiness or a gap floating above the table. Questions are generated referring to the relationship between these objects and other objects, so that the VLM must locate the cues first to decide which object is being asked about, and then answer the specific question.

Five groups of questions are asked: proximity, orientation, counting (with confound from mirror-like objects), content (inside containers) and identification (of objects behind transparent ones). We make 10 different phrasings of each question type, and use seven of them in the training and validation set, while keeping three of them in the testing set. The testing set also contains held-out real-world objects. 700 scenes are generated for training, 167 scenes for validation, and 533 scenes for testing. 7 questions are generated per scene, leading to 9,800 QAs in total. All images are rendered at 960×720.

5 Experiments

We first compare our QAPT pipeline with existing baselines on our controlled synthetic VQA dataset (Sec. 5.2). Second, we test QAPT on alternative public datasets (Sec. 5.3). We conduct ablation studies on our proposed modules (Sec. 5.4), and finally validate the superiority of QAPT in agentic applications (Sec. 5.5).

In our supplementary material, we also include extensive comparison on denoising baselines and global budget adjustments, and verify QAPT on other VLM backbones.

Figure

Figure 4: Our renderings, relevances and budgets. Given the same scene, QAPT renders differently for different input questions, featuring the most relevant regions and components. In contrast, other rendering baselines spend the samples across the whole image.

Figure

Figure 5: Left: Comparing other rendering baselines on VQA accuracy with different numbers of samples. Right: Comparing the end-to-end time cost (render + VLM) with other groups of baseline methods at as-close-as-possible VQA accuracy.

5.1 Experimental setup

Baselines.

To enjoy the benefit of PT in VLM pipelines under a limited budget, one can either accelerate the rendering or the VLM inference. In this section, we compare against four groups of methods that can potentially enable PT (or close-fidelity renderings) in VLM loops, including the offline uniform sampling and common rasterisation baselines.

  • Uniform PT with Blender Cycles [8] in its default settings without denoising; a 512 spp rendering serves as the reference.
  • Rendering accelerations that replace PT with cheaper approximations: rasterisation with screen-space ray tracing (Blender EEVEE Next [9]), FastGI [10], and real-time PT in RTXPT [44] with ReSTIR [7, 46].
  • Image-space foveation that reads a uniformly rendered frame together with high-quality foveas and RoIs: GazeVLM [16], ViCrop [84] and ZoomEye [59].
  • VLM acceleration by reducing/compressing the tokens: FastV [15], VisionZip [81] and SparseVLM [86].

As our method involves VLM fine-tuning, we also fine-tune for each compared method on their renderings to achieve fair comparisons. The language model parts are all intact.

Metrics.

We evaluate the methods in the following dimensions: VQA accuracy, average spp per frame, number of visual tokens, and the end-to-end time cost per question to achieve a render-answer step. The timings are measured on an NVIDIA RTX 4090.

5.2 Comparison with baselines

Table 1: Comparison on alternative datasets. By re-rendering existing VQA datasets under nighttime indirect lighting with the same objects and QAs, our method shows higher accuracy than Uniform PT (32 spp). The reference is rendered at 512 spp.

Accuracy (%)Ref.Uni. PTQAPT (ours)
CLEVR (night)64.648.157.9
Spatial457 (night)55.547.452.8

Table 2: Ablation study. We remove our proposed components respectively to demonstrate their effectiveness. †: only feed the relevant patches to the VLM without any background regions. Positional encodings are kept.

AblationsAccuracy (%)
Full pipeline84.0
w/o asymmetric attention†70.2
w/o path component relevance74.9
w/o sampling scheme as VLM input80.7
w/o two-pass training81.3
w/o open-vocab detector81.6
w/o budget module82.7

Table 3: Variants comparison. We also design two variant baselines for a further comparison, demonstrating the benefits from our sampling, region and token selection.

VariantsAcc. (%)
QAPT (ours)84.0
RTXPT (32 spp) + our regions78.7
RTXPT (32 spp) + VisionZip (462 tks.)71.2

Table 4: Comparison in agentic applications. We achieve both a higher success rate and end-to-end speed than other rendering baselines.

MethodObject MovingLayout Design
%SuccessTime (s)%SuccessTime (s)
QAPT563.35922.21
Cycles208.20286.10
EEVEE369.05385.58
RTXPT245.55324.05

Table 5: Baseline comparisons. We divide the existing methods into four groups and compare the VQA accuracy (chance: 25%), average spp per frame, number of visual tokens, render and VLM time, and end-to-end time for a render-answer step. (95% confidence interval: ± 1.2%.) †: Assuming the gaze labels are already obtained. In practice, we use GT boxes from the QA generator. ‡: All samples in relevant regions divided by the whole image pixels.

MethodAverage spp per frameRender time (ms)#TokensVLM time (ms)End-to-end time (ms)VQA accuracy (%)
Blender Cycles [8]13566014518034.4
46166014520642.8
3226466014540973.0
Blender EEVEE Next [9]1 TAA18066014532557.4
16 TAA21866014536360.9
FastGI [10]13066014517551.3
45066014519551.8
3219666014534170.3
RTXPT [44]1266014514754.3
41066014515569.9
327866014522372.9
GazeVLM [16]†322642,49421047475.2
ViCrop [84], 3 VLM calls322642,65662889271.0
ZoomEye [59], 50 VLM calls3226462,85912,52212,78673.8
FastV [15]3226434811037464.3
VisionZip [81]32264648334759.0
3226419210436868.1
3226446212338769.8
SparseVLM [86]32264649836258.2
3226412410536963.3
3226418810737166.6
QAPT (Ours)0.8‡5445449884.0
Reference5124,0176601454,16286.4

In Table 5, we compare with all baseline methods on our testing VQA dataset. Most methods struggle with the trade-off between speed and accuracy, while our QAPT only focuses on the evidence areas for the VLM, therefore achieving the overall highest accuracy and an interactive frame rate with only ∼ 0.8 spp cost on average.

In Fig. 4, we visualise the outputs from other rendering baselines and QAPT. QAPT can intelligently decide the rendering regions and components from the question, and decide a different sampling budget for different cases.

Compared to rendering acceleration methods, instead of balancing between rendering speed and visual fidelity, we optimise for VLM understanding by offering spatially incomplete renderings with emphasised evidence, achieving both efficiency and VQA accuracy. As our sampling is still unbiased, these samples can be reused in future rendering if further questions are asked for the same view.

Unlike image-space foveation methods, we do not feed the crops individually into the model as separate images, but keep the spatial relationship between patches as in the original image, leading to better VLM understanding and higher VQA accuracy. Additionally, these methods usually require multiple rendering/inference passes or auxiliary devices or labels to indicate the gaze, which is more expensive.

Compared to VLM token compression and acceleration methods, we completely drop tokens outside the relevant regions and introduce asymmetric attention, leading to much lower inference cost. Also, our question texts are already embedded during the rendering stage, which also saves time for VLM inference, compared to other methods.

5.3 Alternative datasets

We also re-implement and evaluate our pipeline on different public VQA datasets (CLEVR [27] and Spatial457 [72]). As rendering under standard laboratory lighting is less challenging and usually does not require PT, we re-render these datasets to simulate daily scenes with more demanding lighting conditions. We render them under indirect lighting at nighttime, keeping all the object layouts and QAs untouched.

In Table 1, we compare the VQA accuracy of QAPT and uniform PT on re-rendered VQA datasets, and our method still achieves higher accuracy. Since these datasets are not designed for evaluating VLMs under intense rendering conditions, they do not typically include complex materials or questions referring to appearance-dependent cues, which can limit the advantages of our method.

Figure

Figure 6: We test QAPT in two agentic applications, where the VLM serves as a critic for object movement and layout updates. Compared to other rendering baselines, our pipeline achieves a higher success rate in shorter end-to-end time. See Table 4 for quantitative results.

5.4 Ablation study

In Table 2, we demonstrate the effects of our proposed modules by removing them individually. Without our asymmetric attention, a brute-force token removal causes a significant performance drop, as the VLM fails to understand the object distribution precisely. Removing the component relevance and using the default sampling weights instead also obviously damages the accuracy. Without awareness of the sampling scheme, it is difficult for the VLM to understand the noisy renderings. Two-pass training helps focus on regions that the VLM really uses, and the open-vocabulary detector improves the generalisation of the relevance module on unseen objects. Removing the budget module leads to minimal performance drop, but it would need ∼ 4× extra samples per frame to achieve the same VQA accuracy. Completely removing the relevance module will degrade our method to uniform PT; therefore, we do not include it in this table.

In Table 3, we also use two variant baselines to further analyse the benefits of our designs. Our improvement comes from three aspects: sampling, region selection and token reduction. The question-aware insight presents a relevance module that provides region selection, which enables minimum sampling, and naturally leads to a reduction in tokens while keeping the performance. Such improvement cannot be achieved by simply combining existing approaches.

5.5 Application

We demonstrate the efficiency and effectiveness of QAPT in two agentic application scenarios, where the VLM is used in the loop as a critic. We tested 50 different scenes with moderate indirect light sources for each task. Whether the task succeeds is decided by pre-defined scene conditions, and we deploy the VLMs as critics and evaluate the effect of different rendering pipelines. VLMs make no decisions for the agent’s moves in the applications. We report the average time cost (only for successful scenes) and success rate of each task in Table 4, and visualise examples in Fig. 6. We use 32 spp for both Blender Cycles [8] and RTXPT [44], and 16 TAA for rasterisation (Blender EEVEE Next [9]).

Application 1 (Object moving). The agent is required to push, pull or rotate a specific object in the scene until its placement meets a preset standard. For example, “Turn the shiny mug so that its handle points to the left.” The VLM serves as the critic by answering “Which direction is the handle of the shiny mug pointing?” The rollout of each scene spans no more than 100 frames (i.e., render-answer steps) before it is counted as a failure.

Application 2 (Layout design). The agent keeps changing the layout of the scene by swapping object locations, using a pre-defined heuristic search routine, until two preset standards are satisfied at the same time. For example, “Rearrange the layout so that A is in B, and C is closest to D.” The VLM serves as the critic by answering “What is inside B?” and “Which object is closest to D?” at the same time. The searching procedure of each scene is designed to succeed within 20 frames before being judged as a failure.

6 Conclusion

We presented QAPT, a novel path tracing pipeline that tailors the rendering process to optimise VLM perception, instead of satisfying human eyes. A relevance module is proposed to predict the evidence regions and path components to sample, as well as a budget module to predict and allocate the sampling budgets. Such re-allocation in both path and screen space enables cheaper rendering and faster VLM inference, and achieves higher VQA accuracy. Finally, we enable PT with VLM in the loop at ∼ 10 fps on an NVIDIA RTX 4090 GPU, and outperform other rendering baselines with a higher success rate and shorter end-to-end time on two agentic applications.

Limitations. QAPT produces one rendering for each specific question, which is less efficient when many questions are asked only for one view at the same time. In QAPT, pixels outside the relevant regions are not sampled at all, which might lead to wrong answers if the relevance module completely fails to cover the targets. QAPT requires an editable open-source VLM as a backbone, as we design to fine-tune the VLM to read our adaptively sampled images.

Future work. An interesting future direction is to integrate the confidence and feedback from VLM inference, and to re-sample the relevant regions on the fly. Furthermore, leveraging agents to decide relevant regions from cheap G-Buffers is also a promising direction.

Acknowledgement

This work was supported by the ERC Consolidator Grant Gen3D (101171131) of Matthias Nießner. We thank Angela Dai for the video voice-over.

LLM usage statement

LLMs [3, 45] assisted with code writing and debugging during the research stage, and with polishing grammar and proofreading the manuscript. In our data pipeline, Claude Opus 5.5 [3] generated different phrasings and labelled the relevant path component (diffuse/glossy/transmission) of each generated question in the first training pass. All experimental results and edited texts were inspected and verified by the authors to ensure accuracy and originality. No image-generation AI tools were used.

References

  • [1] Attila T. Áfra. Intel® Open Image Denoise. https://www.openimagedenoise.org/, 2026.
  • [2] Saeed Ranjbar Alvar, Gursimran Singh, Mohammad Akbari, and Yong Zhang. DivPrune: Diversity-Based Visual Token Pruning for Large Multimodal Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9392–9401. IEEE, 2025.
  • [3] Anthropic. Introducing Claude Opus 5.5. https://www.anthropic.com/claude-opus-5-5, 2026.
  • [4] Kazi Hasan Ibn Arif, JinYi Yoon, Dimitrios S. Nikolopoulos, Hans Vandierendonck, Deepu John, and Bo Ji. HiRED: Attention-Guided Token Dropping for Efficient Inference of High-Resolution Vision-Language Models. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 1773–1781. AAAI Press, 2025.
  • [5] Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, Wenbin Ge, Zhifang Guo, Qidong Huang, Jie Huang, Fei Huang, Binyuan Hui, Shutong Jiang, Zhaohai Li, Mingsheng Li, Mei Li, Kaixin Li, Zicheng Lin, Junyang Lin, Xuejing Liu, Jiawei Liu, Chenglong Liu, Yang Liu, Dayiheng Liu, Shixuan Liu, Dunjie Lu, Ruilin Luo, Chenxu Lv, Rui Men, Lingchen Meng, Xuancheng Ren, Xingzhang Ren, Sibo Song, Yuchong Sun, Jun Tang, Jianhong Tu, Jianqiang Wan, Peng Wang, Pengfei Wang, Qiuyue Wang, Yuxuan Wang, Tianbao Xie, Yiheng Xu, Haiyang Xu, Jin Xu, Zhibo Yang, Mingkun Yang, Jianxin Yang, An Yang, Bowen Yu, Fei Zhang, Hang Zhang, Xi Zhang, Bo Zheng, Humen Zhong, Jingren Zhou, Fan Zhou, Jing Zhou, Yuanzhi Zhu, and Ke Zhu. Qwen3-VL Technical Report. arXiv preprint arXiv:2511.21631, 2025.
  • [6] Steve Bako, Thijs Vogels, Brian McWilliams, Mark Meyer, Jan Novák, Alex Harvill, Pradeep Sen, Tony DeRose, and Fabrice Rousselle. Kernel-Predicting Convolutional Networks for Denoising Monte Carlo Renderings. ACM Transactions on Graphics, 36(4):97, 2017.
  • [7] Benedikt Bitterli, Chris Wyman, Matt Pharr, Peter Shirley, Aaron Lefohn, and Wojciech Jarosz. Spatiotemporal Reservoir Resampling for Real-Time Ray Tracing with Dynamic Direct Lighting. ACM Transactions on Graphics, 39(4):148, 2020.
  • [8] Blender Online Community. Cycles. Blender 4.2 LTS Manual, https://docs.blender.org/manual/en/4.2/render/cycles/index.html, 2024a.
  • [9] Blender Online Community. EEVEE. Blender 4.2 LTS Manual, https://docs.blender.org/manual/en/4.2/render/eevee/index.html, 2024b.
  • [10] Blender Online Community. Light Paths: Fast GI Approximation. Blender 4.2 LTS Manual, https://docs.blender.org/manual/en/4.2/render/cycles/render_settings/light_paths.html#fast-gi-approximation, 2024c.
  • [11] Mark R. Bolin and Gary W. Meyer. A Perceptually Based Adaptive Sampling Algorithm. In Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH), pages 299–309. ACM, 1998.
  • [12] Daniel Bolya, Cheng-Yang Fu, Xiaoliang Dai, Peizhao Zhang, Christoph Feichtenhofer, and Judy Hoffman. Token Merging: Your ViT but Faster. In International Conference on Learning Representations (ICLR 2023), 2023.
  • [13] Kirsten Cater, Alan Chalmers, and Greg Ward. Detail to Attention: Exploiting Visual Tasks for Selective Rendering. In Eurographics Symposium on Rendering (EGSR), pages 270–280. The Eurographics Association, 2003.
  • [14] Chakravarty R. Alla Chaitanya, Anton S. Kaplanyan, Christoph Schied, Marco Salvi, Aaron Lefohn, Derek Nowrouzezahrai, and Timo Aila. Interactive Reconstruction of Monte Carlo Image Sequences Using a Recurrent Denoising Autoencoder. ACM Transactions on Graphics, 36(4):98, 2017.
  • [15] Liang Chen, Haozhe Zhao, Tianyu Liu, Shuai Bai, Junyang Lin, Chang Zhou, and Baobao Chang. An Image Is Worth 1/2 Tokens After Layer 2: Plug-and-Play Inference Acceleration for Large Vision-Language Models. In Computer Vision – ECCV 2024, pages 19–35. Springer, 2025.
  • [16] Qinyu Chen and Jiawen Qi. Eye Gaze Tells You Where to Compute: Gaze-Driven Efficient VLMs. arXiv preprint arXiv:2509.16476, 2025.
  • [17] Tianxing Chen, Zanxin Chen, Baijun Chen, Zijian Cai, Yibin Liu, Zixuan Li, Qiwei Liang, Xianliang Lin, Yiheng Ge, Zhenyu Gu, Weiliang Deng, Yubin Guo, Tian Nian, Xuanbing Xie, Qiangyu Chen, Kailun Su, Tianling Xu, Guodong Liu, Mengkang Hu, Huan-Ang Gao, Kaixuan Wang, Zhixuan Liang, Yusen Qin, Xiaokang Yang, Ping Luo, and Yao Mu. RoboTwin 2.0: A Scalable Data Generator and Benchmark with Strong Domain Randomization for Robust Bimanual Robotic Manipulation. In Proceedings of the 43rd International Conference on Machine Learning (ICML), pages 13673–13699. PMLR, 2026.
  • [18] Brown Ebouky, Gabriele Carrino, Niccolo Avogaro, Christoph Studer, Andrea Bartezzaghi, and Mattia Rigotti. GazeVLM: Active Vision via Internal Attention Control for Multimodal Reasoning. arXiv preprint arXiv:2605.07817, 2026.
  • [19] Mark Endo, Xiaohan Wang, and Serena Yeung-Levy. Feather the Throttle: Revisiting Visual Token Pruning for Vision-Language Model Acceleration. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 22826–22835. IEEE, 2025.
  • [20] Yang Gao, Wencan Li, Shiyu Liang, Aimin Hao, and Xiaohui Tan. Saliency-Aware Foveated Path Tracing for Virtual Reality Rendering. IEEE Transactions on Visualization and Computer Graphics, 31(5):2725–2735, 2025.
  • [21] Yunqi Gu, Ian Huang, Jihyeon Je, Guandao Yang, and Leonidas Guibas. BlenderGym: Benchmarking Foundational Model Systems for Graphics Editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 18574–18583. IEEE, 2025.
  • [22] Brian Guenter, Mark Finch, Steven Drucker, Desney Tan, and John Snyder. Foveated 3D Graphics. ACM Transactions on Graphics, 31(6):164, 2012.
  • [23] Jon Hasselgren, Jacob Munkberg, Marco Salvi, Anjul Patney, and Aaron Lefohn. Neural Temporal Adaptive Sampling and Denoising. Computer Graphics Forum, 39(2):147–155, 2020.
  • [24] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-Rank Adaptation of Large Language Models. In International Conference on Learning Representations (ICLR 2022), 2022.
  • [25] Ziniu Hu, Ahmet Iscen, Aashi Jain, Thomas Kipf, Yisong Yue, David A. Ross, Cordelia Schmid, and Alireza Fathi. SceneCraft: An LLM Agent for Synthesizing 3D Scenes as Blender Code. In Proceedings of the 41st International Conference on Machine Learning (ICML), pages 19252–19282. PMLR, 2024.
  • [26] Ian Huang, Guandao Yang, and Leonidas Guibas. BlenderAlchemy: Editing 3D Graphics with Vision-Language Models. In Computer Vision – ECCV 2024, pages 297–314. Springer, 2025.
  • [27] Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Fei-Fei Li, C. Lawrence Zitnick, and Ross Girshick. CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 2901–2910. IEEE, 2017.
  • [28] Aditya Jonnalagadda, William Yang Wang, B. S. Manjunath, and Miguel P. Eckstein. FoveaTer: Foveated Transformer for Image Classification. arXiv preprint arXiv:2105.14173, 2021.
  • [29] Anton S. Kaplanyan, Anton Sochenov, Thomas Leimkühler, Mikhail Okunev, Todd Goodall, and Gizem Rufo. DeepFovea: Neural Reconstruction for Foveated Rendering and Video Compression Using Learned Statistics of Natural Videos. ACM Transactions on Graphics, 38(6):212, 2019.
  • [30] Matias Koskela, Timo Viitanen, Pekka Jääskeläinen, and Jarmo Takala. Foveated Path Tracing: A Literature Review and a Performance Gain Analysis. In Advances in Visual Computing (ISVC 2016), pages 723–732. Springer, 2016.
  • [31] Matias Koskela, Atro Lotvonen, Markku Mäkitalo, Petrus Kivi, Timo Viitanen, and Pekka Jääskeläinen. Foveated Real-Time Path Tracing in Visual-Polar Space. In Eurographics Symposium on Rendering (EGSR) – DL-Only and Industry Track, pages 39–50. The Eurographics Association, 2019.
  • [32] Brooke Krajancich, Petr Kellnhofer, and Gordon Wetzstein. Towards Attention-Aware Foveated Rendering. ACM Transactions on Graphics, 42(4):77, 2023.
  • [33] Alexandr Kuznetsov, Nima Khademi Kalantari, and Ravi Ramamoorthi. Deep Adaptive Sampling for Low Sample Count Rendering. Computer Graphics Forum, 37(4):35–44, 2018.
  • [34] Bo Li, Yuanhan Zhang, Dong Guo, Renrui Zhang, Feng Li, Hao Zhang, Kaichen Zhang, Peiyuan Zhang, Yanwei Li, Ziwei Liu, and Chunyuan Li. LLaVA-OneVision: Easy Visual Task Transfer. Transactions on Machine Learning Research, 2025a.
  • [35] Haozhan Li, Yuxin Zuo, Jiale Yu, Yuhao Zhang, Zhaohui Yang, Kaiyan Zhang, Xuekai Zhu, Yuchen Zhang, Tianxing Chen, Ganqu Cui, Dehui Wang, Dingxiang Luo, Yuchen Fan, Youbang Sun, Jia Zeng, Jiangmiao Pang, Shanghang Zhang, Yu Wang, Yao Mu, Bowen Zhou, and Ning Ding. SimpleVLA-RL: Scaling VLA Training via Reinforcement Learning. In International Conference on Learning Representations (ICLR 2026), 2026.
  • [36] Xuanlin Li, Kyle Hsu, Jiayuan Gu, Oier Mees, Karl Pertsch, Homer Rich Walke, Chuyuan Fu, Ishikaa Lunawat, Isabel Sieh, Sean Kirmani, Sergey Levine, Jiajun Wu, Chelsea Finn, Hao Su, Quan Vuong, and Ted Xiao. Evaluating Real-World Robot Manipulation Policies in Simulation. In Proceedings of the 8th Conference on Robot Learning (CoRL), pages 3705–3728. PMLR, 2025b.
  • [37] Xiaoxu Meng, Ruofei Du, Matthias Zwicker, and Amitabh Varshney. Kernel Foveated Rendering. Proceedings of the ACM on Computer Graphics and Interactive Techniques, 1(1):5, 2018.
  • [38] Juhong Min, Yucheng Zhao, Chong Luo, and Minsu Cho. Peripheral Vision Transformer. In Advances in Neural Information Processing Systems, pages 32097–32111. Curran Associates, Inc., 2022.
  • [39] Juhong Min, Lazar Valkov, Vitali Petsiuk, Hossein Souri, and Deen Dayal Mohan. Foveated Reasoning: Stateful, Action-Based Visual Focusing for Vision-Language Models. In Computer Vision – ECCV 2026, pages 1–23. Springer, 2026.
  • [40] Matthias Minderer, Alexey Gritsenko, and Neil Houlsby. Scaling Open-Vocabulary Object Detection. In Advances in Neural Information Processing Systems, pages 72983–73007. Curran Associates, Inc., 2023.
  • [41] Bipul Mohanto, Sven Kluge, Martin Weier, and Oliver Staadt. Foveated Path Tracing with Configurable Sampling and Block-Based Rendering. In GI Workshop 2025 on Virtual and Augmented Reality. Gesellschaft für Informatik e.V., 2025.
  • [42] Thomas Müller, Markus Gross, and Jan Novák. Practical Path Guiding for Efficient Light-Transport Simulation. Computer Graphics Forum, 36(4):91–100, 2017.
  • [43] Thomas Müller, Fabrice Rousselle, Jan Novák, and Alexander Keller. Real-Time Neural Radiance Caching for Path Tracing. ACM Transactions on Graphics, 40(4):36, 2021.
  • [44] NVIDIA. RTX Path Tracing (RTXPT). GitHub release, https://github.com/NVIDIA-RTX/RTXPT/releases/tag/v.1.9.0, 2026. GitHub repository, version 1.9.0.
  • [45] OpenAI. GPT-6 Astra: The next generation in intelligence for work. https://openai.com/index/gpt-6-astra/, 2026.
  • [46] Yaobin Ouyang, Shiqiu Liu, Markus Kettunen, Matt Pharr, and Jacopo Pantaleoni. ReSTIR GI: Path Resampling for Real-Time Path Tracing. Computer Graphics Forum, 40(8):17–29, 2021.
  • [47] Xiaqing Pan, Nicholas Charron, Yongqian Yang, Scott Peters, Thomas Whelan, Chen Kong, Omkar Parkhi, Richard Newcombe, and Yuheng (Carl) Ren. Aria Digital Twin: A New Benchmark Dataset for Egocentric 3D Machine Perception. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 20133–20143. IEEE, 2023.
  • [48] Anjul Patney, Marco Salvi, Joohwan Kim, Anton Kaplanyan, Chris Wyman, Nir Benty, David Luebke, and Aaron Lefohn. Towards Foveated Rendering for Gaze-Tracked Virtual Reality. ACM Transactions on Graphics, 35(6):179, 2016.
  • [49] Ethan Perez, Florian Strub, Harm de Vries, Vincent Dumoulin, and Aaron Courville. FiLM: Visual Reasoning with a General Conditioning Layer. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 3942–3951. AAAI Press, 2018.
  • [50] Mahesh Ramasubramanian, Sumanta N. Pattanaik, and Donald P. Greenberg. A Perceptually Based Physical Error Metric for Realistic Image Synthesis. In Proceedings of the 26th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH), pages 73–82. ACM, 1999.
  • [51] Alexander Rath, Pascal Grittmann, Sebastian Herholz, Petr Vévoda, Philipp Slusallek, and Jaroslav Křivánek. Variance-Aware Path Guiding. ACM Transactions on Graphics, 39(4):151, 2020.
  • [52] Alexander Rath, Pascal Grittmann, Sebastian Herholz, Philippe Weier, and Philipp Slusallek. EARS: Efficiency-Aware Russian Roulette and Splitting. ACM Transactions on Graphics, 41(4):81, 2022.
  • [53] Jun Rekimoto. GazeLLM: Multimodal LLMs Incorporating Human Visual Attention. In Proceedings of the Augmented Humans International Conference 2025, pages 302–311. ACM, 2025.
  • [54] Juan Rocamonde, Victoriano Montesinos, Elvis Nava, Ethan Perez, and David Lindner. Vision-Language Models Are Zero-Shot Reward Models for Reinforcement Learning. In International Conference on Learning Representations (ICLR 2024), 2024.
  • [55] Fabrice Rousselle, Claude Knaus, and Matthias Zwicker. Adaptive Sampling and Reconstruction Using Greedy Error Minimization. ACM Transactions on Graphics, 30(6):159, 2011.
  • [56] Christoph Schied, Anton Kaplanyan, Chris Wyman, Anjul Patney, Chakravarty R. Alla Chaitanya, John Burgess, Shiqiu Liu, Carsten Dachsbacher, Aaron Lefohn, and Marco Salvi. Spatiotemporal Variance-Guided Filtering: Real-Time Reconstruction for Path-Traced Global Illumination. In Proceedings of High Performance Graphics (HPG), pages 2:1–2:12. ACM, 2017.
  • [57] Yuzhang Shang, Mu Cai, Bingxin Xu, Yong Jae Lee, and Yan Yan. LLaVA-PruMerge: Adaptive Token Reduction for Efficient Large Multimodal Models. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 22857–22867. IEEE, 2025.
  • [58] Hao Shao, Shengju Qian, Han Xiao, Guanglu Song, Zhuofan Zong, Letian Wang, Yu Liu, and Hongsheng Li. Visual CoT: Advancing Multi-Modal Language Models with a Comprehensive Dataset and Benchmark for Chain-of-Thought Reasoning. In Advances in Neural Information Processing Systems, pages 8612–8642. Curran Associates, Inc., 2024.
  • [59] Haozhan Shen, Kangjia Zhao, Tiancheng Zhao, Ruochen Xu, Zilun Zhang, Mingwei Zhu, and Jianwei Yin. ZoomEye: Enhancing Multimodal LLMs with Human-Like Zooming Capabilities through Tree-Based Image Exploration. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6602–6618. Association for Computational Linguistics, 2025.
  • [60] Michael Stengel, Steve Grogorick, Martin Eisemann, and Marcus Magnor. Adaptive Image-Space Sampling for Gaze-Contingent Real-Time Rendering. Computer Graphics Forum, 35(4):129–139, 2016.
  • [61] Matteo Stoiber and Niels Buus Lassen. EgoGazeLite: On-Device Egocentric Gaze Prediction for Token-Efficient Multimodal LLM Video Input. arXiv preprint arXiv:2608.15614, 2026.
  • [62] Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic Attribution for Deep Networks. In Proceedings of the 34th International Conference on Machine Learning (ICML), pages 3319–3328. PMLR, 2017.
  • [63] Veronica Sundstedt, Kurt Debattista, and Alan Chalmers. Selective Rendering Using Task-Importance Maps. In Proceedings of the 1st Symposium on Applied Perception in Graphics and Visualization (APGV), page 175. ACM, 2004.
  • [64] Okan Tarhan Tursun, Elena Arabadzhiyska-Koleva, Marek Wernikowski, Radosław Mantiuk, Hans-Peter Seidel, Karol Myszkowski, and Piotr Didyk. Luminance-Contrast-Aware Foveated Rendering. ACM Transactions on Graphics, 38(4):98, 2019.
  • [65] Eric Veach. Robust Monte Carlo Methods for Light Transport Simulation. PhD thesis, Stanford University, 1997.
  • [66] Giuseppe Vecchio and Valentin Deschaintre. MatSynth: A Modern PBR Materials Dataset. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 22109–22118. IEEE, 2024.
  • [67] Jiří Vorba and Jaroslav Křivánek. Adjoint-Driven Russian Roulette and Splitting in Light Transport Simulation. ACM Transactions on Graphics, 35(4):42, 2016.
  • [68] Jiří Vorba, Ondřej Karlík, Martin Šik, Tobias Ritschel, and Jaroslav Křivánek. On-Line Learning of Parametric Mixture Models for Light Transport Simulation. ACM Transactions on Graphics, 33(4):101, 2014.
  • [69] Lili Wang, Xuehuai Shi, and Yi Liu. Foveated Rendering: A State-of-the-Art Survey. Computational Visual Media, 9(2):195–228, 2023.
  • [70] Wenbin Wang, Liang Ding, Minyan Zeng, Xiabin Zhou, Li Shen, Yong Luo, Wei Yu, and Dacheng Tao. Divide, Conquer and Combine: A Training-Free Framework for High-Resolution Image Perception in Multimodal Large Language Models. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 7907–7915. AAAI Press, 2025a.
  • [71] Weiyun Wang, Zhangwei Gao, Lixin Gu, Hengjun Pu, Long Cui, Xingguang Wei, Zhaoyang Liu, Linglin Jing, Shenglong Ye, Jie Shao, Zhaokai Wang, Zhe Chen, Hongjie Zhang, Ganlin Yang, Haomin Wang, Qi Wei, Jinhui Yin, Wenhao Li, Erfei Cui, Guanzhou Chen, Zichen Ding, Changyao Tian, Zhenyu Wu, Jingjing Xie, Zehao Li, Bowen Yang, Yuchen Duan, Xuehui Wang, Zhi Hou, Haoran Hao, Tianyi Zhang, Songze Li, Xiangyu Zhao, Haodong Duan, Nianchen Deng, Bin Fu, Yinan He, Yi Wang, Conghui He, Botian Shi, Junjun He, Yingtong Xiong, Han Lv, Lijun Wu, Wenqi Shao, Kaipeng Zhang, Huipeng Deng, Biqing Qi, Jiaye Ge, Qipeng Guo, Wenwei Zhang, Songyang Zhang, Maosong Cao, Junyao Lin, Kexian Tang, Jianfei Gao, Haian Huang, Yuzhe Gu, Chengqi Lyu, Huanze Tang, Rui Wang, Haijun Lv, Wanli Ouyang, Limin Wang, Min Dou, Xizhou Zhu, Tong Lu, Dahua Lin, Jifeng Dai, Weijie Su, Bowen Zhou, Kai Chen, Yu Qiao, Wenhai Wang, and Gen Luo. InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiency. arXiv preprint arXiv:2508.18265, 2025b.
  • [72] Xingrui Wang, Wufei Ma, Tiezheng Zhang, Celso M de Melo, Jieneng Chen, and Alan Yuille. Spatial457: A Diagnostic Benchmark for 6D Spatial Reasoning of Large Multimodal Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 24669–24679. IEEE, 2025c.
  • [73] Yufei Wang, Zhanyi Sun, Jesse Zhang, Zhou Xian, Erdem Biyik, David Held, and Zackory Erickson. RL-VLM-F: Reinforcement Learning from Vision Language Foundation Model Feedback. In Proceedings of the 41st International Conference on Machine Learning (ICML), pages 51484–51501. PMLR, 2024.
  • [74] Martin Weier, Thorsten Roth, Ernst Kruijff, André Hinkenjann, Arsène Pérard-Gayot, Philipp Slusallek, and Yongmin Li. Foveated Real-Time Ray Tracing for Head-Mounted Displays. Computer Graphics Forum, 35(7):289–298, 2016.
  • [75] Martin Weier, Michael Stengel, Thorsten Roth, Piotr Didyk, Elmar Eisemann, Martin Eisemann, Steve Grogorick, André Hinkenjann, Ernst Kruijff, Marcus Magnor, Karol Myszkowski, and Philipp Slusallek. Perception-Driven Accelerated Rendering. Computer Graphics Forum, 36(2):611–643, 2017.
  • [76] Zichen Wen, Yifeng Gao, Weijia Li, Conghui He, and Linfeng Zhang. Token Pruning in Multimodal Large Language Models: Are We Solving the Right Problem? In Findings of the Association for Computational Linguistics: ACL 2025, pages 15537–15549. Association for Computational Linguistics, 2025a.
  • [77] Zichen Wen, Yifeng Gao, Shaobo Wang, Junyuan Zhang, Qintong Zhang, Weijia Li, Conghui He, and Linfeng Zhang. Stop Looking for “Important Tokens” in Multimodal Language Models: Duplication Matters More. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9961–9980. Association for Computational Linguistics, 2025b.
  • [78] Penghao Wu and Saining Xie. V*: Guided Visual Search as a Core Mechanism in Multimodal LLMs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13084–13094. IEEE, 2024.
  • [79] Tong Wu, Guandao Yang, Zhibing Li, Kai Zhang, Ziwei Liu, Leonidas Guibas, Dahua Lin, and Gordon Wetzstein. GPT-4V(ision) Is a Human-Aligned Evaluator for Text-to-3D Generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 22227–22238. IEEE, 2024.
  • [80] Long Xing, Qidong Huang, Xiaoyi Dong, Jiajie Lu, Pan Zhang, Yuhang Zang, Yuhang Cao, Conghui He, Jiaqi Wang, Feng Wu, and Dahua Lin. Conical Visual Concentration for Efficient Large Vision-Language Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14593–14603. IEEE, 2025.
  • [81] Senqiao Yang, Yukang Chen, Zhuotao Tian, Chengyao Wang, Jingyao Li, Bei Yu, and Jiaya Jia. VisionZip: Longer Is Better but Not Necessary in Vision Language Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 19792–19802. IEEE, 2025.
  • [82] Weihao Ye, Qiong Wu, Wenhao Lin, and Yiyi Zhou. Fit and Prune: Fast and Training-Free Visual Token Pruning for Multi-Modal Large Language Models. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 22128–22136. AAAI Press, 2025.
  • [83] Hector Yee, Sumanta Pattanaik, and Donald P. Greenberg. Spatiotemporal Sensitivity and Visual Attention for Efficient Rendering of Dynamic Environments. ACM Transactions on Graphics, 20(1):39–65, 2001.
  • [84] Jiarui Zhang, Mahyar Khayatkhoei, Prateek Chhikara, and Filip Ilievski. MLLMs Know Where to Look: Training-Free Perception of Small Visual Details with Multimodal LLMs. In International Conference on Learning Representations (ICLR 2025), 2025a.
  • [85] Qizhe Zhang, Aosong Cheng, Ming Lu, Renrui Zhang, Zhiyong Zhuo, Jiajun Cao, Shaobo Guo, Qi She, and Shanghang Zhang. Beyond Text-Visual Attention: Exploiting Visual Cues for Effective Token Pruning in VLMs. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 20857–20867. IEEE, 2025b.
  • [86] Yuan Zhang, Chun-Kai Fan, Junpeng Ma, Wenzhao Zheng, Tao Huang, Kuan Cheng, Denis A. Gudovskiy, Tomoyuki Okuno, Yohei Nakata, Kurt Keutzer, and Shanghang Zhang. SparseVLM: Visual Token Sparsification for Efficient Vision-Language Model Inference. In Proceedings of the 42nd International Conference on Machine Learning (ICML), pages 74840–74857. PMLR, 2025c.
  • [87] Ziwei Zheng, Michael Yang, Jack Hong, Chenxiao Zhao, Guohai Xu, Le Yang, Chao Shen, and Xing Yu. DeepEyes: Incentivizing “Thinking with Images” via Reinforcement Learning. In International Conference on Learning Representations (ICLR 2026), 2026.
  • [88] Matthias Zwicker, Wojciech Jarosz, Jaakko Lehtinen, Bochang Moon, Ravi Ramamoorthi, Fabrice Rousselle, Pradeep Sen, Cyril Soler, and Sung-Eui Yoon. Recent Advances in Adaptive Sampling and Reconstruction for Monte Carlo Rendering. Computer Graphics Forum, 34(2):667–681, 2015.

Supplementary Material

In this supplementary material, we describe our training details and pipeline implementation (Sec. A). Furthermore, we conduct an extensive comparison with denoising baselines (Sec. B) and discuss the effect of the global sampling budget of our method (Sec. C). Finally, we implement and test QAPT on alternative VLM backbones (Sec. D).

Appendix A Training details and integration

Relevance module.

In the first training pass, we supervise U with the ground-truth region of all possibly mentioned objects in the question, and the components are labelled by a large language model (LLM) [3] during QA generation. The labelled region is dilated by 8 pixels and attached with a 40-pixel band below the object to include the contact shadows. We train U with a combined loss function expressed as:

ℒU =ℒBCE+λ1ℒDice+λ2ℒCE, ℒBCE =13|ℛ|∑b∈ℛ,c[−yb,clogσb,c−(1−yb,c)log(1−σb,c)], ℒDice =1−2Σbrbyb+1Σbrb+Σbyb+1, ℒCE =1|ℛ|∑b∈ℛ[−∑cyb,c∑cyb,clogsoftmax(σb,c′)],

where yb,c is the label, yb=∑cyb,c, and σb,c′ is σb,c before sigmoid. ℒBCE and ℒDice help with component and region selection, respectively, while ℒCE encourages the model to avoid averaged results in component selection. In practice, we set both λ1 and λ2 to 0.5. In the second pass, we keep the same loss function but only replace the labels.

Budget module.

In the first training pass, we train the D network with noise statistics measured from 32 independent renderings of the training scenes, and it is supervised with the Gaussian negative log-likelihood of the variance:

ℒD=∑c∑b∈ℛ[zb,c2db,c2+logdb,c2],

where zb,c2 is the measured noise label. In the second pass, we train the budget MLP from the VLM teachers’ feedback using ℒ2 loss with L-2 regularisation (λ=0.01).

Implementation details.

The relevance module U and budget module D are both small U-Nets, trained for 30 epochs in the first pass (AdamW, learning rate 1.5×10−3) and fine-tuned for 10 epochs on the teacher labels (learning rate 5×10−4). U is a conditional U-Net with cross-attention whose blocks are modulated by FiLM [49]. The sample-aware VLM and VLM teachers are developed upon Qwen3-VL-8B [5], fine-tuned by rank-16 LoRA [24]. The fine-tuning takes ∼ 4 hours on 2 NVIDIA RTX A6000 GPUs. We implement QAPT in Blender 4.2 with a modified Cycles CUDA kernel. The modules run on the GPU inside Blender with PyTorch. During inference, the open-vocabulary detector takes 4.4 ms, and the relevance module takes 5 ms. Probe sampling takes 8.8 ms, and budget module takes 3 ms. The embedding of question is included in the render time, which happens before our relevance module. We use Blender to generate G-Buffers during the rendering stage, which can be potentially further accelerated by, e.g., precomputation.

Appendix B Comparison with denoising

QAPT is orthogonal to denoising methods, and both existing rendering baselines and our method can benefit from denoising. In Table 6, we report the quantitative results for denoising baselines by either enabling the native denoiser in their pipeline (if applicable), or processing the generated images with an open-source denoiser [1].

When applying a denoiser, our method only needs to process the relevant region, which is more efficient in computation. In contrast, other methods still need to invest the sampling cost to reach a decent image fidelity.

Table 6: Comparison with denoising baselines. Apart from RTXPT [44], we also process images from other rendering baselines from our main paper with an open-source denoiser [1] and compare their final VQA accuracies.

MethodAverage spp per frameRender time (ms)#TokensVLM time (ms)End-to-end time (ms)VQA accuracy (%)
Blender Cycles [8] + OIDN [1]14066014518553.1
46866014521361.2
3227166014541674.5
FastGI [10] + OIDN [1]13566014518053.9
45766014520255.4
3220266014534775.7
RTXPT [44] + denoiser (native)1866014515365.0
41666014516170.3
328566014523075.4
QAPT (Ours)0.85445449884.0
Reference5124,0176601454,16286.4

Appendix C Global budget multiplier

QAPT achieves advanced VQA accuracy with only ∼ 0.8 spp on average, and the budget is predicted from our proposed budget module. However, it is still possible to spend more effort in sampling by applying a global multiplier for all pixels while keeping the distribution within regions. In Fig. 7, we show the relationship between the global budget scaling and the final VQA accuracy, as well as the visualisation of the rendered images. With more sampling budgets, the visual cues (like highlights) are more distinguishable from the sampling noise. In practice, we keep the 1× budget as our recommended setting, as it achieves a good balance between sampling cost and accuracy.

Figure

Figure 7: The relationship between a global sampling budget multiplier and the final accuracy. By applying a global budget multiplier, we can invest more in sampling and achieve higher accuracy. With more samples invested, the cues (such as highlights) are more distinguishable from the sampling noise. We use the 1× configuration in practice.

Appendix D Alternative VLMs

QAPT is not restricted to any specific downstream VLM consumers. In Table 7, we re-implement our pipeline with alternative VLMs (InternVL3.5-8B [71] and LLaVA-OneVision-7B [34]) as the backbone, with the same training data and recipe. QAPT achieves close VQA performance across VLMs of similar parameter counts, and significantly outperforms uniform sampling consistently.

Table 7: QAPT on alternative VLMs. We test our pipeline with different VLMs as the backbone, and compare the VQA accuracy vs. uniform PT at equal render time.

Acc. (%)Qwen3-VLInternVL3.5LLaVA
Uni. PT42.841.946.3
QAPT (ours)84.076.085.4