IP Library Granted Patent US 12,554,979
Granted Patent B2
US 12,554,979 · App. 17/085,603 · Granted Feb 17, 2026

Adapting AI models from one domain to another

Inventor: Daniel Wong (Montreal, CA)
Assignee: ServiceNow, Inc.
G06N3/08G06N3/04
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,554,979
App. No.
17/085,603
Granted
Feb 17, 2026
Kind
B2
Abstract

A method for adapting to a new domain an AI model pre-trained for a current domain. Having at least one main block of the AI model for modeling a target variable and having at least one covariates block of the AI model for modeling covariates effect on the target variable in the current domain, the method comprises: replacing the covariates block with a new covariates block adapted to the new domain, the new covariates block modifying one or more first layers compared to the covariate block, the target variable in the new domain being affected differently by at least one of the one or more covariates; training the new covariates block of the AI model using a new-domain-specific dataset from the new domain; and fine-tuning the at least one main block of the AI model using the new-domain-specific dataset from the new domain.

Claims (39)

1 . A method for adapting an artificial intelligence (AI) model pre-trained for a current domain to a new domain, the method comprising:

providing at least one main block of the AI model for modeling a target variable and at least one covariates block of the AI model for modeling effects of one or more covariates on the target variable in the current domain, the AI model being pre-trained to forecast future values of the target variable using past values thereof in the current domain, the future values of the target variable being affected by the one or more covariates wherein the one or more covariates are independent from the target variable, and in order to adapt the AI model to the new domain:

replacing a covariates block of the at least one covariates block with a new covariates block adapted to the new domain, wherein the covariates block comprises one or more first layers comprising a number of hidden units with respective weights, with the new covariates block modifying the number of the hidden units, the respective weights, or both, of the one or more first layers based on covariates of the new domain, the target variable in the new domain being affected differently by at least one of the one or more covariates;

training the new covariates block of the AI model using a new-domain-specific dataset from the new domain; and

fine-tuning the at least one main block of the AI model using the new-domain-specific dataset from the new domain.

2 . The method of claim 1 , wherein the at least one main block of the AI model models the target variable by producing a forecast of the future values of the target variable.

3 . The method of claim 1 , wherein the target variable in the new domain is affected by at least one covariate different from the one or more covariates affecting the target variable in the current domain.

4 . The method of claim 1 , wherein the new covariates block is chosen to structurally accommodate the covariates of the new domain.

5 . The method of claim 1 , wherein training the new covariates block of the AI model using the new-domain-specific dataset is performed by:

freezing the at least one main block; and

training the AI model using the new-domain-specific dataset.

6 . The method of claim 5 , wherein freezing the at least one main block is performed to prevent the at least one main block from fitting the new-domain-specific dataset.

7 . The method of claim 1 , wherein before fine-tuning the at least one main block of the AI model using the new-domain-specific dataset the method includes:

freezing the covariates block; and

unfreezing the at least one main block.

8 . The method of claim 1 , wherein the main block is a neural network based model for univariate time series forecasting.

9 . The method of claim 1 , wherein fine-tuning the at least one main block of the AI model on data from the new domain is performed using incremental moment matching algorithms.

10 . The method of claim 1 , wherein fine-tuning the at least one main block of the AI model on data from the new domain is performed using transfer learning based fine-tuning.

11 . The method of claim 1 , further comprising computing a backcast of the past values of the target variable.

12 . An artificial intelligence server configured for adapting an artificial intelligence (AI) model pre-trained for a current domain to a new domain, the artificial intelligence server comprising:

a memory module for storing a new-domain-specific dataset and a current-domain-specific dataset;

a processor module that, having at least one main block of the AI model for modeling a target variable and at least one covariates block of the AI model for modeling effects of one or more covariates on the target variable in the current domain, the AI model being pre-trained to forecast future values of the target variable using past values thereof in the current domain, the future values of the target variable being affected by the one or more covariates wherein the one or more covariates are independent from the target variable, and in order to adapt the AI model to the new domain, the processor module is configured to:

