Methods
In this section, we describe the image quality dataset, the Drift-diffusion model (DDM), and its implementation in our study.
2.1. Description of the Image Quality Dataset
The dataset used in this study is derived from an image quality experiment that involved human observers evaluating and rating the quality of compressed images on a 5-point scale (1: Worst, 5: Best). The dataset contains 2000 observations of images that were processed using different image compression techniques, including JPEG, JPEG2000, and HEVC. Each observation contains the following variables:
- Observer_ID: Unique identifier for each observer (N=50)
- Image_ID: Unique identifier for each evaluated image
- Compression_Type: Type of compression applied to the original image (JPEG, JPEG2000, or HEVC)
- Compression_Ratio: The compression ratio used for the specific compression method
- Quality_Rating: The quality rating assigned by the observer (1-5)
- Response_Time: Time taken by the observer to assign the quality rating (measured in seconds)
2.2. The Drift-Diffusion Model
The DDM is a cognitive model that describes the decision-making process in simple tasks where a decision is made between two alternatives. The model assumes that evidence is accumulated over time until it reaches a decision threshold or boundary. This model has been successfully applied in various fields, including perceptual decision-making and memory tasks. In the context of our image quality study, we adapt DDM to accommodate the multiple-alternative (5-point scale) forced-choice nature of the task.
2.2.1. Model Parameters and Assumptions
The DDM incorporates several parameters to describe the decision-making process. These include:
- Drift rate (v): Represents the rate at which evidence is accumulated towards a particular choice. In the context of image quality, this can be interpreted as the speed at which observers judge the images' quality.
- Boundary separation (a): Defines the amount of accumulated evidence required to make a decision, representing the decision boundaries between quality rating categories.
- Starting point (z): Represents the initial bias towards a specific decision or rating. In our model, we assume z = 1/2 * boundary separation (a) to indicate a neutral starting point.
2.2.2. Bayesian Model Fitting using 'brms'
We implement the DDM using R and the 'brms' package, which provides a convenient and flexible framework for Bayesian modeling. We fit the model using the following steps:
- Specify the model formula:
Response_Time | dec(Quality_Rating) ~ 1 + Compression_Type, with Response_Time as the response variable, Quality_Rating as the decision variable, and Compression_Type as a predictor of image quality perception.
- Select the appropriate model family:
wiener(), which is designed for Drift-diffusion models.
- Define priors for the model parameters: For example, normal(0, 1) for the intercept and slopes, and uniform(0, 1) for the drift rate and boundary separation.
- Set the number of Markov chains, total iterations, and warm-up steps appropriately (here, we use 4 chains, 2000 iterations, and 1000 warm-up steps).
- Fit the model to the dataset using the 'brm' function and check the results.
2.3. Implementation of DDM on Image Quality Dataset
We apply the DDM to the image quality dataset by fitting the model to the data according to the steps outlined above. We evaluate the model's performance and assess the estimated parameters to understand the decision-making processes associated with image quality assessments. Further, we conduct sensitivity and robustness checks to ensure the estimates' reliability and stability.