# Patent

## Title
Estimating affective response to a token instance utilizing a window from which the token instance was removed

## Abstract

Described herein are embodiments of systems, methods, and computer programs for estimating affective response to a token instance of interest. A measurement of affective response of the user to a temporal window of token instances is taken. A token instance belonging to the window is selected as a token instance of interest based on an attention level of the user, and is removed from the temporal window of token instances. A predicted affective response to the temporal window of token instances from which the token instance of interest is removed is computed. The affective response to the token instance of interest is computed based on the difference between the measured affective response of the user and the predicted affective response.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 13/656,704, filed Oct. 20, 2012, which claims the benefit of U.S. Provisional Patent Application No. 61/549,218, filed Oct. 20, 2011.


BACKGROUND
People these days have a seemingly endless number of options when it comes to interacting with the digital world. There is a virtually infinite number of digital media objects and activities at their fingertips such as videos, music, games, websites, and virtual worlds. In addition, the advances in computing make it possible to personalize digital content for users, not only by bringing users specific content of their liking (such as streaming music, videos, loading games, or virtual worlds), but also generating content especially tailored to their taste (e.g., by rendering specific images in videos or games). Such personalization makes it possible for each user to get the most suitable, enjoyable and effective content on demand. However, in order to optimize and tune an experience to an individual user's liking, it is important to be able to discern the user's specific reaction to various objects and/or changes in specific details.
One of the main problems limiting widespread adoption of advanced personalization of digital experiences is the inadequacy of current user preference modeling. While models of a user's implicit preferences can be created by analysis of the user's digital footprint (e.g., visit to websites, online purchases, or semantic analysis of user correspondences), they can typically only answer broad questions regarding the user's preferences toward the entire content or experience. For example, such models are able to provide answers to broad questions like: Does the user like action videos or romantic comedies? Does the user like cars? Similarly, analysis of the user's explicit preference indications (e.g., Facebook's “Like” or Google's “+1” buttons) only provides information on the user's feeling towards content items in their entirety (e.g., a website, a video clip, or a book purchased on Amazon).
One area in computer science, which has been showing tremendous progress in recent years, is affective computing. Advances in the area of affective computing are making it possible to continuously monitor a user's emotional state (also called affective response), using a wide array of sensors that measure physiological signals and/or behavioral ques. As the technology advances and the systems used to measure affective response are becoming cheaper, much smaller and more comfortable to wear, affective computing is moving from laboratories to day-to-day applications. However, even measuring a user's affective response, usually only provides indications of the user's attitude to the content in its entirety, such as revealing the user's response to a whole viewed scene, or the last minute of game play.
The aforementioned methods fall short when it comes to understanding the user's attitude towards specific details, which may be valuable for effective personalization. These methods also fall short of answering simple questions such as, how does the user feel towards a specific character in a game? Which villain elicits a stronger reaction in a battle scene? Would a user prefer that a presenter in an insurance advertisement be a man or a woman? Should that presenter be dressed in casual or formal attire? Should the sofa in the background be blue or beige? Knowing such details can help make personalized content that suits a user's specific taste, which makes the content more engaging and likeable.
Thus, there is a need to be able to discern specific details regarding a user's preferences in order to make more accurate user models and improve content personalization for users.
BRIEF SUMMARY
The emergence ubiquitous computing, with sensors and computers being embedded in clothing and accessories (e.g., bracelets), and even implanted in the human body, bring many opportunities for utilizing affective computing systems to gain much better understanding of the user's feelings and attitudes. Some of the disclosed embodiments describe methods for learning the user's preferences towards specific details and/or objects such as characters, images, and/or sounds viewed by a user in video clips, games, and/or interaction with real and/or virtual worlds (these details and objects are referred to as “token instances”).
Some aspects of this disclosure rely on measuring user modalities (also referred to as “user measurement channels”) in conjunction with algorithms for identifying interesting objects to which the user pays attention (these are referred to as “token instances of interest”). The change in the user's affective response may be attributed, at least in part, to the user's reaction to the token instances of interest. By monitoring the user over time, when exposed to different token instances, it is possible to deduce how the user will react to future exposures to different objects and in particular to compare the user's reaction to different token instances (e.g., monster A vs. monster B in a video game, cats vs. dogs in a commercial). Optionally, this information may be compiled into a library; thus making it possible to model a user's likes and dislikes and use that information to personalize new content and/or experiences tailored for the user.
Some aspects of this disclosure include a memory coupled with a processor. The memory stores information relating to token instances to which a user is exposed (e.g., stimuli such as images and/or sounds), a response of the user to the token instances, and information regarding attention of the user at that time. Optionally, the response may be an emotional response (e.g., predicted from models) and/or an affective response (e.g., measured values from one or more user measurement channels). Optionally, the information regarding the attention of the user may be predicted (e.g., a prediction made based on the token instances) and/or measured (e.g., measurements obtained from eye-tracking). The processor may process at least some of the stored information in order to determine which one or more of the stored tokens may be considered a token instance of interest. In addition, the processor may compute the response of the user to a determined token instance of interest. In some embodiments, the response of the user to a token instance of interest may be expressed as an affective response in terms of a value and/or change of value to a user measurement channel (e.g., a heart rate, spiking of an EEG signal). Additionally or alternatively, the response of the user to a token instance of interest may be expressed as an affective response in terms an emotional state and/or change to emotional state (e.g., happiness, becoming excited).
Some aspects of this disclosure involve determining the user's response to token instances of interest by comparing a measured response of the user when exposed to a certain content or experience, with the predicted response of the user when exposed to essentially the same scene or experience without the token instances of interest; thus, the prediction is performed on what may be considered background token instances. The difference between the two values can be attributed (at least in part) to the user's response to the token instances of interest. By monitoring the user over time, when exposed to different token instances, it is possible to deduce how the user will react to future exposures to different objects and in particular to compare the user's reaction to different token instances (e.g., monster A vs. monster B in a video game, cats vs. dogs in a commercial). Note that in some embodiments, it is not necessary to know which of the token instances are token instances of interest, only knowledge of the background token instances is required. Thus, the method is suitable for the task of detecting the presence of novel or unexpected token instances to which the user pays attention and affect his/her response. Thus, after the detection of the presence of such tokens, further effort (e.g., algorithmic or manual annotation) might be applied in order to identify which of the novel images, sounds or effects should be labeled as token instances (and also determine their unexpected effect on the user).
Some aspects of this disclosure may be especially suitable for characterizing the user's response to token instances in domains like video games and virtual worlds, since in such domains measurements of the user may be taken multiple times while experiencing in essentially the same, very similar, repetitive scenes or missions. This makes it possible to train accurate situation-specific predictors of the user's response for those cases. Therefore, any significant variation detected between the predicted user's response to background tokens, and the measured response to the full set of token instances (both background and token instances of interest) may be indicative of the effect of the user's exposure to the token instances of interest.
Some aspects of this disclosure involve systems that include a processor and a decomposer. The processor is configured to predict a user's response to background token instances to which the user is exposed. The decomposer receives a measured response to the background token instances and an additional token instance of interest. The decomposer also estimates the response to the token instance of interest according to the difference between the measured response (that includes the token instance of interest) and the predicted response (that does not include the token instance of interest).
Some aspects of this disclosure involve receiving information on the attention level of the user in token instances to which the user is exposed. The information on the attention level may enable the selection of a token instance of interest. A predictor may be used to predict the user's response to the token instances without the token instance of interest. Comparing the user's predicted response to an actual response of the user that was measured when the user was exposed to all of the token instances can enable the estimation of the user's response to the token instance of interest.
Some aspects of this disclosure involve measuring the user's affective response during numerous iterations the user has experiencing essentially the same scene (e.g., a visit to a website, and/or game play of a level). This enables accurate modeling of the user's typical affective response to the scene (and essentially similar variations of it). Thus, if the user visits the same scene but with an additional element introduced that is not part of the typical scene (e.g., a new sound effect, a new character, and/or additional graphics), any change in the user's affective response can be attributed (at least in part) to the user's reaction to the new introduced element
Some aspects of this disclosure involve a memory coupled to a processor. The memory stores response of a user to multiple variants of a repetitive scene and an additional response of the user to an additional variant of the scene that includes a specific token instance that is not included in the other variants. The processor utilizes the information stored in the memory to estimate the response of the user to the specific token instance.
Some aspects of this disclosure involve a memory coupled to a processor. The memory stores response of a user to multiple variants of a repetitive scene and an additional response of the user to an additional variant of the scene that lacks a certain token instance. The processor utilizes the information stored in the memory to estimate the response of the user to the certain token instance.



BRIEF DESCRIPTION OF THE DRAWINGS
The embodiments are herein described, by way of example only, with reference to the accompanying drawings. In the drawings:
FIG. 1 illustrates a system that identifies as token instance of interest and estimates the response to it;
FIG. 2 illustrates a block diagram for identifying a token instance of interest and estimating the response to it;
FIG. 3 illustrates a system that estimates a response to a token instance of interest from measurements and a predicted response to the background;
FIG. 4 illustrates a block diagram for estimating a response to a token instance of interest from measurements and a predicted response to the background;
FIG. 5 illustrates a system in which a processor estimates a response to a token instance of interest from measurements and a received predicted response to the background;
FIG. 6 illustrates a block diagram for estimating a response to a token instance of interest from measurements and a received predicted response to the background;
FIG. 7 illustrates a system that selects a token instance of interest and estimates the response to it utilizing a predicted response to the background;
FIG. 8 illustrates a block diagram for selecting a token instance of interest and estimating the response to it utilizing a predicted response to the background;
FIG. 9 illustrates a block diagram for estimating the response to a token instance that is added to a variant of a repetitive scene;
FIG. 10 illustrates a system that estimates the response to a token instance that is added to a variant of a repetitive scene;
FIG. 11 illustrates a block diagram for estimating the response to a token instance in a repetitive scene by utilizing the response to a variant of the scene that lacks the token instance; and
FIG. 12 illustrates a system that estimates the response to a token instance in a repetitive scene by utilizing the response to a variant of the scene that lacks the token instance.