replace a covariates block of the at least one covariates block with a new covariates block adapted to the new domain, wherein the covariates block comprises one or more first layers comprising a number of hidden units with respective weights, with the new covariates block modifying the number of the hidden units, the respective weights, or both, of the one or more first layers based on covariates of the new domain, the target variable in the new domain being affected differently by at least one of the one or more covariates;

train the new covariates block of the AI model using a new-domain-specific dataset from the new domain; and

fine-tune the at least one main block of the AI model using the new-domain-specific dataset from the new domain.

13 . The artificial intelligence server of claim 12 , wherein the at least one main block of the AI model models the target variable by producing a forecast of the future values of the target variable.

14 . The artificial intelligence server of claim 12 , wherein the target variable in the new domain is affected by at least one covariate different from the one or more covariates affecting the target variable in the current domain.

15 . The artificial intelligence server of claim 12 , wherein the new covariates block is chosen to structurally accommodate the covariates of the new domain.

16 . The artificial intelligence server of claim 12 , wherein training the new covariates block of the AI model using the new-domain-specific dataset is performed by:

freezing the at least one main block; and

training the AI model using the new-domain-specific dataset.

17 . The artificial intelligence server of claim 16 , wherein freezing the at least one main block is performed to prevent the at least one main block from fitting the new-domain-specific dataset.

18 . The artificial intelligence server of claim 12 , wherein the processor module is configured to before fine-tuning the at least one main block of the AI model using the new-domain-specific dataset:

freeze the covariates block; and

unfreeze the at least one main block.

19 . The artificial intelligence server of claim 12 , wherein the main block is a neural network based model for univariate time series forecasting.

20 . The artificial intelligence server of claim 12 , wherein fine-tuning the at least one main block of the AI model on data from the new domain is performed using incremental moment matching algorithms.

21 . The artificial intelligence server of claim 12 , wherein fine-tuning the at least one main block of the AI model on data from the new domain is performed using transfer learning based fine-tuning.

22 . The artificial intelligence server of claim 12 , wherein the processor module is further configured to compute a backcast of the past values of the target variable.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2025
From: SERVICENOW CANADA INC.
To: SERVICENOW, INC.
Reel/Frame 070644/0956 →
CERTIFICATE OF ARRANGEMENT Recorded Mar 17, 2023
From: ELEMENT AI INC.
To: SERVICENOW CANADA INC.
Reel/Frame 063115/0666 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 10, 2020
From: WONG, DANIEL
To: ELEMENT AI INC.
Reel/Frame 054326/0604 →
Continuity (1)
Related Publication 20220138552A1 · May 5, 2022
References Cited (12)
US 11636348B1 · Tang · 2023 [cited by examiner]
US 20190114544A1 · Sundaram et al. · 2019 [cited by applicant]
US 20200183048A1 · Xu et al. · 2020 [cited by applicant]
US 20200234079A1 · Minhas · 2020 [cited by examiner]
US 20200372326A1 · Oreshkin · 2020 [cited by examiner]
WO 2019193462A1 · 2019 [cited by applicant]
Mancini M, Bulo SR, Caputo B, Ricci E. Best sources forward: domain generalization through source-specific nets. In2018 25th IEEE international conference on image processing (ICIP) Oct. 7, 2018 (pp. 1353-1357). IEEE. (… [cited by examiner]
Oreshkin BN, Carpov D, Chapados N, Bengio Y. N-Beats: Neural basis expansion analysis for interpretable time series forecasting. arXiv preprint arXiv:1905.10437. May 24, 2019. (Year: 2019). [cited by examiner]
Cohen T, Shulman N, Morgenstern H, Mechrez R, Farhan E. Self-supervised dynamic networks for covariate shift robustness. arXiv preprint arXiv:2006.03952. Jun. 6, 2020. (Year: 2020). [cited by examiner]
Lee SW, Kim JH, Jun J, Ha JW, Zhang BT. Overcoming catastrophic forgetting by incremental moment matching. Advances in neural information processing systems. 2017. (Year: 2017). [cited by examiner]
International preliminary report on patentability dated May 2, 2023 from corresponding PCT/CA2021/051532. [cited by applicant]
Office action dated Mar. 9, 2023 from corresponding CA application No. 3,097,651. [cited by applicant]