IP Library Granted Patent US 12,437,519
Granted Patent B2
US 12,437,519 · App. 18/484,839 · Granted Oct 7, 2025

Video domain adaptation via contrastive learning for decision making

Inventors: Yi-Hsuan Tsai (Santa Clara, CA); Xiang Yu (Mountain View, CA); Bingbing Zhuang (San Jose, CA); Manmohan Chandraker (Santa Clara, CA); Donghyun Kim (Mukilteo, WA)
Assignee: NEC Corporation
G06V10/774G06F18/2155G06F18/22G06N3/08G06V10/74G06V10/751
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,437,519
App. No.
18/484,839
Granted
Oct 7, 2025
Kind
B2
Abstract

Video methods and systems include extracting features of a first modality and a second modality from a labeled first training dataset in a first domain and an unlabeled second training dataset in a second domain. A video analysis model is trained using contrastive learning on the extracted features, including optimization of a loss function that includes a cross-domain regularization part and a cross-modality regularization part. The video methods and systems can support real-time decision making in various applications, such as security surveillance where immediate responses to detected actions are required.

Claims (322)

1. A computer-implemented machine learning method, comprising:

extracting features of a first modality and a second modality from a labeled first training dataset in a first domain and an unlabeled second training dataset in a second domain, the labeled first training dataset including source videos and action labels, the source videos being received from a camera, the action labels indicating player's actions in sports;

training a video analysis model using contrastive learning on the extracted features, including optimization of a loss function that includes a cross-domain regularization part that compares features from a first training data from the first training dataset and a second training data from the second training dataset, the second training data having a pseudo label that matches the label of the first training data, and a cross-modality regularization part that compares features from different cue types in a same domain, with the cross-domain regularization part being expressed as

do

=

-

log

k

=

l

{

a

,

m

}

ϕ

+

st

(

F

s

i

k

,

F

t

i

+

l

)

k

=

l

{

a

,

m

}

ϕ

+

st

(

F

s

i

k

,

F

t

i

+

l

)

+

ϕ

-

st

(

F

s

i

k

,

F

t

i

-

l

)

where ϕ + st (F s i k ,F t i+ l ) measures similarity between features having a same modality and different domains for positive samples and ϕ − st (F s i k ,F t j− l ) measures similarity between features having a same modality and different domains for negative samples, and further including generating pseudo-labels for the unlabeled dataset.

2. The computer-implemented machine learning method of claim 1 , wherein the pseudo-labels are generated by the video analysis model.

3. The computer-implemented machine learning method of claim 1 , wherein the different cue types include appearance features and motion features.

4. The computer-implemented machine learning method of claim 1 , wherein the first domain relates to video taken from a first perspective and the second domain relates to video taken from a second, different perspective.

5. The computer-implemented machine learning method of claim 1 ,

wherein the loss function is represented as:

L all =L src ( V s ,Y s )+λ( L mo s ( V s )+ L do ( V s ,V t ,Ŷt ))

where V is a set of videos in a source domain, V t is a set of videos in a target domain, Y s are labels for the source videos, Ŷ t are pseudo-labels for the target videos, L src is a cross-entropy loss for the source videos, L mo s in is a cross-modality loss term for the source videos, L mo t is a cross-modality loss term for the target videos, and λ is a balancing parameter.

6. The computer-implemented machine learning method of claim 5 , wherein the cross-modality loss term for the source videos is expressed as:

mo

s

=

-

log

k

l

{

a

,

m

}

ϕ

+

s

(

F

s

i

k

,

F

s

i

l

)

k

l

{

a

,

m

}

ϕ

+

s

(

F

s

i

k

,

F

s

i

+

l

)

+

ϕ

-

s

(

F

s

i

k

,

F

s

j

-

l

)

where ϕ + s (F s i k ,F s i l ) measures similarity between features having a different modality and same domain for positive samples and ϕ − s (F s i k ,F s j− l ) measures similarity between features having a different modality and same domain for negative samples.

7. A computer-implemented video domain adaptation method, comprising:

extracting features of a first modality and a second modality from a labeled first training dataset in a first domain, relating to video taken from a first perspective, and an unlabeled second training dataset in a second domain, relating to video taken from a second, different perspective, the labeled first training dataset including source videos and action labels, the source videos being received from a camera, the action labels indicating player's actions in sports;