DETAILED DESCRIPTION
In some embodiment, the system processes user measurement channels and/or tokens. The user measurement channels are data obtained from monitoring a user. The tokens may include one or more of the following types of data pertaining to: (i) the sensual stimuli to which the user is exposed, (ii) the user's cognitive condition, (iii) the user's situation, and/or (iv) the user's physiological condition. More detailed and comprehensive explanations about different types of data collected and processed by some of the disclosed embodiments are provided below.
The term “affective response”, which may also be referred to as “affect”, describes an entity's emotional state (for example a human beings emotional state). Affective response may also describe the physiological and/or behavioral manifestation of an entity's emotional state, for example as observed or measured via user measurement channels. The terms “affective response/state” and “emotional response/state” may be used herein interchangeably, but usually the affective response is derived from measurements or observations, while the emotional state is predicted from models.
The term “user measurement channels”, or the alternative form “measurement channels of the user”, refer to physiological measurements and/or measurements of unsolicited behavioral cues of the user, which may be either raw measurements and/or processed measurements (e.g., resulting from filtration, calibration, and/or feature extraction). Examples of physiological measurements include various types of signals taken of the user's physiological state using sensors for physiological properties, such as heart rate (HR), Blood-Volume Pulse (BVP), Galvanic Skin Response (GSR), Skin Temperature (ST), respiration, electroencephalography (EEG), electrocardiography (ECG), electromyography (EMG), Electrodermal Activity (EDA), and others. Examples of measurements of unsolicited behavioral cues of the user include measurements derived from one or more cameras (e.g., detecting body gestures, facial expressions, microexpressions), microphones (e.g., detecting vocal cues, analysis of user's unsolicited speech), movement sensors, acoustic sensors, and/or pressure sensors. The user measurements may utilize various existing, and/or yet to be invented, sensors and measurement devices that may be attached to the body, clothing (such as gloves, shirts, helmets), implanted in the user's body, and/or remote sensors external to the user's body. It is noted that the user measurement channels are often referred to in the literature as “modalities”. In one embodiment, the user measurement channels may be received by the system as raw data, and/or after filtration (e.g., noise cancellation), and/or after signal processing (e.g., after speech recognition, image analysis, and/or feature extraction from inputs like facial expression, microexpressions, audio samples, user movements).
The user measurement channels do not include solicited feedback from the user, such as (i) questions the user may answer to rate an experience and/or activity (e.g., eBay seller feedback), (ii) a mechanism in which the user can actively provide a feedback, such as Facebook's “Like” button or Google's “+1” button, and/or (iii) a analysis of feedback in the form of text or speech, that is provided by the user upon request, or at an agreed upon time or situation, such as at the end of a video clip, or after prompting the user (e.g., by asking a question such as “how did you feel about that?”). One of the properties that distinguish between solicited and unsolicited feedback is that with solicited feedback the system can usually determine when the feedback is given and the object that is the target of the feedback, while with unsolicited feedback this information may need to be inferred, and thus usually requires additional steps.
The term “token” refers to a thing that has a potential to influence the user's affective response. Optionally, tokens may be categorized according to their source with respect to the user: external or internal tokens. In one embodiment, the tokens may include one or more of the following:
(i) Information referring to a sensual stimulus or a group of sensual stimuli that may be experienced or sensed by the user. These tokens usually have a specified source such as objects or systems in the user's vicinity or that the user is interacting with in some way, such as digital or printed media, augmented reality devices, robotic systems, food, and/or beverages. For example, a token may be an item (e.g. car), a movie genre (e.g., “comedy”), a type of image (e.g., “image of person”); a specific character (e.g., “Taco Bell Chihuahua”); web-site (e.g., “Facebook”); Scents or fragrances (e.g., “Chanel no. 5”); a flavor (e.g., “salty”), a physical sensation (e.g., “pressure on the back”).
(ii) Properties or values derived from a stimulus or group of stimuli. For example, the rate in which scenes change in a movie; the sound energy level; the font-size in a web-page; the level of civility in which a robot conducts its interaction with a user.
(iii) Information about the environmental conditions that may influence the user's affective response. For example, a token may refer to the user's location (e.g., home vs. outdoors), the time of day, lighting, general noise level, temperature, humidity, speed (for instance, when traveling in a car).
(iv) Information about the user's physiological and/or cognitive state. For example, the user's estimated physical and/or mental health, the user's estimated mood and/or disposition, the user's level of alertness and/or intoxication.
A token and/or a combination of tokens may represent a situation that if the user becomes aware of it, is expected to change the user's affective response to certain stimuli. In one example, monitoring the user over a long period, and in diverse combinations of day-to-day tokens representing different situations, reveals variations in the affective response that are situation-dependent, which may not be revealed when monitoring the user over a short period or in a narrow set of similar situations. Examples of different situations may involve factors such as: presence of other people in the vicinity of the user (e.g., being alone may be a different situation than being with company), the user's mood (e.g., the user being depressed may be considered a different situation than the user being happy), the type of activity the user is doing at the time (e.g., watching a movie, participating in a meeting, driving a car, may all be different situations). In some examples, different situations may be characterized in one or more of the following ways: (a) the user exhibits a noticeably different affective response to some of the token instances, (b) the user is exposed to significantly different subsets of tokens, (c) the user has a noticeably different user emotional state baseline value, (d) the user has a noticeably different user measurement channel baseline value, and/or (e) samples derived from temporal windows of token instances are clustered, and samples falling into the same cluster are assumed to belong to the same situation, while samples that fall in different clusters are assumed to belong to different situations.
The term “token instance” refers to the manifestation of a token during a defined period of time and/or event. The relationship between a token and its instantiation (i.e., the token instance) is somewhat similar to the relationship between a class and its object in a programming language. For example, a movie the user is watching is an instance of the token “movie” or the token “The Blues Brothers Movie”; an image of a soda can viewed through a virtual reality enabled device is a token instance of “soda can”; the sound of the soda can opening in an augmented reality video clip played when viewing the can may be considered a token instance of “soda can popping sound”; the scent of Chanel 5 that the user smelt in a department store while shopping for a present is an instance of the token “perfume scent”, or a more specific token may be “scent of Chanel no. 5”; the temperature in the room where the user is sitting may be considered an instance of the token “temperature is above 78 F”; the indication that the user sitting alone in the room is an instance of the token “being alone”, and the indication that the user is suffering from the flu may be considered an instance of the token “sick”.
The term “exposure” in the context of a user being exposed to token instances means that the user is in a position to process and/or be influenced by the token instances, be they of any source or type.
The response of a user to token instances may refer to the affective response of the user to being exposed to the token instances. Optionally, response may be expressed as a value, and/or a change to a value, of a user measurement channel. Additionally or alternatively, the response may be expressed as a value, and/or a change to a value, of an emotional state.
The term “token source” refers to an element that influences the user's affective state via the user's exposure to the element's token instances. The token instances may be generated by the token source (e.g., a robot providing token instances describing its operations), by the system (e.g., the system performs semantic analysis to a voice conversation), and/or received from a third party (e.g., the system accesses token instance repository for multimedia the user was exposed to). The term “distinct token sources” refers to token sources that are both distinguishable from the user's perspective and operate essentially independently. For example, a massage robot, a television, and a word processing software operating simultaneously are distinct token sources, while audio and video stimuli generated by a computer game are considered as originating from the same token source. In one embodiment, a token instance may be associated with one or more sources. Optionally, a token instance without a defined token source may be attributed to an arbitrary token source, such as the environment.
The term “temporal window of token instances”, also referred to as “window”, refers to a set of token instances and other optional values, which correspond to a temporal scope defined by the window. In one example, the window may contain token instances for which at least some portion of their existence took place within the temporal scope that defines the window. In another example, the temporal window of token instances is a snapshot of the token instances that existed in a specific time point. Optionally, the window may have a fixed duration. Optionally, the window may have a variable length, for example spanning a certain event, such as the user's viewing of a commercial, visiting a web site, interacting with a robot, or reading an article. Optionally, the window may include values other than token instances derived from other sources such as user measurement channels.
Deciding which token instances belong to a temporal window of token instances may be arbitrary. For example, a system may decide that certain images the user is exposed to in a video clip are described by token instances, while others may be left without incorporating token instances associated with them into the temporal window of token instances.
When a user is exposed to a temporal window of token instances, it means that the user is exposed to the token instances that belong to the temporal window of token instances. Similarly, a user's response to a temporal window of token instances is the response of the user to the token instances that belong to the temporal window of token instances.
In one embodiment, any group of token instances that occur within a certain temporal scope may be considered a temporal window of token instances that corresponds to the certain temporal scope.
In some embodiments, “target value” describes the result of applying a machine learning prediction algorithm to an input instance. The target value may be represented by a state, a category, and/or a measurement. Optionally, a target value may be associated with a temporal window of token instances or with one or more token instances. For example, a target value may be an emotional state prediction of the user, or a value derived from the user measurement channels. Optionally, the target value may be represented by discrete categories, a univariate value, or a point in a multidimensional space. In one example, the target value represents a transition between two categorical states. In another example, the target value represents the difference between the user's states at times corresponding to the end and beginning of a temporal window of token instances. In still another example, the target value represents an average value of a variable computed over the values of the variable during the time covered by a temporal window of token instances.
FIG. 1 illustrates one embodiment of a system configured to estimate a response of a user to a token instance of interest 430. The system includes at least a memory 426 and a processor 428.
The memory 426 is configured to store token instances 420 to which the user is exposed. The memory 426 is also configured to store a total response 422 of the user to the token instances 420.
In addition, the memory 426 is configured to store at least two respective representations of attention level 424 of the user in at least two of the token instances. Optionally, each of the two respective representations enables an assignment of an interest level in one of the token instances. Additionally, the at least two token instances have overlapping instantiation periods (i.e., there is a time during which the user is simultaneously exposed to the two token instances).
The processor 428 is configured to select the token instance of interest 430 from among the at least two of the token instances based on the representations of attention level 424. The processor 428 is also configured to estimate the response to the token instance of interest 432 from the total response of the user to the token instances 422.
FIG. 2 illustrates one embodiment of a method for estimating a user's response to a token instance of interest. The method includes the following steps:
In step 400, receiving token instances to which the user was exposed during a certain duration. Optionally, the token instances may belong to a certain temporal window of token instances that spans the certain duration.
In step 401, receiving a total response of the user to the token instances.
In one embodiment, the total response of the user is derived from measurements of the user taken with a sensor. Optionally, values representing the total response of the user are expressed as an affective response in terms of values of a user measurement channel and/or changes to values of a user measurement channel. Optionally, values representing the total response of the user are expressed as an affective response that may be emotional state and/or change to an emotional state.
In step 402, receiving at least two representations of attention level representing the user's attention in at least two of the token instances. The at least two token instances have overlapping instantiation periods (i.e., there is a time during which the user is simultaneously exposed to both token instances). Optionally, the representations of attention levels may be used to assign at least one of the at least two token instances with an attention level (e.g., a relative or absolute value representing the attention in the token instance).
In step 403, selecting a token instance of interest from among the at least two token instances according to the attention level values. Optionally, the token instance of interest is selected as the token instance for which the attention level is highest.
And in step 404, estimating the response to the token instance of interest from the total response of the user to the token instances.
In one embodiment, the received token instances correspond to various types of entities, e.g., images, plot elements, semantic meanings, sounds, sensations, flavors, temperatures, and/or the user's situation. Optionally, the received token instances originate from multiple distinct sources. For example, tokens from a server describing digital content the user is viewing and tokens from a computerized system linked to video cameras that describe the people in the user's vicinity. Optionally, received token instances are detected by the user using essentially different sensory pathways. For example, some of the received token instances describe images the user saw and are detected and processed by the user's visual sensory pathway, while other received token instances correspond to sounds heard by the user (possibly at the same time the images were seen), and are detected and processed by the user's auditory sensual pathway. Optionally, at least some of the token instances to which the user was exposed during the time frame are received in the form of temporal windows of token instances to which.
In one embodiment, the token instances that are received may belong to a certain temporal window of token instances that spans a certain duration. Optionally, the certain duration is essentially a fixed duration, for example 10 seconds. Alternatively, the certain duration may have a variable length that corresponds to certain objects or events, such as the length of a scene in a movie, a video clip, or the time required to complete a mission or play through a level in a game. Additionally or alternatively, the certain duration may correspond to the relative time needed to detect a change in a user measurement channel. For example, a duration suitable for detecting a change in heart rate signals might last a few seconds, while a duration suitable for detecting change in skin temperature measurements might span minutes.
In one embodiment, the total response is a measured response, i.e., it is derived from measurements of the user. Alternatively or additionally, the total response may be a predicted response, i.e., it is derived with the aid of a predicting algorithm, such as machine learning-trained predictor.
In one embodiment, the total response is a based on affective response values such as emotional response values. For example, the total response is computed to be the difference between an emotional state of the user before and after being exposed to the token instances (e.g., the difference in the degree of excitement of the user before and after the exposure).
In one embodiment, the total response is based on values of a user measurement channel of the user. For example, the total response may be computed from physiological values of the user such as a heart rate or brainwave signals measured with EEG.
In one embodiment, the total response is proportional to difference between the responses of the user before and after the user was exposed to the token instances. For example, the response may be expressed as a change in the heart rate of the user as determined by heart rate measurements taken before and after the exposure to the token instances.
In one embodiment, computing the total response involves receiving a baseline value for the user's response. The computation of the total response due to the user's exposure to the token instances maybe done with adjustments with respect to the baseline value. For example, the user's total response may include a heart rate value which is the difference between heart rate measurements before and after exposure to token instances. This computation can also take into account the distance of values from the baseline value. Thus, for example, part of the difference between the measurement values before and after the exposure may be attributed to the heart rate returning to the baseline value.
In one embodiment, the response to the token instance of interest is the response of the user to the token instance of interest. For example, the response to the token instance of interest is derived from a total response that was based on measurements of the user or on a prediction made from a model of the user (e.g., the model was trained on training data that includes measurements of the user). Additionally or alternatively, the response to the token instance of interest may be considered a response of a general and/or representative user. For example, the response to the token instance of interest is derived from a total response is based on a prediction of a general model (trained mostly on data that does not involve the user).
In one embodiment, the representations of attention level are derived from a measurement channel of the user. For example, for visual token instances (e.g., images of objects), the representations of attention level may be derived from a camera and eye-tracking software that tracks the gaze of the user. Attention level of the user in a visual token instance (e.g., image of a dog) may be expressed as the proportion of time the user spends staring at the object.
In another embodiment, the representations of attention level are predicted based on the token instances. For example, for visual token instances, the representation of attention levels may be from an algorithm that predicts levels of interest in objects and/or in regions of an image. Attention level of the user in a token instance may be expressed as the predicted level of interest in the token instance and/or the region in the visual field in which the token instance resides.
In one embodiment, multiple token instances of interest may be selected from among the received token instances. Optionally, less than half of the token instances are considered to be the token instances of interest. Optionally, at most one token instance at a time is considered to be the token instance of interest, i.e., the token instances of interest do not have overlapping instantiation periods.
In one embodiment, estimating the response to the token instance of interest from the total response involves attributing a portion of the total response to the token instance of interest. In one example, more than 50% of the total response may be attributed to the response to the token instance of interest. Thus, if the total response is an increase of 10% to the heart rate, then the response to the token instance of interest is an increase of more than 5% to the heart rate. In another example, more than 90% of the total response is attributed to the response to the token instance of interest. In still another example, essentially all of the total response is attributed to the response to the token instance of interest, i.e., the response to the token instance of interest essentially equals the total response.
In one embodiment, estimating the response to the token instance of interest from the total response takes into consideration properties of the token instance of interest. For example, the portion of the total response that may be attributed to the token instance of interest may depend on properties such as the relative amount of time the user is exposed to the token instance of interest and/or the level of attention the user pays to the token instance of interest. Thus, if the user is exposed to the token instance of interest for a relatively short while, and/or the user pays relatively little attention to the token instance of interest, the estimated response to the token instance of interest may be relatively weak; for instance, only a small portion of the total response (e.g., 10%) is attributed to the response to the token instance of interest. However, if the user is exposed to the token instance for a relatively long time, and/or pays a lot of attention to the token instance of interest, the response attributed to the token instance of interest may be relatively higher, e.g., 90% of the total response.
FIG. 3 illustrates one embodiment of a system configured to estimate a response of a user to a token instance of interest. The system includes at least a processor 804 and a decomposer 809. Optionally, the processor 804 and the decomposer are realized in the same device. Optionally, the processor 804 provides the functionality of the decomposer 809. For example, the decomposer 809 is realized via a program that runs on the processor 804.
The processor 804 is configured to receive a background token instance 802 to which the user was exposed. Optionally, the processor 804 may receive additional token instances. The processor 804 is also configured to predict a response 806 due to exposure to the background token instance. Optionally, the predicted response 806 is a response to being exposed to the background token instance 802 and possibly to other token instances that do not include the token instance of interest.
The decomposer 809 is configured to receive a measured response 808 of the user due to simultaneous exposure to both the background token instance 802 and the token instance of interest, and to estimate response of the user to the token instance of interest 810 based on the difference between the predicted response 806 and the measured response 808. For example, the predicted response 806 is subtracted from the measured response 808, and the difference is attributed to the response to the token instance of interest 810.
FIG. 4 illustrates one embodiment of a method for estimating a user's response to a token instance of interest. The method includes the following steps:
In step 820, receiving token instances to which the user was exposed during a certain duration. The received token instances include a token instance that is considered a background token instance. Optionally, the token instances include multiple background token instances. Optionally, at least some of the background token instances have overlapping instantiation periods, i.e., there are times in which the user is exposed to more than one background token simultaneously.
In step 821, predicting response due to exposure to the background token instance. Optionally, predicting the response is done utilizing a machine learning-based predictor that is given an input that includes the background token instance or is derived, at least in part, from the background token instance. For example, the input to the predictor is a vector with a least one dimension whose value is set according to the background token instance.
In step 822, receiving a measured response of the user due to exposure to token instances comprising both the background token instance and the token instance of interest.
And in step 823, estimating response of the user to the token instance of interest based on difference between the predicted response and the measured response. For example, the predicted response is subtracted from the measured response, and the difference is attributed to the response to the token instance of interest.
FIG. 5 illustrates one embodiment of a system configured to estimate a response of a user to a token instance of interest. The system includes at least a processor 844.
The processor 844 is configured to receive a measured response 840 of the user due to exposure to token instances that include a background token instance and the token instance of interest. The processor 844 is also configured to receive a predicted response 842 due to exposure to the background token instance. From these inputs, the processor 844 is further configured to estimate the response of the user to the token instance of interest 846 based on the difference between the predicted response 842 and the measured response 840.
FIG. 6 illustrates one embodiment of a method for estimating a user's response to a token instance of interest. The method includes the following steps:
In step 850, receiving a measured response of the user due to exposure to token instances comprising a background token instance and the token instance of interest. Optionally, the background token instance and the token instance of interest have overlapping instantiation periods, i.e., there are times in which the user is simultaneously exposed to both the token instance of interest and the background token instance.
In step 851, receiving a predicted response due to exposure to the background token instance. Optionally, the predicted response is obtained utilizing a machine learning-based predictor that is given an input that includes the background token instance or is derived, at least in part, from the background token instance. For example, the input to the predictor is a vector with a least one dimension whose value is set according to the background token instance.
And in step 852, estimating response of the user to the token instance of interest based on difference between the predicted response and the measured response. For example, the predicted response is subtracted from the measured response, and the difference is attributed to the response to the token instance of interest.
In one embodiment, a background token instance is a token instance that typically does not command user's attention to a large extent. During the time a user is exposed to a background token instance, the user is exposed to at least one more token instance (e.g., the token instance of interest) that is more likely to capture the user's attention than the background token instance. In one example, the token instance of interest is the main character in a video clip or game scene, and a background token instance may be a token instance corresponding to a minor characters appearing at the same time as the main character, a token instance corresponding to the background of the scene (e.g., the color of the room), and/or a token instance corresponding to the type of background music.
In one embodiment, a machine learning-based predictor is utilized to produce the predicted response. Optionally, the machine learning-based predictor is for the response of the user, e.g., the predictor is adapted to the user, such as being trained on training data that involves the user. Optionally, the machine learning-based predictor is trained on data collected over a long period, in which the user was in different situations. Optionally, values representing the predicted response of the user are given as an affective response in terms of values of a user measurement channel and/or changes to values of a user measurement channel. Optionally, values representing the predicted response of the user are given as an affective response, which may be an emotional state and/or a change to an emotional state.
In one embodiment, the measured response is derived from measurements of the user (e.g., taken with a sensor). Optionally, values representing the measured response of the user are given as an affective response in terms of values of a user measurement channel and/or changes to values of a user measurement channel. Optionally, values representing the measured response of the user are given as an affective response, which may be emotional state and/or change to an emotional state.
In one embodiment, the response to the token instance of interest is the response of the user to the token instance of interest. Additionally or alternatively, the response to the token instance of interest is considered a response of a general and/or representative user (e.g., the response is considered a generic response to the token instance of interest). Optionally, the response to the token instance of interest equals essentially the predicted response subtracted from the measured response.
In one embodiment, the background token instance belongs to a temporal window of token instances that is provided to the processor. The temporal window of token instances does not include the token instance of interest. The processor predicts the response by providing the temporal window of token instances to a machine learning-based predictor that predicts the response to the temporal window of token instances. Optionally, a collaborative filtering model for predicting the user's response to temporal windows of token instances is creating by using measured responses of other users to temporal windows of token instances. Optionally, the background token instance, and possibly other token instances that do not include the token instance of interest, are provided to a predictor that receives a stream of token instances as input.
In one example, the temporal window that includes the background token instance is generated by a video game graphics engine in which essentially all objects and characters are rendered, except for the lead character (operated by the user) and the lead virtual villain that the user's character must confront. The temporal window of token instances includes token instances extracted from the rendered by the video game. In another example, the temporal window of background token instances is generated by extracting token instances from a musical sequence without vocals or singing.
In one embodiment, the machine learning-based predictor for the user's response is trained on data collected over a long period, in which the user was in different situations. In another example, the machine learning-based predictor for the user's response is trained on samples including data of previous instantiations of token instances in order to create a habituation compensating machine learning-based predictor for the user's response due to the user's exposure to the background token instances.
In one embodiment, the predicted value of the user's response due to the user's exposure to the background token instance is calculated by selecting a machine learning-based predictor for the user's response appropriate to a situation the user is in from among at least two machine learning-based predictors for the user's response. Optionally, each of the machine learning-based predictors was trained on data collected from periods of time in which the user was in a situation belonging to a distinct set of situations specific to that machine learning-based predictor. Thus, the set of predictors comprises a set of situation-specific predictors, capable in some cases of producing more accurate situation-specific predictions.
In one embodiment, the predicted response levels are computed with respect to a received baseline value that is provided to the predictors as an additional input (e.g., a baseline value of a user measurement channel).
In one embodiment, the token instance of interest may be a token instance for which measured attention level of the user is highest. For example, of the visual token instances to which the user is exposed, the token instance of interest is the one that eye-tracking determines that the user spent the most timing looking at. Alternatively or additionally, the token instance of interest may be a token instance for which predicted attention level is the highest. For example, the token instance of interest may be one that a model predicts is most likely to cause a user to stare at.
In one embodiment, the response of a user to the token instance of interest is estimated based on the difference between the predicted response and the measured response. For example, the response to the token instance of interest essentially equals the difference between the value (e.g., heart rate) of the predicted response (which is a response to the background token instance), and the measured response (which is a response to both the background token instance and the token instance of interest). Optionally, the difference is computed by subtracting the value of the predicted response from the value of the measured response. Alternatively, the response to the token instance of interest may be proportional to the difference, and depend on properties related to the token instance of interest. For example, the portion of the difference that is attributed to the response to the token instance of interest may be proportional to how much attention the user pays to the token instance of interest, and/or how long the user is exposed to the token instance of interest; the more the user pays attention and/or the more the user is exposed, the larger the portion of the difference is attributed to the token instance of interest.
FIG. 7 illustrates one embodiment of a system configured to estimate a response of a user to a token instance of interest. The system includes at least a token instance remover 862, a predictor of user response 863, and decomposer 866.
The token instance remover 862 is configured to receive a temporal window of token instances 860 and information regarding attention level 861. Optionally, the information regarding attention level 861 is the attention level of the user (e.g., as measured using eye-tracking). Additionally, or alternatively, the attention level 861 may be predicted from models. The attention level 861 provides information on the attention paid by the user to at least one of the token instances belonging to the window 860.
The token instance remover 862 is further configured to utilize the attention level 861 to select a token instance of interest from among the token instances belonging to the window, and remove the token instance of interest from the temporal window of token instances 860.
The predictor of user response 863 is configured to receive the temporal window of token instances from which the token instance of interest was removed and predict a response to being exposed to the temporal window of token instances without the token instance of interest.
The decomposer 866 is configured to receive a measured response 864 of the user due being exposed to the temporal window of token instances 860. The decomposer is further configured to estimate the user's response to the token instance of interest 865 based on the difference between the predicted response to being exposed to the temporal window of token instances without the token of interest and the measured response 864.
FIG. 8 illustrates one embodiment of a method for estimating a response of a user e to a token instance of interest. The method includes the following steps:
In step 870, receiving a temporal window of token instances that includes a plurality of token instances, to which the user is exposed. At least two of the token instances have overlapping instantiation periods.
In step 871, receiving a measured response of the user due to the user being exposed to the temporal window of token instances (the window to which the user is exposed includes all the token instances).
In step 872, receiving attention level of the user in at least one of the token instances.
In step 873, using the attention level for selecting the token instance of interest from among the token instances. Optionally, most of the token instances are not of interest to the user, e.g., they are background token instances that are not considered to be the token instance of interest; less than a third of the token instances are considered to be of interest to the user.
In step 874, removing the token instance of interest from the temporal window of token instances. In step 875, predicting response of the user due to exposure to the temporal window of token instances from which the token instance of interest was removed.
And in step 876, estimating the response of the user to the token instance of interest from the difference between the predicted response and the measured response.
In one embodiment, a temporal window of token instances may be represented as a vector of feature values. In such a case, removing the token instance of interest from the temporal window of token instances may involve changing the value of features that correspond to the token instance of interest. For example, the token instance of interest may have features representing attributes such as the weight of the token instance of interest, the size of the token instance of interest, and/or the attention paid by the user to the token instance of interest. One or more of these values may be set to essentially zero in order to essentially remove the token instance of interest from the temporal window of token instances.
In another embodiment, a temporal window of token instances may be represented as a set of records corresponding to the token instances belonging to the window. In such a case, removing the token instance of interest from the temporal window of token instances may involve removing one or more record corresponding to the token instance of interest from the set of records.
In one embodiment, the attention level information is derived from a measurement channel of the user. For example, for visual token instances (e.g., images of objects), the attention level may be derived from a camera and eye-tracking software that tracks the gaze of the user. Alternatively or additionally, the attention level may be predicted based on the token instances. For example, for visual token instances, the representation of attention levels may be obtained from an algorithm that predicts levels of interest in objects and/or in regions of an image.
In one embodiment, a temporal window of token instances provided to a predictor in order to compute the user's response is created by using information regarding a user's observed and/or predicted attention level to one or more token instances. For example, if the temporal window of token instances provided to the predictor corresponds to a scene in a game or video, token instances corresponding to the main character may be deleted in order to create a temporal window of token instances describing the background of the scene. Optionally, the token instance with the highest user attention level is removed from the temporal window of token instances. Optionally, a fraction of the token instances is removed from the temporal window of token instances. For example, the token instances selected for removal comprise at most a third of all the token instances to which the user was exposed, and include the token instances to which the user paid the most attention.
In one embodiment, removing a token instance of interest from a temporal window of token instances comprises setting the value of one or more attribute values corresponding to the token instance of interest, such as weight, attention level, and/or size. Optionally, the attribute value is set to a very low value such as zero in order to indicate that the token instance has virtually no influence on the user. Optionally, removing a token instance of interest from a temporal window of token instances comprises removing all data records and/or fields corresponding to the token instance of interest from the data representation of the temporal window of token instances. In one example, a temporal window of token instances is represented as a list of records of the token instances to which the user is exposed, and the token instance of interest is removed from the list, producing a new shorter list of token instances.
In one embodiment, a machine learning-based predictor is utilized to produce the predicted response. Optionally, the machine learning-based predictor is for the response of the user, e.g., the predictor is adapted to the user, such as being trained on training data that involves the user. Optionally, the machine learning-based predictor is trained on data collected over a long period, in which the user was in different situations. Optionally, values representing the predicted response of the user are given as an affective response in terms of values of a user measurement channel and/or changes to values of a user measurement channel. Optionally, values representing the predicted response of the user are given as an affective response, which may be an emotional state and/or a change to an emotional state.
In one embodiment, the measured response is derived from measurements of the user (e.g., taken with a sensor). Optionally, values representing the measured response of the user are given as an affective response in terms of values of a user measurement channel and/or changes to values of a user measurement channel. Optionally, values representing the measured response of the user are given as an affective response, which may be emotional state and/or change to an emotional state.
In one embodiment, the response to the token instance of interest is the response of the user to the token instance of interest. Additionally or alternatively, the response to the token instance of interest is considered a response of a general and/or representative user (e.g., the response is considered a generic response to the token instance of interest). Optionally, the response to the token instance of interest equals essentially the predicted response subtracted from the measured response.
In one embodiment, the machine learning-based predictor for the user's response is trained on data collected over a long period, in which the user was in different situations. In another example, the machine learning-based predictor for the user's response is trained on samples including data of previous instantiations of token instances in order to create a habituation compensating machine learning-based predictor for the user's response due to the user's exposure to the background token instances.
In one embodiment, the predicted value of the user's response due to the user's exposure to the temporal window of token instances that does not include the token instance of interest is calculated by selecting a machine learning-based predictor for the user's response appropriate to a situation the user is in from among at least two machine learning-based predictors for the user's response. Optionally, each of the machine learning-based predictors was trained on data collected from periods of time in which the user was in a situation belonging to a distinct set of situations specific to that machine learning-based predictor. Thus, the set of predictors comprises a set of situation-specific predictors, capable in some cases of producing more accurate situation-specific predictions.
In one embodiment, the token instance of interest may be a token instance for which measured attention level of the user is highest. For example, of the visual token instances to which the user is exposed, the token instance of interest is the one that eye-tracking determines that the user spent the most timing looking at. Alternatively or additionally, the token instance of interest may be a token instance for which predicted attention level is the highest. For example, the token instance of interest may be one that a model predicts is most likely to cause a user to stare at it.
In one embodiment, the response of a user to the token instance of interest is estimated based on the difference between the predicted response and the measured response. For example, the response to the token instance of interest essentially equals the difference between the value (e.g., heart rate) of the predicted response (which is a response to the background token instance), and the measured response (which is a response to both the background token instance and the token instance of interest). Optionally, the difference is computed by subtracting the value of the predicted response from the value of the measured response. Alternatively, the response to the token instance of interest may be proportional to the difference, and depend on properties related to the token instance of interest. For example, the portion of the difference that is attributed to the response to the token instance of interest may be proportional to how much attention the user pays to the token instance of interest and/or how long the user is exposed to the token instance of interest; the more the user pays attention and/or the more the user is exposed, the larger the portion of the difference is attributed to the token instance of interest.
While interacting the physical and/or digital world, a user may experience similar events and/or stimuli multiple times (e.g., as characterized by the token instances the user is exposed to each time); such cases may be referred to as repetitive scenes. Repetitive scenes may have various variants, which may differ on some of the details (e.g., in each variant some of the token instances may be different and/or have different weights). However, the overall experience the user has in each variant of the repetitive scene is relatively similar. In one example, when playing the same computer game level multiple times (e.g., trying to clear a level), each time the level is played, the sequence of events or occurrences in game play is very similar; therefore, though there might be slight variations between each repetition of playing the level, the user's experience is quite similar (e.g., as defined via token instances to which the user is exposed each time). Thus, the different occurrences of playing the same level or screen in a computer game can be considered variants of a repetitive scene. In another example, multiple visits to a website (e.g., a news site, a virtual store, a social network), may be considered repetitive scenes. Since in each visit, the user may be exposed to similar content, a similar design of the site (fonts, color schemes, themes), and/or might have a similar interaction with the site. In yet another example, repeatingly touring the same region in a virtual world may be considered a repetitive scene. For example, each time the user walks down the main street of a virtual village, it may be considered a variant or a repetitive scene. Though in each visit, some details might be different (e.g., background music, the other characters that are present, and/or the events that are taking place), the overall experience of each virtual walk may be similar.
Since the user's experience in repetitive scenes is often quite similar, differences in the user's response (e.g., emotional response and/or change to values of measurement channels) may be attributed to the variations between the variants of the repetitive scenes. By identifying the differences between the variants, such as a token instance that appears in one variant but not in another, it is possible to gain understanding towards the user's response to the token instance.
FIG. 9 illustrates one embodiment of a method for estimating a user's response to a specific token instance in a variant of a repetitive scene. The method includes the following steps:
In step 880, receiving measurements of responses taken at multiple exposures to variants of the repetitive scene. A specific token instance for which the user's response is estimated does not appear in the variants of repetitive scenes. For example, if the variants of the repetitive scenes may be described using temporal windows of token instances, the specific token instance is not included in the windows or has a weight of essentially zero in the windows.
In step 881, receiving another measurement of response of the user taken while the user is exposed to another variant of the repetitive scene that includes the specific token instance. Optionally, the another variant includes a token instance having an overlapping instantiation period with the specific token instance, i.e., at least during some time the user is exposed to the specific token instance the user is also simultaneously exposed to another token instance.
And in step 882, estimating the response of the user to the specific token instance based on difference between the other measurement and a representation of the measurements.
FIG. 10 illustrates one embodiment of a system configured to estimate a response of a user to a specific token in a repetitive scene. The system includes at least a memory 892 and a processor 895.
The memory 890 is configured to receive measurements of responses taken at multiple exposures to variants of the repetitive scene. The specific token instance for which the user's response is estimated does not appear in the variants of repetitive scenes. For example, if the variants of the repetitive scenes may be described using temporal windows of token instances, the specific token instance is not included in said windows or has a weight of essentially zero in those windows. The memory 890 is further configured to receive, from a measuring device 893, another measurement of a response 891 of the user taken while the user is exposed to another variant of the repetitive scene that includes the specific token instance. Optionally, the another variant includes a token instance having an overlapping instantiation period with the specific token instance, i.e., at least during some time the user is exposed to the specific token instance the user is also simultaneously exposed to another token instance.
The processor 895 is configured to estimate the response of the user to the specific token instance based on difference between the other measurement and a representation of the measurements.
In one example, the method for estimating a user's response to a specific token instance in a variant of a repetitive scene characterizes the user's response to token instances in domains like video games and virtual worlds, since in such domains measurements of the user may be taken multiple times while experiencing essentially the same repetitive scenes/missions. In addition, since the content in such domains is generally created by computational processes, exact knowledge of which elements are present in each scene is easily obtainable, thus making it possible to accurately identify differences between various variants of a repetitive scene. By coupling accurate knowledge of the difference between scenes with measurements of the user's response, the user's response to specific added token instances might be deduced.
In one embodiment, the representation of the measurements is given as a measurement value, and the response of the user to the specific token instance is obtained by essentially subtracting the value of the representation of the measurements from the other measurement.
Determining whether two scenes are variants of a repetitive scene may be done in various ways:
1) Two variants may be considered variants of a repetitive scene if a certain portion of the token instances of both variants is the same.
In one embodiment, variants of scenes are represented by token instances, and two variants may be considered variants of a repetitive scene if at least 50% of their token instances are essentially the same. For example, when each variant is represented as a temporal window of token instances, at least 50% of the token instances in the first variant also appear in the second variant. Alternatively or additionally, the weight that is assigned to the token instances belonging to the first variant that also belong to the second variant is at least 50% of the weight assigned to token instances belonging to each variant.
2) Two variants may be considered variants of a repetitive scene if an ordinary person is likely to declare that both variants are similar and are essentially two variants of a repetitive scene. For example, an experiment is conducted in which a number of people are asked whether the two variants are similar. The proportion of peoples that answer that the two are variants of a repetitive scene may be interpreted as the probability that the two are variants of the repetitive scene.
In one embodiment, two variants are considered variants of a repetitive scene if there is a probability of at least 20% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Alternatively, a higher threshold may be used: In one embodiment, two variants are considered variants of a repetitive scene if there is a probability of at least 80% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene.
3) Two variants are considered variants of a repetitive scene if low-level features derived from the two variants are similar. Low-level features are typically concerned with general characteristics of the scene and not specific details. For example, low-level features of images may include features that are typically statistical in nature, such as average color, color moments, contrast-type textural feature, and edge histogram and Fourier transform based shape features. In another example, low-level auditory features may involve statistics regarding the beat, tempo, pitch, and/or sound energy.
In one embodiment, two variants are considered variants of a repetitive scene if vectors containing the values of the low-level features of each variant are similar. For example, the vectors of the two variants of a normalized dot product of at least 0.3 (i.e., the cosine of the angle between the two vectors is at least 0.3).
In one embodiment, the representation of the measurements is essentially an average of the measurements of the responses taken at multiple exposures to the variants of the repetitive scene.
In one embodiment, the representation of the measurements is calculated based on the measurements of responses utilizing a predefined formula. For example, the representation of the measurements may be a weighted average assigning a higher weight to measurements corresponding to variants to which the user was exposed to at later times (which are more likely to represent the user's current response to the repetitive scene). In another example, the representation of measurements may be computed by assigning a higher weight to variants for which there is evidence that the user was paying attention to the scene (e.g., by analyzing results of eye-tracking of the user during the exposure).
In one embodiment, variants of the repetitive scene are stored as temporal windows of token instances, which are used to create training samples. In addition, the responses to the variants, e.g., as determined from affective response measurements, are also stored and used as target values for the training sample. The training samples and target values are utilized to train a model for response of the user to variants of the repetitive scene. Optionally, the training is performed on the processor 895. Alternatively, the training is performed on a different processor.
In one embodiment, the representation of the measurements is obtained by providing the prediction model with a temporal windows of token instances corresponding to the variants of the repetitive scene, which does not include the specific token instance. Thus the representation of the measurements may be determined without the need for receiving measurements of the user corresponding to the exposure to the variants of the repetitive scene.
In one embodiment, the specific token instance included in the variant of the repetitive scene does not significantly alter the essence of the repetitive scene compared to the other variants of the repetitive scene that do not include the specific token instance. For example, the specific token instance maybe related to the background of an event occurring in the scene or to a minor character. Thus if the specific token is removed or changed, it does not alter what is happening in the scene in a significant way.
In one embodiment, the other measurement is derived from multiple measurements of response of the user taken while the user was exposed to variants of the repetitive scene that include the specific token instance. For example, the other measurement may be an average value obtained from measurements of variants of the repetitive scene that include the specific token instance. Optionally, the measurements are weighted according to the weight of the specific token instance in each variant.
In one embodiment, the repetitive scene is generated by a computer game, and the specific token instance included in the repetitive scene does not significantly alter the game's plot compared to the other variants of the repetitive scene that do not include the specific token instance. For example, the specific token instance may relate to the background music, a specific sound effect, visual effect (e.g., extent of explosion), and/or a minor character with which the user does not significantly interact.
In one embodiment, the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of the user taken at multiple exposures of the user to variants of the repetitive scene. Alternatively, most of the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of other users.
FIG. 11 illustrates one embodiment of a method for estimating a response of a user to a first token instance in a repetitive scene. The method includes the following steps:
In step 902, receiving measurements of responses taken at multiple exposures to variants of the repetitive scene comprising the first token instance and a second token instance.
In step 903, receiving another measurement of response of the user taken while the user is exposed to another variant of the repetitive scene that lacks the first token instance that appeared in the repetitive scenes corresponding to the measurements. Optionally, the first token instance and the second token instance have overlapping instantiations periods, i.e., there is a time in which the user is simultaneously exposed to both the first and the second token instances.
And in step 904, estimating the response of the user to the first token instance based on difference between the other measurement and a representation of the measurements.
FIG. 12 illustrates one embodiment of a system configured to estimate a response of a user to a first token instance in a repetitive scene. The system includes at least a memory 910 and a processor 916.
The memory 910 is configured to receive measurements of responses taken at multiple exposures to variants of the repetitive scene. For example, the measurements may be affective response measurements of the user taken with a sensor.
The memory 910 is further configured to receive, from a measuring device 912, another measurement of a response 914 of the user taken while the user is exposed to another variant of the repetitive scene that lacks the first token instance.
The processor 916 is configured to estimate the response of the user to the specific token instance based on difference between the other measurement and a representation of the measurements.
In one embodiment, the representation of the measurements is given as a measurement value, and the response of the user to the first token instance is obtained by essentially subtracting the value of the other measurement from the representation of the measurements.
Determining whether two scenes are variants of a repetitive scene may be done in various ways:
1) Two variants may be considered variants of a repetitive scene if a certain portion of the token instances of both variants is the same.
In one embodiment, variants of scenes are represented by token instances, and two variants may be considered variants of a repetitive scene if at least 50% of their token instances are essentially the same. For example, when each variant is represented as a temporal window of token instances, at least 50% of the token instances in the first variant also appear in the second variant. Alternatively or additionally, the weight that is assigned to the token instances belonging to the first variant that also belong to the second variant is at least 50% of the weight assigned to token instances belonging to each variant.
2) Two variants may be considered variants of a repetitive scene if an ordinary person is likely to declare that both variants are similar and are essentially two variants of a repetitive scene. For example, an experiment is conducted in which a number of people are asked whether the two variants are similar. The proportion of peoples that answer that the two are variants of a repetitive scene may be interpreted as the probability that the two are variants of the repetitive scene.
In one embodiment, two variants are considered variants of a repetitive scene if there is a probability of at least 20% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Alternatively, a higher threshold may be used: In one embodiment, two variants are considered variants of a repetitive scene if there is a probability of at least 80% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene.
3) Two variants are considered variants of a repetitive scene if low-level features derived from the two variants are similar. Low-level features are typically concerned with general characteristics of the scene and not specific details. For example, low-level features of images may include features that are typically statistical in nature, such as average color, color moments, contrast-type textural feature, and edge histogram and Fourier transform based shape features. In another example, low-level auditory features may involve statistics regarding the beat, tempo, pitch, and/or sound energy.
In one embodiment, two variants are considered variants of a repetitive scene if vectors containing the values of the low-level features of each variant are similar. For example, the vectors of the two variants of a normalized dot product of at least 0.3 (i.e., the cosine of the angle between the two vectors is at least 0.3).
In one embodiment, the representation of the measurements is essentially an average of the measurements of the responses taken at multiple exposures to the variants of the repetitive scene.
In one embodiment, the representation of the measurements is calculated based on the measurements of responses utilizing a predefined formula. For example, the representation of the measurements may be a weighted average assigning a higher weight to measurements corresponding to variants to which the user was exposed to at later times (which are more likely to represent the user's current response to the repetitive scene). In another example, the representation of measurements may be computed by assigning a higher weight to variants for which there is evidence that the user was paying attention to the scene (e.g., by analyzing results of eye-tracking of the user during the exposure).
In one embodiment, variants of the repetitive scene are stored as temporal windows of token instances, which are used to create training samples. In addition, the responses to the variants, e.g., as determined from affective response measurements, are also stored and used as target values for the training sample. The training samples and target values are utilized to train a model for response of the user to variants of the repetitive scene. Optionally, the training is performed on the processor 916. Alternatively, the training is performed on a different processor.
In one embodiment, the representation of the measurements is obtained by providing the prediction model with a temporal window of token instances corresponding to the variants of the repetitive scene, which does not include the first token instance. Thus, the representation of the measurements may be determined without the need for receiving measurements of the user corresponding to the exposure to the variants of the repetitive scene.
In one embodiment, the first token instance lacking from the variant of the repetitive scene does not significantly alter the essence of the repetitive scene compared to the other variants of the repetitive scene that do not lack the first token instance. For example, the first token instance maybe related to the background of an event occurring in the scene or to a minor character. Thus if the first token is removed or changed, it does not alter what is happening in the scene in a significant way.
In one embodiment, the other measurement is derived from multiple measurements of response of the user taken while the user was exposed to variants of the repetitive scene that lack the first token instance. For example, the other measurement may be an average value obtained from measurements of variants of the repetitive scene that lack the first token instance.
In one embodiment, the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of the user taken at multiple exposures of the user to variants of the repetitive scene. Alternatively, most of the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of other users.
Computing Affective Responses
As used herein, the term response, when used to refer to the response of the user (e.g., the response of the user to a token instance), refers to an affective response, which may be measured and/or predicted. Similarly, as used herein terms like “total response” refers to a total affective response.
In one embodiment, response such as a measured response or a predicted response are expressed as an absolute value. For example, a response may be an increase of 5 beats per minute to the heart rate or an increase of 2 points on a scale of arousal. Alternatively or additionally, a response may be expressed as a ratio (compared to an initial or baseline value). For example, the total response to being exposed to token instances may be an increase of 10% to the heart rate compared to a measurement taken before the exposure to token instances. Alternatively or additionally, a response may be expressed as relative or qualitative change. For example, a response may be paraphrased as the user being slightly happier than his/her original state.
In one embodiment, the response of the user to being exposed to token instances, e.g., a measured response or a predicted response, may be computed by comparing an early response of with a response of the user corresponding to a later time. For example, the early response may correspond to the beginning of the exposure, while the later response may correspond to the end of the exposure. Optionally, the response is obtained by subtracting the early response from the later response. Optionally, the total response is obtained by computing the ration between the later response and the early response (e.g., by dividing a value of the later response by a value of the early response).
In one example, the total response may be expressed as a change in the user's heart rate; it may be computed by subtracting a first heart rate value from a later second heart rate value, where the first value is taken in temporal proximity the beginning of the user's exposure to the received token instances while the later second value is taken in temporal proximity to the end of the user's exposure to the received token instances. In another example, the total response to the token instances is computed by comparing emotional states corresponding to the beginning and the end of the exposure to the token instances. For example, the total response may be the relative difference in the level of happiness and/or excitement that the user is evaluated to be in (e.g., computed by dividing the level after the exposure to the token instances by the level before the exposure to the token instances).
Herein, temporal proximity refers to closeness in time. Two events that occur in temporal proximity occur at times close to each other. For example, measurements of the user used that are taken at temporal proximity to the beginning of the exposure of the user to the token instances, may be taken a few seconds before and/or possibly a few seconds after the beginning of the exposure (some measurement channels such as GSR or skin temperature may change relatively slowly compared to fast changing measurement channel such as EEG). Similarly, measurements of the user that are taken at temporal proximity to the beginning of the exposure of the user to the token instances may be taken a few seconds before and/or possibly a few seconds after the beginning of the exposure.
In one embodiment, responses used to compute the measured or predicted response to token instances may be a product of a single value. For example, a response corresponding to before the exposure to the token instances may be a measurement value such as a single GSR measurement taken before the exposure. Alternatively, responses used to compute the measured or predicted response to token instances may be a product of multiple values. For example, a response may be average of user channel measurement values (e.g., heart rate, GSR) taken during the exposure to the token instances. In another example, a response is a weighted average of values; for instance, user measurement values used to derive the response may be weighted according to the attention of the user as measured at when the user measurements were taken.
In one embodiment, the response of the user to the token instances to which the user is exposed is computed by comparing a response of the user with a baseline value. Optionally, the baseline value may be computed from measurements (e.g., the user's resting heart rate as computed over several hours). Additionally or alternatively, the baseline value may be predicted such as a machine learning-trained model. For example, such a model may be used to predict that in a certain situation such as playing a computer game, the user is typically mildly excited. Optionally, the response may be computed by subtracting a baseline value from the measured response to being exposed to token instances.
In one embodiment, computing a response involves receiving a baseline value for the user. The computation of the user's response maybe be done with adjustments with respect to the baseline value. For example, the user's response may be described as a degree of excitement that is the difference between how excited the user was before and after being exposed to the token instance. This computation can also take into account the distance of values from the baseline value. Thus, for example, if before the exposure to the token instances, the user was in an over-excited state (much above the baseline), and after the exposure the user's excitement level was only slightly above the base line, part of the decline may be attributed to the user's natural return to a baseline level of excitement.
In one embodiment, the response of the user to a certain token instance (e.g., a token instance of interest) is estimated according to the difference between two values, such as two measured responses, a measured response and a representation of measurements, and/or a measured response and a predicted response. Optionally, the difference is obtained by subtracting one of the values from the other (e.g. subtracting the value of a measured response from the representation of measurements). Optionally, the difference may be obtained using a distance function. For example, the difference between response values expressed as multi-dimensional points may be given according to the Euclidean distance between the points. Additionally or alternatively, the difference between two multi-dimensional values may be expressed as a vector between the points representing the values.
In one embodiment, the estimated response to the certain token instance may be derived from the value of the difference in addition to one or more normalizations and/or adjustments according to various factors.
In one example, estimating the response of the user to the certain token instance of interest takes into account the response that was determined for other users. Optionally, the other users have similar responses to the user (e.g., they respond to many token instances in the same way). Thus, if in some cases, the user's response is significantly different from the response other users have to the certain token instance, the user's response may be normalized and set to be closer to the other users' response (e.g., by setting the user's response to be the average of the other users' response and the user's originally estimated response).
In another example, estimating the response of the user to the certain token instance may take into account a baseline value for the user. If the user's initial state before being exposed to the certain token instances is different from a received baseline value, then the estimated response may be corrected in order to account for a natural return to the baseline. For example, if the user's response is described via a physiological measurement such as a change to the heart rate, estimating the response to the certain token instance needs to take into account the rate at which the user's heart rate returns to the baseline value (which may happen within tens of seconds to a few minutes). Thus, for example an initial estimate of the response may show that the response to the certain token instance was not substantial (e.g., there was very little change to the heart rate). However, if the user was unexcited to begin with, then over the time the user's heart rate should decrease to return to the baseline. However, if the heart rate did not return to the baseline at the expected rate, this can be attributed, at least in part, to the user's response to the certain token instance; thus the estimation of the response may be amended in this case (e.g., by increasing the value of the estimated response to account for the tendency to return to the baseline value).
In still another example, estimating the response of the user to the certain token instance may take into account information regarding the other token instances the user was exposed at the time. In some cases, the user's attention may be focused on a single token instance or small number of token instances at any given time (e.g., if the user is looking at details in an image). If there are many token instances to which the user is exposed simultaneously, this can lead to saturation, in which due to the sensory overload, the user's response to individual token instances may be diminished. Thus, estimating the user's response to the certain token instance may take into account corrections due to saturation. For example, if the user is exposed to many token instances at the same time, the original estimate of the response may be increase to compensate for the fact that there were many token instances competing for the user's attention that may have distracted the user from the certain token instance.
Token Instances of Interest
In one embodiment, the attention level values representing the user's attention in token instances are derived from a measurement channel of the user. For example, the attention levels are determined using video cameras, motion sensors, and/or eye-tracker to determine which images the user was looking at and how long the user looked at each image. Optionally, the attention level assigned to token instances corresponding to the images may be proportional to the time the user spent looking at each image. Additionally or alternatively, the attention level assigned to token instances corresponding to images may be determined using algorithms for prediction of interest and/or saliency in images and/or video sequences. Additionally or alternatively, the attention levels assigned to token instances may be computed using heuristics, for example, by assigning a high predicted attention level to token instances corresponding to large images of talking characters (which may be determined by algorithms for face recognition and detection of movement of the lips), and assigning low attention levels to token instances corresponding to inanimate objects that are not in the center of the frame.
In one embodiment, a token instance of interest is selected using attention level information corresponding to one or more of the token instances to which the user was exposed. Optionally, the attention level data is derived from measurements, such as user measurement channels. For example, attention level in some token instances may be computed using eye tracking, movement sensors, and/or pressure sensors. Optionally, the attention level data is derived using models and/or algorithms for predicting the user's attention level in some of the tokens.
In one embodiment, at some times at most one token instance is selected as a token instance of interest. In one example, the token instance for which the user's predicted and/or measured attention level had a maximal value compared to the other token instances to which the user was exposed at the corresponding time. In another example, the token instance of interest is chosen to be the token instance for which the user's integrated sum of attention levels is highest, compared to the other token instances of interest the user was exposed to during the corresponding time period.
In one embodiment, various proportions of the total response may be attributed to the user's response to the token instance of interest. For example, 50% of the total response is attributed to the response to the token instance of interest. Optionally, most of the total response may be attributed to the token instances of interest. For example, 90% of the total response is attributed to the token instance of interest. In another example, essentially the entire total response is attributed to the user's response to the token instance of interest.
In one embodiment, at some times, multiple token instances may be chosen to be token instances of interest. Optionally, token instances of interest may have overlapping periods of instantiation (i.e., there are times in which the user was simultaneously exposed to two or more token). Optionally, only a portion of token instances are considered token instances of interest. For example, less than half of the token instances are considered to be token instances of interest.
In one embodiment, token instances of interest may be selected according to various criteria. In one example, a certain number of token instances for which the user's predicted and/or measured attention levels were highest are selected to be token instances of interest. In another example, token instances for which the user's predicted and/or measured attention levels exceed a certain threshold are selected to be token instances of interest. In still yet another example, essentially all token instances are considered token instances of interest.
In cases in which there are multiple token instances of interest, the total response may be attributed to individual token instances of interest in different ways. For example, an equal proportion of the total response is attributed to each token instance of interest. In another example, the response to a token instance of interest is proportional to the attention level corresponding to the token instance.
User Measurements
In one embodiment, values from a user's user measurement channels are collected by using one or more sensors and/or measurement devices that may be attached to the body, clothing (e.g., gloves, shirts, helmets), implanted in the user's body, and/or remote sensors external to the user's body (e.g., camera, microphone).
In some embodiments, the duration in which the sensor operates in order to measure the user's affective response may differ depending on one or more of the following: (i) the type of content the user is exposed to, (ii) the type of physiological and/or behavioral signal being measured, and (iii) the type of sensor utilized for the measurement. In some cases, the user's affective response to token instances may be measured by the sensor substantially continually throughout the period in which the user is exposed to the token instances. However, in other cases, the duration during which the user's affective response to the token instances is measured need not necessarily overlap, or be entirely contained in the time in which the user is exposed to the token instances.
With some physiological signals, there is an inherent delay between the time in which a stimulus occurs and changes the user's emotional state, and the time in which the corresponding affective response is observed via a change in the physiological signal's measurement values. For example, an affective response comprising changes in skin temperature may take several seconds to be detected by a sensor. In addition, some physiological signals may depart very rapidly from baseline values, but take much longer to return to the baseline values.
In some cases, the physiological signal might change quickly because of a stimulus, but returning to the pervious baseline value (from before the stimulus), may take much longer. For example, the heart rate of a person viewing a movie in which there is a startling event may increase dramatically within a second; however, it can take tens of seconds and even minutes for the person to calm down and for the heart rate return to a baseline level.
The lag in time it takes affective response to be manifested in certain physiological and/or behavioral signals can lead to it that the period in which the affective response is measured occurs after the exposure to the content. Thus, in some embodiments, measuring the affective response of the user to the token instances may end, and possibly even start, essentially after the user is exposed to the token instances. For example, measuring the user's response to a surprising short scene in a video clip (e.g., a gunshot lasting a second), may involve taking a GSR measurement a couple of seconds after the gunshot was played to the user. In another example, the user's affective response to playing a level in a computer game may include taking heart rate measurements lasting even minutes after the game play is completed.
In some embodiments, determining the user's affective response to the token instances may utilize measurement values corresponding to a fraction of the time the user was exposed to the token instances. The user's affective response to the token instances may be measured by obtaining values of a physiological signal that is slow to change, such as skin temperature, and/or slow to return to baseline values, such as heart rate. In such cases, measuring the user's affective response to token instances does not have to involve continually measuring the user throughout the duration in which the user is exposed to the token instances. Since such physiological signals are slow to change, reasonably accurate conclusions regarding the user's affective response to the token instances may be reached from samples of intermittent measurements taken at certain periods during the exposure (the values corresponding to times that are not included in the samples can be substantially extrapolated). In one example, measuring the user's affective response to playing a computer game involves taking measurements during short intervals spaced throughout the user's exposure, such as taking a GSR measurement lasting two seconds, every ten seconds. In another example measuring the user's response to a video clip with a GSR, heart rate and/or skin temperature sensor may involve operating the sensor mostly during certain portions of the video clip, such as a ten-second period towards the end of the clip.
In some embodiments, determining the user's affective response to the token instances may involve measuring a physiological and/or behavioral signal of the user before and/or after the user is exposed to the token instances. Optionally, this is done in order to establish a baseline value for the signal to which measurement values of the user taken during the exposure to the token instances, and/or shortly after the exposure, can be compared. For example, the user's heart rate may be measured intermittently throughout the duration, of possibly several hours, in which the user plays a multi-player game. The values of these measurements are used to determine a baseline value to which measurements taken during a short battle in the game can be compared in order to compute the user's affective response to the battle. In another example, the user's brainwave activity is measured a few seconds before displaying an exciting video clip and also while the clip is played to the user. Both sets of values, the ones measured during the playing of the clip and the ones measured before it, are compared in order to compute the user's affective response to the clip.
In one embodiment, some values of the user measurement channels are stored in a database as time series with short durations between consecutive measurement points. Optionally, the user's measurement channels are stored at different temporal resolutions, i.e., the typical difference in time between consecutive entries in the database may vary between measurement channels. Optionally, the temporal resolution of the same channel may vary at different points in database, for example, regions where low complexity in the measurement values is detected and/or regions with noisy measurements may be stored with lower temporal resolution, i.e., longer intervals between values. Optionally, the system supports queries that provide the values of the user measurements at a required time, for instance by interpolating and/or extrapolating values from the stored measurements at different times.
In one embodiment, the user measurement data may be processed and/or normalized in many ways, before, during and/or after the data is stored. In one example, the values of some of the measurements are scaled to be in the range [−1,+1]. In another example, the values of some of the measurements are normalized to z-values, which bring the mean of the values recorded for the modality to 0, with a variance of 1. In yet another example, some user measurements may be processed and/or converted to analyzable features in several ways. For instance, through extracting statistics for the values of each measurement channel in a predefined window size, such as the minimum, maximum, and/or various moments of the distribution, such as the mean, variance, or skewness. In still another example, user measurements are subjected to feature extraction and/or reduction techniques, such as Fisher projections, Principal Component Analysis (PCA), and/or feature selection techniques like Sequential Forward Selection (SFS) or Sequential Backward Selection (SBS). In still another example, some of the images and video images may be processed using various detection algorithms for identifying cues like movement, smiling, laughter, concentration, facial expressions and/or microexpressions (for example, by human facial expressions taxonomy such as “Facial Action Coding System” by Paul Ekman), body posture, body language, gaze. Images may also be processed with algorithms for detecting and describing local features such as Scale-Invariant Feature Transform (SIFT), Speeded Up Robust Features (SURF), and/or scale-space representation. In still another example, body movements (e.g., using motion sensors), and/or audio samples (e.g., using microphone) may be measured and processed to identify cues like attitude, attention, affective response, and/or satisfaction. In still another example, auditory and/or written data are processed using speech analysis and/or semantic analysis methods.
Some embodiments may utilize known and to be discovered methods for pre-processing user measurement data and extracting features from the measured data. For example: (i) a variety of physiological measurements may be preprocessed according to the methods and references listed in van Broek, E. L., Janssen, J. H., Zwaag, M. D., D. M. Westerink, J. H., & Healey, J. A. (2009), Prerequisites for Affective Signal Processing (ASP), In Proceedings of the International Joint Conference on Biomedical Engineering Systems and Technologies, INSTICC Press, incorporated herein by reference; (ii) a variety of acoustic and physiological signals may be pre-processed and have features extracted from them according to the methods described in the references cited in Tables 2 and 4, Gunes, H., & Pantic, M. (2010), Automatic, Dimensional and Continuous Emotion Recognition, International Journal of Synthetic Emotions, 1 (1), 68-99, incorporated herein by reference; (iii) Pre-processing of Audio and visual signals may be performed according to the methods described in the references cited in Tables 2-4 in Zeng, Z., Pantic, M., Roisman, G., & Huang, T. (2009), A survey of affect recognition methods: audio, visual, and spontaneous expressions, IEEE Transactions on Pattern Analysis and Machine Intelligence, 31 (1), 39-58, incorporated herein by reference; and (iv) pre-processing and feature extraction of various data sources such as images, physiological measurements, voice recordings, and text based-features, may be performed according to the methods described in the references cited in Tables 1, 2, 3, 5 in Calvo, R. A., & D'Mello, S. (2010). Affect Detection: An Interdisciplinary Review of Models, Methods, and Their Applications. IEEE Transactions on affective computing 1(1), 18-37, incorporated herein by reference.
Tokens
In one embodiment, the system extracts, receives, and/or accesses a stream of token instances. The token instances may be annotated using any appropriate manual, semi-automatic, and/or automated techniques. For example, manual token labeling may be achieved using manual annotation or marking. In another example, the token labeling is partially automated using algorithms to segment media into scenes, or segment and/or outline objects in images. In still another example, the token instances are extracted from audio-visual content and labeled automatically utilizing known and to be discovered image and/or video segmentation, and/or object detection algorithms. In another example, some of the token instances may be extracted from audio-visual monitoring of the user's surroundings, for example using one or more microphones and/or one or more cameras on the user and/or in the surroundings. In another example, some of the tokens may be extracted by semantic analysis of text, uttered words, conversations, blog posts, twits, or emails; such tokens may represent specific words, phrases, or concepts that can be derived from the content of the stimuli. In another example, some of the tokens may be derived from location-based data.
In one embodiment, a single object such as an image, a sentence, a location, or a sound may be the cause of multiple token instantiations. For example, a cute black puppy may instantiate the tokens “dog” and “black” (its dominant color) and “cute” (its general appearance). A song may instantiate the tokens “Rock 'n Roll” and “loud music”.
In one embodiment, token instances are stored as records in a database. Optionally, the token instances are stored as a time-series, where entries in the database correspond to certain times or events and may contain information about the tokens instantiated at that time or event. Optionally, records in the database are stored in a structure that links between the token instances and emotional state annotations of the user corresponding to times in temporal proximity of the user's exposure to said token instances. Optionally, records in the database are stored in a structure that links between the token instances and user measurement channel data corresponding to times in temporal proximity of a user's exposure to said token instances.
In one embodiment, token instances may include values for various attributes such as a token identification number, weight (importance), size, and/or intensity, when applicable to the type of token instance being stored. Optionally, token instances may include the duration, and/or start time and duration, and/or start time and end time, and/or any other equivalent notation designating a period of time, or events, in which the user was exposed to the token instances.
In one embodiment, a token may be instantiated multiple times, optionally, at overlapping times. For example, a scene in which there are several characters appearing, may annotated as having several instances of the token “person”.
In one embodiment, some tokens may be grouped into different classes, types and/or abstraction levels. Optionally, a token may belong to one or more groups of tokens. In one example dealing with media a user is viewing, the type of media the user is watching may be a high-level token group called “media type”, which may include various tokens like “movie”, “tv program”, “web cast”. On a lower level, there may be tokens describing scenes in a movie, which may grouped together under the label “scene type”, which may include tokens like “romantic scene”, “action sequence”, “dramatic climax”. In another example dealing with a user's visit to a supermarket while using a device with augmented reality capabilities (like a smart phone), a high level token group may be “locations”, which may include tokens like “user's home”, “supermarket”, “user's office”. A lower level group of tokens may be labeled “sub locations”, and include various tokens like “dairy department”, “soft drinks section”, “checkout line”. A group of low-level tokens may include specific products like “cranberry juice”, “yogurt”, or “bread”.
In one embodiment, tokens may be grouped according to various criteria such as the tokens' typical context, and/or location of experience by the user. In one example, a high-level token group may be “activity type” which will typically include activities that may last hours like “watching a movie”, “rock climbing”, “reading a book”, “surfing the web”. A low-level token group may be “images on computer screen”, which will include various images seen on the computer screen with a typical short duration.
In one embodiment, token instances may be grouped according to their source or cause of instantiation. For example, all token instances instantiated by the playing of a movie (a token for the whole movie, tokens for types of scenes, tokens for images, sounds), can be grouped as having the movie as their source. In another example, all token instances corresponding to words and phrases appearing on a web-page share the web-pages URL as their source, and may be grouped together accordingly.
In one embodiment, tokens may be described using one or more hierarchies. For example, a dog may have the following hierarchical tokens: level 1—animal, level 2—dog, level 3—puppy, level 4—Labrador puppy, level 5—black Labrador puppy. A song may be given the following hierarchical tokens: level 1—music, level 2—rock n' roll, level 3—music by Kiss, level 4—“Rock n' Roll all Night” performed by Kiss.
In one embodiment, patterns of tokens, or subsets of tokens, may be grouped together and represented by a new pattern token. For example, if in a certain time interval, such as the one defined by a temporal window of token instances, instances of the individual tokens comprising the pattern are found, they may be replaced with the corresponding pattern token. Optionally, the pattern token's weight at that time point may equal the sum of its individual tokens' weights and/or the cardinality they have for the purpose of token counts, for instance if saturation is included in the model, may equal the number of tokens in the pattern. Following this stage, the model creation, optimization, and analysis may treat the instances of pattern tokens as regular token instances.
In one embodiment, subsets of tokens that may serve as pattern tokens may be found using algorithms for finding frequent patterns. Optionally, some patterns may involve attribute values of some of the token instances. For example, some of the algorithms described in Han, J., Cheng, H., Xin, D., & Yan, X. (2007), Frequent pattern mining: current status and future directions, Data Mining and Knowledge Discovery, 15(1), 55-86, incorporated herein by reference, may be used for detecting frequent patterns in various ways.
Attention
In one embodiment, some of the token instances may be assigned values reflecting the level of interest a user is predicted to have in said token instances. The terms “interest level” and “attention level” are used herein interchangeably. Optionally, interest level data in tokens may be compiled from one or more sources, such as (i) attention level monitoring, (ii) prediction algorithms for interest levels, and/or (iii) using external sources of information on interest levels. Optionally, interest level data in tokens may be stored as a numerical attribute of token instances. Optionally, the interest level data in tokens may express the relative interest levels in the various token instances. Optionally, interest level data in tokens may be grouped into broad categories, for example, the visual tokens may be grouped into three categories according to the attention they are given by the user: (i) full attention, (ii) partial/background attention, (iii) low/no attention.
In one embodiment, a user's level of interests in some of the tokens may be derived from the user measurement channels, which are processed to detect the level at which the user is paying attention to some of the token instances at some of the times.
In one embodiment, the general attention level may be measured, for example by a camera and software that determines if the user's eyes are open and looking in the direction of the visual stimuli, and/or by physiological measurements that may include one or more of the following: heart rate, electromyography (frequency of muscle tension), electroencephalography (rest/sleep brainwave patterns), and/or motion sensors (such as MEMS sensors held/worn by the user), which may be used to determine the level of the user's consciousness, co-consciousness, and/or alertness at a given moment. In one example, the fact that a user is looking or not looking at a display is used to determine the user's level of interest in a program appearing on the display.
In one embodiment, object-specific attention level may be measured for example by one or more cameras and software that performs eye-tracking and/or gaze monitoring to detect what regions of a display, or region of an object, or physical element the user is focusing his/her attention at. The eye-tracking/gaze information can be compared to object annotation of the picture/scene the user is looking at to assign weights and/or attention levels to specific token instances, which represent the objects the user is looking at.
In one embodiment, various methods and models for predicting the user's interest level are used in order to assign interest level scores for some token instances.
In one embodiment, user interest levels in image-based token instances are predicted according to one or more automatic importance predicting algorithms, such as the one described in Spain, M. & Perona, P. (2011), Measuring and Predicting Object Importance, International Journal of Computer Vision, 91 (1). pp. 59-76. In another embodiment, user interest in objects is estimated using various video-based attention prediction algorithms such as the one described in Zhai, Y. and Shah, M. (2006), Visual Attention Detection in Video Sequences Using Spatiotemporal Cues, In the Proceedings of the 14th annual ACM international conference on Multimedia, pages 815-824, or Lee, W. F. et al. (2011), Learning-Based Prediction of Visual Attention for Video Signals, IEEE Transactions on Image Processing, 99, 1-1.
Optionally, the predicted level of interest from such models may be stored as an attribute value for some token instances. In one example, a model for predicting the user's interest level in various visual objects is created automatically using the one or more selected automatic importance predicting algorithm, using token instances for which there is user attention monitoring, as training data. In one embodiment, different types of tokens are tagged with different attention data, optionally in parallel.
Analysis of previous observations of the user's interest in some tokens may be used to determine interest in new, previously unobserved, tokens. In one embodiment, a machine learning algorithm is used to create a model for predicting the user's interest in tokens, for which there is possibly no previous information, using the following steps: (i) extracting features for each token instance, for example describing the size, duration, color, subject of visual objects; (ii) using the attention-level monitoring data as a score for the user's interest; (iii) training a predictor on this data with a machine learning algorithm, such as neural networks or support vector machines for regression; and (iv) using the trained predictor to predict interest levels in instance of other (possibly previously unseen) tokens.
In one embodiment, analysis of previous observations of the user may be used to determine interest in specific tokens. In one embodiment, a predictor for the level of attention a user is expected to pay to different token instances is created by combining the attention predictor models and/or prediction data from other users through a machine learning collaborative filtering approach.
In one embodiment, information gathered from other users who were essentially exposed to the same token instances as the user may be used to assign interest levels for the user, for example, in cases where the user's interest level data is missing or unreliable. In one example, when assigning interest level to tokens extracted from a multimedia item, at times when the user's eye-tracking information is missing or inconclusive for a token instance, the interest levels for that token instance can be set to average interest levels given to that token instance by other users who viewed the same multimedia content.
In one embodiment, an external source may provide the system with data on the user's interest level in some tokens and/or token instances. In one example, information on users' interest may be provided by one or more humans by answering a questionnaire indicating current areas of interest. The questionnaire may include areas such as pets, celebrities, gadgets, media such as music and/or movies (genres, performers, etc.), and more. The questionnaire may be answered by the user, friends, relations, and/or a third party. In another example, semantic analysis of the user's communications such as voice and/or video conversations, instant messages, emails, blog posts, twits, comments in forums, keyword use in web searches, and/or browsing history may be used to infer interest in tokens describing specific subjects, programs, and or objects of interest. In yet another example, some of the user's subjects of interest may be provided by third parties, such as social-networking sites like Facebook, and/or online retailers like Amazon.
In one embodiment, a temporal attention level is computed for the user at a specific time. Optionally, the user's temporal attention level refers to a specific token instance or group of token instances. In one example, the temporal attention level is stored as a time series on a scale from no attention being paid to full attention is being paid. Optionally, temporal attention level data is extracted from a visual attention data source (e.g., eye-tracking, face expression analysis, posture analysis), an auditory data sources, monitoring the users movement (e.g., analysis of motion sensor coupled to the user), and/or physiological measurements (e.g., EEG).
In one embodiment, interest levels obtained from various sources are combined into a single “combined interest level score”. The combined interest level score may be stored as an attribute in some of the token instances. In one example, the interest level scores from various sources such as attention-level monitoring, predicted interest based on the user's historical attention-levels, and/or interest data received from external data sources, may be available for a token instance. Optionally, the combined interest level score may be a weighted combination of the values from the different sources, where each source has a predefined weight.
Token Instance Weights
In one embodiment, token instances are given a weight attribute, which is correlated with the estimated magnitude of the token instances' influence on the user's affective response. Optionally, a token instance may have a single value or multiple values for the weight attribute. For example, multiple values may describe the token instance weight at various time points. In one embodiment, the system supports queries that provide the values of a token instance's weight at a required time, for example by interpolating and/or extrapolating values from token instance weights at different time points.
In one embodiment, the token instance weight is a pre-determined value. In one embodiment, q weight attributes are assigned to a token instance, for example, weights w1, . . . , wq for q different segments of the duration of the token instance's existence. The total weight assigned to the token instance equals w=w1+ . . . +wq, and may be distributed to the q attribute values in different ways. In one example, the weight is distributed uniformly, such that w1= . . . =wq=w/q. In another example, the weights may be distributed in a non-uniform way, such as assigning higher weights to earlier segments in the duration of the token instance's existence to reflect the fact that the token's influence on the affective state diminishes as time goes by. Optionally, the weight assignment to various points may follow a parametric distribution, such as an exponential or Gamma distribution, with predefined parameters, and/or parameters that are set as part of the affective response model training.
In one embodiment, attribute values for some of the token instances may be used to modify the weights of the token instances. For example, tokens that have an attribute “size” or “intensity” may be reweighted, for instance, by multiplying the token instance weight with the attribute value(s), to reflect the fact that larger or more intense instances have a stronger influence on the user's affective state.
In one embodiment, some of the attention level scores may be used to reweight token instances. For example, the token instance weight may be multiplied by the attention score for the token instance which is in the range [0,1], or multiplied by the average attention score.
In one embodiment, different types of tokens may be assigned different attention levels at the same time, depending on the circumstances. For example, when viewing media on a screen, if it is determined from a camera monitoring the user that he/she is momentarily not looking at the screen, all visual token instances may be given an interest level reflecting that fact, for instance a weight of 0. At the same time, it may be assumed that the user is still listening; therefore, sound-related token instances may still be given a weight greater than zero.
In one embodiment, general attention levels are allowed to affect long-lasting token instances that involve things like the genre, program, or main characters; while short lasting token instances, like object tokens such as a dog or a car, are not influenced by the general attention levels unless the content is about the specific token instance. For example, a user is watching a movie where the scene takes place in a living room: If the user is not paying attention to the media, there is no reason to assign a weight to token instances of items in the background of the scene, such as the sofa or napping dog, since the user is not paying attention to the scene and thus anything learned about the user's affective response towards those token instances is probably noise.
In one embodiment, the weights of token instances in a database are normalized. For example, the weights may be normalized in such a way that the sum of weights from all token instances in the database at a given time, or all instances in a temporal window of token instances, equals a required value. Optionally, weights of token instances may be normalized in such a way that depends on the sum of the token instance weights (denoted by S). For example, token instance weights may be normalized in such a way that they sum up to log(1+S), or the square root of S.
Emotions
In one embodiment, the user's emotional state is annotated at some time points, or for some temporal windows of token instances, using various methods for representing emotions. Optionally, the annotations are obtained utilizing a transformation from a domain representing measurements to a domain representing internal emotional states. Optionally, the user's emotional state is annotated by the user, for example using self-report systems such as questionnaires or GUIs.
In some embodiments, the user's emotional state may be represented using different methods:
In one embodiment, emotional states are represented using discrete categories. For example, the emotion categories may include three categories: negatively excited, positively excited, and neutral. In another example, the emotion categories include happiness, surprise, anger, fear, disgust, and sadness.
In yet another example, the categories can relate to a user's level of interest in content comprising token instances, such as interested or not interested.
In one embodiment, emotional states are represented using a multidimensional representation, which characterizes the emotional state in terms of a small number of latent dimensions. In one example, the emotional states are represented as points in a two dimensional space of Arousal and Valence. Arousal describes the physical activation and valence the pleasantness or hedonic value. Each detectable experienced emotion is assumed to fall in a specified region in that 2D space. Other dimensions that may be used to represent emotions include: potency/control (refers to the individual's sense of power or control over the eliciting event), expectation (the degree of anticipating or being taken unaware), and intensity (how far a person is away from a state of pure, cool rationality). The various dimensions used to represent emotions may be correlated. For example, the values of arousal and valence are often correlated, with very few emotional displays being recorded with high arousal and neutral valence. In one embodiment, emotional states are represented as points on a circle in a two dimensional space pleasure and arousal (e.g., the “circumplex”).
In one embodiment, emotional states are represented using a numerical value that represents the intensity of the affective state with respect to a specific emotion. For example, a numerical value stating how much the user is enthusiastic or happy. Optionally, the numeric value for the emotional state may be derived from a multidimensional space representation. For example, let P be a path or collection of points in the multidimensional space. For every point p in P, a numerical value d(p) can be computed, for instance by computing the distance that needs to be traveled along P from a reference point serving as zero to reach p. Given a point q in the multidimensional emotional space, which is not in the set of points P, the projection of q on P is a point q′ in P, for which the Euclidean distance (q,q′) is essentially minimal. The numerical value for the point q may be assigned the same value as its projection on P, which equals d(q′).
In one embodiment, emotional states may be modeled using componential models that are based on the appraisal theory, as described by the OCC model (Ortony, Clore & Collins, 1998). According to this theory, a person's emotions are derived by appraising the current situation (including events, agents, and objects) with respect to the person goals and preferences.
In one embodiment, emotional states represented by categories are converted to a multidimensional representation, for example, by assigning each category a representative point in the multidimensional space.
In one embodiment, emotional states described as points in a multidimensional space are converted into a categorical representation in several ways. In one example, there are predefined categories, with each category having one or more representative points in the multidimensional space. An unassigned point P in the multidimensional space may be assigned to the category that has a representative point P′ for which the Euclidian distance between P and P′ is smaller or equal to the distance between P and all other category representative points. In another example, the multidimensional space representing emotions is partitioned into a number of regions that cover the entire multidimensional space. Following that, the points falling in the same region belong to the same category. For example, a valid partition may be splitting the arousal-valence space into four quadrants; consequently, each point in the multidimensional space belongs to one of the four resulting categories. In yet another example, the multidimensional emotional space contains N or more points describing emotions, for example, from the emotional states of multiple people and/or multiple time points. The points in the multidimensional space are then clustered into N clusters, using an algorithm like K-means with the Euclidean distance metric. Each cluster may then represent a category, with the mean of each cluster serving as a representative point for the category. Each existing or new point P in the dimensional space may then be assigned a category by choosing the category whose representative point has a minimal distance to P.
In one embodiment, emotional states are described using a scalar value, and may be converted to a categorical representation, for example, using predefined categories, where each category has one or more representative scalar value(s). An unassigned point P in the space may be assigned to the category which has a representative point P′ for which the value |P−P′| is minimal.
In one embodiment, a method is provided for computing the distance between two emotional state annotations. In one example, the distance between two categorical annotations may be computed using a pre-defined distance matrix that holds the distance between pairs of annotations. In another example, the distance between two annotations in a scalar representation may equal the absolute value of the result of the subtraction of the value of the first annotation from the second. In yet another example, the distance between two annotations using a multidimensional emotional state representation may equal the Euclidean distance between both annotations.
Situations
In one embodiment, a user's exposure to tokens and/or the user's response are monitored over a long period of time that spans various situations. Different situations may affect the user's behavior and response. For example, the user's reaction to certain token instances may change depending on the situation in which the user was in while being exposed to the token instances. For example, a user may react calmly to adult-themed material when viewing alone (one situation), however the same user may react angrily if such material was to appear while the user's children were present (a different situation). In another example, the user's baseline value for an emotional state and/or user measurement channel may change significantly in different situations, such as when the user is driving vs. relaxing at home, or when the user is alert vs. inebriated.
In one embodiment, information describing a user's situation during certain times and/or events is stored in a database. Optionally, some situations are described using one or more token instances and/or attribute values of one or more token instances. Optionally, information describing a situation is linked to some of the token instances. Optionally, information describing a situation may be linked to database records corresponding to temporal windows of token instances. Optionally, information describing some situations may be in the form of situation identifiers.
In some embodiment, the situation identifiers are received describing the user's situation during certain times and/or events. Optionally, a classifier may be trained to identify the situation occurring during new times and/or events. Optionally, the training samples used to train such a classifier comprised of one or more of the following elements corresponding to a certain time and/or event: values of some token instances and/or their attributes, values from one or more user measurement channels, an emotional state annotation, a baseline value for the emotional state, and/or baseline values for one or more user measurement channels. Optionally, some training samples are assigned labels corresponding to their respective situation identifiers. Optionally, a machine learning classification algorithm is trained using the training samples, in order to produce a classifier that may identify the situation in which the user is at various times and/or events. For example, the machine learning algorithm used to train a classifier may be a neural network classifier, a support vector machine, a maximum entropy classifier, or a random forest. In one embodiment, the training data may be comprised of both labeled and unlabeled data (for which the situation is unknown), and a semi-supervised machine learning method may be employed to train the classifier.
Baselines
In one embodiment, one or more baseline levels are computed for the user's response, which may be a variable representing values of the user's affective state and/or values of some of the user measurement channels. A user's baseline response level is a representative value of the user's usual state, computed from multiple values acquired over a long period, such as a few hours, a day, a month, or even a year. A baseline level usually reflects the expected value for the user's response when not considering the effects of the user's short term-exposure to token instances. In one example, a response variable may correspond to an emotional state (is the user typically relaxed, anxious, excited). In another example, a response variable corresponds to a physiological signal value such as a user's typical heart rate.
In one embodiment, a user's baseline level is computed for a categorical response variable, such as the user's emotional state, which is represented by emotional categories. Optionally, the baseline level is computed by observing the values of the categorical response variable over a long period, and using for a baseline level the category that was the response variable's value the longest time. Optionally, the baseline level comprises a set of values that describe the proportion of time the response variable had each of the categorical values.
In one embodiment, a user's baseline level is computed for a real-valued response variable, such as a user measurement channel or a dimension in an emotional state representation. Optionally, the baseline level is computed from observations of the response variable's values collected over a long period. Optionally, a baseline level may be multidimensional, being comprised of several baselines corresponding to individual dimensions. For example, a user's emotional state baseline may be comprised of a baseline level for the user's arousal and a baseline level for the user's valence.
In one embodiment, a user's baseline level for a response variable is computed using a window of a fixed duration (such as an hour, a day, a week), from which the values of the response variable are collected for the baseline computation. Optionally, the baseline level is computed when the user is in a specific situation (such as being alone, watching TV, being in a happy mood) by collecting values of the response variable during periods when the user was in essentially the same situations.
In one embodiment, a user's baseline level for a response variable is computed by collecting multiple values of the response variable, optionally while the user is in similar situations, and applying various computational procedures to the collected values, such as: (i) averaging values in a sliding time window of a predefined size; (ii) a weighted average of the collected values; (iii) low-pass filtering to the values; (iv) Fourier transform to the collected values; and/or (v) wavelet transform analysis to the data.
In one embodiment, a baseline value may be comprised of a weighted combination of several baseline values computed from data collected at different time-scales and/or situations. For example, a baseline for the emotional state of a user watching an action movie on a television set may be comprised of the following baselines: 20% of the weight is given to the user's baseline computed from data collected during the previous 24 hour period (in all situations), 30% of the weight is given to the baseline computed from data collected from the user's most recent two hours of television viewing (of any program type), and the remaining 50% of the baseline weight is given to the baseline computed from the last 100 hours of the users viewing of action content (such as movies or television programs).
In one embodiment, the user's baseline level values for a response variable computed at different times and/or situations are stored in a database. Optionally, additional values are stored in the database such as (i): values and/or baseline values for user measurement channels; (ii) values and/or baseline values for the user's emotional state; (iii) situation identifiers denoting situations the user was in during the period in which data was collected for the baseline computation; (iv) values and/or baseline values of tokens describing the user's situation; and/or (v) linkage information between baseline values at certain times and records corresponding to temporal windows of token instances.
In practice, the ideal baseline function is often not a simple smooth average function, because the baseline level may strongly depend on the user's situation. As a result, the user's baseline level may change significantly during a short duration of time when there is a significant change in the user's situation. Thus in practice, the baseline does not often resemble a smooth slow-changing function typically observed when the baseline is computed as an average of values collected over long periods of time. For example, when the user is alone at home watching TV, he/she has one baseline level for the emotional state; if the user's mother-in-law enters the house, the user's emotional state baseline may change significantly in a very short time, and remain in that changed state for the duration of the mother-in-law's presence. This rapid change in baseline may not be reflected in a timely manner if the baseline is computed simply by averaging values in a large temporal window, while disregarding the context of different situations. The following paragraphs exemplify embodiments for computing such rapidly adjusting situation-dependent baselines.
In one embodiment, a user's baseline level is predicted using a machine learning method, such as a support vector machine, a regression method, a neural network, or support vector machine for regression. The training data for the machine learning method may include samples comprising response variable values and various input variable values. Optionally, the data for the samples is collected while the user is in specific situations, in order to train situation-specific baseline predictors for the user.
In one embodiment, the training data for a machine learning-based baseline value predictor for a user comprises data of one or more of the following types:
(i) Computed baseline values for the user for the response variable and/or other variables (such as user measurement channels). Optionally, the baseline values are computed using data collected in different ways, such as by collecting values from time intervals of different durations and/or times in which the user was in certain situations. Optionally, the baseline values for the time windows computed for the data from the time intervals using various methods such as averaging, low-pass filtering, Fourier transform, and/or wavelet transform.
(ii) Situation identifiers and/or values of some token instances, or their attributes, at specific times (such as the time for which the baseline is predicted), which may be used to define the user's situation. Note that the token instance values provided to the machine learning method may include long-lasting token instances that describe properties like the user's activity (e.g., watching a movie, driving, being massaged), or properties describing the user's environment (e.g., at home, sitting alone), or the user's state or mood (e.g., excited, tired). Such long-lasting token instances may have long-lasting influence on the user's baseline values.
(iii) Baseline values computed or collected from other data sources, such as models of other users.
In one embodiment, after using a machine learning training method to process the training data, the resulting model is used to predict the user's baseline level for a response variable. When information regarding the user's situation and/or situation-specific inputs are provided (such as baselines for specific situations), the resulting predictions for baseline values made by the classifier may rapidly adjust to situation changes that may lead to dramatic changes in the user's baseline level for some of the variables.
Windows
In one embodiment, individual temporal windows of token instances may be assigned weights. For example, a certain window may be given a higher weight than others may be given if it is deemed more important, for instance, if it appears before a time where there is significant change in the user's predicted emotional state and/or user measurement values. In another example, certain windows may cover times in which the measurements are known to be more accurate, so the window weights may be increased in order to increase these windows' influence during model training.
In one embodiment, the token instances in a window are represented by a vector. For example, where the number of possible different tokens is N, a window is represented by a vector of length N, where position i in the vector holds the sum of the weights of all instances of token i in the window, or zero if there were no instances of token i in the window. Optionally, position i in the vector may hold the number of instances of token i that existed in the window.
In some embodiments, the vectors representing windows are preprocessed and/or modified using some of following methods.
In one embodiment, a set of token instances in a window is filtered to exclude some of the token instances. For example, only the top K token instances with the highest weights are represented in a window.
In one embodiment, weight values in a window's vector are normalized. Optionally, the weights are normalized so the sum of the weight attributes in the window's vector equals a pre-defined constant, for example 1. Alternatively, the weights in the vector, which before normalization sum up to W, are normalized to sum up to a function of W, such as log(1+W), or the square root of W. Optionally, the token instance weights are normalized according to the duration of the window. For example, by dividing a token's instance weight by the duration of the window, or by a function of the duration of the window.
In one embodiment, additional values may be added to a window's vector that are derived from various sources, such as the attribute values for the token instances in the window, attribute values from other windows, or various baseline values.
In one embodiment, window vectors include variables derived from the token instances' attribute values. For each attribute, variables may be added in one or more of the following ways: (i) A single variable representing all instances in the window. For example, the attribute describing the general interest level, as measured by an eye-tracking device, may be added as a single variable. In another example, a single variable “intensity” may be added to the vector and given the average value of the intensity attribute for all token instances that have that attribute. (ii) Multiple variables representing different groups of token instances. For example, separate variables for the attribute sound energy may be created for different types of token instances, such as “short sounds”, tokens whose source is “music videos”, and those whose source is “classical music”. (iii) Multiple variables for each token instance. For example, each token instance may optionally have variables such as weight, interest level, and size.
In one embodiment, the vectors describing temporal windows of token instances include variables describing a baseline value and/or a situation identifier corresponding to the window's scope.
In one embodiment, the vectors describing temporal windows of token instances include variables describing the difference between the user's state at a certain time (e.g., user emotional state, or a value from a user measurement channel) and the user's baseline value for the corresponding time (e.g., the predicted baseline value for the user's emotional state or user measurement channel value).
In one embodiment, the vectors describing temporal windows of token instances include a variable describing the duration of the temporal windows of token instances.
In one embodiment, the vectors describing temporal windows of token instances include variables describing the number of token instances in the window and/or their weight. Adding such a variable may assist in incorporating the effects of sensory saturation into models. Often when saturation occurs, the effect of an additional stimulus is diminished when a large number of stimuli are experienced simultaneously. Optionally, separate variables may be added for different groups of tokens, such as image tokens, word tokens, or music tokens.
In one embodiment, the vectors describing temporal windows of token instances include variables describing the number of times a token had been instantiated previously in various windows. For example, a variable describing how many times in the past minute/hour/day a token had been instantiated is added for some tokens or groups of tokens in order to assist models account for affects of habituation, where repeated exposure to the same stimuli may diminish their effect on the user.
In one embodiment, variables in the vectors describing temporal windows of token instances may be split into b variables representing b bins for the values of the variables, each bin representing a different range of values.
In one embodiment, a variable may be split into several conditional variables, all corresponding to the same original variable; however, only one of the derivative variables is given a value in each window. The choice of which of the variables is given a value may depend on a value from another source such as token instance or baseline value. For example, a variable corresponding to the token “movie” may be split to two separate variables according to a token named “viewer is watching alone”, so if the user is watching the movie alone, a non-zero value is given to the first variable corresponding to “movie”. And if the user is not alone, a non-zero value is given to the second variable corresponding to “movie”. In another example, variables are split according to the value of a baseline for the user. For example, splitting a variable according to the quadrant in a 2D arousal/valence space in which the baseline value falls. Such splits may assist certain models to account for the fact that certain token instances may have a dramatically different effect on the user, depending on the user's baseline emotional state (such as the person being in a good or bad mood).
In one embodiment, a new variable in a vector describing temporal windows of token instances may be assigned values that are the result of a function applied to one of the values of one or more variables in the vector. For example, a variable may equal the square of the weight assigned to a token instance. In another example, a variable may equal the weight of a token instance multiplied by the interest level of that token instance. Optionally, the new variable may replace one or more of the variables used to assign its value.
In one embodiment, a distance function is provided for computing the distance between vectors representing temporal windows of token instances. In one example, the distance function computes the dot product of two vectors. In another example, the distance function computes the distance between two vectors using a metric such as the Euclidean distance or Hamming distance. In yet another example, where X1 is the set of token instances in a first window and X2 is the set of token instances in a second window, the distance between the windows equals 1−(|X1∩X2|/|X1UX2|).
Databases
In one embodiment, a database stores a list of the token instances representing stimuli that may influence a user's affective state. Optionally, each token instance in the list is stored as a token identifier linked to a record comprising additional attributes such as beginning time of the token's instantiation and/or the user's exposure to the token instance, duration of exposure and/or instantiation, the weight of the token instance, the user's interest/attention level in the token instance. Optionally, the database also includes affective response annotations, for example, an emotional state represented as a category, a scalar, or multidimensional value. Some of the stored token instances may be linked to the annotations, for instance by storing the annotation as an attribute of the token instances. Optionally, the database also includes situation identifiers describing the user's situation when being exposed to some token instances. For example, the situation identifiers may be added as token instances and/or attributes of token instances. Optionally, the database is used to supply data for training a machine learning-based affective response model for the user.
In another embodiment, a database stores a collection of temporal windows of token instances. Optionally, each window has a fixed duration, for example, ten seconds. Optionally, the token instances and some of their attributes (such as weight, interest/attention level, and size) are represented by a vector of values. Optionally, windows may be assigned annotations representing affective responses, such as an emotional state and/or change in state represented as a category, single dimensional value, and/or multidimensional values. Optionally, windows may be assigned one or more situation identifiers, denoting the user's situation when being exposed to the tokens in the window. Optionally, the situation identifiers are derived on demand from the stored tokens. Optionally, the database is used to supply data for training a machine learning-based affective response model for the user.
In one embodiment, the token instances stored in a database are obtained from long-term monitoring of the user, for example, for a period lasting from days to years. Optionally, the token instances stored in the database originate from multiple token sources, and the user may be exposed to them in many different situations. Optionally, the user is exposed to more than one token instance simultaneously, i.e., the user is exposed to multiple tokens with overlapping instantiation periods. Optionally, some of the stored tokens instances comprise representations of elements extracted from digital media content, such as images, sounds, and/or text. Optionally, some of the stored tokens instances comprise representations of elements extracted from an electromechanical device in physical contact with the user.
In one embodiment, database storing information about token instances, also stores information from at least one user measurement channel. Optionally, the database includes linking information such as time stamps to associate between token instances and the user measurement channels measured in temporal vicinity of the exposure to some of the token instances. Optionally, the user measurement channels may be stored at different time resolutions, for example, values of EEG signals may stored every 50 milliseconds, while skin temperature may be stored every two seconds.
Predictors
In one embodiment, a machine learning-based predictor is trained for predicting the user's response when exposed to token instances. Optionally, the predictor predicts the user's affective response when exposed to the token instances. Optionally, the predictor predicts the values corresponding to one or more of the user's measurement channels. Optionally, the predictor may utilize any known or yet-to-be invented machine learning methods for classification or prediction, which operate on data samples and return a predicted target value.
In one embodiment, a machine learning training procedure is supplied training data comprising of samples and corresponding target values (also referred to as labels). The samples include information derived from token instances. Optionally, samples are derived from temporal windows of token instances, for example, by using a vector representation for the windows. Optionally, the samples are preprocessed in various ways, for example, normalizing, filtering, and/or binning some of the values. Optionally, samples are augmented with additional information, for example, baseline values, user measurement channel values, values describing the distance from a baseline, values describing counts of samples in the temporal window of token instances (e.g., in order to account for saturation), and/or values corresponding to previous instantiation of some of the tokens (e.g., in order to account for habituation). Optionally, some samples are assigned weight values, for example, in order for the machine learning procedures to emphasize them appropriately in the training.
In one embodiment, the data used to create the samples for training a machine learning based predictor is collected by monitoring a user over a long period of time (for instance hours, days, months and even years), and/or while the user is in a large number of different situations. Optionally, the training data is comprised of token instances originating from multiple sources of different types. For example, some token instances comprise representations of elements extracted from digital media content. In another example, some token instances comprise representations of elements extracted from an electromechanical device in physical contact with the user. Optionally, the training data is comprised of some token instances with overlapping instantiation periods, i.e., the user may be simultaneously exposed to a plurality of token instances. Optionally, the user may be simultaneously exposed to a plurality of token instances originating from different token sources and/or different types of token sources.
In one embodiment, a machine learning-based predictor is trained to predict the user's response (which may also be referred to as a target value) when exposed to token instances. Optionally, the response is given in the form of a value of a categorical variable. Optionally, the response is given in the form of a value for scalar variable, such as an integer or real value. Optionally, the response is given in the form of a value of a multidimensional variable or vector.
In one embodiment, a machine learning-based predictor for a user's multidimensional response value may be obtained by merging the outcome of multiple predictors for single dimensional response values, corresponding to individual dimensions of a desired multidimensional response. In some cases, there are correlations between the dimensions of a multidimensional response, such as when the response is an affective response or the response is given in the form of user measurement channel values. Therefore, in one embodiment, the multidimensional response is predicted in a two-stage approach. First, a model for each response dimension is trained independently. In the second stage, a model for each response dimension is trained, wherein the response values for the other dimensions are also provided as an input. The final response is obtained by merging the results from the predictions of the models trained at the second stage. In one example, a multidimensional predictor utilizes single dimensional predictors using the method of output-associative fusion, as described in Nicolaou, M. A., Gunes, H., & Pantic, M. (2011) Continuous Prediction of Spontaneous Affect from Multiple Cues and Modalities in Valence—Arousal Space, IEEE Transactions on Affective Computing, where the correlations between dimensions is leveraged to increase the accuracy of a multidimensional prediction.
In one embodiment, some of the samples used for training the machine learning-based predictor do not have corresponding target values (also referred to as labels). In this case, training may be performed using semi-supervised machine learning techniques. Often semi-supervised methods are able utilize unlabeled samples, in order to gain additional accuracy. Optionally, different methods for semi-supervised training are used to train more accurate predictors, such as the methods discussed in Zhu, X. and Goldberg, A. (2009), Introduction to semi-supervised learning. Morgan & Claypool Publishers, which describe various approaches in which the unlabeled data may be utilized in the learning process, such as (i) mixture models in which the model's parameters are learned also from the unlabeled data using an expectation maximization (EM) algorithm; (ii) self-training (also referred to as bootstrapping), wherein the predictor or classifier is used to assign target values to unlabeled samples, and is thus able to increase the body of labeled samples from which it can learn; (iii) co-training, wherein two or more learners are trained on a set of examples and used to classify unlabeled samples, but with each learner using a different sets of features.
In one embodiment, in which there are many more training samples than target values, the target values may be collected or received intermittently. Optionally, by “intermittently”, it is meant that there are periods of times in which target values (labels) are available, and those periods may be separated by periods of time in which target values are not available. Optionally, by “intermittently”, it is meant that the target values may appear sporadically at times, i.e., single target values may be available at certain times, separated by periods in which there are no target values available.
In one embodiment, the machine learning-based predictor for the user's response to tokens is created by using ensemble methods that aggregate the results of different models; for example, methods applying boosting or bagging.
In one embodiment, various dimensionality reduction and/or feature extraction methods may be used to reduce the data's dimensionality, such as Principal Component Analysis (PCA), or Local Linear Embedding (LLE). In one embodiment, feature selection methods may be used in order to reduce the data dimensionality and remove dimensions that are irrelevant to the prediction task.
In one embodiment, a Naive Bayes model is trained on labeled training samples. Optionally, the Naive Bayes model is used as a classifier, returning a categorical response value. Optionally, some of the variables in the samples are converted into binary variables, such that all non-zero values are set to one. Optionally, the values of the variables in the input data are binned, such that the variables are converted to discrete multinomial variables. Optionally, some of the variables are assumed to be distributed according to a parametric distribution such as the Normal distribution. Optionally, the trained Naive Bayes model is comprised of class prior probabilities and class conditional probabilities; the class prior probabilities describe the prior probability for a sample to be labeled with a specific category; the class conditional probabilities describe the probability for a variable to have a specific value given the sample is labeled with a specific label (class).
In one embodiment, a Naive Bayes model is trained using both labeled and unlabeled data. Optionally, the Naive Bayes model is used as a classifier that predicts a categorical response value. Optionally, the model is trained using an Expectation Maximization algorithm comprising the following steps:
(i) Training a Naive Bayes classifier using only the labeled samples to obtain a set of parameters that includes the initial class prior and class conditional probabilities.
(ii) Repeating the following Expectation-step and Maximization-step while the classifier's parameters improve the performance, e.g., by reducing the classification error rate on an independent test set: (a) Expectation-step: Using the current classifier parameters, compute for all samples (both labeled and unlabeled) the probability that the samples belong to each of the classes (these probabilities are referred to as “component probabilities”). (b) Maximization-step: Re-estimate the classifier parameters from all samples using the updated component probabilities.
(iii) Outputting the parameters with which classifier obtained the best performance.
Optionally, the Naive Bayes model trained in a semi-supervised method comprises class prior probabilities and class conditional probabilities; the class prior probabilities describe the prior probability for a sample to be labeled with a specific category; the class conditional probabilities describe the probability for a variable to have a specific value given the sample is labeled with a specific label (class).
In one embodiment, a maximum entropy model is trained to be used as a classifier that predicts a categorical response value. Maximum entropy models are a multiclass extension of logistic regression models. Optionally, a maximal entropy model uses feature functions of the form f(x,c), where x is an input variable and c is a class. For example, for a certain sample, the value of f(x,c) may behave as follow, if the sample is labeled by class c, f(x,c) returns the value of feature x, otherwise f(x,c) returns 0. A maximal entropy model comprises weighting parameters λi,j, for 1≦i≦N, and 1≦j≦C, that correspond to the N×C feature functions used to train the model (assuming the input vectors have N features and there are C categories to predict). More information on Maximum entropy models and their training is available, for example, in Berger, A. L. Della Pietre, S. A. Della Pietra, V. J. (1996) Maximum Entropy Approach to Natural Language Processing. Computational Linguistics, 22(1), pages 39-72.
In one embodiment, a neural network model is trained in order to serve as a predictor of a categorical response value, a single dimensional response value, or a multidimensional response value. Optionally, the neural network comprises of an input layer or neurons, one or more hidden layers of neurons, and an output layer of neurons. Optionally, the neural network may utilize a feedforward topology. Alternatively, the neural network may be an Elman/Jordan recurrent neural network trained using back-propagation.
In one embodiment, a random forest is trained in order to serve as a classifier. A random forest is an ensemble method that aggregates the predictions of many decision trees. More information on random forests is available, for example, in Breiman, Leo (2001). “Random Forests”. Machine Learning 45 (1): 5-32.
In one embodiment, a regression model is used as a predictor of a single dimensional response variable. Optionally, the regression technique used is Ordinary least squares. Optionally, the regression technique used is weighted least squares (to account for weighted input samples). Optionally, the regression technique used is least angle regression (which has been shown to work well with high-dimensional data). Optionally, the regression technique used is LASSO regression (which includes regularization terms).
In one embodiment, the regression may take the form y=X·β+ε, where y is the response vector (for example, emotional state arousal values), X is a matrix whose rows are the vectors representing the samples (for example, vector representations of temporal windows of token instances), β is the model parameter vector, and ε is the error vector. The goal of the training is to minimize the squared error of the difference between y and X·β.
In one embodiment, regression models are used for predicting a multidimensional response value. Optionally, the multidimensional prediction is done by training separate regression models for each of the predicted dimensions. Optionally, Multiple Response Regression may be used, as described in Hastie, T., Tibshirani, R. and Friedman, J. (2001) The Elements of Statistical Learning, Springer, which describes a regression technique that can leverage the correlations between different dimensions of the response values.
Predicting Response from User Measurements
In one embodiment, machine learning algorithms are trained on data extracted from user measurement channels to create a model for predicting a user's emotional state at a required point in time. Optionally, data comprising token instances may also be used for training these models.
In one embodiment, models for a user's emotional state are periodically re-trained and/or updated to reflect new data that has been accumulated. Optionally, the models are re-trained following an event where the prediction error exceeds a threshold, and/or following an event where the performance deteriorates below a threshold.
In one embodiment, the data extracted from the user measurements may be normalized with respect to the user's baseline value for that time. Optionally, the normalization is performed periodically, such as every few hours or every day. Optionally, the normalization is performed following a large change in one or more of the user measurement channels, such as resulting from a situation change.
In one embodiment, a baseline function for the annotated emotional state may be used as an input to a machine learning algorithm for predicting the user's emotional state.
Some embodiments may utilize known and/or yet to be discovered systems to predict an emotional state from values from a single or multiple user measurement channels. The predictions may use various methods for emotional representation, such as categorical, dimensional, and/or appraisal-based. Examples of emotional state prediction methods that may be use include: (i) physiological-based predictors as described in Table 2 in van den Broek et al. (2009); (ii) Audio- and visual-based predictors as described in Tables 2-4 in Zeng, Z., et al. (2009); (iii) additional predictors for the emotional state that are both single-channel (unimodal) or multi-channel (multimodal) as described in Tables 2, and 4 in (Gunes & Pantic, 2010); and/or (iv) predictors of the emotional state from low-level media features, such as described in Hanjalic, A., & Xu, L.-Q. (2005), Affective video content representation and modeling. IEEE Transactions on Multimedia, 7(1), 143-154.
In one embodiment, the machine learning system for predicting a user's emotional state may need to make decisions from multiple user measurement channels. Therefore, at some stage, the data from the different user measurement channels may need to be fused. Optionally, different types of data fusion may be employed, for example feature-level fusion, decision-level fusion or model-level fusion, as discussed in Nicolaou, M. A., Gunes, H., & Pantic, M. (2011), Continuous Prediction of Spontaneous Affect from Multiple Cues and Modalities in Valence-Arousal Space, IEEE Transactions on Affective Computing.
In one embodiment, the user's emotional state at certain time points is labeled by monitoring the user. In one example, the user is presented with sensual stimuli that are known to predict certain emotions, such as images, videos, and/or sounds that are known to elicit an emotional response. In another example, the user is presented with media clips which he/she views and after each one reports the elicited emotions (e.g., positive, negative, or neutral), or is asked to provide values in a dimensional space, for example in the Arousal/Valence dimensions. Optionally, users may use systems that aid emotional state annotation, for example, a system that describes various emotional states using cartoon images. In yet another example, the user may have the option to create training samples, for instance, by indicating that what he/she just saw gave a good or bad feeling. Alternatively, the user may be asked to imagine scenarios in which certain emotions are felt, and the user measurements at that time may be used as training sample.
In one embodiment, a pre-trained model for predicting the emotional state from user channel measurements is used to label the user's emotional state at certain time points. Optionally, the system is trained on data from multiple users.
In one embodiment, a pool of models for predicting the emotional state from user channel measurements may be available to label the user's emotional state. Optionally, each model was trained using a single individual. In order to accurately label the user's emotional state, a model belonging to a person similar to the user is selected for the labeling process. The similarity between people may be determined in several ways, for example, by observing similar patterns in the values of their user measurement channels and/or token instances to which they were exposed, by observing similar demographic and/or educational characteristics, and/or by semantic analysis of speech, text, and/or video content created by the people determine similar attitudes and/or world views.
In one embodiment, one or more methods are used to label an initial set of training points with the user's emotional state. These labeled points, in turn, are used to train the user's model for predicting the emotional state. Following that, several rounds of bootstrapping may ensue, in which the user's model is used to label additional points, which are then used to retrain the user's model. With each iteration, the user's model may better bit the training data. Optionally, the model's performance is tested on an independent test set, which was labeled using a different model (for example trained on another portion of the data set), in order to prevent over-fitting. Optionally, other semi-supervised training methods may be used to create the model for predicting a user's emotional state.
EMBODIMENTS
In one embodiment, a system configured to estimate a response of a user to a token instance of interest, comprising: a processor configured to receive a background token instance to which the user was exposed, and to predict a response due to exposure to the background token instance; and a decomposer configured to receive a measured response of the user due to simultaneous exposure to both the background token instance and the token instance of interest, and to estimate response of the user to the token instance of interest based on the difference between the predicted response and the measured response. Optionally, the processor is further configured to receive a baseline value for response of the user, and to utilize the baseline value to calculate the predicted response. Optionally, the predicted response due to exposure to the background token instances is a response of the user due to exposure to the background token instances.
In one embodiment, a method for estimating a response of a user to a token instance of interest, comprising: receiving token instances comprising a background token instance to which the user is exposed; predicting response due to exposure to the background token instance; receiving a measured response of the user due to exposure to token instances comprising both the background token instance and the token instance of interest; and estimating response of the user to the token instance of interest based on difference between the predicted response and the measured response. Optionally, the token instance of interest is a token instance for which measured attention level of the user is highest. Optionally, the token instance of interest is a token instance for which predicted attention level is the highest. Optionally, there are multiple background token instances, at least some of the background token instances have overlapping instantiation periods, and the predicting the response to the background token instances utilizes a machine learning-based predictor for the response of the user. Optionally, the machine learning-based predictor is trained on data collected over a long period, in which the user was in different situations. Optionally, the machine learning-based predictor is trained on samples comprising data of previous instantiations of token instances in order to create a habituation compensating machine learning-based predictor for response of the user due to exposure of the user to the background token instances. Optionally, the method also includes a step involving receiving a baseline value for response of the user, and utilizing the baseline value for the predicting the response due to exposure to the background token instance. Optionally, the predicted response due to exposure to the background token instance is calculated by selecting a machine learning-based predictor for response of the user appropriate to a situation the user is in from among at least two machine learning-based predictors for responses of the user; wherein each machine learning-based predictor was trained on data collected over periods of time in which the user was in a situation belonging to a distinct set of situations specific to that machine learning-based predictor. Optionally, the estimated response of the user to the token instance of interest is given in terms of an emotional response of the user. Optionally, the estimated response of the user to the token instance of interest is given in terms of a value of a measurement channel of the user. Optionally, the predicted response due to exposure to the background token instances is a response of the user due to exposure to the background token instances. Optionally, the background token instances do not include the token instance of interest.
In one embodiment, a system configured to estimate a response of a user to a token instance of interest, comprising: a processor configured to receive a measured response of the user due to exposure to token instances comprising a background token instance and the token instance of interest, and to receive a predicted response due to exposure to the background token instance; and the processor is further configured to estimate the response of the user to the token instance of interest based on the difference between the predicted response and the measured response. Optionally, the predicted response is calculated using a machine learning-based predictor for the response of the user. Optionally, the background token instance and the token instance of interest have overlapping instantiation periods. Optionally, the predicted response due to exposure to the background token instance is a response of the user due to exposure to the background token instance.
In one embodiment, a method for estimating a response of a user to a token instance of interest, comprising: receiving a measured response of the user due to exposure to token instances comprising a background token instance and the token instance of interest; receiving a predicted response due to exposure to the background token instance; and estimating the response of the user to the token instance of interest based on different between the predicted response and the measured response. Optionally, the predicted response is calculated using a machine learning-based predictor for the response of the user. Optionally, the background token instance and the token instance of interest have overlapping instantiation periods. Optionally, the predicted response due to exposure to the background token instance is a response of the user due to exposure to the background token instance.
In one embodiment, a system configured to estimate a response of a user to a token instance of interest, comprising: a token instance remover configured to receive a temporal window of token instances and attention level of the user in at least one of the token instances belonging to the window; the token instance remover is further configured to utilize the attention level to select a token instance of interest from among the token instances belonging to the window, and remove the token instance of interest from the temporal window of token instances; a predictor of user response configured to receive the temporal window of token instances from which the token instance of interest was removed and predict a response to being exposed to the temporal window of token instances without the token instance of interest; and a decomposer configured to receive a measured response of the user due to exposure to the temporal window of token instances, and to estimate response of the user to the token instance of interest based on the difference between the predicted response and the measured response. Optionally, the token instance of interest is a token instance for which measured attention level of the user is highest. Optionally, the token instance of interest is a token instance for which predicted attention level is the highest. Optionally, the predicting the response to the temporal window of token instances without the token of interest utilizes a machine learning-based predictor for the response of the user. Optionally, the machine learning-based predictor is trained on data collected over a long period, in which the user was in different situations. Optionally, the machine learning-based predictor is trained on samples comprising data of previous instantiations of token instances in order to create a habituation compensating machine learning-based predictor for response of the user due to exposure of the user to the background token instances. Optionally, the estimated response of the user to the token instance of interest is given in terms of an emotional response of the user. Optionally, the estimated response of the user to the token instance of interest is given in terms of a value of a measurement channel of the user. Optionally, the predicted response due to exposure to the temporal window of token instances without the token of interest is a response of the user due to exposure to the temporal window of token instances without the token of interest. Optionally, the attention levels are derived from a measurement channel of the user. Optionally, the attention levels are predicted based on the token instances.
In one embodiment, a method for estimating a response of a user to a token instance of interest, comprising: receiving a temporal window of token instances comprising a plurality of token instances to which the user is exposed, wherein at least two of the token instances have overlapping instantiation periods; receiving a measured response of the user due to the exposure of the user to the temporal window of token instances; receiving attention level of the user in at least one of the token instances; using the attention level for selecting the token instance of interest from among the token instances, wherein less than a third of the token instances are considered to be of interest to the user; removing the token instance of interest from the temporal window of token instances; predicting response of the user to being exposed to the temporal window of token instances from which the token instance of interest was removed; and estimating response of the user to the token instance of interest from the difference between the predicted response and the measured response. Optionally, the response of the user to the token instance of interest is expressed as an affective response. Optionally, the response of the user to the token instance of interest is expressed with values of user measurement channels of the user. Optionally, the attention levels of the user in at least some of the token instances are derived from a measurement channel of the user. Optionally, the attention levels of the user in at least some of the token instances are predicted based on token instances. Optionally, the predicting the response due to exposure to the temporal window of token instances comprises predicting the response of the user due to exposure of the user to the token instances.
In one embodiment, a method for estimating a response of a user to a specific token instance in a variant of a repetitive scene, comprising: receiving measurements of responses taken at multiple exposures to variants of the repetitive scene; receiving another measurement of response of the user taken while the user is exposed to another variant of the repetitive scene that further includes the specific token instance; and estimating the response of the user to the specific token instance based on difference between the another measurement and a representation of the measurements. Optionally, variants of scenes are represented by token instances, and two variants are considered variants of a repetitive scene if at least 50% of their token instances are essentially the same. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 20% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 80% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if low-level features derived from the two variants are similar. Optionally, the other variant also includes a token instance having an overlapping instantiation period with the specific token instance. Optionally, the representation of the measurements is essentially an average of the measurements of the responses taken at multiple exposures to the variants of the repetitive scene. Optionally, the representation of the measurements is calculated based on the measurements of responses utilizing a predefined formula. Optionally, the method also includes a step involving storing the variants of the repetitive scene as temporal windows of token instances, and training a prediction model for response of the user to variants of the repetitive scene using training data comprising the stored temporal windows of token instances and their corresponding responses. Optionally, the representation of the measurements is obtained by providing the prediction model with temporal windows of token instances corresponding to the variants of the repetitive scene. Optionally, the specific token instance included in the variant of the repetitive scene does not significantly alter the essence of the repetitive scene compared to the other variants of the repetitive scene that do not include the specific token instance. Optionally, the other measurement is derived from multiple measurements of response of the user taken while the user was exposed to variants of the repetitive scene that include the specific token instance. Optionally, the repetitive scene is generated by a computer game, and the specific token instance included in the repetitive scene does not significantly alter the game's plot compared to the other variants of the repetitive scene that do not include the specific token instance. Optionally, the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of the user taken at multiple exposures of the user to variants of the repetitive scene. Optionally, most of the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of other users.
In one embodiment, a device for estimating a response of a user to a specific token instance in a repetitive scene includes the following: a memory configured to receive measurements of responses taken at multiple exposures to variants of the repetitive scene. The memory is also configured to receive, from a measuring device, another measurement of response of the user taken while the user is exposed to another variant of the repetitive scene that further includes the specific token instance. A processor is configured to estimate the response of the user to the specific token instance based on difference between the other measurement and a representation of the measurements. Optionally, variants of scenes are represented by token instances, and two variants are considered variants of a repetitive scene if at least 50% of their token instances are essentially the same. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 20% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 80% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if low-level features derived from the two variants are similar. Optionally, the other variant also includes a token instance having an overlapping instantiation period with the specific token instance. Optionally, the representation of the measurements is essentially an average of the measurements of the responses taken at multiple exposures to variants of the repetitive scene. Optionally, the representation of the measurements is calculated based on the measurements of responses utilizing a predefined formula. Optionally, the memory is also configured to store the variants of the repetitive scene as temporal windows of token instances, and a second processor is configured to train a prediction model for response of the user to variants of the repetitive scene using training data comprising the stored temporal windows of token instances and their corresponding responses. Optionally, the processor is configured to obtain the representation of the measurements by providing the prediction model with a temporal window of token instances corresponding to the other variant of the repetitive scene, which does not include the specific token instance. Optionally, having the specific token instance included in the repetitive scene does not significantly alter the essence of the repetitive scene compared to variants of the repetitive scene that do not include the specific token instance. Optionally, the measuring device is configured to derive the other measurement from multiple measurements of response of the user taken while the user was exposed to variants of the repetitive scene that include the specific token instance. Optionally, further comprising a computer game configured to generate the repetitive scene, and the specific token instance does not significantly alter the plot of the game compared to other variants of the repetitive scene that do not include the specific token instance. Optionally, the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of the user taken by the measuring device. Optionally, most of the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of other users.
In one embodiment, a method for estimating a response of a user to a first token instance in a repetitive scene, includes the following steps: receiving measurements of responses taken at multiple exposures to variants of a repetitive scene comprising the first token instance and a second token instance; receiving another measurement of response of the user taken while the user is exposed to another variant of the repetitive scene that lacks the first token instance that appeared in the repetitive scenes corresponding to the measurements; and estimating the response of the user to the first token instance based on difference between representation of the measurements and the another measurement. Optionally, variants of scenes are represented by token instances, and two variants are considered variants of a repetitive scene if at least 50% of their token instances are essentially the same. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 20% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 80% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if low-level features derived from the two variants are similar. Optionally, the first token instance and the second token instance have overlapping instantiations periods. Optionally, the removal of the first token instance does not significantly alter the essence of the repetitive scene compared to variants of the repetitive scene that include the first token instance. Optionally, the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of the user taken at multiple exposures of the user to variants of the repetitive scene. Optionally, most of the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of other users. Optionally, the representation of the measurements is essentially an average of the measurements of the responses taken at multiple exposures to variants of the repetitive scene. Optionally, the representation of the measurements is calculated based on the measurements of responses utilizing a predefined formula.
In one embodiment, a system configured to estimate a response of a user to a first token instance in a repetitive scene, includes the following: a memory configured to receive measurements of responses taken at multiple exposures to variants of a repetitive scene comprising the first token instance and a second token instance. The memory is also configured to receive, from a measuring device, another measurement of response of the user taken while the user is exposed to another variant of the repetitive scene that lacks the first token instance that appeared in the repetitive scenes corresponding to the measurements. The system also includes a processor configured to estimate the response of the user to the first token instance based on difference between representation of the measurements and the other measurement. Optionally, variants of scenes are represented by token instances, and two variants are considered variants of a repetitive scene if at least 50% of their token instances are essentially the same. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 20% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if there is a probability of at least 80% that an ordinary user exposed to the two variants reports that the two are variants of a repetitive scene. Optionally, two variants are considered variants of a repetitive scene if low-level features derived from the two variants are similar. Optionally, the removal of the first token instance does not significantly alter the essence of the repetitive scene compared to variants of the repetitive scene that include the first token instance. Optionally, the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of the user taken at multiple exposures of the user to variants of the repetitive scene. Optionally, most of the measurements of responses taken at multiple exposures to variants of the repetitive scene are measurements of responses of other users. Optionally, the representation of the measurements is essentially an average of the measurements of the responses taken at multiple exposures to variants of the repetitive scene. Optionally, the representation of the measurements is calculated based on the measurements of responses utilizing a predefined formula.
While the above embodiments described in the general context of program components that execute in conjunction with an application program that runs on an operating system on a computer, which may be a personal computer, those skilled in the art will recognize that aspects may also be implemented in combination with other program components. Program components may include routines, programs, modules, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Moreover, the embodiments may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and comparable computing devices. The embodiments may also be practiced in a distributed computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program components may be located in both local and remote memory storage devices.
Embodiments may be implemented as a computer-implemented process, a computing system, or as an article of manufacture, such as a computer program product or computer readable media. The computer program product may be a computer storage medium readable by a computer system and encoding a computer program that comprises instructions for causing a computer or computing system to perform example processes. The computer-readable storage medium can for example be implemented via one or more of a volatile computer memory, a non-volatile memory, a hard drive, a flash drive, a disk, a compact disk, and/or comparable media.
Throughout this specification, references are made to services. A service as used herein describes any networked/on line applications that may receive a user's personal information as part of its regular operations and process/store/forward that information. Such applications may be executed on a single computing device, on multiple computing devices in a distributed manner, and so on. Embodiments may also be implemented in a hosted service executed over a plurality of servers or comparable systems. The term “server” generally refers to a computing device executing one or more software programs typically in a networked environment. However, a server may also be implemented as a virtual server (software programs) executed on one or more computing devices viewed as a server on the network. Moreover, embodiments are not limited to personal data. Systems for handling preferences and policies may be implemented in systems for right management and/or usage control using the principles described above.
Herein, a predetermined value, such as a predetermined confidence level or a predetermined threshold, is a fixed value and/or a value determined any time before performing a calculation that compares its result with the predetermined value. A value is also considered a predetermined value when the logic used to determine a threshold is known before start calculating the threshold.
In this description, references to “one embodiment” mean that the feature being referred to may be included in at least one embodiment of the invention. Moreover, separate references to “one embodiment” or “some embodiments” in this description do not necessarily refer to the same embodiment.
The embodiments of the invention may include any variety of combinations and/or integrations of the features of the embodiments described herein. Although some embodiments may depict serial operations, the embodiments may perform certain operations in parallel and/or in different orders from those depicted. Moreover, the use of repeated reference numerals and/or letters in the text and/or drawings is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. The embodiments are not limited in their applications to the details of the order or sequence of steps of operation of methods, or to details of implementation of devices, set in the description, drawings, or examples. Moreover, individual blocks illustrated in the figures may be functional in nature and do not necessarily correspond to discrete hardware elements.
While the methods disclosed herein have been described and shown with reference to particular steps performed in a particular order, it is understood that these steps may be combined, sub-divided, or reordered to form an equivalent method without departing from the teachings of the embodiments. Accordingly, unless specifically indicated herein, the order and grouping of the steps is not a limitation of the embodiments. Furthermore, methods and mechanisms of the embodiments will sometimes be described in singular form for clarity. However, some embodiments may include multiple iterations of a method or multiple instantiations of a mechanism unless noted otherwise. For example, when an interface is disclosed in one embodiment, the scope of the embodiment is intended to also cover the use of multiple interfaces. Certain features of the embodiments, which may have been, for clarity, described in the context of separate embodiments, may also be provided in various combinations in a single embodiment. Conversely, various features of the embodiments, which may have been, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination. Embodiments described in conjunction with specific examples are presented by way of example, and not limitation. Moreover, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the embodiments. Accordingly, it is intended to embrace all such alternatives, modifications, and variations that fall within the spirit and scope of the appended claims and their equivalents.

## Claims

1. A system configured to estimate a response of a user to a token instance of interest, comprising:
a token instance remover configured to receive a temporal window of token instances representing certain stimuli and an attention level of the user in at least one of the token instances belonging to the window; the token instance remover is further configured to utilize the attention level to select a token instance of interest from among the token instances belonging to the window, and to remove the token instance of interest from the temporal window of token instances;
a machine learning-based predictor of affective response configured to receive feature values representing the temporal window of token instances from which the token instance of interest was removed, and to calculate, based on the feature values, a value of a predicted affective response to the temporal window of token instances without the token instance of interest; and
a decomposer configured to receive a value of a measured affective response of the user due to exposure to the certain stimuli, and to estimate an affective response of the user to the token instance of interest based on a difference between the value of the measured affective response and the value of the predicted affective response.

2. The system of claim 1, wherein the token instance of interest is a token instance for which a measured attention level of the user is highest from among the token instances belonging to the temporal window of token instances.

3. The system of claim 1, wherein the token instance of interest is a token instance for which a predicted attention level is highest from among the token instances belonging to the temporal window of token instances.

4. The system of claim 1, wherein the machine learning-based predictor is trained on data collected over a long period, in which the user was in different situations.

5. The system of claim 1, wherein the estimated affective response of the user to the token instance of interest is given in terms of an emotional response of the user.

6. The system of claim 1, wherein the estimated affective response of the user to the token instance of interest is given in terms of a value of a user measurement channel of the user.

7. The system of claim 1, wherein the attention level is derived from a user measurement channel of the user.

8. The system of claim 1, wherein the attention level is predicted based on the token instances belonging to the temporal window of token instances.

9. A method for estimating an affective response of a user to a token instance of interest, comprising:
receiving a temporal window of token instances comprising a plurality of token instances which represent certain stimuli;
receiving a value of a measured affective response of the user due to exposure of the user to the certain stimuli;
receiving an attention level of the user in at least one of the token instances;
selecting, based on the attention level, the token instance of interest from among the plurality of the token instances;
removing the token instance of interest from the temporal window of token instances;
utilizing a machine learning-based model to calculate, based on feature values representing the temporal window of token instances from which the token instance of interest was removed, a value of a predicted affective response to the temporal window of token instances from which the token instance of interest was removed; and
estimating the affective response of the user to the token instance of interest from a difference between the value of the measured affective response and the value of the predicted affective response.

10. The method of claim 9, further comprising expressing the affective response of the user to the token instance of interest as an emotional response.

11. The method of claim 9, further comprising expressing the affective response of the user to the token instance of interest as a value of user measurement channel of the user.

12. The method of claim 9, further comprising determining the attention level based on a value of a user measurement channel of the user.

13. The method of claim 9, further comprising determining the attention level based on a prediction of attention in at least some token instances belonging to the temporal window of token instances.

14. The method of claim 9, further comprising selecting as the token instance of interest a token instance to which an attention level is highest from among the token instances belonging to the temporal window of token instances.

15. A non-transitory computer-readable medium for use in a computer to estimate an affective response of a user to a token instance of interest; the computer comprising a processor, and the non-transitory computer-readable medium comprising:
program code for receiving a temporal window of token instances comprising a plurality of token instances which represent certain stimuli;
program code for receiving a value of a measured affective response of the user due to exposure of the user to the certain stimuli;
program code for receiving an attention level of the user in at least one of the token instances;
program code for selecting, based on the attention level, the token instance of interest from among the plurality of the token instances;
program code for removing the token instance of interest from the temporal window of token instances;
program code for utilizing a machine learning-based model to calculate, based on feature values representing the temporal window of token instances from which the token instance of interest was removed, a value of a predicted affective response to being exposed to the temporal window of token instances from which the token instance of interest was removed; and
program code for estimating the affective response of the user to the token instance of interest from a difference between the value of the measured affective response and the value of the predicted affective response.

16. The non-transitory computer-readable medium of claim 15, further comprising program code for expressing the affective response of the user to the token instance of interest as an emotional response.

17. The non-transitory computer-readable medium of claim 15, further comprising program code for expressing the affective response of the user to the token instance of interest as a value of user measurement channel of the user.

18. The non-transitory computer-readable medium of claim 15, further comprising program code for determining the attention level based on a value of a user measurement channel of the user.

19. The non-transitory computer-readable medium of claim 15, further comprising program code for determining the attention level based on a prediction of attention in at least some of token instances belonging to the temporal window of token instances.

20. The non-transitory computer-readable medium of claim 15, further comprising program code for selecting as the token instance of interest a token instance to which an attention level is highest from among the token instances belonging to the temporal window of token instances.