training a video analysis model using contrastive learning on the extracted features, including:

generating pseudo-labels for the unlabeled training dataset using the video analysis model;

optimization of a loss function that includes a cross-domain regularization part, that compares features from a first training data from the first training dataset and a second training data from the second training dataset, the second training data having a pseudo label that matches the label of the first training data, and a cross-modality regularization part, that compares features from different cue types in a same domain, with the cross-domain less regularization part being expressed as

do

=

-

log

k

=

l

{

a

,

m

}

ϕ

+

st

(

F

s

i

k

,

F

t

i

+

l

)

k

=

l

{

a

,

m

}

ϕ

+

st

(

F

s

i

k

,

F

t

i

+

l

)

+

ϕ

-

st

(

F

s

i

k

,

F

t

i

-

l

)

where ϕ + st (F s i k ,F t i+ l ) measures similarity between features having a same modality and different domains for positive samples and ϕ − st (F s i k ,F t i− l ) measures similarity between features having a same modality and different domains for negative samples; and

generating pseudo-labels for the unlabeled dataset.

8. A machine learning system, comprising:

a hardware processor; and

a memory that stores a computer program that, when executed by the hardware processor, causes the hardware processor to:

extract features of a first modality and a second modality from a labeled first training dataset in a first domain and an unlabeled second training dataset in a second domain, the labeled first training dataset including source videos and action labels, the source videos being received from a camera, the action labels indicating player's actions in sports;

training a video analysis model using contrastive learning on the extracted features, including optimization of a loss function that includes a cross-domain regularization part that compares features from a first training data from the first training dataset and a second training data from the second training dataset, the second training data having a pseudo label that matches the label of the first training data, and a cross-modality regularization part that compares features from different cue types in a same domain, with the cross-domain regularization part being expressed as

do

=

-

log

k

=

l

{

a

,

m

}

ϕ

+

st

(

F

s

i

k

,

F

t

i

+

l

)

k

=

l

{

a

,

m

}

ϕ

+

st

(

F

s

i

k

,

F

t

i

+

l

)

+

ϕ

-

st

(

F

s

i

k

,

F

t

i

-

l

)

where ϕ + st (F s i k ,F t i+ l ) measures similarity between features having a same modality and different domains for positive samples and ϕ − st (F s i k ,F t i− l ) measures similarity between features having a same modality and different domains for negative samples, and further generating pseudo-labels for the unlabeled training dataset.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2025
From: NEC LABORATORIES AMERICA, INC.
To: NEC CORPORATION
Reel/Frame 072057/0249 →
Continuity (5)
Continuation 17521057 · Nov 8, 2021
Provisional Application 63114120 · Nov 16, 2020
Provisional Application 63113464 · Nov 13, 2020
Provisional Application 63111766 · Nov 10, 2020
Related Publication 20240037188A1 · Feb 1, 2024
References Cited (6)
US 20210319266A1 · Chen · 2021 [cited by examiner]
Jing, Ya, et al. “Cross-modal cross-domain moment alignment network for person search.” Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020. (Year: 2020). [cited by examiner]
Safdarnejad, Seyed Morteza, et al. “Sports videos in the wild (svw): A video dataset for sports analysis.” 2015 11th IEEE international conference and workshops on automatic face and gesture recognition (FG). vol. 1. IE… [cited by examiner]
Xu, Dejing, et al. “Video question answering via gradually refined attention over appearance and motion.” Proceedings of the 25th ACM international conference on Multimedia. 2017. (Year: 2017). [cited by examiner]
Pereira, Jose Costa, and Nuno Vasconcelos. “Cross-modal domain adaptation for text-based regularization of image semantics in image retrieval systems.” Computer Vision and Image Understanding 124 (2014): 123-135. (Year:… [cited by examiner]
Ma, Xinhong, Tianzhu Zhang, and Changsheng Xu. “Deep multi-modality adversarial networks for unsupervised domain adaptation.” IEEE Transactions on Multimedia 21.9 (2019): 2419-2431. (Year: 2019). [cited by examiner]